Compressor outlet refrigerant temperature calculation method and device, electronic equipment and storage medium

The Kalman filtering algorithm calculates the compressor outlet refrigerant temperature, solves the problem of signal waveform distortion and glitch, realizes synchronization of the temperature estimate value and the sampling value, and reduces the error instructions of the thermal management system.

CN119043526AActive Publication Date: 2024-11-29GAC AION NEW ENERGY AUTOMOBILE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411203063.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-11-29
Estimated Expiration
2044-08-29

AI Technical Summary

Technical Problem

In the prior art, when calculating the temperature of the compressor outlet refrigerant, the signal waveform is prone to distortion and cannot effectively filter the burrs, resulting in the thermal management system outputting incorrect instructions.

Method used

The Kalman filtering algorithm is used to calculate the Kalman filtering coefficient and calculate the current time temperature estimate of the compressor outlet refrigerant based on the error coefficient of the current time and the previous time of the temperature sensor, thereby avoiding the occurrence of signal distortion and glitches.

Benefits of technology

The synchronization of the temperature signal waveform of the compressor outlet refrigerant and the sampling value is achieved, which avoids distortion and burrs of the temperature estimate value, and reduces the adverse impact on the thermal management system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119043526A_ABST
    Figure CN119043526A_ABST
Patent Text Reader

Abstract

The invention provides a compressor outlet refrigerant temperature calculation method and device, electronic equipment and a storage medium, and the compressor outlet refrigerant temperature calculation method comprises the steps: calculating a Kalman filter coefficient based on a relative ratio of a current moment temperature measurement error coefficient of a temperature sensor to a previous moment estimation error coefficient of the temperature sensor; and based on the temperature estimation value of the compressor outlet refrigerant at the previous moment, the sampling value of the temperature sensor at the current moment and the Kalman filtering coefficient, the temperature estimation value of the compressor outlet refrigerant at the current moment is calculated. The compressor outlet refrigerant temperature can be calculated, the original input signal waveform is kept, distortion is avoided, and meanwhile burrs are filtered out.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of temperature detection, and more specifically, to a method, device, electronic device and storage medium for calculating the refrigerant temperature at a compressor outlet. Background Art

[0002] At present, the thermal management system of a vehicle needs to obtain the signal waveform of the refrigerant temperature at the compressor outlet, and then implement corresponding thermal management based on the refrigerant temperature at the compressor outlet. For example, when the refrigerant temperature at the compressor outlet is too high, the speed of the compressor is reduced to achieve protection purposes. Furthermore, the burrs in the signal waveform of the refrigerant temperature at the compressor outlet will affect the thermal management system of the vehicle. For example, the thermal management system of the vehicle outputs erroneous thermal management instructions based on the burrs. On the other hand, whether the signal waveform of the refrigerant temperature at the compressor outlet is distorted will also affect the thermal management system of the vehicle. For example, when the signal waveform of the refrigerant temperature at the compressor outlet is distorted, the thermal management system of the vehicle will make erroneous thermal management instructions based on the distorted signal. In summary, in order to reduce the adverse effects of the signal waveform of the refrigerant temperature at the compressor outlet on the thermal management system of the vehicle, it is necessary to avoid distortion and burrs in the signal waveform of the refrigerant temperature at the compressor outlet as much as possible.

[0003] Furthermore, the method adopted by the prior art to output the signal waveform of the compressor outlet refrigerant temperature is generally: first obtain the sampling value of the temperature sensor, then process the sampling value of the temperature sensor based on a specific processing algorithm, and then obtain an estimated value for representing the compressor outlet refrigerant temperature, so that the estimated values ​​of the compressor outlet refrigerant temperature at multiple moments constitute the signal waveform of the compressor outlet refrigerant temperature, wherein the specific processing algorithm adopted by the prior art refers to a filtering algorithm, and the filtering algorithm specifically updates the output estimated value by limiting the fluctuation rate of the sampling value.

[0004] Furthermore, the filtering algorithm of the prior art limits the fluctuation rate of the sampling value to update the output estimate, which may cause distortion in the signal waveform of the compressor outlet refrigerant temperature. For example, if the limited fluctuation rate is large, it may cause signal glitches to be output together, resulting in poor filtering effect. If the limited fluctuation rate is small, it may cause distortion of the filtered signal, and the filtering effect is also poor.

[0005] Therefore, due to the filtering algorithm of the prior art, the calculation process of the prior art for the refrigerant temperature at the compressor outlet has the disadvantages of signal distortion and inability to filter burrs. Summary of the invention

[0006] The purpose of the embodiments of the present application is to provide a method, device, electronic device and storage medium for calculating the refrigerant temperature at the compressor outlet, which are used to calculate the refrigerant temperature at the compressor outlet and synchronize the signal waveform of the refrigerant temperature at the compressor outlet with the sampling value waveform. On the other hand, it is used to filter the burr sampling value.

[0007] In a first aspect, the present invention provides a method for calculating the refrigerant temperature at a compressor outlet, the method comprising:

[0008] Calculate the Kalman filter coefficient based on the temperature measurement error coefficient of the temperature sensor at the current moment and the estimated error coefficient of the temperature sensor at the previous moment, wherein the Kalman filter coefficient is greater than 0 and less than 1, and the larger the temperature measurement error coefficient of the temperature sensor at the current moment, the smaller the Kalman filter coefficient;

[0009] The current estimated temperature value of the compressor outlet refrigerant is calculated based on the previous estimated temperature value of the compressor outlet refrigerant, the current sampling value of the temperature sensor and the Kalman filter coefficient, wherein the smaller the Kalman filter coefficient is, the smaller the proportion of the current sampling value of the temperature sensor in the calculation, and the larger the proportion of the previous estimated temperature value of the compressor outlet refrigerant in the calculation.

[0010] In the first aspect of the present application, in the process of calculating the current temperature estimate of the compressor outlet refrigerant based on the previous temperature estimate of the compressor outlet refrigerant, the current sampling value of the temperature sensor and the Kalman filter coefficient, the current sampling value of the temperature sensor is not limited in terms of the fluctuation rate. Instead, the Kalman filter coefficient is used to ensure that, under the premise that the measurement error of the current sampling value of the temperature sensor is small, the current temperature estimate of the compressor outlet refrigerant is always calculated based on the current sampling value of the temperature sensor, thereby keeping synchronization with the current sampling value of the temperature sensor, that is, the current sampling value of the temperature sensor is updated once, and the current temperature estimate of the compressor outlet refrigerant is also updated accordingly, thereby avoiding distortion of the current temperature estimate of the compressor outlet refrigerant. On the other hand, through the Kalman filter coefficient, when the temperature measurement error coefficient of the temperature sensor at the current moment is large, the smaller the calculation proportion of the current moment sampling value of the temperature sensor, the larger the calculation proportion of the temperature estimation value of the previous moment temperature of the compressor outlet refrigerant. Among them, the current moment temperature measurement error coefficient of the temperature sensor is very large, so that when the current moment sampling value of the temperature sensor is a burr, the Kalman filter coefficient is close to 0, and then the calculation proportion of the current moment sampling value of the temperature sensor is close to 0, so that the current moment temperature estimation value of the compressor outlet refrigerant is calculated only based on the previous moment temperature estimation value of the compressor outlet refrigerant, and has nothing to do with the current moment sampling value of the temperature sensor, and finally avoids the current moment temperature estimation value of the compressor outlet refrigerant from becoming a burr when the current moment sampling value of the temperature sensor is updated, that is, in the process of updating the current moment temperature estimation value of the compressor outlet refrigerant following the current moment sampling value of the temperature sensor, the situation that the current moment temperature estimation value of the compressor outlet refrigerant is a burr is filtered out, thereby reducing the adverse effect of the temperature sampling value on the thermal management system.

[0011] In an optional implementation, the calculation formula corresponding to the calculation of the Kalman filter coefficient based on the relative proportion of the temperature measurement error coefficient of the temperature sensor at the current moment and the estimated error coefficient of the temperature sensor at the previous moment is:

[0012]

[0013] Among them, K k represents the Kalman filter coefficient, e1 k represents the temperature measurement error coefficient of the temperature sensor at the current moment, e2 k-1 Represents the estimated error coefficient of the temperature sensor at the last moment.

[0014] This optional implementation can calculate the Kalman filter coefficients based on the above calculation formula.

[0015] In an optional embodiment, the calculation formula corresponding to the current moment temperature estimate of the compressor outlet refrigerant based on the previous moment temperature estimate of the compressor outlet refrigerant, the current moment sampling value of the temperature sensor and the Kalman filter coefficient is:

[0016] T k =T k-1 +K k *(Z k -T k-1 );

[0017] Among them, T k represents the estimated value of the current temperature of the refrigerant at the compressor outlet, T k-1 represents the estimated value of the refrigerant temperature at the compressor outlet at the last moment, Z k Indicates the current sampling value of the temperature sensor.

[0018] This optional implementation can calculate the current moment temperature estimate of the refrigerant at the compressor outlet through the above-mentioned calculation formula, and thus combine with the Kalman filter coefficient to achieve that when the current moment temperature measurement error coefficient of the temperature sensor is small, the current moment temperature estimate of the refrigerant at the compressor outlet is the current moment sampling value of the temperature sensor, and when the previous moment estimation error coefficient of the temperature sensor is small, the current moment temperature estimate of the refrigerant at the compressor outlet is the previous moment temperature estimate of the refrigerant at the compressor outlet.

[0019] In an optional embodiment, the method further comprises:

[0020] The estimated error coefficient of the temperature sensor at a previous moment is updated based on the Kalman filter coefficient to obtain the estimated error coefficient of the temperature sensor at a current moment.

[0021] This optional implementation can update the estimated error coefficient of the temperature sensor at the previous moment based on the Kalman filter coefficient to obtain the estimated error coefficient of the temperature sensor at the current moment.

[0022] In an optional implementation, the calculation formula corresponding to the previous moment estimation error coefficient of the temperature sensor is updated based on the Kalman filter coefficient to obtain the current moment estimation error coefficient of the temperature sensor is:

[0023] e2 k =(1-K k )*e2 k-1 ;

[0024] Among them, e2 k represents the estimated error coefficient of the temperature sensor at the current moment, e2 k-1represents the estimated error coefficient of the temperature sensor at the last moment, K k represents the Kalman filter coefficient.

[0025] This optional implementation method can calculate the current estimated error coefficient of the temperature sensor through the above calculation formula.

[0026] In an optional embodiment, the method further comprises:

[0027] Determine an RT table of the temperature sensor;

[0028] The current temperature measurement error coefficient of the temperature sensor is queried based on the RT table of the temperature sensor.

[0029] This optional implementation manner determines the RT table of the temperature sensor, and then can query the temperature measurement error coefficient of the temperature sensor at the current moment based on the RT table of the temperature sensor.

[0030] In an optional implementation manner, determining the RT table of the temperature sensor includes:

[0031] An RT table for the temperature sensor is determined based on the type of the temperature sensor.

[0032] This optional implementation manner can determine the RT table of the temperature sensor based on the type of the temperature sensor, so that the type of the temperature sensor determines the temperature measurement error coefficient of the temperature sensor at the current moment.

[0033] In a second aspect, the present invention provides a device for calculating the refrigerant temperature at a compressor outlet, the device comprising:

[0034] A first calculation module is used to calculate a Kalman filter coefficient based on a temperature measurement error coefficient of the temperature sensor at a current moment and an estimated error coefficient of the temperature sensor at a previous moment, wherein the Kalman filter coefficient is greater than 0 and less than 1, and the larger the temperature measurement error coefficient of the temperature sensor at the current moment, the smaller the Kalman filter coefficient;

[0035] The second calculation module is used to calculate the current estimated temperature value of the compressor outlet refrigerant based on the previous estimated temperature value of the compressor outlet refrigerant, the current sampling value of the temperature sensor and the Kalman filter coefficient, wherein the smaller the Kalman filter coefficient is, the smaller the calculation proportion of the current sampling value of the temperature sensor is, and the larger the calculation proportion of the previous estimated temperature value of the compressor outlet refrigerant is.

[0036] In the second aspect of the present application, in the process of calculating the current temperature estimate of the compressor outlet refrigerant based on the previous temperature estimate of the compressor outlet refrigerant, the current sampling value of the temperature sensor and the Kalman filter coefficient, the current sampling value of the temperature sensor is not limited in terms of the fluctuation rate. Instead, the Kalman filter coefficient is used to ensure that, under the premise that the measurement error of the current sampling value of the temperature sensor is small, the current temperature estimate of the compressor outlet refrigerant is always calculated based on the current sampling value of the temperature sensor, thereby keeping synchronization with the current sampling value of the temperature sensor, that is, the current sampling value of the temperature sensor is updated once, and the current temperature estimate of the compressor outlet refrigerant is also updated accordingly, thereby avoiding distortion of the current temperature estimate of the compressor outlet refrigerant. On the other hand, through the Kalman filter coefficient, when the temperature measurement error coefficient of the temperature sensor at the current moment is large, the smaller the calculation proportion of the current moment sampling value of the temperature sensor, the larger the calculation proportion of the temperature estimation value of the previous moment temperature of the compressor outlet refrigerant. Among them, the current moment temperature measurement error coefficient of the temperature sensor is very large, so that when the current moment sampling value of the temperature sensor is a burr, the Kalman filter coefficient is close to 0, and then the calculation proportion of the current moment sampling value of the temperature sensor is close to 0, so that the current moment temperature estimation value of the compressor outlet refrigerant is calculated only based on the previous moment temperature estimation value of the compressor outlet refrigerant, and has nothing to do with the current moment sampling value of the temperature sensor, and finally avoids the current moment temperature estimation value of the compressor outlet refrigerant from becoming a burr when the current moment sampling value of the temperature sensor is updated, that is, in the process of updating the current moment temperature estimation value of the compressor outlet refrigerant following the current moment sampling value of the temperature sensor, the situation that the current moment temperature estimation value of the compressor outlet refrigerant is a burr is filtered out, thereby reducing the adverse effect of the temperature sampling value on the thermal management system.

[0037] In a third aspect, the present invention provides an electronic device, comprising:

[0038] Processor; and

[0039] The memory is configured to store machine-readable instructions, and when the instructions are executed by the processor, the method for calculating the compressor outlet refrigerant temperature as described in any of the aforementioned embodiments is executed.

[0040] The electronic device of the third aspect of the present application can avoid glitches in the waveform of the temperature estimation value by executing the compressor outlet refrigerant temperature calculation method, under the premise that the waveform of the temperature estimation value can be kept synchronized with the temperature sampling value without distortion under normal circumstances, thereby reducing the adverse effects of the temperature sampling value on the thermal management system.

[0041] In a fourth aspect, the present invention provides a storage medium storing a computer program, wherein the computer program is executed by a processor as described in any one of the aforementioned embodiments for calculating the compressor outlet refrigerant temperature.

[0042] The storage medium of the fourth aspect of the present application can avoid glitches in the waveform of the temperature estimation value by executing the compressor outlet refrigerant temperature calculation method, under the premise that the waveform of the temperature estimation value can be kept synchronized with the temperature sampling value without distortion under normal circumstances, thereby reducing the adverse effects of the temperature sampling value on the thermal management system. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0044] Figure 1 It is a flow chart of a method for calculating the refrigerant temperature at a compressor outlet disclosed in an embodiment of the present application;

[0045] Figure 2 It is a structural schematic diagram of a compressor outlet refrigerant temperature calculation device disclosed in an embodiment of the present application;

[0046] Figure 3 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0047] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0048] Embodiment 1

[0049] See also Figure 1 , Figure 1 is a flow chart of a method for calculating the refrigerant temperature at the compressor outlet disclosed in an embodiment of the present application, such as Figure 1 As shown, the method of the embodiment of the present application includes the following steps:

[0050] 101. Calculate a Kalman filter coefficient based on a current temperature measurement error coefficient of the temperature sensor and a previous estimated error coefficient of the temperature sensor, wherein the Kalman filter coefficient is greater than 0 and less than 1, and the larger the current temperature measurement error coefficient of the temperature sensor is, the smaller the Kalman filter coefficient is;

[0051] 102. The current estimated temperature value of the compressor outlet refrigerant is calculated based on the previous estimated temperature value of the compressor outlet refrigerant, the current sampling value of the temperature sensor and the Kalman filter coefficient, wherein the smaller the Kalman filter coefficient is, the smaller the proportion of the current sampling value of the temperature sensor in the calculation, and the larger the proportion of the previous estimated temperature value of the compressor outlet refrigerant in the calculation.

[0052] In the process of calculating the current temperature estimate of the compressor outlet refrigerant based on the previous temperature estimate of the compressor outlet refrigerant, the current sampling value of the temperature sensor and the Kalman filter coefficient, the embodiment of the present application does not limit the fluctuation rate of the current sampling value of the temperature sensor. Instead, through the Kalman filter coefficient, it is achieved that, under the premise that the measurement error of the current sampling value of the temperature sensor is small, the current temperature estimate of the compressor outlet refrigerant is always calculated based on the current sampling value of the temperature sensor, thereby keeping synchronization with the current sampling value of the temperature sensor, that is, the current sampling value of the temperature sensor is updated once, and the current temperature estimate of the compressor outlet refrigerant is also updated once, thereby avoiding distortion of the current temperature estimate of the compressor outlet refrigerant. On the other hand, through the Kalman filter coefficient, when the temperature measurement error coefficient of the temperature sensor at the current moment is large, the calculation proportion of the current moment sampling value of the temperature sensor is smaller, and the calculation proportion of the previous moment temperature estimation value of the compressor outlet refrigerant is larger. Among them, when the current moment temperature measurement error coefficient of the temperature sensor is large, that is, when the current moment sampling value of the temperature sensor is a burr, the Kalman filter coefficient is close to 0, and then the calculation proportion of the current moment sampling value of the temperature sensor is close to 0, so that the current moment temperature estimation value of the compressor outlet refrigerant is only calculated based on the previous moment temperature estimation value of the compressor outlet refrigerant, and has nothing to do with the current moment sampling value of the temperature sensor, and finally avoids the current moment temperature estimation value of the compressor outlet refrigerant from becoming a burr when the current moment sampling value of the temperature sensor is updated, that is, in the process of updating the current moment temperature estimation value of the compressor outlet refrigerant following the current moment sampling value of the temperature sensor, the situation that the current moment temperature estimation value of the compressor outlet refrigerant is a burr is filtered out, thereby reducing the adverse effect of the temperature sampling value on the thermal management system.

[0053] In an embodiment of the present application, the temperature sensor may be a thermistor temperature sensor, wherein the resistance value of the thermistor temperature sensor corresponds to the temperature of the object it detects, and the corresponding relationship is the RT characteristic of the thermistor temperature sensor. Based on the RT characteristic of the thermistor temperature sensor, a value can be obtained by querying the resistance value of the thermistor temperature sensor in the RT characteristic table on the premise of calculating the resistance value of the thermistor temperature sensor, and the queried value can be used as a temperature sampling value.

[0054] Further, the resistance value of the thermistor temperature sensor is calculated based on the voltage of the thermistor temperature sensor.

[0055] Furthermore, the error of the temperature sampling value of the temperature sensor is represented by a temperature measurement error coefficient, wherein the temperature measurement error coefficient is also recorded in the RT characteristic table to illustrate the error degree of the temperature sampling value.

[0056] Furthermore, the size of the temperature measurement error coefficient is related to the accuracy of the temperature sensor. Under certain conditions, the higher the accuracy of the temperature sensor, the stronger its ability to detect the signal source. Therefore, in addition to being able to detect the original temperature signal source, it can also detect the noise signal, so that the temperature sampling value includes both the numerical part determined based on the original temperature sampling signal and the numerical part determined based on the noise signal. The higher the accuracy of the temperature sensor, the greater the influence of the noise signal, the greater the proportion of the numerical part determined based on the noise signal in the temperature sampling value, and thus the greater the temperature measurement error coefficient.

[0057] Furthermore, the larger the temperature measurement error coefficient corresponding to a temperature sampling value is, the sharper the temperature sampling value is in the sampling value waveform, that is, the temperature sampling value appears as a burr in the sampling value waveform.

[0058] Furthermore, after obtaining the temperature sampling value, it is necessary to output a temperature estimation value based on the temperature sampling value to estimate the actual temperature of the detection object. According to the prior art, the larger the temperature measurement error coefficient of the temperature sampling value, the sharper the temperature estimation value calculated based on the temperature sampling value in the estimation value waveform, that is, the temperature estimation value appears as a burr in the estimation value waveform.

[0059] Furthermore, the filtering out of glitches emphasized in the embodiments of the present application means that the glitches in the estimated value waveform become smooth, wherein, when the temperature measurement error coefficient is large, the temperature sampling value manifested as glitches has basically no effect on the temperature estimation value. Therefore, the temperature estimation value will not be updated with the temperature sampling value manifested as glitches.

[0060] In an optional implementation, the calculation formula corresponding to the Kalman filter coefficient is calculated based on the current temperature measurement error coefficient of the temperature sensor and the previous estimated error coefficient of the temperature sensor:

[0061]

[0062] Among them, K k represents the Kalman filter coefficient, e1 k Indicates the temperature measurement error coefficient of the temperature sensor at the current moment, e2 k-1 Indicates the estimated error coefficient of the temperature sensor at the last moment.

[0063] This optional implementation can calculate the Kalman filter coefficients based on the above calculation formula.

[0064] In an optional embodiment, the calculation formula corresponding to the current moment temperature estimate of the compressor outlet refrigerant is calculated based on the previous moment temperature estimate of the compressor outlet refrigerant, the current moment sampling value of the temperature sensor and the Kalman filter coefficient:

[0065] T k =T k-1 +K k *(Z k -T k-1 );

[0066] Among them, T k Indicates the estimated value of the current temperature of the refrigerant at the compressor outlet, T k-1 Indicates the estimated value of the refrigerant temperature at the compressor outlet at the last moment, Z k Indicates the current sampling value of the temperature sensor.

[0067] This optional implementation can calculate the current moment temperature estimate of the refrigerant at the compressor outlet through the above-mentioned calculation formula, and then combine it with the Kalman filter coefficient to achieve that when the current moment temperature measurement error coefficient of the temperature sensor is small, the current moment temperature estimate of the refrigerant at the compressor outlet is the current moment sampling value of the temperature sensor, and when the previous moment estimation error coefficient of the temperature sensor is small, the current moment temperature estimate of the refrigerant at the compressor outlet is the previous moment temperature estimate of the refrigerant at the compressor outlet.

[0068] In an optional implementation manner, the method of the embodiment of the present application further includes the following steps:

[0069] The estimated error coefficient of the temperature sensor at the previous moment is updated based on the Kalman filter coefficient to obtain the estimated error coefficient of the temperature sensor at the current moment.

[0070] This optional implementation can update the estimated error coefficient of the temperature sensor at the previous moment based on the Kalman filter coefficient to obtain the estimated error coefficient of the temperature sensor at the current moment.

[0071] In an optional implementation, the estimated error coefficient of the temperature sensor at the previous moment is updated based on the Kalman filter coefficient to obtain the calculation formula corresponding to the estimated error coefficient of the temperature sensor at the current moment:

[0072] e2 k =(1-K k )*e2 k-1 ;

[0073] Among them, e2 k Represents the estimated error coefficient of the temperature sensor at the current moment, e2k-1 Represents the estimated error coefficient of the temperature sensor at the last moment, K k represents the Kalman filter coefficient.

[0074] This optional implementation method can calculate the current estimated error coefficient of the temperature sensor through the above calculation formula.

[0075] In an optional implementation manner, the method of the embodiment of the present application further includes the following steps:

[0076] Determine the RT table of the temperature sensor;

[0077] The current temperature measurement error coefficient of the temperature sensor is queried based on the RT table of the temperature sensor.

[0078] This optional implementation manner determines the RT table of the temperature sensor, and can query the temperature measurement error coefficient of the temperature sensor at the current moment based on the RT table of the temperature sensor.

[0079] In an optional implementation, determining the RT table of the temperature sensor includes the following sub-steps:

[0080] The RT table for the temperature sensor is determined based on the type of temperature sensor.

[0081] This optional implementation manner can determine the RT table of the temperature sensor based on the type of the temperature sensor, so that the type of the temperature sensor determines the temperature measurement error coefficient of the temperature sensor at the current moment.

[0082] Embodiment 2

[0083] See also Figure 2 , Figure 2 is a schematic diagram of the structure of a compressor outlet refrigerant temperature calculation device disclosed in an embodiment of the present application, such as Figure 2 As shown, the device of the embodiment of the present application includes the following functional modules:

[0084] A first calculation module 201, configured to calculate a Kalman filter coefficient based on a current temperature measurement error coefficient of the temperature sensor and a previous estimated error coefficient of the temperature sensor;

[0085] The second calculation module 202 is used to calculate the current temperature estimate of the compressor outlet refrigerant based on the previous temperature estimate of the compressor outlet refrigerant, the current sampling value of the temperature sensor and the Kalman filter coefficient, wherein the Kalman filter coefficient is used to make the current temperature estimate of the compressor outlet refrigerant the current sampling value of the temperature sensor when the current temperature measurement error coefficient of the temperature sensor is small, and to make the current temperature estimate of the compressor outlet refrigerant the previous temperature estimate of the compressor outlet when the previous temperature measurement error coefficient of the temperature sensor is small.

[0086] The embodiment of the present application can calculate the Kalman filter coefficient based on the current temperature measurement error coefficient of the temperature sensor and the previous estimated error coefficient of the temperature sensor, and calculate the current temperature estimate of the compressor outlet refrigerant based on the previous temperature estimate of the compressor outlet refrigerant, the current sampling value of the temperature sensor and the Kalman filter coefficient. In this way, when the current temperature measurement error coefficient of the temperature sensor is small, the current temperature estimate of the compressor outlet refrigerant is the current sampling value of the temperature sensor, and when the previous estimated error coefficient of the temperature sensor is small, the current temperature estimate of the compressor outlet refrigerant is the previous temperature estimate of the compressor outlet refrigerant, thereby filtering out burrs while maintaining the original input signal waveform, preventing sudden changes in the temperature sensor sampling signal from affecting the thermal management system.

[0087] Embodiment 3

[0088] See also Figure 3 , Figure 3 is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application, such as Figure 3 As shown, the electronic device of the embodiment of the present application includes:

[0089] Processor 301; and

[0090] The memory 302 is configured to store machine-readable instructions, and when the instructions are executed by the processor, the method for calculating the refrigerant temperature at the compressor outlet is performed as described in any of the aforementioned embodiments.

[0091] The electronic device of the embodiment of the present application can calculate the Kalman filter coefficient based on the current temperature measurement error coefficient of the temperature sensor and the previous estimated error coefficient of the temperature sensor by executing the compressor outlet refrigerant temperature calculation method, and calculate the current temperature estimate of the compressor outlet refrigerant based on the previous temperature estimate of the compressor outlet refrigerant, the current sampling value of the temperature sensor and the Kalman filter coefficient. In this way, when the current temperature measurement error coefficient of the temperature sensor is small, the current temperature estimate of the compressor outlet refrigerant is the current sampling value of the temperature sensor, and when the previous estimation error coefficient of the temperature sensor is small, the current temperature estimate of the compressor outlet refrigerant is the previous temperature estimate of the compressor outlet refrigerant, thereby filtering out burrs while retaining the original input signal waveform, preventing sudden changes in the temperature sensor sampling signal from affecting the thermal management system.

[0092] Embodiment 4

[0093] In a fourth aspect, the present invention provides a storage medium storing a computer program, wherein the computer program is executed by a processor as a method for calculating the compressor outlet refrigerant temperature according to any of the aforementioned embodiments.

[0094] The storage medium of the embodiment of the present application can calculate the Kalman filter coefficient based on the current temperature measurement error coefficient of the temperature sensor and the previous estimated error coefficient of the temperature sensor by executing the compressor outlet refrigerant temperature calculation method, and calculate the current temperature estimate of the compressor outlet refrigerant based on the previous temperature estimate of the compressor outlet refrigerant, the current sampling value of the temperature sensor and the Kalman filter coefficient. In this way, when the current temperature measurement error coefficient of the temperature sensor is small, the current temperature estimate of the compressor outlet refrigerant is the current sampling value of the temperature sensor, and when the previous estimation error coefficient of the temperature sensor is small, the current temperature estimate of the compressor outlet refrigerant is the previous temperature estimate of the compressor outlet refrigerant, thereby filtering out burrs while retaining the original input signal waveform, preventing sudden changes in the temperature sensor sampling signal from affecting the thermal management system.

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

[0096] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0097] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0098] It should be noted that if the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM) random access memory (RAM), disk or optical disk, and other media that can store program codes.

[0099] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0100] The above are only embodiments of the present application and are not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for calculating the refrigerant temperature at a compressor outlet, characterized in that: The method comprises: Calculate the Kalman filter coefficient based on the temperature measurement error coefficient of the temperature sensor at the current moment and the estimated error coefficient of the temperature sensor at the previous moment, wherein the Kalman filter coefficient is greater than 0 and less than 1, and the larger the temperature measurement error coefficient of the temperature sensor at the current moment, the smaller the Kalman filter coefficient; The current estimated temperature value of the compressor outlet refrigerant is calculated based on the previous estimated temperature value of the compressor outlet refrigerant, the current sampling value of the temperature sensor and the Kalman filter coefficient, wherein the smaller the Kalman filter coefficient is, the smaller the proportion of the current sampling value of the temperature sensor in the calculation, and the larger the proportion of the previous estimated temperature value of the compressor outlet refrigerant in the calculation.

2. The method according to claim 1, characterized in that The calculation formula corresponding to the calculation of the Kalman filter coefficient based on the relative proportion of the temperature measurement error coefficient of the temperature sensor at the current moment and the estimated error coefficient of the temperature sensor at the previous moment is: Among them, K k represents the Kalman filter coefficient, e1 k represents the temperature measurement error coefficient of the temperature sensor at the current moment, e2 k-1 Represents the estimated error coefficient of the temperature sensor at the last moment.

3. The method according to claim 2, characterized in that The calculation formula corresponding to the current moment temperature estimation value of the compressor outlet refrigerant based on the previous moment temperature estimation value of the compressor outlet refrigerant, the current moment sampling value of the temperature sensor and the Kalman filter coefficient is: T k =T k-1 +K k *(Z k -T k-1 ); Among them, T k represents the estimated value of the current temperature of the refrigerant at the compressor outlet, T k-1 represents the estimated value of the refrigerant temperature at the compressor outlet at the last moment, Z k Indicates the current sampling value of the temperature sensor.

4. The method according to claim 2, characterized in that The method further comprises: The estimated error coefficient of the temperature sensor at a previous moment is updated based on the Kalman filter coefficient to obtain the estimated error coefficient of the temperature sensor at a current moment.

5. The method according to claim 4, characterized in that The calculation formula corresponding to the previous moment estimation error coefficient of the temperature sensor is updated based on the Kalman filter coefficient to obtain the current moment estimation error coefficient of the temperature sensor is: <h2 style=";text-align:left;direction:ltr">e2<h2 style=";text-align:left;direction:ltr"> k <h2 style=";text-align:left;direction:ltr"> (1-K)<h2 style=";text-align:left;direction:ltr"> k <h2 style=";text-align:left;direction:ltr"> )*e2<h2 style=";text-align:left;direction:ltr"> k-1 <h2 style=";text-align:left;direction:ltr"> ; Among them, e2 k represents the estimated error coefficient of the temperature sensor at the current moment, e2 k-1 represents the estimated error coefficient of the temperature sensor at the last moment, K k represents the Kalman filter coefficient.

6. The method according to claim 1, characterized in that The method further comprises: Determine the RT table of the temperature sensor; The current temperature measurement error coefficient of the temperature sensor is queried based on the RT table of the temperature sensor.

7. The method according to claim 6, characterized in that The step of determining the RT table of the temperature sensor comprises: An RT table for the temperature sensor is determined based on the type of the temperature sensor.

8. A compressor outlet refrigerant temperature calculation device, characterized in that: The device comprises: A first calculation module is used to calculate a Kalman filter coefficient based on a temperature measurement error coefficient of the temperature sensor at a current moment and an estimated error coefficient of the temperature sensor at a previous moment, wherein the Kalman filter coefficient is greater than 0 and less than 1, and the larger the temperature measurement error coefficient of the temperature sensor at the current moment, the smaller the Kalman filter coefficient; The second calculation module is used to calculate the current estimated temperature value of the compressor outlet refrigerant based on the previous estimated temperature value of the compressor outlet refrigerant, the current sampling value of the temperature sensor and the Kalman filter coefficient, wherein the smaller the Kalman filter coefficient is, the smaller the calculation proportion of the current sampling value of the temperature sensor is, and the larger the calculation proportion of the previous estimated temperature value of the compressor outlet refrigerant is.

9. An electronic device, characterized in that: include: processor; as well as A memory configured to store machine-readable instructions, which, when executed by the processor, execute the method for calculating the compressor outlet refrigerant temperature as described in any one of claims 1-7.

10. A storage medium, characterized in that: The storage medium stores a computer program, and the computer program is executed by a processor to implement the method for calculating the compressor outlet refrigerant temperature according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method for realizing online estimation of equivalent temperature of lithium ion battery

    CN109633454A

  • Overall-condition longitudinal vehicle speed prediction method and system

    CN111428905A

  • Temperature sensor calibration method and device, electronic equipment and storage medium

    CN115876356A

  • Refrigerant heat dissipation system for frequency converter of water chiller unit

    WO2023126025A1