Disclosure of Invention
The application provides a temperature sampling control method, a temperature sampling control device, temperature sampling control equipment and a storage medium, and solves the technical problems that in the prior art, only one phase temperature provided with a temperature sensor can be detected, and the temperature of a motor stator cannot be comprehensively and accurately acquired.
In a first aspect, the present application provides a temperature sampling control method applied to a motor stator temperature acquisition circuit, where a motor stator temperature acquisition short circuit includes a first temperature sensor, a second temperature sensor and a controller, and the method is applied to the controller, and includes:
performing fault self-diagnosis on the first temperature sensor and the second temperature sensor, respectively;
if the fault self-diagnosis results of the first temperature sensor and the second temperature sensor are both fault-free, respectively carrying out low-temperature interval sensor rationality check on the first temperature sensor and the second temperature sensor;
if the low-temperature interval sensor rationality checking results of the first temperature sensor and the second temperature sensor are both fault-free, performing high-temperature interval sensor rationality checking on the first temperature sensor and the second temperature sensor;
if the high-temperature interval sensor rationality checking results of the first temperature sensor and the second temperature sensor are fault-free, acquiring a first temperature and a second temperature through the first temperature sensor and the second temperature sensor, and derating the motor according to the first temperature and the second temperature.
Here, in the present application, when monitoring the temperature of the motor stator, the temperature of each phase of the motor stator can be accurately monitored by collecting the temperatures of two temperature sensors provided in the motor stator, compared with a single temperature sensor arranged on the coil, and then, before the temperature collection, the first temperature sensor and the second temperature sensor are subjected to fault self-diagnosis to eliminate the influence of the fault of the temperature sensor on the temperature collection, after the fault of the temperature sensor itself is eliminated, the rationality of the low temperature section sensor is checked for the two sensors, the rationality of the sensor is checked for the temperature sensor under the low temperature environment to prevent the error caused by the deviation of the temperature sensor, and then the rationality of the high temperature section sensor is checked for the high temperature section, the error caused by the incorrect wiring of the hardware in the circuit is eliminated, and the accuracy of the temperature sampling of the first temperature sensor and the second temperature sensor is ensured by the diagnosis and the check, according to the accurate temperature sampling result of first temperature sensor and second temperature sensor, can gather motor stator's temperature comprehensively, accurately to the realization improves new energy automobile's life-span and safety to the control of motor.
Optionally, the performing fault self-diagnosis on the first temperature sensor and the second temperature sensor respectively includes:
and determining whether the first temperature sensor and the second temperature sensor have short-circuit faults or open-circuit faults through a sensor self-diagnosis strategy.
The first temperature sensor and the second temperature sensor are used for detecting whether short circuit or open circuit faults exist or not through self-diagnosis strategies, the states of the sensors can be accurately detected, the strategies are optimized aiming at the problem that the temperature of the stator exceeds a normal set range due to short circuit or open circuit of the temperature sensors, and the accuracy of motor stator temperature sampling is improved.
Optionally, the performing low temperature interval sensor rationality checks on the first temperature sensor and the second temperature sensor respectively includes:
after the vehicle parking time is greater than a first preset threshold value, acquiring a third temperature through the first temperature sensor, acquiring a fourth temperature through the second temperature sensor, and acquiring a low-temperature calibration temperature through a software temperature calibrator;
determining a low-temperature interval sensor rationality check result of the first temperature sensor according to the difference value between the third temperature and the low-temperature calibration temperature;
and determining the rationality check result of the low-temperature interval sensor of the second temperature sensor according to the difference value between the fourth temperature and the low-temperature calibration temperature.
Wherein, because temperature sensor drifts, after shutting down the cooling, the temperature that first temperature sensor and second temperature sensor gathered may have the deviation with the temperature that software temperature calibrator gathered in the machine controller, and quantization deviation strategy optimization can be carried out to this application, prevents the temperature sampling error that the temperature sensor deviation too big leads to, has further improved the accuracy that motor stator temperature gathered, has improved the life-span and the safety of car.
Optionally, the performing a high temperature interval sensor rationality check on the first temperature sensor and the second temperature sensor includes:
under the normal working condition of the vehicle, acquiring a fifth temperature through the first temperature sensor, and acquiring a sixth temperature through the sixth temperature sensor;
and comparing the fifth temperature with the sixth temperature, and determining the rationality result of the high-temperature interval sensor according to the comparison result.
Wherein, under the normal condition of high temperature stage and the wiring is correct the temperature that first temperature sensor sampled should be less than the temperature that second temperature sensor sampled, this application can optimize under high temperature state, because the hardware line of first temperature sensor and second temperature sensor connects the problem that leads to first temperature sensor's temperature to be greater than second temperature sensor's temperature, avoided the temperature acquisition error that leads to because hardware circuit connects conversely, further improved the accuracy of motor stator temperature acquisition, improved the life-span and the safety of car.
Optionally, after the checking the rationality of the low temperature section sensors of the first temperature sensor and the second temperature sensor, if both the low temperature section sensor rationality check results of the first temperature sensor and the second temperature sensor are fault-free, the method further includes:
and if the high-temperature interval sensor rationality checking results of the first temperature sensor and the second temperature sensor are faults, recording fault codes and controlling the vehicle to execute a limp strategy.
Here, after the first temperature sensor and the second temperature sensor are determined to be in the hardware reverse connection state, the vehicle is set in the limp-home strategy, damage to the vehicle and potential safety hazards caused by the fact that the temperature of a motor stator of the vehicle is too high are prevented, and safety and stability of the vehicle are improved.
Optionally, after performing low-temperature section sensor rationality checks on the first temperature sensor and the second temperature sensor respectively if the fault self-diagnosis results of the first temperature sensor and the second temperature sensor are both fault-free, the method further includes:
if the low-temperature interval sensor rationality check result of the first temperature sensor is no fault, and the low-temperature interval sensor rationality check result of the second temperature sensor is fault, recording a fault code, acquiring a first temperature through the first temperature sensor, and performing derating processing on the motor according to the first temperature;
if the low-temperature interval sensor rationality check result of the first temperature sensor is faulty and the low-temperature interval sensor rationality check result of the second temperature sensor is non-faulty, recording a fault code, acquiring a second temperature through the second temperature sensor, and performing derating processing on the motor according to the second temperature;
and if the low-temperature interval sensor rationality checking results of the first temperature sensor and the second temperature sensor are both faulty, recording a fault code, and controlling the vehicle to execute a limp strategy.
Here, the temperature sampling strategy can be determined according to whether two sensors have low-temperature interval sensor rationality faults or not, if a certain sensor has a fault, the sensor is not used for temperature acquisition, so that the accuracy of temperature sampling is guaranteed, and if the two sensors both have faults, the vehicle is arranged under the limp strategy for guaranteeing the stability and the safety of the vehicle.
Optionally, after the performing fault self-diagnosis on the first temperature sensor and the second temperature sensor respectively, the method further includes:
if the fault self-diagnosis result of the first temperature sensor is no fault and the fault self-diagnosis result of the second temperature sensor is fault, recording a fault code, and controlling the first temperature sensor to carry out temperature acquisition on the motor stator;
if the fault self-diagnosis result of the first temperature sensor is fault and the fault self-diagnosis result of the second temperature sensor is no fault, recording a fault code, and controlling the second temperature sensor to carry out temperature acquisition on the motor stator;
and if the fault self-diagnosis results of the first temperature sensor and the second temperature sensor are both fault, recording a fault code, and controlling the vehicle to execute a limp-home strategy.
The temperature sampling strategy can be determined according to whether the two sensors have short circuit or open circuit faults, if a certain sensor has a fault, the sensor is not used for temperature acquisition, so that the accuracy of temperature sampling is guaranteed, and if the two sensors both have faults, the vehicle is arranged under a limp strategy for guaranteeing the stability and the safety of the vehicle.
In a second aspect, the present application provides a temperature sampling control apparatus, comprising:
the first diagnosis module is used for performing fault self-diagnosis on the first temperature sensor and the second temperature sensor respectively;
the second diagnosis module is used for respectively carrying out low-temperature interval sensor rationality check on the first temperature sensor and the second temperature sensor if the fault self-diagnosis results of the first temperature sensor and the second temperature sensor are both fault-free;
the third diagnosis module is used for carrying out high-temperature interval sensor rationality check on the first temperature sensor and the second temperature sensor if the low-temperature interval sensor rationality check results of the first temperature sensor and the second temperature sensor are both fault-free;
and the processing module is used for acquiring a first temperature and a second temperature through the first temperature sensor and the second temperature sensor if the rationality checking result of the high-temperature interval sensor of the first temperature sensor and the second temperature sensor is fault-free, and derating the motor according to the first temperature and the second temperature.
Optionally, the first diagnostic module is specifically configured to:
and determining whether the first temperature sensor and the second temperature sensor have short-circuit faults or open-circuit faults through a sensor self-diagnosis strategy.
Optionally, the second diagnostic module is specifically configured to:
after the vehicle parking time is greater than a first preset threshold value, acquiring a third temperature through the first temperature sensor, acquiring a fourth temperature through the second temperature sensor, and acquiring a low-temperature calibration temperature through a software temperature calibrator;
determining a low-temperature interval sensor rationality check result of the first temperature sensor according to the difference value between the third temperature and the low-temperature calibration temperature;
and determining the rationality check result of the low-temperature interval sensor of the second temperature sensor according to the difference value between the fourth temperature and the low-temperature calibration temperature.
Optionally, the third diagnostic module is specifically configured to:
under the normal working condition of the vehicle, acquiring a fifth temperature through the first temperature sensor, and acquiring a sixth temperature through the sixth temperature sensor;
and comparing the fifth temperature with the sixth temperature, and determining the rationality result of the high-temperature interval sensor according to the comparison result.
Optionally, after the third diagnostic module performs the high temperature section sensor rationality check on the first temperature sensor and the second temperature sensor if both the low temperature section sensor rationality check results of the first temperature sensor and the second temperature sensor are fault-free, the apparatus further includes:
and the first control module is used for recording a fault code and controlling the vehicle to execute a limp-home strategy if the high-temperature interval sensor rationality check results of the first temperature sensor and the second temperature sensor are faulty.
Optionally, after the second diagnosis module performs low-temperature section sensor rationality check on the first temperature sensor and the second temperature sensor respectively if the fault self-diagnosis results of the first temperature sensor and the second temperature sensor are both fault-free, the apparatus further includes:
the second control module is used for recording a fault code if the low-temperature interval sensor rationality check result of the first temperature sensor is no fault and the low-temperature interval sensor rationality check result of the second temperature sensor is fault, acquiring a first temperature through the first temperature sensor and carrying out derating processing on the motor according to the first temperature;
if the low-temperature interval sensor rationality check result of the first temperature sensor is fault and the low-temperature interval sensor rationality check result of the second temperature sensor is no fault, recording a fault code, acquiring a second temperature through the second temperature sensor, and performing derating processing on the motor according to the second temperature;
and if the low-temperature interval sensor rationality checking results of the first temperature sensor and the second temperature sensor are both faulty, recording a fault code, and controlling the vehicle to execute a limp strategy.
Optionally, after the first diagnostic module performs fault self-diagnosis on the first temperature sensor and the second temperature sensor respectively, the apparatus further includes:
a third control module to:
if the fault self-diagnosis result of the first temperature sensor is no fault and the fault self-diagnosis result of the second temperature sensor is fault, recording a fault code, and controlling the first temperature sensor to carry out temperature acquisition on the motor stator;
if the fault self-diagnosis result of the first temperature sensor is fault and the fault self-diagnosis result of the second temperature sensor is no fault, recording a fault code, and controlling the second temperature sensor to carry out temperature acquisition on the motor stator;
and if the fault self-diagnosis results of the first temperature sensor and the second temperature sensor are both fault, recording a fault code, and controlling the vehicle to execute a limp-home strategy.
In a third aspect, the present application provides a temperature sampling control apparatus, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of temperature sampling control according to the first aspect or the alternatives thereof.
In a fourth aspect, the present invention provides a computer-readable storage medium, in which computer-executable instructions are stored, and when executed by a processor, implement the temperature sampling control method according to the first aspect and various possible designs of the first aspect.
In a fifth aspect, the present invention provides a computer program product comprising a computer program which, when executed by a processor, implements a temperature sampling control method as described above in the first aspect and various possible designs of the first aspect.
The application provides a temperature sampling control method, a device, equipment and a storage medium, wherein, in the method, when the temperature of a motor stator is monitored, the temperature is collected by two temperature sensors arranged on the motor stator, compared with a single temperature sensor arranged on a coil, the temperature of each phase of the motor stator can be accurately monitored, secondly, before the temperature is collected, the first temperature sensor and the second temperature sensor are subjected to fault self-diagnosis in advance to eliminate the influence of the fault of the temperature sensors on the temperature collection, after the fault of the temperature sensors is eliminated, the low-temperature interval sensor rationality check is carried out on the two sensors, the sensor rationality check is carried out under the low-temperature environment to prevent the error caused by the deviation of the temperature sensors, then the high-temperature interval sensor rationality check is carried out, and the error caused by incorrect hardware wiring in a circuit is eliminated, through the diagnosis and the inspection, the temperature sampling precision of the first temperature sensor and the second temperature sensor is guaranteed, and the temperature of the motor stator can be comprehensively and accurately acquired according to the accurate temperature sampling results of the first temperature sensor and the second temperature sensor, so that the motor is controlled, and the service life and the safety of the new energy automobile are improved.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terms "first," "second," "third," and "fourth," if any, in the description and claims of this application and the above-described figures are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Usually, the stator and rotor windings of the motor are made of insulating copper materials or copper wires with certain insulation grades. The maximum temperature allowed by the operation of the insulation grade is limited according to the insulation material (for example, 130 degrees centigrade for the B-grade insulation). If the temperature exceeds a prescribed value, the properties of the insulating material deteriorate, the deterioration of the insulation is accelerated, and finally the insulation breaks down to burn out. When the motor works, the internal temperature can be increased due to various losses, which affects the insulation performance of the motor insulation material, and in order to ensure the normal and reliable work of the motor, the temperature of the motor stator must be measured. Exemplarily, fig. 1 is a schematic circuit structure diagram of a circuit of a stator temperature acquisition part of a motor provided in the prior art, and as shown in fig. 1, the circuit includes a first phase branch 100, a second phase branch 101, a third phase branch 102, and a temperature sensor 103. Wherein, temperature sensor 103 sets up on A looks branch road 100, if the temperature value that temperature sensor 103 measured exceeds normal value (default), can send out the warning through supervisory equipment etc. reminds managers to pay attention to and checks, gets rid of the trouble hidden danger that probably appears, or reduces the output of generator, or increases the cooling to the generator, finally makes the temperature of generator rotor reduce, returns the normal figure to guarantee the safe and reliable operation of generator. However, in the prior art, the temperature sampling method for the motor stator can only detect the temperature of one phase provided with the temperature sensor, and cannot comprehensively and accurately acquire the temperature of the motor stator.
In order to solve the above problems, embodiments of the present application provide a temperature sampling control method, device, apparatus, and storage medium, where the method designs two paths of temperature sensor control on a motor stator, and provides a two-path temperature sensor temperature sampling control strategy method, and determines a temperature sampling strategy by detecting whether two temperature sensors have a fault.
Optionally, fig. 2 is a schematic diagram of a temperature sampling control system according to an embodiment of the present disclosure. In fig. 1, the above-described architecture includes a motor stator temperature acquisition circuit 201 and a controller 202.
The controller 202 is connected to the motor stator temperature acquisition circuit 201, and is configured to control the motor stator temperature acquisition circuit 201.
The motor stator temperature acquisition circuit 201 further includes a first phase branch 2011, a second phase branch 2012, a third phase branch 2013, a first temperature sensor 2014 and a second temperature sensor 2015.
As shown in fig. 1, a first temperature sensor 2014 is provided at a convergence point of the three-phase legs, and a second temperature sensor 2015 is provided on the first phase leg 2011.
It is understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation to the architecture of the temperature sampling control system. In other possible embodiments of the present application, the foregoing architecture may include more or less components than those shown in the drawings, or combine some components, or split some components, or arrange different components, which may be determined according to practical application scenarios, and is not limited herein. The components shown in fig. 2 may be implemented in hardware, software, or a combination of software and hardware.
In a specific implementation process, the controller 202 can control the motor stator temperature acquisition circuit 201, two paths of temperature sensors are designed on the motor stator for control, and a temperature sampling strategy is determined by detecting whether faults exist in the two temperature sensors.
The technical scheme of the application is described in detail by combining specific embodiments as follows:
it should be understood that the device in the temperature sampling control system may be implemented by a control unit in the device reading an instruction in a memory and executing the instruction, or may be implemented by a chip circuit.
In addition, the network architecture and the service scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not constitute a limitation to the technical solution provided in the embodiment of the present application, and it can be known by a person skilled in the art that along with the evolution of the network architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
The technical scheme of the application is described in detail by combining specific embodiments as follows:
fig. 3 is a schematic flow chart of a temperature sampling control method according to an embodiment of the present application. The execution subject of the embodiment of the present application may be the controller 202 in fig. 2, and the specific execution subject may be determined according to an actual application scenario. As shown in fig. 3, the method comprises the steps of:
s301: failure self-diagnosis is performed for the first temperature sensor and the second temperature sensor, respectively.
Optionally, the first Temperature sensor and the second Temperature sensor are Negative Temperature Coefficient Sensors (NTCs).
Optionally, performing fault self-diagnosis on the first temperature sensor and the second temperature sensor, respectively, includes: and determining whether the first temperature sensor and the second temperature sensor have short-circuit faults or open-circuit faults through a sensor self-diagnosis strategy.
Here, the embodiment of the application detects whether the first temperature sensor and the second temperature sensor have a short circuit or open circuit fault through a self-diagnosis strategy, can accurately detect the state of the sensors, and is optimized in the strategy aiming at the problem that the temperature of the stator exceeds a normal set range due to the short circuit or open circuit of the temperature sensors, so that the accuracy of sampling the temperature of the stator of the motor is improved.
Alternatively, determining whether the first temperature sensor and the second temperature sensor have the short-circuit fault or the open-circuit fault may be obtained by checking HI, LO rang through a sensor self-diagnosis strategy.
Optionally, after performing fault self-diagnosis on the first temperature sensor and the second temperature sensor, respectively, the method further includes:
if the fault self-diagnosis result of the first temperature sensor is no fault and the fault self-diagnosis result of the second temperature sensor is fault, recording a fault code, and controlling the first temperature sensor to carry out temperature acquisition on the motor stator; if the fault self-diagnosis result of the first temperature sensor is fault and the fault self-diagnosis result of the second temperature sensor is no fault, recording a fault code, and controlling the second temperature sensor to carry out temperature acquisition on the motor stator; and if the fault self-diagnosis results of the first temperature sensor and the second temperature sensor are both fault, recording a fault code, and controlling the vehicle to execute a limp strategy.
The method comprises the following steps that a sensor self-diagnosis strategy is added, and when any one temperature sensor has a short circuit or open circuit fault, the other temperature sensor is used; and if the two paths have faults, judging to enter a limHome fault mode.
Here, the temperature sampling strategy can be determined according to whether the two sensors have short circuit or open circuit faults, if a certain sensor has a fault, the sensor is not used for temperature acquisition, so that the accuracy of temperature sampling is ensured, and if the two sensors both have faults, the vehicle is set under the limp-home strategy for ensuring the stability and the safety of the vehicle.
S302: and if the fault self-diagnosis results of the first temperature sensor and the second temperature sensor are both fault-free, respectively carrying out low-temperature section sensor rationality check on the first temperature sensor and the second temperature sensor.
Optionally, the performing the low temperature section sensor rationality check on the first temperature sensor and the second temperature sensor respectively comprises:
after the vehicle parking time is greater than a first preset threshold value, acquiring a third temperature through a first temperature sensor, acquiring a fourth temperature through a second temperature sensor, and acquiring a low-temperature calibration temperature through a software temperature calibrator; determining a low-temperature interval sensor rationality check result of the first temperature sensor according to a difference value between the third temperature and the low-temperature calibration temperature; and determining the rationality check result of the sensor in the low-temperature section of the second temperature sensor according to the difference value between the fourth temperature and the low-temperature calibration temperature.
The first preset threshold may be determined according to actual conditions, and this is not specifically limited in this embodiment of the application.
Wherein, because temperature sensor drifts, after shutting down the cooling, the temperature that first temperature sensor and second temperature sensor gathered may have the deviation with the temperature that software temperature calibrator gathered in the motor controller, and this application embodiment can carry out quantization deviation strategy optimization, prevents the temperature sampling error that the temperature sensor deviation too big leads to, has further improved the accuracy that motor stator temperature gathered, has improved the life-span and the safety of car.
Optionally, after performing low-temperature section sensor rationality checks on the first temperature sensor and the second temperature sensor respectively if the fault self-diagnosis results of the first temperature sensor and the second temperature sensor are both fault-free, the method further includes:
if the low-temperature interval sensor rationality check result of the first temperature sensor is no fault, and the low-temperature interval sensor rationality check result of the second temperature sensor is fault, recording a fault code, acquiring a first temperature through the first temperature sensor, and performing derating processing on the motor according to the first temperature; if the low-temperature interval sensor rationality check result of the first temperature sensor is fault and the low-temperature interval sensor rationality check result of the second temperature sensor is no fault, recording a fault code, acquiring a second temperature through the second temperature sensor, and performing derating processing on the motor according to the second temperature; and if the low-temperature section sensor rationality checking results of the first temperature sensor and the second temperature sensor are both faulty, recording a fault code, and controlling the vehicle to execute a limp strategy.
The temperature sampling strategy can be determined according to whether the two sensors have low-temperature interval sensor rationality faults or not, if a certain sensor has a fault, the sensor is not used for temperature acquisition, so that the accuracy of temperature sampling is ensured, and if the two sensors have faults, the vehicle is arranged under the limping strategy for ensuring the stability and the safety of the vehicle.
In some possible implementation manners, in the embodiment of the application, the rationality of the sensor is checked in a low-temperature interval, the software detects and obtains the downtime of the whole vehicle, when the downtime is larger than a certain time threshold (mainly used for judging that the vehicle is cooled to the room temperature), the first temperature sensor and the second temperature sensor are respectively compared with the DBC temperature of the software, if the error exceeds the threshold range, the temperature sensor is considered to have deviation, and the sensor is not used after the fault code DFC is recorded.
S303: and if the low-temperature interval sensor rationality checking results of the first temperature sensor and the second temperature sensor are both fault-free, carrying out high-temperature interval sensor rationality checking on the first temperature sensor and the second temperature sensor.
Optionally, the high temperature interval sensor rationality checking the first temperature sensor and the second temperature sensor includes: under the normal working condition of the vehicle, acquiring a fifth temperature through the first temperature sensor, and acquiring a sixth temperature through the sixth temperature sensor; and comparing the fifth temperature with the sixth temperature, and determining the rationality result of the high-temperature interval sensor according to the comparison result.
The temperature sampled by the first temperature sensor is lower than the temperature sampled by the second temperature sensor under the conditions of normal working conditions and correct wiring in the high-temperature stage, the embodiment of the application can optimize the problem that the temperature of the first temperature sensor is higher than the temperature of the second temperature sensor due to the fact that the hardware wires of the first temperature sensor and the second temperature sensor are reversely connected under the high-temperature state, temperature acquisition errors caused by the fact that a hardware circuit is reversely connected are avoided, the accuracy of temperature acquisition of the motor stator is further improved, and the service life and the safety of an automobile are improved.
In one possible implementation, the sensor rationality check is performed in a high temperature zone, and the diagnostic strategy method is mainly used to avoid the problem of reverse connection of hardware. Under the conditions of normal working condition and correct wiring in a high-temperature stage, the temperature of the second temperature sensor is larger than the temperature of the first temperature sensor, and if the temperature of the first temperature sensor is larger than the temperature of the second temperature sensor, the wiring is judged to be incorrect or the diagnosis is reasonable.
S304: if the high-temperature interval sensor rationality checking results of the first temperature sensor and the second temperature sensor are fault-free, the first temperature and the second temperature are collected through the first temperature sensor and the second temperature sensor, and derating processing is carried out on the motor according to the first temperature and the second temperature.
Optionally, derating the motor includes controlling the motor to enter a derating driving state, and entering the derating driving state when it is detected that the stator temperature (the maximum value of the first temperature and the second temperature) exceeds a set threshold abnormally. It is understood that the set threshold value may be determined according to actual conditions, and is not particularly limited in the embodiments of the present application.
Optionally, after the checking the rationality of the first temperature sensor and the second temperature sensor in the high temperature section if both the checking results of the rationality of the first temperature sensor and the second temperature sensor are fault-free, the method further includes: and if the rationality check results of the sensors in the high-temperature sections of the first temperature sensor and the second temperature sensor are faults, recording fault codes and controlling the vehicle to execute a limp-home strategy.
Here, after determining that hardware connection of the first temperature sensor and the second temperature sensor is reversed, the vehicle is set in a limp-home strategy, damage and potential safety hazards to the vehicle due to the fact that the temperature of a motor stator of the vehicle is too high are prevented, and safety and stability of the vehicle are improved.
Here, in the embodiment of the present application, when monitoring the temperature of the motor stator, the two temperature sensors disposed on the motor stator are used for collecting the temperature, compared with a single temperature sensor disposed on the coil, the temperature of each phase of the motor stator can be accurately monitored, then, before the temperature collection, the first temperature sensor and the second temperature sensor are subjected to fault self-diagnosis in advance to eliminate the influence of the fault of the temperature sensor on the temperature collection, after the fault of the temperature sensor is eliminated, the rationality check of the low-temperature section sensor is performed on the two sensors, the rationality check of the sensor is performed in a low-temperature environment to prevent the error caused by the deviation of the temperature sensor, and then the rationality check of the high-temperature section sensor is performed to eliminate the error caused by incorrect wiring of the hardware in the circuit, and through the diagnosis and check, the accuracy of the temperature sampling of the first temperature sensor and the second temperature sensor is ensured, according to the accurate temperature sampling result of first temperature sensor and second temperature sensor, can gather motor stator's temperature comprehensively, accurately to the realization improves new energy automobile's life-span and safety to the control of motor.
Optionally, an embodiment of the present application provides another temperature sampling control method, and accordingly, fig. 4 is a schematic flow chart of the another temperature sampling control method provided in the embodiment of the present application. As shown in fig. 4, the method includes the following steps (see fig. 4 for a detailed jump between the steps):
s41: failure self-diagnosis is performed for the first temperature sensor and the second temperature sensor, respectively.
S420: the first temperature sensor and the second temperature sensor both have self-diagnostic faults. Then S430: and (5) fault processing.
S421: there is a self-diagnostic failure in one of the first temperature sensor and the second temperature sensor. Then S4211: the faulty temperature sensor is shielded. S4212: and judging whether the non-fault sensor has a low-temperature section sensor rationality fault or not. If yes, S42130: and (5) fault processing. If not, S42131: temperature sampling is performed by non-faulty sensors.
S422: neither the first temperature sensor nor the second temperature sensor has a self-diagnostic fault. Then S4221: and respectively carrying out low-temperature interval sensor rationality check on the first temperature sensor and the second temperature sensor.
S42210: and both the first temperature sensor and the second temperature sensor have low-temperature section faults. Then S422100: and (5) fault processing.
S42211: one of the first temperature sensor and the second temperature sensor has a low temperature range fault. Then, S422110: and sampling the temperature by a sensor without low-temperature interval faults.
S42212: the first temperature sensor and the second temperature sensor do not have low-temperature section faults. S422120: and performing high-temperature interval sensor rationality check on the first temperature sensor and the second temperature sensor, and judging whether a circuit reverse connection fault exists or not. If yes, S422121: and (5) fault processing. If not, S422122: temperature sampling is performed by the first temperature sensor and the second temperature sensor.
By the method, accurate sampling of all stator temperature working condition ranges can be realized.
Fig. 5 is a schematic structural diagram of a temperature sampling control apparatus according to an embodiment of the present disclosure, and as shown in fig. 5, the apparatus according to the embodiment of the present disclosure includes a first diagnostic module 501, a second diagnostic module 502, a third diagnostic module 503, and a processing module 504. The temperature sampling control device may be the controller 202 itself, or a chip or an integrated circuit that implements the functions of the controller 202. It should be noted here that the division of the first diagnostic module 501, the second diagnostic module 502, the third diagnostic module 503 and the processing module 504 is only a division of logical functions, and the two may be integrated or independent physically.
The first diagnosis module is used for performing fault self-diagnosis on the first temperature sensor and the second temperature sensor respectively;
the second diagnosis module is used for respectively carrying out low-temperature interval sensor rationality check on the first temperature sensor and the second temperature sensor if the fault self-diagnosis results of the first temperature sensor and the second temperature sensor are both fault-free;
the third diagnosis module is used for carrying out high-temperature interval sensor rationality check on the first temperature sensor and the second temperature sensor if the low-temperature interval sensor rationality check results of the first temperature sensor and the second temperature sensor are both fault-free;
and the processing module is used for acquiring the first temperature and the second temperature through the first temperature sensor and the second temperature sensor if the high-temperature interval sensor rationality checking results of the first temperature sensor and the second temperature sensor are fault-free, and derating the motor according to the first temperature and the second temperature.
Optionally, the first diagnostic module is specifically configured to:
and determining whether the first temperature sensor and the second temperature sensor have short-circuit faults or open-circuit faults through a sensor self-diagnosis strategy.
Optionally, the second diagnostic module is specifically configured to:
after the vehicle parking time is greater than a first preset threshold value, acquiring a third temperature through a first temperature sensor, acquiring a fourth temperature through a second temperature sensor, and acquiring a low-temperature calibration temperature through a software temperature calibrator;
determining a low-temperature interval sensor rationality check result of the first temperature sensor according to a difference value between the third temperature and the low-temperature calibration temperature;
and determining the rationality check result of the sensor in the low-temperature section of the second temperature sensor according to the difference value between the fourth temperature and the low-temperature calibration temperature.
Optionally, the third diagnostic module is specifically configured to:
under the normal working condition of the vehicle, acquiring a fifth temperature through the first temperature sensor, and acquiring a sixth temperature through the sixth temperature sensor;
and comparing the fifth temperature with the sixth temperature, and determining the rationality result of the high-temperature interval sensor according to the comparison result.
Optionally, after the third diagnosing module performs the high temperature section sensor rationality check on the first temperature sensor and the second temperature sensor if both the low temperature section sensor rationality check results of the first temperature sensor and the second temperature sensor are fault-free, the apparatus further includes:
and the first control module is used for recording a fault code and controlling the vehicle to execute a limp-home strategy if the high-temperature interval sensor rationality check results of the first temperature sensor and the second temperature sensor are faulty.
Optionally, after the second diagnosis module performs low-temperature section sensor rationality checks on the first temperature sensor and the second temperature sensor respectively if the fault self-diagnosis results of the first temperature sensor and the second temperature sensor are both fault-free, the apparatus further includes:
the second control module is used for recording a fault code if the low-temperature interval sensor rationality check result of the first temperature sensor is no fault and the low-temperature interval sensor rationality check result of the second temperature sensor is fault, acquiring a first temperature through the first temperature sensor and derating the motor according to the first temperature;
if the low-temperature interval sensor rationality check result of the first temperature sensor is fault and the low-temperature interval sensor rationality check result of the second temperature sensor is no fault, recording a fault code, acquiring a second temperature through the second temperature sensor, and performing derating processing on the motor according to the second temperature;
and if the low-temperature section sensor rationality checking results of the first temperature sensor and the second temperature sensor are both faulty, recording a fault code, and controlling the vehicle to execute a limp strategy.
Optionally, after the first diagnostic module performs fault self-diagnosis on the first temperature sensor and the second temperature sensor, respectively, the apparatus further includes:
a third control module to:
if the fault self-diagnosis result of the first temperature sensor is no fault and the fault self-diagnosis result of the second temperature sensor is fault, recording a fault code, and controlling the first temperature sensor to carry out temperature acquisition on the motor stator;
if the fault self-diagnosis result of the first temperature sensor is fault and the fault self-diagnosis result of the second temperature sensor is no fault, recording a fault code, and controlling the second temperature sensor to carry out temperature acquisition on the motor stator;
and if the fault self-diagnosis results of the first temperature sensor and the second temperature sensor are both fault, recording a fault code, and controlling the vehicle to execute a limp strategy.
Fig. 6 is a schematic structural diagram of a temperature sampling control device according to an embodiment of the present application. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not limiting to the implementations of the present application described and/or claimed herein.
As shown in fig. 6, the temperature sampling control apparatus includes: a processor 601 and a memory 602, the various components being interconnected using different buses, and may be mounted on a common motherboard or in other manners as desired. The processor 601 may process instructions executed within the temperature sampling control device, including instructions for graphical information stored in or on a memory for display on an external input/output device (such as a display device coupled to an interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. In fig. 6, one processor 601 is taken as an example.
The memory 602, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the method of the temperature sampling control apparatus in the embodiments of the present application (for example, the first diagnostic module 501, the second diagnostic module 502, the third diagnostic module 503, and the processing module 504 shown in fig. 5). The processor 601 executes various functional applications of the server and data processing by running non-transitory software programs, instructions and modules stored in the memory 602, namely, implementing the method of the temperature sampling control device in the above method embodiment.
The temperature sampling control apparatus may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The input device 603 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the temperature sampling control apparatus, such as a touch screen, keypad, mouse, or a plurality of mouse buttons, track ball, joystick, or other input devices. The output device 604 may be an output device such as a display device of the temperature sampling control device. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
The temperature sampling control device in the embodiment of the present application may be configured to execute the technical solutions in the method embodiments of the present application, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiment of the application also provides a computer-readable storage medium, and the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the computer-executable instructions are used for implementing any one of the temperature sampling control methods.
An embodiment of the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program is configured to implement any one of the temperature sampling control methods described above.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.