Compressor control method and device, electronic equipment and storage medium

By dynamically controlling the motor winding temperature and speed in the compressor, the liquid refrigerant is evaporated into a gaseous state, which solves the problem of liquid refrigerant accumulation in the compressor in ultra-low temperature environments and ensures the normal operation of the compressor and the stability of the heat pump system.

CN118602631APending Publication Date: 2024-09-06CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410862867.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

In ultra-low temperature environments, a large amount of liquid refrigerant accumulates inside the compressor, causing the compressor to be unable to compress normally and affecting the stable operation of the heat pump system.

Method used

By obtaining the ambient temperature of the compressor, the startup heat engine mode is determined, and the motor winding temperature is dynamically adjusted. The heating and rotation of the motor are used to evaporate the liquid refrigerant into gaseous refrigerant, ensuring normal compression of the compressor.

Benefits of technology

It achieves reliable and efficient operation of the compressor in ultra-low temperature environments, prevents mechanical failures caused by accumulation of liquid refrigerant, and improves the stability and safety of the heat pump system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118602631A
    Figure CN118602631A
Patent Text Reader

Abstract

The invention provides a compressor control method and device, electronic equipment and a storage medium, and the method comprises the steps that the environment temperature of a compressor is obtained, the environment temperature is adopted to determine a heat engine mode for starting the compressor, the first current and the second current of a motor corresponding to the compressor are determined, and the first current and the second current are adopted to heat the motor, monitoring the temperature of the motor winding, dynamically adjusting the first current and the second current according to the temperature of the motor winding, and controlling the compressor to rotate according to a preset rotating speed; wherein a liquid refrigerant of the compressor is thrown to the motor winding through rotation of the compressor and evaporated into a gaseous refrigerant, and when it is detected that the temperature of the motor winding reaches the preset protection temperature, the compressor is controlled to exit the heat engine mode. Heating of the motor winding is accurately controlled, the temperature of the local motor winding is prevented from being too high, liquid refrigerants accumulated in the compressor are rapidly and efficiently converted into compressible gaseous refrigerants, the safety and reliability of the compressor are improved, and stable work of a heat pump system is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of compressors, and in particular to a compressor control method, device, electronic equipment and storage medium. Background Art

[0002] The heat pump system is a device that efficiently utilizes energy. It can provide heating in winter and cooling in summer. The compressor is one of the core components of the heat pump system or air-conditioning system. It is used to compress and transport gaseous refrigerant. Its working principle is to increase the pressure and temperature of the refrigerant so that it can circulate in the system and perform a heat exchange process. Specifically, the compressor compresses the refrigerant into a high-pressure, high-temperature gas and transports it to the condenser of the heat pump system. The refrigerant releases heat into the indoor air and cools itself into a liquid. The liquid refrigerant enters the evaporator after being reduced in pressure by the expansion valve, absorbs heat from the outdoor environment and evaporates into a gas, which is then sucked into the compressor again to achieve temperature regulation inside the vehicle.

[0003] At present, heat pump systems are constantly trying to adapt to ultra-low ambient temperatures. In ultra-low temperature environments, the evaporator's ability to absorb heat from the external environment decreases, the refrigerant does not evaporate completely in the evaporator, and some of the refrigerant may flow back into the compressor in liquid form. A large amount of liquid refrigerant will accumulate inside the compressor. Since the refrigerant is in liquid form and cannot be compressed, a large amount of liquid refrigerant will cause abnormal noise when the compressor starts. The motor requires more power to try to compress the incompressible liquid, which causes the motor to overcurrent. Starting the compressor for a long time or frequently in the presence of liquid refrigerant may even cause mechanical failures such as damage to the vortex structure inside the compressor. In short, a large amount of liquid refrigerant accumulated inside the compressor in an ultra-low temperature environment causes the compressor to be unable to compress normally, thereby affecting the stable operation of the heat pump system. Summary of the invention

[0004] In view of this, the present invention aims to propose a compressor control method, device, electronic equipment and storage medium to solve the problem that the compressor cannot compress normally due to a large amount of liquid refrigerant accumulated inside the compressor in an ultra-low temperature environment, and to achieve reliable and efficient compressor thermal engine control.

[0005] According to a first aspect of the present invention, a compressor control method is provided, the method comprising:

[0006] Acquiring the ambient temperature of the compressor, and using the ambient temperature to determine a warm-up mode for starting the compressor;

[0007] Determine a first current and a second current of a motor corresponding to the compressor, heat the motor using the first current and the second current, and monitor the motor winding temperature;

[0008] Dynamically adjusting the first current and the second current according to the temperature of the motor winding, and controlling the compressor to rotate at a preset speed; wherein the liquid refrigerant of the compressor is thrown toward the motor winding through the rotation of the compressor and evaporates into a gaseous refrigerant;

[0009] When it is detected that the motor winding temperature reaches a preset protection temperature, the compressor is controlled to exit the heat engine mode.

[0010] Optionally, acquiring the ambient temperature of the compressor and using the ambient temperature to determine a warm-up mode for starting the compressor includes:

[0011] A temperature sensor is used to obtain the ambient temperature of the compressor;

[0012] If the ambient temperature is less than or equal to a preset temperature value, sending a heat engine function request to the compressor;

[0013] In response to a heat engine function request, control activates a heat engine mode of the compressor.

[0014] Optionally, determining a first current and a second current of a motor corresponding to the compressor, heating the motor by using the first current and the second current, and monitoring a motor winding temperature includes:

[0015] Pre-acquiring a target heat quantity of the compressor heat engine;

[0016] Determine a first current and a second current of the motor corresponding to the compressor according to the target heat; wherein the first current and the second current are used to drive the motor winding to generate heat;

[0017] The motor is heated by using the first current and the second current, and the motor winding temperature is monitored by using a temperature sensor.

[0018] Optionally, determining the first current and the second current of the motor corresponding to the compressor according to the target heat comprises:

[0019] Get the electrical parameters of the motor corresponding to the compressor;

[0020] Using the target heat and the electrical parameters, generating a three-phase current of the motor in a three-phase stationary coordinate system;

[0021] The three-phase current is converted into a coordinate system to generate a current in a two-phase rotating coordinate system, and the first current and the second current of the motor are determined.

[0022] Optionally, dynamically adjusting the first current and the second current according to the motor winding temperature, and controlling the compressor to rotate at a preset speed, includes:

[0023] When the motor winding temperature is lower than a preset limit temperature, a proportional-integral algorithm is used to dynamically adjust the first current and the second current;

[0024] heating the motor using the adjusted first current and second current;

[0025] The compressor is controlled to rotate at a preset speed.

[0026] Optionally, after detecting that the motor winding temperature reaches a preset protection temperature and controlling the compressor to exit the heat engine mode, the method further includes:

[0027] Monitoring the evaporation state of the liquid refrigerant in the compressor to determine the completion of the warm-up of the compressor;

[0028] The completion status of the compressor warm-up is reported to the vehicle controller.

[0029] Optionally, before obtaining the ambient temperature of the compressor and using the ambient temperature to determine whether to start a warm-up mode of the compressor, the method further includes:

[0030] Receives a request for air conditioning or battery heating from a vehicle controller.

[0031] According to a second aspect of the present invention, there is provided a compressor control device, the device comprising:

[0032] A temperature acquisition module is used to acquire the ambient temperature of the compressor, and use the ambient temperature to determine a warm-up mode for starting the compressor;

[0033] a motor heating module, used for determining a first current and a second current of a motor corresponding to the compressor, heating the motor by using the first current and the second current, and monitoring a motor winding temperature;

[0034] A first control module, used for dynamically adjusting the first current and the second current according to the temperature of the motor winding, and controlling the compressor to rotate at a preset speed; wherein the liquid refrigerant of the compressor is thrown toward the motor winding through the rotation of the compressor and evaporated into a gaseous refrigerant;

[0035] The second control module is used to detect that the temperature of the motor winding reaches a preset protection temperature and control the compressor to exit the heating mode.

[0036] According to another aspect of the present invention, there is also provided an electronic device, comprising:

[0037] processor;

[0038] a memory for storing instructions executable by the processor;

[0039] Wherein, the processor is configured to execute the instructions to implement the compressor control method as described above.

[0040] According to another aspect of the present invention, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the compressor control method described above are implemented.

[0041] The compressor control method provided by the embodiment of the present invention obtains the ambient temperature of the compressor, uses the ambient temperature to determine the heat engine mode for starting the compressor, determines the first current and the second current of the motor corresponding to the compressor, uses the first current and the second current to heat the motor, monitors the motor winding temperature, dynamically adjusts the first current and the second current according to the motor winding temperature, and controls the compressor to rotate at a preset speed; wherein the liquid refrigerant of the compressor is thrown toward the motor winding through the rotation of the compressor and evaporates into gaseous refrigerant, detects that the motor winding temperature reaches the preset protection temperature, and controls the compressor to exit the heat engine mode. The present invention heats the motor corresponding to the compressor by dynamically controlling the motor current. The temperature of the motor winding increases to generate heat, and the motor is heated while driving the compressor to rotate, so that the liquid refrigerant stored in the low position of the compressor is thrown toward the motor winding as the compressor rotates. The liquid refrigerant absorbs the heat of the motor winding and can evaporate into gaseous refrigerant, thereby ensuring normal compression after the compressor is heated up. By accurately controlling the heating of the motor winding, the liquid refrigerant in the low position of the compressor is thrown toward the winding located at the upper part of the motor, ensuring that the temperature of the winding is evenly distributed, thereby preventing the local motor winding temperature from being too high, and avoiding the problem that the compressor cannot be started normally due to a large amount of liquid refrigerant stored at ultra-low temperature, thereby realizing the rapid and efficient conversion of the liquid refrigerant stored in the compressor into a compressible gaseous refrigerant, thereby improving the safety and reliability of the compressor, and further ensuring the stable operation of the heat pump system.

[0042] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0044] Figure 1 is a flow chart of steps of a compressor control method provided by an embodiment of the present invention;

[0045] Figure 2 yes Figure 1 A flowchart of step 101 in the compressor control method provided by an embodiment of the present invention;

[0046] Figure 3 yes Figure 1 A flowchart of step 102 in the compressor control method provided by an embodiment of the present invention;

[0047] Figure 4 yes Figure 1 A flowchart of step 103 in the compressor control method provided by an embodiment of the present invention;

[0048] Figure 5 is a flowchart of another compressor control method provided by an embodiment of the present invention;

[0049] Figure 6 is a flow chart of a compressor control method provided by an embodiment of the present invention;

[0050] Figure 7 is a structural schematic diagram of a compressor control device provided by an embodiment of the present invention;

[0051] Figure 8 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0052] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other without contradiction.

[0053] Reference Figure 1 , shows a flow chart of the steps of a compressor control method provided by an embodiment of the present invention, and the method may include:

[0054] Step 101, obtaining the ambient temperature of the compressor, and using the ambient temperature to determine a warm-up mode for starting the compressor.

[0055] In an embodiment of the present invention, in order to solve the problem that the compressor cannot compress normally due to a large amount of liquid refrigerant accumulated inside the compressor in an ultra-low temperature environment, this embodiment monitors and determines the ambient temperature of the compressor, and uses thermal engine control to start the compressor in an ultra-low temperature environment to heat the motor winding. The increased temperature of the motor winding generates heat, and the compressor is driven to rotate while the motor is heated, so that the liquid refrigerant accumulated at a low level in the compressor is thrown toward the motor winding as the compressor rotates. The liquid refrigerant absorbs the heat of the motor winding and can evaporate into gaseous refrigerant, thereby ensuring normal compression of the compressor after the compressor is heated.

[0056] It should be noted that in cold areas, the temperature may drop to very low levels in winter. In order to keep the car warm and comfortable, the heat pump system needs to be able to continue to provide heating under these extreme low temperature conditions. In this embodiment, the ultra-low temperature environment needs to be selected according to the actual vehicle calibration, generally between -30°C and -10°C. This embodiment uses the compressor controller in the vehicle to perform thermal engine control on the compressor, wherein the compressor controller communicates with the vehicle controller and can receive the heating demand issued by the vehicle controller, which will not be elaborated here.

[0057] Specifically, in this embodiment, the compressor controller obtains the ambient temperature of the compressor through a temperature sensor, and uses the ambient temperature to determine the warm-up mode for starting the compressor. Specifically, the temperature sensor is used to obtain the ambient temperature of the compressor for ultra-low temperature environment judgment. If the ambient temperature is less than or equal to the preset low temperature value, a warm-up function request is sent to the compressor. In response to the warm-up function request, the compressor controller controls the warm-up mode for starting the compressor.

[0058] It should be noted that the compressor controller first obtains the ambient temperature of the compressor through a built-in temperature sensor or an external temperature monitoring device. The ambient temperature is a key parameter that determines whether to start the compressor heat engine function. A threshold temperature can be preset inside the compressor controller. The threshold temperature is set according to the system design and operating conditions to ensure that when the ambient temperature is lower than or equal to, the compressor can safely and effectively start the heat engine mode. The compressor controller can send a heat engine function request signal to the compressor. The heat engine function request includes parameters for starting the heat engine mode, such as start time, heating target temperature, current setting, etc., which will not be repeated here.

[0059] Step 102, determining a first current and a second current of a motor corresponding to the compressor, heating the motor using the first current and the second current, and monitoring the motor winding temperature.

[0060] In an embodiment of the present invention, the compressor controller calculates the first current and the second current required for heating the motor according to a preset algorithm, wherein the first current and the second current refer to the d-axis current and the q-axis current of the compressor motor, respectively, and provides the above currents to the motor to heat the motor so that the motor winding generates heat, thereby preheating the compressor and ensuring that it can start and work normally in a low temperature environment. In the air conditioning or battery heating system, in order to ensure that the motor winding temperature does not exceed the safety limit during the heating process, thereby protecting the motor from damage, the compressor controller also uses a temperature sensor to monitor the motor winding temperature.

[0061] It should be noted that in motor control, the d-axis current (id) and the q-axis current (iq) are two key parameters in vector control (or field oriented control, FOC). This control method allows the motor to operate with high efficiency and can accurately control the torque and speed of the motor. In air conditioning or battery heating systems, the heat generated by the motor windings can be controlled by adjusting the d-axis and q-axis currents. This embodiment does not specifically limit this.

[0062] Specifically, the first current and the second current of the motor corresponding to the compressor can be determined by obtaining the target heat of the compressor heat engine in advance, determining the first current and the second current of the motor corresponding to the compressor according to the target heat, heating the motor with the first current and the second current, and monitoring the motor winding temperature with a temperature sensor. The process of the compressor controller calculating and determining the first current and the second current of the motor to be heated will not be repeated here.

[0063] In this embodiment, the compressor controller first calculates the required d-axis current id1 and q-axis current iq1 according to a preset algorithm. The d-axis current id1 and q-axis current iq1 can be determined according to the design parameters of the motor, the ambient temperature, and the requirements of the thermal engine mode. By providing the d-axis current id1 and the q-axis current iq1 to the motor, the compressor controller can accurately control the heat generated by the motor winding to meet the preheating requirements of the compressor in a low-temperature environment. The compressor controller provides the calculated d-axis current id1 and q-axis current iq1 to the motor, and the motor winding begins to generate heat. By increasing the temperature of the motor winding, it is ensured that the compressor can start and work normally in a low-temperature environment.

[0064] Step 103, dynamically adjusting the first current and the second current according to the temperature of the motor winding, and controlling the compressor to rotate at a preset speed; wherein the liquid refrigerant of the compressor is thrown toward the motor winding through the rotation of the compressor and evaporates into a gaseous refrigerant.

[0065] In an embodiment of the present invention, the compressor controller monitors the motor winding temperature during the motor heating process, dynamically adjusts the first current and the second current according to the motor winding temperature, and at the same time controls the compressor to rotate at a preset speed, wherein the preset speed is determined based on the actual needs of the compressor in the vehicle and the motor specifications, and is not specifically limited here. While the motor winding is heated, the compressor is driven to rotate so that the liquid refrigerant of the compressor is thrown toward the motor winding through the rotation of the compressor and evaporates into gaseous refrigerant, thereby achieving rapid conversion of liquid refrigerant and avoiding excessive local temperature of the motor winding.

[0066] Specifically, the temperature sensor installed on the motor winding monitors the real-time temperature of the motor winding, and the compressor controller compares the motor winding temperature with the preset limit temperature. If the motor winding temperature is lower than the preset limit temperature, the compressor controller will continue to maintain or adjust the current output to ensure that the motor winding temperature reaches or exceeds the preset limit temperature. If the winding temperature is lower than the preset limit temperature, the controller will dynamically adjust the d-axis current id1 and the q-axis current iq1 to increase the heat generated by the motor winding. The adjustment in this embodiment may include increasing the current or changing the current waveform to more effectively increase the motor winding temperature. If the motor winding temperature reaches or exceeds the preset limit temperature, the compressor controller will stop increasing the current to prevent the winding from overheating. At the same time, the compressor controller will continue to monitor the winding temperature to ensure that it is within a safe range.

[0067] Step 104 , when it is detected that the motor winding temperature reaches a preset protection temperature, the compressor is controlled to exit the heating mode.

[0068] In an embodiment of the present invention, the compressor controller detects that the motor winding temperature reaches a preset protection temperature and controls the compressor to exit the heat engine mode. Specifically, if the motor winding temperature reaches or exceeds the preset protection temperature, the compressor controller will stop increasing the current and control the compressor to exit the heat engine mode to prevent the motor winding from overheating. At the same time, the compressor controller will continue to monitor the winding temperature to ensure that it is within a safe range.

[0069] The compressor control method provided by the embodiment of the present invention obtains the ambient temperature of the compressor, uses the ambient temperature to determine the heat engine mode for starting the compressor, determines the first current and the second current of the motor corresponding to the compressor, uses the first current and the second current to heat the motor, monitors the motor winding temperature, dynamically adjusts the first current and the second current according to the motor winding temperature, and controls the compressor to rotate at a preset speed; wherein the liquid refrigerant of the compressor is thrown toward the motor winding through the rotation of the compressor and evaporates into gaseous refrigerant, detects that the motor winding temperature reaches the preset protection temperature, and controls the compressor to exit the heat engine mode. The present invention heats the motor corresponding to the compressor by dynamically controlling the motor current. The temperature of the motor winding increases to generate heat, and the motor is heated while driving the compressor to rotate, so that the liquid refrigerant stored in the low position of the compressor is thrown toward the motor winding as the compressor rotates. The liquid refrigerant absorbs the heat of the motor winding and can evaporate into gaseous refrigerant, thereby ensuring normal compression after the compressor is heated up. By accurately controlling the heating of the motor winding, the liquid refrigerant in the low position of the compressor is thrown toward the winding located at the upper part of the motor, ensuring that the temperature of the winding is evenly distributed, thereby preventing the local motor winding temperature from being too high, and avoiding the problem that the compressor cannot be started normally due to a large amount of liquid refrigerant stored at ultra-low temperature, thereby realizing the rapid and efficient conversion of the liquid refrigerant stored in the compressor into a compressible gaseous refrigerant, thereby improving the safety and reliability of the compressor, and further ensuring the stable operation of the heat pump system.

[0070] Further, see Figure 2 , showing Figure 1 A flowchart of step 101 in a compressor control method is provided, which is substantially the same as the compressor control method provided in the first embodiment of the present invention. Step 101 may include:

[0071] Step 201: Use a temperature sensor to obtain the ambient temperature of the compressor.

[0072] In an embodiment of the present invention, the compressor controller obtains the ambient temperature of the compressor through a temperature sensor. Specifically, the temperature sensor can be used to obtain the ambient temperature of the compressor to determine the ultra-low temperature environment. The ultra-low temperature environment needs to be calibrated according to the actual vehicle, generally at -30°C to -10°C.

[0073] Step 202: If the ambient temperature is less than or equal to a preset temperature value, a heat engine function request is sent to the compressor.

[0074] In an embodiment of the present invention, the controller first obtains the current ambient temperature of the compressor through a built-in temperature sensor or an external temperature sensor, and the compressor controller sends a heat engine function request to the compressor. The heat engine function request may include all instructions and parameters required to start the heat engine mode, such as start time, heating target temperature, current setting, etc.

[0075] Step 203 : in response to the request for the heating function, controlling to start the heating mode of the compressor.

[0076] In the embodiment of the present invention, after the compressor receives the thermal engine function request sent by the compressor controller, it prepares to start the thermal engine mode according to the received thermal engine function request, specifically including adjusting the control parameters of the compressor, such as current and speed.

[0077] The embodiment of the present invention monitors the ambient temperature of the compressor in real time through a temperature sensor, and automatically starts the heating mode when the ambient temperature is lower than or equal to a preset temperature value, thereby ensuring that the compressor starts under suitable temperature conditions (i.e., when the ambient temperature is low), facilitating preheating of the compressor in a low temperature environment, and realizing automatic heating of the compressor.

[0078] Further, see Figure 3 , showing Figure 1 A flowchart of step 102 in a compressor control method is provided, which is substantially the same as the compressor control method provided in the first embodiment of the present invention. Step 102 may include:

[0079] Step 301, pre-acquire the target heat of the compressor heat engine.

[0080] In an embodiment of the present invention, the compressor controller calculates the required d-axis current id1 and q-axis current iq1 according to a preset algorithm and the current system state, wherein the current value is determined according to the design parameters of the motor, the ambient temperature and the requirements of the thermal engine mode. The present embodiment can pre-acquire the target heat of the compressor thermal engine, and the target heat is the heat generated by the motor winding required for the compressor to evaporate the liquid refrigerant, which is specifically determined according to the current amount of liquid refrigerant in the compressor and is not specifically limited here.

[0081] Step 302 , determining a first current and a second current of a motor corresponding to the compressor according to a target heat quantity.

[0082] Wherein, the first current and the second current are used to drive the motor winding to generate heat;

[0083] In an embodiment of the present invention, the first current and the second current are used to drive the motor winding to generate heat, namely, the d-axis current id1 and the q-axis current iq1. The d-axis current id is parallel to the direction of the magnetic field and affects the magnetic flux of the motor. The d-axis current can be set to zero or close to zero to maximize the torque output of the motor; the q-axis current iq is perpendicular to the direction of the magnetic field and affects the torque output of the motor. By adjusting the q-axis current, the output torque of the motor can be controlled.

[0084] Specifically, in this embodiment, according to the target heat, the three-phase current of the motor in the three-phase stationary coordinate system can be generated, the three-phase current is converted into the coordinate system to generate the current in the two-phase rotating coordinate system, and the first current and the second current of the motor corresponding to the compressor are determined.

[0085] Step 303: Use the first current and the second current to heat the motor, and use a temperature sensor to monitor the temperature of the motor winding.

[0086] In an embodiment of the present invention, the first current and the second current are used to heat the motor, and a temperature sensor is used to monitor the temperature of the motor winding, wherein the NTC sensor installed on the motor winding can monitor the real-time temperature of the motor winding. The NTC sensor is a negative temperature coefficient thermistor, and its resistance value decreases with increasing temperature. By monitoring the change in resistance value, the motor winding temperature can be calculated, which is not described in detail in this embodiment.

[0087] The embodiment of the present invention achieves precise control of the motor heating process by determining the first current and the second current for motor heating, ensuring that the heating effect meets the thermal engine requirements. Accurate current control helps to avoid overheating of the compressor, and by monitoring the motor winding temperature, the motor heating status can be known in real time to prevent the motor winding from overheating and protect the motor from damage.

[0088] Specifically, step 302 determines the first current and the second current of the motor corresponding to the compressor according to the target heat, which may specifically include the following steps:

[0089] First, obtain the electrical parameters of the motor corresponding to the compressor;

[0090] Secondly, the target heat and the electrical parameters are used to generate a three-phase current of the motor in a three-phase stationary coordinate system;

[0091] Secondly, the three-phase current is converted into a coordinate system to generate a current in a two-phase rotating coordinate system, and the first current and the second current of the motor are determined.

[0092] It should be noted that in the above steps, the compressor controller first obtains the electrical parameters of the motor corresponding to the compressor, the electrical parameters include the resistance, inductance, rated voltage, rated current, etc. of the motor, and calculates the three-phase current (usually expressed as Ia, Ib, Ic) of the motor in a three-phase stationary coordinate system based on the predetermined target heat required by the compressor thermal engine and the target heat and the electrical parameters of the motor through the motor model and the control algorithm. These current values ​​will be used to drive the three-phase winding of the motor. The calculated three-phase current is converted into the current in a two-phase stationary coordinate system through the Clarke transformation, and then converted into the current in a two-phase rotating coordinate system (usually expressed as d, q) through the Park transformation. In the rotating coordinate system, the d-axis current id is related to the motor magnetic flux, and the q-axis current iq is related to the motor torque. In the two-phase rotating coordinate system, the first current id1 and the second current iq1 of the motor are determined. The first current id1 and the second current iq1 will be used to control the motor winding to generate the required heat. The compressor controller provides the corresponding current to the motor through the motor driver according to the determined first current and second current to achieve precise heating of the motor winding.

[0093] For example, in some embodiments, the compressor controller collects real-time operating data of the motor, including current, voltage, speed and position information, and calculates the d-axis and q-axis current reference values ​​under the current motor state according to the mathematical model of the motor and the collected data. The reference value is set according to the required motor performance (such as torque, speed or heat output). The compressor controller uses a PI (proportional-integral) control algorithm to compare the calculated current reference value with the actual measured value, and calculates the error. The required current control signal is calculated based on the error, and the signal is converted into actual d-axis and q-axis currents through power electronic equipment (such as an inverter) and applied to the motor windings.

[0094] The embodiment of the present invention can ensure that the heat generated by the motor winding meets the target heat requirement by accurately calculating and controlling the current of the motor, thereby improving the heating efficiency and accuracy, quickly achieving the purpose of compressor heating, and improving the performance of the air conditioning or battery heating system.

[0095] Further, see Figure 4 , showing Figure 1 A flowchart of step 103 in a compressor control method is provided, which is substantially the same as the compressor control method provided in the first embodiment of the present invention. Step 103 may include:

[0096] Step 401 : When the motor winding temperature is lower than a preset limit temperature, a proportional-integral algorithm is used to dynamically adjust the first current and the second current.

[0097] In an embodiment of the present invention, when the motor winding temperature is lower than a preset limit temperature, the compressor controller uses a proportional-integral (PI) controller, and adopts a proportional-integral algorithm to dynamically adjust the first current to the d-axis current id2 and the second current to the q-axis current iq2, respectively. The PI controller performs calculations based on the real-time temperature feedback of the motor winding and the preset target temperature to ensure that the winding temperature remains within a safe and effective range.

[0098] Step 402: Use the adjusted first current and second current to heat the motor.

[0099] Step 403, controlling the compressor to rotate at a preset speed.

[0100] In an embodiment of the present invention, a compressor controller drives the compressor to rotate at a preset speed, and the preset speed is not specifically limited. This embodiment is illustrated by taking rotation at a relatively low speed n1 as an example, wherein low-speed rotation helps to stir the liquid refrigerant through the rotation of the rotor, so that the liquid refrigerant can be evenly distributed and absorb the heat generated by the motor winding. The liquid refrigerant at the lower position of the compressor is thrown to the winding at the upper part of the motor, which can prevent the local winding temperature from being too high, and helps to protect the motor winding from damage caused by uneven temperature. The liquid refrigerant absorbs the heat of the motor winding and evaporates into a gaseous refrigerant, ensuring that the heat of the motor winding is effectively transferred to the refrigerant, thereby helping to maintain the temperature of the winding within a safe range.

[0101] The embodiment of the present invention accurately controls the temperature of the motor winding, ensures the safety and efficiency of the heating process, realizes heat exchange of liquid refrigerant through motor heating and compressor rotation, prevents the local winding temperature from being too high, solves the problem of large amounts of liquid refrigerant being stored, and further improves the stability of the heat pump system.

[0102] Reference Figure 5 , shows a flowchart of steps of another compressor control method provided by an embodiment of the present invention, which method is basically the same as the compressor control method provided by the first embodiment of the present invention, except that the method may further include:

[0103] Step 101, obtaining the ambient temperature of the compressor, and using the ambient temperature to determine a warm-up mode for starting the compressor.

[0104] Step 102, determining a first current and a second current of a motor corresponding to the compressor, heating the motor using the first current and the second current, and monitoring the motor winding temperature.

[0105] Step 103, dynamically adjusting the first current and the second current according to the temperature of the motor winding, and controlling the compressor to rotate at a preset speed; wherein the liquid refrigerant of the compressor is thrown toward the motor winding through the rotation of the compressor and evaporates into a gaseous refrigerant.

[0106] Step 104 , when it is detected that the motor winding temperature reaches a preset protection temperature, the compressor is controlled to exit the heating mode.

[0107] The above steps 101 to 104 are described in the foregoing description and will not be repeated here.

[0108] Step 105, monitoring the evaporation state of the liquid refrigerant in the compressor to determine the completion of the warm-up of the compressor.

[0109] In an embodiment of the present invention, the compressor controller can use sensors (such as pressure sensors, temperature sensors or flow sensors) to monitor the evaporation state of the liquid refrigerant in the compressor. These sensors can detect changes in the pressure, temperature or flow of the refrigerant, so as to determine whether the refrigerant has been fully evaporated. Based on the monitored evaporation state data, the compressor controller will determine whether the heat engine has been completed. For example, when the pressure and temperature of the refrigerant reach preset thresholds, or the refrigerant flow rate is stable within a certain range, the controller can determine that the heat engine process has been completed and determine the completion status of the compressor's heat engine.

[0110] Step 106 , reporting the completion status of the compressor warm-up to the vehicle controller.

[0111] In an embodiment of the present invention, after determining that the compressor has completed warming up, the compressor controller reports the compressor warming up completion status to the vehicle controller through the vehicle network. The warming up completion status includes the time of warming up completion, the current refrigerant status, the operating parameters of the compressor, etc., so that after the vehicle controller receives the information on the completion of the warming up, it can adjust the relevant control strategies according to the overall operating status and needs of the vehicle, such as starting the air-conditioning system, adjusting the battery heating strategy, etc. This embodiment does not make any specific limitations on this.

[0112] On the basis of achieving the beneficial effects of the first embodiment, the embodiment of the present invention determines the completion status of the compressor's heat-up by monitoring the evaporation state of the liquid refrigerant in the compressor, and reports the completion status of the compressor's heat-up to the vehicle controller. By precisely controlling the heat-up process, unnecessary energy consumption can be reduced, and operating costs can be reduced. The real-time monitoring and timely response mechanism improves the reliability and stability of the system.

[0113] Specifically, step 101 obtains the ambient temperature of the compressor, and before using the ambient temperature to determine the warm-up mode for starting the compressor, the following may also be included:

[0114] Receives a request for air conditioning or battery heating from a vehicle controller.

[0115] In an embodiment of the present invention, the vehicle controller sends a heating request for the air conditioning system or the battery system to the compressor controller, and the compressor controller receives the heating request for the air conditioning or the battery sent by the vehicle controller, so that the compressor controller responds to the heating request, obtains the current ambient temperature, and determines whether it is necessary to start the warm-up mode of the compressor.

[0116] In order to facilitate those skilled in the art to fully understand the above compressor control method, refer to Figure 6 , Figure 6 : is a flow chart of a compressor control method provided by an embodiment of the present invention, which shows the overall process of compressor control provided by an embodiment of the present invention, specifically including:

[0117] S501, determining whether the ambient temperature is less than or equal to a preset temperature value;

[0118] In this embodiment, the compressor controller obtains the ambient temperature of the compressor through the temperature sensor, determines whether the ambient temperature is less than or equal to the preset temperature value, and realizes an ultra-low temperature environment. If the ambient temperature is less than or equal to the preset low temperature value, it enters step 502 and sends a heat engine function request to the compressor so that the compressor controller controls the start-up of the heat engine mode of the compressor. Otherwise, the heat engine function is not started.

[0119] S502, the compressor controller sends a heat engine function request to the compressor;

[0120] S503, heating the motor using the first current and the second current;

[0121] This embodiment determines the first current and the second current input to the motor, and uses the first current and the second current to heat the motor, thereby achieving precise control of the motor heating process and ensuring that the heating effect meets the thermal engine requirements. Precise current control helps to avoid overheating of the compressor.

[0122] S504, determining whether the motor winding temperature is less than a preset limit temperature;

[0123] Specifically, the compressor controller compares the motor winding temperature with the preset limit temperature. If the motor winding temperature is less than the preset limit temperature, the process proceeds to step 505, and the compressor controller continues to maintain or adjust the current output to ensure that the motor winding temperature reaches or exceeds the preset limit temperature. If the motor winding temperature reaches or exceeds the preset limit temperature, the process proceeds to step 507, and the compressor controller stops increasing the current to prevent the winding from overheating.

[0124] S505, using the adjusted first current and second current to heat the motor, and controlling the compressor to rotate at a preset speed;

[0125] In this embodiment, when the motor winding temperature is lower than the preset limit temperature, the compressor controller uses a proportional-integral algorithm to dynamically adjust the first current to the d-axis current id2 and the second current to the q-axis current iq2, respectively, to ensure that the winding temperature remains within a safe and effective range, and controls the compressor to rotate at a preset speed. The liquid refrigerant is stirred by the rotation of the rotor, so that the liquid refrigerant can be evenly distributed and absorb the heat generated by the motor winding. The liquid refrigerant at the lower position of the compressor is thrown to the winding at the upper part of the motor, which can prevent the local winding temperature from being too high, help protect the motor winding, and avoid damage caused by uneven temperature. The liquid refrigerant absorbs the heat of the motor winding and evaporates into a gaseous refrigerant, ensuring that the heat of the motor winding is effectively transferred to the refrigerant, thereby helping to maintain the temperature of the winding within a safe range.

[0126] S506, determining whether the motor winding temperature is lower than a preset protection temperature;

[0127] In this embodiment, if the motor winding temperature is lower than the preset protection temperature, the motor can continue to be heated; otherwise, the process proceeds to step 507 and the compressor exits the heating mode.

[0128] S507, the compressor exits the warm-up mode.

[0129] The embodiment of the present invention heats the motor corresponding to the compressor by dynamically controlling the motor current. The temperature of the motor winding increases to generate heat, and the motor is heated while driving the compressor to rotate, so that the liquid refrigerant stored in the low position of the compressor is thrown toward the motor winding as the compressor rotates. The liquid refrigerant absorbs the heat of the motor winding and evaporates into gaseous refrigerant, ensuring normal compression after the compressor is heated up; by precisely controlling the heating of the motor winding, the liquid refrigerant in the low position of the compressor is thrown toward the winding located at the upper part of the motor to ensure that the winding temperature is evenly distributed, which prevents the local motor winding temperature from being too high and avoids the problem of the compressor being unable to start normally due to the large amount of liquid refrigerant stored at ultra-low temperature. The liquid refrigerant stored in the compressor is quickly and efficiently converted into compressible gaseous refrigerant, thereby improving the safety and reliability of the compressor and further ensuring the stable operation of the heat pump system.

[0130] Reference Figure 7 , shows a schematic structural diagram of a compressor control device provided by an embodiment of the present invention, the device comprising:

[0131] A temperature acquisition module 601 is used to acquire the ambient temperature of the compressor, and use the ambient temperature to determine a warm-up mode for starting the compressor;

[0132] A motor heating module 602, used to determine a first current and a second current of a motor corresponding to the compressor, heat the motor using the first current and the second current, and monitor the motor winding temperature;

[0133] The first control module 603 is used to dynamically adjust the first current and the second current according to the temperature of the motor winding, and control the compressor to rotate at a preset speed; wherein the liquid refrigerant of the compressor is thrown toward the motor winding through the rotation of the compressor and evaporates into a gaseous refrigerant;

[0134] The second control module 604 is used to detect that the temperature of the motor winding reaches a preset protection temperature and control the compressor to exit the heating mode.

[0135] Furthermore, the temperature acquisition module 601 includes:

[0136] A first acquisition submodule is used to acquire the ambient temperature of the compressor using a temperature sensor;

[0137] A sending submodule, configured to send a heat engine function request to the compressor if the ambient temperature is less than or equal to a preset temperature value;

[0138] The response submodule is used to control the start-up of the heat engine mode of the compressor in response to the heat engine function request.

[0139] Furthermore, the motor heating module 602 includes:

[0140] A second acquisition submodule is used to pre-acquire a target heat quantity of the compressor heat engine;

[0141] A determination submodule, configured to determine a first current and a second current of the motor corresponding to the compressor according to the target heat; wherein the first current and the second current are used to drive the motor winding to generate heat;

[0142] The first heating submodule is used to heat the motor using the first current and the second current, and to monitor the motor winding temperature using a temperature sensor.

[0143] Furthermore, the determining submodule includes:

[0144] An acquisition unit, used for acquiring electrical parameters of a motor corresponding to the compressor;

[0145] A generating unit, configured to generate a three-phase current of the motor in a three-phase stationary coordinate system by using the target heat and the electrical parameters;

[0146] The determination unit is used to perform coordinate system conversion on the three-phase current to generate a current in a two-phase rotating coordinate system, and determine the first current and the second current of the motor.

[0147] Furthermore, the first control module 603 includes:

[0148] an adjustment submodule, configured to dynamically adjust the first current and the second current by using a proportional-integral algorithm when the motor winding temperature is lower than a preset limit temperature;

[0149] a second heating submodule, configured to heat the motor using the adjusted first current and second current;

[0150] The first control submodule is used to control the compressor to rotate at a preset speed; wherein the liquid refrigerant of the compressor is thrown toward the motor winding through the rotation of the compressor and evaporates into a gaseous refrigerant.

[0151] Furthermore, the device also includes:

[0152] A heat engine monitoring module is used to monitor the evaporation state of the liquid refrigerant in the compressor and determine the completion status of the heat engine of the compressor;

[0153] The result reporting module is used to report the completion status of the compressor's warm-up to the vehicle controller.

[0154] Furthermore, the device also includes:

[0155] The request receiving module is used to receive a heating request for the air conditioner or the battery sent by the vehicle controller.

[0156] The compressor control device provided by the embodiment of the present invention obtains the ambient temperature of the compressor, uses the ambient temperature to determine the heat-up mode for starting the compressor, determines the first current and the second current of the motor corresponding to the compressor, heats the motor with the first current and the second current, monitors the motor winding temperature, dynamically adjusts the first current and the second current according to the motor winding temperature, and controls the compressor to rotate at a preset speed; wherein the liquid refrigerant of the compressor is thrown toward the motor winding through the rotation of the compressor and evaporates into gaseous refrigerant, and when the motor winding temperature is detected to reach the preset protection temperature, the compressor is controlled to exit the heat-up mode. The present invention heats the motor corresponding to the compressor by dynamically controlling the motor current. The temperature of the motor winding increases to generate heat, and the motor is heated while driving the compressor to rotate, so that the liquid refrigerant stored in the low position of the compressor is thrown toward the motor winding as the compressor rotates. The liquid refrigerant absorbs the heat of the motor winding and can evaporate into gaseous refrigerant, thereby ensuring normal compression after the compressor is heated up. By accurately controlling the heating of the motor winding, the liquid refrigerant in the low position of the compressor is thrown toward the winding located at the upper part of the motor, ensuring that the temperature of the winding is evenly distributed, thereby preventing the local motor winding temperature from being too high, and avoiding the problem that the compressor cannot be started normally due to a large amount of liquid refrigerant stored at ultra-low temperature, thereby realizing the rapid and efficient conversion of the liquid refrigerant stored in the compressor into a compressible gaseous refrigerant, thereby improving the safety and reliability of the compressor, and further ensuring the stable operation of the heat pump system.

[0157] Reference Figure 8 , an embodiment of the present invention further provides an electronic device, such as Figure 8 As shown, it includes a processor 701, a communication interface 702, a memory 703 and a communication bus 704, wherein the processor 701, the communication interface 702, and the memory 703 communicate with each other through the communication bus 704.

[0158] Memory 703, used for storing computer programs;

[0159] The processor 701 is used to execute the program stored in the memory 703 to implement the following steps:

[0160] Acquiring the ambient temperature of the compressor, and using the ambient temperature to determine a warm-up mode for starting the compressor;

[0161] Determine a first current and a second current of a motor corresponding to the compressor, heat the motor using the first current and the second current, and monitor the motor winding temperature;

[0162] Dynamically adjusting the first current and the second current according to the temperature of the motor winding, and controlling the compressor to rotate at a preset speed; wherein the liquid refrigerant of the compressor is thrown toward the motor winding through the rotation of the compressor and evaporates into a gaseous refrigerant;

[0163] When it is detected that the motor winding temperature reaches a preset protection temperature, the compressor is controlled to exit the heat engine mode.

[0164] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0165] The communication interface is used for communication between the above terminal and other devices.

[0166] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0167] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0168] In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium stores instructions. When the instructions are executed on a computer, the computer executes the compressor control method described in any one of the above embodiments.

[0169] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0170] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0171] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0172] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A compressor control method, characterized in that: The method comprises: Acquiring the ambient temperature of the compressor, and using the ambient temperature to determine a warm-up mode for starting the compressor; Determine a first current and a second current of a motor corresponding to the compressor, heat the motor using the first current and the second current, and monitor the motor winding temperature; Dynamically adjusting the first current and the second current according to the temperature of the motor winding, and controlling the compressor to rotate at a preset speed; wherein the liquid refrigerant of the compressor is thrown toward the motor winding through the rotation of the compressor and evaporates into a gaseous refrigerant; When it is detected that the motor winding temperature reaches a preset protection temperature, the compressor is controlled to exit the heat engine mode.

2. The method according to claim 1, characterized in that: The step of obtaining the ambient temperature of the compressor and using the ambient temperature to determine a warm-up mode for starting the compressor includes: A temperature sensor is used to obtain the ambient temperature of the compressor; If the ambient temperature is less than or equal to a preset temperature value, sending a heat engine function request to the compressor; In response to a heat engine function request, control activates a heat engine mode of the compressor.

3. The method according to claim 1, characterized in that The determining of a first current and a second current of a motor corresponding to the compressor, heating the motor by using the first current and the second current, and monitoring the motor winding temperature includes: Pre-acquiring a target heat quantity of the compressor heat engine; Determine a first current and a second current of the motor corresponding to the compressor according to the target heat; wherein the first current and the second current are used to drive the motor winding to generate heat; The motor is heated by using the first current and the second current, and the motor winding temperature is monitored by using a temperature sensor.

4. The method according to claim 3, characterized in that The step of determining the first current and the second current of the motor corresponding to the compressor according to the target heat comprises: Get the electrical parameters of the motor corresponding to the compressor; Using the target heat and the electrical parameters, generating a three-phase current of the motor in a three-phase stationary coordinate system; The three-phase current is converted into a coordinate system to generate a current in a two-phase rotating coordinate system, and the first current and the second current of the motor are determined.

5. The method according to claim 1, characterized in that The dynamically adjusting the first current and the second current according to the motor winding temperature, and controlling the compressor to rotate at a preset speed, comprises: When the motor winding temperature is lower than a preset limit temperature, a proportional-integral algorithm is used to dynamically adjust the first current and the second current; heating the motor using the adjusted first current and second current; The compressor is controlled to rotate at a preset speed.

6. The method according to claim 1, characterized in that After detecting that the motor winding temperature reaches a preset protection temperature and controlling the compressor to exit the heat engine mode, the method further includes: Monitoring the evaporation state of the liquid refrigerant in the compressor to determine the completion of the warm-up of the compressor; The completion status of the compressor warm-up is reported to the vehicle controller.

7. The method according to claim 1, characterized in that Before obtaining the ambient temperature of the compressor and using the ambient temperature to determine the warm-up mode for starting the compressor, the method further includes: Receives a request for air conditioning or battery heating from a vehicle controller.

8. A compressor control device, characterized in that: The device comprises: A temperature acquisition module is used to acquire the ambient temperature of the compressor, and use the ambient temperature to determine a warm-up mode for starting the compressor; a motor heating module, used for determining a first current and a second current of a motor corresponding to the compressor, heating the motor by using the first current and the second current, and monitoring a motor winding temperature; A first control module, used for dynamically adjusting the first current and the second current according to the temperature of the motor winding, and controlling the compressor to rotate at a preset speed; wherein the liquid refrigerant of the compressor is thrown toward the motor winding through the rotation of the compressor and evaporated into a gaseous refrigerant; The second control module is used to detect that the temperature of the motor winding reaches a preset protection temperature and control the compressor to exit the heating mode.

9. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the instructions to implement the compressor control method according to any one of claims 1 to 7.

10. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the compressor control method according to any one of claims 1 to 7 is implemented.