Motor drive device and compressor

The motor drive device addresses inaccurate magnet temperature estimation by using specialized models to adjust current thresholds, effectively preventing demagnetization and maintaining stable motor operation.

JP7560774B2Active Publication Date: 2024-10-03DAIKIN INDUSTRIES LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2023030285
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-10-03
Estimated Expiration
2043-02-28

AI Technical Summary

Technical Problem

Existing motor drive devices inaccurately estimate magnet temperature, leading to large errors in overcurrent protection settings, which can cause demagnetization even when currents are below the set threshold, due to unstable operating conditions.

Method used

A motor drive device with a control unit that calculates an estimated magnet temperature using specialized models and adjusts current thresholds based on operating conditions, employing both corresponding and fixed thresholds to prevent demagnetization by reducing current when necessary.

Benefits of technology

Effectively suppresses demagnetization by accurately controlling current levels based on precise temperature estimation, ensuring stable motor operation and preventing irreversible magnetic force loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007560774000001
    Figure 0007560774000001
  • Figure 0007560774000002
    Figure 0007560774000002
  • Figure 0007560774000003
    Figure 0007560774000003
Patent Text Reader

Abstract

To enable effective suppression of an occurrence of demagnetization in a motor.SOLUTION: A motor driving device has a control unit (68) calculating an estimated temperature (TA) of a magnet. The control unit (68), when an operation condition of a motor (32) satisfies a predetermined operation condition and current flowing through the motor (32) exceeds a corresponding threshold value (UA), reduces current flowing through the motor (32), and when the operation condition of the motor (32) does not satisfy the predetermined operation condition and the current flowing through the motor (32) exceeds a fixed threshold value (UB), reduces the current flowing through the motor (32).SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a motor drive device and a compressor. [Background technology]

[0002] The motor drive device described in Patent Document 1 calculates the resistance value of the motor windings based on the voltage applied to the motor and the current flowing through the motor, estimates the temperature of the rotor magnet based on the resistance value of the windings and the temperature coefficient of the windings, sets the overcurrent protection setting value to be lower than the demagnetization current value at the estimated permanent magnet temperature based on the relationship between the demagnetization current value and the magnet temperature, and changes the overcurrent protection setting value in response to changes in the estimated permanent magnet temperature. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2013-255373 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, depending on the operating conditions of the motor, the accuracy of the estimated magnet temperature may decrease, which may cause a large error in the overcurrent protection setting value (threshold value).In this case, the overcurrent protection setting value may become far removed from the actual value, and the motor may be demagnetized even if the current flowing through the motor is below the overcurrent protection setting value.

[0005] An object of the present disclosure is to effectively suppress the occurrence of demagnetization in a motor. [Means for solving the problem]

[0006] A first aspect of the present disclosure is directed to a motor drive device. The motor drive device drives a motor (32) having a magnet that generates a magnetic field. The motor drive device includes a sensor (64) that detects a current flowing through the motor (32) and a control unit (68) that calculates an estimated temperature (TA) of the magnet, and the control unit (68) reduces the current flowing through the motor (32) when the operating conditions of the motor (32) satisfy a predetermined operating condition and the current flowing through the motor (32) exceeds a corresponding threshold (UA) that is a threshold corresponding to the estimated temperature (TA) of the magnet in threshold information (U) that associates a plurality of temperatures of the magnet with a plurality of thresholds, and reduces the current flowing through the motor (32) when the operating conditions of the motor (32) do not satisfy the predetermined operating condition and the current flowing through the motor (32) exceeds a fixed threshold (UB) that is a threshold corresponding to a preset temperature (TB) of the magnet in the threshold information (U).

[0007] In the first aspect, demagnetization of the motor (32) can be effectively prevented.

[0008] A second aspect of the present disclosure is the first aspect, wherein the magnet includes a rare earth magnet, and the predetermined temperature (TB) is a value equal to or greater than a maximum temperature within a temperature limit value of the motor (32) or a maximum temperature within an operating temperature range of the motor (32).

[0009] In the second aspect, even under unstable operating conditions (when specified operating conditions are not satisfied) in which the error in the estimated temperature (TA) of the magnet becomes large, the current of the motor (32) can be prevented from exceeding the minimum value of the demagnetization current.

[0010] A third aspect of the present disclosure is related to the first aspect, wherein the magnet includes a ferrite magnet, and the predetermined temperature (TB) is a value equal to or less than a minimum temperature in a temperature limit value of the motor (32) or a minimum temperature in an operating temperature range of the motor (32).

[0011] In the third aspect, even under unstable operating conditions (when specified operating conditions are not satisfied) in which the error in the estimated temperature (TA) of the magnet becomes large, the current of the motor (32) can be prevented from exceeding the minimum value of the demagnetization current.

[0012] A fourth aspect of the present disclosure is any one of the first to third aspects, wherein the predetermined operating condition includes a condition under which the rotation speed of the motor (32) is equal to or higher than a predetermined rotation speed.

[0013] In a fourth aspect, the upper limit of the current of the motor (32) to be set in order to prevent demagnetization can be a corresponding threshold value (UA) when the rotation speed of the motor (32) is equal to or greater than a predetermined rotation speed, and a fixed threshold value (UB) when the rotation speed of the motor (32) is smaller than the predetermined rotation speed.

[0014] A fifth aspect of the present disclosure is any one of the first to third aspects, wherein the predetermined operating condition includes a condition that a current flowing through the motor (32) is equal to or greater than a predetermined value.

[0015] In the fifth aspect, the upper limit of the current of the motor (32) to be set in order to prevent demagnetization can be set to a corresponding threshold value (UA) when the current flowing through the motor (32) is equal to or greater than a predetermined value, and a fixed threshold value (UB) when the current flowing through the motor (32) is smaller than the predetermined value.

[0016] A sixth aspect of the present disclosure is any one of the first to third aspects, wherein the specified operating condition includes a condition where the rotation speed of the motor (32) is equal to or greater than a predetermined rotation speed and a current flowing through the motor (32) is equal to or greater than a predetermined value.

[0017] In the sixth aspect, as an upper limit of the current of the motor (32) set to prevent demagnetization, a corresponding threshold value (UA) can be used when the rotation speed of the motor (32) is equal to or greater than a predetermined rotation speed and the current flowing through the motor (32) is equal to or greater than a predetermined value, and a fixed threshold value (UB) can be used when the rotation speed of the motor (32) is smaller than the predetermined rotation speed or the current flowing through the motor (32) is smaller than the predetermined value.

[0018] A seventh aspect of the present disclosure is the fifth or sixth aspect, wherein the specified value is the minimum value within the range of values ​​that the demagnetization current can take at the temperature limit value of the motor, and the demagnetization current value is a current value of the motor that reduces the magnetic force of the magnet.

[0019] According to the seventh aspect of the present disclosure, the predetermined value can be set to the minimum value within the range of values ​​that the demagnetizing current value can take at the temperature limit value.

[0020] An eighth aspect of the present disclosure is the fifth or sixth aspect, wherein the current compared with the predetermined value is a current value that has been filtered to prevent hunting.

[0021] In the eighth aspect, hunting can be suppressed to ensure stable operation of the motor drive device.

[0022] A ninth aspect of the present disclosure is the eighth aspect, wherein the filtering uses a low-pass filter set to a cutoff frequency that passes expected current changes and removes unexpected current changes.

[0023] In the ninth aspect, it is possible to suppress the occurrence of a time delay in the current detected by the sensor (64), so that the protection operation of the motor drive device (controlling the current flowing through the motor (32) so as not to exceed the corresponding threshold value (UA) or the fixed threshold value (UB)) can be effectively performed.

[0024] A tenth aspect of the present disclosure is any one of the first to ninth aspects, wherein the motor (32) drives the compressor (30), and the control unit (68) calculates an estimated temperature (TA) of the magnet based on the temperature of a discharge pipe (22) of the compressor (30) or an outer casing temperature of the compressor (30).

[0025] In the tenth aspect, the estimated temperature (TA) of the magnet can be calculated based on the temperature of the discharge pipe (22) of the compressor (30) or the outer shell temperature of the compressor (30).

[0026] An eleventh aspect of the present disclosure is any one of the first to tenth aspects, in which the control unit (68) reduces the current flowing through the motor (32) by stopping the supply of electricity to the motor (32).

[0027] In the eleventh aspect, the occurrence of demagnetization can be suppressed by stopping the motor (32).

[0028] A twelfth aspect of the present disclosure is any one of the first to eleventh aspects, in which the control unit (68) removes a noise signal from information indicating the current of the motor (32) to be compared with the corresponding threshold value (UA) or the fixed threshold value (UB).

[0029] In the twelfth aspect, the comparison between the corresponding threshold value (UA) or the fixed threshold value (UB) and the current of the motor (32) can be performed with high accuracy.

[0030] A thirteenth aspect of the present disclosure is the twelfth aspect, wherein the removal of the noise signal is performed by limiting the amount of change in the detection signal between samplings.

[0031] In the thirteenth aspect, it is possible to remove noise while suppressing a delay in detection of the current of the motor (32).

[0032] A fourteenth aspect of the present disclosure is any one of the first to thirteenth aspects, in which the control unit (68) reduces the current flowing through the motor (32) by reducing the current flowing through the motor (32) while maintaining a current flowing through the motor (32).

[0033] In the fourteenth aspect, by reducing the current flowing through the motor (32) while maintaining the motor (32) in a conducting state, it is possible to prevent demagnetization from occurring while maintaining the motor (32) in a rotating state.

[0034] A fifteenth aspect of the present disclosure is the fourteenth aspect, in which a filter is used to slow down the change in the calculated estimated temperature (TA) of the magnet compared to the response of reducing the rotational speed of the motor (32) by reducing the current.

[0035] In the fifteenth aspect, it is possible to effectively prevent the current of the motor (32) from exceeding the minimum value of the demagnetization current.

[0036] A sixteenth aspect of the present disclosure is any one of the first to fifteenth aspects, wherein the threshold information (U) includes first threshold information (U1) and second threshold information (U2) that sets a threshold lower than the first threshold information (U1), and the thresholds include the corresponding thresholds (UA1, UA2) and the fixed thresholds (UB1, UB2), and when the current flowing through the motor (32) exceeds the thresholds (UA1, UB1) set based on the first threshold information (U1), the control unit (68) stops the supply of current to the motor (32), and when the current flowing through the motor (32) exceeds the thresholds (UA2, UB2) set based on the second threshold information (U2), the control unit (68) reduces the current being supplied to the motor (32) while maintaining the motor (32) in a powered state.

[0037] In the sixteenth aspect, the current of the motor (32) can be gradually prevented from exceeding the demagnetization current by using a configuration in which the rotational speed of the motor (32) is reduced by reducing the current while maintaining a state in which the current is flowing through the motor (32), and a configuration in which the current flowing through the motor (32) is stopped to stop the motor (32).

[0038] A seventeenth aspect of the present disclosure is directed to a compressor, the compressor including the motor drive device according to any one of the first to sixteenth aspects and the motor (32). [Brief description of the drawings]

[0039] [Figure 1] FIG. 1 is a schematic configuration diagram of a refrigeration device according to an embodiment. [Diagram 2] FIG. 2 is a vertical sectional view of the compressor according to the embodiment. [Diagram 3] FIG. 3 is a cross-sectional view illustrating the inside of the compression mechanism according to the embodiment. [Figure 4] FIG. 4 is a diagram showing the configuration of the motor driving device. [Diagram 5] FIG. 5 is a diagram showing the operating conditions of the motor. [Figure 6] FIG. 6 is a diagram showing the relationship between the operating conditions of the motor and the threshold values. [Figure 7] FIG. 7 is a diagram showing the corresponding threshold and the fixed threshold. [Figure 8] FIG. 8 is a flow chart showing a first example of the operation of the control unit. [Figure 9] FIG. 9 is a diagram showing the first corresponding threshold, the second corresponding threshold, the first fixed threshold, and the second fixed threshold. [Figure 10] FIG. 10 is a flow chart showing a second example of the operation of the control unit. [Figure 11] FIG. 11 is a flow chart showing a second example of the operation of the control unit. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0040] First embodiment DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described with reference to the accompanying drawings. In the following embodiments, the same or corresponding parts are denoted by the same reference characters, and detailed descriptions thereof and accompanying effects will not be repeated.

[0041] Overall configuration of the refrigeration system The refrigeration device according to the embodiment is an air conditioner (10) that cools and heats a room. As shown in Fig. 1, the air conditioner (10) includes a refrigerant circuit (11) that is filled with a refrigerant. The refrigerant circulates in the refrigerant circuit (11) to perform a vapor compression refrigeration cycle.

[0042] The air conditioner (10) includes an outdoor unit (12) and an indoor unit (13). The number of indoor units (13) is not limited to one, and may be two or more.

[0043] The refrigerant circuit (11) is connected to a compressor (30), an outdoor heat exchanger (16) (heat source heat exchanger), an expansion valve (17), an indoor heat exchanger (18) (utilization heat exchanger), and a four-way switching valve (19). The compressor (30), the outdoor heat exchanger (16), and the four-way switching valve (19) are housed in the outdoor unit (12). The indoor heat exchanger (18) and the expansion valve (17) are housed in the indoor unit (13).

[0044] In the outdoor unit (12), an outdoor fan (20) is provided near the outdoor heat exchanger (16). In the outdoor heat exchanger (16), heat is exchanged between the outdoor air transported by the outdoor fan (20) and the refrigerant. In the indoor unit (13), an indoor fan (21) is provided near the indoor heat exchanger (18). In the indoor heat exchanger (18), heat is exchanged between the indoor air transported by the indoor fan (21) and the refrigerant.

[0045] The four-way switching valve (19) has first to fourth ports (P1 to P4). The first port (P1) is connected to the discharge pipe (22) of the compressor (30), the second port (P2) is connected to the suction pipe (23) of the compressor (30), the third port (P3) is connected to the gas end of the outdoor heat exchanger (16), and the fourth port (P4) is connected to the gas end of the indoor heat exchanger (18). The four-way switching valve (19) is switched between a first state (a state shown by a solid line in FIG. 1) and a second state (a state shown by a dashed line in FIG. 1). In the first state, the first port (P1) and the fourth port (P4) are in communication with each other, and the second port (P2) and the third port (P3) are in communication with each other. Therefore, when the compressor (30) is operated with the four-way switching valve (19) in the first state, a refrigeration cycle (heating cycle) is performed in which the indoor heat exchanger (18) serves as a condenser (heat radiator) and the outdoor heat exchanger (16) serves as an evaporator. In the second state, the first port (P1) and the third port (P3) communicate with each other, and the second port (P2) and the fourth port (P4) communicate with each other. Therefore, when the compressor (30) is operated with the four-way switching valve (19) in the second state, a refrigeration cycle (cooling cycle) is performed in which the outdoor heat exchanger (16) serves as a condenser (heat radiator) and the indoor heat exchanger (18) serves as an evaporator.

[0046] <Overall Compressor Configuration> As shown in FIG. 2, the compressor (30) includes a vertically long cylindrical sealed housing (31). The suction pipe (23) is fixed to pass through the lower part of the housing (31). The discharge pipe (22) is fixed to pass through the top (upper head) of the housing (31). Oil (refrigeration oil) for lubricating the sliding parts of the compressor (30) is stored in the bottom of the housing (31). An internal space (S) is formed inside the housing (31) and is filled with refrigerant (discharge refrigerant or high-pressure refrigerant) discharged from the compression mechanism (40). That is, the compressor (30) of this embodiment is configured as a so-called high-pressure dome type in which the internal pressure of the internal space (S) of the housing (31) is substantially equal to the pressure of the high-pressure refrigerant.

[0047] A motor (32), a drive shaft (35), and a compression mechanism (40) are provided in the internal space (S) of the housing (31) in this order from top to bottom.

[0048] The motor (32) has a stator (33) and a rotor (34). The stator (33) is fixed to an inner peripheral surface of a body of the housing (31). The rotor (34) passes through the inside of the stator (33) in the vertical direction. A magnet (permanent magnet) is provided in the rotor (34). In the first embodiment, the magnet includes a rare earth magnet. A coil (33a) is wound around teeth (not shown) of the stator (33). A drive shaft (35) is fixed inside the axis of the rotor (34). When the motor (32) is energized, the drive shaft (35) is rotated together with the rotor (34).

[0049] The drive shaft (35) is located on the axis of the body of the housing (31). The drive shaft (35) is rotatably supported by bearings of the compression mechanism (40). The drive shaft (35) has a main shaft (36) coaxial with the motor (32) and a crank shaft (37) eccentric from the main shaft (36). The crank shaft (37) has an outer diameter larger than that of the main shaft (36). An oil pump (38) is provided below the drive shaft (35) to pump up refrigeration oil accumulated at the bottom of the housing (31). The refrigeration oil pumped up by the oil pump (38) is supplied to the bearings and the sliding parts of the compression mechanism (40) through an axial flow passage inside the drive shaft (35).

[0050] The compression mechanism (40) is disposed below the motor (32). The compression mechanism (40) has a front head (41), a cylinder (42), a rear head (43), and a piston (44). The cylinder (42) is formed in a flat cylindrical shape. An opening at an upper end of the cylinder (42) is closed by the front head (41), and an opening at a lower end of the cylinder (42) is closed by the rear head (43). This defines a cylindrical cylinder chamber (45) inside the cylinder (42).

[0051] An annular piston (44) is housed in the cylinder chamber (45). The piston (44) is fitted inside the crankshaft (37). Therefore, when the drive shaft (35) is driven to rotate by the motor (32), the piston (44) eccentrically rotates in the cylinder chamber (45).

[0052] A suction port (46) that communicates with the cylinder chamber (45) (strictly speaking, the low-pressure chamber (L)) penetrates radially through the cylinder (42). The suction port (46) is connected to the suction pipe (23). A discharge port (47) that communicates with the cylinder chamber (strictly speaking, the high-pressure chamber (H)) is formed in the front head (41). A discharge valve (not shown), such as a reed valve, is provided in the discharge port (47).

[0053] A muffler (48) is attached to an upper portion of the compression mechanism (40) to cover the front head (41). A muffler space (49) is formed inside the muffler (48) and communicates with the discharge port (47). Noise caused by discharge pulsation of the refrigerant is reduced in the muffler space (49).

[0054] <Internal structure of the compression mechanism> The compression mechanism (40) is of a rocking piston type having a blade (51) and a bush (52). As shown in Figs. 2 and 3, a bush groove (53) and a back pressure chamber (54) are formed in the cylinder (42). The bush groove (53) is formed in a position adjacent to the cylinder chamber (45) and communicates with the cylinder chamber (45). The bush groove (53) defines a cylindrical space having a substantially circular cross section. The back pressure chamber (54) is located radially outward of the bush groove (53) in the cylinder (42). The back pressure chamber (54) defines a cylindrical space having a substantially circular cross section.

[0055] The back pressure chamber (54) has an end on the cylinder chamber (45) side which communicates with the bush groove (53). The back pressure chamber (54) has a high pressure atmosphere equivalent to the pressure in the internal space (S) of the housing (31) (i.e., the pressure of the refrigerant discharged from the compression mechanism (40)). Oil pumped up by the oil pump (38) is supplied to the back pressure chamber (54). The oil in the back pressure chamber (54) is used to lubricate the sliding portion between the inner circumferential surface of the bush groove (53) and the bush (52) and the sliding portion between the bush (52) and the blade (51).

[0056] The pair of bushes (52) have a cross section formed in a generally arch-like or semicircular shape. The pair of bushes (52) are held in the bush groove (53) so as to be able to swing. The pair of bushes (52) have an arc portion (52a) facing the bush groove (53) and a flat portion (52b) facing the blade (51). The pair of bushes (52) swing around the center of the bush groove (53) such that the arc portion (52a) is in sliding contact with the bush groove (53).

[0057] The pair of bushes (52) are arranged in the bush groove (53) such that the flat portions (52b) face each other. As a result, a blade groove (55) is formed between the flat portions (52b) of the pair of bushes (52). The blade groove (55) has a generally rectangular cross section, and the blade (51) is held therein so as to be movable forward and backward in the radial direction.

[0058] The blade (51) is formed in a rectangular parallelepiped or plate shape extending radially outward. The base end (radially inner end) of the blade (51) is integrally connected to the outer circumferential surface of the piston (44). The piston (44) and the blade (51) may be integrally molded from the same member, or may be separate members fixed together. The tip (radially outer end) of the blade (51) is located in the back pressure chamber (54). The blade (51) divides the cylinder chamber (45) into a low pressure chamber (L) and a high pressure chamber (H). The low pressure chamber (L) is a space to the right of the blade (51) in FIG. 3 and communicates with the suction port (46). The high pressure chamber (H) is a space to the left of the blade (51) in FIG. 3 and communicates with the discharge port (47).

[0059] <Motor Drive Device> As shown in Fig. 4, the compressor (30) includes a motor drive device (60). A power source (70) and a motor (32) are connected to the motor drive device (60). The power source (70) may be a DC power source including a cell or battery, or may be an AC-DC power converter including a known converter that converts AC voltage into DC voltage. The motor drive device (60) converts the DC voltage supplied from the power source (70) into AC voltage and supplies it to the motor (32). The motor drive device (60) includes an inverter circuit, a first sensor (64), a second sensor (65), a third sensor (66), a storage unit (67), and a control unit (68).

[0060] The inverter circuit receives a DC voltage from a power source (70) and performs PWM control under the operation of the control unit (68) to convert the input DC voltage into a three-phase AC voltage of a desired voltage and frequency. The inverter circuit includes a plurality of switching elements (61a)-(61f), diode elements (62a)-(62f), and a drive circuit (63). The switching elements (61a)-(61f) include, for example, IGBTs. The diode elements (62a)-(62f) pass a return current when the switching elements (61a)-(61f) are turned off. The inverter circuit is incorporated in one package to form a power module. The drive circuit (63) may be included in the control unit (68) instead of in the power module.

[0061] The drive circuit (63) generates an operation signal (PWM signal, gate signal, etc.) based on a control signal sent from the control unit (68) and outputs the operation signal to each of the switching elements (61a)-(61f), thereby causing each of the switching elements (61a)-(61f) to perform a switching operation. A voltage is applied to the coil (33a) of the motor (32) by the switching operation of each of the switching elements (61a)-(61f). By controlling the winding current of the coil (33a) of the motor (32) in this manner, a rotating magnetic field synchronized with the rotor (34) is generated, thereby driving and controlling the motor (32).

[0062] The first sensor (64) detects a current flowing through the motor (32). The first sensor (64) includes, for example, a current detection circuit. For example, the current detection circuit converts a current (AC) flowing through any one of the three phases of the motor (32) into a voltage (AC) using a DCCT (DC Current Transformer), amplifies the voltage using an operational amplifier, and converts the output voltage into a voltage value (for example, 0 to 5 V) to be input to the control unit (68) configured by a microcomputer. The voltage value is then input to an A / D input port of the control unit (68), and the control unit (68) reads the voltage value as a digital value. For example, the control unit (68) multiplies the input voltage value by a predetermined constant to convert it into a current value flowing through the motor (32). The current detected in this way is AC, so the current value fluctuates over time. However, since the period is constant in the short term, the current (effective value) can be obtained by calculating the effective value.

[0063] The first sensor (64) is not limited to the above configuration as long as it has a configuration for detecting the current flowing through the motor (32). For example, the first sensor (64) may convert the current flowing through the motor (32) into a voltage value using a sense resistor, insulate the converted voltage value using an isolation amplifier, and transmit the voltage value to the control unit (68).

[0064] The second sensor (65) detects the number of rotations (rotational speed) of the motor (32) (rotor (34)). The second sensor (65) includes, for example, a Hall sensor. The Hall sensor detects a south pole or a north pole from the magnetic flux of the magnet of the rotor (34) and inputs the result to the control unit (68). The control unit (68) detects the number of rotations of the motor (32) from a detection signal of the Hall sensor. The number of rotations of the motor (32) may be estimated (calculated) by the control unit (68) based on a detection value of a current sensor that detects a current flowing through the motor (32) or a detection value of a voltage sensor that detects a voltage applied to the motor (32). The number of rotations of the motor (32) may be a number of rotations instructed by the control unit (68) to the motor (32).

[0065] The third sensor (66) is provided in the discharge pipe (22) and is a temperature sensor (eg, a thermistor) for detecting the temperature of the discharge pipe (22).

[0066] The storage unit (67) includes a main storage device (e.g., a semiconductor memory) such as a flash memory, a read only memory (ROM), and a random access memory (RAM), and may further include a secondary storage device (e.g., a hard disk drive, a solid state drive (SSD), a secure digital (SD) memory card, or a universal serial bus (USB) flash memory). The storage unit (67) stores various computer programs executed by the control unit (68).

[0067] The control unit 68 includes a processor such as a CPU and an MPU, and controls each component of the motor drive device 60 by executing a computer program stored in the storage unit 67.

[0068] <Compressor operation> When the motor (32) is energized and the drive shaft (35) is rotationally driven, the piston (44) performs eccentric motion (strictly speaking, rocking motion) in the cylinder chamber (45).

[0069] As shown in FIG. 3, in the compression mechanism (40), the outer peripheral surface of the piston (44) is in line contact with the inner peripheral surface of the cylinder chamber (45) via an oil film to form a seal. When the piston (44) oscillates, the seal between the piston (44) and the cylinder (42) is displaced along the inner peripheral surface of the cylinder chamber (45), and the volumes of the low pressure chamber (L) and the high pressure chamber (H) change. At this time, the blade (51) advances and retreats inside the blade groove (55) according to the rotation angle of the piston (44). At the same time, the pair of bushes (52) oscillate together with the blade (51) about the axis of the bush groove (53). Note that the "rotation angle" here represents an angle in the rotation direction of the drive shaft (35) (clockwise direction in FIG. 3) with respect to a reference angle of 0°, which is the position where the piston (44) is closest to the bush groove (53) (so-called top dead center).

[0070] When the volume of the low pressure chamber (L) gradually increases with the swinging motion of the piston (44), low pressure refrigerant is sucked into the low pressure chamber (L) through the suction pipe (23) and the suction port (46). Next, when the low pressure chamber (L) is isolated from the suction port (46), the isolated space forms the high pressure chamber (H). Next, when the volume of the high pressure chamber (H) gradually decreases, the internal pressure of the high pressure chamber (H) increases. When the internal pressure of the high pressure chamber (H) becomes higher than the pressure of the internal space (S), a discharge stroke is performed. That is, during the discharge stroke, the discharge valve of the discharge port (47) is opened, and the refrigerant in the high pressure chamber (H) is discharged from the discharge port (47). The refrigerant discharged from the discharge port (47) of the compression mechanism (40) in the internal space (S) flows into the internal space (S) through the muffler space (49). A flow path through which the refrigerant flows is provided between the compression mechanism (40) and the discharge pipe (22) in the internal space (S). A motor (32) is provided on the flow path. The refrigerant flowing from the compression mechanism (40) to the internal space (S) flows through the flow path to the motor (32), flows around the motor (32), and then reaches the discharge pipe (22) and flows out of the housing (31) from the discharge pipe (22). The fluid flowing out of the housing (31) from the discharge pipe (22) is sent to the refrigerant circuit (11).

[0071] <Configuration for Suppressing the Occurrence of Demagnetization> Demagnetization is an irreversible decrease in the magnetic force of the magnet of the motor (32). Demagnetization can occur when the current flowing through the motor (32) is too large. A configuration for suppressing the occurrence of demagnetization will be described below.

[0072] <First example of threshold information> The memory unit (67) stores threshold information (U) (see FIG. 7). The threshold information (U) is information in which a plurality of temperatures of the magnet are associated with a plurality of thresholds. The threshold indicates an upper limit of a current flowing through the motor (32). In the threshold information (U), the vertical axis of the coordinate system shown in FIG. 7 indicates the threshold, and the horizontal axis indicates the temperature of the magnet of the motor (32).

[0073] FIG. 7 shows demagnetization current information (W). The demagnetization current information (W) indicates the minimum value of the demagnetization current in the operating temperature range of the motor (32). The demagnetization current information (W) is information that associates multiple temperatures of the magnet with multiple minimum values ​​of the demagnetization current (minimum values ​​of the demagnetization current in the operating temperature range of the motor (32)). The demagnetization current is a current that flows through the motor (32) when demagnetization occurs. For the demagnetization current information (W), in the coordinate system shown in FIG. 7, the vertical axis indicates the minimum value of the demagnetization current, and the horizontal axis indicates the temperature of the magnet of the motor (32). The minimum value of the demagnetization current changes depending on the temperature of the magnet of the motor (32). The higher the temperature of the magnet, the smaller the minimum value of the demagnetization current.

[0074] The demagnetizing current information (W) may or may not be stored in the storage unit (67).

[0075] When the current has the same magnitude, the threshold information (U) sets a threshold lower than the minimum value of the demagnetization current.

[0076] Configuration for Calculating Estimated Temperature of Magnet The control unit (68) (see FIG. 4 ) calculates an estimated temperature of the magnet of the motor (32). There is no particular limitation on the configuration by which the control unit (68) calculates the estimated temperature of the magnet. In this embodiment, the control unit (68) calculates the estimated temperature of the magnet based on the temperature of the discharge pipe (22), the rotation speed of the motor (32), and the current flowing through the motor (32). For example, the control unit (68) inputs physical quantities related to the compressor (30) as input data to an estimation model, thereby calculating (outputting) the estimated temperature of the magnet. The estimation model will be described later. In this embodiment, the physical quantities related to the compressor (30) include the rotation speed of the motor (32), the temperature of the discharge pipe (22), and the current flowing through the motor (32).

[0077] Estimation model An estimation model for calculating an estimated temperature of the magnet is stored in the storage unit (67) (see FIG. 4). The estimation model is generated by using multiple regression analysis, which is a type of regression analysis. The estimation model is generated as a regression equation (multiple regression equation) by performing multiple regression analysis on the explanatory variables and the objective variable, where the rotation speed of the motor (32), the temperature of the discharge pipe (22), and the current flowing through the motor (32) are explanatory variables and the estimated temperature of the magnet is an objective variable. The data used in the multiple regression analysis (the explanatory variables and the objective variable) can be obtained, for example, from test results using an actual air conditioner (10) (real machine) (test results obtained by using an actual machine to determine what values ​​the temperature of the magnet will take when the rotation speed of the motor (32), the temperature of the discharge pipe (22), and the current flowing through the motor (32) are changed), or from simulation results (results obtained by reproducing the air conditioner (10) on a computer through numerical calculations to calculate what values ​​the temperature of the magnet will take in response to the rotation speed of the motor (32), the temperature of the discharge pipe (22), and the current flowing through the motor (32)).

[0078] The estimation model may be a trained model generated by using AI (Artificial Intelligence) and machine learning based on known data of the explanatory variables and the objective variables (e.g., data obtained from the test results or the simulation results) using physical quantities related to the compressor (30) (the rotation speed of the motor (32), the temperature of the discharge pipe (22), and the current flowing through the motor (32)) as explanatory variables and the estimated temperature of the magnet as an objective variable. An example of a method for the AI ​​to generate the estimation model is a machine learning method (deep learning) using a multi-layer artificial neural network. The estimation model is a trained model that uses the rotation speed of the motor (32), the temperature of the discharge pipe (22), and the current flowing through the motor (32) as input data to learn the correspondence between the rotation speed of the motor (32), the temperature of the discharge pipe (22), the current flowing through the motor (32), and the estimated temperature of the magnet. The estimation model receives input data, such as the rotation speed of the motor (32), the temperature of the discharge pipe (22), and the current flowing through the motor (32), and outputs output data, such as an estimated temperature of the magnet.

[0079] Characteristics of the estimation model 5 shows the relationship between the rotation speed of the motor (32) and the pressure of the compressor (30), and indicates the operating range of the motor (32). The pressure of the compressor (30), in other words, indicates the torque of the motor (32).

[0080] The estimation model of the present embodiment is an estimation model specialized for the operating range (V) of the entire operating range (VA) of the motor (32). The estimation model specialized for the operating range (V) indicates that explanatory variables and objective variables used in creating the estimation model are configured from those acquired during operation in the operating range (V). The reason for using the estimation model specialized for the operating range (V) will be described below.

[0081] As shown in Fig. 5, in the operating range (V), the rotation speed of the motor (32) increases and the torque (load) of the motor (32) increases, so that the current flowing through the motor (32) increases. However, if the current flowing through the motor (32) is too large, demagnetization may occur. Therefore, the current range of the motor (32) is limited so that the current does not exceed the minimum value of the demagnetization current. The current range of the motor (32) is the upper limit of the current flowing through the motor (32).

[0082] In the operating range (V) of the entire operating range (VA), the current flowing through the motor (32) is larger than in the other operating ranges, so there is a greater risk that the current flowing through the motor (32) will exceed the minimum value of the demagnetization current.

[0083] In order to effectively utilize the performance of the motor (32), it is preferable to ensure as wide a current-carrying range as possible for the motor (32). Therefore, in order to avoid the above-mentioned risks, it is not preferable to narrow the current-carrying range of the motor (32) by setting the threshold value of the current flowing through the motor (32) for the operating region (V) too small.

[0084] In view of this, in the present embodiment, the above-mentioned estimation model is specialized for the operating range (V), thereby avoiding the above-mentioned risk and ensuring as wide a range as possible of current supply to the motor (32). The reason for using the estimation model specialized for the operating range (V) will be described below.

[0085] When the estimated temperature of the magnet is calculated based on the estimation model, a threshold value corresponding to the estimated temperature of the magnet can be selected in the demagnetization current information (W) shown in FIG. 7, and the current range of the motor (32) can be set to a value equal to or lower than the threshold value (UA) when the estimated temperature of the magnet is the estimated temperature (TA). In this way, when the estimated temperature of the magnet is the estimated temperature (TA), the current flowing through the motor (32) can be controlled so that the current does not exceed the threshold value (UA), thereby preventing the current flowing through the motor (32) from exceeding the minimum demagnetization current value in the operating temperature range of the motor (32), and preventing demagnetization from occurring.

[0086] In the following, regarding the estimation model, a model created so as to correspond to the entire operating range (VA) of the motor (32) may be referred to as a full-range model.

[0087] For example, when the estimated temperature (TA) of the magnet is calculated based on the full-range model, as shown in FIG. 6, the rate of change in pressure relative to the rotation speed of the motor (32) is irregular in the entire operating range (VA), so it is difficult to accurately calculate the estimated temperature (TA) of the magnet in the entire operating range (VA). Depending on the operating range, there is a possibility that a large error will occur in the calculated estimated temperature (TA) of the magnet.

[0088] When the estimated temperature (TA) has a large error, the threshold value (UA) also has a large error. This is because the threshold value (UA) corresponds to the estimated temperature (TA) in the demagnetization current information (W) and is correlated with the estimated temperature (TA). In this case, even if the current flowing through the motor (32) is controlled so as not to exceed the threshold value (UA), the threshold value (UA) itself has a large error and is not an accurate value, so that the current flowing through the motor (32) may exceed the minimum value of the demagnetization current value, causing demagnetization. In particular, as described above, in the operating region (V), the current flowing through the motor (32) is larger than in other operating regions, and there is a high risk that the current will exceed the minimum value of the demagnetization current value. For this reason, in order to suppress this risk, it is necessary to set the threshold value (UA) to a highly accurate value.

[0089] As described above, the threshold value (UA) has a correlation with the estimated temperature (TA), so if the estimated temperature (TA) can be calculated with high accuracy, the threshold value (UA) can be set to an accurate value.

[0090] Therefore, in this embodiment, the estimation model is not a model for the entire operating range (VA), but an estimation model specialized for the operating range (V). As a result, for the operating range (V), the estimated temperature (TX) is calculated based on the estimation model specialized for the operating range (V), so that the estimated temperature (TA) of the magnet can be calculated with high accuracy. As a result, the threshold value (UA) can be set to an accurate value, and demagnetization can be suppressed in the operating range (V). Furthermore, since the threshold value (UA) is set to an accurate value, the threshold value (UA) can be prevented from becoming unduly small, and therefore the current supply range of the motor (32) can be secured as wide as possible.

[0091] <Configuration for determining threshold value> The control unit (68) determines a threshold value of the current flowing through the motor (32) based on the threshold value information (U) (see FIG. 7). In this embodiment, the configuration for determining the threshold value differs depending on whether the operating conditions of the motor (32) satisfy a predetermined operating condition. The predetermined operating condition is a condition in which the rotation speed of the motor (32) is equal to or greater than a predetermined number and the current flowing through the motor (32) is equal to or greater than a predetermined value. The operating conditions of the motor (32) are determined by the relationship between the rotation speed of the motor (32) and the current flowing through the motor (32).

[0092] <When the specified operating conditions are met> 6, the motor (32) satisfies the predetermined operating condition when the rotation speed of the motor (32) is equal to or greater than a predetermined value and the current flowing through the motor (32) is equal to or greater than a predetermined value. The predetermined operating condition is satisfied when the motor (32) is operated in the operating range (V).

[0093] 7, when the operating conditions of the motor (32) satisfy predetermined operating conditions, the control unit (68) calculates an estimated temperature (TA) of the magnet based on the estimation model and physical quantities related to the compressor (30), and determines a value in the threshold information (U) corresponding to the calculated estimated temperature (TA) of the magnet as the threshold value of the current flowing through the motor (32). In the first embodiment, the physical quantities related to the compressor (30) include the current flowing through the motor (32) (detected by the first sensor (64)), the rotation speed of the motor (32) (detected by the second sensor (65)), and the temperature of the discharge pipe (22) (detected by the third sensor (66)).

[0094] As shown in Fig. 7, for example, when a predetermined operating condition is satisfied and an estimated temperature (TA) of the magnet is calculated, the control unit (68) determines a threshold value (UA) corresponding to the estimated temperature (TA) in the threshold value information (U) as the threshold value of the current flowing through the motor (32). Hereinafter, the threshold value (UA) corresponding to the estimated temperature (TA) may be referred to as a corresponding threshold value (UA). The estimated temperature (TA) is a value that changes depending on the detection value of the first sensor (64), the detection value of the second sensor (65), and / or the detection value of the third sensor (66). The corresponding threshold value (UA) is a value that changes depending on the estimated temperature (TA).

[0095] <Reasons for adopting response thresholds> When the operating condition of the motor (32) satisfies a predetermined operating condition (operating region (V) in FIG. 5), the current flowing through the motor (32) becomes large by exceeding a predetermined value, and there is a high risk that the current will exceed the minimum demagnetization current value in the operating temperature range of the motor (32) and cause demagnetization. In this case, in order to suppress the risk, an estimated temperature (TA) of the magnet is calculated based on an estimation model specialized for the operating region (V), and a corresponding threshold value (UA) corresponding to the estimated temperature (TA) in the threshold information (U) is determined as the threshold value of the current flowing through the motor (32). By using an estimation model specialized for the operating region (V), the corresponding threshold value (UA) can be set to an accurate value that matches the operating region (V), and the current flowing through the motor (32) is controlled so as not to exceed the corresponding threshold value (UA), thereby effectively suppressing the risk. Furthermore, since the corresponding threshold value (UA) is set to an accurate value, it is possible to suppress the corresponding threshold value (UA) from becoming unduly small, and therefore it is possible to ensure the current supply range of the motor (32) as wide as possible. Therefore, when the specified operating conditions are satisfied (operating region (V) in FIG. 5), in order to reduce the above-mentioned risk and to ensure as wide a current-carrying range of the motor (32) as possible, the corresponding threshold value (UA) is adopted as the threshold value of the current flowing through the motor (32).

[0096] <If the specified operating conditions are not met> 6, the operating conditions of the motor (32) do not satisfy the predetermined operating conditions when (i) the rotation speed of the motor (32) is equal to or greater than a predetermined value and the current flowing through the motor (32) is smaller than a predetermined value, (ii) the rotation speed of the motor (32) is lower than a predetermined value and the current flowing through the motor (32) is equal to or greater than a predetermined value, or (iii) the rotation speed of the motor (32) is lower than the predetermined value and the current flowing through the motor (32) is smaller than a predetermined value. The predetermined operating conditions are not satisfied when the motor (32) is operated outside the operating range (V).

[0097] As shown in FIG. 6, when the operating conditions of the motor (32) do not satisfy the predetermined operating conditions, the control unit (68) determines the threshold value (UB) corresponding to the preset temperature (TB) in the threshold value information (U) as the threshold value of the current flowing through the motor (32). Hereinafter, the threshold value (UB) corresponding to the preset temperature (TB) may be referred to as the fixed threshold value (UB). The preset temperature (TB) and the fixed threshold value (UB) are fixed values. In this embodiment, the preset temperature (TB) is, for example, the maximum temperature in the temperature limit value of the motor (32). The preset temperature (TB) may be a value equal to or greater than the maximum temperature in the operating temperature range of the motor (32). The preset temperature (TB) may be a value equal to or greater than the maximum temperature in the operating temperature range of the motor (32) and equal to or less than the maximum temperature in the temperature limit value of the motor (32). The temperature limit value of the motor (32) indicates the temperature limit value at which the motor (32) can be used (the temperature limit value of the motor (32)). The operating temperature range of the motor 32 indicates the range of values ​​that the temperature of the motor 32 can take when the motor 32 is used in an assumed manner (the allowable temperature of the motor 32). If the maximum temperature and minimum temperature limit values ​​of the motor 32 are α1 and α2, respectively, and the maximum and minimum temperatures of the operating temperature range of the motor 32 are β1 and β2, respectively, then α1 will be greater than β1 and α2 will be smaller than β2 (α2<β2<β1<α1).

[0098] <Predetermined value> The predetermined value is a value at which the risk of demagnetization increases as the current flowing through the motor 32 increases, and is determined appropriately in consideration of the characteristics, specifications, usage, and the like of the motor 32. The predetermined value may be, for example, the minimum value within the range of values ​​that the demagnetization current can take at the temperature limit value of the motor 32. The predetermined value may be, for example, the minimum value within the range of values ​​that the demagnetization current can take within the operating temperature range of the motor 32.

[0099] <Reasons for adopting a fixed threshold> When the operating conditions of the motor (32) satisfy predetermined operating conditions (regions other than the operating region (V) in FIG. 5), the current flowing through the motor (32) during normal operation of the motor (32) is small so as not to exceed the fixed threshold value (UB). Although the fixed threshold value (UB) can be used for regions other than the operating region (V), it is cumbersome to take the trouble of creating a specialized estimation model and determining the threshold value in the same manner as for the operating region (V). Therefore, when the predetermined operating conditions are not satisfied (regions other than the operating region (V) in FIG. 5), the fixed threshold value (UB), which is a constant value, is used as the threshold value for the current flowing through the motor (32).

[0100] (First example of the operation of the control unit) 8, in step S11, the control unit (68) determines whether or not the operating conditions of the motor (32) satisfy predetermined operating conditions. If it is determined that the operating conditions satisfy the predetermined operating conditions (Yes in step S11), the process proceeds to step S12. If it is determined that the operating conditions do not satisfy the predetermined operating conditions (No in step S11), the process proceeds to step S15.

[0101] In step 12, the control unit (68) calculates an estimated temperature (TA) of the magnet of the motor (32) based on the estimation model and physical quantities related to the compressor (30).

[0102] In step S13, the control unit (68) determines whether or not the current flowing through the motor (32) exceeds the corresponding threshold value (UA). The corresponding threshold value (UA) is a threshold value that corresponds to the estimated temperature (TA) in the threshold information (U). If it is determined that the current exceeds the corresponding threshold value (UA) (Yes in step S13), the process proceeds to step S14. If it is determined that the current does not exceed the corresponding threshold value (UA) (No in step S13), the process proceeds to step S11.

[0103] In step 14, the control unit (68) reduces the current flowing through the motor (32). Specifically, in step 14, the control unit (68) reduces the current flowing through the motor (32) so that the current is less than the corresponding threshold value (UA) while maintaining a current flowing through the motor (32). This reduces the rotation speed of the motor (32), but maintains the rotating state of the motor (32). When step 14 ends, the process proceeds to step S11.

[0104] In step S15, the control unit (68) determines whether the current flowing through the motor (32) exceeds a fixed threshold (UB). The fixed threshold (UB) is a threshold that corresponds to the predetermined temperature (TB) in the threshold information (U). If it is determined that the current exceeds the fixed threshold (UB) (Yes in step S15), the process proceeds to step S16. If it is determined that the current does not exceed the corresponding threshold (UA) (No in step S15), the process proceeds to step S11.

[0105] In step 16, the control unit (68) reduces the current flowing through the motor (32). Specifically, in step 16, while maintaining a current flowing through the motor (32), the control unit (68) reduces the current flowing through the motor (32) so that the current becomes less than the fixed threshold (UB). This reduces the rotation speed or torque of the motor (32), but maintains the rotating state of the motor (32). When step 16 ends, the process proceeds to step S11.

[0106] (Modification of the first example of the operation of the control unit) In step 14 and / or step 16, the control unit (68) may stop the switching operation of the inverter circuit to stop the supply of electricity to the motor (32), thereby stopping the rotation of the motor (32) and ending the process.

[0107] <effect> As described above, when the operating conditions of the motor (32) satisfy the predetermined operating conditions and the current flowing through the motor (32) exceeds the corresponding threshold (UA), which is a threshold corresponding to the estimated temperature (TA) of the magnet in the threshold information (U), the control unit (68) reduces the current flowing through the motor (32). When the operating conditions of the motor (32) do not satisfy the predetermined operating conditions and the current flowing through the motor (32) exceeds the fixed threshold (UB), which is a threshold corresponding to the preset temperature (TB) of the magnet in the threshold information (U), the control unit (68) reduces the current flowing through the motor (32). In this way, the threshold used to limit the current flowing through the motor (32) in accordance with the operating conditions of the motor (32) can be switched to either the corresponding threshold (UA) or the fixed threshold (UB). As a result, by configuring the system so that the corresponding threshold value (UA) is adopted when the operating conditions are such that no significant error occurs in the estimated temperature (TA) of the magnet, and the fixed threshold value (UB) is adopted when the operating conditions are such that a significant error occurs in the estimated temperature (TA) of the magnet, it is possible to effectively suppress demagnetization of the motor (32).

[0108] Second Embodiment The following mainly describes the differences from the first embodiment.

[0109] <Second example of threshold information> 9, the threshold information (U) includes first threshold information (U1) and second threshold information (U2). The first threshold information (U1) is a threshold used to determine whether or not to stop the supply of current to the motor (32). The second threshold information (U2) is a threshold used to determine whether or not to reduce the current flowing to the motor (32).

[0110] When the currents are the same, the first threshold information (U1) sets a threshold lower than the minimum value of the demagnetization current, and when the currents are the same, the second threshold information (U2) sets a threshold lower than the first threshold information (U1).

[0111] (Second example of the operation of the control unit) 10, in step S21, the control unit (68) determines whether or not the operating conditions of the motor (32) satisfy predetermined operating conditions. If it is determined that the operating conditions satisfy the predetermined operating conditions (Yes in step S21), the process proceeds to step S22. If it is determined that the operating conditions do not satisfy the predetermined operating conditions (No in step S21), the process proceeds to step S27.

[0112] In step 22, the control unit (68) calculates an estimated temperature (TA) of the magnet of the motor (32) based on the estimation model and physical quantities related to the compressor (30).

[0113] In step S23, the control unit (68) determines whether the current flowing through the motor (32) exceeds a first corresponding threshold (UA1). The first corresponding threshold (UA1) is a threshold that corresponds to the estimated temperature (TA) in the first threshold information (U1). The first corresponding threshold (UA1) is a value that changes depending on the estimated temperature (TA). If it is determined that the current exceeds the first corresponding threshold (UA1) (Yes in step S23), the process proceeds to step S24. If it is determined that the current does not exceed the first corresponding threshold (UA1) (No in step S23), the process proceeds to step S25.

[0114] In step 24, the control unit (68) stops the supply of electricity to the motor (32), which causes the motor (32) to stop rotating, and the process ends.

[0115] In step S25, the control unit (68) determines whether the current flowing through the motor (32) exceeds the second corresponding threshold (UA2). The second corresponding threshold (UA2) is a threshold corresponding to the estimated temperature (TA) in the second threshold information (U2). The second corresponding threshold (UA2) is a value that changes depending on the estimated temperature (TA). If it is determined that the current exceeds the second corresponding threshold (UA2) (Yes in step S25), the process proceeds to step S26. If it is determined that the current does not exceed the second corresponding threshold (UA2) (No in step S25), the process proceeds to step S21.

[0116] In step 26, the control unit (68) reduces the current flowing through the motor (32). Specifically, in step 26, while maintaining a current flowing through the motor (32), the control unit (68) reduces the current flowing through the motor (32) so that the current becomes less than the second corresponding threshold value (UA2). When step 26 ends, the process proceeds to step S21.

[0117] As shown in FIG. 11, in step S27, the control unit (68) determines whether or not the current flowing through the motor (32) exceeds a first fixed threshold (UB1). The first fixed threshold (UB1) is a threshold corresponding to the preset temperature (TB) in the first threshold information (U1). The first fixed threshold (UB1) is a constant value. If it is determined that the current exceeds the first fixed threshold (UB1) (Yes in step S27), the process proceeds to step S28. If it is determined that the current does not exceed the first fixed threshold (UB1) (No in step S27), the process proceeds to step S29.

[0118] In step 28, the control unit (68) stops the supply of electricity to the motor (32), which causes the motor (32) to stop rotating, and the process ends.

[0119] In step S29, the control unit (68) determines whether the current flowing through the motor (32) exceeds a second fixed threshold (UB2). The second fixed threshold (UB2) is a threshold corresponding to the predetermined temperature (TB) in the second threshold information (U2). The second fixed threshold (UB2) is a constant value. If it is determined that the current exceeds the second fixed threshold (UB2) (Yes in step S29), the process proceeds to step S30. If it is determined that the current does not exceed the second fixed threshold (UB2) (No in step S29), the process proceeds to step S21.

[0120] In step 30, the control unit (68) reduces the current flowing through the motor (32). Specifically, in step 30, while maintaining a current flowing through the motor (32), the control unit (68) reduces the current flowing through the motor (32) so that the current becomes less than a second fixed threshold value (UB2). After step S26 ends, the process proceeds to step S21.

[0121] <effect> As described above, when the current flowing through the motor (32) exceeds the thresholds (UA1, UB1) set based on the first threshold information (U1), the control unit (68) stops the current flowing through the motor (32). When the current flowing through the motor (32) exceeds the thresholds (UA2, UB2) set based on the second threshold information (U2), the control unit (68) reduces the current flowing through the motor (32) while maintaining the current flowing through the motor (32). In this way, the current through the motor (32) can be prevented from exceeding the demagnetization current in a stepwise manner by using a configuration for reducing the rotational speed of the motor (32) by reducing the current while maintaining the current flowing through the motor (32) and a configuration for stopping the motor (32) by stopping the current flowing through the motor (32).

[0122] Although the embodiments and modifications have been described above, it will be understood that various modifications of form and details are possible without departing from the spirit and scope of the claims (for example, (1) to (6) below). Furthermore, the above embodiments and modifications may be combined or substituted as appropriate as long as the functionality of the subject matter of the present disclosure is not impaired.

[0123] (1) In the first and second embodiments, the control unit (68) calculates an estimated temperature (TA) of the magnet of the motor (32) based on the estimation model and physical quantities related to the compressor (30). The physical quantities related to the compressor (30) include the rotation speed of the motor (32), the temperature of the discharge pipe (22), and the current flowing through the motor (32). However, the present invention is not limited thereto. The physical quantities related to the compressor (30) only need to include at least the rotation speed of the motor (32) and the temperature of the discharge pipe (22). The explanatory variables for creating the estimation model also only need to include at least the rotation speed of the motor (32) and the temperature of the discharge pipe (22).

[0124] Furthermore, each of the physical quantities and explanatory variables related to the compressor (30) may include the rotation speed of the motor (32), the temperature of the discharge pipe (22), and a predetermined physical quantity. The predetermined physical quantity is at least one of the following physical quantities: a current flowing through the motor (32), a suction pressure of the compressor (30), a discharge pressure of the compressor (30), a physical quantity correlating with at least one of the suction pressure and the discharge pressure of the compressor (30), an ambient temperature of the compressor (30), an amount of refrigeration oil flowing through the internal space (S) of the housing (31), a physical quantity correlating with the amount of refrigeration oil, a total drive time of the compressor (30), a temperature of the suction pipe (23), a physical quantity correlating with the temperature of the suction pipe (23), a heat value of a coil (33a) of the motor (32), and a physical quantity correlating with the heat value of the coil (33a).

[0125] The suction pressure of the compressor (30) indicates the pressure of the refrigerant sucked through the suction pipe (23). The discharge pressure of the compressor (30) indicates the pressure of the refrigerant discharged through the discharge pipe (22). The ambient temperature of the compressor (30) indicates the temperature of the housing (31). The ambient temperature of the compressor (30) is an example of the outer shell temperature of the compressor (30).

[0126] (2) In the first and second embodiments, the magnet of the motor (32) includes a rare earth magnet. However, the present invention is not limited to this. The magnet of the motor (32) may include a ferrite magnet. In this case, the predetermined temperature (TB) is the minimum temperature in the temperature limit of the motor (32). The reason why the predetermined temperature (TB) is set to the maximum temperature in the temperature limit of the motor (32) when the magnet is a rare earth magnet and the predetermined temperature (TB) is set to the minimum temperature in the temperature limit of the motor (32) when the magnet is a ferrite magnet is that a rare earth magnet is more likely to be demagnetized at higher temperatures, whereas a ferrite magnet is more likely to be demagnetized at lower temperatures. Note that, when the magnet of the motor (32) includes a ferrite magnet, the predetermined temperature (TB) may be a value equal to or lower than the minimum temperature in the operating temperature range of the motor (32). When the magnet of the motor (32) includes a ferrite magnet, the predetermined temperature (TB) may be a value equal to or higher than the minimum temperature in the temperature limit of the motor (32) and equal to or lower than the minimum temperature in the operating temperature range of the motor (32).

[0127] (3) In the first and second embodiments, the predetermined operating conditions (see step S11 in FIG. 8 and step S21 in FIG. 10) include a condition that the current flowing through the motor (32) is equal to or greater than a predetermined value. The current (the current flowing through the motor (32)) to be compared with the predetermined value may be a current value that has been filtered to prevent hunting. Filtering the current can prevent hunting and stabilize the operation of the control unit (68) that determines whether the current is equal to or greater than the predetermined value.

[0128] The filtering may use a low-pass filter set to a cutoff frequency that passes expected current changes and removes unexpected current changes. Filtering may cause a time delay in detecting the current, and if the delay is too large, it may deteriorate the accuracy of the protective operation that reduces the current flowing through the motor (32). Therefore, the desired protective operation can be achieved by setting the filter so that current changes within the expected range are not delayed.

[0129] (4) In steps S13 and S15 shown in FIG. 8, steps S23 and S25 shown in FIG. 10, and steps S27 and S29 shown in FIG. 11, the control unit (68) compares the current flowing through the motor (32) detected by the first sensor (61) with various thresholds (corresponding threshold (UA), fixed threshold (UB), first corresponding threshold (UA1), second corresponding threshold (UA2), first fixed threshold (UB1), and second fixed threshold (UB2). In this case, the control unit (68) may perform a removal process to remove a noise signal from information indicating the current, and compare the information indicating the current after the removal process with the various thresholds. The removal of the noise signal is performed, for example, by limiting the amount of change in the detection signal between samplings.

[0130] (5) In steps S14 and S16 shown in Fig. 8, step S26 shown in Fig. 10, and step S30 shown in Fig. 11, the control unit (68) reduces the current flowing through the motor (32). In this case, a filter may be used to slow down the change in the calculation result of the estimated temperature (TA) of the magnet of the motor (32) compared to the response of reducing the rotation speed of the motor (32) by reducing the current.

[0131] (6) In the first and second embodiments, the predetermined operating condition is a condition in which the rotation speed of the motor (32) is equal to or greater than a predetermined number and the current flowing through the motor (32) is equal to or greater than a predetermined value. However, the present invention is not limited to this.

[0132] The predetermined operating condition may be a condition in which the rotation speed of the motor (32) is equal to or greater than a predetermined number. In this case, the estimation model used to calculate the estimated temperature (TA) of the magnet is an estimation model specialized for an operating range (first operating range) in which the rotation speed of the motor (32) is equal to or greater than the predetermined number among the entire operating range (VA) of the motor (32), and explanatory variables and objective variables used in creating the estimation model are configured from those acquired during operation in the first operating range.

[0133] The predetermined operating condition may be a condition in which the current flowing through the motor (32) is equal to or greater than a predetermined value. In this case, the estimation model used to calculate the estimated temperature (TA) of the magnet is an estimation model specialized for an operating range (second operating range) in which the current flowing through the motor (32) is equal to or greater than a predetermined value among the entire operating range (VA) of the motor (32), and explanatory variables and objective variables used in creating the estimation model are configured from those acquired during operation in the second operating range. [Industrial Applicability]

[0134] INDUSTRIAL APPLICABILITY As described above, the present disclosure is useful for motor drive devices and compressors. [Explanation of symbols]

[0135] 32 Motor 64 First Sensor (Sensor) 68 Control Unit TA estimated temperature U Threshold Information UA Support Threshold

Claims

1. A motor drive device for driving a motor (32) having a magnet that generates a magnetic field, comprising: a sensor (64) for detecting a current flowing through the motor (32); a control unit (68) for calculating an estimated temperature (TA) of the magnet; Equipped with The control unit (68) when an operating condition of the motor (32) satisfies a predetermined operating condition and a current flowing through the motor (32) exceeds a corresponding threshold (UA), which is a threshold corresponding to an estimated temperature (TA) of the magnet in threshold information (U) in which a plurality of temperatures of the magnet are associated with a plurality of thresholds, respectively, the current flowing through the motor (32) is reduced; when the operating condition of the motor (32) does not satisfy the predetermined operating condition and the current flowing through the motor (32) exceeds a fixed threshold (UB), which is a threshold value corresponding to a preset temperature (TB) of the magnet in the threshold information (U), the current flowing through the motor (32) is reduced; The predetermined operating condition includes a condition under which the rotation speed of the motor (32) is equal to or greater than a predetermined rotation speed.

2. A motor drive device for driving a motor (32) having a magnet that generates a magnetic field, comprising: a sensor (64) for detecting a current flowing through the motor (32); a control unit (68) for calculating an estimated temperature (TA) of the magnet; Equipped with The control unit (68) when an operating condition of the motor (32) satisfies a predetermined operating condition and a current flowing through the motor (32) exceeds a corresponding threshold (UA), which is a threshold corresponding to an estimated temperature (TA) of the magnet in threshold information (U) in which a plurality of temperatures of the magnet are associated with a plurality of thresholds, respectively, the current flowing through the motor (32) is reduced; when the operating condition of the motor (32) does not satisfy the predetermined operating condition and the current flowing through the motor (32) exceeds a fixed threshold (UB), which is a threshold value corresponding to a preset temperature (TB) of the magnet in the threshold information (U), the current flowing through the motor (32) is reduced; The predetermined operating condition includes a condition that the rotation speed of the motor (32) is equal to or greater than a predetermined rotation speed and a current flowing through the motor (32) is equal to or greater than a predetermined value.

3. the magnet comprises a rare earth magnet; 3. The motor drive device according to claim 1, wherein the predetermined temperature (TB) is equal to or greater than a maximum temperature in a temperature limit value of the motor (32) or a maximum temperature in an operating temperature range of the motor (32).

4. The magnet includes a ferrite magnet, 3. The motor drive device according to claim 1, wherein the predetermined temperature (TB) is equal to or lower than a minimum temperature in a temperature limit value of the motor (32) or a minimum temperature in an operating temperature range of the motor (32).

5. the predetermined value is a minimum value within a range of values ​​that the demagnetizing current can take at a temperature limit value of the motor, 3. The motor drive device according to claim 2, wherein the demagnetizing current is a current value of the motor that reduces the magnetic force of the magnet.

6. 3. The motor drive device according to claim 2, wherein the current compared with the predetermined value is a current value that has been filtered to prevent hunting.

7. 7. The motor drive device according to claim 6, wherein the filtering uses a low-pass filter set to a cutoff frequency that passes expected current changes and removes unexpected current changes.

8. The motor (32) drives the compressor (30), 3. The motor drive device according to claim 1, wherein the control unit (68) calculates the estimated temperature (TA) of the magnet based on a temperature of a discharge pipe (22) of the compressor (30) or an outer shell temperature of the compressor (30).

9. 3. The motor drive device according to claim 1, wherein the control unit (68) reduces the current flowing through the motor (32) by stopping the supply of current to the motor (32).

10. 3. The motor drive device according to claim 1, wherein the control unit (68) removes a noise signal from the information indicating the current of the motor (32) to be compared with the corresponding threshold value (UA) or the fixed threshold value (UB).

11. The motor drive device according to claim 10 , wherein the noise signal is removed by limiting an amount of change in the detection signal between samplings.

12. 3. The motor drive device according to claim 1, wherein the control unit (68) reduces the current flowing through the motor (32) by reducing the current flowing through the motor (32) while maintaining a current flowing through the motor (32).

13. 13. The motor drive device of claim 12, further comprising a filter for slowing down the change in the calculated estimated magnet temperature (TA) compared to a response that reduces the rotational speed of the motor (32) by reducing the current.

14. The threshold information (U) includes first threshold information (U1) and second threshold information (U2) that sets a threshold lower than the first threshold information (U1), The thresholds include the corresponding thresholds (UA1, UA2) and the fixed thresholds (UB1, UB2), The control unit (68) When the current flowing through the motor (32) exceeds the threshold value (UA1, UB1) set based on the first threshold value information (U1), power supply to the motor (32) is stopped; 3. The motor drive device according to claim 1, wherein, when the current flowing through the motor (32) exceeds the threshold (UA2, UB2) set based on the second threshold information (U2), the current flowing through the motor (32) is reduced while maintaining the motor (32) in a powered state.

15. A compressor comprising: the motor drive device according to claim 1 or 2; and the motor (32).

Citation Information

Patent Citations

  • Servo system for magnetic disk device

    JP1997306125A

  • Motor control apparatus, transmission ratio variable unit, and vehicular steering device

    JP2009044879A

  • Motor drive and air conditioner

    JP2013255373A

  • Motor magnet temperature estimation device and hybrid vehicle including the same

    JP2021118653A

  • Air conditioner, air conditioner manufacturing method, and compressor

    WO2009151033A1