Method and device for determining angle of air-conditioning air guide plate, and vehicle

By obtaining the message scheduling cycle and time interval in the air-conditioning system, combining it with the air guide plate parameters, accurately calculating the target angle and introducing a compensation angle, the problem of air guide plate jitter in the air-conditioning system is solved, and the control accuracy and user experience are improved.

CN119974911BActive Publication Date: 2025-10-03GREAT WALL MOTOR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510326464.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-19
Publication Date
2025-10-03
Estimated Expiration
2045-03-19

AI Technical Summary

Technical Problem

In the prior art, when the air guide plate of the air conditioner receives a closing command or a mode switching command, the target angle is inaccurate, causing the air guide plate to vibrate, causing wear on the air outlet motor and the air guide plate, and affecting the user experience.

Method used

By obtaining the message dispatch cycle and the time interval of braking requirements when the vehicle controls the air conditioning, combined with the initial angle and current swing speed of the air deflector, the target angle is accurately calculated. Taking into account software processing and transmission delays, a compensation angle is introduced to improve accuracy and ensure that the air deflector stops smoothly.

Benefits of technology

The accuracy of the angle control of the air guide plate of the air conditioner is improved, the reverse movement and shaking of the air guide plate are avoided, the service life of the air outlet motor and the air guide plate is extended, and the user experience is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119974911B_ABST
    Figure CN119974911B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, and vehicle for determining the angle of an air deflector for an air conditioner. The method comprises: if a braking demand is detected for the air deflector of the air conditioner in the vehicle, obtaining a first period, a second period, the initial angle of the air deflector, and the current swing speed; wherein the first period is used to represent the scheduling period of the message when the vehicle controls the air conditioner; the second period is a preconfigured time interval for the vehicle to determine the target angle corresponding to the braking demand; based on the first period and the current swing speed, a first angle is obtained; based on the second period and the current swing speed, a second angle is obtained; based on the first angle, the second angle, and the initial angle, a target angle is determined; wherein the target angle is used to control the braking of the air deflector. This method can accurately determine the target angle for braking when a braking demand is detected for the air deflector.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the automotive field, and more specifically, to a method and device for determining the angle of an air-conditioning air deflector in the field of vehicle control technology, and a vehicle. Background Art

[0002] With the advancement of vehicle control technology, vehicles are often equipped with air conditioning systems. The control accuracy of the air outlets in these systems has a negative impact on the user experience. In existing technologies, when the air conditioner receives a shutdown command or a mode switch command, it must send a target angle to the air deflector to move to that target angle. However, inaccurate target angles can cause the air outlet motor to reverse, causing the air deflector to vibrate, resulting in unnecessary wear and tear on the motor and the air deflector, and impacting the user experience.

[0003] Therefore, when it is detected that there is a need to brake the wind deflector, how to improve the accuracy of the target angle used for braking is a problem that needs to be solved urgently. Summary of the Invention

[0004] The present application provides a method for determining the angle of an air deflector of an air conditioner. The method can accurately determine the target angle of the air deflector for braking and stopping when it is detected that there is a need for braking the air deflector in the air conditioner.

[0005] In a first aspect, a method for determining an angle of an air guide plate of an air conditioner is provided, the method comprising:

[0006] If a braking demand is detected for the air deflector of the air conditioner in the vehicle, the first period, the second period, the initial angle and the current swing speed of the air deflector are obtained; wherein, the first period is used to represent the scheduling period of the message when the vehicle controls the air conditioner; the second period is a pre-configured time interval for the vehicle to determine the target angle corresponding to the braking demand; based on the first period and the current swing speed, the first angle is obtained; based on the second period and the current swing speed, the second angle is obtained; based on the first angle, the second angle and the initial angle, the target angle is determined; wherein, the target angle is used to control the braking of the air deflector.

[0007] In an embodiment of the present application, the scheduling cycle of the message when the vehicle controls the air conditioning and the time interval for the vehicle to determine the target angle corresponding to the braking requirement are obtained, and the target angle is determined based on the above scheduling cycle and time interval; since the air conditioning message scheduling cycle and the time interval for determining the target angle are taken into account when determining the target angle, the calculation delay and transmission delay of the software processing information can be taken into account, so a more accurate target angle can be determined, thereby improving the control accuracy, avoiding the reverse movement and shaking of the air guide plate, thereby preventing unnecessary wear on the air outlet motor and the air guide plate, and thus improving the user experience.

[0008] In conjunction with the first aspect, in some possible implementations, the method further includes:

[0009] Determine the compensation angle corresponding to the air deflector; determine the target angle based on the first angle, the second angle and the initial angle, including: determine the target angle based on the compensation angle, the first angle, the second angle and the initial angle.

[0010] In the embodiments of the present application, a compensation angle is introduced when determining the target angle to avoid angle deviations caused by other factors, thereby improving the accuracy of the target angle. This further improves the accuracy of the target angle, prevents reverse movement and vibration of the air deflector, and prevents unnecessary wear and tear on the air outlet motor and air deflector, thereby extending the life of the air conditioner and improving the user experience.

[0011] In combination with the first aspect and the above implementations, in some possible implementations, the present invention further includes:

[0012] Obtaining air deflector parameters; wherein the air deflector parameters include at least one of the ambient temperature, wear degree and swing angle range of the air deflector; determining a compensation angle corresponding to the air deflector, including: determining the compensation angle based on the air deflector parameters; wherein the ambient temperature is positively correlated with the compensation angle; the wear degree is positively correlated with the compensation angle; and the swing angle range is negatively correlated with the compensation angle.

[0013] In an embodiment of the present application, the compensation angle is determined based on the air guide plate parameters, and the compensation angle can be determined according to the current different environmental conditions and the state of the air guide plate, thereby improving the accuracy of the air guide plate in determining the target angle; since the accuracy of the target angle is improved, the reverse movement and shaking of the air guide plate can be avoided, and the wear of the air outlet motor and the air guide plate can be avoided, thereby improving the user experience.

[0014] In combination with the first aspect and the above implementations, in some possible implementations, determining the target angle based on the compensation angle, the first angle, the second angle, and the initial angle includes:

[0015] Based on the compensation angle, the first angle, the second angle and the initial angle, a first target angle is determined; if the first target angle is within the swing angle range of the air guide plate, the first target angle is determined as the target angle; if the first target angle is outside the swing angle range of the air guide plate, a second target angle is determined based on the first target angle and the swing angle range of the air guide plate, and the second target angle is determined as the target angle; wherein, the second target angle is within the swing angle range of the air guide plate.

[0016] In the embodiment of the present application, a determination is made as to whether the first target angle is within the swing angle range of the air deflector. If the first target angle exceeds the swing angle range, the first target angle is adjusted to ensure that the final target angle is within the swing angle range. By ensuring that the target angle is within the swing angle range, it is possible to prevent the air deflector angle from being out of control due to the target angle exceeding the swing angle range during the control process, thereby ensuring the smoothness of the subsequent air deflector control process and improving the user experience.

[0017] In combination with the first aspect and the above implementations, in some possible implementations, the present invention further includes:

[0018] Obtain a preset mapping relationship; wherein the preset mapping relationship is a mapping relationship between the angle of the air deflector and the step size of the target motor; determine the target step size based on the target angle and the preset mapping relationship; send the target step size to the target motor; wherein the target step size is used to control the movement of the air deflector to the target angle.

[0019] In the embodiment of the present application, since the target motor controls the movement of the air deflector in the air conditioner, the movement of the air deflector is controlled by the movement of the target motor. Therefore, in the above scheme, after determining the target angle, it is necessary to convert the angle into a step size to obtain the target step size; the target step size is then sent to the target motor to ensure that the target motor moves so that the air deflector moves to the target angle.

[0020] In combination with the first aspect and the above implementations, in some possible implementations, after controlling the target motor to run to the target step length, the method further includes:

[0021] When it is detected that the air deflector has stopped moving, the current angle of the air deflector is obtained; based on the current angle and the target angle, it is determined whether there is a deviation angle; if there is a deviation angle, the deviation step size is determined based on the deviation angle; and the deviation step size is sent to the target motor to swing the air deflector to the target angle.

[0022] In an embodiment of the present application, by detecting the current angle of the air deflector when it stops moving and comparing it with the target angle, the deviation angle caused by control errors or external factors can be identified and corrected in real time. Based on the deviation angle, the deviation step size is determined and sent to the target motor, so that the air deflector can be accurately adjusted to the target angle, ensuring the accuracy and stability of the control, avoiding angle deviations caused by external disturbances or internal control delays, and improving the adjustment accuracy of the air deflector. In addition, the dynamic adjustment of the deviation step size makes the control more flexible and efficient, further improving the energy efficiency and reliability of the air conditioning control system.

[0023] In combination with the first aspect and the above implementations, in some possible implementations, the present invention further includes:

[0024] Store the target step size or target angle; if it is detected that the vehicle state switches from the first vehicle state to the second vehicle state, send the target step size to the target motor again; wherein the first vehicle state is used to indicate a state in which the vehicle cannot drive the wind deflector to move; the second vehicle state is a state in which the vehicle can drive the wind deflector to move.

[0025] In an embodiment of the present application, the target step size or target angle is stored, and the control signal is resent when the vehicle state switches, which ensures that the air deflector promptly resumes the predetermined control strategy for adjustment under the preset state. When the vehicle switches from a first state in which the air deflector cannot be driven to a second state in which the air deflector can be driven, the angle of the air deflector can be automatically restored or continued to be adjusted, thereby avoiding control interruptions or errors caused by vehicle power failure or external factors. Since the control signal is resent when the vehicle state switches, the intelligence and responsiveness of the system are improved, ensuring that the vehicle air conditioner can achieve stable angle control under the preset state, thereby improving driving comfort.

[0026] In combination with the first aspect and the above implementations, in some possible implementations, the present invention further includes:

[0027] When detecting an air conditioner shutdown instruction or an air conditioner mode switching instruction, it is determined that there is a braking demand for the air deflector.

[0028] In an embodiment of the present application, by detecting the air conditioner's shutdown command or mode switching command, it is possible to determine whether there is a need for braking of the air deflector, thereby ensuring that the air deflector can stop moving or adjust its angle at the appropriate time. Since the braking need of the air deflector is determined based on the air conditioner's command, it is possible to prevent the air deflector from continuing to move when adjustment is not required, thereby reducing unnecessary energy consumption and mechanical wear. Through intelligent braking control, it is ensured that the air deflector can stop smoothly when the air conditioner mode changes or is turned off, avoiding mechanical shock or noise caused by sudden stops, thereby improving the owner's comfort experience and extending the service life of the system. The response speed and accuracy of the system are improved, while ensuring the normal operation of the air conditioner, energy use and system maintenance are optimized.

[0029] In a second aspect, a device for determining an angle of an air guide plate of an air conditioner is provided, the device comprising:

[0030] An acquisition module is configured to, upon detecting a braking demand for the air deflector of the vehicle's air conditioner, obtain a first period, a second period, the initial angle of the air deflector, and the current swing speed of the air deflector. The first period represents the scheduling period for messages used when the vehicle controls the air conditioner; the second period is a preconfigured time interval used by the vehicle to determine the target angle corresponding to the braking demand.

[0031] The processing module is used to obtain a first angle based on a first period and a current swing speed; obtain a second angle based on a second period and a current swing speed; and determine a target angle based on the first angle, the second angle and the initial angle; wherein the target angle is used to control the braking of the wind deflector.

[0032] It should be understood that the expansion, limitation, explanation and description of the relevant content in the above-mentioned first aspect also apply to the same content in the second aspect.

[0033] In a third aspect, a vehicle is provided, comprising a memory and a processor; the memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method for determining the angle of the air-conditioning air deflector in the above-mentioned first aspect or any possible implementation of the first aspect.

[0034] In a fourth aspect, a computer program product is provided, which includes: a computer program code, which, when running on a computer, enables the computer to execute the method for determining the angle of the air-conditioning air guide plate in the above-mentioned first aspect or any possible implementation of the first aspect.

[0035] In the fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method for determining the angle of the air-conditioning air guide plate in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 This is a schematic diagram of a vehicle air conditioning control scenario provided by an embodiment of the present application;

[0037] Figure 2 This is a system architecture diagram of a vehicle provided in an embodiment of the present application;

[0038] Figure 3 This is a schematic flow chart of a method for determining the angle of an air guide plate of an air conditioner provided in an embodiment of the present application;

[0039] Figure 4 is a schematic flow chart of another method for determining the angle of an air guide plate of an air conditioner provided in an embodiment of the present application;

[0040] Figure 5 This is a schematic structural diagram of a device for determining the angle of an air guide plate of an air conditioner provided in an embodiment of the present application;

[0041] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The following will clearly and thoroughly describe the technical solutions in this application in conjunction with the accompanying drawings. In the description of the embodiments of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of this application, "multiple" means two or more than two.

[0043] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0044] In order to illustrate the technical solutions provided by the embodiments of the present application, some terms involved in the embodiments of the present application are first introduced.

[0045] Air deflector: It can also be called a deflector, a swing blade, a fan blade, a blade, a wind swing, a fan blade, etc. It is used to control the flow of air inside the car. It is usually installed at the air outlet of the air conditioner. The direction of the air blowing can be controlled by adjusting the angle of the air deflector; Figure 1 As shown, the vehicle 100 may include an air outlet 110, a horizontal air guide plate 120 and a vertical air guide plate 130; wherein, the air outlet 110 is a physical channel in the vehicle for regulating and distributing airflow, and can deliver cold air, hot air or natural wind to the interior space of the vehicle; the horizontal air guide plate 120 can swing horizontally to adjust the horizontal wind flow direction; the vertical air guide plate 130 can swing longitudinally to adjust the vertical wind flow direction.

[0046] Target motor: It can also be called a stepper motor, a drive motor, an air outlet motor, etc. In this application, the target motor is used to control the movement of the air guide plate, and adjust the angle of the air guide plate through precise step control, thereby achieving the adjustment of the air flow direction in the vehicle.

[0047] Local Interconnect Network (LIN): LIN, LIN bus, LIN network, LIN communication protocol, etc., is a serial communication protocol that can be used for low-speed and low-bandwidth communication between devices. In an embodiment of the present application, the LIN network is used to connect multiple electronic control units (ECUs) in an onboard system with sensors, actuators, and other components in the vehicle. The communication structure of the LIN network can be a master-slave structure, where the master node can be responsible for scheduling communications, and the slave nodes can respond to commands from the master node.

[0048] Automotive Open System Architecture (AUTOSAR): AUTOSAR is an open, standardized automotive ECU software architecture that defines a unified software hierarchy and interfaces, enabling interoperability between hardware and software from multiple automakers and suppliers. It is divided into multiple layers: application layer, middle layer, and foundational software layer.

[0049] Application layer: also known as the software application layer, which is responsible for the implementation of specific automotive functions, such as air conditioning control, power control, in-car entertainment, advanced driver assistance, etc.

[0050] Middle layer: As an intermediary layer between the application layer and the underlying software, it is responsible for communication and data exchange.

[0051] Basic Software Layer (BSW): Also known as the bottom layer, it is responsible for interacting with the hardware and operating system, providing basic functions such as communication, diagnosis, memory management, etc. It can manage communication and data exchange between application components and ensure the flow of information.

[0052] Occupant Monitoring System (OMS): Typically consisting of a camera, this system is part of the vehicle's onboard systems and primarily monitors the behavior, status, and safety of vehicle occupants. Using cameras, sensors, and other equipment, the OMS monitors the driver and passengers in real time to identify safety risks such as driver fatigue and forgotten children. The system can provide driver assistance warnings and take preventative measures in emergencies, enhancing the safety of those inside the vehicle.

[0053] With the development of vehicle control technology, vehicles are often equipped with air-conditioning systems, and the control accuracy of the air outlets in the air-conditioning system affects the user experience. In the prior art, the air-conditioning outlets are generally used as LIN nodes controlled by the body control module, and different blowing angles can be achieved by determining the angle of the air-conditioning outlets. However, when the air conditioner receives a shutdown command or a mode switching command, the air-conditioning outlet needs to stop moving. The prior art controls the air outlet motor by sending the current angle value and a fixed angle value. However, due to the software processing delay time when determining the angle value, the air-conditioning air guide plate may move beyond the angle, causing the air outlet motor to reverse, and the air guide plate to vibrate, causing unnecessary wear on the air outlet motor and the air guide plate, affecting the user experience.

[0054] In view of this, the present application provides a method for determining the angle of an air-conditioning air guide plate, which can obtain the scheduling cycle of the message when the vehicle controls the air conditioning and the time interval used by the vehicle to determine the target angle corresponding to the braking requirement, and determine the target angle based on the above scheduling cycle and time interval; since the air-conditioning message scheduling cycle and the time interval for determining the target angle are taken into account when determining the target angle, the calculation delay and transmission delay of the software processing information can be taken into account, thereby improving the control accuracy; since the current swing speed is taken into account when determining the target angle, the target angle can be accurately calculated based on the current swing speed and delay, avoiding the reverse movement and shaking of the air guide plate, thereby preventing unnecessary wear on the air outlet motor and the air guide plate, and at the same time avoiding the angle at which the air guide plate stops moving being too large, thereby improving the user experience.

[0055] The following combination Figure 2 A system architecture diagram of a vehicle provided in an embodiment of the present application is described in detail.

[0056] Figure 2 : is a schematic diagram of a vehicle system architecture provided by an embodiment of the present application; Figure 2 As shown, the vehicle 200 may include a domain controller 210 , an air conditioning module 220 , and an air outlet motor controller 230 ;

[0057] The vehicle 200 may be an electric vehicle, a hybrid vehicle, or a fuel vehicle; this embodiment of the present application does not limit this.

[0058] The domain controller 210 can be an air-conditioning domain controller, a body control module, an intelligent cockpit domain controller or a vehicle central domain controller. It is an electronic control unit in the vehicle and can be used to manage the vehicle air-conditioning module. Specifically, it can include the adjustment of temperature, humidity, wind speed, wind direction and the angle of the air deflector; it can determine the target angle of the air deflector by receiving data sent by the air outlet motor controller or sensor.

[0059] The air conditioning module 220 may include modules such as an air outlet, an air guide plate, an air outlet motor, and an air outlet motor controller, which are used to control the air outlet or the air guide plate to achieve functions according to user instructions or automatic control logic.

[0060] The air outlet motor controller 230 is an execution unit that directly drives the stepper motor. It is responsible for receiving the control command from the domain controller 210 and controlling the motor execution to move the air guide plate to the target angle.

[0061] The following combination Figure 3 A method for determining the angle of an air guide plate of an air conditioner provided in an embodiment of the present application is described in detail.

[0062] Figure 3It is a schematic flowchart of a method for determining the angle of an air guide plate of an air conditioner provided in an embodiment of the present application; method 300 includes S310 to S340, and S310 to S340 are described in detail below.

[0063] For example, Figure 3 The method 300 for determining the angle of the air-conditioning air guide plate shown can be executed by the vehicle; or, by a head unit (HUT) in the vehicle; or, by a processor in the vehicle; or, by a chip in the processor mounted in the vehicle.

[0064] S310: If it is detected that a braking demand exists for an air deflector of the air conditioner in the vehicle, obtain a first cycle, a second cycle, an initial angle, and a current swing speed of the air deflector.

[0065] In an embodiment of the present application, when it is detected that there is a braking demand for the air deflector, the body control module obtains the first cycle, the second cycle, the angle and the swing speed of the air deflector at that moment.

[0066] For example, when a braking demand for the air deflector is detected, a sensor configured at the air-conditioning outlet or an air outlet motor controller obtains the current angle and current swing speed of the air deflector and sends them to the body control module or the domain controller.

[0067] For example, the application software may dynamically detect the current position of the electric air outlet and determine the initial angle based on the current position.

[0068] In one implementation, the method further includes:

[0069] When detecting an air conditioner shutdown instruction or an air conditioner mode switching instruction, it is determined that there is a braking demand for the air deflector.

[0070] Exemplarily, when it is detected that the user issues an instruction to turn off the air conditioner, it is determined that there is a braking demand for the air deflector.

[0071] Exemplarily, when it is detected that the user issues an instruction to turn off the air sweeping function of the air conditioner, it is determined that there is a braking demand for the air deflector.

[0072] For example, upon detecting a switch in the air conditioning mode, it is determined that a deflector in the air conditioner needs to be braked. For example, upon detecting a user command to switch the air conditioning mode to foot-blowing mode, it is determined that a deflector needs to be braked. Upon detecting a user command to switch the air conditioning mode to foot-blowing mode, the first cycle, the second cycle, the initial angle of the deflector, and the current swing speed are obtained to determine a target angle.

[0073] It should be noted that the instruction can be determined by detecting the operating status of a touch component, a physical button, or a physical knob in the touch screen, or by detecting a voice instruction issued by a user.

[0074] In the above implementation, by detecting the air conditioner's shutdown command or mode switching command, it is possible to determine whether the air deflector needs to be braked, thereby ensuring that the air deflector can stop moving or adjust its angle at the appropriate time. Since the braking demand of the air deflector is determined based on the air conditioner's command, it can be avoided that the air deflector continues to move when adjustment is not required, reducing unnecessary energy consumption and mechanical wear. Through intelligent braking control, it is ensured that the air deflector can stop smoothly when the air conditioner mode changes or is turned off, avoiding mechanical shock or noise caused by sudden stops, thereby improving the owner's comfort experience and extending the service life of the system. The system's response speed and accuracy are improved, while ensuring the normal operation of the air conditioner, it optimizes energy use and system maintenance.

[0075] It should be noted that the air guide plate of the air conditioner may include a horizontal air guide plate and a vertical air guide plate, such as Figure 1 As shown; the horizontal wind guide plate 120 can be swung in the horizontal direction to achieve left and right wind sweeping; the vertical wind guide plate 130 can be swung in the vertical direction to achieve up and down wind sweeping.

[0076] In an embodiment of the present application, the horizontal air guide plate 120 and the vertical air guide plate 130 each correspond to an air outlet motor, and the two air outlet motors are controlled by different air outlet motor controllers. When it is determined that there is a braking requirement for the air guide plate in the air conditioner, each air outlet motor controller sends the initial angle and current swing speed of the air guide plate to the domain controller or the body control module respectively. The domain controller or the body control module determines the target angles of the horizontal air guide plate 120 and the vertical air guide plate 130, and sends them to the air outlet motor controllers corresponding to the air guide plates, so that each air outlet motor controls the corresponding air guide plate to move to the target angle.

[0077] For example, it is assumed that the air outlet motor corresponding to the horizontal air guide plate 120 is motor 1, and the air outlet motor controller corresponding to motor 1 is motor controller 1; the air outlet motor corresponding to the vertical air guide plate 130 is motor 2, and the air outlet motor controller corresponding to motor 2 is motor controller 2. When it is detected that there is a braking demand for the air guide plate, the motor controller 1 sends the initial angle and current swing speed of the horizontal air guide plate 120 to the domain controller, and the motor controller 2 sends the initial angle and current swing speed of the vertical air guide plate 130 to the domain controller; the domain controller calculates the target angle of the horizontal air guide plate 120 and the target angle of the vertical air guide plate 130 respectively, and after the calculation is completed, sends the target angle of the horizontal air guide plate 120 to the motor controller 1, and sends the target angle of the vertical air guide plate 130 to the motor controller 2; after receiving the target angle of the horizontal air guide plate 120, the motor controller 1 controls the movement of the motor 1 to make the horizontal air guide plate 120 run to the target angle of the horizontal air guide plate 120; the motor controller 2 receives the target angle of the vertical air guide plate 130, and controls the movement of the motor 2 to make the vertical air guide plate 130 run to the target angle of the vertical air guide plate 130.

[0078] In another embodiment, the horizontal air guide plate 120 and the vertical air guide plate 130 respectively correspond to an air outlet motor, and the two air outlet motors are controlled by the same air outlet motor controller. When it is determined that there is a braking requirement for the air guide plate in the air conditioner, the air outlet motor controller sends the initial angle and current swing speed of the horizontal air guide plate 120 and the vertical air guide plate 130 to the domain controller or the body control module. The domain controller or the body control module determines the target angle of the horizontal air guide plate 120 and the vertical air guide plate 130, and sends it to the air outlet motor controller. The air outlet motor controller controls the two air outlet motors to move so that the horizontal air guide plate 120 and the vertical air guide plate 130 move to their respective target angles.

[0079] For example, it is assumed that the outlet motor corresponding to the horizontal air guide plate 120 is motor 1, and the outlet motor corresponding to the vertical air guide plate 130 is motor 2, and both motor 1 and motor 2 are controlled by the air outlet controller. When it is detected that there is a braking demand for the air guide plate, the air outlet controller sends the initial angle and current swing speed of the horizontal air guide plate 120 and the vertical air guide plate 130 to the domain controller; the domain controller calculates the target angle of the horizontal air guide plate 120 and the target angle of the vertical air guide plate 130 respectively, and after the calculation is completed, sends the target angle of the horizontal air guide plate 120 and the target angle of the vertical air guide plate 130 to the air outlet motor controller; the air outlet motor controller receives the target angle of the horizontal air guide plate 120 and the target angle of the vertical air guide plate 130; the air outlet motor controller controls the movement of motor 1 to make the horizontal air guide plate 120 move to the target angle of the horizontal air guide plate 120, and controls the movement of motor 2 to make the vertical air guide plate 130 move to the target angle of the vertical air guide plate 130.

[0080] It should be understood that the air-conditioning module in the vehicle may include multiple air outlets. For example, air outlets may be provided below the central control screen and in the rear row.

[0081] In one embodiment, the method for determining the angle of the air-conditioning air guide plate can be independently controlled and executed by multiple air outlets, that is, the domain controller can assign an independent control thread to each air outlet, calculate its target angle respectively, and send the target angle corresponding to each air outlet to the air outlet motor controller configured for each air outlet to control the air guide plate of each air outlet to move to its corresponding target angle, that is, the target angles of the air guide plates of each air outlet may be inconsistent.

[0082] In one embodiment, the method for determining the angle of the air guide plate of the air conditioner can be executed by collaborative control of multiple air outlets, that is, the domain controller calculates the target angle of the air guide plate and sends the target angle to the air outlet motor controller of each air outlet to control the air guide plates of all air outlets to move to the target angle.

[0083] S320: Obtain a first angle based on the first period and the current swing speed.

[0084] Among them, the first cycle is used to represent the scheduling period of the message when the vehicle controls the air conditioning. The duration of the message transmission between the slave node and the master node in the LIN network is the scheduling period of the LIN message. In the embodiment of the present application, the first cycle is recorded as T1.

[0085] In an embodiment of the present application, when a braking demand for the air deflector is detected, the body control module or domain controller needs to receive information from a sensor configured for the air conditioning outlet or the air outlet motor controller to obtain the current angle and current swing speed of the air deflector. After determining the target angle based on the first cycle, the second cycle, the initial angle of the air deflector, and the current swing speed, the target angle is sent to the air outlet motor controller. Considering the time it takes for the body control module or domain controller to receive the message and send the message to the air outlet motor controller, the scheduling period of the LIN message needs to be considered when determining the target angle.

[0086] For example, considering the time it takes for the body control module or domain controller to receive a message and send it to the air outlet motor controller, the first angle can be equal to twice the product of the first period and the current swing speed, that is, P1 = 2T1 × v, where P1 is the first angle and v is the current swing speed. This method of determining the first angle is equivalent to calculating the swing angle of the air deflector during the total 2T1 period, from the time T1 when the air outlet motor controller sends the message containing the initial angle and current swing speed to the body control module, and the time T1 when the body control module sends the message indicating the target angle to the air outlet motor controller.

[0087] In one implementation, the current swing speed may be expressed in degrees per millisecond; that is, the current swing speed may be used to represent the swing angle of the air deflector per unit time. The swing angle within the preset time may be obtained by multiplying the current swing speed by the preset time.

[0088] For example, when the current swing speed is equal to 1 degree per millisecond, the wind deflector swings at an angle of 1 degree per millisecond. The swing duration is 5 milliseconds, resulting in a swing angle of 5 degrees.

[0089] In another implementation, the current swing speed may be expressed in steps per millisecond; that is, the current swing speed may be used to represent the number of steps the stepper motor moves per unit time. For example, when the current swing speed is 1, the stepper motor moves 1 step per millisecond.

[0090] For example, when the current swing speed is in steps per millisecond, the first step number can be obtained based on the first period and the current swing speed. The first angle can be obtained based on the mapping relationship between the first step number, the deflector angle, and the step number of the stepper motor.

[0091] For example, based on Q1=2T1×v, the number of steps Q1 of the stepper motor movement within 2T1 time can be obtained; wherein Q1 is the first step, T1 is the first period, and v is the current swing speed. Based on the mapping relationship between the step Q1 and the wind guide plate angle and the step number of the stepper motor, the first angle P1 is obtained.

[0092] In one embodiment, when a braking demand for the air deflector is detected, the body control module or the domain controller sends a preset swing speed to the air outlet motor controller, so that the air outlet motor controller controls the air deflector to move at the preset swing speed.

[0093] It should be noted that the preset swing speed is smaller than the current swing speed.

[0094] For example, when the air conditioning off command is detected, the body control module sends a preset swing speed to the air outlet motor controller while calculating the first angle. At this time, the calculation of the first angle needs to take into account the preset swing speed. The first angle can be equal to the product of the first period and the current swing speed, and the sum of the product of the first period and the preset swing speed, that is, P1 = T1×v+T1×v0; where P1 is the first angle, T1 is the first period, v is the current swing speed, and v0 is the preset swing speed.

[0095] For example, when the current swing speed is steps per millisecond, the number of steps Q1 of the stepper motor movement within 2T1 time can be obtained based on Q1=T1×v+T1×v0; wherein T1 is the first period and v is the current swing speed; based on the mapping relationship between the number of steps Q1, the angle of the air guide plate and the number of steps of the stepper motor, the first angle P1 is obtained.

[0096] S330: Obtain a second angle based on the second period and the current swing speed.

[0097] The second period is a pre-configured time interval for the vehicle to determine a target angle corresponding to a braking demand. In the embodiment of the present application, the second period is recorded as T2.

[0098] In the embodiment of the present application, within the vehicle software processing structure, the target angle is calculated by the application layer. The application layer performs the calculation task in a period of T2, which can be understood as the application layer policy function running the calculation once every T2. After the application layer completes the target angle calculation, it sends the target angle value to the underlying layer. The underlying layer software then sends the target angle value to the LIN bus based on the scheduling period. Considering the time it takes the application layer to calculate the target angle value, the time it takes the application layer to perform the calculation task, T2, needs to be taken into account when determining the target angle.

[0099] For example, considering the time it takes the application layer to calculate the target angle, the second angle can be equal to the product of the second period and the current swing speed, that is, P2 = T2 × v, where P2 is the second angle and v is the current swing speed. This method of determining the second angle is equivalent to calculating the wind deflector's swing angle during the time T2 required to calculate the target angle in the body control module.

[0100] In another embodiment, when the unit of the current swing speed is steps per millisecond, the second number of steps can be obtained based on the second period and the current swing speed.

[0101] For example, based on Q2 = T2 × v, where Q2 is the first step, T2 is the first period, and v is the current swing speed, the second angle P2 is obtained based on the mapping relationship between the step number Q2, the deflector angle, and the step number of the stepper motor. In one embodiment, when a braking demand for the deflector is detected, the body control module or domain controller sends a preset swing speed to the air outlet motor controller, causing the air outlet motor controller to control the air deflector to move at the preset swing speed.

[0102] For example, when the air conditioning off command is detected, the body control module sends a preset swing speed to the air outlet motor controller while calculating the first angle and the second angle. At this time, the calculation of the first angle and the second angle needs to take into account the preset swing speed. The second angle can be equal to the product of the second period and the preset swing speed, that is, P2 = T2 × v0; where P2 is the first angle, T2 is the first period, v is the current swing speed, and v0 is the preset swing speed.

[0103] For example, when the current swing speed is steps per millisecond, the second angle P2 can be obtained based on Q2=T2×v0; where Q2 is the first step, T2 is the first period, and v is the current swing speed; based on the mapping relationship between the step number Q2 and the wind guide plate angle and the step number of the stepper motor.

[0104] S340: Determine a target angle based on the first angle, the second angle, and the initial angle.

[0105] In an embodiment of the present application, the first angle takes into account the angle of movement of the air deflector during the transmission delay, and the second angle takes into account the angle of movement of the air deflector during software calculation. The target angle of the air deflector can be determined based on the first angle, the second angle and the initial angle.

[0106] Exemplarily, the target angle may be equal to the sum of the first angle, the second angle and the initial angle, that is, P=P1+P2+P0; wherein P0 is the initial angle, P1 is the first angle, and P2 is the second angle.

[0107] In one implementation, the method further includes:

[0108] Determine the compensation angle corresponding to the air deflector; determine the target angle based on the first angle, the second angle and the initial angle, including: determine the target angle based on the compensation angle, the first angle, the second angle and the initial angle.

[0109] Exemplarily, the target angle can be equal to the sum of the compensation angle, the first angle, the second angle and the initial angle, that is, P=P3+P1+P2+P0; where P0 is the initial angle, P1 is the first angle, P2 is the second angle, and P3 is the compensation angle.

[0110] In the above implementation, the inclusion of a compensation angle when determining the target angle can be used to avoid angle deviations caused by other factors, thereby improving the accuracy of the target angle. This further improved target angle accuracy prevents reverse movement and vibration of the air deflector, preventing unnecessary wear on the air outlet motor and air deflector, thereby extending the air conditioner's service life and improving the user experience.

[0111] In one implementation, the method further includes:

[0112] Obtaining air deflector parameters; determining a compensation angle corresponding to the air deflector, including: determining the compensation angle based on the air deflector parameters.

[0113] Among them, the air guide plate parameters include at least one of the ambient temperature, wear degree and swing angle range of the air guide plate; the ambient temperature is positively correlated with the compensation angle; the wear degree is positively correlated with the compensation angle; and the swing angle range is negatively correlated with the compensation angle.

[0114] In the embodiments of this application, a compensation angle P3 is set to account for the impact of parameters such as the air deflector's temperature and mechanical characteristics on the stepper motor and air deflector. This compensates for angle differences caused by varying temperatures, wear levels, and the air deflector's swing angle range. The compensation angle is determined based on the air deflector parameters obtained, and the target angle is determined based on the compensation angle, the first angle, the second angle, and the initial angle.

[0115] For example, rising temperature causes the deflector material to expand, reducing the gap between the deflectors. This can affect the deflector's swing angle, causing the actual swing angle to be less than the target angle. Therefore, ambient temperature is positively correlated with the compensation angle: higher temperatures correspond to larger compensation angles.

[0116] For example, if the ambient temperature is detected to be 25 degrees, the compensation angle is determined to be 1 degree; if the ambient temperature is detected to be 30 degrees, the compensation angle is determined to be 2 degrees.

[0117] Optionally, a mapping relationship between the ambient temperature and the compensation angle can be preset, and the compensation angle can be determined based on the mapping relationship and the ambient temperature; the mapping relationship can include a linear mapping relationship or a nonlinear mapping relationship; for example, the mapping relationship can be a linear mapping relationship, P3=n3×K; wherein P3 is the compensation angle, K is the ambient temperature, and n3 is the preset parameter value; or P3=n3×(K-K0); wherein P3 is the compensation angle, K is the ambient temperature, n3 is the preset parameter value, and K0 is the preset temperature.

[0118] In one embodiment, the compensation angle may be determined based on the air outlet temperature currently set by the air conditioner, and the air outlet temperature is positively correlated with the compensation angle.

[0119] For example, the current outlet temperature of the air conditioner is obtained. For example, if the current outlet temperature is detected to be 25 degrees, the compensation angle is determined to be 1 degree; if the current outlet temperature is detected to be 30 degrees, the compensation angle is determined to be 2 degrees.

[0120] Optionally, a mapping relationship between the current air outlet temperature and the compensation angle may be preset, and the compensation angle may be determined based on the mapping relationship and the ambient temperature.

[0121] For example, long-term use of a vehicle may cause some mechanical structures of the stepper motor and the air deflector to loosen, and the stepper motor may not be able to move according to the number of steps and step length received by the motor controller. There may be a situation where the step length of each step of the operation is less than the preset step length. Therefore, the compensation angle can be determined based on the degree of wear. The degree of wear is positively correlated with the compensation angle. The greater the degree of wear, the larger the corresponding value of the compensation angle.

[0122] Optionally, when the degree of wear of some vehicles is small, the mechanical structure of the stepper motor and the air deflector is tight, resulting in the step length of each step of the stepper motor being smaller than the preset step length. Therefore, the compensation angle can be determined based on the degree of wear. The degree of wear is negatively correlated with the compensation angle. The smaller the degree of wear, the larger the corresponding value of the compensation angle.

[0123] For example, the actual step length of the stepper motor can be detected and compared with the preset step length, the actual step length of the movement can be recorded each time or sampled, and the degree of wear of the stepper motor can be determined based on the difference between the actual step length and the preset step length.

[0124] For example, the degree of wear may be determined based on abnormal noise, current, voltage, power, or mechanical friction value when the stepper motor is running.

[0125] For example, the degree of wear may be determined based on vehicle usage time or air conditioning on-time.

[0126] In the above implementation method, the compensation angle is determined based on the air guide plate parameters, and the compensation angle can be determined according to the current different environmental conditions and the state of the air guide plate, thereby improving the accuracy of the air guide plate in determining the target angle; since the accuracy of the target angle is improved, the reverse movement and shaking of the air guide plate can be avoided, and the wear of the air outlet motor and the air guide plate can be avoided, thereby improving the user experience.

[0127] In one implementation, the method includes:

[0128] Based on the compensation angle, the first angle, the second angle and the initial angle, a first target angle is determined; if the first target angle is within the swing angle range of the air guide plate, the first target angle is determined as the target angle; if the first target angle is outside the swing angle range of the air guide plate, a second target angle is determined based on the first target angle and the swing angle range of the air guide plate, and the second target angle is determined as the target angle.

[0129] The second target angle is within the swing angle range of the air guide plate.

[0130] In an embodiment of the present application, the compensation angle, the first angle, the second angle and the initial angle are used to determine the first target angle, and the target angle is determined by judging whether the first target angle exceeds the swing angle range of the wind guide plate; if not, the first target angle is determined as the non-target angle; if exceeded, the target angle is determined based on the first target angle and the swing angle range.

[0131] For example, the first target angle may be equal to the sum of the compensation angle, the first angle, the second angle and the initial angle, that is, P 01=P3+P1+P2+P0; where P0 is the initial angle, P1 is the first angle, P2 is the second angle, P3 is the compensation angle, P 01 is the first target angle. If P is calculated 01 The value is 45 degrees, and the swing angle range of the wind deflector is 0 degrees to 60 degrees, then 45 degrees is determined as the target angle; if the calculated P 01 The value is 90 degrees, and the swing angle range of the wind deflector is 0 degrees to 60 degrees. 01 The maximum value of the swing angle range is subtracted from the value of , that is, 30 degrees is determined as the target angle.

[0132] In the above implementation, a determination is made as to whether the first target angle is within the swing angle range of the air deflector. If the first target angle exceeds the swing angle range, the first target angle is adjusted to ensure that the final target angle is within the swing angle range. Ensuring that the target angle is within the swing angle range prevents the air deflector angle from being out of control due to the target angle exceeding the swing angle range during the control process, ensuring smoothness of the subsequent air deflector control process and thus improving the user experience.

[0133] In one implementation, the method further includes:

[0134] Obtain a preset mapping relationship; determine a target step length based on the target angle and the preset mapping relationship; and send the target step length to the target motor.

[0135] Among them, the preset mapping relationship is the mapping relationship between the angle of the air guide plate and the step size of the target motor; the target step size is used to control the movement of the air guide plate to the target angle; and the target motor is the stepper motor of the air outlet.

[0136] In an embodiment of the present application, the stepper motor may receive a target step length sent by the vehicle body control module, and move the wind deflector to a target angle by moving the target step length.

[0137] Exemplarily, there is a mapping relationship between the step size and the swing angle; for example, the swing angle range of the air guide plate is 0 degrees to 180 degrees, and the corresponding step size range of the stepper motor is 0 steps to 2000 steps; when the stepper motor moves to 1000 steps, the swing angle of the air guide plate is 90 degrees.

[0138] For example, it is assumed that the air outlet motor corresponding to the horizontal air guide plate 120 is motor 1, and the air outlet motor controller corresponding to motor 1 is motor controller 1; the air outlet motor corresponding to the vertical air guide plate 130 is motor 2, and the air outlet motor controller corresponding to motor 2 is motor controller 2. When it is detected that there is a braking demand for the air guide plate, the motor controller 1 sends the initial angle and current swing speed of the horizontal air guide plate 120 to the domain controller, and the motor controller 2 sends the initial angle and current swing speed of the vertical air guide plate 130 to the domain controller; the domain controller calculates the target angle of the horizontal air guide plate 120 and the target angle of the vertical air guide plate 130 respectively, and after the calculation is completed, determines the corresponding target step length based on the mapping relationship between the swing angle and the step length, and sends the target step length of the horizontal air guide plate 120 to the motor controller 1, and sends the target step length of the vertical air guide plate 130 to the motor controller 2; after receiving the target step length corresponding to the horizontal air guide plate 120, the motor controller 1 controls the motor 1 to move to the target step length so that the horizontal air guide plate 120 runs to the target angle of the horizontal air guide plate 120; the motor controller 2 receives the target step length corresponding to the vertical air guide plate 130, and controls the motor 2 to move to the target step length so that the vertical air guide plate 130 runs to the target angle of the vertical air guide plate 130. For example, it is assumed that the outlet motor corresponding to the horizontal air guide plate 120 is motor 1, and the outlet motor corresponding to the vertical air guide plate 130 is motor 2, and both motor 1 and motor 2 are controlled by the air outlet controller. When it is detected that there is a braking demand for the air guide plate, the air outlet controller sends the initial angle and current swing speed of the horizontal air guide plate 120 and the vertical air guide plate 130 to the domain controller; the domain controller calculates the target angle of the horizontal air guide plate 120 and the target angle of the vertical air guide plate 130 respectively, and after the calculation is completed, determines the corresponding target step length based on the mapping relationship between the swing angle and the step length, and sends the target step length of motor 1 and the target step length of motor 2 to the air outlet motor controller; the air outlet motor controller controls motor 1 to move to the target step length of motor 1, so that the horizontal air guide plate 120 moves to the target angle of the horizontal air guide plate 120, and controls motor 2 to move to the target step length of motor 2, so that the vertical air guide plate 130 moves to the target angle of the vertical air guide plate 130.

[0139] It should be understood that the stepper motor drives the air guide plate to move. Therefore, after the target angle is calculated at the application layer, the target step length needs to be determined based on the mapping relationship between the swing angle and the step length, and the target step length is sent to the air outlet motor controller.

[0140] In another embodiment, the unit of the current swing speed is steps per millisecond, and the first step number can be obtained based on the first period and the current swing speed; the second step number can be obtained based on the second period and the current swing speed; the body control module can obtain the initial step number and the compensation step number; based on the initial step number, the compensation step number, the first step number and the second step number, the target step number is determined; and the target step number is sent to the motor controller.

[0141] In the above implementation method, the target step size is determined based on the preset mapping relationship and the target angle, and the target step size is sent to the air outlet motor of the air conditioner. The target step size of the air outlet motor corresponding to the target angle of the air guide plate can be determined, so that when the air outlet motor controls the movement of the air guide plate, it can accurately brake at the target angle, thereby improving the control accuracy.

[0142] In one implementation, the method further includes:

[0143] When it is detected that the air deflector has stopped moving, the current angle of the air deflector is obtained; based on the current angle and the target angle, it is determined whether there is a deviation angle; if there is a deviation angle, the deviation step size is determined based on the deviation angle; and the deviation step size is sent to the target motor to swing the air deflector to the target angle.

[0144] In the embodiments of this application, wear of air conditioner-related components may cause the stepper motor to be unable to control the air deflector to swing to the target angle. This means that the stepper motor completes control according to the control logic and target step size, but the actual position of the air deflector is not at the target angle. To address this situation, a dynamic monitoring and calibration function is provided. When the air deflector stops moving, the current angle of the air deflector is determined, and whether there is a deviation between the current angle and the target angle. If there is a deviation, a deviation step size is determined based on the deviation angle and sent to the stepper motor to swing the air deflector to the target angle.

[0145] For example, a vehicle could be equipped with an OMS system, which uses a camera in the OMS to dynamically monitor the current angle of the air conditioning vents. If the target angle differs from the current angle, the system controls the corresponding vents for adjustment. Dynamic monitoring is performed until the vents are detected to have reached the target angle. The OMS camera dynamically monitors the air outlet angle and verifies it against the actual operating angle to prevent errors caused by differences between the moving angle and the desired angle.

[0146] In the above implementation, by detecting the current angle of the air deflector when it stops moving and comparing it with the target angle, deviation angles caused by control errors or external factors can be identified and corrected in real time. By determining the deviation step size based on the deviation angle and sending it to the target motor, the air deflector can be precisely adjusted to the target angle, ensuring control accuracy and stability, avoiding angle deviations caused by external disturbances or internal control delays, and improving the adjustment accuracy of the air deflector. Furthermore, the dynamic adjustment of the deviation step size makes control more flexible and efficient, further improving the energy efficiency and reliability of the air conditioning control system.

[0147] In one implementation, the method further includes:

[0148] The target step length or target angle is stored; if a switch from the first vehicle state to the second vehicle state is detected, the target step length is sent to the target motor again.

[0149] Among them, the first vehicle state is used to indicate a state in which the vehicle cannot drive the wind deflector to move, for example, it is detected that the vehicle is powered off or is unable to drive the wind deflector to move due to external force; the second vehicle state is a state in which the vehicle can drive the wind deflector to move, for example, it is detected that the vehicle is powered on and can drive the wind deflector to move.

[0150] For example, the target angle can be stored in an Electrically Erasable Programmable Read-Only Memory (EEPROM), and when it is detected that the vehicle is powered off during the process of controlling the air deflector to move to the target angle, the target angle is called out after the power is restored, and the air deflector is controlled to move to the target angle position.

[0151] In the above implementation, the target step size or target angle is stored, and the control signal is resent when the vehicle state switches, which ensures that the air deflector can promptly resume the predetermined control strategy and make adjustments in the preset state. When the vehicle switches from a first state in which the air deflector cannot be driven to a second state in which the air deflector can be driven, the angle of the air deflector can be automatically restored or continued to be adjusted, thereby avoiding control interruptions or errors caused by vehicle power failure or external factors. Since the control signal is resent when the vehicle state switches, the intelligence and responsiveness of the system are improved, ensuring that the vehicle air conditioner can achieve stable angle control in the preset state, thereby improving driving comfort.

[0152] In the above scheme, the scheduling cycle of the message when the vehicle controls the air conditioning and the time interval used by the vehicle to determine the target angle corresponding to the braking demand are obtained, and the target angle is determined based on the above scheduling cycle and time interval; since the air conditioning message scheduling cycle and the time interval for determining the target angle are taken into account when determining the target angle, the calculation delay and transmission delay of the software processing information can be taken into account, thereby improving the control accuracy; since the current swing speed is taken into account when determining the target angle, the target angle can be accurately calculated based on the current swing speed and delay, avoiding the reverse movement and shaking of the air guide plate, thereby preventing unnecessary wear on the air outlet motor and the air guide plate, and thus improving the user experience.

[0153] The following takes the detection of the air conditioner shutdown command as an example, combined with Figure 4 Another method for determining the angle of an air-conditioning air guide plate provided in an embodiment of the present application is described in detail.

[0154] Figure 4This is a schematic flow chart of another method for determining the angle of an air-conditioning air guide plate provided in an embodiment of the present application. Figure 4 As shown, the method 400 includes S401 to S415, and S401 to S415 are described in detail below.

[0155] For example, Figure 4 The method 400 for determining the angle of the air-conditioning deflector shown may be executed by a vehicle; or, executed by a processor in a vehicle; or, executed by a chip in a processor mounted in a vehicle.

[0156] S401: Detect an air conditioner off command and obtain an initial angle and current swing speed of the air guide plate.

[0157] In an embodiment of the present application, when it is detected that there is a braking demand for the air deflector, the body control module obtains the first cycle, the second cycle, the angle and the swing speed of the air deflector at that moment.

[0158] Optionally, when an air conditioner shutdown command or an air conditioner mode switching command is detected, it is determined that there is a braking demand for the air deflector, and the initial angle and current swing speed of the air deflector are obtained.

[0159] Optionally, the implementation of S401 can be found in Figure 3 The description of the implementation method in S310 will not be repeated here.

[0160] S402: Determine a first angle based on the current swing speed and the first period.

[0161] For example, considering the time it takes for the body control module or domain controller to receive a message and send it to the air outlet motor controller, the first angle can be equal to twice the product of the first period and the current swing speed, that is, P1 = 2T1 × v, where P1 is the first angle and v is the current swing speed. This method of determining the first angle is equivalent to calculating the swing angle of the air deflector during the total 2T1 period, from the time T1 when the air outlet motor controller sends the message containing the initial angle and current swing speed to the body control module, and the time T1 when the body control module sends the message indicating the target angle to the air outlet motor controller.

[0162] Optionally, the implementation of S402 can be found in Figure 3 The relevant description of the implementation method in S320 will not be repeated here.

[0163] S403: Determine a second angle based on the current swing speed and the second period.

[0164] For example, considering the time it takes the application layer to calculate the target angle, the second angle can be equal to the product of the second period and the current swing speed, that is, P2 = T2 × v, where P2 is the second angle. This method of determining the second angle is equivalent to calculating the wind deflector's swing angle during the time T2 required by the body control module to calculate the target angle.

[0165] Optionally, the implementation of S403 can be found in Figure 3 The relevant description of the implementation method in S330 will not be repeated here.

[0166] S404: Determine a compensation angle based on the air guide plate parameters.

[0167] In the embodiments of this application, a compensation angle P3 is set to account for the impact of parameters such as the air deflector's temperature and mechanical characteristics on the stepper motor and air deflector. This compensates for angle differences caused by varying temperatures, wear levels, and the air deflector's swing angle range. The compensation angle is determined based on the air deflector parameters obtained, and the target angle is determined based on the compensation angle, the first angle, the second angle, and the initial angle.

[0168] Optionally, the implementation of S404 can be found in Figure 3 The relevant description in S340 will not be repeated here.

[0169] S405: Determine a first target angle based on the initial angle, the first angle, the second angle, and the compensation angle.

[0170] For example, the first target angle may be equal to the sum of the compensation angle, the first angle, the second angle and the initial angle, that is, P 01 =P3+P1+P2+P0; where P0 is the initial angle, P1 is the first angle, P2 is the second angle, P3 is the compensation angle, P 01 is the first target angle.

[0171] Optionally, the implementation of S405 can be found in Figure 3 The relevant description in S340 will not be repeated here.

[0172] S406: Determine whether the first target angle exceeds the swing angle range; if so, execute S407; if not, execute S408.

[0173] In an embodiment of the present application, if it is detected that the first target angle exceeds the swing angle range, it is necessary to adjust based on the first target angle and the swing angle range, and execute S407; if it does not exceed the swing angle range, the value of the first target angle is directly determined as the target angle, and execute S408.

[0174] S407: Determine the value obtained by subtracting the maximum swing angle from the first target angle as the target angle.

[0175] For example, if P is calculated 01 The value is 90 degrees, and the swing angle range of the wind deflector is 0 degrees to 60 degrees. 01 The maximum value of the swing angle range is subtracted from the value of , that is, 30 degrees is determined as the target angle.

[0176] Optionally, the implementation of S407 can be found in Figure 3 The relevant description in S340 will not be repeated here.

[0177] S408: Determine the value of the first target angle as the target angle.

[0178] For example, the first target angle may be equal to the sum of the compensation angle, the first angle, the second angle and the initial angle, that is, P 01 =P3+P1+P2+P0; where P0 is the initial angle, P1 is the first angle, P2 is the second angle, P3 is the compensation angle, P 01 is the first target angle. If P is calculated 01 The value of is 45 degrees, and the swing angle range of the air guide plate is 0 degrees to 60 degrees, then 45 degrees is determined as the target angle.

[0179] Optionally, the implementation of S408 can be found in Figure 3 The relevant description in S340 will not be repeated here.

[0180] S409: Determine a target step length based on the target angle and a preset mapping relationship.

[0181] Exemplarily, there is a mapping relationship between the step size and the swing angle; for example, the swing angle range of the air guide plate is 0 degrees to 180 degrees, and the corresponding step size range of the stepper motor is 0 steps to 2000 steps; when the stepper motor moves to 1000 steps, the swing angle of the air guide plate is 90 degrees.

[0182] Optionally, the implementation of S409 can be found in Figure 3 The relevant description in S340 will not be repeated here.

[0183] S410: Send the target step length to the motor controller to control the stepper motor to move.

[0184] In an embodiment of the present application, the stepper motor may receive a target step length sent by the vehicle body control module, and move the wind deflector to a target angle by moving the target step length.

[0185] Optionally, in one embodiment, the target angle is stored in an EEPROM, and when it is detected that the vehicle is powered off while controlling the air deflector to move to the target angle, the target angle is retrieved when the vehicle is powered on again, and the air deflector is controlled to move to the target angle position.

[0186] Optionally, the implementation of S410 can be found in Figure 3 The relevant description in S340 will not be repeated here.

[0187] S411: After detecting that the air deflector stops moving, obtain the current angle of the air deflector.

[0188] For example, a vehicle could be equipped with an OMS system, which uses a camera in the OMS to dynamically monitor the current angle of the air conditioning vents. If the target angle differs from the current angle, the system controls the corresponding vents for adjustment. Dynamic monitoring is performed until the vents are detected to have reached the target angle. The OMS camera dynamically monitors the air outlet angle and verifies it against the actual operating angle to prevent errors caused by differences between the moving angle and the desired angle.

[0189] Optionally, the implementation of S411 can be found in Figure 3 The relevant description in S340 will not be repeated here.

[0190] S412. Determine whether there is a deviation between the current angle and the target angle; if so, execute S413 to S415; if not, execute S415.

[0191] In an embodiment of the present application, if it is detected that there is a deviation angle between the current angle and the target angle, the angle of the wind deflector is further adjusted and S413 to S415 are executed; if there is no deviation angle, the control is terminated and S415 is executed.

[0192] S413. Determine the deviation step size based on the deviation angle.

[0193] In an embodiment of the present application, the deviation step size may be determined based on the deviation angle and a mapping relationship between the angle and the step size.

[0194] Optionally, the implementation of S413 can be found in Figure 3 The relevant description in S340 will not be repeated here.

[0195] S414: Send a deviation step to the target motor to swing the air guide plate to the target angle.

[0196] In an embodiment of the present application, the stepper motor may receive a target step length sent by the vehicle body control module, and move the wind deflector to a target angle by moving the target step length.

[0197] Optionally, the implementation of S414 can be found in Figure 3 The relevant description in S340 will not be repeated here.

[0198] S415: End control.

[0199] Exemplarily, the stepper motor runs to a target step length, and the air guide plate moves to a target angle, and it is determined that the angle control of the air outlet of the air conditioner is completed.

[0200] Optionally, the implementation of S415 can be found in Figure 3 The relevant description in S340 will not be repeated here.

[0201] In the above scheme, the scheduling cycle of the message when the vehicle controls the air conditioning and the time interval used by the vehicle to determine the target angle corresponding to the braking demand are obtained, and the target angle is determined based on the above scheduling cycle and time interval; since the air conditioning message scheduling cycle and the time interval for determining the target angle are taken into account when determining the target angle, the calculation delay and transmission delay of the software processing information can be taken into account, thereby improving the control accuracy; since the current swing speed is taken into account when determining the target angle, the target angle can be accurately calculated based on the current swing speed and delay, avoiding the reverse movement and shaking of the air guide plate, thereby preventing unnecessary wear on the air outlet motor and the air guide plate, and thus improving the user experience.

[0202] Combined with the above Figure 3 and Figure 4 A method for determining the angle of an air guide plate of an air conditioner provided by an embodiment of the present application is described in detail. Figure 5 and Figure 6 The device embodiments of the present application are described in detail. It should be understood that the devices in the embodiments of the present application can execute the various methods of the aforementioned embodiments of the present application, that is, the specific working processes of the following various products can refer to the corresponding processes in the aforementioned method embodiments.

[0203] Figure 5 5 is a schematic diagram of a device for determining the angle of an air guide plate of an air conditioner according to an embodiment of the present application, wherein the device 500 includes an acquisition module 510 and a processing module 520 .

[0204] The acquisition module is configured to, upon detecting a braking demand for an air deflector of an air conditioner in a vehicle, acquire a first period, a second period, an initial angle, and a current swing speed of the air deflector; wherein the first period represents a scheduling period for a message when the vehicle controls the air conditioner; and the second period is a preconfigured time interval for the vehicle to determine a target angle corresponding to the braking demand.

[0205] A processing module is used to obtain a first angle based on the first period and the current swing speed; obtain a second angle based on the second period and the current swing speed; and determine a target angle based on the first angle, the second angle and the initial angle; wherein the target angle is used to control the braking of the wind deflector.

[0206] Optionally, as an embodiment, the processing module 520 is further configured to:

[0207] Determine the compensation angle corresponding to the air deflector; determine the target angle based on the first angle, the second angle and the initial angle, including: determine the target angle based on the compensation angle, the first angle, the second angle and the initial angle.

[0208] Optionally, as an embodiment, the processing module 520 is further configured to:

[0209] Obtaining air deflector parameters; wherein the air deflector parameters include at least one of the ambient temperature, wear degree and swing angle range of the air deflector; determining a compensation angle corresponding to the air deflector, including: determining the compensation angle based on the air deflector parameters; wherein the ambient temperature is positively correlated with the compensation angle; the wear degree is positively correlated with the compensation angle; and the swing angle range is negatively correlated with the compensation angle.

[0210] Optionally, as an embodiment, the processing module 520 is specifically configured to:

[0211] Based on the compensation angle, the first angle, the second angle and the initial angle, a first target angle is determined; if the first target angle is within the swing angle range of the air guide plate, the first target angle is determined as the target angle; if the first target angle is outside the swing angle range of the air guide plate, a second target angle is determined based on the first target angle and the swing angle range of the air guide plate, and the second target angle is determined as the target angle; wherein, the second target angle is within the swing angle range of the air guide plate.

[0212] Optionally, as an embodiment, the processing module 520 is further configured to:

[0213] Obtain a preset mapping relationship; wherein the preset mapping relationship is a mapping relationship between the angle of the air deflector and the step size of the target motor; determine the target step size based on the target angle and the preset mapping relationship; send the target step size to the target motor; wherein the target step size is used to control the movement of the air deflector to the target angle.

[0214] Optionally, as an embodiment, the processing module 520 is further configured to:

[0215] When it is detected that the air deflector has stopped moving, the current angle of the air deflector is obtained; based on the current angle and the target angle, it is determined whether there is a deviation angle; if there is a deviation angle, the deviation step size is determined based on the deviation angle; and the deviation step size is sent to the target motor to swing the air deflector to the target angle.

[0216] Optionally, as an embodiment, the processing module 520 is further configured to:

[0217] Store the target step size or target angle; if it is detected that the vehicle state switches from the first vehicle state to the second vehicle state, send the target step size to the target motor again; wherein the first vehicle state is used to indicate a state in which the vehicle cannot drive the wind deflector to move; the second vehicle state is a state in which the vehicle can drive the wind deflector to move.

[0218] Optionally, as an embodiment, the processing module 520 is further configured to:

[0219] When detecting an air conditioner shutdown instruction or an air conditioner mode switching instruction, it is determined that there is a braking demand for the air deflector.

[0220] It should be noted that the above-mentioned device 500 for determining the angle of the air-conditioning air guide plate is embodied in the form of a functional unit. The term "module" here can be implemented in the form of software and / or hardware, and is not specifically limited to this.

[0221] For example, a "module" may be a software program, a hardware circuit, or a combination of the two that implements the above-described functions. The hardware circuit may include an application-specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor, or a group processor, etc.) and memory for executing one or more software or firmware programs, combined logic circuits, and / or other suitable components that support the described functions.

[0222] Therefore, the units of each example described in the embodiments of this application can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0223] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.

[0224] Exemplarily, vehicle 600 includes a processor 610 , a memory 620 , and executable program code 630 .

[0225] Exemplarily, vehicle 600 includes one or more processors 610, which can support vehicle 600 in implementing the method for determining the angle of the vehicle's air conditioning air deflector in the method embodiment. Processor 610 can be a general-purpose processor or a dedicated processor. For example, processor 610 can be a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit, a field programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.

[0226] For example, the processor 610 can be used to control the vehicle 600, execute software programs, and process data of the software programs. The vehicle 600 can also include a communication unit to implement signal input (reception) and output (transmission).

[0227] Exemplarily, the vehicle 600 may include one or more memories 620 on which executable program code 630 is stored. The executable program code 630 can be executed by the processor 610 to generate instructions so that the processor 610 executes the method for determining the angle of the air-conditioning air deflector described in the above method embodiment according to the instructions.

[0228] Optionally, data may be stored in the memory 620. Optionally, the processor 610 may read data stored in the memory 620. The data may be stored at the same storage address as the executable program code 630, or may be stored at a different storage address from the executable program code 630.

[0229] Exemplarily, the processor 610 and the memory 620 may be provided separately or integrated together, for example, integrated on a system on chip (SOC) of the terminal device.

[0230] Exemplarily, the memory 620 can be used to store relevant programs of the method for determining the angle of the air-conditioning air deflector provided in the embodiment of the present application, and the processor 620 can be used to call the executable program code 630 stored in the memory 620 when controlling the vehicle to execute the method for determining the angle of the air-conditioning air deflector provided in the embodiment of the present application.

[0231] The present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for determining the angle of the air guide plate of the air conditioner in any of the aforementioned embodiments.

[0232] Among them, computer-readable storage media may include, but are not limited to, any type of disk, including floppy disks, optical disks, Digital Video Discs (DVDs), Compact Disc Read-Only Memory (CD-ROMs), microdrives and magneto-optical disks, Read-Only Memory (ROMs), Random Access Memory (RAMs), Erasable Programmable Read-Only Memory (EPROMs), Electrically Erasable Programmable Read-Only Memory (EEPROMs), Dynamic Random Access Memory (DRAMs), Video Random Access Memory (VRAMs), flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.

[0233] The present application also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement the method for determining the angle of the air-conditioning air guide plate in the above-mentioned embodiment.

[0234] In addition, the electronic device provided in the embodiments of the present application can specifically be a chip, component or module, and the electronic device may include a connected processor and memory; wherein the memory is used to store instructions, and when the electronic device is running, the processor can call and execute the instructions so that the chip executes the method for determining the angle of the air-conditioning air guide plate in the above embodiment.

[0235] Among them, the vehicle, computer-readable storage medium, computer program product or chip provided in this application are all used to execute the corresponding method for determining the angle of the air-conditioning air deflector provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the method for determining the angle of the air-conditioning air deflector provided above, and will not be repeated here.

[0236] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0237] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0238] The above content is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art 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 determining the angle of an air guide plate of an air conditioner, characterized in that: The method comprises: If a braking demand is detected for an air deflector of an air conditioner in a vehicle, a first period, a second period, an initial angle of the air deflector, air deflector parameters, and a current swing speed of the air deflector are obtained; wherein the first period is used to represent a scheduling period of a message when the vehicle controls the air conditioner; the second period is a preconfigured time interval for the vehicle to determine a target angle corresponding to the braking demand; and the air deflector parameters include an ambient temperature of the air deflector; Obtaining a first angle based on the first period and the current swing speed; obtaining a second angle based on the second period and the current swing speed; determining a compensation angle based on the air deflector parameters, wherein the ambient temperature is positively correlated with the compensation angle; A target angle is determined based on the compensation angle, the first angle, the second angle, and the initial angle; wherein the target angle is used to control the braking of the wind deflector.

2. The method according to claim 1, characterized in that The air guide plate parameters further include at least one of a wear degree and a swing angle range, wherein the wear degree is positively correlated with the compensation angle; and the swing angle range is negatively correlated with the compensation angle.

3. The method according to claim 1, characterized in that The determining the target angle based on the compensation angle, the first angle, the second angle, and the initial angle includes: determining a first target angle based on the compensation angle, the first angle, the second angle, and the initial angle; If the first target angle is within the swing angle range of the air deflector, determining the first target angle as the target angle; If the first target angle is outside the swing angle range of the air guide plate, a second target angle is determined based on the first target angle and the swing angle range of the air guide plate, and the second target angle is determined as the target angle; wherein, the second target angle is within the swing angle range of the air guide plate.

4. The method according to claim 1, wherein Also includes: Obtaining a preset mapping relationship; wherein the preset mapping relationship is a mapping relationship between the angle of the air deflector and the step length of the target motor; Determining a target step length based on the target angle and the preset mapping relationship; The target step length is sent to the target motor; wherein the target step length is used to control the air guide plate to move to the target angle.

5. The method according to claim 4, characterized in that After controlling the target motor to run to the target step length, the method further includes: When it is detected that the air deflector stops moving, obtaining the current angle of the air deflector; Determining whether there is a deviation angle based on the current angle and the target angle; If the deviation angle exists, determining a deviation step size based on the deviation angle; The deviation step is sent to the target motor to swing the air guide plate to the target angle.

6. The method according to claim 4, characterized in that Also includes: Storing the target step length or the target angle; If it is detected that the vehicle state switches from the first state to the second state, the target step length is sent to the target motor again; wherein, the first vehicle state is used to indicate a state in which the vehicle cannot drive the wind deflector to move; and the second vehicle state is a state in which the vehicle can drive the wind deflector to move.

7. The method according to any one of claims 1 to 5, characterized in that Also includes: When detecting a shut-down instruction of the air conditioner or a mode switching instruction of the air conditioner, it is determined that there is a braking demand for the air deflector.

8. A device for determining the angle of an air guide plate of an air conditioner, characterized in that: The device comprises: an acquisition module configured to, upon detecting a braking demand for an air deflector of an air conditioner in a vehicle, acquire a first period, a second period, an initial angle of the air deflector, air deflector parameters, and a current swing speed of the air deflector; wherein the first period represents a scheduling period for a message when the vehicle controls the air conditioner; the second period is a preconfigured time interval for the vehicle to determine a target angle corresponding to the braking demand; and the air deflector parameters include an ambient temperature of the air deflector; A processing module is used to obtain a first angle based on the first period and the current swing speed; obtain a second angle based on the second period and the current swing speed; determine a compensation angle based on the air deflector parameters, and the ambient temperature is positively correlated with the compensation angle; determine a target angle based on the compensation angle, the first angle, the second angle and the initial angle; wherein the target angle is used to control the braking of the air deflector.

9. A vehicle, characterized in that: The vehicle comprises: a memory for storing executable program code; A processor is configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Control method, system and device for wind sweeping plate

    CN105240990A

  • Range switch control system and range switch control method

    JP2007139103A