Grille rotation testing method, device, vehicle and storage medium
By self-learning and recording the grille rotation duration and angle difference, the controller controls the grille to eliminate obstacles, solving the adjustment problem of the active air intake grille under abnormal conditions, and improving user experience and rotation reliability.
Patent Information
- Application Number
- CN202310297289.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2043-03-23
AI Technical Summary
In the prior art, the active air intake grille cannot accurately adjust the opening and closing angles under abnormal conditions, resulting in an increased processing load on the controller and a poor user experience.
The grille rotation time is recorded through self-learning, and the grille rotation status is determined by using the time difference and angle difference. The controller controls the grille to rotate with greater power to eliminate obstacles, and recovers events multiple times to eliminate stalls and jams.
The processing load of the controller is reduced, the reliability of grille rotation and user experience are improved, and the normal rotation of the grille is ensured or the user is prompted to handle the fault.
Smart Images

Figure CN116399611B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, in particular to the field of intelligent grilles of automobiles, and specifically relates to a grille rotation test method and device, a vehicle and a storage medium. BACKGROUND
[0002] The active air intake grille is an energy-saving and emission-reducing technology in automobiles. When the automobile is cold-starting, the grille can be closed to improve the warm-up efficiency and reduce emissions during the starting process. When the automobile is running, the opening and closing angle of the grille can be adjusted to improve the aerodynamic performance, balance the relationship between the heat dissipation demand and the running resistance, and improve the fuel economy.
[0003] However, if the active air intake grille is in an abnormal state, such as stall or over-regulation, the opening and closing angle cannot be accurately adjusted or even cannot be adjusted, resulting in poor accuracy and reliability of the opening and closing angle adjustment of the active air intake grille in the abnormal state, and reducing the user experience. At present, the controller can determine whether the grille is faulty according to the bus current value, motor speed, stroke of the grille and grille opening position during the running of the vehicle. In this way, a large amount of data is used, which may increase the processing load of the controller. SUMMARY
[0004] The present application provides a grille rotation test method, device, vehicle and storage medium to at least solve the technical problem of increasing the processing of the controller in the related art. The technical solution of the present application is as follows:
[0005] According to the first aspect of the present application, a grille rotation test method is provided, which comprises: obtaining a test request message, the test request message being used to indicate the rotation of the grille. In response to the test request message, the grille is controlled to rotate in a first direction. In the case that the grille rotates in the first direction and stalls, a first time is recorded, and the grille is controlled to rotate in a second direction, the second direction being the opposite direction of the first direction. In the case that the grille rotates in the second direction and stalls, a second time is recorded. According to the first time, the second time and a preset time threshold, target information is determined, the target information being used to indicate the rotation condition of the grille.
[0006] According to the above technical means, the controller in the present application can determine the rotation condition of the grille according to the rotation time of the grille in a self-learning manner, so as to test whether the grille is faulty. In this way, whether the grille is faulty can be determined by using less data, and the processing load of the controller is reduced.
[0007] In a possible implementation, the determining the target information according to the first time, the second time, and the preset time threshold comprises: if a difference between the first time and the second time is equal to the preset time threshold, determining first information, the first information being used to indicate that the rotation of the grille is normal, and the target information comprising the first information; if the difference between the first time and the second time is greater than the preset time threshold, determining second information, the second information being used to indicate that the first fault occurs in the grille, the first fault being used to indicate that a rotation range of the grille is greater than a preset range threshold, and the target information comprising the second information; and if the difference between the first time and the second time is less than the preset time threshold, determining third information, the third information being used to indicate that the rotation of the grille continues to be tested, and the target information comprising the third information.
[0008] According to the technical means, the controller can determine the rotation condition of the grille according to the rotation duration of the grille, so as to test whether the grille has a fault. If the grille has a fault, the controller can present fault information to the user, so as to remind the user to handle the fault and improve user experience.
[0009] In a possible implementation, the method further comprises: in response to the target information, performing a recovery event, the recovery event comprising: controlling the grille to rotate in a first direction according to a target power, the target power being greater than a power used to rotate the grille at the first time; in a case where the grille rotates in the first direction and stalls, recording a first angle, and controlling the grille to rotate in a second direction according to the target power; in a case where the grille rotates in the second direction and stalls, recording a second angle; and if a difference between the first angle and the second angle is equal to a preset angle threshold, determining fourth information, the fourth information being used to indicate that a rotation range of the grille is within the preset range threshold.
[0010] According to the technical means, the controller can control the grille to rotate according to a greater power, so as to attempt to remove an obstacle that blocks the rotation of the grille, thereby eliminating the stall fault.
[0011] In a possible implementation, the method further comprises: if the difference between the first angle and the second angle is less than the preset angle threshold, recording a recovery number, the recovery number being used to indicate a number of times of performing the recovery event; in a case where the recovery number is less than a preset number threshold, re-performing the recovery event; in a case where the recovery number is equal to the preset number threshold, re-performing the recovery event; and in a case where the recovery number is greater than the preset number threshold, determining fifth information, the fifth information being used to indicate that a second fault occurs in the grille, the second fault being used to indicate that the rotation of the grille stalls.
[0012] According to the technical means, the controller can perform the recovery event multiple times, so as to attempt to remove the obstacle and avoid the rotation of the grille from stalling. If the controller cannot remove the obstacle, the controller can display fault information to the user, so as to remind the user to handle the fault. In this way, user experience can be improved.
[0013] In a possible implementation, the method further includes: in response to the fourth information, reacquiring the test request message and retesting the rotation of the grid until determining that the target information is the first information or the second information, the first information being used to indicate that the rotation of the grid is normal, and the second information being used to indicate that the rotation range of the grid is greater than a preset range threshold.
[0014] According to the technical means described above, the controller in the present application can retest the rotation of the grid and determine the rotation condition of the grid, so as to ensure that the grid can rotate normally, or present fault information to the user when the grid fails, remind the user to handle the fault, and improve the user experience.
[0015] According to a second aspect provided in the present application, a test device for grid rotation is provided, which includes: an acquisition unit configured to acquire a test request message, the test request message being used to indicate testing of the rotation of the grid; and a processing unit configured to control the grid to rotate in a first direction in response to the test request message. The processing unit is further configured to record a first time when the grid rotates in the first direction and to control the grid to rotate in a second direction in the case that the grid rotates in the first direction and is blocked, the second direction being opposite to the first direction. The processing unit is further configured to record a second time when the grid rotates in the second direction and is blocked. The processing unit is further configured to determine target information according to the first time, the second time and a preset time threshold, the target information being used to indicate the rotation condition of the grid.
[0016] In a possible implementation, the processing unit is further configured to determine the first information if the difference between the first time and the second time is equal to the preset time threshold, the first information being used to indicate that the rotation of the grid is normal, and the target information including the first information. The processing unit is further configured to determine the second information if the difference between the first time and the second time is greater than the preset time threshold, the second information being used to indicate that the grid has a first fault, the first fault being used to indicate that the rotation range of the grid is greater than a preset range threshold, and the target information including the second information. The processing unit is further configured to determine the third information if the difference between the first time and the second time is less than the preset time threshold, the third information being used to indicate that the rotation of the grid is to be continuously tested, and the target information including the third information.
[0017] In one possible embodiment, the processing unit is further configured to execute a recovery event in response to the target information, the recovery event comprising: the processing unit is further configured to control the grille to rotate in a first direction according to a target power, the target power being greater than the power used to rotate the grille at the first moment. The processing unit is further configured to record a first angle and control the grille to rotate in a second direction according to the target power if the grille is blocked from rotating in the first direction. The processing unit is further configured to record a second angle if the grille is blocked from rotating in the second direction. The processing unit is further configured to determine fourth information if the difference between the first angle and the second angle is equal to a preset angle threshold, the fourth information being used to indicate that the rotation range of the grille is within the preset range threshold.
[0018] In one possible embodiment, the processing unit is further configured to record a number of recovery attempts if the difference between the first angle and the second angle is less than a preset angle threshold, where the number of recovery attempts indicates the number of times the recovery event has been executed. The processing unit is further configured to re-execute the recovery event if the number of recovery attempts is less than a preset threshold. The processing unit is further configured to re-execute the recovery event if the number of recovery attempts is equal to a preset threshold. The processing unit is further configured to determine fifth information if the number of recovery attempts is greater than the preset threshold, where the fifth information indicates a second fault has occurred in the grille, where the second fault indicates a stuck grille rotation.
[0019] In a possible embodiment, the above-mentioned processing unit is also used to respond to the fourth information, re-acquire the test request message, and retest the rotation of the grille until the target information is determined to be the first information or the second information, the first information is used to indicate that the grille rotates normally, and the second information is used to indicate that the rotation range of the grille is greater than the preset range threshold.
[0020] According to the third aspect provided by the present application, a vehicle is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement the method of the above-mentioned first aspect and any possible implementation method thereof.
[0021] According to the fourth aspect provided by the present application, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by the processor of the vehicle, the vehicle is enabled to execute the method in the above-mentioned first aspect and any possible implementation method thereof.
[0022] According to the fifth aspect provided by the present application, a computer program product is provided, which includes computer instructions. When the computer instructions are run on a vehicle, the vehicle executes the method of the above-mentioned first aspect and any possible implementation method thereof.
[0023] Therefore, the above technical features of this application have the following beneficial effects:
[0024] (1) The rotation of the grille can be determined according to the rotation time of the grille by self-learning, so as to test whether the grille is faulty. In this way, whether the grille is faulty can be determined by less data, and the processing load of the controller is reduced.
[0025] (2) The grille can be controlled to rotate with greater power to try to remove the obstacle blocking the rotation of the grille, so as to eliminate the stall fault.
[0026] (3) The recovery event can be executed multiple times to try to remove the obstacle and avoid the grille from being stuck. If the controller cannot remove the obstacle, the user can be prompted to display fault information to remind the user to handle the fault. In this way, the user experience can be improved.
[0027] (4) The rotation of the grille can be retested, and the rotation of the grille can be determined to ensure that the grille can rotate normally, or when the grille is faulty, the user can be prompted to display fault information to remind the user to handle the fault, thereby improving the user experience.
[0028] It should be noted that the technical effects brought by any one of the implementation manners of the second aspect to the fifth aspect can refer to the technical effects brought by the corresponding implementation manners in the first aspect, which will not be repeated here.
[0029] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF DRAWINGS
[0030] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present application and, together with the specification, serve to explain the principles of the present application, and do not constitute an improper limitation on the present application.
[0031] Figure 1 is a structural schematic diagram of a grille rotation test system according to an exemplary embodiment;
[0032] Figure 2 is a flowchart of a grille rotation test method according to an exemplary embodiment;
[0033] Figure 3 is a flowchart of another grille rotation test method according to an exemplary embodiment;
[0034] Figure 4 is a flowchart of another grille rotation test method according to an exemplary embodiment;
[0035] Figure 5 is a block diagram of a grille rotation test device according to an exemplary embodiment;
[0036] Figure 6 is a block diagram of a vehicle according to an exemplary embodiment. DETAILED DESCRIPTION
[0037] In order for those skilled in the art to better understand the technical solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings.
[0038] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0039] Before the test method for the grid rotation of the embodiments of the present application is described in detail, the implementation environment and application scenarios of the embodiments of the present application are introduced.
[0040] The active intake grille is an energy-saving and emission-reducing technology in automobiles. When the automobile is cold-starting, the grille can be closed to improve the warm-up efficiency and reduce emissions during the starting process. When the automobile is running, the opening and closing angle of the grille can be adjusted to improve the aerodynamic performance, balance the relationship between the heat dissipation demand and the running resistance, and improve the fuel economy.
[0041] However, if the active intake grille is in an abnormal state, such as stall or over-regulation, the opening and closing angle cannot be accurately adjusted or even cannot be adjusted, resulting in poor accuracy and reliability of the opening and closing angle adjustment of the active intake grille in the abnormal state, and reducing the user's experience. Currently, the controller can determine whether the grille is malfunctioning according to the bus current value, motor speed, stroke of the grille, and grille opening position during vehicle operation. In this way, the amount of data used is large, which may increase the processing load of the controller.
[0042] In order to solve the above-mentioned problem, an embodiment of the present application provides a method for testing the rotation of a grille, the method comprising: a controller can obtain a test request message, the test request message is used to instruct the rotation of the test grille. In response to the test request message, the controller can control the grille to rotate in a first direction. In the case where the grille is blocked from rotating in the first direction, the controller can record a first moment and control the grille to rotate in a second direction, the second direction being the opposite direction of the first direction. In the case where the grille is blocked from rotating in the second direction, the controller can record a second moment. The controller can determine target information based on the first moment, the second moment and a preset time threshold. The target information is used to indicate the rotation status of the grille. In this way, the controller can determine the rotation status of the grille based on the rotation duration of the grille through self-learning, thereby testing whether the grille is faulty. In this way, whether the grille is faulty can be determined using less data, reducing the processing load of the controller.
[0043] The implementation environment of the embodiments of the present application is introduced below.
[0044] Figure 1 FIG. 1 is a structural diagram of a grid rotation test system according to an exemplary embodiment. Figure 1 As shown, the grille rotation test system 100 includes a controller 101, a battery 102, a generator 103, a grille 104, and a meter 105. The controller 101 is connected to the generator 103, which is connected to the meter 105. The battery 102 is connected to the generator 103, which is connected to the grille 104.
[0045] The controller 101 can be used to receive and process messages from the generator 103 . The controller 101 can also be used to send messages to the generator 103 , which can include grille opening requirement information. The controller 101 can also be used to send information to the meter 105 .
[0046] In the embodiment of the present application, the controller 101 may be a thermal manager.
[0047] The battery 102 may be used to power the generator 103 and the grid 104 .
[0048] The generator 103 can be used to send messages to the controller 101. The generator 103 can also be used to receive messages and grille opening request signals from the controller 101. The generator 103 can be used to control the rotation of the grille 104.
[0049] The grid 104 can be used to implement the opening requirement of the generator 103 .
[0050] The meter 105 can be used to display fault information of the grille.
[0051] For the convenience of understanding, the grid rotation test method provided in the present application is specifically introduced below in combination with the drawings. Figure 2 is a flow chart of a grid rotation test method according to an exemplary embodiment, as shown in the figure, the grid rotation test method comprises the following steps: Figure 2
[0052] S201, the controller acquires a test request message.
[0053] The test request message is used to indicate the rotation of the test grid.
[0054] In a possible implementation, the generator can send the test request message to the controller. The generator can receive the test request message from the generator to acquire the test request message.
[0055] In the embodiment of the present application, in response to the test request message, the controller can perform S202.
[0056] S202, the controller controls the grid to rotate in a first direction.
[0057] In a possible implementation, in response to the test request message, the controller can send a first rotation message to the generator, the first rotation message being used to indicate the control of the grid to rotate in the first direction. The generator can receive the first rotation message from the controller. In response to the first rotation message, the generator can control the grid to rotate in the first direction.
[0058] It should be noted that in the embodiment of the present application, the first direction can be the direction in which the grid is closed, and the first direction can also be the direction in which the grid is opened.
[0059] In some embodiments, in the case that the grid rotates in the first direction and stalls, the controller can perform S203.
[0060] In the embodiment of the present application, if the grid stalls, the generator can send a first stall message to the controller, the first stall message being used to indicate that the grid stalls when rotating in the first direction. The controller can receive the first stall message from the generator. In response to the first stall message, the controller can perform S203.
[0061] S203, the controller records a first time and controls the grid to rotate in a second direction.
[0062] The second direction is the opposite direction of the first direction.
[0063] It should be noted that in the embodiment of the present application, if the first direction is the direction in which the grid is closed, the second direction is the direction in which the grid is opened. If the first direction is the direction in which the grid is opened, the second direction is the direction in which the grid is closed.
[0064] In a possible implementation, in the case that the rotation of the grid to the first direction is stalled, the controller can record a first time. The controller can send a second rotation message to the generator, where the second rotation message is used to instruct the grid to rotate to a second direction. The generator can receive the first rotation message from the controller. In response to the first rotation message, the generator can control the grid to rotate to the second direction.
[0065] In some embodiments, in the case that the rotation of the grid to the second direction is stalled, the controller can perform S204.
[0066] In the embodiments of the present application, in the case that the grid is stalled, the generator can send a second stall message to the controller, where the second stall message is used to indicate that the grid is stalled when rotating to the second direction. The controller can receive the second stall message from the generator. In response to the second stall message, the controller can perform S204.
[0067] S204, the controller records a second time.
[0068] In a possible implementation, in the case that the rotation of the grid to the second direction is stalled, the controller can record the second time.
[0069] S205, the controller determines target information according to the first time, the second time and a preset time threshold.
[0070] The target information is used to indicate the rotation condition of the grid.
[0071] In a possible implementation, the controller can determine a difference between the first time and the second time according to the first time and the second time. The controller can determine the target information according to the difference between the first time and the second time and the preset time threshold.
[0072] It should be noted that, in the embodiments of the present application, the preset time threshold is not limited. For example, the preset time threshold can be 20 seconds. For another example, the preset time threshold can be 10 seconds. For another example, the preset time threshold can be 30 seconds.
[0073] In a possible design, if the difference between the first time and the second time is equal to the preset time threshold, the controller can determine first information.
[0074] The target information includes the first information, and the first information is used to indicate that the grid rotates normally.
[0075] For example, if the preset time threshold is 20 seconds, and the difference between the first time and the second time is 20 seconds, the difference between the first time and the second time is equal to the preset time threshold.
[0076] In another possible design, the controller can determine the second information if the difference between the first time and the second time is greater than a preset time threshold.
[0077] The target information includes the second information, and the second information is used to indicate that the grating has a first fault, and the first fault is used to indicate that a rotation interval of the grating is greater than a preset interval threshold.
[0078] For example, if the preset time threshold is 20 seconds and the difference between the first time and the second time is 22 seconds, the difference between the first time and the second time is greater than the preset time threshold.
[0079] It should be noted that the preset interval threshold is not limited in the embodiment of the present application. For example, the preset interval threshold is usually [0, 90] degrees. For another example, the preset interval threshold can be [0, 180] degrees. For another example, the preset interval can be [0, 360] degrees. In the embodiment of the present application, if the rotation interval of the grating is greater than the preset interval threshold, it indicates that the grating has a stop point fault.
[0080] In the embodiment of the present application, after the controller determines the second information, the controller can send the second information to the instrument. The instrument can receive the second information from the controller and display the second information.
[0081] In another possible design, the controller can determine third information if the difference between the first time and the second time is less than the preset time threshold.
[0082] The target information includes the third information, and the third information is used to instruct to continue testing rotation of the grating.
[0083] For example, if the preset time threshold is 20 seconds and the difference between the first time and the second time is 15 seconds, the difference between the first time and the second time is less than the preset time threshold.
[0084] It should be noted that, in the embodiment of the present application, if the difference between the first time and the second time is less than the preset time threshold, it indicates that the grating can have a stall fault. That is, the grating can have an obstacle, causing the grating rotation to be stuck.
[0085] It can be understood that the controller can acquire a test request message, the test request message being used to indicate rotation of the grid. In response to the test request message, the controller can control the grid to rotate in a first direction. In a case where the grid rotates in the first direction and stall occurs, the controller can record a first time, and control the grid to rotate in a second direction, the second direction being opposite to the first direction. In a case where the grid rotates in the second direction and stall occurs, the controller can record a second time. The controller can determine target information according to the first time, the second time and a preset time threshold. The target information is used to indicate a rotation condition of the grid. In this way, the controller can determine the rotation condition of the grid according to a rotation duration of the grid in a self-learning manner, so as to test whether the grid has a fault. In this way, whether the grid has a fault can be determined by using less data, and a processing load of the controller is reduced.
[0086] In some embodiments, if the grid has a stall fault, the controller cannot control the grid to rotate normally. In order to eliminate the fault of the grid, as shown in FIG. 2, after the controller determines the target information according to the first time, the second time and the preset time threshold (S205), the test method for grid rotation can further include the following steps: Figure 3
[0087] S301, the controller determines whether the target information is third information.
[0088] In the embodiments of the present application, if the target information is the third information, the controller can perform a recovery event.
[0089] In some embodiments, the recovery event includes the following steps:
[0090] S302, the controller controls the grid to rotate in the first direction according to a target power.
[0091] The target power is greater than a power used to rotate the grid at the first time.
[0092] In a possible implementation, the controller can send a third rotation message to the generator, the third rotation message being used to indicate that the grid is controlled to rotate in the first direction according to the target power. The generator can receive the third rotation message from the controller. In response to the third rotation message, the generator can increase the torque until the target power is reached and the torque stops increasing. Then, the generator can control the grid to rotate in the first direction according to the target power.
[0093] In the embodiments of the present application, in a case where the grid rotates in the first direction and stall occurs, the controller can perform S303.
[0094] It should be noted that, in the embodiments of the present application, the introduction of the case that the grid rotates to the first direction and stalls can refer to the description of the case that the grid rotates to the first direction and stalls in S202, which will not be repeated here.
[0095] S303, the controller records the first angle, and controls the grid to rotate to the second direction according to the target power.
[0096] In a possible implementation, in the case that the grid rotates to the first direction and stalls, the controller can record the first angle. The controller can send a fourth rotation message to the generator, the fourth rotation message being used to instruct to control the grid to rotate to the second direction according to the target power. In response to the fourth rotation message, the generator can control the grid to rotate to the second direction according to the target power.
[0097] In the embodiments of the present application, in the case that the grid rotates to the second direction and stalls, the controller can perform S304.
[0098] It should be noted that, in the embodiments of the present application, the introduction of the case that the grid rotates to the second direction and stalls can refer to the description of the case that the grid rotates to the second direction and stalls in S203, which will not be repeated here.
[0099] S304, the controller records the second angle.
[0100] In a possible implementation, in the case that the grid rotates to the second direction and stalls, the controller can record the second angle.
[0101] S305, the controller determines whether the difference between the first angle and the second angle is equal to a preset angle threshold.
[0102] In a possible implementation, the controller can determine the difference between the first angle and the second angle according to the first angle and the second angle. Then, the controller can determine whether the difference between the first angle and the second angle is equal to the preset angle threshold according to the difference between the first angle and the second angle and the preset angle threshold.
[0103] It should be noted that, in the embodiments of the present application, the preset angle threshold is not limited. For example, the preset angle threshold is 90 degrees. For another example, the preset angle threshold can be 180 degrees. For another example, the preset angle threshold can be 360 degrees.
[0104] For example, if the preset angle threshold is 90 degrees, if the difference between the first angle and the second angle is 90 degrees, then the difference between the first angle and the second angle is equal to the preset angle threshold. If the difference between the first angle and the second angle is 50 degrees, then the difference between the first angle and the second angle is less than the preset angle threshold. If the difference between the first angle and the second angle is 100 degrees, then the difference between the first angle and the second angle is greater than the preset angle threshold.
[0105] In the embodiment of the present application, if the difference between the first angle and the second angle is equal to the preset angle threshold, the controller may execute S306.
[0106] S306: The controller determines fourth information.
[0107] The fourth information is used to indicate that the rotation range of the grille is within a preset range threshold.
[0108] In a possible implementation, if the difference between the first angle and the second angle is equal to a preset angle threshold, the controller may determine the fourth information.
[0109] It should be noted that if the difference between the first angle and the second angle is equal to the preset angle threshold, it means that the controller has cleared the obstacle that blocks the rotation of the grille, thereby eliminating the stall fault.
[0110] It is understandable that if the difference between the first moment and the second moment is less than the preset time threshold, after the controller determines the target information, the controller can execute a recovery event in response to the target information. The recovery event includes: the controller can control the grille to rotate in the first direction according to the target power, and the target power is greater than the power used to rotate the grille at the first moment. In the case where the grille is stuck in rotating in the first direction, the controller can record the first angle and control the grille to rotate in the second direction. In the case where the grille is stuck in rotating in the second direction, the controller can record the second angle. If the difference between the first angle and the second angle is equal to the preset angle threshold, the controller can determine fourth information, and the fourth information is used to indicate that the rotation range of the grille is within the preset range threshold. In this way, the controller can control the grille to rotate according to a larger power, try to clear the obstacles that prevent the grille from rotating, and thus eliminate the stall fault.
[0111] In some embodiments, if the difference between the first angle and the second angle is less than a preset angle threshold, the controller may record a number of recovery times, where the number of recovery times indicates the number of times the recovery event has been executed. The controller may then determine whether the number of recovery times is greater than a preset threshold.
[0112] It should be noted that in the embodiment of the present application, the preset number threshold is not limited. For example, the preset number threshold may be 3. For another example, the preset number threshold may be 5. For another example, the preset number threshold may be 2.
[0113] In one possible design, if the number of restorations is greater than a preset number threshold, the controller may determine fifth information, wherein the fifth information is used to indicate that a second fault has occurred in the grille, and the second fault is used to indicate that the grille is stuck in rotation.
[0114] That is, when the number of restoration times is greater than the preset number threshold, the controller may determine the fifth information.
[0115] In the embodiment of the present application, after the controller determines the fifth information, the controller may send the fifth information to the meter, and the meter may receive the fifth information and display the fifth information.
[0116] In another possible design, if the number of recovery times is less than a preset threshold, the controller may re-execute the recovery event.
[0117] Optionally, if the number of recovery times is equal to a preset number threshold, the controller may re-execute the recovery event.
[0118] That is, if the number of recovery times is less than the preset number threshold, the recovery event is re-executed. Alternatively, if the number of recovery times is equal to the preset number threshold, the recovery event is re-executed.
[0119] It is understandable that if the difference between the first angle and the second angle is less than the preset angle threshold, the controller can record the number of recovery times, and the number of recovery times is used to indicate the number of times the recovery event is executed. When the number of recovery times is less than the preset number threshold, the recovery event is re-executed. Alternatively, when the number of recovery times is equal to the preset number threshold, the recovery event is re-executed. When the number of recovery times is greater than the preset number threshold, the fifth information is determined, and the fifth information is used to indicate that a second fault has occurred in the grille, and the second fault is used to indicate that the grille rotation is stuck. In this way, the controller can execute the recovery event multiple times to try to remove the obstacle and avoid the grille from getting stuck. If the controller cannot remove the obstacle, it can display a fault message to the user to remind the user to deal with the fault. In this way, the user experience can be improved.
[0120] In some embodiments, in order to determine whether the jam fault is eliminated, if the difference between the first angle and the second angle is equal to a preset angle threshold, after the controller determines the fourth information, in response to the fourth information, the controller can re-acquire the test request message and retest the rotation of the grille until it is determined that the target information is the first information or the second information.
[0121] The first information is used to indicate that the grille rotates normally, and the second information is used to indicate that the rotation range of the grille is greater than a preset range threshold.
[0122] In the embodiment of the present application, in response to the fourth information, the controller may re-execute S201-S205.
[0123] It should be noted that in the embodiment of the present application, for the introduction of "the controller re-obtains the test request message and re-tests the rotation of the grille", please refer to the description of "the controller obtains the test request message and tests the rotation of the grille" in S201-S205, which will not be repeated here.
[0124] In this way, the controller can retest the rotation of the grille and determine the rotation status of the grille to ensure that the grille can rotate normally, or when the grille fails, present fault information to the user to remind the user to deal with the fault, thereby improving the user experience.
[0125] The following describes the test method for the grille rotation of the present application in conjunction with specific embodiments. Figure 4 As shown, the specific steps of the test method for grille rotation include:
[0126] S401. When the car is in the startup state, the thermal manager obtains a self-learning request message (equivalent to S201 of the present application).
[0127] The self-learning request message is used to instruct the self-learning grid to rotate.
[0128] In a possible implementation, the generator may send a self-learning request message to the thermal manager. The thermal manager may receive the self-learning request message from the generator to obtain the self-learning request message.
[0129] In the embodiment of the present application, in response to the self-learning request message, the thermal manager may execute S402.
[0130] S402. The thermal manager sends a first rotation message to the generator (equivalent to S202 of this application).
[0131] The first rotation message is used to instruct the grille to rotate in a first direction, where the first direction is the direction in which the grille is closed.
[0132] In this embodiment of the present application, after the thermal manager sends a first rotation message to the generator, the generator may receive the first rotation message from the thermal manager. In response to the first rotation message, the generator may control the grille to rotate in a first direction. If the grille is locked in the first direction, the generator may send a first stall message to the thermal manager, indicating that the grille is locked in the first direction. The thermal manager may receive the first stall message. In response to the first stall message, the thermal manager may execute S403-S404.
[0133] S403. The thermal manager records the first moment (equivalent to S203 of this application).
[0134] S404. The thermal manager sends a second rotation message to the generator (equivalent to S203 of this application).
[0135] The second rotation message is used to instruct the grille to rotate in a second direction, where the second direction is the direction in which the grille opens.
[0136] In this embodiment of the present application, after the thermal manager sends the second rotation message to the generator, the generator may receive the second rotation message from the thermal manager. In response to the second rotation message, the generator may control the grille to rotate in the second direction. If the grille is locked in the second direction, the generator may send a second stall message to the thermal manager, indicating that the grille is locked in the second direction. The thermal manager may receive the second stall message. In response to the second stall message, the thermal manager may execute S405.
[0137] S405. The thermal manager records the second moment (equivalent to S204 of this application).
[0138] S406: The thermal manager determines whether the difference between the first moment and the second moment is equal to a preset time threshold (equivalent to S205 of the present application).
[0139] In a possible design, if the difference between the first moment and the second moment is equal to a preset time threshold, the thermal manager may execute S407.
[0140] In a possible design, if the difference between the first moment and the second moment is not equal to the preset time threshold, the thermal manager may execute S408.
[0141] S407 : The thermal manager determines the first information (equivalent to S205 of the present application).
[0142] The first information is used to indicate that the grille rotates normally.
[0143] It should be noted that, in the embodiment of the present application, normal grille rotation may indicate that the thermal manager has completed self-learning grille rotation.
[0144] S408 , the thermal manager determines whether the first moment and the second moment are greater than a preset time threshold (equivalent to S205 of the present application).
[0145] In a possible design, if the difference between the first moment and the second moment is greater than a preset time threshold, the thermal manager may execute S409.
[0146] In another possible design, if the difference between the first moment and the second moment is less than a preset time threshold, the thermal manager may execute S410.
[0147] S409: The thermal manager determines the second information (equivalent to S205 of the present application).
[0148] The second information is used to indicate that a first fault occurs in the grille, and the first fault is used to indicate that a rotation range of the grille is greater than a preset range threshold.
[0149] In the embodiment of the present application, after the thermal manager determines the second information, the thermal manager may send the second information to the instrument. The instrument may receive the second information from the thermal manager and display the second information.
[0150] S410: The thermal manager determines third information (equivalent to S205 of the present application).
[0151] The third information is used to instruct to continue the rotation of the test grid.
[0152] In the embodiment of the present application, in response to the third information, the thermal manager may execute S411.
[0153] S411. The thermal manager sends a third rotation message to the generator (equivalent to S301 of this application).
[0154] The third rotation message is used to instruct the control grid to rotate in the first direction according to the target power.
[0155] In this embodiment of the present application, after the thermal manager sends the third rotation message to the generator, the generator may receive the third rotation message from the thermal manager. In response to the third rotation message, the generator may control the grille to rotate in the first direction according to the target power. If the grille is stalled in the first direction, the generator may send a third stall message to the thermal manager, indicating that the grille is stalled in the first direction according to the target power. The thermal manager may receive the third stall message. In response to the third stall message, the thermal manager may execute S412-S413.
[0156] S412, the thermal manager records the first angle (corresponding to S302 of the present application).
[0157] S413, the thermal manager sends a fourth rotation message to the generator.
[0158] The fourth rotation message is used to instruct the control grid to rotate in the second direction according to the target power (corresponding to S302 of the present application).
[0159] In the embodiments of the present application, after the thermal manager sends the fourth rotation message to the generator, the generator can receive the fourth rotation message from the thermal manager. In response to the fourth rotation message, the generator can control the grid to rotate in the second direction according to the target power. In the case that the grid rotates in the second direction occurs stall, the generator can send a fourth stall message to the thermal manager, the fourth stall message is used to indicate that the grid rotates in the second direction according to the target power occurs stall. The thermal manager can receive the fourth stall message. In response to the fourth stall message, the thermal manager can perform S414.
[0160] S414, the thermal manager records the second angle (corresponding to S303 of the present application).
[0161] S415, the thermal manager determines whether the difference between the first angle and the second angle is equal to a preset angle threshold (corresponding to S304 of the present application).
[0162] In a possible design, if the difference between the first angle and the second angle is equal to the preset angle threshold, the thermal manager can perform S416.
[0163] In another possible design, if the difference between the first angle and the second angle is less than the preset angle threshold, the thermal manager can perform S417.
[0164] S416, the thermal manager determines the fourth information (corresponding to S305 of the present application).
[0165] The fourth information is used to indicate that the rotation interval of the grid is within a preset interval threshold.
[0166] In the embodiments of the present application, after the thermal manager determines the fourth information, the thermal manager can reacquire the self-learning message and retest the rotation of the grid.
[0167] S417, the thermal manager records the recovery times.
[0168] The recovery times are used to indicate the number of times of performing the recovery event.
[0169] S418, the thermal manager determines whether the recovery times are greater than a preset times threshold.
[0170] In the embodiment of the present application, if the number of recoveries is greater than the preset number threshold, the thermal manager can perform S419.
[0171] S419, the thermal manager determines the fifth information.
[0172] The fifth information is used to indicate that the grid has a second failure, and the second failure is used to indicate that the rotation of the grid is stuck.
[0173] In this way, the thermal manager can determine whether the grid has a failure according to the rotation duration of the grid during the test of the rotation of the grid, and can attempt to eliminate the failure, so as to calibrate the position of the grid.
[0174] The above mainly describes the solutions provided by the embodiments of the present application from the perspective of methods. In order to implement the above functions, the grid rotation test device or the vehicle includes the corresponding hardware structure and / or software module for executing each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0175] The embodiments of the present application can divide the functional modules of the grid rotation test device or the vehicle according to the above method, for example, the grid rotation test device or the vehicle can include various functional modules corresponding to each functional division, or two or more functions can be integrated in one processing module. The above integrated module can be realized in the form of hardware or software functional module. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical functional division. Actual implementation can have another division manner.
[0176] Figure 5 is a block diagram of a grid rotation test device according to an exemplary embodiment. Referring to Figure 5 , the grid rotation test device is used to perform the method shown in Figure 2 , Figure 3 and Figure 4 . The grid rotation test device includes an acquisition unit 501 and a processing unit 502.
[0177] The acquisition unit 501 is configured to acquire a test request message, the test request message being used to indicate rotation of a test grid. The processing unit 502 is configured to control the grid to rotate in a first direction in response to the test request message. The processing unit 502 is further configured to record a first time point in a case where the grid rotates in the first direction and a stall occurs, and control the grid to rotate in a second direction, the second direction being opposite to the first direction. The processing unit 502 is further configured to record a second time point in a case where the grid rotates in the second direction and a stall occurs. The processing unit 502 is further configured to determine target information according to the first time point, the second time point, and a preset time threshold, the target information being used to indicate a rotation condition of the grid.
[0178] In a possible implementation, the processing unit 502 is further configured to determine first information if a difference between the first time point and the second time point is equal to the preset time threshold, the first information being used to indicate that the grid rotates normally, and the target information including the first information. The processing unit 502 is further configured to determine second information if the difference between the first time point and the second time point is greater than the preset time threshold, the second information being used to indicate that the grid has a first fault, the first fault being used to indicate that a rotation range of the grid is greater than a preset range threshold, and the target information including the second information. The processing unit 502 is further configured to determine third information if the difference between the first time point and the second time point is less than the preset time threshold, the third information being used to indicate that the rotation of the grid continues to be tested, and the target information including the third information.
[0179] In a possible implementation, the processing unit 502 is further configured to perform a recovery event in response to the target information, the recovery event including that the processing unit 502 is further configured to control the grid to rotate in the first direction according to a target power, the target power being greater than a power used to rotate the grid at the first time point. The processing unit 502 is further configured to record a first angle in a case where the grid rotates in the first direction and a stall occurs, and control the grid to rotate in the second direction according to the target power. The processing unit 502 is further configured to record a second angle in a case where the grid rotates in the second direction and a stall occurs. The processing unit 502 is further configured to determine fourth information if a difference between the first angle and the second angle is equal to a preset angle threshold, the fourth information being used to indicate that a rotation range of the grid is within a preset range threshold.
[0180] In one possible embodiment, the processing unit 502 is further configured to record a number of recovery times if the difference between the first angle and the second angle is less than a preset angle threshold, where the number of recovery times indicates the number of times the recovery event has been executed. The processing unit 502 is further configured to re-execute the recovery event if the number of recovery times is less than a preset threshold. The processing unit 502 is further configured to re-execute the recovery event if the number of recovery times is equal to a preset threshold. The processing unit 502 is further configured to determine fifth information if the number of recovery times is greater than the preset threshold, where the fifth information indicates a second fault has occurred in the grille, where the second fault indicates a stuck grille rotation.
[0181] In a possible embodiment, the above-mentioned processing unit 502 is also used to respond to the fourth information, re-acquire the test request message, and retest the rotation of the grille until the target information is determined to be the first information or the second information, the first information is used to indicate that the grille rotates normally, and the second information is used to indicate that the rotation range of the grille is greater than the preset range threshold.
[0182] Regarding the apparatus in the above embodiment, the specific manner in which each unit performs operations has been described in detail in the embodiment of the method, and will not be elaborated on here.
[0183] Figure 6 FIG. 1 is a block diagram of a vehicle according to an exemplary embodiment. Figure 6 As shown, vehicle 600 includes, but is not limited to, a processor 601 and a memory 602 .
[0184] The memory 602 is used to store executable instructions of the processor 601. It is understandable that the processor 601 is configured to execute instructions to implement the grille rotation test method in the above embodiment.
[0185] It should be noted that those skilled in the art can understand that Figure 6 The vehicle structure shown in the figure does not constitute a limitation on the vehicle, and the vehicle may include Figure 6 More or fewer components may be shown, or certain components may be combined, or the components may be arranged differently.
[0186] The processor 601 is the control center of the vehicle, connects various parts of the vehicle through various interfaces and lines, and performs various functions of the vehicle and processes data by running or executing software programs and / or modules stored in the memory 602 and calling data stored in the memory 602, thereby monitoring the vehicle as a whole. The processor 601 can include one or more processing units. Alternatively, the processor 601 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application program, and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 601.
[0187] The memory 602 can be used to store software programs and various data. The memory 602 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs (such as processing units) required by at least one function module, and the like. In addition, the memory 602 can include a high-speed random access memory, and can also include a non-volatile memory, for example, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device.
[0188] In the example embodiment, a computer readable storage medium including instructions is also provided, for example, the memory 602 including instructions, which can be executed by the processor 601 of the vehicle 600 to implement the grid rotation test method in the above embodiment.
[0189] In actual implementation, Figure 5 The functions of the acquisition unit 501 and the processing unit 502 in the above embodiment can be implemented by Figure 6 The processor 601 in the above embodiment can call the computer program stored in the memory 602 to implement. The specific execution process can refer to the description of the grid rotation test method in the above embodiment, and will not be described here.
[0190] Alternatively, the computer readable storage medium can be a non-transitory computer readable storage medium, for example, the non-transitory computer readable storage medium can be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0191] In the example embodiment, the embodiment of the present application also provides a computer program product including one or more instructions, which can be executed by the processor of the vehicle to complete the grid rotation test method in the above embodiment.
[0192] It should be noted that the instructions in the above computer readable storage medium or one or more instructions in the computer program product are executed by the processor of the vehicle to implement each process of the above grid rotation test method embodiment, and the same technical effect as the above grid rotation test method can be achieved. To avoid repetition, it will not be described here.
[0193] Through the description of the above embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of functional modules is taken as an example, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions.
[0194] In several embodiments provided in the present application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the above described device embodiment is only schematic, for example, the division of modules or units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed each other can be through some interface, indirect coupling or communication connection between the devices or units, which can be electrical, mechanical or other forms.
[0195] The unit described as a separate component can be or can not be physically separated, and the component displayed as a unit can be one physical unit or a plurality of physical units, that is, it can be located in one place, or it can be distributed to a plurality of different places. According to actual needs, part or all of the units can be selected to achieve the purpose of the embodiment scheme.
[0196] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The above integrated unit can be realized in the form of hardware or in the form of software functional unit.
[0197] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
[0198] The above are only specific embodiments of the present application, but the scope of protection of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A method for testing grille rotation, characterized in that: The method comprises: Obtaining a test request message, where the test request message is used to instruct the rotation of the test grid; In response to the test request message, controlling the grille to rotate in a first direction; When the grille is locked in the first direction, recording a first moment and controlling the grille to rotate in a second direction, the second direction being opposite to the first direction; When the grille is locked in the second direction, recording a second moment; determining target information according to the first moment, the second moment, and a preset time threshold, wherein the target information is used to indicate a rotation condition of the grille; The determining target information according to the first moment, the second moment, and a preset time threshold includes: If the difference between the first moment and the second moment is equal to the preset time threshold, determining first information, the first information being used to indicate that the grille rotates normally, and the target information including the first information; If the difference between the first moment and the second moment is greater than the preset time threshold, second information is determined, where the second information is used to indicate that a first fault has occurred in the grille, where the first fault is used to indicate that a rotation range of the grille is greater than a preset range threshold, and the target information includes the second information; If the difference between the first moment and the second moment is less than the preset time threshold, third information is determined, where the third information is used to instruct to continue testing the rotation of the grid, and the target information includes the third information.
2. The method according to claim 1, characterized in that If the difference between the first moment and the second moment is less than the preset time threshold, after determining the third information, the method further includes: In response to the third information, executing a recovery event, the recovery event including: controlling the grille to rotate in the first direction according to a target power, wherein the target power is greater than the power for rotating the grille at the first moment; When the grille is locked in the first direction, recording a first angle and controlling the grille to rotate in the second direction according to the target power; When the grille is locked in the second direction, recording a second angle; If the difference between the first angle and the second angle is equal to a preset angle threshold, fourth information is determined, where the fourth information is used to indicate that the rotation interval of the grille is within the preset interval threshold.
3. The method according to claim 2, characterized in that The method further comprises: If the difference between the first angle and the second angle is less than the preset angle threshold, recording the number of recovery times, where the number of recovery times indicates the number of times the recovery event is executed; If the number of recovery times is less than a preset number threshold, re-execute the recovery event; When the number of recovery times is equal to the preset number threshold, re-execute the recovery event; When the number of restorations is greater than the preset number threshold, fifth information is determined, where the fifth information is used to indicate that a second fault occurs on the grille, and the second fault is used to indicate that the grille is stuck in rotation.
4. The method according to any one of claims 2 to 3, characterized in that After determining fourth information if the difference between the first angle and the second angle is equal to a preset angle threshold, the method further includes: In response to the fourth information, the test request message is re-acquired and the rotation of the grille is retested until the target information is determined to be the first information or the second information, the first information is used to indicate that the grille rotates normally, and the second information is used to indicate that the rotation range of the grille is greater than a preset range threshold.
5. A test device for grille rotation, characterized in that: The device comprises: an acquiring unit, configured to acquire a test request message, wherein the test request message is used to instruct the rotation of the test grid; a processing unit, configured to control the grille to rotate in a first direction in response to the test request message; The processing unit is further configured to record a first moment and control the grille to rotate in a second direction opposite to the first direction when the grille is locked in the first direction; The processing unit is further configured to record a second moment when the grille is locked in its rotation in the second direction; The processing unit is further configured to determine target information based on the first moment, the second moment, and a preset time threshold, wherein the target information is used to indicate a rotation condition of the grille; The processing unit is specifically configured to: If the difference between the first moment and the second moment is equal to the preset time threshold, determining first information, the first information being used to indicate that the grille rotates normally, and the target information including the first information; If the difference between the first moment and the second moment is greater than the preset time threshold, second information is determined, where the second information is used to indicate that a first fault has occurred in the grille, where the first fault is used to indicate that a rotation range of the grille is greater than a preset range threshold, and the target information includes the second information; If the difference between the first moment and the second moment is less than the preset time threshold, third information is determined, where the third information is used to instruct to continue testing the rotation of the grid, and the target information includes the third information.
6. A vehicle, characterized in that: include: processor; A memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of a vehicle, the vehicle is capable of performing the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Method and system for diagnosing an active grill shutter system fault in a hybrid electric vehicle
CN107368057A
Active air-inlet grille system and control method of motor controller based on active air-inlet grille system
CN115139779A