Electric air outlet control method, electric air outlet control device and vehicle

By using an online monitoring and starting position determination method for motorized air outlet control, the problem of poor control flexibility of motorized air outlets has been solved, achieving more precise control and improving user comfort.

CN121734045APending Publication Date: 2026-03-27GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

The existing control methods for electric air vents are inflexible, resulting in poor control performance and reduced user comfort.

Method used

By monitoring the drive motor online and determining its starting position, the initialization control of the drive motor is achieved, including monitoring the status flag and zeroing the position, to ensure accurate control of the electric air outlet.

Benefits of technology

It improves the control effect of the electric air outlet and enhances user comfort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121734045A_ABST
    Figure CN121734045A_ABST
Patent Text Reader

Abstract

The invention discloses an electric air outlet control method, an electric air outlet control device and a vehicle, the electric air outlet comprises a driving motor, and the method comprises the steps that in response to a power-on instruction, the driving motor is monitored on line; under the condition that the driving motor is in the online state, the initial position of the driving motor is determined; and under the condition that the target starting instruction is received, the driving motor is driven based on the initial position, so that the electric air outlet is controlled. Therefore, when the method is powered on, initialization control over the driving motor is achieved by monitoring the driving motor on line and determining the initial position of the driving motor, so that the control effect of the electric air outlet is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of air outlet control, and in particular to an electric air outlet control method, an electric air outlet control device and a vehicle. BACKGROUND

[0002] An electric air outlet is a ventilation device driven by electricity, used to adjust and control air flow and direction, and is widely used in automobiles to improve the comfort of the interior of the automobile. The electric air outlet drives the rotor through the motor to drive the fan blade to rotate, thereby generating air flow.

[0003] In the related art, when the electric air outlet is powered on, the motor is controlled according to the received blowing mode to run according to a preset step number, thereby realizing air outlet control. However, this control method directly controls the electric air outlet according to the preset control strategy, and the control flexibility is poor, and the control effect is not good, which reduces the user comfort. SUMMARY

[0004] The present application aims to at least solve one of the technical problems in the related art. To this end, the first object of the present application is to propose an electric air outlet control method, which, when powered on, based on online monitoring of the driving motor and determination of the starting position of the driving motor, realizes initialization control of the driving motor to improve the control effect of the electric air outlet.

[0005] The second object of the present application is to propose an electric air outlet control device.

[0006] The third object of the present application is to propose a vehicle.

[0007] To achieve the above-mentioned objects, the first aspect of the present application proposes an electric air outlet control method, the electric air outlet comprising a driving motor, the method comprising: in response to a power-on instruction, monitoring the driving motor online; in the case that the driving motor is in an online state, determining the starting position of the driving motor; in the case that a target start instruction is received, driving the driving motor based on the starting position to control the electric air outlet.

[0008] According to the electric air outlet control method of the present application, in response to the power-on instruction, the driving motor is monitored online, and in the case that the driving motor is in an online state, the starting position of the driving motor is determined, and in the case that a target start instruction is received, the driving motor is driven based on the starting position to control the electric air outlet. Thus, this method, when powered on, realizes initialization control of the driving motor through online monitoring of the driving motor and determination of the starting position of the driving motor, to ensure the control effect of the electric air outlet.

[0009] In addition, the electric air outlet control method according to the above-mentioned embodiments of the present application can further have the following additional technical features.

[0010] According to one embodiment of the present application, the online monitoring of the driving motor comprises: sending first target information to the driving motor, so that the driving motor adjusts its state based on the first target information; obtaining current flag information of a state flag bit of the driving motor, and determining that the driving motor is in an online state when the current flag information is consistent with target flag information.

[0011] According to one embodiment of the present application, before sending the first target information to the driving motor, the electric air outlet control method further comprises: obtaining initial flag information of the state flag bit of the driving motor, and determining that the driving motor is in an online state when the initial flag information is consistent with the target flag information, and sending the first target information to the driving motor when the initial flag information is inconsistent with the target flag information.

[0012] According to one embodiment of the present application, the obtaining of the current flag information of the state flag bit of the driving motor further comprises: in the case that feedback information sent by the driving motor is received within a preset time, determining the current flag information of the state flag bit of the driving motor based on the feedback information; and in the case that the feedback information sent by the driving motor is not received within the preset time, determining that the driving motor loses communication.

[0013] According to one embodiment of the present application, the electric air outlet control method further comprises: determining that the driving motor has a communication exception when the current flag information is inconsistent with the target flag information.

[0014] According to one embodiment of the present application, the determining of the starting position of the driving motor comprises: in the case that the driving motor is powered on for the first time or in the case that the driving motor is powered on for the non-first time and a pre-stored position corresponding to the driving motor is invalid, controlling the driving motor to perform a position zeroing, and taking a current position of the driving motor after the position zeroing as the starting position of the driving motor; and in the case that the driving motor is powered on for the non-first time and the pre-stored position of the driving motor is valid, taking the pre-stored position as the starting position of the driving motor.

[0015] According to one embodiment of the present application, the electric air outlet control method further comprises: in the case that the driving motor is powered on for the first time and the position zeroing is completed, increasing the number of power-on operations of the driving motor by one.

[0016] According to one embodiment of the present application, in the process of driving the driving motor based on the starting position, the electric air outlet control method further comprises: in response to a target stop command, controlling the driving motor to stop running, and obtaining the current position of the driving motor, taking the current position of the driving motor as the pre-stored position of the driving motor in the next power-on operation; or, in response to a stop command, controlling the driving motor to stop running after running to a target stop position, and taking the target stop position as the pre-stored position of the driving motor in the next power-on operation.

[0017] To achieve the above-mentioned purpose, the second aspect of the present application provides an electric air outlet control device, the electric air outlet comprising a driving motor, the device comprising: a monitoring module, configured to monitor the driving motor online in response to a power-on instruction; a determining module, configured to determine the starting position of the driving motor in the case that the driving motor is in an online state; and a control module, configured to drive the driving motor to run based on the starting position of the driving motor in the case that a target start instruction is received, so as to control the electric air outlet.

[0018] According to the electric air outlet control device of the present application, the monitoring module monitors the driving motor online in response to a power-on instruction, the determining module determines the starting position of the driving motor in the case that the driving motor is in an online state, and the control module drives the driving motor to run based on the starting position of the driving motor in the case that a target start instruction is received, so as to control the electric air outlet. Thus, when powered on, the device realizes the initialization control of the driving motor through the online monitoring of the driving motor and the determination of the starting position of the driving motor, so as to ensure the control effect of the electric air outlet.

[0019] To achieve the above-mentioned purpose, the third aspect of the present application provides a vehicle comprising a memory, a processor, and an electric air outlet control program stored in the memory and executable on the processor, and when the processor executes the electric air outlet control program, the above-mentioned electric air outlet control method is realized.

[0020] According to the vehicle of the present application, when the processor executes the electric air outlet control program, the above-mentioned electric air outlet control method is realized, and based on the above-mentioned electric air outlet control method, the initialization control of the driving motor is realized when powered on, so as to ensure the control effect of the electric air outlet and improve the user comfort.

[0021] Additional aspects and advantages of the present application will be made apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0022] Figure 1 Flow chart of the electric air outlet control method according to the embodiment of the present application;

[0023] Figure 2 This is a schematic diagram of the system architecture of an electric air outlet according to a specific embodiment of the present invention;

[0024] Figure 3 This is a waveform diagram illustrating the working process of an electric air outlet according to a specific embodiment of the present invention.

[0025] Figure 4 This is a flowchart of an electric air outlet control method according to a specific embodiment of the present invention;

[0026] Figure 5 This is a flowchart illustrating online monitoring of a drive motor according to a specific embodiment of the present invention;

[0027] Figure 6 This is a connection diagram of an electric air outlet control device according to an embodiment of the present invention;

[0028] Figure 7 This is a block diagram of a vehicle according to an embodiment of the present invention. Detailed Implementation

[0029] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.

[0030] The electric air outlet control method, electric air outlet control device, and vehicle proposed in the embodiments of the present invention are described below with reference to the accompanying drawings.

[0031] Figure 1 This is a flowchart of an electric air outlet control method according to an embodiment of the present invention.

[0032] In one embodiment of the present invention, the electric air outlet includes a drive motor.

[0033] Specifically, the drive motor in the electric air vent can be a LIN stepper motor to rotate the air vent blades. Taking the application of electric air vents in vehicles as an example, such as... Figure 2As shown, the vehicle has 4 electric air outlets in common, each of which is divided into left and right blades and upper and lower blades, and a total of 8 drive motors (outlet motor 1, outlet motor 2, outlet motor 3, outlet motor 4, outlet motor 5, outlet motor 6, outlet motor 7, outlet motor 8). The CEM (Central Electronic Module) in the vehicle controls the operation of the drive motor through the LIN (Local Interconnect Network) communication mode, and reads the operating state of the drive motor in real time.

[0034] Next, taking the CEM of the vehicle as an example, the electric air outlet control method of the present application is described in detail in combination with the drawings.

[0035] As shown in the drawings, Figure 1 The electric air outlet control method of the embodiment of the present application can include:

[0036] S1, in response to the power-on instruction, the drive motor is monitored online;

[0037] S2, in the case where the drive motor is in an online state, the starting position of the drive motor is determined;

[0038] S3, in the case where the target start instruction is received, the drive motor is driven based on the starting position to control the electric air outlet.

[0039] Specifically, the power supply of the electric air outlet is KL30, and is controlled by the CEM through a high-side switch or a relay, and is supplied to the electric air outlet after filtering. The power-on and working process of the electric air outlet is as shown in the drawings. Figure 3 Among them, t0: CEM initialization time; t1: relay attraction through filter, voltage rise time; t2: drive motor initialization time, t1+t2 is recommended to reserve 100ms, that is, CEM controls the relay attraction for 100ms, and then sends LIN control to drive the motor to operate; t3: outlet working; t4: relay disconnection to motor complete power-off end.

[0040] After the electric air outlet is powered on, the CEM (Continuous Engine Management) performs online monitoring of the drive motors. For example, it determines the online status of the drive motors based on the acquisition of flag bits. When it is confirmed that all drive motors are online, the starting position of the drive motors is determined, thereby completing the initialization control of the drive motors. Then, upon receiving the target start command, the drive motors are driven according to their starting positions, thereby controlling the electric air outlet to ensure that the target air outlet control effect can be achieved based on the preset control program. The power-on command can be detected when the electric air outlet is powered on, or it can be detected when the user triggers the power-on button, based on button settings. The starting position of the drive motor is the initial position at which the drive motor starts running. This starting position can be the current position of the drive motor detected when the electric air outlet is powered on, or it can be a preset reference position. That is, after the electric air outlet is powered on, the drive motor is controlled to run to the preset reference position, which is used as the starting position of the drive motor. Specifically, the position can be represented by the rotor angle of the drive motor.

[0041] Therefore, upon power-on, this embodiment first performs initial control of the drive motor based on online monitoring and initial position confirmation to ensure effective control of the electric air outlet. Confirming the initial position of the drive motor can involve obtaining its current position or adjusting it to a default position; the specific method is not limited.

[0042] In one embodiment of the present invention, online monitoring of the drive motor includes: sending first target information to the drive motor so that the drive motor can adjust its state based on the first target information; obtaining the current flag information of the state flag bit of the drive motor, and determining that the drive motor is in an online state when the current flag information is consistent with the target flag information.

[0043] Specifically, the status flag is used to characterize the online status of the drive motor. Taking the reset flag as an example, after the drive motor is initially powered on, it sets the reset flag to 1. The motor can only operate normally after the flag is cleared to 0. That is, when the reset flag is 1, the drive motor is not online; when the reset flag is 0, the drive motor is online. Therefore, after the CEM is initially powered on, it sends the first target information to the drive motor so that the drive motor clears the 1d reset flag to 0 based on the first target information. After a preset time after sending the first target information, the CEM retrieves the reset flag of the drive motor. When the reset flag is 0, the drive motor is online; when the reset flag is 1, the drive motor is still offline. The example of the target flag being 0 is only one possible implementation method in this application; the specific implementation can be set according to the actual situation.

[0044] It should be noted that in addition to the above state flag bit including the reset flag bit, a stall flag bit, an emergency flag bit, etc. can also be included, and the specific implementation is not limited. It should be further noted that the reset flag bit refers to setting a specific flag bit to determine whether the reset operation of the driving motor needs to be performed. For example, when the reset flag bit is 1, the CEM sends the first target information, so that the motor driver resets the position parameter of the driving motor to the initial value based on the first target information, thereby realizing the function of resetting and finding the zero point, to ensure that the driving motor can be accurately positioned and controlled when performing the task, and the required accuracy is realized. The stall flag bit refers to setting a specific flag bit to determine whether the driving motor is stalled. For example, if the driving motor still outputs torque when the speed of the driving motor is 0 revolutions, it is determined that the driving motor is in a stall state, and the stall flag bit is set to 1. At this time, the CEM sends the first target information, so that the motor driver can perform stall processing based on the first target information, so that the stall flag bit is 0. The emergency flag bit can be used to indicate specific operations or states in an emergency, such as emergency stop protection state, the position parameter of the motor driver is reset to the initial value in an emergency, etc. The specific implementation can be set according to the actual situation.

[0045] The driving motor can adjust the state flag bit based on the first target information to complete the online of the driving motor.

[0046] In an embodiment of the present application, before the first target information is sent to the driving motor, the electric air outlet control method further comprises: obtaining initial flag information of the state flag bit of the driving motor, and when the initial flag information is consistent with the target flag information, determining that the driving motor is in an online state, and when the initial flag information is inconsistent with the target flag information, sending the first target information to the driving motor.

[0047] Specifically, the online monitoring of the driving motor can include two ways of calibration method and detection method.

[0048] For example, when the calibration method is used to monitor the driving motor online, the specific implementation is as follows: after the CEM controls the relay to be attracted and power is supplied to the driving motor, the CEM starts to send the first target information after the driving motor is powered on for 100 ms, so that the driving motor adjusts the state based on the first target information, so that the driving motor is in an online state. After detecting that the reset flag bit, the stall flag bit and the emergency flag bit are all equal to 0, the CEM determines that the driving motor is in an online state.

[0049] In the on-line monitoring of the driving motor by using the detection method, specifically, the CEM controls the relay to be attracted and to supply power to the driving motor. After the driving motor is powered on for 100 ms, the CEM starts to read the initial flag information of the state flag bit of the driving motor. When the CEM detects that the reset flag bit, the stall flag bit and the emergency flag bit of the motor are equal to 1 (or any one flag bit is equal to 1), the first target information is sent to clear the three flag bits synchronously. After detecting that the reset flag bit, the stall flag bit and the emergency flag bit are all equal to 0, the CEM determines that the driving motor is in the on-line state.

[0050] It can be understood that the sending of the first target information and the on-line state detection of the driving motor can be performed multiple times to realize redundant control, and the upper limit of the number of times is set. If the driving motor is still not on-line when the upper limit of the number of times is reached, a fault reminder is sent.

[0051] In an embodiment of the present application, the current flag information of the state flag bit of the driving motor is obtained, and the method further comprises: in the case that the feedback information sent by the driving motor is received within the preset time, determining the current flag information of the state flag bit of the driving motor based on the feedback information; in the case that the feedback information sent by the driving motor is not received within the preset time, determining that the driving motor communication is lost.

[0052] In an embodiment of the present application, the electric air outlet control method further comprises: in the case that the current flag information is inconsistent with the target flag information, determining that the driving motor communication is abnormal.

[0053] That is, the timing starts after the first target information is sent. If the feedback information of the driving motor is received within the preset time, the feedback information is valid, and the current flag information of the state flag bit of the driving motor is determined based on the feedback information. If the feedback information sent by the driving motor is not received within the preset time, it is determined that the driving motor communication is lost.

[0054] After the current flag information is determined based on the feedback information received within the preset time, if the current flag information is consistent with the target flag information, it is determined that the driving motor is on-line; if the current flag information is inconsistent with the target flag information, it is determined that the driving motor communication is abnormal.

[0055] In the case that the driving motor communication is abnormal or the driving motor communication is lost, the first target information can be sent to the driving motor again. If the current flag information consistent with the target flag information is not obtained after the first target information is sent multiple times, it is considered that the driving motor is not on-line, and a fault reminder is sent. The specific number of times of sending can be set based on the actual situation.

[0056] In the case that the driving motor is on-line, the determination of the initial position of the driving motor is performed. In the case that the driving motor is on-line, the determination of the initial position of the driving motor is performed.

[0057] In one embodiment of the present application, determining the starting position of the driving motor comprises: when the driving motor is powered on for the first time or when the driving motor is powered on for the second time and the pre-stored position corresponding to the driving motor is invalid, controlling the driving motor to perform a position zeroing and taking the current position of the driving motor after the position zeroing as the starting position of the driving motor; when the driving motor is powered on for the second time and the pre-stored position of the driving motor is valid, taking the pre-stored position as the starting position of the driving motor.

[0058] That is, when the driving motor is powered on for the first time, the position of the driving motor may deviate from the blade position of the electric air outlet, i.e., deviate from the zero position set in the preset air outlet control program, so the driving motor is controlled to perform a position zeroing when the driving motor is powered on for the first time, and the current position of the driving motor after the position zeroing is taken as the starting position of the driving motor.

[0059] When the driving motor is powered on for the second time and the pre-stored position of the driving motor is valid, the pre-stored position is directly taken as the starting position of the driving motor. The pre-stored position is the stop position of the driving motor at the end of the last operation.

[0060] When the driving motor is powered on for the second time but the pre-stored position corresponding to the driving motor is invalid, the driving motor also needs to be controlled to perform a position zeroing, and the current position of the driving motor after the position zeroing is taken as the starting position of the driving motor.

[0061] The position zeroing refers to moving the rotor of the driving motor to a specific starting position, which is usually taken as the reference zero position of the driving motor and used for subsequent position control and measurement to ensure that the motor can accurately respond to the control signal and achieve precise position control. In addition, the reference zero position of the driving motor corresponds to the position of the air outlet blade to ensure that the driving motor is controlled to achieve precise control of the air outlet blade during the operation of the electric air outlet and improve the control effect.

[0062] In one embodiment of the present application, the electric air outlet control method further comprises: when the driving motor is powered on for the first time and the position zeroing is completed, increasing the number of power-on operations of the driving motor by one.

[0063] That is, since the driving motor can be directly determined the starting position based on the pre-stored position when the driving motor is powered on for the first time, the number of power-on operations of the driving motor is incremented by one in the case that the driving motor is powered on for the first time and the position zeroing is completed, so as to prevent the driving motor from being mistaken as powered on for the first time when powered on next time and triggering the zeroing action. The power-on operation refers to the power-on of the electric air outlet and the receiving of the air outlet opening operation instruction. When the electric air outlet is powered on and the air outlet opening operation instruction is received, the number of power-on operations is incremented by one, and whether it is powered on for the first time can be determined based on the number of power-on operations.

[0064] If the driving motor is powered on for the first time and the position zeroing fails, the number of power-on operations of the driving motor is kept as 0, so as to ensure that the zeroing operation is continued to be performed when powered on next time and the control effect of the electric air outlet is ensured. For example, in the case of a hardware failure of the driving motor, the driving motor cannot perform the zeroing operation according to the zeroing control instruction, so that the driving motor fails to zero. Alternatively, the driving motor has a communication failure, so that the driving motor cannot receive the zeroing control instruction, and thus the driving motor fails to zero.

[0065] In addition, the zeroing result of the driving motor can also be indicated by a corresponding state bit, and the zeroing result can be identified by reading the zeroing state bit. For example, when the zeroing state bit of the driving motor is 0, it is determined that the zeroing is successful; when the zeroing state bit of the driving motor is 1, it is determined that the zeroing fails; and when the zeroing state bit of the driving motor cannot be identified, it is considered that the driving motor fails to zero.

[0066] In an embodiment of the present application, during the driving of the driving motor based on the starting position, the electric air outlet control method further comprises: in response to a target stop instruction, controlling the driving motor to stop running and obtaining the current position of the driving motor, taking the current position of the driving motor as the pre-stored position of the driving motor when powered on next time; or in response to a stop instruction, controlling the driving motor to stop running after running to a target stop position, and taking the target stop position as the pre-stored position of the driving motor when powered on next time.

[0067] Specifically, before the driving motor is powered off and stopped after receiving the target stop instruction, the driving motor can be directly controlled to stop running completely when the target stop instruction is received, and the current position of the driving motor is recorded, so as to facilitate the current position to be directly assigned to the starting position of the driving motor next time the driving motor is powered on. Alternatively, the driving motor can be uniformly driven to the target stop position and then stopped running after receiving the target stop instruction, so as to facilitate the target stop position to be directly assigned to the starting position of the driving motor next time the driving motor is powered on. The target stop position can be set based on the air outlet angle, for example, the target stop position can be determined based on the air outlet angle in the closed state.

[0068] As a specific embodiment of the present application, as shown in Figure 4 the electric air outlet control method can include the following steps:

[0069] S101, power on the electric air outlet.

[0070] S102, after delaying 100 ms, perform online monitoring on the driving motor.

[0071] S103, determine whether the driving motor is in an online state. If yes, execute step S104; if no, execute step S113.

[0072] S104, determine whether the number of power-on operations of the driving motor is 0. If yes, execute step S105; if no, execute step S106.

[0073] S105, perform position zero-finding on the electric air outlet, and take the current position of the driving motor after successful zero-finding as the starting position of the driving motor. Execute step S108.

[0074] S106, determine whether the pre-stored position is valid. If yes, execute step S107; if no, execute step S105.

[0075] S107, take the pre-stored position as the starting position of the driving motor.

[0076] S108, the number of power-on operations + 1.

[0077] S109, receive a target start instruction, and drive the driving motor based on the starting position to control the electric air outlet.

[0078] S110, determine whether a target stop instruction is received. If yes, execute step S111; if no, execute step S109.

[0079] S111, control the driving motor to stop running, and save the current position of the driving motor as the pre-stored position for the next power-on operation.

[0080] S112, control the electric air outlet to power off.

[0081] S113, issue a fault reminder.

[0082] For example, when the target flag information is 0, the online monitoring on the driving motor can include the following steps as shown in Figure 5

[0083] S201, obtain the initial flag information of the state flag bit of the driving motor.

[0084] ​S202, determine whether the initial flag information is all 0. If yes, execute step S203; if no, execute step S204.

[0085] S203, determine that the driving motor is in an online state.

[0086] S204, send first target information to the driving motor, so that the driving motor adjusts the state based on the first target information.

[0087] S205, obtain the current flag information of the state flag bit of the driving motor.

[0088] S206, determine whether the current flag information is all 0. If yes, execute step S203; if no, execute step S207.

[0089] S207, determine that the driving motor is not in an online state, and generate a fault signal.

[0090] In summary, according to the electric air outlet control method of the embodiment of the present application, in response to the power-on instruction, the driving motor is monitored online, and in the case that the driving motor is in an online state, the starting position of the driving motor is determined, and in the case that a target start instruction is received, the driving motor is driven based on the starting position to control the electric air outlet. Thus, when the power is turned on, the initialization control of the driving motor is realized through the online monitoring of the driving motor and the determination of the starting position of the driving motor, so as to ensure the control effect of the electric air outlet.

[0091] Corresponding to the above embodiment, the present application also provides an electric air outlet control device.

[0092] In an embodiment of the present application, the electric air outlet comprises a driving motor.

[0093] As shown in Figure 6 , the electric air outlet control device of the embodiment of the present application comprises a monitoring module 10, a determination module 20 and a control module 30.

[0094] The monitoring module 10 is used to monitor the driving motor online in response to the power-on instruction. The determination module 20 is used to determine the starting position of the driving motor in the case that the driving motor is in an online state. The control module 30 is used to drive the driving motor to operate based on the starting position of the driving motor in the case that a target start instruction is received, so as to control the electric air outlet.

[0095] According to one of the embodiments of the present application, the monitoring module 10 performs online monitoring on the driving motor, and specifically sends first target information to the driving motor, so that the driving motor adjusts its state based on the first target information; obtains current flag information of the state flag bit of the driving motor, and determines that the driving motor is in an online state when the current flag information is consistent with the target flag information.

[0096] According to one of the embodiments of the present application, before sending the first target information to the driving motor, the monitoring module 10 further obtains initial flag information of the state flag bit of the driving motor, and determines that the driving motor is in an online state when the initial flag information is consistent with the target flag information, and sends the first target information to the driving motor when the initial flag information is inconsistent with the target flag information.

[0097] According to one of the embodiments of the present application, the monitoring module 10 obtains the current flag information of the state flag bit of the driving motor, and specifically, in the case that feedback information sent by the driving motor is received within a preset time, determines the current flag information of the state flag bit of the driving motor based on the feedback information; in the case that the feedback information sent by the driving motor is not received within the preset time, determines that the driving motor loses communication.

[0098] According to one of the embodiments of the present application, the monitoring module 10 further determines that the driving motor has communication exception when the current flag information is inconsistent with the target flag information.

[0099] According to one of the embodiments of the present application, the determining module 20 determines the starting position of the driving motor, and specifically, in the case that the driving motor is powered on for the first time or in the case that the driving motor is powered on for the non-first time and the pre-stored position corresponding to the driving motor is invalid, controls the driving motor to perform position zero finding, and takes the current position of the driving motor after the position zero finding as the starting position of the driving motor; in the case that the driving motor is powered on for the non-first time and the pre-stored position of the driving motor is valid, takes the pre-stored position as the starting position of the driving motor.

[0100] According to one of the embodiments of the present application, the determining module 20 further adds one to the number of power-on operations of the driving motor in the case that the driving motor is powered on for the first time and the position zero finding is completed.

[0101] According to one of the embodiments of the present application, the control module 30, in the process of driving the driving motor based on the starting position, further controls the driving motor to stop running in response to a target stop instruction, and obtains the current position of the driving motor, taking the current position of the driving motor as the pre-stored position of the driving motor in the next power-on operation; or, in response to a stop instruction, controls the driving motor to stop running after running to a target stop position, taking the target stop position as the pre-stored position of the driving motor in the next power-on operation.

[0102] It should be noted that details not disclosed in the electric air outlet control device of the embodiments of the present application can refer to the details disclosed in the electric air outlet control method of the above-mentioned embodiments of the present application, which will not be described here.

[0103] According to the electric air outlet control device of the embodiments of the present application, the monitoring module monitors the driving motor online in response to the power-on instruction, and the determining module determines the starting position of the driving motor when the driving motor is in an online state. The control module drives the driving motor to operate based on the starting position of the driving motor when receiving the target start instruction, so as to control the electric air outlet. Thus, when the device is powered on, the initialization control of the driving motor is realized through the online monitoring of the driving motor and the determination of the starting position of the driving motor, so as to ensure the control effect of the electric air outlet.

[0104] Corresponding to the above-mentioned embodiments, the present application also provides a vehicle.

[0105] As shown in Figure 7 The vehicle 100 of the embodiments of the present application includes a memory 110, a processor 120, and an electric air outlet control program stored in the memory 110 and executable on the processor 120. When the processor 120 executes the electric air outlet control program, the electric air outlet control method described above is realized.

[0106] According to the vehicle of the embodiments of the present application, when the processor executes the electric air outlet control program, the electric air outlet control method described above is realized. Based on the electric air outlet control method, the initialization control of the driving motor is realized when the device is powered on, so as to ensure the control effect of the electric air outlet and improve the user comfort.

[0107] ​It is to be appreciated that the above description and the examples that follow are intended to be illustrative only and that changes can be made to the description, as represented by the above listed elements, by the steps recited in the flow charts, and by the examples that follow, without departing from the spirit of the application. Accordingly, the scope of the present application is intended to be defined only by the appended claims.

[0108] It should be understood that aspects of the application can be implemented in hardware, software, firmware or a combination thereof. In the above embodiments, various steps or methods can be implemented in software or firmware that is stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any of the following techniques, which are well known in the art of hardware implementation, can be used: a hybrid of the above techniques, a mixture of two or more of the above techniques, or a combination of the above techniques with other techniques not listed above.

[0109] In the description of the present application, the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" are intended to mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. The illustrative appearances of the above-mentioned terms in various places in the specification are not intended to exclude that the terms in one place can refer to the same feature, structure, material, or characteristic or a combination of features, structures, materials, or characteristics over different embodiments or examples. Furthermore, it is intended to cover the combination of features, structures, materials, or characteristics both in one or more embodiments or examples and in other embodiments or examples.

[0110] In addition, the terms "first", "second", etc. are used only for the purpose of description, and should not be understood as indicating or implying relative importance or implying a number of the technical features indicated. Therefore, the features defined as "first", "second" can explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "a plurality of" is at least two, for example, two, three, etc., unless otherwise explicitly specified and limited.

[0111] In the present application, unless otherwise explicitly specified and limited, the terms "mounting", "connecting", "connecting", "fixing" and the like should be understood broadly, for example, it can be fixedly connected, or it can be detachably connected, or it can be integrated; it can be mechanically connected, or it can be electrically connected; it can be directly connected, or it can be indirectly connected through an intermediate medium; it can be the internal communication of two elements or the interaction relationship between two elements, unless otherwise explicitly limited. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.

[0112] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above embodiments within the scope of the present application.

Claims

1. A method for controlling an electric air outlet, characterized in that, The electric air outlet includes a drive motor, and the method includes: In response to the power-on command, the drive motor is monitored online; When the drive motor is online, determine the starting position of the drive motor; Upon receiving a target start command, the drive motor is driven based on the starting position to control the electric air outlet.

2. The electric air outlet control method according to claim 1, characterized in that, The online monitoring of the drive motor includes: Send first target information to the drive motor so that the drive motor can adjust its state based on the first target information; Obtain the current flag information of the status flag bit of the drive motor, and determine that the drive motor is in an online state when the current flag information is consistent with the target flag information.

3. The electric air outlet control method according to claim 2, characterized in that, Before sending the first target information to the drive motor, the method further includes: The system acquires the initial flag information of the status flag bit of the drive motor, and determines that the drive motor is online when the initial flag information matches the target flag information. When the initial flag information does not match the target flag information, the system sends the first target information to the drive motor.

4. The electric air outlet control method according to claim 2, characterized in that, The step of obtaining the current flag information of the status flag bit of the drive motor further includes: If feedback information is received from the drive motor within a preset time, the current flag information of the status flag bit of the drive motor is determined based on the feedback information; If no feedback information is received from the drive motor within the preset time, it is determined that the drive motor communication has been lost.

5. The electric air outlet control method according to claim 4, characterized in that, The method further includes: When the current flag information is inconsistent with the target flag information, it is determined that the drive motor communication is abnormal.

6. The electric air outlet control method according to claim 1, characterized in that, Determining the starting position of the drive motor includes: When the drive motor is powered on for the first time, or when the drive motor is not powered on for the first time and the pre-stored position corresponding to the drive motor is invalid, the drive motor is controlled to perform position zeroing, and the current position of the drive motor after position zeroing is used as the starting position of the drive motor. If the drive motor is not being powered on for the first time and the pre-stored position of the drive motor is valid, the pre-stored position shall be used as the starting position of the drive motor.

7. The electric air outlet control method according to claim 6, characterized in that, The method further includes: When the drive motor is powered on for the first time and the position zeroing is completed, the number of times the drive motor is powered on is incremented by one.

8. The electric air outlet control method according to claim 6, characterized in that, During the process of driving the drive motor based on the starting position, the method further includes: In response to a target shutdown command, the drive motor is controlled to stop running, and the current position of the drive motor is obtained, which is used as the pre-stored position for the drive motor to run again upon next power-on; or, In response to a stop command, the drive motor is controlled to stop running after reaching the target stop position, and the target stop position is used as the pre-stored position for the drive motor to run again when it is powered on.

9. An electric air outlet control device, characterized in that, The electric air outlet includes a drive motor, and the device includes: The monitoring module is used to perform online monitoring of the drive motor in response to the power-on command; The determination module is used to determine the starting position of the drive motor when the drive motor is in an online state; The control module is used to drive the drive motor to run based on the starting position of the drive motor when a target start command is received, so as to control the electric air outlet.

10. A vehicle, characterized in that, The device includes a memory, a processor, and an electric air outlet control program stored in the memory and executable on the processor. When the processor executes the electric air outlet control program, it implements the electric air outlet control method according to any one of claims 1-8.