Compressor control method and device of vehicle-mounted refrigerator and computer equipment
By setting multiple thresholds to control the compressor speed in the vehicle refrigerator, the problems of power depletion and safety risks in the existing technology are solved, and more efficient and reliable power management is achieved.
Patent Information
- Application Number
- CN202411372994.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2026-03-31
AI Technical Summary
The existing methods for controlling the compressor speed of in-vehicle refrigerators are simple, which leads to the rapid depletion of the car battery, increasing the excessive burden on the electrical system and the risk of fire.
By acquiring the compressor's instantaneous power and current operating power, and setting multiple power and duration thresholds, the compressor's speed can be dynamically adjusted to ensure safe operation and reduce energy waste and safety accidents.
It improves the energy efficiency of vehicle-mounted refrigerators, reduces the risk of safety accidents, and enhances the reliability and stability of the equipment.
Smart Images

Figure CN121761572A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of equipment control technology, and in particular to a compressor control method, device, computer equipment, computer-readable storage medium, and computer program product for a vehicle-mounted refrigerator. Background Technology
[0002] A car refrigerator is a small refrigeration device specifically designed for car travel. It can be connected to the car's power system, such as the cigarette lighter socket, or directly to the car battery to keep food and drinks cool or frozen during the journey. Car refrigerators are becoming increasingly popular due to their versatility and ease of use.
[0003] Currently, the compressor speed control of car refrigerators on the market is relatively simple. After the compressor is turned on and warmed up briefly, it runs directly at the standard speed or the speed set by the user. If the current operating power is too high, it can easily cause the car battery to be quickly depleted and can also put an excessive burden on the vehicle's electrical system, increasing the risk of short circuits or fires.
[0004] Therefore, there is a need to provide a reliable compressor control method for vehicle-mounted refrigerators. Summary of the Invention
[0005] Therefore, it is necessary to provide a reliable compressor control method, device, computer equipment, computer-readable storage medium, and computer program product for vehicle-mounted refrigerators to address the aforementioned technical problems.
[0006] In a first aspect, this application provides a compressor control method for a vehicle-mounted refrigerator, including:
[0007] When the compressor of the vehicle refrigerator is powered on and started, the instantaneous power of the compressor is obtained;
[0008] If the instantaneous power is not higher than a preset first power threshold, the compressor is controlled to operate at a preset speed.
[0009] Obtain the current operating power of the compressor and the duration of the current operating power;
[0010] The compressor speed is adjusted based on the current operating power and the duration of the current operating power.
[0011] In one embodiment, adjusting the compressor speed based on the current operating power and the duration of the current operating power includes:
[0012] If the current operating power is greater than or equal to a preset second power threshold and the duration is higher than a preset first duration threshold, the compressor speed is reduced.
[0013] Wherein, the preset first power threshold is greater than the preset second power threshold.
[0014] Secondly, this application also provides a compressor control device for a vehicle-mounted refrigerator, comprising:
[0015] The instantaneous power acquisition module is used to acquire the instantaneous power of the compressor when the compressor of the vehicle refrigerator is powered on and started.
[0016] The speed control module is used to control the compressor to operate at a preset speed when the instantaneous power is not higher than a preset first power threshold.
[0017] The operating power acquisition module is used to acquire the current operating power of the compressor and the duration of the current operating power.
[0018] The speed adjustment module is used to adjust the speed of the compressor based on the current operating power and the duration of the current operating power.
[0019] Thirdly, this application also provides a vehicle-mounted refrigerator, including a refrigerator body, a compressor, a memory, and a controller. The compressor and the memory are respectively connected to the controller. The memory stores a computer program. When the controller executes the computer program, it implements the steps in any of the above-described embodiments of the compressor control method for a vehicle-mounted refrigerator.
[0020] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in any of the above embodiments of the compressor control method for a vehicle-mounted refrigerator.
[0021] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps in any of the above embodiments of the compressor control method for a vehicle-mounted refrigerator.
[0022] The aforementioned compressor control method, device, computer equipment, computer-readable storage medium, and computer program product for vehicle refrigerators pre-set a first power threshold. By detecting the instantaneous power when the compressor starts, and only controlling the compressor to operate stably at a preset speed when the instantaneous power does not exceed the preset first power threshold, it can effectively reduce energy waste caused by instantaneous high power, reduce the risk of over-discharge of the vehicle battery, and thus reduce the risk of safety accidents. When the compressor operates stably at the preset speed, it can maintain stable cooling efficiency. Furthermore, by continuously monitoring the compressor's operating power and its duration, and adjusting the compressor speed, more precise power control can be achieved, thereby ensuring that the temperature of the vehicle refrigerator remains stable within a preset range. In summary, adopting the above solution not only improves the energy utilization efficiency of vehicle refrigerators but also reduces the risk of safety accidents and enhances the reliability of vehicle refrigerators. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is an application environment diagram of the compressor control method for a vehicle-mounted refrigerator in one embodiment;
[0025] Figure 2 This is a flowchart illustrating the compressor control method for a vehicle-mounted refrigerator in one embodiment;
[0026] Figure 3 This is a flowchart illustrating the compressor control method for a vehicle-mounted refrigerator in another embodiment;
[0027] Figure 4 This is a flowchart illustrating the compressor control method for a vehicle-mounted refrigerator in yet another embodiment;
[0028] Figure 5 This is a flowchart illustrating the power threshold determination step in one embodiment;
[0029] Figure 6 This is a structural block diagram of the compressor control device for a vehicle-mounted refrigerator in one embodiment;
[0030] Figure 7 This is a structural block diagram of the compressor control device of the vehicle-mounted refrigerator in another embodiment;
[0031] Figure 8 This is an internal structural diagram of a vehicle-mounted refrigerator in one embodiment. Detailed Implementation
[0032] 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.
[0033] The compressor control method for a vehicle-mounted refrigerator provided in this application embodiment can be applied to, for example... Figure 1 The application environment is shown. In this environment, vehicle 102 is equipped with an onboard refrigerator, which connects to the vehicle 102's VCU (Vehicle Control Unit) and interacts with it. The vehicle 102's VCU connects to server 104 via public wireless communication networks such as 4G / 5G and interacts with it. The server can also interact with the VCU and the onboard refrigerator via public wireless communication networks such as 4G / 5G. The data storage system can be integrated on server 104 or hosted on the cloud or other network servers.
[0034] Specifically, when the vehicle refrigerator has a cooling demand, the compressor starts up. At this time, the controller acquires the compressor's instantaneous power and compares it with a preset first power threshold. If the instantaneous power is not higher than the preset first power threshold, the controller controls the compressor to run at a preset speed. Subsequently, the controller continuously acquires the compressor's current operating power and the duration of the current operating power. Based on the current operating power and the duration of the current operating power, the controller adjusts the compressor speed of the vehicle refrigerator to achieve stable operation of the vehicle refrigerator.
[0035] The vehicle 102 includes, but is not limited to, electric vehicles, traditional fuel vehicles, hybrid vehicles, fuel cell electric vehicles, and other new energy vehicles, as long as they are equipped with an onboard refrigerator. The server 104 can be a standalone physical server, a cloud server providing cloud computing services, or a server cluster or distributed system composed of multiple physical servers. It is understood that, in other embodiments, the onboard refrigerator compressor control method can also be applied to the vehicle's overall controller or a control terminal that interacts with the vehicle for data exchange.
[0036] In one exemplary embodiment, such as Figure 2 As shown, a compressor control method for a vehicle-mounted refrigerator is provided, which is applied to... Figure 1 Taking the controller of car 102 as an example, the explanation includes the following steps S200 to S800. Wherein:
[0037] S200 acquires the instantaneous power of the compressor when the compressor of the vehicle refrigerator is powered on and started.
[0038] Instantaneous power refers to the immediate power consumed by a device at a given moment. For the compressor of a car refrigerator, instantaneous power typically refers to the power consumption at the instant the compressor starts up. Because the compressor needs to overcome static resistance to begin rotating, the instantaneous power may be much higher than its average operating power.
[0039] In practical applications, when the vehicle refrigerator has a cooling demand, the controller sends a start command to the compressor. When the compressor responds to the start command and begins to run, the controller immediately obtains the compressor's instantaneous power. Specifically, this can be achieved by using a power sensor or current transformer installed on the power line to monitor the current and voltage in real time, calculate the instantaneous power, and then transmit the instantaneous power to the controller.
[0040] S400 controls the compressor to run at a preset speed when the instantaneous power does not exceed a preset first power threshold.
[0041] In this embodiment, the preset first power threshold can be understood as a safety threshold. If the operating power exceeds the first power threshold, it indicates that the system is experiencing unnecessary high energy consumption or potential overheating risk. The preset speed can be determined comprehensively based on the characteristics of the compressor, the cooling requirements of the vehicle refrigerator, and the load-bearing capacity of the vehicle's electrical system, or it can be a relatively small speed value.
[0042] After acquiring the compressor's instantaneous power, the controller compares it to a first power threshold. If the instantaneous power does not exceed the first power threshold, the compressor is allowed to operate stably at a preset speed. If the instantaneous power exceeds the first power threshold, instantaneous protection is activated. For example, instantaneous protection could involve reducing the compressor speed or stopping the compressor. In other embodiments, instantaneous protection could be achieved through a soft start, gradually increasing the compressor's power supply to smoothly increase the speed. In still other embodiments, current-limiting components, such as overcurrent protection relays or fuses, could be added to the compressor circuit. When a current exceeding a safety threshold is detected, these components would disconnect the circuit to prevent compressor damage. Alternatively, a thermal protection switch installed inside the compressor motor could automatically cut off the power supply when excessively high temperatures are detected, preventing overheating damage due to overload or malfunction.
[0043] S600, obtains the current operating power of the compressor and the duration of the current operating power.
[0044] The current operating power of the compressor refers to the operating power of the compressor detected at the current time. Operating power refers to the power continuously consumed by the compressor under normal operating conditions. If the compressor reaches a stable operating state, its power consumption will tend to stabilize, that is, the operating power tends to stabilize. Typically, the operating power is less than the instantaneous power; however, the operating power will vary with changes in actual load and operating conditions. The duration of operating power refers to the length of time the recorded operating power level is maintained.
[0045] During stable compressor operation, the controller continuously monitors the compressor's actual operating power and records the duration of this power level, obtaining the current operating power and its duration. This information is used to evaluate the compressor's efficiency and determine whether its operating status needs to be adjusted.
[0046] The S800 adjusts the compressor speed based on the current operating power and the duration of the current operating power.
[0047] Following the steps above, the controller analyzes the monitored operating power and its duration to determine whether the compressor speed needs adjustment. For example, if the compressor has been running at high power for an extended period, such as 5 minutes, and the internal temperature of the refrigerator has not yet reached the set value, the system may decide to increase the speed to accelerate cooling; conversely, if the temperature is close to the target value, the system may reduce the speed to reduce energy consumption and prevent the temperature from becoming too low. It is understandable that adjusting the compressor speed can be done according to preset speed levels. For example, to increase the speed, if the original speed is level 1, the speed can be increased to a higher level, level 2. Besides adjusting the speed by setting speed levels, the compressor speed can also be controlled by changing the frequency of the AC power supplied to the motor through a frequency converter, achieving continuous speed regulation. Furthermore, the speed can be adjusted through servo drive control to achieve higher precision speed control.
[0048] In the aforementioned compressor control method for a vehicle refrigerator, a first power threshold is set. By detecting the instantaneous power when the compressor starts, and only when the instantaneous power does not exceed the preset first power threshold, the compressor is controlled to operate stably at a preset speed. This effectively reduces energy waste caused by instantaneous high power, reduces the risk of over-discharge of the vehicle battery, and thus reduces the risk of safety accidents. When the compressor operates stably at the preset speed, it can maintain stable cooling efficiency. Furthermore, by continuously monitoring the compressor's operating power and its duration, and adjusting the compressor speed, more precise power control can be achieved, thereby ensuring that the temperature of the vehicle refrigerator remains stable within the preset range. In summary, the above solution not only improves the energy utilization efficiency of the vehicle refrigerator but also reduces the risk of safety accidents and enhances the reliability of the vehicle refrigerator.
[0049] Because operating conditions and loads can change in real-world applications, the compressor speed and fan speed can be dynamically adjusted according to the actual operating conditions. In an exemplary embodiment, such as... Figure 3 As shown, S800 includes S820 to S840. Wherein:
[0050] S820: If the current operating power is greater than or equal to the preset second power threshold and the duration is longer than the preset first duration threshold, reduce the compressor speed and return to S600.
[0051] S840, if the current operating power is less than or equal to the preset third power threshold and the duration of the current operating power is greater than the preset second duration threshold, increase the compressor speed and return to S600 until the current operating power is greater than the preset third power threshold and less than the preset second power threshold.
[0052] In this embodiment, the preset first power threshold is greater than the preset second power threshold, the preset second power threshold is greater than the preset third power threshold, and the preset second duration threshold is greater than the preset first duration threshold.
[0053] The first power threshold, P1, is the highest power threshold, representing the maximum allowable power of the compressor during operation. When the compressor's current operating power reaches or exceeds P1, it may indicate that the system is experiencing unnecessary high energy consumption or potential overheating risks. In this case, instantaneous protection is required to reduce the compressor speed, helping to avoid compressor overload and overheating, protecting the equipment from damage, and saving energy.
[0054] The second power threshold P2 is an intermediate power threshold used to determine whether the compressor should switch from high-power mode to a more energy-efficient mode. When the compressor power reaches or exceeds P2 and remains so for more than T1, it is determined that the compressor speed needs to be reduced to decrease energy consumption.
[0055] The third power threshold P3 is the lowest power threshold, indicating under what circumstances the compressor's cooling capacity needs to be increased. When the compressor's power is lower than P3 and the duration exceeds the preset second duration threshold T2 (T2 > T1), it can be determined that the system's cooling capacity is insufficient, and the system needs to enhance its cooling effect to quickly reach the set temperature. Therefore, the compressor speed needs to be increased to enhance cooling efficiency and ensure that the internal temperature recovers to the set temperature range as quickly as possible.
[0056] During specific implementation, after the controller obtains the current operating power and its duration, it will compare the current operating power with a preset second power threshold P2, such as 100 W (watts) in real time, and determine whether the current power is higher than 100 W. If the current power exceeds 100 W and its duration is higher than the preset duration threshold T1 (such as 10 seconds), the rotational speed of the compressor will be reduced. For example, the rotational speed of the compressor is reduced from the original gear 1 to gear 2; if the original gear is gear 2, the rotational speed is reduced to gear 1. In some other embodiments, in addition to reducing the rotational speed of the compressor, if the fan has a rotational speed, the rotational speed of the fan can also be increased to the maximum rotational speed to promote heat dissipation and prevent the compressor from overheating. It can be understood that if the fan has no rotational speed, the rotational speed of the fan can be maintained. If the rotational speed of the fan is already the maximum rotational speed, there is no need to increase the rotational speed, and the maximum rotational speed is maintained for rotation.
[0057] After that, the operating power and its duration are continuously monitored. Since the operating power of the compressor will decrease after the rotational speed of the compressor is reduced, it is possible to continuously monitor whether the operating power is less than or equal to a preset third power threshold P3 (such as 50 W). If the current operating power is lower than 50 W and the operating duration has exceeded the preset second duration threshold (such as 1 minute), the rotational speed of the compressor is increased to enhance the refrigeration effect and ensure that the temperature in the compartment is restored to the set point as soon as possible. For example, the rotational speed of the compressor is increased by one gear, such as from gear 1 to gear 2. After that, the current operating power P is continuously monitored. If the current operating power P is still lower than P3, the rotational speed of the compressor is increased by one more gear. In some other embodiments, when the operating power is low enough, the gear can also be directly reduced from gear 1 to gear 3. After that, the current operating power is continuously monitored until P3 < P < P2. During this period, the rotational speed of the compressor can remain unchanged, and the refrigeration system operates stably.
[0058] In this embodiment, by setting the first power threshold, instantaneous protection can be carried out immediately when the current power exceeds the first power threshold, which can reduce the risk of compressor overload and overheating and extend the service life of the equipment. By setting the second power threshold, when the current power is greater than or equal to the second power threshold and the duration exceeds the first duration threshold, the rotational speed of the compressor is reduced to save power consumption. By setting the third power threshold, when the current power is less than or equal to the third power threshold and the duration is greater than the second duration threshold, the rotational speed is gradually increased to enhance the refrigeration effect. Compared with the traditional method of only adjusting the rotational speed of the compressor when the power reaches the maximum power or a certain specific power threshold, this embodiment can perform dynamic adjustment according to the real-time power and duration through multi-threshold control, ensuring that the system is always in the best working state and achieving more precise temperature control. In addition, by making multi-level protection measures through multi-threshold control, the equipment can operate within a safe range and reduce the failure rate.
[0059] Such as Figure 4 As shown, in one embodiment, S400 includes: S420, when the instantaneous power is not higher than a preset first power threshold, controlling the compressor to operate at a preset minimum operating speed.
[0060] S800 includes: S822, when the current operating power is less than or equal to a preset third power threshold and the duration of the current operating power is greater than a preset first duration threshold, increasing the speed of the compressor and returning to S600.
[0061] S842, when the current operating power is greater than a preset second power threshold and the duration is greater than a preset second duration threshold, decreasing the speed of the compressor and returning to S600 until the current operating power is greater than the preset third power threshold and less than the preset second power threshold.
[0062] The minimum operating speed is the lowest speed at which the compressor can operate safely and stably without mechanical failures or performance degradation under normal operating conditions. Taking an automotive refrigeration system as an example, the minimum operating speed of the compressor is generally around 600 to 800 revolutions per minute.
[0063] In this embodiment, another control strategy is adopted. Different from the previous embodiment, in this embodiment, after the compressor is started and it is determined that the instantaneous power is not higher than the preset first power threshold, the compressor is controlled to operate at the minimum operating speed. At this time, the operating power of the compressor is relatively small. If the compressor operates at a low operating power for a period of time (such as 1 minute) and then the current operating power is less than the preset power threshold P3, it is determined that the compressor can increase its speed, and the speed of the compressor is increased to enhance the refrigeration effect. Since the operating power of the compressor will increase after the compressor speed is increased, it is possible to continuously monitor whether the operating power is greater than the preset second power threshold P2 (such as 100W). If the current power exceeds 100W and its duration is higher than the preset duration threshold T1 (such as 10 seconds), the speed of the compressor is decreased. In some other embodiments, in addition to decreasing the speed of the compressor, the speed of the fan can also be increased. Among them, the specific adjustment of the compressor speed and the fan speed can refer to the adjustment process of the previous embodiment and will not be elaborated here. Then, continue to monitor the current operating power P until P3 < P < P2. During this period, the compressor speed can remain unchanged and the refrigeration system operates stably.
[0064] In this embodiment, by initially controlling the compressor to operate at the lowest speed and steadily increasing the speed of the compressor, the operating power of the vehicle-mounted refrigerator changes steadily.
[0065] Such as Figure 5 As shown, in one embodiment, the first power threshold, the second power threshold or the third power threshold is determined based on the following method:
[0066] S102, Obtain the power threshold setting value.
[0067] S104, start the compressor and control the compressor to run continuously at the preset minimum operating speed for a preset time.
[0068] S106, obtain the current operating power of the compressor.
[0069] S108, based on the power difference between the current operating power and the preset maximum allowable power, adjust the compressor speed and power threshold setting until the power difference is less than or equal to the preset power difference threshold, and determine the latest power threshold setting as the power threshold.
[0070] The preset maximum allowable power is a value derived from vehicle characteristics, load capacity, and empirical data; it can also be understood as a safety threshold. The preset minimum speed can be a factory-set speed or a value determined based on the performance parameters and empirical data of the vehicle refrigerator. In practical applications, the first, second, or third power thresholds can be factory-set values or values adjusted by the controller according to actual conditions. Factory-set values are generally based on product prototype verification data; however, due to differences between prototypes, the factory data may differ for each machine. Therefore, a power threshold can be preset first, and the controller can self-adjust the power threshold based on its own conditions to determine the final power threshold.
[0071] In this embodiment, the power threshold can be determined by gradually increasing the rotational speed. For example, the compressor can be started and controlled to operate at its lowest operating speed. After a certain period of stable operation (e.g., 1 minute), the current operating power of the compressor is recorded. If the power difference between the current operating power and the preset maximum allowable power (e.g., 100W) is greater than a preset power difference threshold (e.g., 5W), the compressor speed is increased to increase the compressor's operating power, and the power threshold setting is adjusted. Then, the process returns to S108 until the power difference is less than or equal to the preset power difference threshold, and the latest power threshold setting is determined as the power threshold. Adjusting the power threshold setting includes increasing or decreasing the power threshold setting. It is understood that the first power threshold, second power threshold, or third power threshold can be determined using the above method, only the corresponding maximum allowable power values are different.
[0072] In this embodiment, the compressor speed and power threshold setting are adjusted by the power difference between the current operating power and the preset maximum allowable power. This allows for more precise power threshold and speed settings, and enables the compressor to operate under safe and stable conditions, reducing the failure rate.
[0073] It is understood that there can be various methods for autonomously adjusting the power threshold. In one exemplary embodiment, based on the power difference between the current operating power and the preset maximum allowable power, the compressor speed and power threshold setting are adjusted, including:
[0074] If the current operating power is less than the preset maximum allowable power and the power difference between the current operating power and the maximum allowable power is greater than the preset power difference threshold, then the compressor speed is increased and the power threshold setting value is increased.
[0075] If the current operating power is greater than the preset maximum allowable power, the compressor speed is reduced, and the power threshold setting is decreased.
[0076] If the current operating power is greater than the preset maximum allowable power, the power threshold setting is reduced, and the process returns to the step of obtaining the current operating power of the compressor until the power difference is less than or equal to the preset second power difference threshold. The latest power threshold setting is then determined as the power threshold.
[0077] In this embodiment, the second power difference threshold is less than the first power difference threshold. For example, the first power difference threshold is 10W, and the second power difference threshold can be 5W.
[0078] Following the previous embodiment, after increasing the compressor speed, if the current operating power is less than the preset maximum allowable power, such as 100W, and the power difference between the two is greater than the second power difference threshold of 5W, it indicates that the compressor can operate with higher power consumption. Therefore, the compressor speed can be increased, and the power threshold setting value can be increased, such as by 2W. Then, return to S108 until the power difference between the current operating power and the maximum allowable power of 100W is less than or equal to 5W, and the latest power threshold setting value is determined as the power threshold.
[0079] Conversely, if increasing the compressor speed results in a current operating power exceeding the preset maximum allowable power, the compressor speed is reduced, decreasing the power threshold setting (e.g., by 2W), and the process returns to S108. This continues until the power difference between the current operating power and the maximum allowable power of 100W is less than or equal to 5W. The latest power threshold setting is then established as the power threshold to reduce the risk of overload. It is understood that the first, second, and third power thresholds can all be adjusted using the aforementioned autonomous adjustment method. Different autonomous adjustment methods can be used depending on the actual situation, specifically based on load conditions, temperature factors, and other factors.
[0080] In this embodiment, by setting a power difference threshold and fine-tuning the power threshold setting value step by step, a more accurate power threshold can be obtained.
[0081] In other embodiments, if the compressor is running at a preset minimum operating speed and the current operating power is greater than a preset maximum allowable power, the compressor operation is stopped.
[0082] The minimum operating speed usually refers to the lowest speed at which the compressor can work normally, and it can be determined by data such as the compressor model and performance parameters.
[0083] In practical applications, the compressor is controlled to operate at its minimum speed, and its current operating power is monitored in real time. If the compressor's current operating power exceeds the preset maximum allowable power, it indicates that the compressor may be overloaded, or that the current environment is unsuitable for compressor operation. Prolonged overload can lead to compressor overheating, potentially damaging internal components and shortening equipment lifespan. In this case, an immediate command can be issued to stop the compressor, reducing the probability of electrical faults or mechanical damage and mitigating the risk of malfunctions and safety accidents. Furthermore, an early warning mechanism can be triggered to notify relevant personnel for fault analysis, or the system can automatically analyze the fault based on current operating parameters, recording the fault time and related data for subsequent diagnosis and maintenance. After the high-power issue is resolved, the compressor can be restarted via manual or automatic reset.
[0084] In this embodiment, when the compressor is running at its lowest operating speed and the current operating power exceeds the preset maximum allowable power, the compressor is immediately stopped. This effectively reduces compressor overload and overheating, extends equipment lifespan, and improves system safety.
[0085] In practical applications, a vehicle's onboard refrigerator can have one or more compartments; therefore, corresponding control logic can be designed for multiple compartments. In one exemplary embodiment, the method further includes:
[0086] When a vehicle refrigerator has multiple compartments, if it is detected that the compressor is supplying cooling to one compartment and the current operating power exceeds a preset first power threshold, the compressor speed will be reduced, and the compressor will be controlled to operate at the reduced speed to supply cooling to the compartment.
[0087] Alternatively, the compressor can be controlled to operate at a reduced speed to supply cooling to multiple units.
[0088] In practice, the vehicle-mounted refrigerator has multiple compartments, each with different cooling needs and corresponding target temperature values. Cooling can be supplied to multiple compartments by controlling solenoid valves. If the compressor is supplying cooling to a specific compartment (e.g., the freezer) and the operating power exceeds a preset first power threshold P1, it indicates that the compressor is overworking. This could be due to a higher temperature in compartment 1 requiring more cooling, or environmental factors causing a decrease in cooling efficiency. To avoid compressor overload and save energy, the compressor speed can be reduced by one level. For example, if the original speed was speed 1, it can be reduced to speed 2; if the original speed was speed 2, it can be reduced to speed 3, with speed 1 > speed 2 > speed 3. When the compressor is supplying cooling to other compartments, it is unaffected by the temperature of the compartment in question. Each compartment is controlled independently; that is, even if one compartment has a higher cooling demand, it will not affect the temperature control of other compartments, ensuring that the temperature of each compartment meets the set requirements. It is understandable that the compressor supplies cooling to different compartments at different times.
[0089] In this embodiment, when the compressor supplies cooling to a housing, if the operating power exceeds a preset first power threshold, the compressor's workload can be effectively reduced by lowering its speed, preventing overload and overheating, and extending the equipment's lifespan. Furthermore, the compressor continues to supply cooling to the housing at the reduced speed to ensure that the temperature inside the housing does not rise sharply. In addition, by controlling each housing individually, the cooling intensity can be precisely adjusted according to the actual needs of each housing, reducing the problems of overcooling or undercooling.
[0090] In other embodiments, if it is detected that the compressor is supplying cooling to one of the compartments 1 (such as the freezer compartment) and the operating power exceeds the preset first power threshold P1, the compressor speed is reduced, such as from the original speed 1 to speed 2, and the compressor can be controlled to supply cooling to other compartments at speed 2.
[0091] In this embodiment, by adjusting the compressor speed for all housings, the design complexity of the control system is simplified, and local overheating or other potential problems can be reduced to some extent.
[0092] In practical applications, in addition to the control methods described above, temperature factors can also be considered for active control of the maximum power of vehicle refrigerators. In one embodiment, the method further includes: acquiring the internal temperature and ambient temperature of the vehicle refrigerator; determining the compressor speed setting based on the internal temperature and ambient temperature; and adjusting the compressor speed based on the speed setting.
[0093] In this embodiment, the speed settings include, but are not limited to, high speed and low speed. Multiple speed settings can also be provided, such as speed settings 1, 2…N with gradually increasing speeds. Specifically, high-precision temperature sensors can be installed inside and outside the refrigerator to acquire the internal temperature of one or more compartments of the vehicle refrigerator, as well as the ambient temperature, in real time or at regular intervals. A speed control algorithm based on the internal and ambient temperatures can be designed, taking into account factors such as the temperature difference between the internal and ambient temperatures, season, and geographical location. Alternatively, the compressor speed adjustment strategy can be determined directly based on the internal and ambient temperatures, combined with actual experimental data, for different internal and ambient temperatures.
[0094] In this embodiment, the compressor speed is adjusted based on the internal temperature and ambient temperature as an example. When the ambient temperature is detected to be too high, the compressor speed can be actively controlled to prevent the power from reaching the protection limit. For example, if the environmental sensor detects that the ambient temperature is higher than the set temperature A, and the internal temperature is higher than temperature B, the compressor speed is controlled to run at a low speed.
[0095] For example, when the ambient temperature reaches or exceeds a preset temperature threshold (such as 38°C, 43°C, etc.), the system will trigger a specific compressor speed control strategy, such as reducing the compressor speed. Alternatively, when the internal temperature is higher than a preset temperature B (such as 25°C) and the ambient temperature is higher than a preset temperature A (such as 38°C), the system will adjust the compressor speed to adapt to the current environmental conditions. Only when the internal temperature drops below 30°C will the compressor be allowed to increase its speed to restore normal cooling efficiency.
[0096] In other embodiments, multiple temperature limits may be set. For example, when the ambient temperature is above 43°C and the internal temperature exceeds 25°C, the compressor operates at a low speed. Similarly, when the ambient temperature is between 38°C and 43°C and the internal temperature exceeds 25°C, a low-speed strategy is also implemented. When the ambient temperature is between 32°C and 38°C and the internal temperature exceeds 30°C, the compressor speed is limited to a lower level.
[0097] In this embodiment, considering the temperature difference, a dynamic compressor speed control strategy is designed to reduce the possibility of the vehicle refrigerator operating under overload conditions in high-temperature environments, enabling the vehicle refrigerator to maintain efficient, stable and safe operation in complex and ever-changing environments.
[0098] In other embodiments, when multiple compartments of the vehicle refrigerator need to be cooled, the temperature difference between each compartment and the total temperature difference to be adjusted are determined based on the set temperature of each compartment and the ambient temperature. A first candidate speed is determined based on the temperature difference between each compartment and a preset first temperature range. A second candidate speed is determined based on the total temperature difference and a preset second temperature range. A target speed is determined based on the first and second candidate speeds. The compressor is controlled to run at the target speed to supply cooling to the multiple compartments.
[0099] The total temperature difference is the sum of the temperature differences between the set temperatures of multiple enclosures and the ambient temperature, i.e., the total temperature reduction required for multiple enclosures. In this embodiment, the total temperature difference is denoted as ΔTtotal. Candidate speeds refer to the compressor speeds that can be used under different conditions. The first temperature range is a range set to meet the temperature difference requirements of a single enclosure, and includes multiple temperature ranges. The second temperature range also includes multiple temperature ranges, but the difference is that the second temperature range is set to meet the temperature requirements of multiple enclosures. The range of the first temperature range is smaller than the range of the second temperature range.
[0100] For example, consider a car refrigerator with two compartments, left and right, both of which need to be cooled. To ensure that both compartments reach the set temperature, the compressor speed can be determined based on various factors.
[0101] Let the current ambient temperature be T1, and the set temperature of the left chamber be denoted as T. 左2 The set temperature of the right chamber is recorded as T. 右2 This could be achieved by: First, pre-dividing multiple temperature ranges, with different speed settings corresponding to different ranges. In practical applications, based on the set temperatures of the left and right housings and the ambient temperature, determining the temperature difference between the set temperatures of the left and right housings and the ambient temperature, with the temperature difference ΔT for the left housing being... 左 =T1-T 左2 Temperature difference ΔT in the right chamber 右 =T1-T 右2 Based on the temperature difference between each chamber, the total temperature difference ΔT to be adjusted is determined. 总 ΔT 总 =2T1-( T 左2 +T 右2 ).
[0102] Then, the temperature difference ΔT can be... 左 and ΔT 右 The values are compared with multiple first temperature ranges to determine ΔT. 左 and ΔT 右 The first temperature range is determined, and the corresponding speed range for this first temperature range is then identified as the candidate speed. In this way, the candidate speeds R for the left and right housings are determined. 左and candidate rotational speed R 右 Then, the candidate rotational speed R 左 and candidate rotational speed R 右 The larger rotational speed was determined as the first candidate rotational speed.
[0103] Next, the total temperature difference is compared with the preset second temperature range to determine the second temperature range in which the total temperature difference is located, and then the speed gear corresponding to the determined second temperature range is determined as the second candidate speed.
[0104] Finally, the larger of the first and second candidate speeds can be determined as the target speed, and the compressor can be controlled to operate at the target speed to supply cooling to all cabinets, thereby meeting the cooling needs of all cabinets. In other embodiments, the target speed can be determined by the average of the first and second candidate speeds. Alternatively, a weighted average of the first and second candidate speeds can be used to determine the target speed.
[0105] In this embodiment, the overall cooling demand of the system is assessed by comprehensively considering the temperature difference between each chamber and the total temperature difference, and then the compressor speed is determined, which can save energy while achieving the cooling effect of all chambers.
[0106] To provide a clearer explanation of the compressor control method for the vehicle-mounted refrigerator provided in this application, a specific embodiment will be described below, which includes the following steps:
[0107] S200 acquires the instantaneous power of the compressor when the compressor of the vehicle refrigerator is powered on and started.
[0108] S400 controls the compressor to run at a preset speed when the instantaneous power does not exceed a preset first power threshold.
[0109] S600, obtains the current operating power of the compressor and the duration of the current operating power.
[0110] S822, if the current operating power is greater than or equal to the preset second power threshold and the duration is longer than the preset first duration threshold, reduce the compressor speed, increase the fan speed of the vehicle refrigerator, and return to S600.
[0111] S840, if the current operating power is less than or equal to the preset third power threshold and the duration of the current operating power is greater than the preset second duration threshold, increase the compressor speed and return to S600 until the current operating power is greater than the preset third power threshold and less than the preset second power threshold.
[0112] 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.
[0113] Based on the same inventive concept, this application also provides a compressor control device for a vehicle refrigerator to implement the compressor control method for a vehicle refrigerator as 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 embodiments of the compressor control method device for a vehicle refrigerator provided below can be found in the limitations of the compressor control method for a vehicle refrigerator described above, and will not be repeated here.
[0114] In one exemplary embodiment, such as Figure 6 As shown, a compressor control device 600 for a vehicle refrigerator is provided, including: an instantaneous power acquisition module 610, a speed control module 620, an operating power acquisition module 630, and a speed adjustment module 640, wherein:
[0115] The instantaneous power acquisition module 610 is used to acquire the instantaneous power of the compressor when the compressor of the vehicle refrigerator is powered on and started.
[0116] The speed control module 620 is used to control the compressor to run at a preset speed when the instantaneous power is not higher than a preset first power threshold.
[0117] The operating power acquisition module 630 is used to acquire the current operating power of the compressor and the duration of the current operating power.
[0118] The speed adjustment module 640 is used to adjust the compressor speed based on the current operating power and the duration of the current operating power.
[0119] In an exemplary embodiment, the speed adjustment module 640 is further configured to reduce the compressor speed when the current operating power is greater than or equal to a preset second power threshold and the duration of the current operating power is higher than a preset first duration threshold, so that the operating power acquisition module 630 performs the operation of acquiring the current operating power of the compressor and the duration of the current operating power again.
[0120] If the current operating power is less than or equal to the preset third power threshold and the duration of the current operating power is greater than the preset second duration threshold, the compressor speed is increased, so that the operating power acquisition module 630 performs the operation of acquiring the current operating power of the compressor and the duration of the current operating power again, until the current operating power is greater than the preset third power threshold and less than the preset second power threshold.
[0121] Among them, the preset first power threshold is greater than the preset second power threshold, the preset second power threshold is greater than the preset third power threshold, and the preset second duration threshold is greater than the preset first duration threshold.
[0122] In one embodiment, the speed control module 620 is also used to control the compressor to operate at a preset minimum operating speed.
[0123] The speed adjustment module 640 is also used to increase the compressor speed when the current operating power is less than or equal to a preset third power threshold and the duration of the current operating power is greater than a preset first duration threshold, so that the operating power acquisition module 630 performs the operation of acquiring the current operating power of the compressor and the duration of the current operating power again.
[0124] If the current operating power is greater than the preset second power threshold and the duration is greater than the preset second duration threshold, the compressor speed is reduced and the fan speed of the vehicle refrigerator is increased, so that the operating power acquisition module 630 performs the operation of acquiring the current operating power of the compressor and the duration of the current operating power again, until the current operating power is greater than the preset third power threshold and less than the preset second power threshold.
[0125] like Figure 7 As shown, in one embodiment, the device further includes a power threshold determination module 602, which is used to start the compressor, control the compressor to run continuously at a preset minimum operating speed for a preset time, obtain the current operating power of the compressor, and adjust the compressor speed and power threshold setting value based on the power difference between the current operating power and the preset maximum allowable power until the power difference is less than or equal to the preset power difference threshold, and determine the latest power threshold setting value as the power threshold.
[0126] In one embodiment, the power threshold determination module 602 is further configured to increase the compressor speed and increase the power threshold setting value when the current operating power is less than the preset maximum allowable power and the power difference between the current operating power and the maximum allowable power is greater than the preset power difference threshold value; and to decrease the compressor speed and decrease the power threshold setting value when the current operating power is greater than the preset maximum allowable power.
[0127] In one embodiment, the device further includes an anomaly handling module 650, which stops the operation of the compressor if the current operating power is greater than a preset maximum allowable power when the compressor is running at its lowest operating speed.
[0128] In one embodiment, the speed adjustment module 640 is further configured to, when the vehicle refrigerator has multiple compartments, if it is detected that the current operating power of the compressor exceeds a preset first power threshold when supplying cooling to one compartment, reduce the speed of the compressor and control the compressor to operate at the reduced speed to supply cooling to the compartment; or, control the compressor to operate at the reduced speed to supply cooling to multiple compartments.
[0129] In one embodiment, the device further includes:
[0130] The temperature acquisition module 660 is used to acquire the internal temperature and ambient temperature of the vehicle refrigerator.
[0131] The speed range determination module 662 is used to determine the compressor speed range based on the internal temperature and ambient temperature.
[0132] The speed adjustment module 640 is also used to adjust the compressor speed based on the speed range.
[0133] In one embodiment, the temperature acquisition module 660 is further configured to determine the temperature difference between each compartment and the total temperature difference to be adjusted, based on the set temperature of each compartment and the ambient temperature, when multiple compartments of the vehicle refrigerator need to be cooled.
[0134] The speed range determination module 662 is also used to determine a first candidate speed based on the temperature difference between each chamber and a preset first temperature range, determine a second candidate speed based on the total temperature difference and a preset second temperature range, and determine a target speed based on the first candidate speed and the second candidate speed; the speed adjustment module 640 is also used to control the compressor to run at the target speed to supply cooling to multiple chambers.
[0135] The various modules in the compressor control device of the aforementioned vehicle-mounted refrigerator 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.
[0136] like Figure 8As shown, in an exemplary embodiment, a vehicle-mounted refrigerator is provided. The vehicle-mounted refrigerator includes a refrigerator body (not shown), a compressor 810, a controller 820, and a memory 830, wherein the compressor and the memory are respectively connected to the controller. The refrigerator body is the basic structure of the entire system, including an insulation layer, a door, and internal compartments, used for storing items. The compressor is connected to the controller, receives instructions from the controller, and adjusts its speed and operating status. The memory stores a computer program; when the controller executes the computer program, it implements the steps in any of the above embodiments of the vehicle-mounted refrigerator compressor control method, controlling the compressor speed. It is understood that, in addition to the modules listed above, the vehicle-mounted refrigerator may have other modules and components, which are not specifically limited here.
[0137] Those skilled in the art will understand that Figure 8 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.
[0138] In one exemplary 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 implement the steps in any of the above embodiments of the compressor control method for a vehicle-mounted refrigerator.
[0139] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in any of the above embodiments of the compressor control method for a vehicle-mounted refrigerator.
[0140] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in any of the above embodiments of the compressor control method for a vehicle-mounted refrigerator.
[0141] It should be noted that the data involved in this application (including but not limited to data used for analysis, data stored, data displayed, etc.) 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 must comply with relevant regulations.
[0142] 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 memory 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, artificial intelligence (AI) processors, etc., and are not limited to these.
[0143] 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 application.
[0144] 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 of controlling a compressor of a vehicle refrigerator, characterized by, The method comprises: When the compressor of the vehicle refrigerator is powered on and started, the instantaneous power of the compressor is acquired; In the case that the instantaneous power is not higher than a preset first power threshold, the compressor is controlled to operate at a preset rotating speed; The current operating power of the compressor and the duration of the current operating power are acquired; Based on the current operating power and the duration of the current operating power, the rotating speed of the compressor is adjusted.
2. The method of claim 1, wherein, The adjustment of the rotating speed of the compressor based on the current operating power and the duration of the current operating power comprises: In the case that the current operating power is greater than or equal to a preset second power threshold and the duration is higher than a preset first duration threshold, the rotating speed of the compressor is reduced. The preset first power threshold is greater than the preset second power threshold.
3. The method of claim 2, wherein, The adjustment of the rotating speed of the compressor based on the current operating power and the duration of the current operating power comprises: In the case that the current operating power is less than or equal to a preset third power threshold and the duration of the current operating power is greater than a preset second duration threshold, the rotating speed of the compressor is increased until the current operating power is greater than the preset third power threshold and less than the preset second power threshold. The preset second power threshold is greater than the preset third power threshold, and the preset second duration threshold is greater than the preset first duration threshold.
4. The method of claim 3, wherein, The first power threshold, the second power threshold or the third power threshold is determined based on the following manner: An power threshold setting value is acquired; The compressor is started, and the compressor is controlled to operate at a preset minimum operating rotating speed for a preset duration; The current operating power of the compressor is acquired; Based on the power difference between the current operating power and a preset maximum allowable power, the rotating speed of the compressor and the power threshold setting value are adjusted until the power difference is less than or equal to a preset power difference threshold, and the current latest power threshold setting value is determined as the power threshold.
5. The method of claim 4, wherein, The adjustment of the rotating speed of the compressor based on the power difference between the current operating power and a preset maximum allowable power comprises: In the case that the current operating power is less than the preset maximum allowable power and the power difference with the maximum allowable power is greater than the preset power difference threshold, the rotating speed of the compressor is increased, and the power threshold setting value is increased. In the case that the current operating power is greater than the preset maximum allowable power, the rotating speed of the compressor is reduced, and the power threshold setting value is reduced.
6. The method of claim 5, wherein, The method further comprises: In the case that the compressor operates at the preset minimum operating rotating speed, if the current operating power is greater than the preset maximum allowable power, the operation of the compressor is stopped.
7. The method according to any one of claims 1 to 6, characterized in that, The method further comprises: In the case that the vehicle refrigerator has multiple boxes, if it is detected that the compressor supplies cooling to one box and the current operating power exceeds the preset first power threshold, the rotating speed of the compressor is reduced, and the compressor is controlled to operate at the reduced rotating speed to supply cooling to the box. Alternatively, the compressor is controlled to operate at a reduced speed to supply cooling to the plurality of compartments.
8. The method according to any one of claims 1 to 6, characterized in that, The method further comprises: In a case where the plurality of compartments of the vehicle-mounted refrigerator need to be refrigerated, based on the set temperature and the ambient temperature of each compartment, a temperature difference of each compartment and a total temperature difference to be adjusted are determined; According to the temperature difference of each compartment and a preset first temperature interval, a first candidate speed is determined; According to the total temperature difference and a preset second temperature interval, a second candidate speed is determined; Based on the first candidate speed and the second candidate speed, a target speed is determined; The compressor is controlled to operate at the target speed to supply cooling to the plurality of compartments.
9. The method according to any one of claims 1 to 6, characterized in that, The method further comprises: An in-compartment temperature and an ambient temperature of the vehicle-mounted refrigerator are obtained; According to the in-compartment temperature and the ambient temperature, a speed gear of the compressor is determined; Based on the speed gear, the speed of the compressor is adjusted.
10. A vehicle-mounted refrigerator comprising a refrigerator body, a compressor, a memory and a controller, the compressor and the memory being connected with the controller respectively, the memory storing a computer program, characterized in that, The controller, when executing the computer program, implements the steps of the compressor control method of the vehicle-mounted refrigerator according to any one of claims 1 to 9.