Vehicle window control system and method for monitoring vehicle window control system

Through the collaborative monitoring and reset mechanism of the microcontroller unit and the power management chip, the problem of failure of the anti-clip function in the window is solved, the reliability of the anti-clip function is improved, and the risk of clamping accidents is reduced.

CN120367489APending Publication Date: 2025-07-25ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510634260.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-16
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

The anti-clip function of the car window may fail, resulting in the risk of pinch accidents.

Method used

Through the collaborative work of the microcontroller unit and the power management chip, the current and voltage abnormalities of the window motor are monitored, the system reset is timely, data errors are corrected, data transmission methods are switched, and self-test is carried out to prevent the anti-pinch function from failing.

Benefits of technology

It improves the reliability of the anti-clip function of the car window, prevents the anti-clip function from failing, and reduces the risk of clamping accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120367489A_ABST
    Figure CN120367489A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicles, and discloses a control system of a vehicle window, a method for monitoring the control system of the vehicle window, computer equipment and a storage medium, the control system of the vehicle window comprises a micro-control unit for controlling a vehicle window motor of the vehicle window, a driving chip for controlling the vehicle window motor of the vehicle window, and a power management chip, the micro-control unit is connected with the driving chip, the micro-control unit is connected with the power management chip, and the driving chip is connected with the power management chip; the micro-control unit is used for determining whether the current of the car window motor is abnormal or not and controlling the control system to reset when the current of the car window motor is determined to be abnormal; and the power management chip is used for controlling the control system to reset when determining that at least one of the following target abnormalities exists: a first voltage abnormality provided for the micro-control unit, a second voltage abnormality provided for the driving chip, and an abnormality of the micro-control unit related to a program of an anti-pinch function of the vehicle window.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of vehicles, and in particular, to a control system for a vehicle window, a method for monitoring the control system of the vehicle window, a computer device, and a storage medium. Background Art

[0002] The anti-pinch function of the vehicle window may fail occasionally. Once the anti-pinch function of the vehicle window fails, it may cause a pinching accident. How to prevent the anti-pinch function of the vehicle window from failing has become a technical problem to be solved. Summary of the Invention

[0003] In view of this, embodiments of the present application provide a control system for a vehicle window, a method for monitoring the control system of the vehicle window, a computer device, and a storage medium.

[0004] In a first aspect, an embodiment of the present application provides a control system for a vehicle window. The control system for the vehicle window includes: a micro control unit for controlling a window motor of the vehicle window, a drive chip for controlling the window motor of the vehicle window, and a power management chip. The micro control unit is connected to the drive chip, the micro control unit is connected to the power management chip, and the drive chip is connected to the power management chip;

[0005] The micro control unit is configured to determine whether the current of the window motor is abnormal, and when it is determined that the current of the window motor is abnormal, control the control system to be reset; and / or

[0006] The power management chip is configured to determine whether at least one of the following target abnormalities exists: a first voltage abnormality provided to the micro control unit, a second voltage abnormality provided to the drive chip, and an abnormality related to a program of the anti-pinch function of the micro control unit and the vehicle window, where the first voltage is the operating voltage of the micro control unit, and the second voltage is the operating voltage of the drive chip; when it is determined that at least one target abnormality exists, control the control system to be reset.

[0007] In a possible implementation manner, the drive chip is configured to determine whether the drive circuit of the window motor is abnormal; when it is determined that the drive circuit is abnormal, instruct the micro control unit to control the control system of the vehicle window to be reset.

[0008] In a possible implementation, the microcontroller unit is further configured to correct data related to the anti-pinch function when it is determined that a single-bit error occurs in the data related to the anti-pinch function; reset the module corresponding to the data related to the anti-pinch function of the microcontroller unit when it is determined that a double-bit error occurs in the data related to the anti-pinch function; determine whether a fault related to the failure of the anti-pinch function of the window occurs in the module of the microcontroller unit, and when it is determined that a fault related to the failure of the anti-pinch function of the window occurs in the module of the microcontroller unit, reset the module of the microcontroller unit.

[0009] In a possible implementation, the microcontroller unit is further configured to perform a cyclic redundancy check on the data transmitted between the microcontroller unit and the driver chip when the microcontroller unit and the driver chip transmit data through a bus for data transmission; when it is determined that the cyclic redundancy check is abnormal, switch the data transmission mode between the microcontroller unit and the driver chip from the data transmission mode based on the bus for data transmission to the data transmission mode based on input / output pins.

[0010] In a possible implementation, the microcontroller unit is further configured to perform a self-check on the analog-to-digital conversion module of the microcontroller unit during the power-on period of the microcontroller unit to obtain a first self-check result; when the first self-check result indicates that a fault occurs in the analog-to-digital conversion module, control the control system of the window to be reset.

[0011] In a possible implementation, the power management chip is further configured to perform a self-check on the module of the power management chip during the power-on period of the power management chip to obtain a second self-check result; when the second self-check result indicates that a fault occurs in the module of the power management chip, control the control system of the window to be reset.

[0012] In a second aspect, an embodiment of the present application provides a method for monitoring a control system of a window. The control system of the window includes: a microcontroller unit for controlling a window motor of the window, a driver chip for controlling the window motor of the window, and a power management chip. The microcontroller unit is connected to the driver chip, the microcontroller unit is connected to the power management chip, and the driver chip is connected to the power management chip. The method for monitoring the control system of the window includes:

[0013] Determine whether the current of the window motor is abnormal, and when it is determined that the current of the window motor is abnormal, control the control system of the window to be reset; and / or

[0014] When it is determined that at least one of the following target anomalies exists, the control system for controlling the window is reset: the first voltage anomaly provided to the micro-control unit, the second voltage anomaly provided to the drive chip, and the anomaly related to the program of the anti-pinch function of the micro-control unit, where the first voltage is the operating voltage of the micro-control unit, and the second voltage is the operating voltage of the drive chip.

[0015] In a possible implementation, it further includes: determining whether the drive circuit of the window motor is abnormal; when it is determined that the drive circuit is abnormal, instructing the micro-control unit to control the control system of the window to be reset.

[0016] In a possible implementation, it further includes: when it is determined that a single-bit error occurs in the data related to the anti-pinch function, correcting the data related to the anti-pinch function; when it is determined by the micro-control unit that a double-bit error occurs in the data related to the anti-pinch function of the window, resetting the module corresponding to the data related to the anti-pinch function of the micro-control unit; determining whether a fault related to the failure of the anti-pinch function of the window occurs in the module of the micro-control unit, and when it is determined that a fault related to the failure of the anti-pinch function of the window occurs in the module of the micro-control unit, resetting the module of the micro-control unit.

[0017] In a possible implementation, it further includes: performing cyclic redundancy check on the data transmitted between the micro-control unit and the drive chip when the micro-control unit and the drive chip transmit data through the bus for transmitting data; when it is determined that the cyclic redundancy check is abnormal, switching the data transmission method between the micro-control unit and the drive chip from the data transmission method based on the bus for transmitting data to the data transmission method based on the input / output pins.

[0018] In a possible implementation, it further includes: using the micro-control unit to perform self-check on the analog-to-digital conversion module of the micro-control unit during the power-on period of the micro-control unit to obtain a first self-check result; when the first self-check result indicates that the analog-to-digital conversion module fails, controlling the control system of the window to be reset.

[0019] In a possible implementation, it further includes: using the power management chip to perform self-check on the module of the power management chip during the power-on period of the power management chip to obtain a second self-check result; when the second self-check result indicates that the module of the power management chip fails, controlling the control system of the window to be reset.

[0020] In a third aspect, an embodiment of the present application provides a computer device, including: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to execute the method according to the second aspect or any corresponding implementation manner thereof.

[0021] Fourthly, an embodiment of the present application provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to cause a computer to execute the method according to the second aspect or any corresponding implementation manner thereof.

[0022] Fifthly, the present invention provides a computer program product, including computer instructions, and the computer instructions are used to cause a computer to execute the method according to the second aspect or any corresponding implementation manner thereof.

[0023] The window control system provided by the embodiment of the present application takes into account the correlation between the anomalies that may cause the anti-pinch function of the window to fail and the failure of the anti-pinch function of the window. Among them, anomalies such as the first voltage anomaly provided to the micro control unit, the second voltage anomaly provided to the drive chip, and the anomaly related to the anti-pinch function program of the micro control unit are all anomalies that may cause the anti-pinch function of the window to fail. Determine whether there are anomalies that may cause the anti-pinch function of the window to fail. When determining the corresponding anomalies that may cause the anti-pinch function of the window to fail, control the window control system to reset. By controlling the window control system to reset, eliminate the anomalies that may cause the anti-pinch function of the window to fail, prevent the situation that the anti-pinch function of the window fails due to the anomalies that may cause the anti-pinch function of the window to fail, and improve the reliability of the anti-pinch function of the window. Description of the Drawings

[0024] In order to more clearly illustrate the specific implementation manners of the present disclosure or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific implementation manners or the prior art. Obviously, the drawings in the following description are some implementation manners of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained according to these drawings without creative efforts.

[0025] Figure 1 is a schematic diagram of an example structure of the window control system provided by the embodiment of the present application;

[0026] Figure 2 is a schematic diagram of an example of preventing the anti-pinch function of the window from failing through the window control system provided by the embodiment of the present application;

[0027] Figure 3 is a schematic flowchart of the method for monitoring the window control system provided by the embodiment of the present application;

[0028] Figure 4 is a schematic diagram of the structure of the computer device provided by the embodiment of the present application. Detailed Implementation Manner

[0029] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are some, but not all, of the embodiments of the present disclosure. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the scope of protection of the present disclosure.

[0030] Reference Figure 1 , which shows a schematic diagram of an example of the control system of the vehicle window provided by the embodiments of the present application.

[0031] The control system of the vehicle window provided by the embodiments of the present application is installed in a vehicle with an anti-pinch function for the vehicle window.

[0032] Figure 1 It shows a microcontroller unit (MCU) for controlling the window motor of the vehicle window, a driver IC for controlling the window motor of the vehicle window, and a power management IC (PMIC).

[0033] As an example, the driver IC can be an H-bridge driver IC.

[0034] It should be noted that the microcontroller unit, the driver IC, and the power management IC can be components in the same area controller. The same area controller is the area controller in the vehicle where the control system of the vehicle window provided by the embodiments of the present application is located.

[0035] When the anti-pinch function of the vehicle window is turned on, the microcontroller unit can execute the program for the anti-pinch function of the vehicle window.

[0036] Figure 1 It also shows the drive circuit of the window motor.

[0037] The drive circuit includes: a plurality of elements that can be controlled to conduct or turn off, such as element 101 that can be controlled to conduct or turn off, element 102 that can be controlled to conduct or turn off, element 103 that can be controlled to conduct or turn off, element 104 that can be controlled to conduct or turn off, etc.

[0038] Among them, the element that can be controlled to conduct or turn off can be a metal-oxide semiconductor field effect transistor (MOSFET).

[0039] The microcontroller unit can control the window motor of the vehicle window to rotate forward or backward. When the window motor of the vehicle window rotates forward or backward, it can drive the vehicle window to rise or fall.

[0040] When the microcontroller controls the window motor, the microcontroller sends a control instruction to the drive chip, and the control instruction indicates the components that need to be turned on and can be controlled to be turned on or off in the drive circuit, and the components that need to be turned off and can be controlled to be turned on or off in the drive circuit.

[0041] According to the control instruction, the drive chip turns on the components that need to be turned on and can be controlled to be turned on or off and turns off the components that need to be turned off and can be controlled to be turned on or off.

[0042] As an example, when controlling the turn-on of the controllable component 101 and the controllable component 104, the current of the window motor flows from the positive pole of the window motor to the negative pole of the window motor, and the window motor rotates forward. When controlling the turn-on of the controllable component 102 and the controllable component 103, the current of the window motor flows from the negative pole of the window motor to the positive pole of the window motor, and the window motor rotates in reverse.

[0043] The power management chip is used to supply power to each of the microcontroller and the drive chip.

[0044] The first voltage provided by the power management chip to the microcontroller is denoted as V1. The second voltage provided by the power management chip to the drive chip is denoted as V2.

[0045] Among them, V1 serves as the operating voltage of the microcontroller. V2 serves as the operating voltage of the drive chip.

[0046] The microcontroller and the drive chip can transmit data through a Serial Peripheral Interface (SPI) bus. At the same time, the microcontroller and the drive chip can transmit data through input / output (IO) pins, namely pin pins, for data transmission between the microcontroller and the drive chip. Among them, the IO pins for data transmission between the microcontroller and the drive chip are denoted as IOx_1, and the number of IOx_1 is multiple. The IOx_1 of the microcontroller for data transmission between the microcontroller and the drive chip is connected to the IOx_1 of the drive chip for data transmission between the microcontroller and the drive chip.

[0047] The microcontroller and the power management chip can transmit data through the SPI bus.

[0048] The driving chip and the driving circuit can transmit data through the IO pins for data transmission between the driving chip and the driving circuit. The IO pins for data transmission between the driving chip and the driving circuit are denoted as IOx_2, and the number of IOx_2 is multiple. The IOx_2 of the driving chip for data transmission between the driving chip and the driving circuit is connected to the IOx_2 of the driving circuit for data transmission between the driving chip and the driving circuit.

[0049] The analog-to-digital converter (ADC) module of the microcontroller unit receives the amplified sampled current and converts the amplified sampled current into a value representing the current of the window motor. Among them, the sampled current is obtained by current sampling through a circuit for sampling (not shown).

[0050] Figure 1 The sampling resistor is shown. The circuit for sampling samples the voltage across the sampling resistor to obtain the sampled voltage. The sampled voltage is divided by the resistor to obtain the sampled current. The current sampled by the window motor is amplified by an amplifier to obtain the amplified sampled current of the window motor.

[0051] Figure 1 The pin of the power management chip for triggering reset, i.e., the Reset pin, and the pin of the microcontroller unit for triggering reset are shown. The pin of the power management chip for triggering reset is connected to the pin of the microcontroller unit for triggering reset.

[0052] The following describes the operations that components such as the microcontroller unit, the power management chip, and the driving chip can perform.

[0053] It should be noted that the corresponding operations that the microcontroller unit, the power management chip, the driving chip and other components are respectively used to perform can be performed during the activation of the anti-pinch function of the window. The corresponding operation can be an operation other than the operation used during power-on.

[0054] In a possible implementation, the microcontroller unit is used to determine whether the current of the window motor of the window is abnormal, and when it is determined that the current of the window motor of the window is abnormal, control the control system of the window to perform a reset.

[0055] It should be noted that the current of the window motor of the window is the current flowing through the window motor. The current of the window motor of the window can specifically refer to: the working current of the window motor of the window.

[0056] The microcontroller unit can determine whether the current of the window motor of the window is abnormal by determining whether the current of the window motor of the window meets the window motor current abnormal condition. If the current of the window motor of the window meets the window motor current abnormal condition, it can be determined that the current of the window motor of the window is abnormal. As an example, the window motor current abnormal condition is that the current of the window motor of the window is not within the window motor current range.

[0057] In an embodiment of the present application, resetting the control system of the window may include: resetting the microcontroller unit, resetting the power management chip, and resetting the drive chip.

[0058] In a possible implementation manner, the microcontroller unit controlling the control system of the window to be reset includes: sending a signal for triggering reset to the pins for triggering reset of each of the microcontroller unit, the power management chip, and the drive chip to trigger the reset of each of the microcontroller unit, the power management chip, and the drive chip.

[0059] In another possible implementation manner, any two of the pins for triggering reset of the power management chip, the pins for triggering reset of the microcontroller unit, and the pins for triggering reset of the drive chip are connected. The microcontroller unit controlling the control system of the window to be reset includes: pulling down the level of the pin for triggering reset of the microcontroller unit. Pulling down the level of the pin for triggering reset of the microcontroller unit will cause the levels of the pins for triggering reset of the power management chip, the pins for triggering reset of the microcontroller unit, and the pins for triggering reset of the drive chip to be all low levels, triggering the reset of each of the power management chip, the microcontroller unit, and the drive chip respectively.

[0060] In a possible implementation manner, the power management chip is configured to determine whether at least one of the following target abnormalities exists: the first voltage supplied to the microcontroller unit is abnormal, the second voltage supplied to the drive chip is abnormal, and the abnormality related to the program of the anti-pinch function of the microcontroller unit; when it is determined that at least one target abnormality exists, control the control system of the window to be reset.

[0061] Among them, the first voltage supplied to the microcontroller unit being abnormal, the second voltage supplied to the drive chip being abnormal, and the abnormality related to the program of the anti-pinch function of the microcontroller unit are all used as target abnormalities.

[0062] The power management chip can determine whether the first voltage supplied to the microcontroller unit is abnormal by determining whether the first voltage abnormality satisfies the first voltage abnormality condition. If the first voltage supplied to the microcontroller unit satisfies the first voltage abnormality condition, it can be determined that the first voltage supplied to the microcontroller unit is abnormal. As an example, the first voltage abnormality condition is that the first voltage supplied to the microcontroller unit is not within the first voltage range.

[0063] The power management chip can determine whether the second voltage supplied to the driver chip is abnormal by determining whether the second voltage abnormality satisfies the second voltage abnormality condition. If the second voltage supplied to the driver chip satisfies the second voltage abnormality condition, it can be determined that the second voltage supplied to the driver chip is abnormal. As an example, the second voltage abnormality condition is that the second voltage supplied to the driver chip is not within the second voltage range.

[0064] The power management chip can determine whether there is an abnormality related to the program of the anti-pinch function of the window of the microcontroller unit through the watchdog (Watch Dog Timer) function of the power management chip.

[0065] As an example, if the watchdog function of the power management chip does not return the corresponding value to the watchdog function within the corresponding time window when the program for executing the anti-pinch function of the window is executed, it can be determined that there is an abnormality related to the program of the anti-pinch function of the window of the microcontroller unit. As another example, the power management chip can generate a value for determining whether there is an abnormality related to the program of the anti-pinch function, such as generating a 16-bit pseudo-random number. The power management chip sends this value to the microcontroller unit, triggering the microcontroller unit to perform a predefined calculation on this value to obtain a calculation result. If the power management chip determines that it does not receive the calculation result within the corresponding window time or determines that the calculation result received within the corresponding window time is incorrect, the power management chip can determine that there is an abnormality related to the program of the anti-pinch function of the window of the microcontroller unit.

[0066] In a possible implementation, the power management chip controls the window control system to reset, including: sending a signal for triggering reset to the pins for triggering reset of each of the microcontroller unit, the power management chip, and the driver chip, so as to trigger the reset of each of the microcontroller unit, the power management chip, and the driver chip.

[0067] In another possible implementation, any two of the pins for triggering reset of the power management chip, the pins for triggering reset of the microcontroller unit, and the pins for triggering reset of the driver chip are connected. The power management chip controlling the reset of the window control system includes: pulling down the level of the pin for triggering reset of the power management chip. Pulling down the level of the pin for triggering reset of the power management chip will cause the levels of the pin for triggering reset of the power management chip, the pin for triggering reset of the microcontroller unit, and the pin for triggering reset of the driver chip to all be low levels, triggering the reset of each of the power management chip, the microcontroller unit, and the driver chip.

[0068] In a possible implementation, the driver chip is used to determine whether the drive circuit of the window motor is abnormal; when it is determined that the drive circuit is abnormal, it instructs the microcontroller unit to control the reset of the window control system.

[0069] The driver chip instructing the microcontroller unit to control the reset of the window control system can be: the driver chip can send an instruction to the microcontroller unit to instruct the microcontroller unit to control the reset of the window control system.

[0070] To determine whether the drive circuit of the window motor is abnormal, the driver chip can determine whether the drive circuit of the window motor is abnormal by determining whether the current related to the drive circuit of the window motor of the window meets the drive circuit current abnormality condition. The driver chip samples the current at the corresponding position in the drive circuit of the window motor to obtain the current related to the drive circuit of the window motor of the window. The driver chip can determine whether the current related to the drive circuit of the window motor of the window meets the drive circuit current abnormality condition. If the drive circuit current abnormality condition is met, it can be determined that the drive circuit of the window motor is abnormal. As an example, the drive circuit current abnormality condition is that the current related to the drive circuit of the window motor of the window is not within the drive circuit current range.

[0071] To determine whether the drive circuit of the window motor is abnormal, the driver chip can also determine whether the drive circuit of the window motor is abnormal by determining whether the voltage related to the drive circuit of the window motor of the window meets the drive circuit voltage abnormality condition. The driver chip samples the voltage at the corresponding position in the drive circuit of the window motor to obtain the voltage related to the drive circuit of the window motor of the window. The driver chip can determine whether the voltage related to the drive circuit of the window motor of the window meets the drive circuit voltage abnormality condition. If the voltage related to the drive circuit of the window motor of the window meets the drive circuit voltage abnormality condition, it can be determined that the drive circuit of the window motor is abnormal. As an example, the drive circuit voltage abnormality condition is that the voltage related to the drive circuit of the window motor of the window is not within the drive circuit voltage range.

[0072] In a possible implementation, the microcontroller unit is further configured to correct the data related to the anti-pinch function of the window when it is determined that a single-bit error occurs in the data related to the anti-pinch function of the window; when it is determined that a double-bit error occurs in the data related to the anti-pinch function of the window, reset the module corresponding to the data related to the anti-pinch function of the window of the microcontroller unit; determine whether a fault related to the failure of the anti-pinch function of the window occurs in the module of the microcontroller unit, and when it is determined that a fault related to the failure of the anti-pinch function of the window occurs in the module of the microcontroller unit, reset the module of the microcontroller unit.

[0073] It should be noted that the occurrence of a single-bit error or a double-bit error in the data related to the anti-pinch function is determined by the error correcting code (ECC) function of the microcontroller unit.

[0074] When a single-bit error occurs in the data related to the anti-pinch function of the window, the data related to the anti-pinch function of the window includes a single erroneous bit. When a single-bit error occurs in the data related to the anti-pinch function of the window, the data related to the anti-pinch function of the window is incorrect data.

[0075] When the microcontroller unit determines that a single-bit error occurs in the data related to the anti-pinch function of the window, correcting the data related to the anti-pinch function of the window can obtain the corrected data corresponding to the data related to the anti-pinch function of the window, and the corrected data corresponding to the data related to the anti-pinch function of the window is correct data. The corrected data corresponding to the data related to the anti-pinch function of the window can be one of the following: data for implementing the anti-pinch function of the window, correct data utilized by the anti-pinch function of the window when the anti-pinch function of the window is turned on.

[0076] In the embodiment of the present application, when the microcontroller unit determines that a single-bit error occurs in the data related to the anti-pinch function of the window, the microcontroller unit corrects the data related to the anti-pinch function of the window, which can cause the data at the storage location of the data related to the anti-pinch function of the window to be restored from the data related to the anti-pinch function of the window to the correct data, that is, the corrected data corresponding to the data related to the anti-pinch function of the window. It is possible to prevent the situation where the anti-pinch function of the window fails due to the data related to the anti-pinch function of the window when a single-bit error occurs in the data related to the anti-pinch function of the window.

[0077] The module corresponding to the data related to the anti-pinch function of the microcontroller unit may be: a module of the microcontroller unit that performs at least one of the following operations on data of a type related to the anti-pinch function of the window: processing, receiving, transmitting, storing.

[0078] In the embodiment of the present application, when the microcontroller unit determines that a double-bit error occurs in the data related to the anti-pinch function of the window, the module corresponding to the data related to the anti-pinch function of the microcontroller unit is reset, which can clear the data at the storage location of the data related to the anti-pinch function of the window, and avoid the situation that the anti-pinch function of the window fails due to the data related to the anti-pinch function of the window when a double-bit error occurs.

[0079] It should be noted that the reset of the module of the microcontroller unit can be called the local reset of the microcontroller unit.

[0080] The fault related to the failure of the anti-pinch function of the window is a fault that may cause the failure of the anti-pinch function of the window. The microcontroller unit can determine whether a fault related to the failure of the anti-pinch function of the window occurs in the module of the microcontroller unit.

[0081] When the microcontroller unit determines that a fault related to the failure of the anti-pinch function of the window occurs in the module of the microcontroller unit, the microcontroller unit resets the module of the microcontroller unit. As an example, if the microcontroller unit determines that a setting fault related to the failure of the anti-pinch function of the window occurs in the register module of the microcontroller unit, the microcontroller unit resets the register module of the microcontroller unit. As another example, if the microcontroller unit determines that a fault related to the failure of the anti-pinch function of the window occurs in the Controller Area Network (CAN) module of the microcontroller unit, the microcontroller unit resets the CAN module of the microcontroller unit.

[0082] In the embodiment of the present application, when it is determined that a fault related to the failure of the anti-pinch function of the window occurs in the module of the microcontroller unit, resetting the module of the microcontroller unit can make the module of the microcontroller unit with a fault related to the failure of the anti-pinch function of the window in a fault-free state. Thus, the fault related to the failure of the anti-pinch function of the window that occurs in the module of the microcontroller unit is eliminated, and the situation that the anti-pinch function of the window fails due to the fault related to the failure of the anti-pinch function of the window that occurs in the module of the microcontroller unit is avoided.

[0083] In a possible implementation, the microcontroller is further configured to perform a cyclic redundancy check on the data transmitted between the microcontroller and the driving chip when the data is transmitted between the microcontroller and the driving chip through a bus for data transmission; when the cyclic redundancy check (CRC for short) on the data transmitted between the microcontroller and the driving chip is abnormal, switch the data transmission mode between the microcontroller and the driving chip from the data transmission mode based on the bus for data transmission to the data transmission mode based on input / output pins. The data transmission mode based on input / output pins is: data is transmitted through the IO pins of the microcontroller for data transmission between the microcontroller and the driving chip and the IO pins of the driving chip for data transmission between the microcontroller and the driving chip.

[0084] As an example, the bus for data transmission is an SPI bus.

[0085] Among them, an abnormal CRC check can also be called a failed CRC check.

[0086] An abnormal cyclic redundancy check on the data transmitted between the microcontroller and the driving chip can reflect that the data transmission between the microcontroller and the driving chip through the bus for data transmission is abnormal.

[0087] In the embodiment of the present application, when the data transmission between the microcontroller and the driving chip through the bus for data transmission is abnormal, switching the data transmission mode between the microcontroller and the driving chip from the data transmission mode based on the bus for data transmission to the data transmission mode based on input / output pins can prevent the situation that the anti-pinch function fails due to abnormal data transmission between the microcontroller and the driving chip through the bus for data transmission.

[0088] In a possible implementation, the microcontroller is further configured to perform a self-check on the analog-to-digital conversion module of the microcontroller during the power-on period of the microcontroller to obtain a first self-check result; when the first self-check result indicates that the analog-to-digital conversion module of the microcontroller fails, control the control system of the window to reset.

[0089] It should be noted that the power-on period of the microcontroller is within the power-on period of the vehicle to which the control system of the window provided in the embodiment of the present application belongs. When the first self-check result indicates that the analog-to-digital conversion module of the microcontroller fails, control the control system of the window to reset. Thus, before starting the anti-pinch function of the window, it is possible to detect in advance what may cause the anti-pinch function of the window to fail

[0090] For the failure of the analog-to-digital conversion module of the microcontroller unit, the failure anomaly of the analog-to-digital conversion module of the microcontroller unit is eliminated in advance by resetting through the control system of the window, preventing the anti-pinch function of the window from failing due to the failure of the analog-to-digital conversion module of the microcontroller unit.

[0091] In a possible implementation, the power management chip is further configured to perform self-check on the modules of the power management chip during the power-on period of the power management chip to obtain a second self-check result; when the second self-check result indicates that a module of the power management chip fails, the power management chip controls the control system of the window to be reset.

[0092] When the second self-check result indicates that a module of the power management chip fails, control the control system of the window to be reset. Thus, before starting the anti-pinch function of the window, the failure of the module of the power management chip that may cause the anti-pinch function of the window to fail can be detected in advance, and the failure of the module of the power management chip can be eliminated by resetting through the control system of the window in advance, preventing the failure of the anti-pinch function of the window caused by the failure of the module of the power management chip.

[0093] It should be noted that the power-on period of the power management chip is within the power-on period of the vehicle to which the control system of the window provided in the embodiment of the present application belongs. The power management chip performs self-check on modules such as the logic BIST (Built-in self-test) module, analog BIST module, and voltage monitoring module during the power-on period of the power management chip.

[0094] Reference Figure 2 , which shows a schematic diagram of an example of preventing the anti-pinch function of the window from failing through the control system of the window provided in the embodiment of the present application.

[0095] In this example, if the microcontroller unit determines that the current of the window motor is abnormal, the microcontroller unit controls the control system of the window to be reset. If the microcontroller unit determines that a relevant failure occurs in the module of the microcontroller unit, that is, a failure related to the anti-pinch function of the window, the microcontroller unit resets the module of the microcontroller unit. If the microcontroller unit determines that a single-bit error occurs in the data related to the anti-pinch function of the window, correct the data related to the anti-pinch function of the window. If the microcontroller unit determines that a double-bit error occurs in the data related to the anti-pinch function, reset the module corresponding to the data related to the anti-pinch function of the microcontroller unit. If the microcontroller unit determines that the data transmission between the microcontroller unit and the drive chip through SPI is abnormal, switch the data transmission method, that is, switch the data transmission method between the microcontroller unit and the drive chip from the data transmission method based on the bus for data transmission to the data transmission method based on input / output pins.

[0096] In this example, if the driving chip determines that a fault occurs in the driving circuit, the driving chip instructs the microcontroller unit to control the control system of the window to be reset.

[0097] In this example, if the power management chip determines that the first voltage supplied to the microcontroller unit is abnormal, the power management chip controls the control system of the window to be reset. If the power management chip determines that the second voltage supplied to the driving chip is abnormal, the power management chip controls the control system of the window to be reset. If the power management chip determines an abnormality related to the program of the anti-pinch function of the microcontroller unit, the power management chip controls the control system of the window to be reset.

[0098] Reference Figure 3 , which shows a schematic flow chart of a method for monitoring a control system of a window provided by an embodiment of the present application. The control system of the window includes a microcontroller unit for controlling a window motor of the window, a driving chip for controlling the window motor of the window, and a power management chip. The microcontroller unit is connected to the driving chip, the microcontroller unit is connected to the power management chip, and the driving chip is connected to the power management chip. The method for monitoring the control system of the window provided by the embodiment of the present application may include step S301 and / or step S302.

[0099] In step S301, it is determined whether the current of the window motor of the window is abnormal, and when it is determined that the current of the window motor of the window is abnormal, the control system of the window is controlled to be reset.

[0100] The control system of the window is in a vehicle having an anti-pinch function for the window.

[0101] It should be noted that the microcontroller unit, the driving chip, and the power management chip may be components in the same area controller. The same area controller is the area controller on the vehicle where the control system of the window provided by the embodiment of the present application is located.

[0102] When the anti-pinch function of the window is turned on, the microcontroller unit may execute the program of the anti-pinch function of the window.

[0103] It should be noted that step S301 and / or step S302 may be performed during the period when the anti-pinch function of the window is turned on.

[0104] In a possible implementation manner, the microcontroller unit executes step S301.

[0105] In a possible implementation manner, controlling the control system of the window to be reset includes: sending a signal for triggering reset to a pin for triggering reset of each of the microcontroller unit, the power management chip, and the driving chip to trigger reset of each of the microcontroller unit, the power management chip, and the driving chip.

[0106] In another possible implementation, any two of the pins for triggering reset of the power management chip, the pins for triggering reset of the microcontroller unit, and the pins for triggering reset of the driver chip are connected. The reset of the control system for the window includes: pulling down the level of the pin for triggering reset of the microcontroller unit. Pulling down the level of the pin for triggering reset of the microcontroller unit will cause the levels of the pins for triggering reset of the power management chip, the microcontroller unit, and the driver chip to all be low levels, triggering the reset of each of the power management chip, the microcontroller unit, and the driver chip.

[0107] In step S302, when it is determined that at least one of the following target anomalies exists, the control system for the window is reset: the first voltage anomaly provided to the microcontroller unit, the second voltage anomaly provided to the driver chip, and the anomaly related to the program of the anti-pinch function of the microcontroller unit.

[0108] Wherein, the first voltage is the operating voltage of the microcontroller unit, and the second voltage is the operating voltage of the driver chip.

[0109] In step S302, it is determined whether at least one of the following target anomalies exists: the first voltage anomaly provided to the microcontroller unit, the second voltage anomaly provided to the driver chip, and the anomaly related to the program of the anti-pinch function of the microcontroller unit.

[0110] In a possible implementation, step S302 is executed by the power management chip. The power management chip determines whether at least one of the following target anomalies exists: the first voltage anomaly provided to the microcontroller unit, the second voltage anomaly provided to the driver chip, and the anomaly related to the program of the anti-pinch function of the microcontroller unit.

[0111] In a possible implementation, the reset of the control system for the window includes: sending a signal for triggering reset to the pins for triggering reset of each of the microcontroller unit, the power management chip, and the driver chip to trigger the reset of each of the microcontroller unit, the power management chip, and the driver chip.

[0112] In another possible implementation, any two of the pins for triggering reset of the power management chip, the pins for triggering reset of the microcontroller unit, and the pins for triggering reset of the driver chip are connected. Resetting the control system for the window includes: pulling down the level of the pin for triggering reset of the power management chip. Pulling down the level of the pin for triggering reset of the power management chip will cause the levels of the pin for triggering reset of the power management chip, the pin for triggering reset of the microcontroller unit, and the pin for triggering reset of the driver chip to all be low levels, triggering a reset of each of the power management chip, the microcontroller unit, and the driver chip.

[0113] In one possible implementation, the method for monitoring the control system of the window further includes: step S303.

[0114] In step S303, determine whether the drive circuit of the window motor of the window is abnormal; when it is determined that the drive circuit of the window motor of the window is abnormal, instruct the microcontroller unit to control the control system of the window to be reset.

[0115] In one possible implementation, step S303 is executed by the driver chip. The driver chip can send an instruction to the microcontroller unit to instruct the microcontroller unit to control the control system of the window to be reset.

[0116] In one possible implementation, the method for monitoring the control system of the window further includes: step S304.

[0117] In step S304, determine whether a single-bit error has occurred in the data related to the anti-pinch function of the window, and when it is determined that a single-bit error has occurred in the data related to the anti-pinch function of the window, correct the data related to the anti-pinch function; determine whether a double-bit error has occurred in the data related to the anti-pinch function of the window, and when it is determined that a double-bit error has occurred in the data related to the anti-pinch function, reset the module corresponding to the data related to the anti-pinch function of the microcontroller unit; determine whether a fault related to the failure of the anti-pinch function of the window has occurred in the module of the microcontroller unit, and when it is determined that a fault related to the failure of the anti-pinch function of the window has occurred in the module of the microcontroller unit, reset the module of the microcontroller unit.

[0118] Among them, correct the data related to the anti-pinch function to obtain the corrected data related to the anti-pinch function.

[0119] In one possible implementation, step S304 is executed by the microcontroller unit.

[0120] In one possible implementation, the method for monitoring the control system of the window further includes: step S305.

[0121] Step S305, when the microcontroller and the driver chip transmit data through the bus for data transmission, perform cyclic redundancy check on the data transmitted between the microcontroller and the driver chip; determine whether the cyclic redundancy check on the data transmitted between the microcontroller and the driver chip is abnormal; when it is determined that the cyclic redundancy check on the data transmitted between the microcontroller and the driver chip is abnormal, switch the data transmission mode between the microcontroller and the driver chip from the data transmission mode based on the bus for data transmission to the data transmission mode based on the input / output pins.

[0122] In a possible implementation manner, step S305 is executed by the microcontroller.

[0123] In a possible implementation manner, the method for monitoring the control system of the vehicle window further includes: using the microcontroller to perform self-check on the analog-to-digital conversion module of the microcontroller during the power-on period of the microcontroller to obtain a first self-check result; when the first self-check result indicates that the analog-to-digital conversion module of the microcontroller fails, using the microcontroller to control the control system of the vehicle window to perform a reset.

[0124] In a possible implementation manner, the method for monitoring the control system of the vehicle window further includes: using the power management chip to perform self-check on the module of the power management chip during the power-on period of the power management chip to obtain a second self-check result; when the second self-check result indicates that the module of the power management chip fails, using the power management chip to control the control system of the vehicle window to perform a reset.

[0125] Reference Figure 4 , which shows a schematic structural diagram of a computer device provided by an embodiment of the present application. The computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including a high-speed interface and a low-speed interface. Each component communicates with each other through different buses and can be installed on a common main board or installed in other ways as needed. The processor can process instructions executed within the computer device, including instructions stored in the memory or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional implementation manners, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a set of blade servers, or a multi-processor system).

[0126] The processor 10 may be a central processing unit, a network processor, or a combination thereof. Among them, the processor 10 may further include a hardware chip. The above-mentioned hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The above-mentioned programmable logic device may be a complex programmable logic device, a field programmable gate array, a generic array logic, or any combination thereof.

[0127] Among them, the memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiments.

[0128] The memory 20 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some alternative embodiments, the memory 20 may optionally include a memory remotely provided with respect to the processor 10, and these remote memories may be connected to the computer device through a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0129] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk, or a solid-state drive; the memory 20 may also include a combination of the above types of memories.

[0130] The computer device further includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30, and the output device 40 may be connected through a bus or other means.

[0131] The input device 30 may receive input digital or character information, and generate key signal inputs related to the user settings and function controls of the computer device, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointing stick, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (such as an LED), and a tactile feedback device (such as a vibration motor), etc. The above-mentioned display device includes, but is not limited to, a liquid crystal display, a light-emitting diode, a display, and a plasma display. In some alternative embodiments, the display device may be a touch screen.

[0132] Embodiments of the present disclosure also provide a computer-readable storage medium. The methods according to the embodiments of the present disclosure can be implemented in hardware, firmware, or be implemented as computer code that can be recorded on a storage medium, or be implemented as computer code that is originally stored in a remote storage medium or a non-transitory machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the methods described herein can be processed by such software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid-state drive, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code, and when the software or computer code is accessed and executed by the computer, the processor, or the hardware, the methods shown in the above embodiments are implemented.

[0133] A part of the embodiments of the present disclosure can be applied as a computer program product, such as computer program instructions, which when executed by a computer, can execute or provide the methods and / or technical solutions according to the present invention through the operations of the computer. Those skilled in the art should be able to understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executes the instructions, or the computer compiles the instructions and then executes the corresponding compiled program, or the computer reads and executes the instructions, or the computer reads and installs the instructions and then executes the corresponding installed program. Herein, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to the computer.

[0134] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A control system for a vehicle window, characterized in that, The control system includes a micro - control unit for controlling a window motor of the window, a driving chip for controlling the window motor of the window, and a power management chip. The micro - control unit is connected to the driving chip, the micro - control unit is connected to the power management chip, and the driving chip is connected to the power management chip; The micro - control unit is configured to determine whether the current of the window motor is abnormal, and when it is determined that the current of the window motor is abnormal, control the control system to be reset; and / or The power management chip is configured to determine whether at least one of the following target abnormalities exists: a first voltage abnormality provided to the micro - control unit, a second voltage abnormality provided to the driving chip, an abnormality related to the program of the anti - pinch function of the window of the micro - control unit, where the first voltage is the operating voltage of the micro - control unit and the second voltage is the operating voltage of the driving chip; when it is determined that at least one target abnormality exists, control the control system to be reset.

2. The system according to claim 1, characterized in that The driving chip is configured to determine whether the driving circuit of the window motor is abnormal; when it is determined that the driving circuit is abnormal, instruct the micro - control unit to control the control system to be reset.

3. The system according to claim 1, wherein, The micro - control unit is further configured to correct data related to the anti - pinch function when it is determined that a single - bit error occurs in the data related to the anti - pinch function; when it is determined that a double - bit error occurs in the data related to the anti - pinch function, reset the module corresponding to the data related to the anti - pinch function of the micro - control unit; Determine whether a module of the micro - control unit has a fault related to the failure of the anti - pinch function, and when it is determined that a module of the micro - control unit has a fault related to the failure of the anti - pinch function, reset the module of the micro - control unit.

4. The system according to claim 1, wherein The micro - control unit is further configured to perform a cyclic redundancy check on the data transmitted between the micro - control unit and the driving chip when the micro - control unit and the driving chip transmit data through a bus for data transmission; When it is determined that the cyclic redundancy check is abnormal, switch the data transmission mode between the micro - control unit and the driving chip from the data transmission mode based on the bus for data transmission to the data transmission mode based on input / output pins.

5. The system according to claim 1, wherein The micro - control unit is further configured to perform a self - check on the analog - to - digital conversion module of the micro - control unit during the power - on period of the micro - control unit to obtain a first self - check result; when the first self - check result indicates that the analog - to - digital conversion module fails, control the control system to be reset.

6. The system according to claim 1, characterized in that The power management chip is further configured to perform a self - check on the module of the power management chip during the power - on period of the power management chip to obtain a second self - check result; when the second self - check result indicates that the module of the power management chip fails, control the control system to be reset.

7. A method for a control system of monitoring a vehicle window, characterized in that, The control system includes a microcontrol unit for controlling a window motor of the window, a driving chip for controlling the window motor of the window, and a power management chip. The microcontrol unit is connected to the driving chip, the microcontrol unit is connected to the power management chip, and the driving chip is connected to the power management chip. The method includes: Determining whether the current of the window motor is abnormal, and when it is determined that the current of the window motor is abnormal, controlling the control system to reset; and / or When it is determined that at least one of the following target abnormalities exists, controlling the control system to reset: a first voltage abnormality provided to the microcontrol unit, a second voltage abnormality provided to the driving chip, an abnormality related to a program of an anti-pinch function of the window of the microcontrol unit, where the first voltage is the operating voltage of the microcontrol unit and the second voltage is the operating voltage of the driving chip.

8. A computer device, characterized in that, Installed on a vehicle, including: A memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to execute the method according to claim 7.

9. A computer-readable storage medium, characterized in that, Computer instructions are stored on the computer-readable storage medium, and the computer instructions are used to cause a computer to execute the method according to claim 7.

10. A computer program product, characterized in that, Including computer instructions, the computer instructions are used to cause a computer to execute the method according to claim 7.