A controller power tube fault diagnosis method and system
By acquiring and correcting the conduction voltage drop signal of the electric tricycle controller online, real-time fault diagnosis of the power transistor is achieved, solving the problems of diagnostic lag and false alarms in the existing technology, providing accurate fault location and graded response, and adapting to different working conditions and individual differences.
Patent Information
- Application Number
- CN202611689704.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-11-24
AI Technical Summary
Existing electric tricycle controllers cannot identify specific power transistor faults online while the vehicle is in motion. The diagnosis is delayed, the fault type cannot be distinguished, it is susceptible to false alarms due to fluctuations in operating conditions, and it lacks individual self-learning ability, resulting in frequent false alarms and the inability to handle potential faults in a timely manner.
By real-time acquisition of the on-state voltage drop timing signal of each power transistor in the three-phase bridge arm, bus current and motor operating condition data, health characteristics are extracted and operating condition correction is performed. The fault deviation is calculated and the fault type is determined, including open circuit, short circuit, on-resistance degradation and gate drive abnormality, realizing online diagnosis of each transistor.
Without disassembling the device, it can detect power transistor faults in advance, reduce false alarm rates, accurately locate the fault location and type, provide a graded response strategy, adapt to individual differences, and improve safety by combining hardware protection.
Smart Images

Figure CN123155979A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electric drive control technology for electric vehicles, and in particular to a method and system for diagnosing faults in the power transistors of a controller. Background Technology
[0002] Electric tricycles are low-speed electric vehicles driven by a DC brushless motor. Their controllers typically employ a three-phase full-bridge inverter topology, consisting of six MOSFETs connected in the U, V, and W phases. PWM chopping regulates the voltage and current output to the motor's three-phase windings, achieving speed and torque control. The controller is one of the most expensive and demanding components in the electric tricycle's drive system. Electric tricycles operate in dusty, bumpy, and harsh environments such as urban and rural roads, farmers' markets, and construction sites, exposed to intense summer sun and freezing winter temperatures. The controller's internal power transistors must withstand hundreds of amperes of phase current, as well as the shear stress on the welds caused by road vibrations, the soaring case temperature from summer sun exposure, and the damp heat stress from wading and rain.
[0003] The existing protection and diagnostic methods for power transistors in electric tricycle controllers mainly fall into the following categories: The first type is overcurrent trip protection based on bus current: A Hall current sensor is connected in series on the DC bus of the controller. When the bus current exceeds the threshold set by the hardware comparator, the PWM output is directly blocked. This method is essentially a reactive protection, only taking effect when the power transistor has already experienced a through-circuit short circuit and the bus current has been forcibly pulled to several hundred amperes. At this point, the power transistor has often exploded, its package has cracked, and it may even have burned out the drive circuit and the bus capacitor.
[0004] The second type is routine maintenance based on offline testing after disassembly: When the vehicle returns to the station for maintenance, after-sales service personnel remove the controller from the frame and use a multimeter in diode mode to measure the forward voltage drop of the body diodes of each of the six power transistors, and use a transistor curve tracer to measure the on-resistance. This method cannot detect faults while the vehicle is in motion, and it requires disassembly, which is time-consuming and labor-intensive, making it difficult to achieve full coverage for the vast number of scattered tricycles used in express delivery, sanitation, and farmers' markets.
[0005] The third type is based on the controller MCU reading the effective value of the bus current and making a simple comparison with the expected output current: when the current does not match the expectation, it will report "controller fault". However, this method cannot locate the specific power transistor, nor can it distinguish whether the current change is caused by the degradation of the power transistor itself, abnormal motor winding, or abnormal mechanical load. The false alarm rate is high.
[0006] However, the failure of the power transistor in the electric tricycle controller does not occur instantaneously. Long-term operational data and failure analysis show that before a complete short circuit or open circuit occurs, the power transistor typically undergoes an observable degradation period: increased contact resistance due to poor soldering of the solder joints, a monotonically increasing on-resistance due to chip bond wire fatigue, a slower switching edge due to slow gate oxide degradation, and persistently high case temperature. Temperature coefficient drift. During this degradation period, the power transistor can still maintain basic vehicle operation functions, but the on-state voltage drop has already quietly deviated from the factory baseline. If this is not detected at this stage, and a complete short circuit occurs before tripping, it often means the vehicle breaks down on the road, the controller is rendered unusable, or even loss of power on a slope can lead to a safety accident. Specifically, the existing method has the following shortcomings: 1. Delayed diagnosis: Overcurrent protection only operates after the power transistor has short-circuited and failed, and cannot identify faults in the early stages such as slow drift of on-resistance, bond wire fatigue, and gate oxide degradation. The fault is discovered much later than the fault bud. 2. Unable to pinpoint the specific power transistor: Existing current protection can only provide a general signal of "bus overcurrent", and cannot distinguish whether the abnormality is in the upper arm of the U phase, the lower arm of the V phase, or other locations. After-sales service still requires disassembling the machine to check each transistor one by one. 3. Failure to differentiate fault types: Open circuit, short circuit, on-resistance degradation, and gate drive abnormality pose completely different risk levels to the subsequent operation of the vehicle. Short circuit requires immediate shutdown, on-resistance degradation allows for continued driving at a limited speed for a period of time before entering the station for maintenance, and gate drive abnormality requires a thorough inspection of the drive board. The current method does not differentiate between these types and simply stops the vehicle and applies the brakes, causing vehicles that could have driven a short distance to the station to be mistakenly stopped halfway. 4. Poor adaptability to operating conditions: The on-state voltage drop of the power transistor increases with the increase of phase current and junction temperature. Electric tricycles experience drastic fluctuations in phase current and junction temperature under operating conditions such as starting, climbing, going downhill, no load, and heavy load. If the on-state voltage drop collected under different operating conditions is directly compared with a fixed threshold, normal operating condition fluctuations will be misjudged as faults, resulting in frequent false alarms. 5. Lack of self-learning ability: The on-resistance of power transistors in different batches varies, and the factory baseline of different controllers of the same model is not completely consistent. It is difficult to take into account individual differences when using a fixed threshold.
[0007] Therefore, there is a need for a method and system for diagnosing power transistor faults in electric tricycle controllers that can identify and locate specific power transistors in specific bridge arms, distinguish fault types, and perform condition corrections on measured values based on phase current and junction temperature during vehicle operation. Summary of the Invention
[0008] To address the shortcomings of the existing technologies, this invention provides a method and system for diagnosing power transistor faults in controllers. The aim is to solve the technical problems of existing electric tricycle controller power transistor protection, which mainly relies on overcurrent tripping, has delayed diagnostic timing, cannot locate specific power transistors, does not distinguish fault types, is susceptible to false alarms due to fluctuations in operating conditions when directly comparing absolute voltage drops, and lacks individual self-learning capabilities.
[0009] To address the aforementioned technical problems, the first objective of this invention is to provide a method for diagnosing controller power transistor faults, the method comprising: Step S100: During the operation of the electric tricycle, the on-state voltage drop timing signal of each power transistor in the three-phase bridge arm, the bus current, and the motor operating data are collected in real time; the motor operating data includes phase current, motor speed, and power transistor junction temperature. Step S200: Extract the health characteristics of each power transistor from the on-state voltage drop timing signal; the health characteristics include the steady-state value of the on-state voltage drop and the switching transient characteristics; Step S300: Perform condition correction on the health characteristic quantity based on the motor operating condition data to obtain the corrected characteristic quantity; Step S400: Compare the correction characteristic quantity with the health baseline corresponding to the power transistor, and calculate the fault deviation. Step S500: Based on the fault deviation and the deviation pattern of the fault deviation along the time axis, determine the fault type of the power transistor and output the diagnostic result; the fault type includes at least one of open circuit fault, short circuit fault, on-resistance degradation and gate drive abnormality.
[0010] This method collects the voltage drop timing signals of the drain and source terminals of each of the six power transistors in the three-phase bridge arm during normal vehicle operation without disassembly or shutdown, within the PWM conduction window. Simultaneously, it collects bus current, phase current, motor speed, and power transistor junction temperature. Then, it separates the steady-state component reflecting the health of the on-resistance and the transient component reflecting the health of the gate drive and switching characteristics from the voltage drop timing signals of each transistor. The steady-state components measured under different operating conditions are then normalized to a unified reference operating condition using phase current and junction temperature. The normalized characteristic quantities are compared with the health baseline established during the transistor's factory learning period using a weighted distance to obtain the fault deviation. Finally, based on the magnitude of the deviation and the pattern of deviation change over time, it distinguishes between open circuit, short circuit, on-resistance degradation, and gate drive anomalies. This closed-loop system of "online acquisition per transistor - dual-component feature extraction - operating condition normalization - baseline comparison - pattern classification" extends the observable window of power transistor faults from the short-circuit tripping moment to the nascent stage of degradation, while providing a basis for subsequent graded response based on fault type.
[0011] In a preferred embodiment of the controller power transistor fault diagnosis method of the present invention, step S200, which involves extracting the health characteristics of each power transistor from its on-state voltage drop timing signal, includes: segmenting the on-state voltage drop timing signal along the time axis according to a sliding window of a preset length; removing the switching edge segment within the sliding window; taking the arithmetic mean of the instantaneous on-state voltage drop values of all sampling points within the remaining conducting segment as the steady-state value of the on-state voltage drop corresponding to the sliding window; and extracting the overshoot amplitude and recovery time of the switching edge segment as the transient characteristics of the switch. By processing the switching edge and the steady-state conducting segment separately within the PWM cycle, the steady-state value is taken only from the sampling points that are truly in a fully conducting state, avoiding the dv / dt spikes and parasitic inductance ringing at the switching edge from being mistakenly included in the on-state voltage drop; and simultaneously using the overshoot amplitude and recovery time of the switching edge itself as transient characteristics to characterize the health status of the gate drive circuit and the switching speed of the power transistor. This segmented extraction method allows the timing signals acquired from the same channel to be used simultaneously for the identification of two types of faults: the steady-state segment is used for on-resistance faults, and the switching edge segment is used for gate drive faults, without the need for additional sensors.
[0012] In a preferred embodiment of the controller power transistor fault diagnosis method described in this invention, the switching transient characteristic quantities include the turn-on overshoot amplitude, the turn-off overshoot amplitude, and the switch recovery time; the switch recovery time is the duration from the start of the switch edge to the on-state voltage drop entering a preset steady-state band. Excessive turn-on overshoot amplitude, increased turn-off overshoot amplitude, and prolonged switch recovery time typically correspond to three types of problems: gate drive resistor drift, snubber circuit failure, and switching speed degradation, respectively. By using these three quantities as transient characteristic quantities, early abnormalities in the gate drive circuit can be detected through switch edge distortion before the steady-state value of the on-state voltage drop has significantly drifted, extending the scope of identifiable faults from the power transistor itself to its associated drive branch.
[0013] In a preferred embodiment of the controller power transistor fault diagnosis method of the present invention, step S300, which involves correcting the health characteristic quantity based on the motor operating data, includes: calculating the steady-state value of the on-state voltage drop to a preset reference junction temperature using the on-resistance temperature coefficient and to a preset reference phase current using the phase current exponential coefficient, based on the phase current and the power transistor junction temperature, to obtain the corrected steady-state value of the on-state voltage drop under the preset reference operating conditions. When an electric tricycle starts, the phase current can be as high as 3 to 5 times the rated current, and the case temperature can be more than 20°C higher when climbing a hill than when cruising on a flat road. Without operating condition correction, the voltage drop measured by the same healthy power transistor under heavy load and high temperature may be twice that under light load and low temperature, inevitably leading to false alarms when directly compared to the baseline. (The text then abruptly shifts to a discussion of temperature coefficients, which seems unrelated to the previous sentences and may be a separate point about voltage correction.) The junction temperature effect is reflected back to the reference temperature, and the current index is passed through. By reflecting the influence of phase current back to the reference current, the on-state voltage drop measured under any operating condition can be compared with the healthy baseline established under the factory reference operating condition on the same coordinate, thereby eliminating false deviations caused by operating condition fluctuations in principle.
[0014] In a preferred embodiment of the controller power transistor fault diagnosis method of the present invention, step S400, which involves comparing the correction feature quantity with the health baseline corresponding to the power transistor and calculating the fault deviation, includes: calculating the fault deviation by weighted Euclidean distance between each component of the correction feature quantity and the corresponding component in the health baseline of the power transistor; the health baseline includes the mean vector and standard deviation vector of each component in a healthy state; and determining the operating health state of the power transistor, wherein the operating health state includes: When the fault deviation is less than the first threshold, the power transistor is determined to be in a healthy state. When the fault deviation is between the first threshold and the second threshold, the power transistor is determined to be in a warning state. When the fault deviation exceeds the second threshold, current limiting and degradation operation or shutdown protection is triggered.
[0015] Using weighted distance instead of a fixed threshold line to determine the health level allows for the comprehensive quantification of the joint deviation of the four components: conduction steady-state value, opening overshoot, closing overshoot, and recovery time. The vehicle is classified into three levels—healthy, warning, and fault—based on the magnitude of the deviation, corresponding to different subsequent vehicle response strategies, thus avoiding a "one-size-fits-all" fault-based shutdown.
[0016] In a preferred embodiment of the controller power transistor fault diagnosis method of the present invention, in step S400, the health baseline is established in the following manner: during the first healthy operation phase after the vehicle leaves the factory, health condition data of no less than a preset learning mileage are collected cumulatively, and the moving average and standard deviation of the correction characteristics of each power transistor are taken as the initial health baseline of the power transistor; during vehicle operation, when the fault deviation is less than the first threshold, the health baseline is updated with a sliding window; when the fault deviation is greater than or equal to the first threshold, the health baseline of the power transistor is frozen and no longer updated. Learning-period modeling solves the problem of power transistor parameter dispersion between different controllers—each vehicle establishes its own baseline using its own health data from the first few hundred kilometers, instead of applying a fixed threshold across the industry; the baseline is updated only during operation in a healthy state, which tracks the slow drift of the power transistor within the normal aging range and prevents degraded samples from being learned as new healthy baselines, thus avoiding contamination of the diagnostic system by faulty samples.
[0017] In a preferred embodiment of the controller power transistor fault diagnosis method of the present invention, the fault types of the power transistor in step S500 include: when the steady-state value of the corrected on-state voltage drop is continuously higher than the healthy baseline and the bus current does not change abruptly, it is determined to be an open circuit fault; when the steady-state value of the corrected on-state voltage drop is lower than the short-circuit voltage drop threshold and the bus current suddenly increases beyond the current change threshold within two consecutive PWM cycles, it is determined to be a short circuit fault; when the steady-state value of the corrected on-state voltage drop monotonically drifts with the accumulated mileage and the residual after operating condition correction deviates from the healthy baseline, it is determined to be a degradation of the on-resistance; when the transient characteristic of the switch is distorted relative to the healthy baseline and the steady-state value of the corrected on-state voltage drop does not deviate significantly, it is determined to be an abnormal gate drive. Similarly, when the deviation exceeds the standard, the four deviation modes, namely "high steady-state current without sudden change", "near zero steady-state current with sudden increase", "monotonous drift in steady-state", and "transient distortion but normal steady-state", correspond to four different types of faults in terms of physical mechanism. By mapping the deviation mode to the fault type, it is possible to tell the maintenance personnel which tube is causing the problem without adding any sensors, thus avoiding the need for after-sales personnel to disassemble the machine and check each tube one by one.
[0018] In a preferred embodiment of the controller power transistor fault diagnosis method of the present invention, a graded response is executed based on the diagnosis result output in step S500, wherein the graded response includes: When in warning mode, the vehicle instrument outputs the bridge arm position number of the faulty power transistor and the fault type indication; When in current-limiting and degradation mode, the motor output torque is limited to a preset proportion of the rated torque; When the system is in a shutdown state, the PWM output of the three-phase bridge arm is blocked and the bus contactor is disconnected.
[0019] The warning phase only prompts the driver not to stop, giving them the opportunity to continue driving to a repair shop; the current-limiting phase restricts output torque, reducing current stress on the faulty tube and delaying the deterioration of the fault; only in the shutdown phase are the brakes engaged and power cut off executed. The three-level response is matched with the risk levels of the four types of faults to avoid mistakenly escalating early-stage degradation faults that allow continued driving into breakdowns.
[0020] As a preferred embodiment of the controller power transistor fault diagnosis method described in this invention, the method further includes a fast protection branch for short-circuit faults: real-time monitoring of the bus current; when the increase of the bus current in two consecutive PWM cycles exceeds the current surge threshold, and the steady-state value of the on-state voltage drop of the corresponding bridge arm power transistor is lower than the short-circuit voltage drop threshold, the PWM output of that phase bridge arm is blocked within one PWM cycle, and the bridge arm power transistor is marked as having a short-circuit fault. Conventional diagnostic processes operate on a millisecond-level cycle, but if the power transistor is not immediately blocked after a short circuit, thermal runaway will occur within hundreds of microseconds; a separate fast channel with dual criteria of "current surge + voltage drop drop" is opened for short-circuit faults, completing the blocking within one PWM cycle, combining the software diagnostic cycle with the response speed of hardware-level protection.
[0021] In a preferred embodiment of the controller power transistor fault diagnosis method described in this invention, the upper and lower bridge arm power transistors of the three-phase bridge arm are each configured with independent on-state voltage drop sampling channels; in step S100, the on-state voltage drop timing signals of each upper and lower bridge arm power transistor are collected respectively; in step S500, when outputting the diagnostic result, the bridge arm phase to which the faulty power transistor belongs and the upper / lower bridge arm position number are also output. The source potential of the upper bridge arm is floating (oscillating between the bus voltage and ground with PWM), while the source of the lower bridge arm is directly grounded. The sampling front-end circuits of the two are different, and sampling channels must be configured separately; when outputting the diagnostic result, a position number such as "U-phase upper transistor / V-phase lower transistor" is given simultaneously, so maintenance personnel can directly replace the corresponding transistor according to the number without having to measure each transistor individually.
[0022] To address the aforementioned technical problems, a second objective of this invention is to provide a controller power transistor fault diagnosis system, the system comprising: The operating condition acquisition module is used to collect the on-state voltage drop timing signal of each power transistor in the three-phase bridge arm, the bus current, and the motor operating condition data in real time during the operation of the electric tricycle; the motor operating condition data includes phase current, motor speed, and power transistor junction temperature. The feature extraction module is used to extract the health features of each power transistor from the on-state voltage drop timing signal of each power transistor; the health features include the steady-state value of the on-state voltage drop and the transient switching features; The operating condition correction module is used to perform operating condition correction on the health characteristic quantity based on the motor operating condition data to obtain the correction characteristic quantity. The fault comparison module is used to compare the correction characteristic quantity with the health baseline corresponding to the power transistor and calculate the fault deviation. The diagnostic output module is used to determine the fault type of the power transistor and output the diagnostic result based on the fault deviation degree and the deviation pattern of the fault deviation degree along the time axis; the fault type includes at least one of open circuit fault, short circuit fault, on-resistance degradation and gate drive abnormality.
[0023] The beneficial effects of this invention are as follows: 1. By acquiring the on-state voltage drop timing signal of each transistor online within the PWM conduction window, the health status of the power transistor is changed from a binary judgment of "either bad or good" to a timing characteristic that can be continuously tracked. This is beneficial to detect abnormalities in the degradation stage before the power transistor is completely short-circuited, and advance the fault detection point from the overcurrent tripping stage to the early warning stage.
[0024] 2. By combining the steady-state value of the on-state voltage drop with the transient characteristics of the switch as a health characterization quantity, the same sampling channel can simultaneously serve the discrimination of on-resistance faults and gate drive faults, which is beneficial to expand the range of diagnosable faults to the gate drive circuit without adding new sensors.
[0025] 3. By introducing phase current and junction temperature operating condition correction, the on-state voltage drop measured under any driving condition is normalized to a unified reference condition and then compared with the baseline. This helps to eliminate false fault alarms caused by operating condition fluctuations such as starting, climbing, and high temperature, and reduces the false alarm rate.
[0026] 4. By calculating the fault deviation using weighted Euclidean distance and classifying it into three levels—healthy, warning, and fault—based on the first and second thresholds, it is beneficial to correlate the diagnostic results with the graded response strategy, thus avoiding early degradation faults being misjudged as serious faults that require immediate shutdown.
[0027] 5. By mapping the deviation mode to four types of faults—open circuit, short circuit, on-resistance degradation, and gate drive abnormality—it is beneficial to output accurate diagnostic results, such as "which transistor in which bridge arm has a specific fault and what type of fault it is," thus shortening after-sales troubleshooting time.
[0028] 6. By establishing a healthy baseline during the factory learning period and updating the baseline only when the device is in a healthy state during operation, it is beneficial to adapt to the dispersion of power transistor parameters between different controllers and avoid the insensitivity of fixed thresholds to individual differences.
[0029] 7. By setting up a fast protection branch with dual criteria of "current surge + voltage drop" for short-circuit faults, the output is blocked within one PWM cycle, which helps to combine the accuracy of software diagnosis with the speed of hardware-level protection and prevents the thermal spread of short-circuit faults within the software diagnosis cycle. Attached Figure Description
[0030] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below. 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.
[0031] Figure 1 This is a flowchart of the power transistor fault diagnosis method for an electric tricycle controller according to the present invention. Figure 2 This is a comparison diagram of the on-state voltage drop timing waveforms of power transistors in different health states under the same PWM drive signal according to the present invention; Figure 3 The curves show the comparison of fault detection advance between the method of this invention and the traditional overcurrent protection method during the power transistor degradation process. Detailed Implementation
[0032] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0033] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the invention. Therefore, the invention is not limited to the specific embodiments disclosed below.
[0034] Example 1 This embodiment provides a method for diagnosing power transistor faults in a controller, applied to a brushless DC motor controller for an electric tricycle with a rated voltage of 60V and a rated phase current of 120A. The controller includes a three-phase full-bridge inverter circuit, six gate drive circuits, a bus Hall current sensor, three-phase phase current sampling resistors, an NTC thermistor mounted on a heatsink, and a main control MCU. The three-phase full-bridge inverter circuit consists of six N-channel MOSFETs: U-phase upper MOSFET Q1, U-phase lower MOSFET Q2, V-phase upper MOSFET Q3, V-phase lower MOSFET Q4, W-phase upper MOSFET Q5, and W-phase lower MOSFET Q6. A freewheeling diode is connected in parallel between the drain and source of each MOSFET, and a sampling point for the on-state voltage drop is reserved between the drain and source.
[0035] To facilitate the subsequent formula description, the meanings of the main symbols in this embodiment will be explained uniformly first: This represents the instantaneous voltage drop between the drain and source of the power transistor. For the first Leakage-source voltage drop at each sampling point; This is the arithmetic mean of the leakage source voltage drop within the conduction section; This is the steady-state value of the on-state voltage drop after temperature and current correction; , , These are the opening overshoot amplitude, the closing overshoot amplitude, and the switch recovery time, respectively, and the corresponding corrected values are denoted as follows: , , ; This refers to the junction temperature of the power transistor. This refers to the radiator casing temperature. Reference junction temperature; This is the effective value of the phase current. As the reference phase current, This is the rated phase current of the motor. Set an upper limit for the phase current after current limiting; , These are the total power transistor loss and the conduction loss, respectively. The drain-source on-resistance of the power transistor at 25°C. The junction-case thermal resistance of the device; The gate is connected in series with the drive resistor; This refers to the PWM duty cycle. The temperature coefficient of on-resistance. The phase current exponent coefficient is... The overshoot temperature coefficient of the switch. Baseline forgetting factor; For fault deviation, This is the first threshold (early warning threshold). The second threshold (fault threshold); , The first The baseline health mean and standard deviation of each characteristic component For the first In the nth sample The correction values for each component, For the first The weighted weights of each component, , , , These are the weight values corresponding to the four components; This is the short-circuit voltage drop threshold. This is the threshold for sudden changes in bus current. This is the square root operator; For the three-phase bridge arm Phase code, for Phase code, for Phase code. To conduct the baseline mean of the steady-state component, The baseline standard deviation of the conducting steady-state component; To determine the baseline mean of the overshoot component, The baseline standard deviation for the overshoot component; To turn off the baseline mean of the overshoot component, The baseline standard deviation for shutting off the overshoot component; The baseline mean of the switch recovery time component. This represents the baseline standard deviation of the switch recovery time component.
[0036] like Figure 1 As shown, the method includes steps S100 to S500, which will be discussed below. Figure 1 Each step is explained in detail.
[0037] Step S100: During the operation of the electric tricycle, the on-state voltage drop timing signal of each power transistor in the three-phase bridge arm, the bus current, and the motor operating data are collected in real time.
[0038] In this step, independent on-state voltage drop sampling channels are configured for each of the six power transistors. The sources of the lower bridge arm transistors Q2, Q4, and Q6 are directly grounded, and their drain-source voltage drops are directly fed into the MCU's ADC sampling pin via a high-resistance voltage divider network, with a sampling rate of 1MHz and a resolution of 12 bits. The source potentials of the upper bridge arm transistors Q1, Q3, and Q5 are floating; the drain-source differential voltage, raised by an isolation level shifting circuit, is fed into the ADC. The bus current is acquired by a Hall current sensor connected in series with the DC bus, with a range of ±300A and a bandwidth of 10kHz. The phase current is acquired by a 0.5mΩ sampling resistor connected in series with the three-phase winding circuit, amplified by an instrumentation amplifier, and then fed into the MCU's ADC sampling pin. The motor speed is calculated from the signal of a Hall position sensor installed inside the motor end cover, in revolutions per minute (rpm). The power transistor junction temperature is acquired by an NTC thermistor attached to the heatsink base plate, measuring the case temperature. Then estimate the junction temperature according to formula (1). : (1) in, This refers to the junction temperature of the power transistor. This refers to the radiator casing temperature. This is the sum of the current conduction loss and switching loss of the power transistor. For the junction-to-case thermal resistance of the device, in this embodiment, we take... =0.8℃ / W. Conduction loss. Estimate according to formula (2): (2) in, This is the effective value of the phase current. The drain-source on-resistance of the power transistor. This is a conduction status indicator. That is, the drain-source on-resistance when the circuit is on. The current PWM duty cycle of this MOSFET is [value missing], which is the value of the MOSFET selected in this embodiment. The typical value is 3.5mΩ.
[0039] In traditional solutions, the controller MCU only reads the bus current and throttle signal, without collecting the drain-source voltage drop of any power transistor. This step, however, configures sampling channels for each of the six transistors and continuously records the on-state voltage drop timing at a sampling rate of 1MHz, providing a data foundation for subsequent transistor-by-transistor health assessments. For example, when the vehicle is traveling at a constant speed of 25km / h, the effective phase current is 45A, and the case temperature is 55℃, the on-state voltage drop timing signals of the six transistors are synchronously collected into the MCU's internal ring buffer, storing 100 sampling points per PWM cycle (100μs).
[0040] Step S200: Extract the health characteristics of each power transistor from the on-state voltage drop timing signal of each power transistor.
[0041] In this embodiment, the health characteristic quantity includes the steady-state value of the on-state voltage drop. and switching transient characteristic (switching impulse value) , Turn off overshoot amplitude Switch recovery time ).
[0042] (1) Extract the steady-state value of the on-state voltage drop: The on-state voltage drop timing signal is segmented along the time axis by a sliding window of a preset length. In this embodiment, the sliding window length is one PWM cycle, i.e., 100μs. Within each window, the switching edge segment and the conduction segment are divided according to the level of the PWM drive signal of the transistor: the switching edge segment is the time period of 5μs before and after the drive level flips, and the remaining time is the conduction segment. After removing the switching edge segment, the average value of the sampling points in the conduction segment is calculated according to formula (3) and used as the steady-state value of the on-state voltage drop of the PWM cycle. : (3) Where N is the number of sampling points within the conduction segment of the PWM cycle.
[0043] In this embodiment, when the vehicle is cruising at a constant speed of 25 km / h, the phase current is 45 A, and the casing temperature is 55 °C, the lower bridge arm Q2 has 90 sampling points in the conduction section of a certain PWM cycle. It fluctuates slightly between 0.142V and 0.148V, and is calculated according to formula (3). =0.145V.
[0044] In traditional solutions, measuring the on-state voltage drop typically requires applying a constant small current using a transistor curve tracer while the vehicle is stopped, followed by reading the voltage drop. However, during operation, the phase current dynamically changes between 0 and 120A, making the measured instantaneous voltage drop incomparable. This new method automatically discards the switching edges within each PWM cycle, taking only the average of the fully on-state samples, allowing the steady-state value to be continuously updated during vehicle operation. Figure 2 As shown, a normal power transistor maintains a stable voltage level of approximately 0.08V during its conduction range (approximately 0 to 0.5ms, 1.0 to 1.5ms, etc.). This stable level is the steady-state value of the on-state voltage drop. Spikes appearing at the switching edge are excluded from the steady-state value. For an open-circuit fault transistor, the on-phase voltage rises to near the bus voltage; for a short-circuit fault transistor, the on-phase voltage approaches zero; and for a transistor with degraded on-resistance, the steady-state voltage is significantly higher than that of a normal transistor. These four states are... Figure 2 Different curves are used to distinguish them.
[0045] (2) Extracting transient characteristics of the switch: Within the switching edge segment, two characteristic quantities are identified: Opening the amplitude value The deviation of the maximum negative peak amplitude of the drain-source voltage relative to the steady-state value during the voltage drop process when the transistor switches from off to on. Turn off overshoot amplitude The deviation of the maximum positive spike amplitude of the drain-source voltage relative to the bus voltage during the rise process of the transistor when it switches from conduction to turn-off; Switch recovery time The duration from the moment the drive level flips to the time when the drain-source voltage enters the steady-state band is taken as ±5% of the steady-state value in this embodiment.
[0046] In this embodiment, Q2 in the healthy state Approximately 1.8V Approximately 3.2V Approximately 0.8 μs; when the driving resistance drifts from 10 Ω to 18 Ω, The voltage drops to 0.6V, and Tr lengthens to 2.1μs, but at this point, steady state is reached. It remains around 0.145V, which corresponds to the gate drive abnormal mode of "transient distortion but no significant steady-state deviation".
[0047] Step S300: Perform operating condition correction on the health characteristic quantity based on the motor operating condition data to obtain the correction characteristic quantity.
[0048] Due to the result obtained in step S200 In the current phase current With current junction temperature The measured values, when directly compared with the healthy baseline (usually established at 25°C and reference current), will introduce operating condition deviations. This step is performed according to equation (4). Converted to the reference working condition : (4) in, The temperature coefficient of the selected MOSFET's on-resistance is taken as [value missing]. In this embodiment, [value missing] =0.008 / ℃ (i.e., for every 1℃ increase in junction temperature, (Approximately 0.8% increase) As the reference junction temperature, take =25℃; As the reference phase current, take =50A; The phase current exponent is approximately linear for the MOSFET in the conduction region. In this embodiment, it is taken as... =1.0.
[0049] In this embodiment, the aforementioned The sampling point corresponding to =0.145V =45A、 =55℃ Estimated according to formula (2) =45²×0.0035×0.5≈3.54W, estimated according to formula (1) =55 + 3.54 × 0.8 ≈ 57.8℃. Substituting into equation (4): =0.145÷1.2624÷0.9≈0.1276V, that is, the 0.145V measured under this operating condition is equivalent to 0.1276V under the reference operating condition of 25℃ and 50A.
[0050] For comparison, without operating condition correction, the measured values of the vehicle during a full-load uphill climb at midday in summer (casing temperature 85℃, phase current 110A) are... =0.28V directly compared with the 25℃ baseline of 0.13V will show a deviation of more than 1.0, which will inevitably lead to a false alarm; after correction by formula (4): =0.28÷1.495÷2.2≈0.0853V This value is even slightly below the baseline, indicating that the tube did not actually degrade under this operating condition; it was only due to the high temperature and high current. The original value increases; after correction, spurious deviations are eliminated.
[0051] Switching transient characteristics , , It does not change significantly with phase current, but has a weak dependence on junction temperature. In this embodiment, temperature correction is performed according to equation (5): (5) in, To correct the opening overshoot value, To measure the overshoot amplitude, The overshoot temperature coefficient of the switch. This is the current junction temperature. As the reference junction temperature, take =0.002 / ℃. To correct the overshoot amplitude after correction, the correction is performed using the same temperature coefficient method as in equation (4).
[0052] Step S400: Compare the correction characteristic quantity with the health baseline corresponding to the power transistor and calculate the fault deviation.
[0053] In this embodiment, a four-dimensional health baseline vector is maintained for each power transistor. With the corresponding standard deviation vector The health baseline is established during the first healthy operation phase after the vehicle leaves the factory: after accumulating 300km of driving, during which the vehicle experiences various operating conditions such as starting, constant speed, climbing, and descending, and the fault deviation of all sampling points is less than the first threshold D1, the mean of the correction feature quantities collected during this period is calculated according to formula (6), and the standard deviation is calculated according to formula (7): (6) (7) in, For the first The baseline mean of each feature component, For the first The baseline standard deviation of each characteristic component, For the total number of learning samples, For the first In the training sample, the first The corrected values of each component are taken. The subscript number of the feature component. To learn the sample sequence number, subscript Traversal , , , Four components; this embodiment =300,000 PWM cycle samples.
[0054] Fault deviation Calculated using the weighted Euclidean distance according to equation (8): (8) in, The fault deviation for the current cycle. The number of measurements taken in the current period One correction feature component, For the first The weights of each component are taken in this embodiment. To conduct steady-state component weights, To enable the weighting of the impulse component, To turn off overshoot component weights, The weights for the switching recovery time component are set to 0.45, 0.15, 0.15, and 0.25 respectively, with the steady-state value having the highest weight because it directly reflects the switching recovery time component. Degradation; switching recovery time is the next most important factor because it is most sensitive to drive circuit drift.
[0055] In this embodiment, the first threshold =0.30, second threshold =0.60. When <0.30 indicates good health; 0.30≤ A warning is issued when the value is less than 0.60. A fault is identified when the value is ≥0.60.
[0056] Taking the Q2 tube as an example, its health baseline is =0.128V =0.008V; =1.8V, =0.2V; =3.2V, =0.3V; =0.8μs, =0.1μs. Measured at a certain moment. =0.151V, =1.7V, =3.4V =0.85μs, Substituting into equation (8): =sqrt(0.45×[(0.151 [0.128)÷0.008]²+0.15×[(1.7 1.8)÷0.2]²+0.15×[(3.4 3.2)÷0.3]²+0.25×[(0.85 0.8)÷0.1]²) =sqrt(0.45×8.27+0.15×0.25+0.15×0.44+0.25×0.25) =sqrt(3.89) ≈1.97 Should The value is much greater than =0.60 indicates that the Q2 tube has significantly deviated from its healthy state and has entered the fault diagnosis stage.
[0057] Step S500: Determine the fault type and output the diagnostic results based on the fault deviation degree and the deviation pattern of the fault deviation degree along the time axis.
[0058] In this step, mapping is performed according to four deviation modes: (1) Open circuit fault mode: within N consecutive PWM cycles (N=1000 in this embodiment, corresponding to 100ms) consistently higher Furthermore, there is no sudden change in the bus current during the same period (the rate of change of bus current is less than 50A / ms). The physical mechanism is that after a poor solder joint or a broken bond wire, the transistor cannot establish a conductive path within the window where it should conduct, and the voltage between the drain and source is close to the bus voltage (e.g., Figure 2 The open-circuit fault curve shown by the red dashed line indicates the conducting phase. (≈58V), but due to the absence of this phase, the combined magnetic field of the three phases of the motor is distorted, and the bus current does not show a short-circuit surge.
[0059] (2) Short-circuit fault mode: Below the short-circuit voltage drop threshold (This embodiment takes) =0.02V), and the increase in bus current within two consecutive PWM cycles exceeds the current surge threshold. (Take 80A). The physical mechanism is that after the MOSFET's drain-source junction breaks down, the MOSFET will always conduct regardless of the drive signal, causing a short circuit in the upper and lower bridge arms. Approaching 0V (e.g.) Figure 2 (As shown by the short-circuit fault curve with blue dotted line in the middle), the bus current is forcibly pulled up.
[0060] (3) On-resistance degradation mode: As the cumulative mileage increases monotonically (linear regression slope > 0 and R² > 0.8 within 500km), while , , The deviation of the three transient components from the baseline is less than This means steady-state drift while transient normality exists. The physical mechanism is chip bonding wire fatigue or... Increases monotonically with aging (e.g.) Figure 2 As shown by the degradation curve with green dots, the steady-state voltage during conduction increases from 0.08V to 0.22V.
[0061] (4) Gate drive abnormal mode: , , At least two of the three deviate from the baseline by more than 2. ,and Deviation less than This means transient distortion while steady-state normality exists. The physical mechanisms include gate drive resistor drift, drive power supply decoupling capacitor failure, or gate oxidation itself.
[0062] In this embodiment, the aforementioned Q2 tube The sample with a value of 1.97, =0.151V relative =0.128V, deviating by approximately 2.9. ,and , , All within ±0.5 Within this range, the PWM cycle maintains this "steady-state monotonic rise, transient normal" mode for several consecutive cycles, and the synchronous bus current is stable. According to the mapping rule, this is determined to be due to Q2 on-resistance degradation. The controller sends a diagnostic message to the vehicle instrument via the CAN bus. The message includes: fault location number "Q2 transistor (U-phase lower bridge arm)", fault type "on-resistance degradation", and current status. The value is "1.97", and the recommended action is to "limit traffic to the repair shop".
[0063] Implement a tiered response: <0.30: No indicator displayed; 0.30≤ <0.60: The instrument display screen flashes a yellow warning icon and the text message reads "Early degradation of the U-phase lower tube of the controller. Please have it inspected at an appropriate time." The vehicle continues to operate at full power. 0.60≤ : Response determined by fault type: If a short circuit fault is determined, immediately block all six PWM channels and disconnect the bus contactor within one PWM cycle, and issue a red alarm on the instrument: "Controller serious fault, please pull over and stop"; If an open circuit or degraded conduction resistance is determined, limit the motor output torque to 50% of the rated torque (limit the current loop upper limit according to formula (9)): (9) in, To set an upper limit for the phase current after current limiting. This is the rated phase current of the motor.
[0064] If the gate drive is determined to be abnormal, the motor carrier frequency will be reduced from 16kHz to 8kHz to reduce switching losses, and the driver will be prompted to come to the station for inspection.
[0065] Perform a health baseline update: calculate every PWM cycle Afterwards, if < Then, the current correction feature is incorporated into the baseline using a sliding window method, and the mean and variance are updated recursively according to equation (10): (10) in, For the updated number Baseline mean of each component The baseline mean before the update. The number of measurements taken in the current period Individual component correction values Forgetting factor, take =0.02, meaning the new sample accounts for 2% of the baseline; when ≥ When this happens, the sample from that period is rejected and incorporated into the baseline to prevent faulty samples from contaminating the healthy baseline.
[0066] To verify the diagnostic accuracy, false alarm rate, and fault detection lead time of this invention under different operating conditions, a comparative test was conducted simulating three typical operating conditions of an electric tricycle. The test vehicle was an electric tricycle delivery vehicle with a gross vehicle weight of 800 kg, a controller rated voltage of 60V, a rated phase current of 120A, and a motor rated power of 1.5kW. The comparison was between the online diagnostic method of this invention and the traditional overcurrent trip protection method. The test method was as follows: three operating conditions were simulated on a test bench using an external programmable electronic load and a heating platform, and four types of faults were artificially introduced. The time from fault introduction to alarm / tripping was recorded for both methods.
[0067] Operating Condition 1: Constant speed cruising on a flat urban road. Ambient temperature 25℃, road surface is dry asphalt, vehicle travels at a constant speed of 25km / h, average phase current 45A, controller housing temperature stabilizes at 55℃.
[0068] Under this operating condition, the controller operates with normal power transistors and runs continuously for 2 hours. The result calculated by the method of this invention is... The values fluctuated between 0.08 and 0.18, all less than 0.08. =0.30, no alarm on the instrument; traditional overcurrent protection does not activate. Subsequently, a "slow degradation of on-resistance" fault was artificially introduced under this condition: a 0.01Ω precision resistor was connected in series in the source circuit of Q2 to simulate... The impedance decreased from 3.5 mΩ to 13.5 mΩ. The method of this invention detected the fault approximately 3.8 seconds after implantation. If the value continuously exceeds 0.30, a yellow warning will be output; the traditional overcurrent protection method will not operate under this fault (because no short circuit has occurred), until the series resistor overheats and blows, and Q2 is completely open, then an alarm will be triggered due to phase loss.
[0069] Operating Condition 2: Summer Exposure and Fully Loaded Climbing Uphill. The ambient temperature is 38℃, and the vehicle is fully loaded with 800kg of goods. It is climbing an uphill section with an 8% gradient in the suburbs at a speed of 15km / h. The phase current is maintained at 100 to 120A for a long time, and the controller housing temperature rises to 88℃.
[0070] Under this operating condition, without implanting a fault, the method of the present invention, after temperature and current correction according to equation (4), It fluctuates between 0.120V and 0.135V. The value is between 0.10 and 0.22, with no false alarms. Traditional methods produce no diagnostic output. Subsequently, a "gate drive resistor drift" fault was artificially implanted: the Q2 gate series resistor was changed from 10Ω to 18Ω. The method of this invention detects the fault approximately 1.2 seconds after implantation. From 1.8V to 0.7V, The elongation from 0.8 μs to 2.3 μs is calculated according to equation (8). =0.52 (within the 0.30 to 0.60 range), outputting a yellow warning "Q2 gate drive abnormality", and automatically reducing the carrier frequency to 8kHz. The traditional overcurrent protection method still does not activate.
[0071] Operating Condition 3: Short-distance start-up in low winter temperatures. Ambient temperature. At 5℃, the vehicle starts from the entrance of the cold storage, and the controller housing temperature rises from... It starts to heat up from 5℃ due to the power transistor, and the phase current surge reaches 180A at the moment of start-up.
[0072] Under this operating condition, without implanting a fault, the method of the present invention, after correction by equation (4), due to... In a short period of time From 5℃ to 45℃, It first hovered around 0.11V, then stabilized around 0.13V. The maximum value was 0.24, and no warning was triggered. Subsequently, a "Q2 drain-source short circuit" fault was artificially introduced: an external electronic switch was used to short-circuit the drain and source of Q2. The fast protection branch of this invention detected a jump in bus current from 120A to 260A within 100μs (one PWM cycle) (an increment of 140A > the 80A threshold). =0.003V < 0.02V threshold, immediately block all six PWM channels and disconnect the bus contactor; the traditional overcurrent tripping method operates after about 2ms, which is about 20 times slower than the present invention.
[0073] The test results for four types of faults under three operating conditions are as follows: Operating condition 1 (uniform speed on a flat urban road) introduces a degradation fault in the on-resistance of Q2, causing... The current changes from 3.5mΩ to 13.5mΩ: The method of this invention detects the overcurrent in about 3.8 seconds, outputs a yellow warning, and limits the motor current to 50%; the traditional overcurrent protection does not operate at all until the tube is completely open, and then outputs a phase loss alarm, which is delayed by tens of seconds.
[0074] Operating Condition 2 (Summer Exposure, Full Load, Hill Climbing): A Q2 gate drive resistor drift fault occurs, causing a series resistance issue in the gate. From 10Ω to 18Ω The voltage drops from 1.8V to 0.7V: The method of this invention detects the voltage drop in about 1.2 seconds, outputs a yellow warning, and automatically reduces the carrier frequency from 16kHz to 8kHz; traditional overcurrent protection does not activate.
[0075] Operating condition 3 (winter low temperature start-up) involves a short-circuit fault in Q2 drain-source pole, causing When the voltage approaches 0V and the bus current jumps from 120A to 260A, the method of this invention can detect the surge in about 100μs, immediately block all six PWM channels and disconnect the bus contactor; traditional overcurrent protection takes about 2ms to trip in hardware, which is about 20 times slower.
[0076] Under operating condition three, a fault with a cold solder joint and open circuit at the Q2 solder joint was simultaneously introduced, causing the conductive phase to fail. With approximately 58V and no sudden change in bus current: the method of this invention detects the problem in about 120ms, outputs a red alarm and limits the current to 50%; traditional overcurrent protection does not operate, and the phase loss alarm lags by about 2s.
[0077] Fault-free baseline test: The maximum fault deviation D was 0.18 during 2 hours of continuous operation under condition 1, and the maximum D was 0.22 during 1 hour of continuous operation under condition 2. No warning was triggered and there were no false alarms.
[0078] It can be seen that under fault-free, high-temperature, high-current operating conditions, the method of the present invention, after operating condition correction, The value remained below 0.30, and no false alarms occurred. Under all four types of faults, the method of this invention can detect them within milliseconds to seconds and provide graded responses according to the fault type. Traditional overcurrent protection methods can only operate during through-circuit short circuits and cannot identify early degradation, gate abnormalities, or open circuits, or the identification is severely delayed.
[0079] To further verify the technical effect of the three-layer feature combination of "on-state voltage drop + switching transient characteristic + operating condition correction" compared to a single feature, this embodiment supplements five sets of control experiments. The control settings are as follows: the first set uses only... Compared to the baseline (i.e., without using transient features or performing pattern classification); the second group only uses on / off transient features ( / / Comparison with baseline; Group 3 However, no operating condition calibration is performed (i.e., the uncalibrated condition is used directly). (Comparison); The fourth group uses both steady-state and transient features but does not perform pattern classification (only according to...) The fifth group represents the complete solution of this invention (steady-state + transient + operating condition correction + mode classification). Four types of faults are implanted under three operating conditions. The fault detection rate, false alarm rate, and average detection time of each method are statistically analyzed, and the results are as follows: The first group only uses Compared with the baseline, without using transient features or performing pattern classification: the fault detection rate was 72%, the false alarm rate was 18%, the average detection time was 4.2s, and the fault type could not be distinguished.
[0080] The second group only uses switching transient characteristics. , , Compared with the baseline: detection rate 45%, false alarm rate 6%, average detection time 1.8s, unable to distinguish fault type.
[0081] The third group adopted However, without operating condition calibration, i.e., directly comparing the uncalibrated original voltage drop: the detection rate is 68%, the false alarm rate is as high as 42%, the average detection time is 3.5s, and it cannot distinguish the fault type.
[0082] The fourth group uses both steady-state and transient characteristics but does not classify fault modes: the detection rate is 88%, the false alarm rate is 12%, the average detection time is 2.6s, and it can only provide general alarms and cannot distinguish fault types.
[0083] The fifth group is the complete solution of this invention, which combines steady-state characteristics, transient characteristics, operating condition correction and fault mode classification: detection rate of 96%, false alarm rate of 3%, average detection time of 1.1s (of which short-circuit faults are detected within 100μs), and can distinguish four types of faults: open circuit, short circuit, on-resistance degradation, and gate drive abnormality.
[0084] It can be seen that: the first group, using only steady-state features, suffers from severe underreporting of gate drive-related faults (because the steady-state Vds change little when the gate is abnormal), with a detection rate of only 72%; the second group, using only transient features, is insensitive to on-resistance degradation faults (the switching edge is basically normal when degradation occurs), with a detection rate of only 45%; the third group, without operating condition correction, has a false alarm rate as high as 42% under high-temperature and high-current conditions, indicating that operating condition correction is necessary; the fourth group, combining steady-state and transient features, improves the detection rate to 88%, but only outputs a general alarm and cannot distinguish fault types; the fifth group, the complete solution of this invention, reduces the false alarm rate to 3% through operating condition correction, distinguishes all four types of faults through mode classification, and achieves a detection rate of 96%. The above results show that the combination of steady-state features, transient features, and operating condition correction produces a synergistic effect that is difficult to achieve with any single feature.
[0085] like Figure 3As shown, on a test vehicle that has accumulated 6000km of driving, the fault deviation calculated by the method of this invention... Gradually increasing with accumulated mileage: 0 to 2000km range Stable around 0.10, corresponding to the health baseline after the factory learning period; 2000 to 4000 km range It slowly rises to around 0.30, corresponding to the power transistor. Normal aging; approximately 3800 km cross =0.30, the method of this invention outputs a yellow warning; after 4000km As the circuit accelerates, the pipe completely short-circuits at approximately 5400km, forcibly pulling the bus current up to the overcurrent protection threshold. Traditional overcurrent protection only activates at 5400km, while the fault warning provided by this invention is approximately 1600km earlier than traditional tripping. This is equivalent to detecting a fault about 20 days earlier on a delivery tricycle that travels an average of 80km per day, giving the driver ample time for maintenance.
[0086] This embodiment provides a specific numerical example of the health baseline self-learning process. When the vehicle is powered on for the first time after leaving the factory, the controller enters the health learning mode. Before the cumulative mileage reaches 300km, no fault alarm is output, and only continuous sampling and statistics are performed. Taking the Q2 tube of the U-phase lower bridge arm as an example: from the 1km to the 300km, the controller collects about 3 million sampling points in total, with each PWM cycle as a sampling point; the mean of the four-dimensional feature quantity is calculated according to formula (6). =0.128V =1.8V, =3.2V, =0.8μs, calculate the corresponding standard deviation according to formula (7). =0.008V =0.2V、 =0.3V, =0.1μs. This set of mean vectors and standard deviation vectors serves as the initial health baseline for the Q2 tube. and Write to the MCU's internal EEPROM.
[0087] During the vehicle's journey, each time it passes through a sliding window (in this embodiment, a 1km mileage window), if the D value of all sampling points within that window is less than the first threshold... =0.30, then according to formula (10) the forgetting factor =0.02 performs a sliding update on the baseline: This means that the new sampling point has a 2% weighting on the baseline, while the old baseline has a 98% weighting. This tracks the slow drift of the power transistor within the normal aging range without being skewed by a single abnormal event. When a certain window appears... ≥ When sampling points are selected, the baseline of the tube is frozen and not updated to prevent degraded samples from being incorporated into the healthy baseline.
[0088] This embodiment provides a complete timing example of fast short-circuit fault protection. When the vehicle is traveling at a constant speed of 30 km / h, a momentary short circuit occurs at the drain and source of Q2 due to internal metallization migration: at time 0 μs, Vds drops sharply from 0.13V to 0.003V, and the bus current starts to rise from 85A; at time 50 μs, the bus current reaches 165A, an increase of 80A, which is exactly equal to the current surge threshold. The controller MCU completes dual-criteria confirmation at 100μs (one PWM cycle): When the voltage is less than 0.02V and the bus current increment is greater than 80A, six PWM blocking signals are immediately output, simultaneously driving the bus contactor disconnecting coil. The bus current begins to decrease at 200μs and drops to 0A at 500μs. The entire short circuit from occurrence to hardware-level protection action takes 100μs, which is 20 times faster than the 2ms tripping time of traditional comparators. The junction temperature of the power transistor only rises by about 8°C throughout the process, not reaching the package damage threshold.
[0089] In contrast, if this fast protection branch is not set up and only the conventional diagnostic process (running with a 10ms cycle) is relied upon, it will take at least 10ms from the occurrence of a short circuit to the blocking of the output. During this period, the bus current can rise to more than 400A, the instantaneous power consumption of the power transistor exceeds 300W, and the junction temperature will soar to more than 150℃ within 10ms, which will inevitably lead to the bonding wire melting and the package cracking.
[0090] This embodiment provides the specific parameters and execution flow of the hierarchical response strategy. The controller, based on... The combination of value and fault type categorizes the response into four levels: Level 1 green (normal): <0.15, the vehicle instrument panel shows no fault indication, and the vehicle is running at full power.
[0091] Level 2 Yellow Alert: 0.15≤ <0.30 or ≥ But not achieved The instrument display screen will display the message "The on-resistance of tube Q2 (lower bridge arm of phase U) has degraded. It is recommended to have it inspected at the station soon," and the buzzer will sound a short beep. The motor output torque will not be limited.
[0092] Level 3 Orange Traffic Limiting: ≥ =0.60 or determined to be due to degraded on-resistance and continuous monotonic drift for 500km, the motor torque is limited to 50% of the rated torque (i.e., phase current limited to 60A), the carrier frequency is reduced from 16kHz to 8kHz to reduce switching losses, and the instrument prompts "Power transistor degraded, speed limited, please repair as soon as possible".
[0093] Level 4 Red Shutdown: If a short circuit or open circuit fault is detected, the PWM is immediately blocked and the bus contactor is disconnected. The instrument panel flashes red and displays "Controller Fault, Please Stop Safely". At the same time, a fault code is sent to the vehicle controller via the CAN bus.
[0094] This embodiment provides a comparative verification of the calibration effect under different ambient temperatures. The same healthy Q2 transistor was measured at phase currents of 20A, 50A, and 100A under three conditions: 10℃, 25℃, and 60℃. The original value and the value corrected by equation (4) Value. When uncorrected, Original value from The voltage changed from 0.08V at 10℃ / 20A to 0.32V at 60℃ / 100A, a fluctuation of 4 times; after temperature coefficient... =0.008 / ℃ and current index =1.0 after correction, Under all operating conditions, the voltage remained within the range of 0.12V to 0.14V, with fluctuations of less than 15%. This result verifies that the operating condition correction can effectively eliminate spurious deviations caused by operating condition fluctuations over a wide temperature and current range, ensuring that the healthy baseline is comparable under any operating condition.
[0095] This embodiment provides details of the circuit implementation for channel-specific sampling of the upper and lower bridge arms. The sources of the lower bridge arms Q2, Q4, and Q6 are directly connected to power ground. Their drain-source voltage drop is attenuated to the acceptable range of 0 to 3.3V for the MCU's ADC sampling pin through a high-impedance voltage divider network composed of two 100kΩ precision resistors. After voltage division, the signal is fed into the ADC after passing through an RC low-pass filter (cutoff frequency 500kHz). The source potentials of the upper bridge arms Q1, Q3, and Q5 fluctuate between 0V and 60V with the PWM, making direct resistor voltage division impossible. This embodiment uses an isolated level shifter chip to raise the source potential, then uses a high-bandwidth differential operational amplifier to measure the potential difference between the drain and source, and finally attenuates the signal before feeding it into the ADC. The six sampling channels are synchronously triggered by a timer within the MCU, with the sampling time aligned to the middle of the PWM drive signal's conduction phase (i.e., 40μs after conduction begins), at which point the transient switching edge has ended and conduction has entered a steady state.
[0096] Example 2 This embodiment provides a controller power transistor fault diagnosis system, employing a controller power transistor fault diagnosis method from the above embodiments. It addresses the technical problems of existing electric tricycle controller power transistor protection systems, which primarily rely on overcurrent tripping, have diagnostic timing delayed beyond the fault's inception, cannot pinpoint specific bridge arms or power transistors, fail to distinguish between open / short circuit and degradation faults, are susceptible to false alarms due to fluctuations in phase current and junction temperature when directly comparing absolute voltage drops, and suffer from poor adaptability to fixed threshold values due to parameter dispersion among individual power transistors in different controllers. The beneficial effects of the controller power transistor fault diagnosis system provided by this invention are the same as those of the controller power transistor fault diagnosis method provided in the above embodiments, and other technical features of the controller power transistor fault diagnosis system are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0097] Example 3 This invention provides a controller power transistor fault diagnosis device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to perform a controller power transistor fault diagnosis method as described in Embodiment 1 above. The controller power transistor fault diagnosis device in this embodiment may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. This controller power transistor fault diagnosis device is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this invention. The controller power transistor fault diagnosis device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory or a program loaded from a storage device into a random access memory. The random access memory also stores various programs and data required for the operation of the controller power transistor fault diagnosis device. The processing unit, read-only memory, and random access memory are interconnected via a bus. The I / O interface is also connected to the bus. Typically, the following systems can be connected to the I / O interface: input devices including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices including, for example, magnetic tapes, hard disks, etc.; and communication devices. The communication device allows a controller power transistor fault diagnosis device to communicate wirelessly or wiredly with other devices to exchange data. Although a controller power transistor fault diagnosis device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented alternatively.
[0098] In particular, according to the embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from a read-only memory. When the computer program is executed by a processing device, it performs the functions defined in the methods of the embodiments disclosed in this invention.
[0099] It should be understood that the various parts disclosed in this invention can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.
[0100] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the present invention and its equivalents, the present invention also intends to include these modifications and variations.
Claims
1. A method for diagnosing faults in a controller power transistor, characterized in that, The method includes: Step S100: During the operation of the electric tricycle, the on-state voltage drop timing signal of each power transistor in the three-phase bridge arm, the bus current, and the motor operating data are collected in real time; the motor operating data includes phase current, motor speed, and power transistor junction temperature. Step S200: Extract the health characteristics of each power transistor from the on-state voltage drop timing signal; the health characteristics include the steady-state value of the on-state voltage drop and the transient switching characteristics; Step S300: Perform condition correction on the health characteristic quantity based on the motor operating condition data to obtain the corrected characteristic quantity; Step S400: Compare the correction characteristic quantity with the health baseline corresponding to the power transistor, and calculate the fault deviation. Step S500: Based on the fault deviation and the deviation pattern of the fault deviation along the time axis, determine the fault type of the power transistor and output the diagnostic result; the fault type includes at least one of open circuit fault, short circuit fault, on-resistance degradation and gate drive abnormality.
2. The controller power transistor fault diagnosis method according to claim 1, characterized in that, In step S200, the step of extracting the health characteristics of each power transistor from the on-state voltage drop timing signal includes: segmenting the on-state voltage drop timing signal along the time axis according to a sliding window of a preset length; after removing the switching edge segments within the sliding window, taking the arithmetic mean of the instantaneous on-state voltage drop values of all sampling points within the remaining on-state segments as the steady-state value of the on-state voltage drop corresponding to the sliding window; and extracting the overshoot amplitude and recovery time of the switching edge segments as the transient characteristics of the switching.
3. The controller power transistor fault diagnosis method according to claim 2, characterized in that, The transient characteristic quantities of the switch include the overshoot amplitude during switching, the overshoot amplitude during switching, and the switch recovery time; the switch recovery time is the duration from the start of the switch to the on-state voltage drop entering the preset steady-state band.
4. The controller power transistor fault diagnosis method according to claim 1, characterized in that, In step S300, the step of correcting the health characteristic quantity based on the motor operating condition data includes: based on the phase current and the junction temperature of the power transistor, the steady-state value of the on-state voltage drop is converted to a preset reference junction temperature according to the on-resistance temperature coefficient, and converted to a preset reference phase current according to the phase current exponential coefficient, so as to obtain the corrected steady-state value of the on-state voltage drop under the preset reference operating condition.
5. The controller power transistor fault diagnosis method according to claim 1, characterized in that, Step S400, the step of comparing the correction characteristic quantity with the health baseline corresponding to the power transistor and calculating the fault deviation, includes: calculating the fault deviation by weighted Euclidean distance between each component of the correction characteristic quantity and the corresponding component in the health baseline of the power transistor; the health baseline includes the mean vector and standard deviation vector of each component in a healthy state; determining the operating health state of the power transistor, the operating health state including: When the fault deviation is less than the first threshold, the power transistor is determined to be in a healthy state. When the fault deviation is between the first threshold and the second threshold, the power transistor is determined to be in a warning state. When the fault deviation exceeds the second threshold, current limiting and degradation operation or shutdown protection is triggered.
6. The controller power transistor fault diagnosis method according to claim 5, characterized in that, In step S400, the health baseline is established in the following way: during the first health operation phase after the vehicle leaves the factory, health condition data of no less than a preset learning mileage are collected in total, and the sliding mean and standard deviation of the correction characteristics of each power transistor are taken as the initial health baseline of the power transistor. When the fault deviation is less than the first threshold during vehicle operation, the health baseline is updated using a sliding window. When the fault deviation is greater than or equal to the first threshold, the health baseline of the power transistor is frozen and no longer updated.
7. The controller power transistor fault diagnosis method according to claim 4, characterized in that, The fault types of the power transistor in step S500 include: When the steady-state value of the corrected on-state voltage drop remains higher than the healthy baseline and the bus current does not change abruptly, it is determined to be an open circuit fault. When the steady-state value of the corrected on-state voltage drop is lower than the short-circuit voltage drop threshold and the bus current suddenly increases beyond the current change threshold within two consecutive PWM cycles, it is determined to be a short-circuit fault. When the steady-state value of the corrected on-state voltage drop monotonically drifts with the cumulative mileage and the residual after operating condition correction deviates from the healthy baseline, it is determined that the on-resistance has degraded. When the transient characteristic of the switch is distorted relative to the healthy baseline and the steady-state value of the corrected on-state voltage drop deviates only slightly, it is determined to be an abnormal gate drive.
8. The controller power transistor fault diagnosis method according to claim 1, characterized in that, A graded response is executed based on the diagnostic results output in step S500, the graded response including: When in warning mode, the vehicle instrument outputs the bridge arm position number of the faulty power transistor and the fault type indication; When in current-limiting and degradation mode, the motor output torque is limited to a preset proportion of the rated torque; When the system is in a shutdown state, the PWM output of the three-phase bridge arm is blocked and the bus contactor is disconnected.
9. The method for diagnosing controller power transistor faults according to claim 1, characterized in that, The method also includes a fast protection branch for short-circuit faults: real-time monitoring of the bus current; when the increase of the bus current in two consecutive PWM cycles exceeds the current mutation threshold, and the steady-state value of the on-state voltage drop of the corresponding bridge arm power transistor is lower than the short-circuit voltage drop threshold, the PWM output of that phase bridge arm is blocked within one PWM cycle, and the bridge arm power transistor is marked as having a short-circuit fault.
10. A controller power transistor fault diagnosis system, characterized in that, The system includes: The operating condition acquisition module is used to collect the on-state voltage drop timing signal of each power transistor in the three-phase bridge arm, the bus current, and the motor operating condition data in real time during the operation of the electric tricycle; the motor operating condition data includes phase current, motor speed, and power transistor junction temperature. The feature extraction module is used to extract the health features of each power transistor from the on-state voltage drop timing signal of each power transistor; the health features include the steady-state value of the on-state voltage drop and the transient switching features; The operating condition correction module is used to perform operating condition correction on the health characteristic quantity based on the motor operating condition data to obtain the correction characteristic quantity. The fault comparison module is used to compare the correction characteristic quantity with the health baseline corresponding to the power transistor and calculate the fault deviation. The diagnostic output module is used to determine the fault type of the power transistor and output the diagnostic result based on the fault deviation degree and the deviation pattern of the fault deviation degree along the time axis; the fault type includes at least one of open circuit fault, short circuit fault, on-resistance degradation and gate drive abnormality.
