Air compressor replacement method, device, equipment, storage medium and program product

By obtaining the maximum and minimum values ​​of air pressure in the air storage tank, the operating status of the air compressor can be determined and the load rate can be calculated. This solves the problem that traditional technologies cannot accurately determine the operating status of air compressors, and enables precise replacement and energy management of air compressors.

CN116901925BActive Publication Date: 2026-04-07FAW JIEFANG AUTOMOTIVE CO
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-03
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Traditional technology cannot accurately determine whether an air compressor is in operation by setting a preset pressure value, which makes it impossible to accurately calculate the air compressor's load rate.

Method used

The air pressure in the air tank is obtained by a pressure sensor. The maximum and minimum values ​​are obtained. The operating status of the air compressor is determined based on the extreme values, and the load rate is calculated. The air compressor replacement is controlled in combination with the vehicle's demand information.

Benefits of technology

It enables accurate determination of the air compressor's operating status and precise calculation of the load rate, allowing for reasonable replacement based on the load rate, thereby improving the air compressor's operating efficiency and energy consumption management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116901925B_ABST
    Figure CN116901925B_ABST
Patent Text Reader

Abstract

The application relates to a method and device for replacing an air compressor, computer equipment, a storage medium and a computer program product. The method comprises the following steps: acquiring the value of the air pressure in the air cylinder in a preset time period; performing data processing on the value of the air pressure to obtain the extreme value of the air pressure in the air cylinder and record the time point corresponding to the extreme value; determining the use state of the air compressor according to the maximum value and the minimum value; acquiring the number of first time points in the preset time period in which the use state of the air compressor is a working state and the number of second time points in the preset time period in which the use state of the air compressor is a non-working state; calculating the load rate of the air compressor according to the number of first time points and the number of second time points; and controlling the replacement of the air compressor in the vehicle when the load rate of the air compressor is not in the required load range. The method can more accurately determine the use state of the air compressor and more accurately calculate the load rate of the air compressor.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of vehicles, in particular to a method and device for replacing an air compressor, a computer device, a storage medium and a computer program product. BACKGROUND

[0002] An air compressor is one of the core devices of a vehicle braking system, which compresses air into high-pressure gas by being driven by a motor or an engine of the vehicle to provide a high-pressure gas source for the vehicle braking system. Load rate is an important performance indicator of the air compressor.

[0003] In the conventional technology, a preset pressure value is set, and when the air pressure in the air reservoir is greater than the preset pressure value, it is determined that the air compressor is in a working state, so as to calculate the load rate of the air compressor, and then control the air compressor according to the load rate.

[0004] However, this method of setting a preset pressure value cannot accurately determine whether the air compressor is in a working state, thereby failing to accurately calculate the load rate of the air compressor. SUMMARY

[0005] Therefore, it is necessary to provide a method and device for replacing an air compressor, a computer device, a computer readable storage medium and a computer program product, which can accurately obtain the load rate of the air compressor.

[0006] In a first aspect, the present application provides a method for replacing an air compressor. The method is applied to a vehicle, and the vehicle includes a pressure sensor, an air reservoir and an air compressor. The pressure sensor is used to record the value of the air pressure in the air reservoir. The method includes the following steps.

[0007] The value of the air pressure in the air reservoir in a preset time period is obtained by the pressure sensor, and the value of the air pressure in the air reservoir is obtained at a preset sampling time point.

[0008] The values of the air pressure in the air reservoir in the preset time period are processed to obtain an extreme value of the air pressure in the air reservoir, and a time point corresponding to the extreme value is recorded. The extreme value includes a maximum value and a minimum value.

[0009] The use state of the air compressor is determined according to the maximum value and the minimum value. The use state includes a working state and a non-working state.

[0010] The number of first time points in a preset time period, at which the use state of the air compressor is a working state, and the number of second time points in the preset time period, at which the use state of the air compressor is a non-working state, are obtained.

[0011] The load rate of the air compressor is calculated based on the quantity at the first time point and the quantity at the second time point.

[0012] Obtain the demand information of the vehicle, including the demand load range of the air compressor;

[0013] If the load rate of the air compressor is not within the required load range, the air compressor in the vehicle shall be replaced.

[0014] In one embodiment, the step of processing the data of the air pressure in the air storage tank during the preset time period to obtain the extreme value of the air pressure in the air storage tank includes:

[0015] Obtain the maximum value of the air pressure in the air storage tank within the preset time period;

[0016] A first threshold range is set based on the maximum value; the first threshold range is obtained by multiplying the maximum value by the maximum coefficient in the first coefficient range and multiplying the minimum coefficient by the maximum value.

[0017] Based on the first threshold range, multiple maximum values ​​of air pressure in the gas storage tank are determined;

[0018] Based on multiple maxima, determine multiple minima.

[0019] In one embodiment, the step of processing the data of the air pressure in the air storage tank during the preset time period to obtain the extreme value of the air pressure in the air storage tank includes:

[0020] Obtain the minimum air pressure in the air storage tank within the preset time period;

[0021] A second threshold range is set based on the minimum value; the second threshold is obtained by multiplying the maximum coefficient in the second coefficient range by the minimum value and the minimum coefficient by the minimum value.

[0022] Based on the second threshold range, multiple minimum values ​​of air pressure in the gas storage tank are determined;

[0023] Multiple maxima are determined based on multiple minima.

[0024] In one embodiment, the step of processing the data of the air pressure in the air storage tank during the preset time period to obtain the extreme value of the air pressure in the air storage tank includes:

[0025] Obtain the maximum and minimum values ​​of the air pressure in the air storage tank within the preset time period;

[0026] Based on the maximum and minimum values, a first threshold range and a second threshold range are set;

[0027] The maximum and minimum values ​​of air pressure in the gas storage cylinder are determined based on the first threshold range and the second threshold range.

[0028] In one embodiment, determining the operating status of the air compressor based on the maximum and minimum values ​​includes:

[0029] The air compressor is determined to be in working condition when the time point from the time point corresponding to the minimum air pressure in the air storage tank to the time point corresponding to the maximum air pressure in the air storage tank is used.

[0030] The air compressor is determined to be in a non-working state when the time point corresponding to the maximum air pressure in the air storage tank is between the time point corresponding to the minimum air pressure in the air storage tank.

[0031] In one embodiment, the vehicle includes an engine, and the vehicle's demand information includes the required energy consumption range of the air compressor; the method further includes:

[0032] Obtain the air compressor's usage status, engine speed, and air compressor speed characteristic parameters within a preset time period;

[0033] The power of the air compressor is calculated based on the usage status of the air compressor during the preset time period, the speed of the engine, and the speed characteristic parameters of the air compressor.

[0034] Calculate the energy consumption of the air compressor during the preset time period based on the power of the air compressor.

[0035] If the energy consumption of the air compressor is not within the required energy consumption range, the air compressor in the vehicle shall be replaced.

[0036] Secondly, this application also provides an air compressor replacement device. The device is applied to a vehicle, the vehicle including a pressure sensor, an air reservoir, and an air compressor. The pressure sensor is used to record the value of the air pressure in the air reservoir. The device includes:

[0037] An air pressure value acquisition module is used to acquire the air pressure value in the air storage tank over a preset time period through the pressure sensor; the air pressure value in the air storage tank is acquired according to a preset sampling time point;

[0038] An air pressure extreme value acquisition module is used to process the data of the air pressure in the air storage tank during the preset time period to obtain the extreme value of the air pressure in the air storage tank, and record the time point corresponding to the extreme value; the extreme value includes a maximum value and a minimum value;

[0039] An air compressor usage status determination module is used to determine the usage status of the air compressor based on the maximum value and the minimum value; the usage status includes a working state and a non-working state.

[0040] The time point quantity acquisition module is used to acquire the first time point quantity of the air compressor in the working state and the second time point quantity of the air compressor in the non-working state within a preset time period.

[0041] The load rate calculation module is used to calculate the load rate of the air compressor based on the number of the first time point and the number of the second time point;

[0042] The demand information acquisition module is used to acquire the demand information of the vehicle, including the demand load range of the air compressor.

[0043] The first air compressor replacement module is used to control the replacement of the air compressor in the vehicle when the load rate of the air compressor is not within the required load range.

[0044] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0045] The pressure sensor obtains the air pressure value in the air storage tank over a preset time period; the air pressure value in the air storage tank is obtained according to the preset sampling time point.

[0046] The data of the air pressure in the air storage tank during the preset time period is processed to obtain the extreme values ​​of the air pressure in the air storage tank, and the time points corresponding to the extreme values ​​are recorded; the extreme values ​​include maximum values ​​and minimum values.

[0047] The operating status of the air compressor is determined based on the maximum and minimum values; the operating status includes the working state and the non-working state.

[0048] Get the number of air compressors in the working state at the first time point and the number of air compressors in the non-working state at the second time point within the preset time period.

[0049] The load rate of the air compressor is calculated based on the quantity at the first time point and the quantity at the second time point.

[0050] Obtain the demand information of the vehicle, including the demand load range of the air compressor;

[0051] If the load rate of the air compressor is not within the required load range, the air compressor in the vehicle shall be replaced.

[0052] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0053] The pressure sensor obtains the air pressure value in the air storage tank over a preset time period; the air pressure value in the air storage tank is obtained according to the preset sampling time point.

[0054] The data of the air pressure in the air storage tank during the preset time period is processed to obtain the extreme values ​​of the air pressure in the air storage tank, and the time points corresponding to the extreme values ​​are recorded; the extreme values ​​include maximum values ​​and minimum values.

[0055] The operating status of the air compressor is determined based on the maximum and minimum values; the operating status includes the working state and the non-working state.

[0056] Get the number of air compressors in the working state at the first time point and the number of air compressors in the non-working state at the second time point within the preset time period.

[0057] The load rate of the air compressor is calculated based on the quantity at the first time point and the quantity at the second time point.

[0058] Obtain the demand information of the vehicle, including the demand load range of the air compressor;

[0059] If the load rate of the air compressor is not within the required load range, the air compressor in the vehicle shall be replaced.

[0060] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0061] The pressure sensor obtains the air pressure value in the air storage tank over a preset time period; the air pressure value in the air storage tank is obtained according to the preset sampling time point.

[0062] The data of the air pressure in the air storage tank during the preset time period is processed to obtain the extreme values ​​of the air pressure in the air storage tank, and the time points corresponding to the extreme values ​​are recorded; the extreme values ​​include maximum values ​​and minimum values.

[0063] The operating status of the air compressor is determined based on the maximum and minimum values; the operating status includes the working state and the non-working state.

[0064] Get the number of air compressors in the working state at the first time point and the number of air compressors in the non-working state at the second time point within the preset time period.

[0065] The load rate of the air compressor is calculated based on the quantity at the first time point and the quantity at the second time point.

[0066] Obtain the demand information of the vehicle, including the demand load range of the air compressor;

[0067] If the load rate of the air compressor is not within the required load range, the air compressor in the vehicle shall be replaced.

[0068] The aforementioned air compressor replacement method, device, computer equipment, storage medium, and computer program product acquire the air pressure value in the air tank over a preset time period using a pressure sensor; process the air pressure value in the air tank over the preset time period to obtain the extreme values ​​of the air pressure in the air tank, and record the time points corresponding to the extreme values; determine the air compressor's operating status based on the maximum and minimum values; obtain the number of first time points in the preset time period where the air compressor is in the working state and the number of second time points in the preset time period where the air compressor is in the non-working state; and determine the operating status of the air compressor based on the number of first time points and the number of second time points. This method calculates the air compressor's load rate by measuring the number of time points; obtains vehicle demand information; and controls the replacement of the air compressor in the vehicle when the air compressor's load rate is not within the demand load range. Compared to the traditional method of determining whether the air compressor is in operation by setting a preset pressure value, this method obtains the extreme values ​​of air pressure in the air tank and determines whether the air compressor is in operation based on the maximum and minimum values. This allows for a more accurate determination of the air compressor's operating status, a more precise calculation of the air compressor's load rate, and the control of air compressor replacement based on the magnitude of the air compressor's load rate. Attached Figure Description

[0069] Figure 1 This is a flowchart illustrating a method for replacing an air compressor in one embodiment;

[0070] Figure 2 This is a schematic diagram of a process for determining an extreme value in one embodiment;

[0071] Figure 3 This is a schematic diagram of another process for determining extreme values ​​in one embodiment;

[0072] Figure 4 This is a schematic diagram of a process for determining extreme values ​​in another embodiment;

[0073] Figure 5This is a schematic diagram of a process for calculating the load rate and energy consumption of an air compressor in one embodiment;

[0074] Figure 6 This is a schematic diagram of a process for calculating the load rate and energy consumption of an air compressor in another embodiment;

[0075] Figure 7 This is a flowchart illustrating the air compressor replacement method in another embodiment;

[0076] Figure 8 This is a structural block diagram of the air compressor replacement device in one embodiment;

[0077] Figure 9 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0078] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0079] In one embodiment, such as Figure 1 As shown, a method for replacing an air compressor is provided. This method is applied to a vehicle, which includes a pressure sensor, an air reservoir, and an air compressor. The pressure sensor records the air pressure value in the air reservoir. The method includes the following steps:

[0080] Step 102: Obtain the air pressure value in the air storage tank over a preset time period using the pressure sensor; the air pressure value in the air storage tank is obtained according to the preset sampling time point.

[0081] The vehicle in question is a test vehicle, comprising a pressure sensor, an air reservoir, and an air compressor. The pressure sensor is used to record the air pressure in the air reservoir in real time.

[0082] In practice, the preset time period can be 30 minutes, and the preset sampling time point can be 0.05 seconds. Specifically, the preset time period and the preset sampling time point can be set based on actual conditions, and this invention does not impose any limitations on them.

[0083] For example, the terminal can obtain the air pressure value in the air storage tank according to the preset sampling time point within a preset time period through the pressure sensor. The obtained air pressure value in the air storage tank can form an image, which is similar to a sine function image.

[0084] Step 104: Process the data of the air pressure in the air storage tank during the preset time period to obtain the extreme values ​​of the air pressure in the air storage tank, and record the time points corresponding to the extreme values; the extreme values ​​include maximum and minimum values.

[0085] Specifically, the data processing method can be to plot the air pressure values ​​in the air storage tank at preset sampling time points within a preset time period on a coordinate system, where the X-axis can record the time points and the Y-axis can record the air pressure values ​​in the air storage tank.

[0086] For example, there can be multiple extreme values. The extreme values ​​of air pressure in the gas reservoir can be related to a maximum value and a minimum value. Specifically, the extreme values ​​of air pressure in the gas reservoir can be determined by obtaining the maximum and / or minimum values ​​of air pressure in the gas reservoir.

[0087] In one embodiment, the air pressure values ​​in the air storage tank during a preset time period are processed to obtain the extreme values ​​of the air pressure in the air storage tank, and the time points corresponding to the extreme values ​​are recorded.

[0088] Step 106: Determine the operating status of the air compressor based on the maximum and minimum values; the operating status includes the working status and the non-working status.

[0089] The operating status of the air compressor can include working status and non-working status.

[0090] For example, the air pressure in the air tank can reflect the working status of the air compressor to a certain extent. Based on the maximum and minimum values ​​of the air pressure in the air tank during a preset time period, the operating status of the air compressor during the time period corresponding to the maximum and minimum values ​​can be determined.

[0091] Step 108: Obtain the number of first time points in the preset time period where the air compressor is in the working state and the number of second time points in the preset time period where the air compressor is in the non-working state.

[0092] In practice, there are multiple time points between an adjacent maximum and minimum value.

[0093] Among them, the number of the first time point and the number of the second time point are related to the extreme values.

[0094] For example, the number of first time points in a preset time period where the air compressor is in a working state and the number of second time points in a non-working state are obtained.

[0095] Step 110: Calculate the load rate of the air compressor based on the number of the first time point and the number of the second time point.

[0096] The first time point number is the number of preset sampling time points corresponding to the air compressor's operating state within a preset time period. The second time point number is the number of preset sampling time points corresponding to the air compressor's non-operating state within a preset time period.

[0097] For example, the formula for calculating the load rate of an air compressor is:

[0098]

[0099] Where A is the load rate of the air compressor; B is the number of sampling time points when the air compressor is in the working state during the preset time period; and C is the number of sampling time points when the air compressor is in the non-working state during the preset time period.

[0100] Step 112: Obtain the demand information of the vehicle, which includes the required load range of the air compressor;

[0101] The vehicle demand information includes the air compressor's required load range. The required load range includes both the maximum and minimum required load values.

[0102] For example, the required load range of the air compressor in the vehicle can be obtained. Specifically, the maximum and minimum values ​​in the required load range are obtained based on empirical values, which are not limited herein.

[0103] Step 114: If the load rate of the air compressor is not within the required load range, control the replacement of the air compressor in the vehicle.

[0104] For example, if the air compressor's load rate is less than the minimum required load, the control will replace the current air compressor with a lower-powered one. If the air compressor's load rate is greater than the maximum required load, the control will replace the current air compressor with a higher-powered one. If the air compressor's load rate is within the required load range, there is no need to replace the air compressor in the vehicle.

[0105] In practice, when it is necessary to test whether the current air compressor meets the actual needs of the vehicle during the vehicle development phase, the load rate of a preset time period can be calculated to determine whether the air compressor in the vehicle needs to be replaced.

[0106] In the above-mentioned method for replacing the air compressor, the air pressure in the air tank during a preset time period is obtained through a pressure sensor; the air pressure values ​​in the air tank during the preset time period are processed to obtain the extreme values ​​of the air pressure in the air tank, and the time points corresponding to the extreme values ​​are recorded; the operating status of the air compressor is determined based on the maximum and minimum values; the number of first time points in the preset time period where the air compressor is in the working state and the number of second time points in the preset time period where the air compressor is in the non-working state are obtained; based on the number of first time points and the number of second time points, the air compressor is calculated. The method involves obtaining the load rate of the air compressor; acquiring vehicle demand information; and controlling the replacement of the air compressor in the vehicle when the air compressor load rate is not within the demand load range. Compared with the traditional method of determining whether the air compressor is in working condition by setting a preset pressure value, this method obtains the extreme values ​​of air pressure in the air tank and determines whether the air compressor is in working condition based on the maximum and minimum values. This allows for a more accurate determination of the air compressor's operating status, a more precise calculation of the air compressor load rate, and control of air compressor replacement based on the magnitude of the air compressor load rate.

[0107] In one embodiment, reference Figure 2 The diagram illustrates a process for determining extreme values. Step 104 includes:

[0108] Step 202: Obtain the maximum value of the air pressure in the air storage cylinder within the preset time period.

[0109] Step 204: Based on the maximum value, set a first threshold range; the first threshold range is obtained by multiplying the maximum coefficient in the first coefficient range by the maximum value and the minimum coefficient by the maximum value.

[0110] Step 206: Determine multiple maxima of air pressure in the gas storage tank based on the first threshold range.

[0111] Step 208: Determine multiple minimum values ​​based on multiple maximum values.

[0112] The first threshold range can be obtained by multiplying the maximum and minimum coefficients in the first coefficient range by the maximum value. The first threshold range is used to determine the maximum value of the gas storage tank within a preset time period. The maximum value is the maximum air pressure in the gas storage tank within the preset time period.

[0113] Under normal circumstances, the coefficients in the first coefficient range are close to 1, typically set to 0.99-0.995. This ensures that multiplying the coefficients in the first coefficient range by the maximum value yields a value in the first threshold range that is close to the maximum value, thereby determining the maximum value of the gas storage tank within the preset time period.

[0114] For example, based on the first threshold range, multiple sampling points within the first threshold range are obtained to determine the maximum value; if multiple maximum values ​​can be determined, then between two adjacent maximum values, there must be a minimum value.

[0115] In one example, the air pressure values ​​obtained in the gas storage tank over a preset time period can form an image similar to a sine function. The image is divided into multiple first threshold ranges, each containing multiple sampling points, with a maximum value existing between adjacent first threshold ranges. For example, if there is a sampling point A in the first first threshold range and a sampling point B in the second first threshold range, then there is a maximum value between sampling points A and B.

[0116] In the above embodiments, the maximum value of the air pressure in the air storage tank within a preset time period is obtained. Based on the maximum value, a first threshold range is set. Based on the first threshold range, multiple maximum values ​​of the air pressure in the air storage tank are determined, and multiple minimum values ​​are determined based on these multiple maximum values. By setting the first threshold range using the maximum value, the maximum and minimum values ​​can be determined, thereby enabling a more accurate determination of the air compressor's operating status and a more precise calculation of the air compressor's load rate.

[0117] In one embodiment, reference Figure 3 This illustrates another flowchart for determining extreme values. Step 104 includes:

[0118] Step 302: Obtain the minimum air pressure in the air storage cylinder within the preset time period.

[0119] Step 304: Based on the minimum value, set a second threshold range; the second threshold range is obtained by multiplying the maximum coefficient in the second coefficient range by the minimum value and the minimum coefficient by the minimum value.

[0120] Step 306: Determine multiple minimum values ​​of air pressure in the gas storage tank based on the second threshold range.

[0121] Step 308: Determine multiple maxima based on multiple minima.

[0122] The second threshold range can be obtained by multiplying the maximum coefficient by the minimum value and the minimum coefficient by the minimum value within the second coefficient range. The second threshold range is used to determine the minimum value of the air storage tank within a preset time period. The minimum value is the minimum air pressure in the air storage tank within the preset time period.

[0123] Under normal circumstances, the second coefficient range can be set to the same size as the first coefficient range, for example, both can be set to 0.99-0.995, so that the value in the second threshold range obtained by multiplying the coefficient by the minimum value in the second coefficient range is close to the minimum value, thereby determining the minimum value of the gas storage tank within the preset time period.

[0124] For example, the air pressure values ​​obtained in the air storage tank over a preset time period can form an image similar to a sine function. The minimum value is determined based on the sampling points of the second threshold range in the image. If multiple minimum values ​​can be determined, there must be a maximum value between two adjacent minimum values.

[0125] In the above embodiments, the minimum air pressure in the air reservoir within a preset time period is obtained. Based on the minimum value, a second threshold range is set. Based on the second threshold range, multiple minimum values ​​of the air pressure in the air reservoir are determined, and multiple maximum values ​​are determined based on the multiple minimum values. By setting the second threshold range using the minimum value, the maximum and minimum values ​​can be accurately determined, thereby enabling a more accurate determination of the air compressor's operating status and a more precise calculation of the air compressor's load rate.

[0126] In one embodiment, reference Figure 4 The diagram illustrates a flowchart for determining extreme values ​​in another embodiment. Step 104 includes:

[0127] Step 402: Obtain the maximum and minimum values ​​of the air pressure in the air storage cylinder within the preset time period.

[0128] Step 404: Based on the maximum and minimum values, set a first threshold range and a second threshold range.

[0129] The first threshold range can be obtained by multiplying the maximum coefficient by the maximum value and the minimum coefficient by the maximum value in the first coefficient range. The first threshold range is used to determine the maximum value of the air reservoir within a preset time period. The maximum value is the maximum air pressure in the air reservoir within the preset time period. The second threshold range can be obtained by multiplying the maximum coefficient by the minimum value and the minimum coefficient by the minimum value in the second coefficient range. The second threshold range is used to determine the minimum value of the air reservoir within a preset time period. The minimum value is the minimum air pressure in the air reservoir within the preset time period.

[0130] Step 406: Determine the maximum and minimum values ​​of the air pressure in the gas storage cylinder based on the first threshold range and the second threshold range.

[0131] For example, the air pressure values ​​obtained in the air storage tank over a preset time period can form an image similar to a sine function. The maximum value is determined based on the intersection of the first threshold range in the image, and the minimum value is determined based on the intersection of the second threshold in the image.

[0132] In the above embodiments, the maximum and minimum values ​​of air pressure in the air storage tank within a preset time period are obtained. Based on the maximum and minimum values, a first threshold range and a second threshold range are set. Based on the first threshold range and the second threshold range, the maximum and minimum values ​​of air pressure in the air storage tank are determined. By setting the first and second threshold ranges using the maximum and minimum values, the maximum and minimum values ​​can be determined, thereby enabling a more accurate determination of the air compressor's operating status and a more precise calculation of the air compressor's load rate.

[0133] In one embodiment, step 106 includes:

[0134] Step 1062: Under the condition that the time point corresponding to the minimum air pressure in the air storage tank is to the time point corresponding to the maximum air pressure in the air storage tank, it is determined that the air compressor is in working state.

[0135] Step 1064: When the time point corresponding to the maximum air pressure in the air storage tank is to the time point corresponding to the minimum air pressure in the air storage tank, it is determined that the air compressor is in a non-working state.

[0136] For example, from the time point corresponding to the minimum air pressure in the air tank to the time point corresponding to the maximum air pressure in the air tank, the air compressor is in a working state; from the time point corresponding to the maximum air pressure in the air tank to the time point corresponding to the minimum air pressure in the air tank, the air compressor is determined to be in a non-working state.

[0137] Specifically, upon vehicle startup, the initial air pressure value and initial time point in the air reservoir are recorded. The time point from the initial air pressure value to the time point corresponding to the minimum air pressure value in the first air reservoir indicates the air compressor is in a non-operating state. The time point from the time point corresponding to the minimum air pressure value to the time point corresponding to the maximum air pressure value in the air reservoir indicates the air compressor is in an operating state. The time point from the time point corresponding to the maximum air pressure value to the time point corresponding to the minimum air pressure value in the air reservoir indicates the air compressor is in a non-operating state. The time point from the minimum air pressure value in the last air reservoir to the time point corresponding to the final air pressure value in the air reservoir indicates the air compressor is in an operating state.

[0138] Specifically, if the minimum value between the last maximum value and the termination point of the air pressure change in the gas storage tank is within the data point of the last recorded first value, then the time point recorded at this minimum value is discarded. If it is not within the data point of the last recorded first value, then the minimum value between the last maximum value and the termination point of the air pressure change in the gas storage tank is the minimum value point.

[0139] In the above embodiments, the minimum and maximum values ​​of the air pressure in the air storage tank are used to determine whether the air compressor is in working condition, so as to accurately determine the usage status of the air compressor and more accurately calculate the load rate of the air compressor.

[0140] In one embodiment, the vehicle includes an engine, and the vehicle's demand information includes the required energy consumption range of the air compressor; the method further includes:

[0141] Obtain the air compressor's usage status, engine speed, and air compressor speed characteristic parameters within a preset time period;

[0142] The power of the air compressor is calculated based on the usage status of the air compressor during the preset time period, the speed of the engine, and the speed characteristic parameters of the air compressor.

[0143] Calculate the energy consumption of the air compressor during the preset time period based on the power of the air compressor.

[0144] If the energy consumption of the air compressor is not within the required energy consumption range, the air compressor in the vehicle shall be replaced.

[0145] The vehicle also includes an engine, and the vehicle's demand information includes the energy consumption range required by the air compressor. The air compressor's operating status includes both working and non-working states. The energy consumption range includes the maximum and minimum energy consumption values. Specifically, the maximum and minimum energy consumption values ​​are obtained based on empirical values, and this invention does not impose limitations on them.

[0146] For example, the air compressor speed can be determined based on the speed ratio between the engine and the air compressor and the engine speed; the air compressor speed characteristic parameters corresponding to the working and non-working states can be determined based on the air compressor's operating status, thereby obtaining the air compressor power. Specifically, a certain time point is selected, the engine speed at that time point is obtained, the air compressor speed at that time point can be obtained based on the engine-to-air compressor speed ratio, and the air compressor speed characteristic parameters are determined based on the air compressor's corresponding operating status at that time point, so as to calculate the air compressor power at that time point.

[0147] For example, the energy consumption of the air compressor in its operating state and its non-operating state can be calculated. When the energy consumption in the non-operating state exceeds a threshold, the control will switch the air compressor to a more energy-efficient one. Specifically, the energy consumption formula for the air compressor is:

[0148]

[0149] Where W represents the energy consumption of the air compressor; n represents the time point; p represents the power; and t represents the time.

[0150] In the above embodiments, the usage status of the air compressor, the engine speed, and the air compressor speed characteristic parameters are obtained during a preset time period to calculate the power of the air compressor during the preset time period. Based on the power of the air compressor, the energy consumption of the air compressor during the preset time period is calculated. Thus, when the energy consumption of the air compressor is not within the required energy consumption range, the air compressor in the vehicle is controlled to be replaced. By using extreme values, the usage status of the air compressor is determined more accurately, and the energy consumption of the air compressor is calculated more precisely, so as to control the replacement of the air compressor in the vehicle when the energy consumption of the air compressor is not within the required energy consumption range.

[0151] To better understand the process of air compressor load rate and energy consumption, an example is provided for reference. Figure 5 This diagram illustrates a process for calculating the load rate and energy consumption of an air compressor.

[0152] Step 502: Obtain the air pressure value of the air storage tank, engine speed, speed ratio of the engine to the air compressor, and speed characteristic parameters of the air compressor during the preset time period.

[0153] Step 504: Obtain the maximum and minimum values ​​within the preset time period, and record the time points corresponding to the maximum and minimum values.

[0154] Step 506: Based on the time points corresponding to the maximum and minimum values, determine and record the air compressor's usage status at each time point within the preset time period.

[0155] Step 508: Obtain the power of the air compressor based on the working status of the air compressor at each time point in the preset time period, the engine speed, and the air compressor speed characteristic parameters.

[0156] Step 510: Calculate the energy consumption of the air compressor based on its power.

[0157] Step 512: Based on the usage status of the air compressor at each time point during the preset time period, accumulate the number of first time points in the working state and the number of second time points in the non-working state.

[0158] Step 514: Calculate the load rate of the air compressor based on the quantity at the first time point and the quantity at the second time point.

[0159] To better understand the process of air compressor load rate and energy consumption, another example is provided for detailed explanation. (See reference...) Figure 6 This diagram illustrates another process for calculating the load rate and energy consumption of an air compressor.

[0160] Step 602: Obtain the air pressure value of the air storage tank, engine speed, speed ratio of the engine to the air compressor, and speed characteristic parameters of the air compressor during a preset time period.

[0161] Step 604: Obtain the maximum value of the air pressure in the air storage tank within a preset time period, and set a first threshold range.

[0162] Step 606: Based on the first threshold range, determine multiple maximum values ​​of air pressure in the gas storage tank and record the time points corresponding to the maximum values.

[0163] Step 608: Determine multiple minimum values ​​based on multiple maximum values.

[0164] Specifically, the minimum value between the initial air pressure point in the gas storage tank and the first maximum value is obtained; the minimum value between each maximum value point is obtained, and the corresponding time point is recorded. The minimum value between the last maximum value and the gas storage tank pressure termination point is obtained, and it is determined whether this point is among the last 20 data points. If not, the minimum value between the last maximum value and the gas storage tank pressure termination point is recorded as the minimum value; if so, the data point is discarded.

[0165] Step 610: Record the time points corresponding to multiple minimum values ​​in chronological order.

[0166] Step 612: Determine the operating status of the air compressor at each time point within the preset time period based on each maximum and minimum value.

[0167] The preset time period can be the entire working time period.

[0168] Specifically, upon vehicle startup, the initial air pressure value and initial time point in the air reservoir are recorded. The time point from the initial air pressure value to the time point corresponding to the minimum air pressure value in the first air reservoir indicates the air compressor is in a non-operating state. The time point from the time point corresponding to the minimum air pressure value to the time point corresponding to the maximum air pressure value in the air reservoir indicates the air compressor is in an operating state. The time point from the time point corresponding to the maximum air pressure value to the time point corresponding to the minimum air pressure value in the air reservoir indicates the air compressor is in a non-operating state. The time point from the minimum air pressure value in the last air reservoir to the time point corresponding to the final air pressure value in the air reservoir indicates the air compressor is in an operating state.

[0169] Step 614: Record the working status of the air compressor at each point in time.

[0170] Specifically, based on the usage status of the air compressor at each time point within a preset time period, the number of first time points in the working state and the number of second time points in the non-working state are accumulated respectively.

[0171] Step 616: Obtain the power of the air compressor based on the working status of the air compressor at each time point in the preset time period, the engine speed, and the air compressor speed characteristic parameters.

[0172] Step 618: Calculate the energy consumption of the air compressor based on its power.

[0173] Step 620: Calculate the load rate of the air compressor based on the working status at each time point.

[0174] To better understand the air compressor replacement process, an example will be provided. (Refer to...) Figure 7 The diagram shows a flowchart of another method for replacing an air compressor.

[0175] Step 702: Obtain the air pressure value in the air storage tank for a preset time period using a pressure sensor; the air pressure value in the air storage tank is obtained according to the preset sampling time point.

[0176] Step 704: Obtain the maximum value of air pressure in the air reservoir within a preset time period; set a first threshold range based on the maximum value; determine multiple maxima of air pressure in the air reservoir based on the first threshold range; determine multiple minima based on the multiple maxima; or, obtain the minimum value of air pressure in the air reservoir within a preset time period; set a second threshold range based on the minimum value; determine multiple minima of air pressure in the air reservoir based on the second threshold range; determine multiple maxima based on the multiple minima.

[0177] Specifically, the first threshold range is obtained by multiplying the maximum coefficient by the maximum value and the minimum coefficient by the maximum value in the first coefficient range; the second threshold range is obtained by multiplying the maximum coefficient by the minimum value and the minimum coefficient by the minimum value in the second coefficient range.

[0178] Step 706: Determine that the air compressor is in working condition between the time point corresponding to the minimum air pressure in the air storage tank and the time point corresponding to the maximum air pressure in the air storage tank.

[0179] Step 708: Under the condition that the time point corresponding to the maximum air pressure in the air storage tank is to the time point corresponding to the minimum air pressure in the air storage tank, it is determined that the air compressor is in a non-working state.

[0180] Step 710: Obtain the number of first time points in the preset time period where the air compressor is in the working state and the number of second time points in the preset time period where the air compressor is in the non-working state.

[0181] Step 712: Calculate the load rate of the air compressor based on the quantity at the first time point and the quantity at the second time point; if the load rate of the air compressor is not within the required load range, control the replacement of the air compressor in the vehicle.

[0182] Step 714: Obtain the air compressor's operating status, engine speed, and air compressor speed characteristic parameters during a preset time period to calculate the air compressor's power.

[0183] Step 716: Calculate the energy consumption of the air compressor during a preset time period based on the power of the air compressor; if the energy consumption of the air compressor is not within the required energy consumption range, control the replacement of the air compressor in the vehicle.

[0184] In this embodiment, the air pressure in the air reservoir is obtained through a pressure sensor over a preset time period. The air pressure values ​​within the reservoir are processed to obtain extreme values, and the corresponding time points are recorded. The operating status of the air compressor is determined based on the maximum and minimum values. The number of first time points in the preset time period where the air compressor is in a working state and the number of second time points in the preset time period where the air compressor is not in a working state are obtained. The load rate of the air compressor is calculated based on the first and second time point counts. Vehicle demand information is obtained. If the air compressor load rate is not within the required load range, the air compressor in the vehicle is replaced. Compared to the traditional method of determining whether the air compressor is in a working state by setting a preset pressure value, this method obtains the extreme values ​​of the air pressure in the reservoir and determines whether the air compressor is in a working state based on the maximum and minimum values. This allows for a more accurate determination of the air compressor's operating status and a more precise calculation of the air compressor load rate. Furthermore, the air compressor replacement control is achieved based on the magnitude of the load rate.

[0185] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0186] Based on the same inventive concept, this application also provides an air compressor replacement device for implementing the air compressor replacement method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations of one or more air compressor replacement device embodiments provided below can be found in the limitations of the air compressor replacement method described above, and will not be repeated here.

[0187] In one embodiment, such as Figure 8As shown, an air compressor replacement device is provided, which is applied to a vehicle. The vehicle includes a pressure sensor, an air reservoir, and an air compressor. The pressure sensor is used to record the air pressure value in the air reservoir. The device includes: an air pressure value acquisition module 802, an air pressure extreme value acquisition module 804, an air compressor usage status determination module 806, a time point quantity acquisition module 808, a load rate calculation module 810, a demand information acquisition module 812, and a first air compressor replacement module 814, wherein:

[0188] The air pressure value acquisition module 802 is used to acquire the air pressure value in the air storage tank over a preset time period through the pressure sensor; the air pressure value in the air storage tank is acquired according to the preset sampling time point;

[0189] The air pressure extreme value acquisition module 804 is used to process the data of the air pressure in the air storage tank during the preset time period to obtain the extreme value of the air pressure in the air storage tank, and record the time point corresponding to the extreme value; the extreme value includes a maximum value and a minimum value;

[0190] The air compressor usage status determination module 806 is used to determine the usage status of the air compressor based on the maximum value and the minimum value; the usage status includes a working state and a non-working state.

[0191] The time point quantity acquisition module 808 is used to acquire the first time point quantity of the air compressor in the working state and the second time point quantity of the air compressor in the non-working state during the preset time period.

[0192] The load rate calculation module 810 is used to calculate the load rate of the air compressor based on the first time point quantity and the second time point quantity;

[0193] The demand information acquisition module 812 is used to acquire the demand information of the vehicle, which includes the demand load range of the air compressor.

[0194] The first air compressor replacement module 814 is used to control the replacement of the air compressor in the vehicle when the load rate of the air compressor is not within the required load range.

[0195] In some embodiments, the air pressure extreme value acquisition module 804 includes:

[0196] The first maximum / minimum value acquisition unit is used to acquire the maximum value of the air pressure in the air storage cylinder within the preset time period;

[0197] The first threshold setting unit is configured to set a first threshold range based on the maximum value; the first threshold range is obtained by multiplying the maximum value by the maximum coefficient in the first coefficient range and multiplying the minimum coefficient by the maximum value.

[0198] The first maximum value determination unit is used to determine multiple maximum values ​​of air pressure in the gas storage tank based on the first threshold range.

[0199] The first minimum value determination unit is used to determine multiple minimum values ​​based on multiple maximum values.

[0200] In some embodiments, the air pressure extreme value acquisition module 804 includes:

[0201] The second maximum / minimum value acquisition unit is used to acquire the minimum value of the air pressure in the gas storage tank within the preset time period;

[0202] The second threshold setting unit is used to set a second threshold range based on the minimum value; the second threshold range is obtained by multiplying the maximum coefficient in the second coefficient range by the minimum value and the minimum coefficient by the minimum value.

[0203] The second minimum value determination unit is used to determine multiple minimum values ​​of air pressure in the gas storage tank based on the second threshold range;

[0204] The second maximum value determination unit is used to determine multiple maximum values ​​based on multiple minimum values.

[0205] In some embodiments, the air pressure extreme value acquisition module 804 includes:

[0206] The third maximum and minimum value acquisition unit is used to acquire the maximum and minimum values ​​of the air pressure in the gas storage tank within the preset time period;

[0207] The third threshold setting unit is used to set a first threshold range and a second threshold range based on the maximum and minimum values;

[0208] The maximum and minimum value determination unit is used to determine the maximum and minimum values ​​of the air pressure in the gas storage cylinder based on the first threshold range and the second threshold range.

[0209] In some embodiments, the air compressor usage status determination module 806 includes:

[0210] The first state determination unit is used to determine that the air compressor is in a working state when the time point corresponding to the minimum air pressure in the air storage tank is to the time point corresponding to the maximum air pressure in the air storage tank.

[0211] The second state determination unit is used to determine that the air compressor is in a non-working state when the time point corresponding to the maximum air pressure in the air storage tank is to the time point corresponding to the minimum air pressure in the air storage tank.

[0212] In some embodiments, the apparatus further includes:

[0213] The data acquisition module is used to acquire the air compressor's operating status, engine speed, and air compressor speed characteristic parameters within a preset time period.

[0214] The power calculation module is used to calculate the power of the air compressor based on the usage status of the air compressor, the speed of the engine, and the speed characteristic parameters of the air compressor during the preset time period.

[0215] An energy consumption calculation module is used to calculate the energy consumption of the air compressor during the preset time period based on the power of the air compressor.

[0216] The second air compressor replacement module is used to control the replacement of the air compressor in the vehicle when the energy consumption of the air compressor is not within the required energy consumption range.

[0217] The various modules in the aforementioned air compressor replacement device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0218] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 9 As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a method for replacing an air compressor.

[0219] The display unit of this computer device is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of this computer device can be a touch layer covering the display screen, or buttons, a trackball, or a touchpad set on the casing of the computer device, or an external keyboard, touchpad, or mouse, etc.

[0220] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0221] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0222] The pressure sensor obtains the air pressure value in the air storage tank over a preset time period; the air pressure value in the air storage tank is obtained according to the preset sampling time point.

[0223] The data of the air pressure in the air storage tank during the preset time period is processed to obtain the extreme values ​​of the air pressure in the air storage tank, and the time points corresponding to the extreme values ​​are recorded; the extreme values ​​include maximum values ​​and minimum values.

[0224] The operating status of the air compressor is determined based on the maximum and minimum values; the operating status includes the working state and the non-working state.

[0225] Get the number of air compressors in the working state at the first time point and the number of air compressors in the non-working state at the second time point within the preset time period.

[0226] The load rate of the air compressor is calculated based on the quantity at the first time point and the quantity at the second time point.

[0227] Obtain the demand information of the vehicle, including the demand load range of the air compressor;

[0228] If the load rate of the air compressor is not within the required load range, the air compressor in the vehicle shall be replaced.

[0229] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0230] The pressure sensor obtains the air pressure value in the air storage tank over a preset time period; the air pressure value in the air storage tank is obtained according to the preset sampling time point.

[0231] The data of the air pressure in the air storage tank during the preset time period is processed to obtain the extreme values ​​of the air pressure in the air storage tank, and the time points corresponding to the extreme values ​​are recorded; the extreme values ​​include maximum values ​​and minimum values.

[0232] The operating status of the air compressor is determined based on the maximum and minimum values; the operating status includes the working state and the non-working state.

[0233] Get the number of air compressors in the working state at the first time point and the number of air compressors in the non-working state at the second time point within the preset time period.

[0234] The load rate of the air compressor is calculated based on the quantity at the first time point and the quantity at the second time point.

[0235] Obtain the demand information of the vehicle, including the demand load range of the air compressor;

[0236] If the load rate of the air compressor is not within the required load range, the air compressor in the vehicle shall be replaced.

[0237] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0238] The pressure sensor obtains the air pressure value in the air storage tank over a preset time period; the air pressure value in the air storage tank is obtained according to the preset sampling time point.

[0239] The data of the air pressure in the air storage tank during the preset time period is processed to obtain the extreme values ​​of the air pressure in the air storage tank, and the time points corresponding to the extreme values ​​are recorded; the extreme values ​​include maximum values ​​and minimum values.

[0240] The operating status of the air compressor is determined based on the maximum and minimum values; the operating status includes the working state and the non-working state.

[0241] Get the number of air compressors in the working state at the first time point and the number of air compressors in the non-working state at the second time point within the preset time period.

[0242] The load rate of the air compressor is calculated based on the quantity at the first time point and the quantity at the second time point.

[0243] Obtain the demand information of the vehicle, including the demand load range of the air compressor;

[0244] If the load rate of the air compressor is not within the required load range, the air compressor in the vehicle shall be replaced.

[0245] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0246] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0247] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0248] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for replacing an air compressor, characterized in that, The method is applied to a vehicle, the vehicle including a pressure sensor, an air reservoir, and an air compressor, wherein the pressure sensor is used to record the value of the air pressure in the air reservoir; the method includes: The pressure sensor obtains the air pressure value in the air storage tank over a preset time period; the air pressure value in the air storage tank is obtained according to the preset sampling time point. The data of the air pressure in the air storage tank during the preset time period is processed to obtain the extreme values ​​of the air pressure in the air storage tank, and the time points corresponding to the extreme values ​​are recorded; the extreme values ​​include maximum and minimum values; wherein, the maximum and minimum values ​​of the air pressure in the air storage tank within the preset time period are obtained; based on the maximum and minimum values, a first threshold range and a second threshold range are set; based on the first threshold range and the second threshold range, the maximum and minimum values ​​of the air pressure in the air storage tank are determined; The operating state of the air compressor is determined based on the maximum and minimum values; the operating state includes a working state and a non-working state; wherein, when the time point corresponding to the minimum air pressure in the air tank is to the time point corresponding to the maximum air pressure in the air tank, the air compressor is determined to be in a working state; when the time point corresponding to the maximum air pressure in the air tank is to the time point corresponding to the minimum air pressure in the air tank, the air compressor is determined to be in a non-working state. Get the number of air compressors in the working state at the first time point and the number of air compressors in the non-working state at the second time point within the preset time period. The load rate of the air compressor is calculated based on the quantity at the first time point and the quantity at the second time point. Obtain the demand information of the vehicle, including the demand load range of the air compressor; If the load rate of the air compressor is not within the required load range, the air compressor in the vehicle shall be replaced.

2. The method according to claim 1, characterized in that, The step of processing the air pressure values ​​in the air storage tank during the preset time period to obtain the extreme values ​​of the air pressure in the air storage tank includes: Obtain the maximum value of the air pressure in the air storage tank within the preset time period; A first threshold range is set based on the maximum value; the first threshold range is obtained by multiplying the maximum value by the maximum coefficient in the first coefficient range and multiplying the minimum coefficient by the maximum value. Based on the first threshold range, multiple maximum values ​​of air pressure in the gas storage tank are determined; Based on multiple maxima, determine multiple minima.

3. The method according to claim 1, characterized in that, The step of processing the air pressure values ​​in the air storage tank during the preset time period to obtain the extreme values ​​of the air pressure in the air storage tank includes: Obtain the minimum air pressure in the air storage tank within the preset time period; A second threshold range is set based on the minimum value; the second threshold range is obtained by multiplying the maximum coefficient in the second coefficient range by the minimum value and the minimum coefficient by the minimum value. Based on the second threshold range, multiple minimum values ​​of air pressure in the gas storage tank are determined; Multiple maxima are determined based on multiple minima.

4. The method according to claim 1, characterized in that, The vehicle includes an engine, and the vehicle's demand information includes the required energy consumption range of the air compressor; the method further includes: Obtain the air compressor's usage status, engine speed, and air compressor speed characteristic parameters within a preset time period; The power of the air compressor is calculated based on the usage status of the air compressor during the preset time period, the speed of the engine, and the speed characteristic parameters of the air compressor. Calculate the energy consumption of the air compressor during the preset time period based on the power of the air compressor. If the energy consumption of the air compressor is not within the required energy consumption range, the air compressor in the vehicle shall be replaced.

5. A replacement device for an air compressor, characterized in that, The device is applied to a vehicle, the vehicle including a pressure sensor, an air reservoir, and an air compressor, the pressure sensor being used to record the air pressure value in the air reservoir, and applying the steps of the air compressor replacement method according to any one of claims 1 to 4; the device includes: An air pressure value acquisition module is used to acquire the air pressure value in the air storage tank over a preset time period through the pressure sensor; the air pressure value in the air storage tank is acquired according to a preset sampling time point; An air pressure extreme value acquisition module is used to process the data of the air pressure in the air storage tank during the preset time period to obtain the extreme value of the air pressure in the air storage tank, and record the time point corresponding to the extreme value; the extreme value includes a maximum value and a minimum value; An air compressor usage status determination module is used to determine the usage status of the air compressor based on the maximum value and the minimum value; the usage status includes a working state and a non-working state. The time point quantity acquisition module is used to acquire the first time point quantity of the air compressor in the working state and the second time point quantity of the air compressor in the non-working state within a preset time period. The load rate calculation module is used to calculate the load rate of the air compressor based on the number of the first time point and the number of the second time point; The demand information acquisition module is used to acquire the demand information of the vehicle, including the demand load range of the air compressor. The first air compressor replacement module is used to control the replacement of the air compressor in the vehicle when the load rate of the air compressor is not within the required load range.

6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the air compressor replacement method according to any one of claims 1 to 4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the air compressor replacement method according to any one of claims 1 to 4.

8. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the air compressor replacement method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Vehicle and air compressor load rate calculation system and method

    CN113123957A

  • Unloading control method and system for new energy bus air compressor

    CN114643965A