Adaptive drive control method of motor, motor controller and vehicle air conditioning system

Through the adaptive control method, the driving direction is determined based on the difference in motor parameter values, which solves the problem of inconsistent motor driving directions in the automotive air conditioning system and achieves convenient operation and safe operation.

CN115940707BActive Publication Date: 2024-09-10BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110993342.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-27
Publication Date
2024-09-10
Estimated Expiration
2041-08-27

AI Technical Summary

Technical Problem

In existing automobile air conditioning systems, the driving direction of the motor varies depending on the model and wiring harness wiring method, which requires the driving direction to be determined and solidified in advance, causing inconvenience in operation and may cause the motor to stall or damage the mechanical structure.

Method used

The adaptive drive control method is used to adaptively determine the drive direction of the motor by obtaining the difference between the motor's parameter value and the working state to avoid configuring different drive directions due to different models and wiring methods.

Benefits of technology

The motor adaptively determines the driving direction during normal operation without considering the motor model and wiring harness wiring method, which avoids configuration troubles, improves operation convenience and reduces the risk of mechanical structure damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115940707B
    Figure CN115940707B
Patent Text Reader

Abstract

The present invention proposes an adaptive drive control method for a motor, a motor controller and a vehicle air conditioning system, comprising: in an adaptive control mode, if a first parameter value X≤preset parameter value a, when the difference b between the first parameter value X and the second parameter value Y1>0, it is determined that the motor runs in a first drive direction, and, when the difference b between the first parameter value X and the second parameter value Y1<0, it is determined that the motor runs in a second drive direction; if the first parameter value X>preset parameter value a, when the difference b between the first parameter value X and the second parameter value Y1<0, it is determined that the motor runs in the first drive direction, and, when the difference b between the first parameter value X and the second parameter value Y1>0, it is determined that the motor runs in the second drive direction. The present invention can realize the adaptive motor drive direction, and there is no need to configure different motor drive directions according to motor models and motor wiring harness connections, which is convenient for personnel to operate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle air conditioning, and in particular to an adaptive drive control method of a motor, a motor controller and a vehicle air conditioning system. Background Art

[0002] At present, for automobile air conditioning systems, the damper motors used in the dampers of the box are usually DC servo motors. Due to the large number of motor manufacturers and different models, the motor running directions are not uniform. As a result, when the same forward voltage is applied, some motors run forward and some motors run reversely. Moreover, even if the motor models are uniform, if the wiring harnesses are different, the running directions of the motors will also be different. Therefore, due to the different motor models and wiring harnesses, the different motor driving directions caused by the different motor models and wiring harnesses require that the motor driving direction must be determined in advance when in use, and this direction must be solidified in the air conditioning controller for normal operation. Otherwise, the motor cannot work normally, which brings inconvenience to practical applications. Summary of the invention

[0003] The present invention aims to solve at least one of the technical problems existing in the prior art.

[0004] To this end, an object of the present invention is to propose an adaptive drive control method for a motor, by which the drive direction of the motor can be adaptively controlled without having to configure different motor drive directions according to the motor model and motor wiring harness connection, thereby facilitating human operation.

[0005] To this end, a second object of the present invention is to provide a motor controller.

[0006] Therefore, a third object of the present invention is to provide a vehicle air conditioning system.

[0007] To this end, a fourth object of the present invention is to provide a vehicle.

[0008] To this end, a fifth object of the present invention is to provide a non-transitory computer storage medium.

[0009] In order to achieve the above-mentioned purpose, an embodiment of the first aspect of the present invention proposes an adaptive drive control method for a motor, comprising: in response to an adaptive control instruction, controlling the motor to enter an adaptive control mode; in the adaptive control mode, obtaining a first parameter value X of the motor; obtaining a second parameter value Y at a preset time point T when the motor is in a working state, wherein T>0; if the first parameter value X≤preset parameter value a, when the difference b between the first parameter value X and the second parameter value Y>0, it is determined that the motor is running in a first driving direction, and, when the difference b between the first parameter value X and the second parameter value Y<0, it is determined that the motor is running in a second driving direction, wherein the first driving direction is the direction in which the motor is running in the reverse direction, and the second driving direction is the direction in which the motor is running in the forward direction; if the first parameter value X>the preset parameter value a, when the difference b between the first parameter value X and the second parameter value Y<0, it is determined that the motor is running in the first driving direction, and, when the difference b between the first parameter value X and the second parameter value Y>0, it is determined that the motor is running in the second driving direction.

[0010] According to the adaptive drive control method of the motor in the embodiment of the present invention, in the adaptive control mode, by controlling the preset working time of the motor, the preset parameter value is used as the target driving direction of the motor, and the driving direction of the motor is determined according to the difference between the first parameter value and the second parameter value at the preset time point T1 when the motor is running, thereby realizing the adaptive determination of the driving direction of the motor during normal operation, so that the designer no longer needs to consider the motor model and the motor wiring harness wiring method, avoiding the trouble of configuring different motor driving directions due to different motor models and different wiring harness wiring methods, and facilitating the operation of the designer.

[0011] In some embodiments, the first parameter value X is a parameter when the motor is in a stopped state.

[0012] In some embodiments, the first parameter value and the second parameter value are voltage values, and the preset parameter value is a preset voltage value.

[0013] In some embodiments, if the absolute value of the difference between the second parameter value Y1 and the first parameter value X is ≤ a threshold value f, then the difference b between the first parameter value X and the second parameter value Y1 is considered to be equal to zero; if the absolute value of the difference between the second parameter value Y1 and the first parameter value X is > a threshold value f, then the difference b between the first parameter value X and the second parameter value Y1 is considered not to be equal to zero.

[0014] In some embodiments, the pre-stored forward driving direction and reverse driving direction of the motor are obtained, and the motor is driven in one of the directions. If the absolute value of the difference between the second parameter value Y1 and the first parameter value X is ≤ the threshold value f, and the motor runs along the second driving direction, the motor is driven in the other direction, and the third parameter value Y2 at the preset time point T2 is obtained. According to the difference a2 between the second parameter value Y1 and the third parameter value Y2, it is determined whether the motor is faulty.

[0015] In some embodiments, if the absolute value of the difference between the second parameter value Y1 and the third parameter value Y2 is ≤ threshold value f, the motor fails; or if the absolute value of the difference between the second parameter value Y1 and the third parameter value Y2 is > threshold value f, and the motor runs along the first driving direction, the motor fails.

[0016] In some embodiments, if the absolute value of the difference between the second parameter value Y1 and the third parameter value Y2 is greater than a threshold value f, and the motor runs along the second driving direction, the motor operates normally.

[0017] In some embodiments, before controlling the motor to enter the adaptive control mode, it also includes: determining whether the current parameter value of the motor is within a preset parameter value range; if so, controlling the motor to enter the adaptive control mode; otherwise, determining that the motor is faulty.

[0018] A second aspect of the present invention provides a motor controller, comprising: a first control module, for controlling the motor to enter an adaptive control mode in response to an adaptive control instruction; a first acquisition module, for acquiring a first parameter value X of the motor in the adaptive control mode; a second acquisition module, for acquiring a second parameter value Y1 at a preset time point T1 when the motor is in a working state, wherein T1>0; a first determination module, for determining that if the first parameter value X≤preset parameter value a, when a difference b between the first parameter value X and the second parameter value Y1>0, the motor runs in a first driving direction, and when a difference b between the first parameter value X and the second parameter value Y1<0, the motor runs in a second driving direction; a second determination module, for determining that if the first parameter value X>preset parameter value a, when a difference b between the first parameter value X and the second parameter value Y1<0, the motor runs in the first driving direction, and when a difference b between the first parameter value X and the second parameter value Y1>0, the motor runs in the second driving direction.

[0019] According to the motor controller of the embodiment of the present invention, in the adaptive control mode, by controlling the preset working time of the motor, the preset parameter value is used as the target driving direction of the motor, so as to determine the driving direction of the motor according to the difference between the first parameter value and the second parameter value at the preset time point T1 when the motor is running, thereby realizing the adaptive determination of the driving direction of the motor during normal operation, so that the designer no longer needs to consider the motor model and the motor wiring harness wiring method, avoiding the trouble of configuring different motor driving directions due to different motor models and different wiring harness wiring methods, and facilitating the operation of the designer.

[0020] A third aspect of the present invention provides a vehicle air-conditioning system, comprising: a damper motor; a motor controller as described in the above embodiment; or a processor, a memory, and an adaptive drive control program for the motor stored in the memory and executable on the processor, wherein the adaptive drive control program for the motor, when executed by the processor, implements the adaptive drive control method for the motor as described in the above embodiment.

[0021] According to the vehicle air-conditioning system of the embodiment of the present invention, by adopting the motor controller or processor provided in the above embodiment to execute the adaptive drive control method of the motor provided in the above embodiment, the function of the motor adaptive drive direction can be realized, so that the designer no longer needs to consider the motor model and the motor wiring harness wiring method, avoiding the trouble of configuring different motor drive directions due to different motor models and different wiring harness wiring methods, and facilitating the operation of the designer.

[0022] A fourth aspect of the present invention provides a vehicle, comprising the vehicle air conditioning system as described in the above embodiment.

[0023] The vehicle according to the embodiment of the present invention can realize the function of motor adaptive driving direction by adopting the vehicle air-conditioning system provided by the above embodiment, so that the designer no longer needs to consider the motor model and the motor wiring harness wiring method, avoiding the trouble of configuring different motor driving directions due to different motor models and different wiring harness wiring methods, and facilitating the operation of designers.

[0024] A fifth aspect of the present invention provides a non-temporary computer storage medium, on which an adaptive drive control program for a motor is stored. When the adaptive drive control program for a motor is executed by a processor, the adaptive drive control method for a motor as described in the above embodiment is implemented.

[0025] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0027] Figure 1 is a flow chart of an adaptive drive control method for a motor according to an embodiment of the present invention;

[0028] Figure 2 is a schematic diagram of the working principle of a motor according to an embodiment of the present invention;

[0029] Figure 3 is a structural block diagram of a motor controller according to an embodiment of the present invention.

[0030] Reference numerals:

[0031] Motor controller 10;

[0032] A first control module 1; a first acquisition module 2; a second acquisition module 3; a first determination module 4; and a second determination module 5. DETAILED DESCRIPTION

[0033] Embodiments of the present invention are described in detail below. The embodiments described with reference to the accompanying drawings are exemplary. Embodiments of the present invention are described in detail below.

[0034] In the related art, the motor drive direction is different due to different motor models and wiring harness connections, so in actual use, the designer needs to determine the motor drive direction in advance according to the motor model and wiring method, and solidify this direction into the air-conditioning controller for normal operation, otherwise the motor cannot work normally. However, in order to keep the controller of the automobile air-conditioning system platform-based, designers usually design the controller to use a fixed motor drive direction, that is, the motor runs forward when the forward drive voltage is output. Therefore, if the motor used runs in the reverse direction when the forward drive voltage is applied, if the controller wants to control the motor to run in the target direction, it will cause the motor to run away from the target, thereby causing the motor to be blocked, unable to achieve normal functions, and even mechanical structure damage.

[0035] In order to solve the above problems, the first embodiment of the present invention proposes an adaptive drive control method for a motor. This method can realize adaptive motor driving direction. There is no need to configure different motor driving directions according to motor models and motor wiring harness connections, which is convenient for personnel to operate.

[0036] like Figure 1 As shown, the adaptive drive control method of a motor according to the embodiment of the present invention at least includes steps S1 to S5.

[0037] Step S1, in response to an adaptive control instruction, controlling the motor to enter an adaptive control mode.

[0038] Among them, the adaptive control instruction can be an instruction triggered by the user actively starting the adaptive control mode, such as the user sending the adaptive control instruction by operating the terminal device to control the motor to enter the adaptive control mode, or the adaptive control instruction can also be an instruction triggered when a certain trigger condition is met, that is, the adaptive control mode is passively started, such as the air conditioner controller is powered on to trigger the adaptive control instruction to control the motor to enter the adaptive control mode. In actual application, the designer can set the triggering condition of the adaptive control instruction or the triggering action of the adaptive control mode according to the actual situation, and there is no restriction on this.

[0039] In some embodiments, the adaptive control instruction may include at least one of the following: the motor controller is powered on for less than the second preset time, the motor air conditioner is powered on for the first time, and the preset control instruction sent by the preset terminal. For example, the adaptive control instruction is triggered within 10 seconds after the motor controller is powered on, so that the motor controller responds to the adaptive control instruction and controls the motor to enter the adaptive control mode.

[0040] Step S2, in the adaptive control mode, obtaining a first parameter value X of the motor, where the first parameter value X may be a parameter when the motor is stopped or a parameter when the motor is working.

[0041] The first parameter value X when the motor is stopped is a parameter value corresponding to the current state of the motor when the motor is not running.

[0042] In some embodiments, the first parameter value may be a voltage value, for example, Figure 2 The figure shows the working principle of the motor. In actual operation, a voltage sensor can be set. For example, the voltage sensor is set at Figure 2 At the marked position feedback point, the voltage value, i.e., the first parameter value, of the motor in the stopped state is detected by the voltage sensor, and the first parameter value is fed back to the motor controller. Thus, the motor controller can obtain the first parameter value of the motor in the stopped state.

[0043] Step S3, obtaining a second parameter value Y1 at a preset time point T1 when the motor is in a working state, wherein T1>0.

[0044] It is understandable that when the motor is in working state, the parameter values ​​of the motor will change accordingly at different times.

[0045] In some embodiments, the second parameter value can be a voltage value. For example, as shown in 2, a voltage sensor is provided at the position feedback point for real-time monitoring of the voltage value and feeding back the voltage value to the motor controller so that the motor controller can obtain the voltage values ​​corresponding to the motor at different times during the operation process. Thus, when the motor working time reaches the preset time point T1, the voltage value received by the motor controller at this time is the second parameter value Y1.

[0046] Step S4, if the first parameter value X≤preset parameter value a, when the difference b between the first parameter value X and the second parameter value Y1 is greater than 0, it is determined that the motor runs in the first driving direction; and, when the difference b between the first parameter value X and the second parameter value Y1 is less than 0, it is determined that the motor runs in the second driving direction.

[0047] The preset parameter value may be understood as a preset target driving direction for controlling the operation of the motor. In some embodiments, the preset parameter value may be a preset voltage value.

[0048] For example, to control the motor from a stopped state to a working state, taking the preset parameter value a=ΔV as an example, assuming that the first parameter value X=V1, the second parameter value Y1=V2, when V1<ΔV, if the difference between the first parameter value and the second parameter value b=V1-V2>0, then the motor is determined to operate in the first driving direction; if the difference between the first parameter value and the second parameter value b=V1-V2<0, then the motor is determined to operate in the second driving direction.

[0049] Step S5, if the first parameter value X>preset parameter value a, when the difference b between the first parameter value X and the second parameter value Y is less than 0, it is determined that the motor runs along the first driving direction; and, when the difference b between the first parameter value X and the second parameter value Y is greater than 0, it is determined that the motor runs along the second driving direction.

[0050] For example, to control the motor from a stopped state to a working state, taking the preset parameter value a=ΔV as an example, assuming that the first parameter value X=V1, the second parameter value Y1=V2, when V1>ΔV, if the difference between the first parameter value and the second parameter value b=V1-V2<0, then it is determined that the motor is running in the first driving direction; if the difference between the first parameter value and the second parameter value b=V1-V2>0, then it is determined that the motor is running in the second driving direction.

[0051] Therefore, through the above control method, the function of motor adaptive driving direction can be realized for motors of different models and different motor wiring methods, so that designers no longer need to consider the motor model and the motor wiring method, avoiding the trouble of configuring different motor driving directions due to different motor models and different wiring methods, and facilitating the operation of designers.

[0052] According to the adaptive drive control method of the motor in the embodiment of the present invention, in the adaptive control mode, by controlling the preset working time of the motor, the preset parameter value is used as the target driving direction of the motor, and the driving direction of the motor is determined according to the difference between the first parameter value and the second parameter value at the preset time point T1 when the motor is running, thereby realizing the adaptive determination of the driving direction of the motor during normal operation, so that the designer no longer needs to consider the motor model and the motor wiring harness wiring method, avoiding the trouble of configuring different motor driving directions due to different motor models and different wiring harness wiring methods, and facilitating the operation of the designer.

[0053] In some embodiments, before executing steps S4 and S5, the operation condition of the motor may be judged first to avoid the problem of motor failure. Specifically, if the absolute value of the difference between the second parameter value Y1 and the first parameter value X is ≤ the threshold value f, it is considered that the difference b between the first parameter value X and the second parameter value Y1 is equal to zero, that is, after the motor is controlled to enter the working state from the stop state, the first parameter value X in the stop state of the motor and the second parameter value Y1 of the motor after the operation time T1 do not change, so it can be determined that the motor is not working normally or the motor fails; if the absolute value of the difference between the second parameter value Y1 and the first parameter value X is greater than the threshold value f, it is considered that the difference b between the first parameter value X and the second parameter value Y1 is not equal to zero, that is, after the motor is controlled to enter the working state from the stop state, the first parameter value X in the stop state of the motor and the second parameter value Y1 of the motor after the operation time T1 change, so it can be determined that the motor is working normally. Therefore, by comparing the change in the parameter value of the motor before and after operation with the threshold value, it is determined whether the motor is running. Under the premise that the motor is running, the driving direction of the motor is determined according to the difference between the first parameter value and the second parameter value, so as to realize the motor adaptively determining the driving direction during normal operation.

[0054] In some embodiments, a pre-stored forward driving direction and a reverse driving direction of the motor are obtained, and the motor is driven in one of the directions. If the absolute value of the difference between the second parameter value Y1 and the first parameter value X is ≤ the threshold value f, and the motor runs in the second driving direction, the motor is driven in the other direction, and the third parameter value Y2 at the preset time point T2 is obtained. Based on the difference a2 between the second parameter value Y1 and the third parameter value Y2, it is determined whether the motor is faulty.

[0055] Specifically, when the motor controller first drives the motor to work in the forward driving direction, if it is determined that the absolute value of the difference between the second parameter value Y1 and the first parameter value X is ≤ the threshold value f, it means that the motor is not working properly or the motor fails. In this case, in order to further judge the state of the motor, the driving direction is switched, that is, the motor is driven again in the reverse driving direction, so as to obtain the third parameter value Y2 at the preset time point T2 according to the running condition of the motor in the reverse driving direction, so as to determine whether the motor fails according to the difference a2 between the second parameter value Y1 and the third parameter value Y2; if it is determined that the absolute value of the difference between the second parameter value Y1 and the first parameter value X is greater than the threshold value f, and the motor runs in the first driving direction, it is considered that the first parameter value X If the second parameter value Y1 changes, the motor works normally, and the direction of the motor is the same as the driving direction, so that the current driving direction is determined to be the correct driving direction of the motor, that is, the first driving direction is the positive driving direction of the motor; if it is determined that the absolute value of the difference between the second parameter value Y1 and the first parameter value X is greater than the threshold value f, and the motor runs in the second driving direction, it is considered that the first parameter value X and the second parameter value Y1 have changed, the motor works normally, but the direction of the motor is opposite to the driving direction, and the current driving direction is wrong, that is, the second driving direction is not the positive driving direction of the motor, so the driving direction is switched, that is, the motor is driven to work in the reverse driving direction, so as to determine the correct driving direction of the motor according to the running condition of the motor in the reverse driving direction.

[0056] Similarly, when the motor controller first drives the motor in the reverse driving direction, the judgment process is similar to the judgment method when the motor controller first drives the motor in the forward driving direction. In order to reduce redundancy, it will not be repeated here.

[0057] In some embodiments, after the motor controller switches the driving direction, that is, when the motor is driven in another direction, if the absolute value of the difference between the second parameter value Y1 and the third parameter value Y2 is ≤ the threshold value f, it is considered that the second parameter value Y1 and the third parameter value Y2 have not changed, which means that the motor has not operated after being driven in two driving directions, thereby determining that the motor is faulty; or, if the absolute value of the difference between the second parameter value Y1 and the third parameter value Y2 is greater than the threshold value f, and the motor operates in the first driving direction, it is considered that the second parameter value Y1 and the third parameter value Y2 have changed, but the direction in which the motor operates is opposite to the driving direction, thereby determining that the motor is faulty.

[0058] In some embodiments, after the motor controller switches the driving direction, that is, when the motor is driven in another direction, if the absolute value of the difference between the second parameter value Y1 and the third parameter value Y2 is greater than the threshold value f, and the motor is running in the second driving direction, it is considered that the second parameter value Y1 and the third parameter value Y2 have changed, the motor is working normally, and the direction of the motor is the same as the driving direction, thereby determining that the current driving direction is the correct driving direction of the motor. If the other direction is the positive driving direction, the second driving direction of the motor is the positive driving direction; if the other direction is the reverse driving direction, the second driving direction of the motor is the reverse driving direction.

[0059] In some embodiments, after determining that the motor fails, the motor is controlled to exit the adaptive control mode to facilitate subsequent operation.

[0060] In some embodiments, before controlling the motor to enter the adaptive control mode, it is necessary to determine whether the current parameter value of the motor is within the preset parameter value range. If so, it means that the motor is within the normal working range, and then the motor is controlled to enter the adaptive control mode to make the motor adaptive to the driving direction; otherwise, it means that the motor is not within the normal working range, and the motor failure is determined, and the motor is controlled to exit the adaptive control mode to avoid the problem of mechanical structure damage caused by the continued operation of the controlled motor.

[0061] In some embodiments, after a motor fault is determined, the corresponding fault code needs to be recorded to facilitate subsequent personnel to troubleshoot the problem.

[0062] A second aspect of the present invention provides a motor controller, such as Figure 3 As shown, the motor controller 10 includes a first control module 1 , a first acquisition module 2 , a second acquisition module 3 , a first determination module 4 and a second determination module 5 .

[0063] Among them, the first control module 1 is used to control the motor to enter the adaptive control mode in response to the adaptive control instruction; the first acquisition module 2 is used to obtain the first parameter value of the motor in the adaptive control mode; the second acquisition module 3 is used to obtain the second parameter value Y1 at a preset time point T1 when the motor is in a working state, wherein T1>0; the first determination module 4 is used to determine that the motor runs in the first driving direction if the first parameter value X≤preset parameter value a, when the difference b between the first parameter value X and the second parameter value Y1 is>0, and, when the difference b between the first parameter value X and the second parameter value Y1 is<0, then determine that the motor runs in the second driving direction; the second determination module 5 is used to determine that the motor runs in the first driving direction if the first parameter value X>preset parameter value a, when the difference b between the first parameter value X and the second parameter value Y1 is<0, and, when the difference b between the first parameter value X and the second parameter value Y1 is>0, then determine that the motor runs in the second driving direction.

[0064] It should be noted that the specific implementation method of the motor controller 10 in the embodiment of the present invention is similar to the specific implementation method of the adaptive drive control method of the motor in any of the above-mentioned embodiments of the present invention. Please refer to the description of the method part for details. In order to reduce redundancy, it will not be repeated here.

[0065] According to the motor controller 10 of the embodiment of the present invention, in the adaptive control mode, by controlling the preset working time of the motor, the preset parameter value is used as the target driving direction of the motor, and the driving direction of the motor is determined according to the difference between the first parameter value and the second parameter value at the preset time point T1 when the motor is running, thereby realizing the adaptive determination of the driving direction of the motor during normal operation, so that the designer does not need to consider the motor model and the motor wiring harness wiring method, avoiding the trouble of configuring different motor driving directions due to different motor models and different wiring harness wiring methods, and facilitating the operation of the designer.

[0066] In some embodiments, the motor controller 10 also includes a third determination module, which is used to, if the absolute value of the difference between the second parameter value Y1 and the first parameter value X is ≤ the threshold value f, then the difference b between the first parameter value X and the second parameter value Y1 is considered to be equal to zero; if the absolute value of the difference between the second parameter value Y1 and the first parameter value X is greater than the threshold value f, then the difference b between the first parameter value X and the second parameter value Y1 is considered not to be equal to zero.

[0067] In some embodiments, the first control module 1 is also used to obtain the pre-stored forward driving direction and reverse driving direction of the motor, and drive the motor in one of the directions. If the absolute value of the difference between the second parameter value Y1 and the first parameter value X is ≤ the threshold value f, and the motor runs along the second driving direction, the motor is driven in the other direction to obtain the third parameter value Y2 at the preset time point T2, and determine whether the motor is faulty based on the difference a2 between the second parameter value Y1 and the third parameter value Y2.

[0068] In some embodiments, the first control module 1 is also used to: if the absolute value of the difference between the second parameter value Y1 and the third parameter value Y2 is ≤ the threshold value f, then the motor fails; if the absolute value of the difference between the second parameter value Y1 and the third parameter value Y2 is > the threshold value f, and the motor runs in the first driving direction, then the motor fails.

[0069] In some embodiments, the first control module 1 is further configured to: if the absolute value of the difference between the second parameter value Y1 and the third parameter value Y2 is greater than the threshold value f, and the motor runs along the second driving direction, the motor operates normally.

[0070] In some embodiments, the first control module 1 is further configured to control the motor to exit the adaptive control mode after determining that the motor has failed, so as to facilitate subsequent operations.

[0071] In some embodiments, the first control module 1 is also used to determine whether the current parameter value of the motor is within the preset parameter value range before controlling the motor to enter the adaptive control mode. If so, it means that the motor is within the normal working range, and then the motor is controlled to enter the adaptive control mode to adapt the driving direction of the motor; otherwise, it means that the motor is not within the normal working range, and the motor failure is determined, and the motor is controlled to exit the adaptive control mode to avoid the problem of mechanical structure damage caused by continuing to control the motor.

[0072] In some embodiments, the first control module 1 is also used to record the corresponding fault code after determining that the motor is faulty, so as to facilitate subsequent personnel to troubleshoot the problem.

[0073] A third aspect of the present invention provides a vehicle air conditioning system. The vehicle air conditioning system according to the embodiment of the present invention is described below.

[0074] In one embodiment of the present invention, the vehicle air conditioning system may include a damper motor and the motor controller 10 provided in the above embodiment. That is, the vehicle air conditioning system controls the damper motor through the motor controller 10 to achieve the function of the motor adaptive driving direction.

[0075] In this embodiment, if Figure 2 The figure shows the working principle of the damper motor, which is composed of a micro motor and a position sensor. When working, the micro motor is powered to make it run, so as to drive the parameter value of the position sensor to change. Specifically, if a positive voltage is applied to the micro motor, such as a positive voltage is applied to one of the drive ports, the damper motor runs in one direction; if a reverse voltage is applied to the micro motor, such as a reverse voltage is applied to the second drive port, the damper motor runs in the opposite direction to the running direction when the forward voltage is applied.

[0076] In this embodiment, the vehicle air conditioning system may include multiple damper motors, and the control of the adaptive driving direction of each damper motor may be performed in a certain order to improve the reliability of the damper motor adaptation, or may be performed simultaneously to shorten the adaptation time and improve efficiency.

[0077] It should be noted that the adaptive driving direction process of multiple damper motors must be completed within a certain time, such as 10 seconds, after the motor controller is powered on. That is, the adaptive driving direction process will no longer be performed after the power-on exceeds the certain time.

[0078] In this embodiment, the specific implementation method of the vehicle air-conditioning system is similar to the specific implementation method of the motor controller 10 in any of the above embodiments of the present invention. Please refer to the description of the motor controller 10 for details. In order to reduce redundancy, it will not be repeated here.

[0079] In another embodiment of the present invention, a vehicle air conditioning system may include a processor, a memory, and an adaptive drive control program for a motor stored in the memory and executable on the processor. When the adaptive drive control program for the motor is executed by the processor, an adaptive drive control method for the motor as provided in the above embodiment is implemented.

[0080] In this embodiment, the specific implementation method of the vehicle air-conditioning system is similar to the specific implementation method of the adaptive drive control method of the motor in any of the above embodiments of the present invention. Please refer to the description of the adaptive drive control method of the motor for details. In order to reduce redundancy, it will not be repeated here.

[0081] According to the vehicle air-conditioning system of the embodiment of the present invention, by adopting the motor controller or processor provided in the above embodiment to execute the adaptive drive control method of the motor provided in the above embodiment, the function of the motor adaptive drive direction can be realized, so that the designer no longer needs to consider the motor model and the motor wiring harness wiring method, avoiding the trouble of configuring different motor drive directions due to different motor models and different wiring harness wiring methods, and facilitating the operation of the designer.

[0082] A fourth aspect of the present invention provides a vehicle, comprising a vehicle air conditioning system as provided in the above embodiment.

[0083] In some embodiments, the vehicle includes a box damper, which is mechanically connected to a damper motor in the vehicle air-conditioning system. Thus, the damper motor drive is controlled by a motor controller to drive the box damper to a suitable position to meet the user's temperature requirements.

[0084] In this embodiment, the specific implementation method of the vehicle is similar to the specific implementation method of the vehicle air-conditioning system of any of the above embodiments of the present invention. Please refer to the description of the vehicle air-conditioning system for details. In order to reduce redundancy, it will not be repeated here.

[0085] The vehicle according to the embodiment of the present invention can realize the function of motor adaptive driving direction by adopting the vehicle air-conditioning system provided by the above embodiment, so that the designer no longer needs to consider the motor model and the motor wiring harness wiring method, avoiding the trouble of configuring different motor driving directions due to different motor models and different wiring harness wiring methods, and facilitating the operation of designers.

[0086] The fifth aspect of the present invention provides a non-temporary computer storage medium, on which a computer-readable storage medium is stored an adaptive drive control program for a motor, and when the adaptive drive control program for a motor is executed by a processor, an adaptive drive control method for a motor as in the above embodiment is implemented.

[0087] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.

[0088] In the description of this specification, any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code including one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.

[0089] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0090] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0091] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0092] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0093] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.

[0094] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example.

[0095] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. An adaptive drive control method for a motor, characterized in that: include: In response to the adaptive control instruction, controlling the motor to enter an adaptive control mode; In the adaptive control mode, obtaining a first parameter value X of the motor; Obtain a second parameter value Y1 at a preset time point T1 when the motor is in a working state, wherein T1>0; If the first parameter value X≤preset parameter value a, when the difference b between the first parameter value X and the second parameter value Y1>0, it is determined that the motor runs in the first driving direction, and when the difference b between the first parameter value X and the second parameter value Y1<0, it is determined that the motor runs in the second driving direction; If the first parameter value X>the preset parameter value a, when the difference b between the first parameter value X and the second parameter value Y1 is<0, it is determined that the motor runs along the first driving direction, and when the difference b between the first parameter value X and the second parameter value Y1 is>0, it is determined that the motor runs along the second driving direction.

2. The adaptive drive control method of the motor according to claim 1, characterized in that: The first parameter value X is a parameter when the motor is in a stopped state.

3. The adaptive drive control method of the motor according to claim 1, characterized in that: The first parameter value and the second parameter value are voltage values, and the preset parameter value is a preset voltage value.

4. The adaptive drive control method of the motor according to claim 1, characterized in that: If the absolute value of the difference between the second parameter value Y1 and the first parameter value X is ≤ the threshold value f, then the difference b between the first parameter value X and the second parameter value Y1 is considered to be equal to zero; if the absolute value of the difference between the second parameter value Y1 and the first parameter value X is > the threshold value f, then the difference b between the first parameter value X and the second parameter value Y1 is considered not to be equal to zero.

5. The adaptive drive control method of the motor according to claim 4, characterized in that: The forward driving direction and the reverse driving direction of the motor are obtained in advance, and the motor is driven in one of the directions. If the absolute value of the difference between the second parameter value Y1 and the first parameter value X is ≤ the threshold value f, and the motor runs along the second driving direction, the motor is driven in the other direction, and the third parameter value Y2 at the preset time point T2 is obtained. According to the difference a2 between the second parameter value Y1 and the third parameter value Y2, it is determined whether the motor is faulty.

6. The adaptive drive control method of the motor according to claim 5, characterized in that: If the absolute value of the difference between the second parameter value Y1 and the third parameter value Y2 is less than or equal to the threshold value f, the motor fails, or If the absolute value of the difference between the second parameter value Y1 and the third parameter value Y2 is greater than the threshold value f, and the motor runs along the first driving direction, the motor is faulty.

7. The adaptive drive control method of a motor according to claim 5, characterized in that: If the absolute value of the difference between the second parameter value Y1 and the third parameter value Y2 is greater than the threshold value f, and the motor rotates along the second driving direction, the motor operates normally.

8. The adaptive drive control method of a motor according to claim 1, characterized in that: Before controlling the motor to enter the adaptive control mode, the method further includes: Determining whether the current parameter value of the motor is within a preset parameter value range; If yes, controlling the motor to enter the adaptive control mode; Otherwise, it is determined that the motor is faulty.

9. A motor controller, characterized in that: include: A first control module, configured to control the motor to enter an adaptive control mode in response to an adaptive control instruction; A first acquisition module, used for acquiring a first parameter value X of the motor in the adaptive control mode; A second acquisition module is used to acquire a second parameter value Y1 at a preset time point T1 when the motor is in a working state, wherein T>0; A first determination module, configured to, if the first parameter value X≤preset parameter value a, determine that the motor runs in a first driving direction when a difference b between the first parameter value X and the second parameter value Y1>0, and determine that the motor runs in a second driving direction when a difference b between the first parameter value X and the second parameter value Y1<0; The second determination module is used to determine that the motor runs along the first driving direction if the first parameter value X>the preset parameter value a, when the difference b between the first parameter value X and the second parameter value Y1 is less than 0, and to determine that the motor runs along the second driving direction when the difference b between the first parameter value X and the second parameter value Y1 is greater than 0.

10. A vehicle air conditioning system, characterized in that: include: Damper motor; The motor controller as claimed in claim 9; or A processor, a memory, and an adaptive drive control program for a motor stored in the memory and executable on the processor, wherein the adaptive drive control program for the motor, when executed by the processor, implements the adaptive drive control method for the motor as described in any one of claims 1 to 8.

11. A vehicle, characterized in that: It includes the vehicle air conditioning system as claimed in claim 10.

12. A non-transitory computer storage medium, characterized in that The computer storage medium stores an adaptive drive control program for a motor, and when the adaptive drive control program for a motor is executed by a processor, the adaptive drive control method for a motor as described in any one of claims 1 to 8 is implemented.