Method and device for determining angle of air deflector of air conditioner and vehicle

By detecting the braking requirements of the air guide plate in the air conditioning system, and using the message scheduling cycle and time interval of the air conditioning system to determine a more accurate target angle, the jitter phenomenon of the air guide plate when receiving the shutdown command or mode switching command is solved, and the control accuracy and user experience are improved.

CN119974911AActive Publication Date: 2025-05-13GREAT WALL MOTOR CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, when the air conditioner air guide plate receives a shutdown command or a mode switch command, it is difficult to accurately determine the target angle, resulting in shaking of the air guide plate, causing unnecessary wear of the air outlet motor and air guide plate, affecting the user experience.

Method used

By detecting that there is a braking requirement for the air guide plate, the message scheduling period when the vehicle controls the air conditioner and the time interval for determining the target angle of the braking requirement is obtained, and a more accurate target angle is determined based on these parameters to avoid reverse movement and jitter of the air guide plate.

Benefits of technology

It improves the control accuracy of the angle of the air conditioner air guide plate, avoids the reverse movement and jitter of the air guide plate, extends the service life of the air outlet motor and air guide plate, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119974911A_ABST
    Figure CN119974911A_ABST
Patent Text Reader

Abstract

The invention provides an air conditioner air deflector angle determining method and device and a vehicle. The method comprises the steps that if it is detected that an air deflector of an air conditioner in the vehicle has a braking requirement, a first period, a second period, the initial angle of the air deflector and the current swing speed are obtained; wherein the first period is used for representing a message scheduling period when the vehicle controls the air conditioner; the second period is a time interval of the pre-configured vehicle for determining a target angle corresponding to the braking demand; 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 target angle based on the first angle, the second angle and the initial angle; wherein the target angle is used for controlling braking of the air deflector. According to the method, the target angle of braking stopping can be accurately determined when it is detected that the air deflector has the braking requirement.
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 guide plate of an air conditioner in the field of vehicle control technology, and a vehicle. Background Art

[0002] With the development of vehicle control technology, vehicles are often equipped with air conditioning systems. The control accuracy of the air outlets in the air conditioning system affects the user experience. In the prior art, when the air conditioner receives a shutdown command or a mode switching command, it is necessary to send a target angle to the air conditioner so that the air guide plate moves to the target angle; however, the determined target angle is inaccurate, resulting in the reversal of the air outlet motor and the shaking of the air guide plate, which causes unnecessary wear on the air outlet motor and the air guide plate, affecting the user experience.

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

[0004] The present application provides a method for determining the angle of an air guide plate of an air conditioner. The method can accurately determine the target angle for braking the air guide plate when it is detected that there is a need for braking the air guide plate 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 it is detected that there is a braking demand for the air deflector of the air conditioner in the vehicle, the first cycle, the second cycle, the initial angle and the current swing speed of the air deflector are obtained; wherein the first cycle is used to represent the scheduling cycle of the message when the vehicle controls the air conditioner; the second cycle is a pre-configured vehicle time interval used to determine the target angle corresponding to the braking demand; based on the first cycle and the current swing speed, the first angle is obtained; based on the second cycle 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, a scheduling cycle of a message when the vehicle controls air conditioning and a time interval for the vehicle to determine a target angle corresponding to a 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 software processing information can be taken into account, so a more accurate target angle can be determined, thereby improving control accuracy, avoiding reverse movement and jitter 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 combination with the first aspect, in some possible implementations, the present invention further includes:

[0009] Determine a compensation angle corresponding to the air guide plate; determine a 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, which can be used to avoid angle deviations caused by other factors, thereby improving the accuracy of the target angle. Since the accuracy of the target angle is further improved, the reverse movement and shaking of the air guide plate can be avoided, and unnecessary wear and tear on the air outlet motor and the air guide plate can be prevented, thereby increasing the service life of the air conditioner and thus 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] Obtain air guide plate parameters; wherein the air guide plate parameters include at least one of the ambient temperature, degree of wear and swing angle range of the air guide plate; determine the compensation angle corresponding to the air guide plate, including: determining the compensation angle based on the air guide plate parameters; wherein the ambient temperature is positively correlated with the compensation angle; the degree of wear 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. 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 target angle determined by the air guide plate. 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 implementation manner, in some possible implementation manners, determining the target angle based on the compensation angle, the first angle, the second angle, and the initial angle includes:

[0015] A first target angle is determined 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 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, it is determined whether the first target angle is within the swing angle range of the air deflector, and when the first target angle exceeds the swing angle range, the first target angle is adjusted to ensure that the target angle finally determined is within the swing angle range. Since the target angle is ensured to be 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 stability 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 guide plate and the step length of the target motor; determine the target step length based on the target angle and the preset mapping relationship; send the target step length to the target motor; wherein the target step length is used to control the air guide plate to move 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 length to obtain the target step length; the target step length is 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 guide plate stops moving, the current angle of the air guide plate 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 is determined based on the deviation angle; the deviation step is sent to the target motor to make the air guide plate swing to the target angle.

[0022] In the embodiments 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 error 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 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 method of dynamically adjusting 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 length or target angle; if it is detected that the vehicle switches from the first state to the second state, send the target step length to the target motor again; wherein the first vehicle state is used to indicate a state in which the vehicle cannot drive the air deflector to move; the second vehicle state is a state in which the vehicle can drive the air 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, so as to ensure that the air deflector can promptly restore 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 move to a second state in which the air deflector can be driven to move, 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 a shutdown command of the air conditioner or a mode switching command of the air conditioner, it is determined that there is a braking demand for the air guide plate.

[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 the air deflector, thereby ensuring that the air deflector can stop moving or adjust its angle at the appropriate time. Since the need for braking 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, optimizing energy use and system maintenance.

[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 used to acquire the first cycle, the second cycle, the initial angle and the current swing speed of the air deflector if a braking demand is detected for the air deflector of the air conditioner in the vehicle; wherein the first cycle is used to represent the scheduling cycle of the message when the vehicle controls the air conditioner; the second cycle is a pre-configured time interval for 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 cycle and a current swing speed; obtain a second angle based on a second cycle and a current swing speed; determine a target angle based on the first angle, the second angle and an 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 contents in the above-mentioned first aspect also apply to the same contents 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 guide plate 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 executed on a computer, enables the computer to execute the method for determining the angle of an air-conditioning air guide plate in the above-mentioned first aspect or any possible implementation of the first aspect.

[0035] In a 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 is a schematic diagram of a scenario of air conditioning control of a vehicle provided in an embodiment of the present application;

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

[0038] Figure 3 is a schematic flow chart of a method for determining an 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 It is a structural schematic 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 technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present 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 the present application, "multiple" means two or more than two.

[0043] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, 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 solution provided by the embodiments of the present application, some terms involved in the embodiments of the present application are first introduced.

[0045] Air guide: It can also be called a guide plate, a swing blade, a fan blade, a blade, a wind swing, a fan blade, etc. It is used to control the flow direction of air in 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 guide; 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 laterally to adjust the wind flow direction in the horizontal direction; the vertical air guide plate 130 can swing longitudinally to adjust the wind flow direction in the vertical direction.

[0046] Target motor: It can also be called a stepper motor, a drive motor, an air outlet motor, etc. In the present application, the target motor is used to control the movement of the air guide plate, and the angle of the air guide plate is adjusted through precise stepping 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 inter-device communication. In an embodiment of the present application, the LIN network is used to connect multiple electronic control units (ECUs) in a vehicle system with sensors in the vehicle, actuators of components, etc. The communication structure of the LIN network can be a master-slave structure, the master node can be responsible for scheduling communications, and the slave node can respond to the command of 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 interface to enable hardware and software from multiple automakers and suppliers to interoperate. It can be divided into multiple layers: application layer, middle layer and basic software layer.

[0049] Application layer: It can also be called the software application layer, which is responsible for the implementation of specific automobile 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 can be responsible for communication and data exchange.

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

[0052] Occupant Monitoring System (OMS): Usually includes a camera and is part of the vehicle system. It is mainly used to monitor the behavior, status and safety of the occupants in the vehicle. OMS usually monitors the driver and passengers in the vehicle in real time through cameras, sensors and other equipment to determine whether there are safety risks such as fatigue driving and child forgetting. The system can provide auxiliary warnings to the driver or take preventive measures in emergency situations to improve the safety of people in 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 shake, 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 air guide plate from stopping at too large an angle, thereby improving the user experience.

[0055] Combine the following 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 system architecture of a vehicle provided in 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] Among them, the vehicle 200 can be an electric vehicle, a hybrid vehicle or a fuel vehicle; this embodiment of the present application is not limited to this.

[0058] The domain controller 210 may 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 may include adjustment of temperature, humidity, wind speed, wind direction and angle of the air deflector. It may 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 of the domain controller 210 and controlling the motor execution so that the air guide plate moves to the target angle.

[0061] Combine the following 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 a processor mounted in the vehicle.

[0064] S310: If it is detected that there is a braking demand for the air deflector of the air conditioner in the vehicle, obtain the first cycle, the second cycle, the initial angle and the 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 of the air deflector at that moment, and the swing speed.

[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] Exemplarily, 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 a shutdown command of the air conditioner or a mode switching command of the air conditioner, it is determined that there is a braking demand for the air guide plate.

[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 guide plate.

[0072] Exemplarily, when it is detected that the air conditioning mode is switched, it is determined that there is a need to brake the air guide plate in the air conditioner. For example, when it is detected that the user issues an instruction to switch the air conditioning mode to the foot blowing mode, it is determined that there is a need to brake the air guide plate. When it is detected that the user issues an instruction to switch the air conditioning mode to the foot blowing mode, the first cycle, the second cycle, the initial angle of the air guide plate and the current swing speed are obtained to determine the target angle.

[0073] It should be noted that the instruction can be determined by detecting the operating state of a touch component, a physical button, or a physical knob in a 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 there is a need for braking the air deflector, thereby ensuring that the air deflector can stop moving or adjust its angle at the appropriate time. Since the need for braking the air deflector is determined based on the air conditioner's command, it is possible to avoid 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, optimizing 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 air guide plate 120 can be swung in the horizontal direction to achieve left and right wind sweeping; the vertical air 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 respectively 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 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 angle of the vertical air guide plate 130, and controls the movement of the motor 2 so that the vertical air guide plate 130 runs 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 correspond to an air outlet motor respectively, and the two air outlet motors are controlled by the same air outlet motor controller. When it is determined that there is a braking demand 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] Exemplarily, 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 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 after the calculation is completed; 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 run 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 run 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 air outlets may be provided in the back row.

[0081] In one embodiment, the method for determining the angle of the air guide plate of the air conditioner 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 plates of each air outlet to move to their corresponding target angles, 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 coordinated 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 is detected for the air deflector, the body control module or the domain controller needs to receive the current angle and current swing speed of the air deflector from the sensor configured by the air-conditioning outlet or the air outlet motor controller, and 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, send the target angle to the air outlet motor controller. Considering the time when the body control module or the domain controller receives the message and sends 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] Exemplarily, considering the time when the body control module or the domain controller receives the message and sends the message 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; wherein P1 is the first angle and v is the current swing speed. The above method of determining the first angle is equivalent to calculating the T1 time when the air outlet motor controller sends the message including the initial angle and the current swing speed to the body control module, and the T1 time when the body control module sends the message of the target angle to the air outlet motor controller, that is, the swing angle of the air deflector within a total of 2T1 time.

[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 guide plate per unit time. At this time, the swing angle within the preset time may be obtained based on the product of the current swing speed and 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, so the swing angle is 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 that the stepper motor moves in a unit time. For example, when the current swing speed is equal to 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 cycle and the current swing speed. The first angle can be obtained based on the mapping relationship between the first step number and the wind deflector angle and the step number of the stepping motor.

[0091] Exemplarily, based on Q1=2T1×v, the number of steps Q1 of the stepper motor within 2T1 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 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.

[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] Exemplarily, when the air-conditioning shutdown command is detected, the body control module sends a preset swing speed to the air outlet motor controller and calculates the first angle. At this time, the calculation of the first angle needs to consider 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; wherein P1 is the first angle, T1 is the first period, v is the current swing speed, and v0 is the preset swing speed.

[0095] Exemplarily, when the current swing speed is steps per millisecond, the number of steps Q1 of the stepper motor within 2T1 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 time interval preconfigured for the vehicle to determine a target angle corresponding to a braking demand. In an embodiment of the present application, the second period is recorded as T2.

[0098] In an embodiment of the present application, in the vehicle software processing structure, the target angle is calculated by the application layer. The cycle of the application layer executing the calculation task is T2, which can be understood as the application layer strategy function running the calculation once every T2. After the application layer completes the calculation of the target angle, it sends the target angle value to the bottom layer, and the bottom layer software sends the target angle value to the LIN bus based on the scheduling cycle. Considering the time for the application layer to calculate the target angle value, it is necessary to consider the time T2 for the application layer to execute the calculation task when determining the target angle.

[0099] For example, considering the time for the application layer to calculate the target angle value, 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. The above method of determining the second angle is equivalent to calculating the swing angle of the wind deflector within the T2 time for calculating 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] Exemplarily, based on Q2=T2×v, where Q2 is the first step, T2 is the first cycle, and v is the current swing speed, the second angle P2 is obtained based on the mapping relationship between the step number Q2 and 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 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.

[0102] Exemplarily, 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 consider 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; wherein P2 is the first angle, T2 is the first period, v is the current swing speed, and v0 is the preset swing speed.

[0103] Exemplarily, when the current swing speed is steps per millisecond, it can be 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, the second angle P2 is obtained.

[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 considers the angle of movement of the air deflector during the transmission delay, and the second angle considers 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 a compensation angle corresponding to the air guide plate; determine a 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 may 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; wherein 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 compensation angle is introduced when determining the target angle, which can be used to avoid angle deviation caused by other factors, thereby improving the accuracy of the target angle. Since the accuracy of the target angle is further improved, the reverse movement and shaking of the air guide plate can be avoided, and unnecessary wear and tear on the air outlet motor and the air guide plate can be prevented, thereby increasing the service life of the air conditioner and thus improving the user experience.

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

[0112] Obtaining air deflector plate parameters; determining a compensation angle corresponding to the air deflector plate, including: determining the compensation angle based on the air deflector plate 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; the swing angle range is negatively correlated with the compensation angle.

[0114] In the embodiment of the present application, the compensation angle P3 is set to compensate for the angle difference caused by different temperatures, wear degrees and swing angle range of the air deflector, taking into account the influence of the temperature and mechanical characteristics of the air deflector on the stepper motor and the air deflector. The compensation angle is determined based on the air deflector parameters by obtaining the air deflector parameters; the target angle is determined based on the compensation angle, the first angle, the second angle and the initial angle.

[0115] For example, since the temperature rise causes the material of the air deflector to expand, the gap between the air deflectors becomes smaller, and the swing angle of the air deflector when it swings may be affected, causing the actual movement angle to be smaller than the target angle. Therefore, the ambient temperature is positively correlated with the compensation angle, and the higher the temperature, the larger the value corresponding to the compensation angle.

[0116] For example, when the ambient temperature is detected to be 25 degrees, the compensation angle is determined to be 1 degree; when 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 a preset parameter value; or P3=n3×(K-K0); wherein P3 is the compensation angle, K is the ambient temperature, n3 is a 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] Exemplarily, the current air outlet temperature of the air conditioner is obtained. For example, if the current air outlet temperature is detected to be 25 degrees, the compensation angle is determined to be 1 degree; if the current air 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 the vehicle may cause some mechanical structures of the stepper motor and the air deflector to loosen, and the stepper motor cannot 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 guide plate 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] Exemplarily, 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, the compensation angle is determined based on the air guide plate parameters. 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 target angle determined by the air guide plate; 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] A first target angle is determined 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 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, a compensation angle, a first angle, a second angle and an initial angle are used to determine a first target angle. The target angle is determined by judging whether the first target angle exceeds the swing angle range of the air guide plate. If not, the first target angle is determined as a non-target angle. If exceeded, the target angle is determined based on the first target angle and the swing angle range.

[0131] Exemplarily, 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 value of minus the maximum value of the swing angle range is used to determine 30 degrees as the target angle.

[0132] In the above implementation, it is determined whether the first target angle is within the swing angle range of the air deflector, and when the first target angle exceeds the swing angle range, the first target angle is adjusted to ensure that the target angle finally determined is within the swing angle range. Since the target angle is ensured to be 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 stability of the subsequent air deflector control process and 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 a 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, 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; the motor controller 1 receives the target step length corresponding to the horizontal air guide plate 120, and 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 runs 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 runs 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 cycle and the current swing speed; the second step number can be obtained based on the second cycle 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, 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 guide plate stops moving, the current angle of the air guide plate 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 is determined based on the deviation angle; the deviation step is sent to the target motor to make the air guide plate swing to the target angle.

[0144] In the embodiments of the present application, there may be a situation where the stepper motor cannot control the air deflector to swing to the target angle due to wear of air-conditioning related components, that is, the stepper motor completes the control according to the control logic and the target step length, but the actual position of the air deflector is not at the target angle. In view of the above situation, a dynamic monitoring and calibration function is set. When it is detected that the air deflector stops moving, the current angle of the air deflector is determined, and it is determined whether there is a deviation angle between the current angle and the target angle; if there is a deviation angle, the deviation step length is determined based on the deviation angle, and the deviation step length is sent to the stepper motor to make the air deflector swing to the target angle.

[0145] For example, the vehicle can be equipped with an OMS system, and the current angle of the air-conditioning outlet can be dynamically monitored through the camera in the OMS system. When the target angle is different from the current angle, the corresponding outlet is controlled to be adjusted, and dynamic monitoring is performed during the process until the outlet is detected to move to the target angle position. The outlet angle is dynamically monitored using the OMS camera and verified with the actual operating angle to prevent errors caused by the difference between the moving angle and the expected 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, the deviation angle caused by control error 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 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 method of dynamically adjusting the deviation step size makes the 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 air deflector to move, for example, a state in which it is detected that the vehicle is powered off or is unable to drive the air deflector to move due to external force; the second vehicle state is a state in which the vehicle can drive the air deflector to move, for example, a state in which it is detected that the vehicle is powered on and can drive the air deflector to move.

[0150] Exemplarily, 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 while controlling the air deflector to move to the target angle, the target angle is called out after powering on again, 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 can ensure that the air deflector can promptly restore the predetermined control strategy for adjustment under the preset state. When the vehicle switches from the first state where the air deflector cannot be driven to the second state where 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.

[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 conditioning shutdown command as an example. Figure 4 Another 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.

[0154] Figure 4FIG. 1 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. 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 air guide plate 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 shutdown command and obtain an initial angle and a 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 of the air deflector at that moment, and the swing speed.

[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 refer to Figure 3 The relevant 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] Exemplarily, considering the time when the body control module or the domain controller receives the message and sends the message 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; wherein P1 is the first angle and v is the current swing speed. The above method of determining the first angle is equivalent to calculating the T1 time when the air outlet motor controller sends the message including the initial angle and the current swing speed to the body control module, and the T1 time when the body control module sends the message of the target angle to the air outlet motor controller, that is, the swing angle of the air deflector within a total of 2T1 time.

[0162] Optionally, the implementation of S402 can refer to 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 for the application layer to calculate the target angle value, 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. The above method of determining the second angle is equivalent to calculating the swing angle of the wind deflector within the T2 time for calculating the target angle in the body control module.

[0165] Optionally, the implementation of S403 can refer to 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 embodiment of the present application, the compensation angle P3 is set to compensate for the angle difference caused by different temperatures, wear degrees and swing angle range of the air deflector, taking into account the influence of the temperature and mechanical characteristics of the air deflector on the stepper motor and the air deflector. The compensation angle is determined based on the air deflector parameters by obtaining the air deflector parameters; 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 refer to 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] Exemplarily, 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 refer to 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 value of minus the maximum value of the swing angle range is used to determine 30 degrees 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] Exemplarily, 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 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 refer to 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, sending 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 a 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 it is detected that the vehicle is powered off while controlling the air deflector to move to the target angle. When the power is restored, the target angle is called out and the air deflector is controlled to move to the target angle position.

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

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

[0188] For example, the vehicle can be equipped with an OMS system, and the current angle of the air-conditioning outlet can be dynamically monitored through the camera in the OMS system. When the target angle is different from the current angle, the corresponding outlet is controlled to be adjusted, and dynamic monitoring is performed during the process until the outlet is detected to move to the target angle position. The outlet angle is dynamically monitored using the OMS camera and verified with the actual operating angle to prevent errors caused by the difference between the moving angle and the expected 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 angle 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 guide plate 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 refer to Figure 3 The relevant description in S340 will not be repeated here.

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

[0196] In an embodiment of the present application, the stepper motor may receive a target step length sent by a 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 refer to 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 refer to 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] Combination of the above Figure 3 and Figure 4 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; Figure 5 and Figure 6 The device embodiments of the present application are described in detail. It should be understood that the device 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 provided in an embodiment of the present application. The device 500 includes an acquisition module 510 and a processing module 520 .

[0204] The acquisition module is used to acquire the first cycle, the second cycle, the initial angle and the current swing speed of the air deflector if a braking demand is detected for the air deflector of the air conditioner in the vehicle; wherein the first cycle is used to represent the scheduling cycle of the message when the vehicle controls the air conditioner; the second cycle is a pre-configured time interval for the vehicle to determine the 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; to obtain a second angle based on the second period and the current swing speed; and to 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 a compensation angle corresponding to the air guide plate; determine a 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] Obtain air guide plate parameters; wherein the air guide plate parameters include at least one of the ambient temperature, degree of wear and swing angle range of the air guide plate; determine the compensation angle corresponding to the air guide plate, including: determining the compensation angle based on the air guide plate parameters; wherein the ambient temperature is positively correlated with the compensation angle; the degree of wear 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] A first target angle is determined 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 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 guide plate and the step length of the target motor; determine the target step length based on the target angle and the preset mapping relationship; send the target step length to the target motor; wherein the target step length is used to control the air guide plate to move 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 guide plate stops moving, the current angle of the air guide plate 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 is determined based on the deviation angle; the deviation step is sent to the target motor to make the air guide plate swing to the target angle.

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

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

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

[0219] When detecting a shutdown command of the air conditioner or a mode switching command of the air conditioner, it is determined that there is a braking demand for the air guide plate.

[0220] It should be noted that the above-mentioned device 500 for determining the angle of the air guide plate of the air conditioner 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 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 a memory for executing one or more software or firmware programs, a combined logic circuit, and / or other suitable components that support the described functions.

[0222] Therefore, the units of each example described in the embodiments of the present 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. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present 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, the vehicle 600 includes one or more processors 610, which can support the vehicle 600 to implement the method for determining the angle of the air-conditioning air deflector of the vehicle in the method embodiment. The processor 610 can be a general-purpose processor or a dedicated processor. For example, the 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] Exemplarily, the processor 610 may be used to control the vehicle 600, execute software programs, and process data of the software programs. The vehicle 600 may also include a communication unit to implement input (reception) and output (transmission) of signals.

[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 guide plate 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, which 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 (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 an air-conditioning air guide plate of 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 versatile disks (Digital Video Disc, DVD), compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), microdrives and magneto-optical disks, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable programmable read only memory (Electrically Erasable Programmable read only memory, EEPROM), dynamic random access memory (Dynamic Random Access Memory, DRAM), video random access memory (Video Random Access Memory, VRAM), flash memory devices, magnetic cards 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 enabled to execute the above-mentioned related steps to implement the method for determining the angle of the air guide plate of the air conditioner in the above-mentioned embodiment.

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

[0235] Among them, the vehicle, computer-readable storage medium, computer program product or chip provided in the present 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 assigned to 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 the present 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 only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, 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 contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope 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 it is detected that there is a braking demand 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, obtaining a first angle; Based on the second period and the current swing speed, obtaining a second angle; A target angle is determined 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.

2. The method according to claim 1, characterized in that Also includes: Determining a compensation angle corresponding to the air guide plate; The determining the target angle based on the first angle, the second angle and the initial angle includes: The target angle is determined based on the compensation angle, the first angle, the second angle, and the initial angle.

3. The method according to claim 2, characterized in that Also includes: Acquire 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; The determining of the compensation angle corresponding to the air guide plate includes: Determining the compensation angle based on the air guide plate parameters; Among them, 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.

4. The method according to claim 2, characterized in that: 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 guide plate, 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, the 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.

5. The method according to claim 1, characterized in that Also includes: Obtaining a preset mapping relationship; wherein the preset mapping relationship is a mapping relationship between the angle of the air guide plate 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.

6. The method according to claim 5, 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; Based on the current angle and the target angle, determining whether there is a deviation angle; If the deviation angle exists, determining the 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.

7. The method according to claim 5, 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 air deflector to move; and the second vehicle state is a state in which the vehicle can drive the air deflector to move.

8. The method according to any one of claims 1 to 6, characterized in that Also includes: When detecting a shutdown 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 guide plate.

9. A device for determining the angle of an air guide plate of an air conditioner, characterized in that: The device comprises: An acquisition module is used to acquire a first period, a second period, an initial angle and a current swing speed of the air deflector if a braking demand is detected for the air deflector of the air conditioner in the vehicle; wherein the first period is used to represent a scheduling period of a message when the vehicle controls the air conditioner; and the second period is a pre-configured time interval for the vehicle to determine a target angle corresponding to the braking demand; A processing module is used to obtain a first angle based on the first period and the current swing speed; to obtain a second angle based on the second period and the current swing speed; and to 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.

10. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, 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 8.

Citation Information

Patent Citations

  • Air conditioner and control method, control terminal and air conditioner system thereof

    CN103574843A

  • Control method, system and device for wind sweeping plate

    CN105240990A

  • Wind sweeping angle control method and device, air conditioner and storage medium

    CN114941889A

  • Air deflector control method of roof air conditioner, roof air conditioner and vehicle

    CN118769828A

  • Range switch control system and range switch control method

    JP2007139103A