Method and device for judging locked-rotor current of vehicle window motor

By constructing a model of the relationship between winding resistance and ambient temperature and dynamically adjusting the stall current judgment threshold, the problems of misjudgment and missed judgment of the window motor under different temperature environments were solved, achieving more accurate stall judgment and improving the reliability and safety of the motor.

CN120870652APending Publication Date: 2025-10-31DONGFENG COMML VEHICLE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202511145422.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-15
Publication Date
2025-10-31

AI Technical Summary

Technical Problem

Existing methods for detecting stalled window motors are prone to missed or incorrect detections under different temperature conditions, leading to motor overheating or malfunction.

Method used

By collecting ambient temperature and motor speed data, a model relating winding resistance to ambient temperature is constructed. The current after temperature compensation is calculated, and the stall current judgment threshold is dynamically adjusted. The stall current judgment strategy is optimized by combining a moving average filtering algorithm.

Benefits of technology

This improves the accuracy and reliability of detecting stall in car window motors, avoids misjudgments and omissions, ensures the safe and stable operation of automotive electric window and door systems, extends motor lifespan, and reduces maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120870652A_ABST
    Figure CN120870652A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle window motor locked-rotor current judgment method and device, and belongs to the technical field of automobile electronic control. The method comprises the steps that the current environment temperature and the motor rotating speed of a vehicle window motor are collected; determining the winding resistance of the vehicle window motor at the current environment temperature based on the current environment temperature and the winding resistance of the vehicle window motor at the reference temperature; based on the rotating speed of the motor and the winding resistance of the vehicle window motor at the current environment temperature, the current of the vehicle window motor after temperature compensation is determined; and based on the current after temperature compensation and a preset locked-rotor current judgment threshold value, whether the vehicle window motor is locked-rotor or not is judged. According to the invention, the current environment temperature factor is introduced to compensate the running current of the vehicle window motor, and the locked-rotor current judgment strategy is optimized, so that the influence of the environment temperature factor on the resistance of the motor winding is avoided, and the problem of misjudgment or missed judgment caused by small difference between the locked-rotor current and the running current at different environment temperatures is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automotive electronic control technology, specifically to a method and device for determining the stall current of a car window motor. Background Technology

[0002] Existing methods for detecting stalled window motors mostly rely solely on the motor's current value. Once the sensor detects that the motor's current value exceeds a pre-set fixed threshold, the system immediately determines that the motor is stalled.

[0003] In practical applications, due to changes in ambient temperature, the motor winding resistance decreases at low temperatures, making the motor's operating current similar to the stall current. This can lead to misjudgments or missed detections of stall, causing the window to stop before fully rising in cold weather. Conversely, at high temperatures, the motor winding resistance increases, reducing the normal operating current and decreasing the difference between the stall current and normal operating current, making missed detections more likely. Missed detections can result in the motor never detecting a stall, leading to overheating and shortening the motor's lifespan. Misjudgments can cause the motor to stop working, preventing the window from rising to the user's desired position.

[0004] In summary, existing methods for detecting stalled window motors are prone to missed or incorrect detections. Summary of the Invention

[0005] In view of this, it is necessary to provide a method and device for judging the stall current of a car window motor, so as to solve the technical problem that the existing methods for judging the stall current of a car window motor are prone to missed judgments or misjudgments.

[0006] To address the aforementioned problems, in a first aspect, the present invention provides a method for determining the stall current of a vehicle window motor, comprising: Collect the current ambient temperature and motor speed of the car window motor; Based on the current ambient temperature and the winding resistance of the window motor at the reference temperature, determine the winding resistance of the window motor at the current ambient temperature. Based on the motor speed and the winding resistance of the window motor at the current ambient temperature, determine the temperature-compensated current of the window motor. Based on the temperature-compensated current and the preset stall current judgment threshold, it is determined whether the window motor is stalled.

[0007] In one possible implementation, determining the winding resistance of the window motor at the current ambient temperature, based on the current ambient temperature and the winding resistance of the window motor at a reference temperature, includes: Based on the winding resistance of the window motor at a reference temperature, a polynomial model is constructed to characterize the relationship between the winding resistance of the window motor and the ambient temperature. The winding resistance of the window motor under the current ambient temperature is obtained by solving the polynomial model.

[0008] In one possible implementation, the temperature-compensated current of the window motor is determined based on the motor speed and the winding resistance of the window motor at the current ambient temperature, including: The reaction electromotive force is determined based on the magnetic flux, the electromotive force constant, and the motor speed. Based on the reaction potential, the winding resistance of the window motor at the current ambient temperature, and the voltage across the window motor, the temperature-compensated current is determined.

[0009] In one possible implementation, the formula for calculating the reaction potential is: E = Φn in, E It is the back electromotive force. Let be the electromotive force constant. Φ For magnetic flux, n This represents the motor speed.

[0010] In one possible implementation, the formula for calculating the temperature-compensated current is:

[0011] in, This is the temperature-compensated current. V This refers to the voltage across the car window motor. This represents the winding resistance of the car window motor at the current ambient temperature.

[0012] In one possible implementation, the method for determining the stall current of the window motor also includes: Based on the motor speed and the current ambient temperature, a threshold adjustment function is constructed; The threshold adjustment function is added to the preset basic stall current threshold to obtain the stall current judgment threshold.

[0013] In one possible implementation, the threshold adjustment function is calculated as follows:

[0014] in, Adjust the threshold function value. T This represents the current ambient temperature. n This represents the motor speed. , , and These are preset coefficients.

[0015] In one possible implementation, the method for determining the stall current of the window motor also includes: The operating current of the window motor at a reference temperature is obtained, and the operating current is filtered to obtain the filtered current; The winding resistance of the window motor at the reference temperature is determined based on the voltage across the two ends of the window motor at the reference temperature and the filtered current.

[0016] In one possible implementation, filtering the operating current includes: The operating current is filtered using a moving average filtering algorithm; The formula for the moving average filtering algorithm is as follows:

[0017] in, This is the filtered current. N The size of the sliding window. for t - The operating current of the car window motor is collected at all times.

[0018] Secondly, the present invention also provides a device for determining the stall current of a car window motor, comprising: The data acquisition module is used to collect the current ambient temperature and motor speed of the window motor; The winding resistance calculation module is used to determine the winding resistance of the window motor at the current ambient temperature based on the current ambient temperature and the winding resistance of the window motor at the reference temperature. The temperature compensation module is used to determine the temperature-compensated current of the window motor based on the motor speed and the winding resistance of the window motor at the current ambient temperature. The stall detection module is used to determine whether the window motor is stalled based on the temperature-compensated current and a preset stall current detection threshold.

[0019] The beneficial effects of the above implementation are as follows: The method and device for determining the stall current of the car window motor provided by the present invention determine the winding resistance of the car window motor at the current ambient temperature based on the current ambient temperature and the winding resistance of the car window motor at the reference temperature; and determine the temperature-compensated current of the car window motor based on the motor speed and the winding resistance of the car window motor at the current ambient temperature. The present invention compensates the operating current of the car window motor by introducing the current ambient temperature factor, optimizes the stall current determination strategy, avoids the influence of the ambient temperature factor on the magnitude of the motor winding resistance, and thus solves the problem of misjudgment or missed judgment caused by the small difference between the stall current and the operating current under different ambient temperatures. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying 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.

[0021] Figure 1 A flowchart of an embodiment of the method for determining the stall current of a car window motor provided by the present invention; Figure 2 A schematic diagram of one embodiment of the device for determining the stall current of a car window motor provided by the present invention; Figure 3 A schematic diagram of another embodiment of the device for determining the stall current of a car window motor provided by the present invention; Figure 4 A schematic diagram of an embodiment of the electronic device provided by the present invention. Detailed Implementation

[0022] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.

[0023] In the description of the embodiments of this application, unless otherwise stated, "a plurality of" means two or more.

[0024] In this embodiment of the invention, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, apparatus, product or device that includes a series of steps or modules is not necessarily limited to those steps or modules that are explicitly listed, but may include other steps or modules that are not explicitly listed or that are inherent to such process, method, product or device.

[0025] The naming or numbering of steps in the embodiments of the present invention does not mean that the steps in the method flow must be executed in the time / logical order indicated by the naming or numbering. The execution order of the named or numbered process steps can be changed according to the technical purpose to be achieved, as long as the same or similar technical effect can be achieved.

[0026] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0027] This invention provides a method and device for determining the stall current of a car window motor, which will be described below.

[0028] This invention provides a method and system for intelligent judgment of stall current of a car window motor based on temperature compensation. By introducing temperature factors to compensate for the operating current of the car window motor, the stall current judgment strategy is optimized, solving the problem of misjudgment or missed judgment caused by the small difference between stall current and operating current under different ambient temperatures.

[0029] like Figure 1 As shown, the present invention provides a method for determining the stall current of a vehicle window motor. This method can be implemented by executing an application on a terminal or server. The terminal can be an on-board controller, and the server can be a cloud server or an edge server.

[0030] Methods for determining the stall current of a car window motor include: S101. Collect the current ambient temperature and motor speed of the window motor.

[0031] Understandably, ambient temperature can be collected using a thermistor temperature sensor, and motor speed can be collected using a Hall effect sensor.

[0032] S102. Based on the current ambient temperature and the winding resistance of the window motor at the reference temperature, determine the winding resistance of the window motor at the current ambient temperature.

[0033] Understandably, one can first establish a relationship between ambient temperature and winding resistance, and then substitute the winding resistance of the window motor at a reference temperature into this relationship to obtain the winding resistance of the window motor at the current ambient temperature.

[0034] S103. Based on the motor speed and the winding resistance of the window motor at the current ambient temperature, determine the temperature-compensated current of the window motor.

[0035] It is understandable that the motor speed can determine the motor's back electromotive force (EMF), and the difference between the voltage across the motor and the back EMF, divided by the winding resistance, can yield the compensated current.

[0036] S104. Based on the temperature-compensated current and the preset stall current judgment threshold, determine whether the window motor is stalled.

[0037] Understandably, if the temperature-compensated current is greater than or equal to the stall current judgment threshold, it is determined that the window motor is stalled. At this time, the motor drive output is cut off and a stall status signal is issued. If the temperature-compensated current is less than the stall current judgment threshold, it is determined that the window motor is working normally.

[0038] The purpose of this invention is to provide an intelligent method for judging the stall current of a car window motor based on temperature compensation. By introducing temperature factors to compensate for the operating current of the car window motor, the method optimizes the stall current judgment strategy, solves the problem that the difference between the stall current and the operating current is small under different ambient temperatures, which leads to misjudgment or missed judgment, improves the accuracy and reliability of the stall judgment of the car window motor, and ensures the safe and stable operation of the automotive electric window system. Specifically, by collecting the operating current, ambient temperature, and motor speed of the window motor in real time, the collected operating current is filtered, and the winding resistance of the motor at the current ambient temperature is calculated based on the relationship model between ambient temperature and winding resistance. Then, the temperature-compensated current is calculated, and the stall current is dynamically adjusted according to the threshold adjustment function to determine the threshold. The temperature-compensated current is compared with the stall current dynamically adjusted by the threshold adjustment function to determine whether stalling has occurred.

[0039] In some embodiments, determining the winding resistance of the window motor at the current ambient temperature based on the current ambient temperature and the winding resistance of the window motor at a reference temperature includes: Based on the winding resistance of the window motor at a reference temperature, a polynomial model is constructed to characterize the relationship between the winding resistance of the window motor and the ambient temperature. The winding resistance of the window motor under the current ambient temperature is obtained by solving the polynomial model.

[0040] Understandably, the formula for the polynomial model is:

[0041] in, Reference temperature The winding resistance below, , , The coefficients are polynomial coefficients, which can be obtained by fitting experimental data.

[0042] In some embodiments, determining the temperature-compensated current of the window motor based on the motor speed and the winding resistance of the window motor at the current ambient temperature includes: The reaction electromotive force is determined based on the magnetic flux, the electromotive force constant, and the motor speed. Based on the reaction potential, the winding resistance of the window motor at the current ambient temperature, and the voltage across the window motor, the temperature-compensated current is determined.

[0043] The formula for calculating the reaction potential is as follows: E = Φn in, E It is the back electromotive force. Let be the electromotive force constant. Φ For magnetic flux, n This represents the motor speed.

[0044] It is understandable, for example, the voltage across the motor terminals. V = 24V, electromotive force constant = 0.1, torque constant =0.2, moment of inertia Damping coefficient B =0.005. Ambient temperature was collected. T = 35℃, rotation speed n =1000 r / min, first calculate =5 + 0.01 × (35 - 25) + 0.0001 × (35 - 25)² = 5.11Ω, back electromotive force E= Φ n , n =1000r / min = (1000×2π) / 60≈104.72rad / s (magnetic flux) Φ = 1), E= ⋅Φ⋅n =0.1×1×104.72≈10.47V.

[0045] In some embodiments, the formula for calculating the temperature-compensated current is:

[0046] in, This is the temperature-compensated current. V This refers to the voltage across the car window motor. This represents the winding resistance of the car window motor at the current ambient temperature.

[0047] It is understandable that substituting the parameter values ​​obtained from the above embodiments into the above formula will result in the temperature-compensated current. = ≈2.65A.

[0048] In some embodiments, the method for determining the stall current of the window motor further includes: Based on the motor speed and the current ambient temperature, a threshold adjustment function is constructed; The threshold adjustment function is added to the preset basic stall current threshold to obtain the stall current judgment threshold.

[0049] The calculation formula for the threshold adjustment function is as follows:

[0050] in, Adjust the threshold function value. T This represents the current ambient temperature. n This represents the motor speed. , , and These are preset coefficients.

[0051] Understandably, for example, the basic stall current threshold. = 5A, the threshold adjustment function was obtained through experiments and data analysis. f(T,n) =0.01 T +0.001 n +0.0001 Tn +0.1. (This likely refers to a specific amount of money or currency.) T =35℃, n Substituting =104.72 rad / s, we get... f (35, 1000) = 0.01 35+0.001 104.72 +0.0001 35 104.72 + 0.1 = 0.92A, therefore the locked rotor current threshold is... =5 + 0.92 = 5.92A.

[0052] In some embodiments, the method for determining the stall current of the window motor further includes: The operating current of the window motor at a reference temperature is obtained, and the operating current is filtered to obtain the filtered current; The winding resistance of the window motor at the reference temperature is determined based on the voltage across the two ends of the window motor at the reference temperature and the filtered current.

[0053] Understandably, dividing the voltage across the window motor at the reference temperature by the filtered current yields the total resistance of the window motor. The total resistance includes magnetic reluctance and winding resistance. Subtracting the magnetic reluctance from the total resistance determines the winding resistance of the window motor at the reference temperature.

[0054] In some embodiments, filtering the operating current includes: The operating current is filtered using a moving average filtering algorithm; The formula for the moving average filtering algorithm is as follows:

[0055] in, This is the filtered current. N The size of the sliding window. for t - The operating current of the car window motor is collected at all times.

[0056] Understandably, the size of the sliding window can be set. N = 10, and perform moving average filtering on the collected operating current.

[0057] In some embodiments, the specific scheme of the method for determining the stall current of the vehicle window motor provided by the present invention is as follows: Step 1: Data Collection Real-time acquisition of the operating current of the car window motor Ambient temperature T and the speed of the motor n The collected operating current The filtering process is performed using a moving average filtering algorithm, with the following formula:

[0058] in, This is the filtered current value. N The size of the sliding window. for t - The raw current value collected at all times, t This is the initial time.

[0059] Step 2: Modeling the effect of ambient temperature on winding resistance Establish motor winding resistance R T With ambient temperature T The relational model, using a multinomial fitting approach, is expressed as follows:

[0060] in, Reference temperature The winding resistance below, , , The coefficients are polynomial coefficients, which can be obtained by fitting experimental data.

[0061] Step 3: Calculate the current after temperature compensation Based on the equivalent circuit model of the motor, combined with the collected motor speed... n and the calculated Calculate the current after temperature compensation. Electromagnetic torque of the motor It is related to current and magnetic flux; neglecting magnetic circuit saturation,

[0062] in, The torque constant is Φ For magnetic flux, For current; The equation of motion for the electric motor is:

[0063] in, Load torque, J For rotational inertia, B The damping coefficient; Integrating the above formulas and combining them with the collected motor speed... n and the calculated We can obtain:

[0064] in, V The voltage across the motor. E = Φn It is the back electromotive force. is the electromotive force constant.

[0065] Step 4: Dynamic adjustment of the stall current judgment threshold According to different ambient temperatures T and motor speed n Dynamically adjust the stall current threshold. Establish a threshold adjustment function. f ( T,n The expression is:

[0066] in, Based on the basic stall current threshold, f ( T,n (This is about ambient temperature) T and rotational speed n The function, obtained through experiments and data analysis, is as follows:

[0067] in, , , , The coefficients can be obtained by fitting experimental data; Step 5: Identifying and Handling Stalled Wheels Temperature-compensated current Threshold for judging the dynamically adjusted stall current Comparison: like If the window motor is stalled, the window motor drive output will be cut off, and a stall status signal will be issued. like If so, it can be determined that the window motor is working normally.

[0068] The beneficial technical effects of this invention include: High accuracy: This invention introduces temperature factors to compensate for the operating current of the window motor, and dynamically adjusts the stall current judgment threshold according to temperature and motor operating status, effectively solving the problem of difficulty in accurately distinguishing stall current under different ambient temperatures, and greatly improving the accuracy of stall judgment.

[0069] High reliability: Through complex calculations and precise model building, various factors during motor operation are fully considered, such as the change of resistance with temperature and the motor speed, making the judgment results more reliable and effectively avoiding misjudgment and omission, thus ensuring the safe and stable operation of the automotive electric door and window system.

[0070] Good adaptability: This method and system can adapt to different ambient temperatures and motor operating conditions, and have strong versatility and adaptability. It can be widely used in various types of automotive window motors.

[0071] In some embodiments, the present invention also provides a method for determining the stall current of a vehicle window motor, including: Data Acquisition and Preprocessing: A high-precision current sensor is used to collect the operating current of the window motor. A thermistor temperature sensor is used to collect ambient temperature. T The motor speed is collected by a Hall sensor. n Set the size of the sliding window. N = 10, and perform moving average filtering on the collected operating current.

[0072] Modeling the effect of temperature on resistance: In a laboratory environment, the winding resistance of this model of motor was measured at different temperatures, resulting in a series of temperature-resistance data points. (i = 1, 2, ..., k). Using the least squares method to perform a quadratic polynomial fitting on these data points, we obtain: coefficients in a 1 and a 2. normal temperature = 25°C, =5Ω, obtained by fitting a 1 = 0.01, a 2 = 0.0001.

[0073] Calculate the current after temperature compensation: The voltage across the motor is known. V = 24V, electromotive force constant = 0.1, torque constant = 0.2, moment of inertia J =0.01 Damping coefficient B =0.005. Ambient temperature was collected. T = 35℃, rotation speed n = 1000r / min, first calculate =5+0.01×(35-25)+0.0001×(35-25) 2 =5.11Ω, back electromotive force E= Φn , n =1000r / min = (1000×2π) / 60≈104.72rad / s (magnetic flux) Φ = 1), E= ⋅Φ⋅n =0.1×1×104.72≈10.47V, then the temperature-compensated current = ≈2.65A.

[0074] Dynamic adjustment of the stall current judgment threshold: Basic stall current threshold = 5A, the threshold adjustment function was obtained through experiments and data analysis. f(T,n) =0.01 T +0.001 n +0.0001 Tn +0.1. (This likely refers to a specific amount of money or currency.) T =35℃, n Substituting =104.72 rad / s, we get... f(35, 1000) = 0.01 35+0.001 104.72 +0.0001 35 104.72 + 0.1 = 0.92A, therefore the locked rotor current threshold is... =5 + 0.92 =5.92A.

[0075] Blockage identification and handling: because =2.65A< =5.92A, indicating that the window motor is operating normally.

[0076] The above specific implementation process verifies the effectiveness and practicality of the method and system of the present invention.

[0077] This invention eliminates the interference of temperature on the motor's operating current based on temperature-compensated resistance, thus obtaining an "effective current" that reflects the true load.

[0078] Breaking through the limitations of the traditional "fixed threshold", it combines dynamic parameters such as temperature and speed to construct a real-time updated stall judgment threshold, adapting to complex working conditions.

[0079] In summary, this invention can improve the reliability, safety, and service life of the vehicle window system. By accurately identifying the stall state, it can promptly trigger protection mechanisms (such as power cut-off, reverse fine-tuning, etc.) when the motor stalls, preventing the motor from overheating and burning out due to prolonged stalling and extending the motor's service life. At the same time, it reduces window lifting interruptions caused by misjudgments, improves the user experience (such as the stability when commercial vehicle drivers operate the windows), and reduces maintenance costs caused by motor failures.

[0080] like Figure 2 As shown, the present invention also provides a device 200 for determining the stall current of a car window motor, comprising: The data acquisition module 201 is used to collect the current ambient temperature and motor speed of the window motor; The winding resistance calculation module 202 is used to determine the winding resistance of the window motor at the current ambient temperature based on the current ambient temperature and the winding resistance of the window motor at the reference temperature. Temperature compensation module 203 is used to determine the temperature-compensated current of the window motor based on the motor speed and the winding resistance of the window motor at the current ambient temperature. The stall detection module 204 is used to determine whether the window motor is stalled based on the temperature-compensated current and a preset stall current detection threshold.

[0081] In some embodiments, the system for determining the stall current of a vehicle window motor provided by the present invention includes: Data acquisition module 301: Real-time acquisition of the operating current of the car window motor Ambient temperature T and motor speed n The collected data is transmitted to the data processing module.

[0082] Data processing module 302: The collected operating current is filtered to obtain the filtered current value; Calculate the motor winding resistance R(T) based on the temperature-resistance relationship model; Calculate the current after temperature compensation ; The threshold is determined by dynamically adjusting the stall current according to the threshold adjustment function. .

[0083] Module 303 for detecting stall: Temperature-compensated current Threshold for judging the dynamically adjusted stall current The system compares the results to determine whether the window motor is stalled and transmits the result to the protection execution module.

[0084] Protection Execution Module 304: When the stall detection module determines that the window motor is stalled, it immediately cuts off the motor drive output. If the motor is running normally, no operation is performed.

[0085] The device for determining the stall current of the window motor provided in the above embodiments can realize the technical solution described in the embodiments of the method for determining the stall current of the window motor. The specific implementation principle of each module or unit can be found in the corresponding content in the embodiments of the method for determining the stall current of the window motor, which will not be repeated here.

[0086] like Figure 4 As shown, the present invention also provides an electronic device 400. The electronic device 400 includes a processor 401, a memory 402, and a display 403. Figure 4 Only some components of the electronic device 400 are shown, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead.

[0087] In some embodiments, memory 402 may be an internal storage unit of electronic device 400, such as a hard disk or memory of electronic device 400. In other embodiments, memory 402 may also be an external storage device of electronic device 400, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc. equipped on electronic device 400.

[0088] Furthermore, the memory 402 may include both internal storage units of the electronic device 400 and external storage devices. The memory 402 is used to store application software and various types of data installed on the electronic device 400.

[0089] In some embodiments, processor 401 may be a central processing unit (CPU), microprocessor, or other data processing chip, used to run program code stored in memory 402 or process data, such as the method for determining the stall current of the car window motor in this invention.

[0090] In some embodiments, display 403 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. Display 403 is used to display information from electronic device 400 and to display a visual user interface. Components 401-403 of electronic device 400 communicate with each other via a system bus.

[0091] In some embodiments of the present invention, when the processor 401 executes the determination program for the stall current of the window motor in the memory 402, the following steps can be implemented: Collect the current ambient temperature and motor speed of the car window motor; Based on the current ambient temperature and the winding resistance of the window motor at the reference temperature, determine the winding resistance of the window motor at the current ambient temperature. Based on the motor speed and the winding resistance of the window motor at the current ambient temperature, determine the temperature-compensated current of the window motor. Based on the temperature-compensated current and the preset stall current judgment threshold, it is determined whether the window motor is stalled.

[0092] It should be understood that when the processor 401 executes the program for determining the stall current of the window motor in the memory 402, in addition to the functions mentioned above, it can also perform other functions, as described in the preceding corresponding method embodiments.

[0093] Furthermore, the embodiments of the present invention do not specifically limit the type of electronic device 400 mentioned. Electronic device 400 can be a mobile phone, tablet computer, personal digital assistant (PDA), wearable device, laptop computer, or other portable electronic device. Exemplary embodiments of portable electronic devices include, but are not limited to, portable electronic devices running iOS, Android, Microsoft, or other operating systems. The aforementioned portable electronic device can also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present invention, electronic device 400 may not be a portable electronic device, but rather a desktop computer with a touch-sensitive surface (e.g., a touch panel).

[0094] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method for determining the stall current of a car window motor provided by the methods described above, the method comprising: Collect the current ambient temperature and motor speed of the car window motor; Based on the current ambient temperature and the winding resistance of the window motor at the reference temperature, determine the winding resistance of the window motor at the current ambient temperature. Based on the motor speed and the winding resistance of the window motor at the current ambient temperature, determine the temperature-compensated current of the window motor. Based on the temperature-compensated current and the preset stall current judgment threshold, it is determined whether the window motor is stalled.

[0095] Those skilled in the art will understand that all or part of the processes of the methods described in the above embodiments can be implemented by a computer program instructing related hardware, and the program can be stored in a computer-readable storage medium. The computer-readable storage medium may be a disk, optical disk, read-only memory, or random access memory, etc.

[0096] The above provides a detailed description of the method and device for determining the stall current of a car window motor provided by the present invention. Specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation and application scope based on the idea of ​​the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for determining the stall current of a car window motor, characterized in that, include: Collect the current ambient temperature and motor speed of the car window motor; Based on the current ambient temperature and the winding resistance of the window motor at the reference temperature, determine the winding resistance of the window motor at the current ambient temperature. Based on the motor speed and the winding resistance of the window motor at the current ambient temperature, determine the temperature-compensated current of the window motor. Based on the temperature-compensated current and the preset stall current judgment threshold, it is determined whether the window motor is stalled.

2. The method for determining the stall current of a car window motor according to claim 1, characterized in that, Based on the current ambient temperature and the winding resistance of the window motor at a reference temperature, the winding resistance of the window motor at the current ambient temperature is determined, including: Based on the winding resistance of the window motor at a reference temperature, a polynomial model is constructed to characterize the relationship between the winding resistance of the window motor and the ambient temperature. The winding resistance of the window motor under the current ambient temperature is obtained by solving the polynomial model.

3. The method for determining the stall current of a car window motor according to claim 1, characterized in that, Based on the motor speed and the winding resistance of the window motor at the current ambient temperature, the temperature-compensated current of the window motor is determined, including: The reaction electromotive force is determined based on the magnetic flux, the electromotive force constant, and the motor speed. Based on the reaction potential, the winding resistance of the window motor at the current ambient temperature, and the voltage across the window motor, the temperature-compensated current is determined.

4. The method for determining the stall current of a car window motor according to claim 3, characterized in that, The formula for calculating the reaction potential is: E = Φn in, E It is the back electromotive force. The electromotive force constant is . Φ For magnetic flux, n This represents the motor speed.

5. The method for determining the stall current of a car window motor according to claim 4, characterized in that, The formula for calculating the current after temperature compensation is: in, This is the temperature-compensated current. V This refers to the voltage across the car window motor. This represents the winding resistance of the car window motor at the current ambient temperature.

6. The method for determining the stall current of a car window motor according to claim 1, characterized in that, Also includes: Based on the motor speed and the current ambient temperature, a threshold adjustment function is constructed; The threshold adjustment function is added to the preset basic stall current threshold to obtain the stall current judgment threshold.

7. The method for determining the stall current of a car window motor according to claim 6, characterized in that, The formula for calculating the threshold adjustment function is: in, Adjust the threshold function value. T This represents the current ambient temperature. n This represents the motor speed. , , and These are preset coefficients.

8. The method for determining the stall current of a car window motor according to any one of claims 1-7, characterized in that, Also includes: The operating current of the window motor at a reference temperature is obtained, and the operating current is filtered to obtain the filtered current; The winding resistance of the window motor at the reference temperature is determined based on the voltage across the two ends of the window motor at the reference temperature and the filtered current.

9. The method for determining the stall current of a car window motor according to claim 8, characterized in that, Filtering the operating current includes: The operating current is filtered using a moving average filtering algorithm; The formula for the moving average filtering algorithm is as follows: in, This is the filtered current. N The size of the sliding window. for t - The operating current of the car window motor is collected at all times.

10. A device for determining the stall current of a car window motor, characterized in that, include: The data acquisition module is used to collect the current ambient temperature and motor speed of the window motor; The winding resistance calculation module is used to determine the winding resistance of the window motor at the current ambient temperature based on the current ambient temperature and the winding resistance of the window motor at the reference temperature. The temperature compensation module is used to determine the temperature-compensated current of the window motor based on the motor speed and the winding resistance of the window motor at the current ambient temperature. The stall detection module is used to determine whether the window motor is stalled based on the temperature-compensated current and a preset stall current detection threshold.

Citation Information

Patent Citations

  • Polypeptide-human zinc finger protien 10.67 and polynucleotide for coding it

    CN1359916A