The present disclosure relates to a machine learning device and a magnetic bearing device including the same.
In the related art, there is known a magnetic bearing device that supports an object to be supported such as a shaft in a non-contact manner by using a resultant electromagnetic force of a plurality of electromagnets. PTL 1 (Japanese Unexamined Utility Model Registration Application Publication No. H04-040308) discloses a configuration in which a position of an object to be supported is detected by a sensor and electromagnetic forces of electromagnets are controlled on the basis of a detection signal to hold the position of the object to be supported at a predetermined position.
There is an issue in that a product-to-product variation in magnetic bearing devices, a temporal change of magnetic bearing devices, and the like hinder appropriate control of a position of an object to be supported.
A machine learning device according to a first aspect learns a control condition for a magnetic bearing device. The magnetic bearing device includes a magnetic bearing having a plurality of electromagnets that apply an electromagnetic force to a shaft. The machine learning device includes a learning unit, a state variable acquisition unit, an evaluation data acquisition unit, and an updating unit. The state variable acquisition unit acquires a state variable including at least one parameter correlating with a position of the shaft. The evaluation data acquisition unit acquires evaluation data including at least one parameter from among a measured value of the position of the shaft, a target value of the position of the shaft, and a parameter correlating with a deviation from the target value. The updating unit updates a learning state of the learning unit by using the evaluation data. The learning unit learns the control condition in accordance with an output of the updating unit.
A machine learning device according to a second aspect is the machine learning device according to the first aspect in which the state variable includes at least an output value of a displacement sensor that outputs a signal according to the position of the shaft. The learning unit learns, as the control condition, at least one of a voltage value of the electromagnets and a current value of the electromagnets.
A machine learning device according to a third aspect is the machine learning device according to the first aspect in which the state variable includes at least a current value and a voltage value of the electromagnets or a current value and a magnetic flux of the electromagnets. The learning unit learns, as the control condition, at least one of the voltage value of the electromagnets and the current value of the electromagnets.
A machine learning device according to a fourth aspect is the machine learning device according to the first aspect in which the state variable includes at least an output value of a displacement sensor that outputs a signal according to the position of the shaft. The evaluation data includes at least a true value of the position of the shaft. The learning unit learns, as the control condition, the position of the shaft.
A machine learning device according to a fifth aspect is the machine learning device according to the first aspect in which the state variable includes at least a current value and a voltage value of the electromagnets or a current value and a magnetic flux of the electromagnets. The evaluation data includes at least a true value of the position of the shaft. The learning unit learns, as the control condition, the position of the shaft.
A machine learning device according to a sixth aspect is the machine learning device according to the first aspect in which the state variable includes at least a detected value of the position of the shaft and a command value of the position of the shaft. The learning unit learns, as the control condition, at least one of a voltage value of the electromagnets and a current value of the electromagnets.
A machine learning device according to a seventh aspect is the machine learning device according to the second or third aspect in which the updating unit causes the learning unit to further perform learning so as to make a current value for driving the magnetic bearing less than or equal to a predetermined allowable value.
A machine learning device according to an eighth aspect is the machine learning device according to the second or third aspect in which the evaluation data further includes a parameter correlating with a temperature of an inverter that drives the magnetic bearing. The updating unit causes the learning unit to further perform learning so as to make the temperature of the inverter lower than or equal to a predetermined allowable value.
A machine learning device according to a ninth aspect is the machine learning device according to any one of the second, third, and sixth aspects in which the state variable further includes a detected current value of the electromagnets in a case where the magnetic bearing is driven by a voltage-type inverter, and further includes a detected voltage value of the electromagnets in a case where the magnetic bearing is driven by a current-type inverter.
A machine learning device according to a tenth aspect is the machine learning device according to the ninth aspect in which the updating unit causes the learning unit to further perform learning in order to reduce a value correlating with responsivity of control of the current value.
A machine learning device according to an eleventh aspect is the machine learning device according to any one of the second, third, and sixth aspects in which the state variable further includes a number of rotations of the shaft.
A machine learning device according to a twelfth aspect is the machine learning device according to any one of the second, third, and sixth aspects in which the state variable further includes at least one parameter correlating with an operation condition of a refrigeration apparatus. The refrigeration apparatus includes a refrigerant circuit in which a compressor driven by a motor, a condenser, an expansion mechanism, and an evaporator are coupled. The operation condition includes a range of a refrigerating capacity of the refrigeration apparatus and a range of a temperature of a medium that is for heat exchange with refrigerant circulating through the refrigerant circuit and that flows into the condenser.
A machine learning device according to a thirteenth aspect is the machine learning device according to the twelfth aspect in which the state variable further includes at least one parameter correlating with the electromagnetic force applied to the shaft. The parameter correlating with the electromagnetic force includes at least one of a parameter correlating with a refrigerant load of the refrigeration apparatus and a parameter correlating with a physical characteristic of the refrigeration apparatus.
A machine learning device according to a fourteenth aspect is the machine learning device according to the twelfth aspect in which the state variable further includes at least one parameter correlating with a characteristic of the magnetic bearing. The parameter correlating with the characteristic of the magnetic bearing includes at least one of a parameter correlating with an inductance of coils of the electromagnets and a parameter correlating with a resistance of the coils of the electromagnets.
A machine learning device according to a fifteenth aspect is the machine learning device according to the second or third aspect in which the evaluation data further includes a parameter correlating with power consumption of the magnetic bearing. The updating unit causes the learning unit to further perform learning in order to reduce the power consumption. The parameter correlating with the power consumption includes at least two of a current value for driving the magnetic bearing, a voltage value for driving the magnetic bearing, and a resistance of coils of the electromagnets.
A machine learning device according to a sixteenth aspect is the machine learning device according to any one of the seventh, eighth, and fifteenth aspects in which the state variable further includes at least one parameter correlating with an operation condition of a refrigeration apparatus. The refrigeration apparatus includes a refrigerant circuit in which a compressor driven by a motor, a condenser, an expansion mechanism, and an evaporator are coupled. The operation condition includes a range of a refrigerating capacity of the refrigeration apparatus and a range of a temperature of a medium that is for heat exchange with refrigerant circulating through the refrigerant circuit and that flows into the condenser.
A machine learning device according to a seventeenth aspect is the machine learning device according to any one of the second, third, and sixth aspects in which the evaluation data further includes at least one parameter correlating with input energy supplied to the compressor driven by the motor. The updating unit causes the learning unit to further perform learning in order to reduce the input energy.
A machine learning device according to an eighteenth aspect is the machine learning device according to the seventeenth aspect in which the state variable further includes at least one of at least one parameter correlating with an operation condition of a refrigeration apparatus and at least one parameter correlating with adiabatic efficiency of an impeller coupled to the shaft. The refrigeration apparatus includes a refrigerant circuit in which the compressor driven by the motor, a condenser, an expansion mechanism, and an evaporator are coupled. The operation condition includes a range of a refrigerating capacity of the refrigeration apparatus and a range of a temperature of a medium that is for heat exchange with refrigerant circulating through the refrigerant circuit and that flows into the condenser. The parameter correlating with the adiabatic efficiency of the impeller includes at least one of a parameter correlating with a pressure of the refrigerant and a parameter correlating with a temperature of the refrigerant.
A machine learning device according to a nineteenth aspect is the machine learning device according to the second or fourth aspect in which the state variable further includes a parameter correlating with a temperature of the displacement sensor.
A machine learning device according to a twentieth aspect is the machine learning device according to any one of the first to nineteenth aspects in which the updating unit calculates a reward, based on the evaluation data. The learning unit performs learning by using the reward.
A machine learning device according to a twenty-first aspect is the machine learning device according to any one of the first to nineteenth aspects in which the learning unit changes a parameter of a function in accordance with the output of the updating unit a plurality of number of times and outputs, for each function whose parameter is changed, the control condition from the state variable. The updating unit includes an accumulation unit and an assessment unit. The assessment unit assesses the evaluation data and outputs an assessment result. The accumulation unit creates, based on the assessment result, training data from the state variable and the evaluation data and accumulates the training data. The learning unit performs learning, based on the training data accumulated in the accumulation unit.
A machine learning device according to a twenty-second aspect is the machine learning device according to any one of the first to twenty-first aspects in which the learning unit outputs the control condition, based on a trained model obtained as a result of learning.
A magnetic bearing device according to a twenty-third aspect includes the machine learning device according to the twenty-second aspect.
An air conditioner 100 including a magnetic bearing device 10 according to a first embodiment will be described with reference to the drawings.
(1) Overall Configuration of Air Conditioner 100
The condenser 120 and the evaporator 140 are water-refrigerant heat exchangers. The expansion valve 130 is, for example, an electronic expansion valve. A sensor that detects a pressure of the refrigerant, a sensor that detects a temperature of the refrigerant, etc. are provided in the refrigerant circuit 190.
The casing 112 has a cylindrical shape with both ends thereof closed. The casing 112 is disposed such that a cylinder axis of the cylindrical shape is parallel to a horizontal direction. A space inside the casing 112 is partitioned by a wall portion 112a. A space on the right side of the wall portion 112a in
The compression mechanism 113 compresses a fluid. In the present embodiment, the fluid refers to the refrigerant with which the refrigerant circuit 190 is filled. The compression mechanism 113 mainly includes an impeller 113a and an inlet guide vane 113b. The impeller 113a is constituted by a plurality of blades to have a substantially circular conic external shape. The impeller 113a is fixed to one of ends of the shaft 115. The inlet guide vane 113b is provided at a fluid inlet of the compression mechanism 113. The inlet guide vane 113b is a valve for controlling an amount of suctioned fluid.
The motor 114 drives the shaft 115 to rotate. The motor 114 mainly includes a stator 114a and a rotor 114b. The stator 114a is formed to have a cylindrical shape and is fixed inside the casing 112. The rotor 114b is formed to have a columnar shape and is installed inside the stator 114a to be able to rotate. A shaft hole in which the shaft 115 is fixed is formed at a central portion of the rotor 114b. A disk member 115a is fixed to an end of the shaft 115. The disk member 115a is fixed to an end to which the impeller 113a is not fixed.
The motor control device 160 controls power supplied to the motor 114 to start and stop the motor 114 and control a rotational speed. The motor control device 160 mainly includes a converter circuit, an inverter circuit, and a microcomputer. These are mounted on a control board 160a. The microcomputer controls a switching operation of a switching element included in the inverter circuit. Thus, information such as the rotational speed of the motor 114 and a current value of the motor 114 is input to the microcomputer. A temperature sensor is provided on the control board 160a for the purpose of protecting the switching element. When controlling the inverter circuit, the microcomputer uses a detected value obtained by the temperature sensor.
The compressor 110 causes the refrigerant in the condenser 120 to flow inside the motor 114 to cool the motor 114. The motor cooling control device 150 includes an electrical valve 150a and a temperature sensor 150b. The motor cooling control device 150 controls the valve 150a in accordance with a detected value obtained by the temperature sensor 150b to control a flow rate of the refrigerant that flows into the motor 114 from the condenser 120. Consequently, the temperature of the motor 114 can be maintained within a predetermined temperature range in the refrigerant circuit 190. The motor 114 is coupled to the condenser 120 by a pipe with the valve 150a therebetween. The motor 114 is also coupled to the evaporator 140 by a pipe. The refrigerant that has flowed inside the motor 114 and has cooled the motor 114 returns to the evaporator 140. The temperature sensor 150b is attached to the pipe that couples the motor 114 and the evaporator 140 to each other.
The compressor 110 includes two kinds of touchdown bearings which are the radial touchdown bearing 116 and the thrust touchdown bearing 117. The radial touchdown bearing 116 supports the shaft 115 when the magnetic bearing device 10 is in non-conduction, that is, when the shaft 115 is not magnetically levitated.
(2) Detailed Configuration of Magnetic Bearing Device 10
The magnetic bearing device 10 magnetically levitates the shaft 115, which is an object to be supported, to support the shaft 115 in a non-contact manner so that the shaft 115 can rotate. The magnetic bearing device 10 mainly includes one or a plurality of (three in the present embodiment) magnetic bearings 21 and 22, one or a plurality of (five in the present embodiment) displacement sensors 31 and 32, and a control unit 40.
(2-1) Magnetic Bearings 21 and 22
The magnetic bearings 21 and 22 each include a pair of electromagnets that are opposite each other with the object to be supported interposed therebetween. The magnetic bearings 21 and 22 are configured to support the object to be supported by a resultant electromagnetic force of the pairs of electromagnets in a non-contact manner. The magnetic bearings 21 and 22 each control currents that flow through the pair of electromagnets to control a resultant electromagnetic force of the pair of electromagnets, and thereby can control the position of the object to be supported in a direction in which the pair of electromagnets are opposite each other. In the present embodiment, the magnetic bearing device 10 includes two radial magnetic bearings 21 and one thrust magnetic bearing 22 as the magnetic bearings 21 and 22.
(2-1-1) Radial Magnetic Bearing 21
In
Each of the eight coils 65 is wound around a corresponding one of the eight teeth 63 of the magnetic bearing core 61. In this manner, eight electromagnet portions 71 to 78 are formed. In
The winding directions of the coils 65 and the directions of the currents that flow through the coils 65 are set such that attractive forces are generated in the first to fourth electromagnets 51 to 54. In this case, the attractive forces refer to electromagnetic forces that work in a direction for attracting the shaft 115. Specifically, the winding directions of the coils 65 and the directions of the currents that flow through the coils 65 are set such that magnetic fluxes are generated in directions of loop-like arrows illustrated in
(2-1-2) Thrust Magnetic Bearing 22
Specifically, the thrust magnetic bearing 22 includes two magnetic bearing cores 61 and two coils 65. The two magnetic bearing cores 61 are each formed to have a cyclic shape and are disposed on respective sides of the disk member 115a in an axial direction with a predetermined gap therebetween. Circular grooves are formed on opposite surfaces of the magnetic bearing cores 61 for the entire perimeter. Each of the two coils 65 is housed in a corresponding one of the circular grooves of the two magnetic bearing cores 61. In this manner, the first electromagnet 51 and the second electromagnet 52 are configured. The position of the disk member 115a (the position of the shaft 115) in the direction in which the first electromagnet 51 and the second electromagnet 52 are opposite each other (the horizontal direction) can be controlled by controlling currents that flow through the first electromagnet 51 and the second electromagnet 52 and thereby controlling the resultant electromagnetic force that is a resultant force of the electromagnetic force F1 of the first electromagnet 51 and the electromagnetic force F2 of the second electromagnet 52.
The winding directions of the coils 65 and the directions of the currents that flow through the coils 65 are set such that attractive forces are generated in the first electromagnet 51 and the second electromagnet 52. In this case, the attractive forces refer to electromagnetic forces that work in a direction for attracting the disk member 115a. Specifically, the winding directions of the coils 65 and the directions of the currents that flow through the coils 65 are set such that magnetic fluxes are generated in directions of loop-like arrows illustrated in FIG. 6.
(2-2) Displacement Sensors 31 and 32
Each of the displacement sensors 31 and 32 is an eddy-current-type displacement sensor. Each of the displacement sensors 31 and 32 is provided to correspond to a pair of electromagnets (a pair of the first electromagnet 51 and the second electromagnet 52) that are opposite each other with an object to be supported interposed therebetween. The displacement sensors 31 and 32 detect an amount of displacement of the object to be supported from reference positions of the displacement sensors 31 and 32. The reference positions of the displacement sensors 31 and 32 are, for example, positions of sensor heads of the displacement sensors 31 and 32 or a center position in the direction in which the pair of electromagnets are opposite each other. The center position in the direction in which the pair of electromagnets are opposite each other is, for example, a center position between the first electromagnet 51 and the second electromagnet 52. In the present embodiment, the magnetic bearing device 10 includes radial displacement sensors 31 and a thrust displacement sensor 32 as the displacement sensors 31 and 32.
(2-2-1) Radial Displacement Sensor 31
Two radial displacement sensors 31 are provided for each of the radial magnetic bearings 21. That is, the magnetic bearing device 10 includes four radial displacement sensors 31. The radial displacement sensor 31 detects an amount of displacement from the reference position of the radial displacement sensor 31. The reference position of the radial displacement sensor 31 is, for example, a position of the sensor head of the radial displacement sensor 31 or the center position of the shaft 115. At each of the radial magnetic bearings 21, one of the radial displacement sensors 31 detects an amount of displacement in the direction (X-axis direction) in which the first electromagnet 51 and the second electromagnet 52 of the radial magnetic bearing 21 are opposite each other. The X-axis direction is a radial direction of the radial magnetic bearing 21. The other radial displacement sensor 31 detects an amount of displacement in the direction (Y-axis direction) in which the third electromagnet 53 and the fourth electromagnet 54 of the radial magnetic bearing 21 are opposite each other. The Y-axis direction is a radial direction of the radial magnetic bearing 21 that is orthogonal to the X-axis direction.
The radial displacement sensor 31 detects an amount of displacement from the reference position of the radial displacement sensor 31 at a predetermined time interval. The predetermined time interval is, for example, 40 μs.
(2-2-2) Thrust Displacement Sensor 32
The magnetic bearing device 10 includes one thrust displacement sensor 32. The thrust displacement sensor 32 detects an amount of displacement in the direction (Z-axis direction) in which the first electromagnet 51 and the second electromagnet 52 of the thrust magnetic bearing 22 are opposite each other. The Z-axis direction is a direction along an axis of the shaft 115. The thrust displacement sensor 32 detects an amount of displacement from the reference position of the thrust displacement sensor 32. The reference position of the thrust displacement sensor 32 is, for example, a position of the sensor head of the thrust displacement sensor 32 or the center position of the disk member 115a.
The thrust displacement sensor 32 detects an amount of displacement from the reference position of the thrust displacement sensor 32 at a predetermined time interval. The predetermined time interval is, for example, 40 μs.
(2-3) Control Unit 40
The control unit 40 controls the one or a plurality of magnetic bearings 21 and 22 such that the object to be supported (the shaft 115 and the disk member 115a) is supported in a non-contact manner. The control unit 40 controls levitation of the object to be supported, by controlling electromagnetic forces of the respective magnetic bearings 21 and 22. Specifically, the control unit 40 is constituted by a microcomputer and a memory device or the like that stores software for causing the microcomputer to operate. The control unit 40 includes a radial control unit 41 and a thrust control unit 42.
(2-3-1) Radial Control Unit 41
The radial control unit 41 controls levitation of the shaft 115 by using the two radial magnetic bearings 21. In this levitation control, the radial control unit 41 controls the position of the shaft 115 in each of the X-axis direction and the Y-axis direction. Specifically, on the basis of the amounts of displacement detected by the radial displacement sensors 31 in each direction of the X-axis direction and the Y-axis direction, the radial control unit 41 causes currents (control currents) to flow through the coils 65 that constitute the first to fourth electromagnets 51 to 54 of the radial magnetic bearings 21 such that a difference value between the position of the shaft 115 and a predetermined position command value converges to zero. The radial control unit 41 outputs voltages (voltage command values) to be applied to the respective coils 65 such that the control currents flow through the respective coils 65.
(2-3-2) Thrust Control Unit 42
The thrust control unit 42 controls levitation of the disk members 115a by using the thrust magnetic bearing 22. In this levitation control, the thrust control unit 42 controls the position of the disk member 115a in the Z-axis direction. Specifically, on the basis of the amount of displacement detected by the thrust displacement sensor 32 in the Z-axis direction, the thrust control unit 42 causes currents (control currents) to flow through the coils 65 that constitute the first and second electromagnets 51 and 52 of the thrust magnetic bearing 22 such that a difference value between the position of the disk member 115a and a predetermined position command value converges to zero. The thrust control unit 42 outputs voltages (voltage command values) to be applied to the respective coils 65 such that the control currents flow through the respective coils 65.
(2-4) Position Control System of Magnetic Bearing Device 10
The magnetic bearing device 10 includes a position control system for the shaft 115. In the position control system, the control unit 40 controls the position of the shaft 115 supported in a non-conduct manner, by controlling electromagnetic forces of the respective magnetic bearings 21 and 22.
A technique in which the control unit 40 (the radial control unit 41 and the thrust control unit 42) controls electromagnetic forces of the two radial magnetic bearings 21 and the one thrust magnetic bearing 22 to control the position of the shaft 115 will be described next. In the control of the position of the shaft 115, the position of the shaft 115 is controlled such that the axis of the shaft 115 is located at the center of a movable limit area of the shaft 115 in an X-Y plane including the X axis and the Y axis when the shaft 115 is viewed along the Z axis. The movable limit area of the shaft 115 is an area on the inner side of the position where the shaft 115 touches the radial touchdown bearing 116. Specifically, for example, the movable limit area of the shaft 115 is a circular area having a radius of 250 μm. When the shaft 115 rotates, the shaft 115 swings in a range of 10 μm or less from the axis thereof, for example. An allowable movable area of the shaft 115 is, for example, a circular area having a radius of 83 μm. The allowable movable area of the shaft 115 is a range in which the shaft 115 is allowed to swing apart from the axis thereof when the shaft 115 rotates.
In the present embodiment, the control unit 40 controls the position of the shaft 115 by using a machine learning technique. Now, an operation of a control unit of the related art that does not use a machine learning technique will be described for comparison.
The position detection unit 941 detects a position of the shaft 115 in the X-Y plane. The position detection unit 941 receives output values of the displacement sensors 31 and 32. The output values of the displacement sensors 31 and 32 include the position of the shaft 115 in the X-axis direction and the position of the shaft 115 in the Y-axis direction. The position detection unit 941 receives information regarding the operation of the air conditioner 100 from the external device 60. On the basis of the output values received from the displacement sensors 31 and 32 and the information (external information) received from the external device 60, the position detection unit 941 outputs a detected position value that is information regarding the position of the shaft 115.
On the basis of the information regarding the position of the shaft 115 detected by the position detection unit 941 and the external information, the position control unit 942 outputs current command values in accordance with a predetermined control rule such that the shaft 115 rotates within the allowable movable area. The current command values indicate currents to be input to the coils 65 of the electromagnets of the magnetic bearings 21 and 22.
On the basis of the current command values output by the position control unit 942, the detected values of the currents flowing through the coils 65 of the magnetic bearings 21 and 22, and the external information, the current control unit 943 outputs voltage command values to be applied to the coils 65 of the magnetic bearings 21 and 22. The voltage command values indicate voltages to be applied to the coils 65 of the magnetic bearings 21 and 22.
On the basis of the output values of the control-target device 50 and the external device 60, the control unit 940 outputs voltage command values in accordance with a predetermined control rule such that the shaft 115 rotates within the allowable movable area.
Control of the position of the shaft 115 performed by the control unit 40 according to the present embodiment will be described next.
(2-4-1) State Variable Acquisition Unit 43
The state variable acquisition unit 43 observes the state of the magnetic bearing device 10 while the magnetic bearing device 10 is in operation and acquires information regarding the observed state as a state variable. That is, the state variable acquisition unit 43 receives the state of the magnetic bearing device 10 and outputs the state variable. The state variable includes at least one parameter correlating with the position of the shaft 115. In the present embodiment, the state variable is the output values of the displacement sensors 31 and 32. The state variable is used as training data in supervised learning.
Here, the position of the shaft 115 refers to at least one of coordinate values that restrict five degrees of freedom except for an angle about the axis (Z-axis) of the shaft 115. In one example, the five degrees of freedom are coordinate values of the position of the center of gravity of the shaft 115 in the X-axis direction, the Y-axis direction, and the Z-axis direction, an angle of the shaft 115 about the X-axis, and an angle of the shaft 115 about the Y-axis. In another example, the five degree of freedom are coordinate values of the two radial magnetic bearings 21 in the X-axis direction and the Y-axis direction and coordinate values of the center of gravity of the two radial magnetic bearings 21 in the Z-axis direction. In a specific example, the position of the center of gravity of the shaft 115 in the X-Y plane may be used as the position of the shaft 115.
(2-4-2) Evaluation Data Acquisition Unit 44
The evaluation data acquisition unit 44 evaluates to-be-assessed data and acquires evaluation data. The evaluation data is used as training data in supervised learning. The evaluation data includes at least one parameter from among a measured value of the position of the shaft 115, a target value of the position of the shaft 115, and a parameter correlating with a deviation of the position of the shaft 115 from the target value. For example, the evaluation data acquisition unit 44 inputs to-be-assessed data to a predetermined evaluation function and acquires an output value of the evaluation function as the evaluation data. That is, the evaluation data acquisition unit 44 receives the to-be-assessed data and outputs the evaluation data. The to-be-assessed data is, for example, data that is usable in evaluation of the control of the position of the shaft 115. In the present embodiment, the to-be-assessed data represents the center position (position command value) of the movable range of the shaft 115 and the detected value (detected position value) of the position of the shaft 115. The position command value is a target value of the position of the shaft 115. The detected position value is, for example, a detected value of the position of the shaft 115, which is obtained from the output values of the displacement sensors 31 and 32.
In this case, the control unit 40 controls the position of the shaft 115 such that the detected position value approaches the position command value as much as possible. Thus, the evaluation data acquisition unit 44 uses the to-be-assessed data to acquire, as the evaluation data, a deviation (shaft position deviation) of the detected position value relative to the position command value. It is more preferable that the shaft position deviation is closer to zero. In this case, the input values of the evaluation function are the position command value and the detected position value, and the output value of the evaluation function is the shaft position deviation.
The evaluation function may be a function that regards the shaft position deviation in a predetermined range as a constant value. The predetermined range is a range near zero, and the constant value is zero. That is, from the perspective of controlling the position of the shaft 115, the shaft position deviation just needs to be near zero and need not converge at zero.
The shaft position deviation is, for example, an absolute value of a distance between the position command value and the detected position value. However, the shaft position deviation may be a root mean square (RMS) or mean square (MS) of the distance from the present time point to a predetermined past time point, or may be an overshoot amount or setting time of the distance in the case where a disturbance is forcibly added. The overshoot amount is an excess from the position command value in the case where the detected position value exceeds (overshoots) the position command value in the process of the detected position value approaching the position command value. The setting time is a time up to a time point at which the detected position value enters a predetermined allowable range near the position command value and no longer exits from the allowable range thereafter in the process of the detected position value approaching the position command value.
(2-4-3) Learning Unit 45
The learning unit 45 learns a condition (position control condition) for appropriately controlling the position of the shaft 115 by using a technique of supervised learning or reinforcement learning. The learning unit 45 learns the position control condition in accordance with an output of the updating unit 47. An operation of the learning unit 45 in the case of using supervised learning will be described next.
The learning unit 45 uses, as learning data, a pair of the state variable acquired by the state variable acquisition unit 43 in advance and the evaluation data acquired by the evaluation data acquisition unit 44 in advance. In the present embodiment, the state variable is the output values of the displacement sensors 31 and 32, and the evaluation data is the shaft position deviation. The training data used by the learning unit 45 in learning is a pair of a state variable and evaluation data.
The learning unit 45 learns the position control condition by adjusting parameters of a discriminant function, which is a mapping from the state variable to the evaluation data, in accordance with the output of the updating unit 47. The purpose of learning performed by the learning unit 45 is to adjust parameters of the discriminant function by using learning data so that correct or appropriate evaluation data can be obtained from a new state variable. The discriminant function whose parameters are sufficiently adjusted by the learning unit 45 corresponds to a trained model.
As illustrated in
In addition, learning performed by the learning unit 45 is classified into online learning and batch learning depending on a model updating timing. The online learning is a technique for updating an existing model by using only newly acquired data every time data necessary for updating of the model is acquired. The batch learning is a technique for collectively processing all pieces of data subjected to learning and generating a model at a predetermined timing after all the pieces of data necessary for updating of the model is collected.
(2-4-4) Updating Unit 47
The updating unit 47 updates a learning state of the learning unit 45 by using the evaluation data. The learning unit 45 changes the parameters of the discriminant function in accordance with the output (training data) of the updating unit 47 a plurality of number of times and outputs, for each discriminant function whose parameters are updated, a control condition (position control condition) from a state variable.
The updating unit 47 includes an accumulation unit 47a and an assessment unit 47b. The assessment unit 47b assesses the evaluation data and outputs an assessment result. Based on the assessment result of the evaluation data, the accumulation unit 47a creates training data from the state variable and the evaluation data and accumulates the training data. The learning unit 45 learns the control condition on the basis of the training data accumulated in the accumulation unit 47a.
(2-4-5) Determining Unit 46
On the basis of the trained model obtained as a result of learning performed by the learning unit 45, the determining unit 46 determines a condition (position control condition) for appropriately controlling the position of the shaft 115 from a new state variable correlating with the position of the shaft 115 and outputs the condition. The state variable correlating with the position of the shaft 115 is the output values of the displacement sensors 31 and 32. The position control condition is information for driving the magnetic bearing device 10. In the present embodiment, the position control condition is currents or voltages for driving the magnetic bearing device 10 and is, specifically, voltages (voltage command values) to be applied to the coils 65 of the magnetic bearings 21 and 22.
In
In
In the configurations illustrated in
(2-4-6) Supervised Learning
Supervised learning that is a machine learning technique used by the learning unit 45 will be described. Supervised learning is a technique for generating an output corresponding to unseen input data by using training data. In supervised learning, learning data and a discriminant function are used. The learning data is a set of pairs of input data and training data corresponding to the input data. The input data is, for example, a feature vector in a feature space. The training data is, for example, parameters regarding discrimination, classification, and evaluation of the input data. The discriminant function represents a mapping from input data to an output corresponding to the input data. Supervised learning is a technique of adjusting parameters of the discriminant function by using learning data given in advance such that an error between an output of the discriminant function and training data reduces. Models or algorithms used in supervised learning include a regression analysis, a time-series analysis, a decision tree, a support vector machine, a neural network, ensemble learning, etc.
The regression analysis is, for example, a linear regression analysis, a multiple regression analysis, or a logistic regression analysis. The regression analysis is a technique for applying a model between input data (explanatory variable) and training data (response variable) by using the least squares method or the like. The dimension of the explanatory variable is 1 in the linear regression analysis and 2 or higher in the multiple regression analysis. In the logistic regression analysis, a logistic function (sigmoid function) is used as the model.
In the time-series analysis is, for example, an AR model (autoregressive model), an MA (moving average model), an ARMA model (autoregressive moving average model), an ARIMA model (autoregressive integrated moving average model), an SARIMA model (seasonal autoregressive integrated moving average model), or a VAR model (vector autoregressive model). The AR, MA, ARMA, and VAR models represent a stationary process. The ARIMA and SARIMA models represent non-stationary process. The AR model is a model in which a value regularly changes as time passes. The MA model is a model in which a fluctuation in a certain period is constant. For example, in the MA model, a value at a certain time point is determined by a moving average before the time point. The ARMA model is a combined model of the AR model and the MA model. The ARIMA model is a model in which the ARMA model is applied to a difference between preceding and following values in consideration of a middle-term or long-term trend (increasing or decreasing trend). The SARIMA model is a model in which the ARIMA model is applied in consideration of a middle-term or long-term seasonal fluctuation. The VAR model is a model in which the AR model is expanded to handle multiple variables.
The decision tree is a model for generating complex discrimination boundaries by combining a plurality of discriminators. Details of the decision tree will be described later.
The support vector machine is an algorithm for generating a two-class linear discriminant function. Detailed of the support vector machine will be described later.
The neural network is obtained by modeling a network formed by connecting neurons of the human cranial nervous system by synapses. The neural network means a multi-layer perceptron that uses error backpropagation in a narrow sense. Examples of the typical neural network include a convolutional neural network (CNN) and a recurrent neural network (RNN). The CNN is a type of a non-fully-connected (coarsely-connected) forward-propagation neural network. The RNN is a type of the neural network having a directed cycle. The CNN and the RNN are used in audio/image/moving image recognition and natural language processing.
The ensemble learning is a technique for improving the discrimination performance by combining a plurality of models. The technique used in the ensemble learning is, for example, bagging, boosting, or a random forest. Bagging is a technique for training a plurality of models by using bootstrap sampling of learning data and determining evaluation for new input data by a majority vote of the plurality of models. Boosting is a technique for weighting learning data in accordance with a bagging-based learning result so that incorrectly discriminated learning data is learned in a more concentrated manner than correctly discriminated learning data. The random forest is a technique for generating a decision tree group (random forest) constituted by a plurality of decision trees having a low correlation in the case where the decision tree is used as the model. Details of the random forest will be described later.
In the present embodiment, the neural network, the support vector machine, the decision tree, and the random forest, which will be described next, are used as preferable models or algorithms of supervised learning used by the learning unit 45.
(2-4-6-1) Neural Network
[Math. 1]
y=φ(Σi=1nxiwi−θ) (1)
In Expression (1), all of the input x, the output y, and the weight w denote vectors, θ denotes a bias, and φ denotes an activation function. The activation function is a non-linear function and is, for example, a step function (formal neuron), a simple perceptron, a sigmoid function, or a ReLU (ramp function).
In the three-layer neural network illustrated in
In the first layer L1, the input vectors x1, x2, and x3 are multiplied by corresponding weights and are input to three neurons N11, N12, and N13. In
In the second layer L2, the feature vectors z11, z12, and z13 are multiplied by corresponding weights and are input to two neurons N21 and N22. In
In the third layer L3, the feature vectors z21 and z22 are multiplied by corresponding weights and are input to three neurons N31, N32, and N33. In
There are a learning mode and a prediction mode in operation of the neural network. In the learning mode, the neural network learns the weights W1, W2, and W3 by using a learning dataset. In the prediction mode, the neural network performs prediction such as discrimination by using the parameters of the learned weights W1, W2, and W3.
The weights W1, W2, and W3 can be learned through error backpropagation (backpropagation), for example. In this case, information regarding the error is transferred from the output side toward the input side, that is, from the right side toward the left side in
The neural network can be configured to have more than three layers. A machine learning technique using a neural network having four or more layers is known as deep learning.
(2-4-6-2) Support Vector Machine
The support vector machine (SVM) is an algorithm that determines a two-class linear discriminant function that implements the maximum margin.
In
[Math. 2]
D
L={(ti,xi)} (i=1, . . . ,N) (2)
The learning dataset DL is a set of pairs of learning data (feature vector) xi and training data ti={−1, +1}. The number of elements of the learning dataset DL is N. The training data ti indicates which of the classes C1 and C2 the learning data xi belongs to. The class C1 is a class denoted by ti=−1, and the class C2 is a class denoted by ti=+1.
A normalized linear discriminant function that holds for all the pieces of learning data xi in
[Math. 3]
In the case of ti=+1,wTxi+b≥+1 (3-1)
In the case of ti=−1,wTxi+b≤−1 (3-2)
These two Expressions are represented by one Expression (4) below.
[Math. 4]
t
i(wT xi+b)≥1 (4)
In the case where each of the discrimination hyperplanes P1 and P2 is represented by Expression (5) below, the margin d thereof is represented by Expression (6).
In Expression (6), ρ(w) denotes the minimum value of a difference between lengths obtained by projecting the learning data xi of the class C1 and the learning data xi of the class C2 onto a normal vector w of each of the discrimination hyperplanes P1 and P2. The terms “min” and “max” in Expression (6) indicate points denoted by reference signs “min” and “max” in
[Math. 6]
t
i(wT xi+b)−1+ξi≥0 (7)
The slack variable ξi is used only at the time of learning and takes a value of 0 or greater.
In the case where the slack variable ξi is equal to 0, Expression (7) is equivalent to Expression (4). At this time, as indicated by blank circles or squares in
In the case where the slack variable ξi is greater than 0 and less than or equal to 1, as indicated by a hatched circle or square in
In the case where the slack variable ξi is greater than 1, as indicated by black circles or squares in
By using Expression (7) in which the slack variable ξi is introduced, the learning data xi can be discriminated in this manner also in the case where pieces of learning data of two classes are linearly inseparable.
From the description above, the sum of the slack variable ξi for all the pieces of learning data xi indicates the upper limit of the number of pieces of learning data xi incorrectly recognized. Here, an evaluation function Lp is defined by Expression (8) below.
[Math. 7]
L
p(w,ξ)=½wTw+CΣi=1Nξi (8)
The learning unit 45 finds a solution (w, ξ) that minimizes an output value of the evaluation function Lp. In Expression (8), a parameter C of the second term denotes a strength of a penalty for incorrect recognition. As the parameter C increases, a solution for prioritizing a reduction in the number of incorrect recognition (second term) over a norm (first term) of w is determined.
(2-4-6-3) Decision Tree
The decision tree is a model for obtaining a complex discrimination boundary (such as a non-linear discriminant function) by combining a plurality of discriminators. A discriminator is, for example, a rule regarding a magnitude relationship between a value on a certain feature axis and a threshold. Examples of a method for configuring a decision tree from learning data include a divide and conquer algorithm for repeatedly finding a rule (discriminator) for dividing a feature space into two.
In the process of configuring an appropriate decision tree by using the divide and conquer algorithm, it is necessary to consider three points (a) to (c) below.
(a) Selection of a feature axis and a threshold for configuring a discriminator.
(b) Decision about a terminal node. For example, the number of classes to which the learning data included in one terminal node belongs. Alternatively, selection of how far decision tree pruning (obtaining subtrees having the same root node) is to be performed.
(c) Assignment of a class to a terminal node by a majority vote.
In a decision-tree-based learning method, for example, CART, ID3, and C4.5 are used. CART is a technique for generating a binary tree as a decision tree by dividing, for each feature axis, a feature space into two at each of nodes other than terminal nodes as illustrated in
In learning using a decision tree, to improve the learning data discrimination performance, it is important to divide the feature space at an appropriate division candidate point at a non-terminal node. An evaluation function called a diversity index may be used as a parameter for evaluating the division candidate point of the feature space. As a function I(t) representing the diversity index of a node t, for example, parameters represented by Expressions (9-1) to (9-3) below are used. K denotes the number of classes.
In Expressions above, a probability P(Ci|t) is a posteriori probability of a class Ci at the node t, that is, a probability of data of the class Ci being selected at the node t. In the second part of Expression (9-3), a probability P(Cj|t) is a probability of data of the class Ci being incorrectly discriminated to be in a j-th i-th) class. Thus, the second part represents an error rate at the node t. The third part of Expression (9-3) represents a sum of variances of the probability P(Ci|t) for all the classes.
In the case of dividing a node by using the diversity index as the evaluation function, for example, a technique of pruning the decision tree up to an allowable range that is determined by an error rate at the node and by the complexity of the decision tree.
(2-4-6-4) Random Forest
The random forest is a type of ensemble learning and a technique for enhancing the discrimination performance by combining a plurality of decision trees. In learning using the random forest, a group (random forest) of a plurality of decision trees having a low correlation is generated. The following algorithm is used in generation of the random forest and discrimination using the random forest.
(1) The following is repeated while m=1 to M.
(a) From N d-dimensional learning data, m bootstrap samples Zm are generated.
(b) By using Zm as learning data, each node t is divided in the following procedure to generate m decision trees.
In learning using the random forest, a correlation between decision trees can be reduced by selecting at random a predetermined number of features for use in discrimination at individual non-terminal nodes of the decision trees.
(2-4-7) Reinforcement Learning
Reinforcement learning that is a machine learning technique used by the learning unit 45 will be described. Reinforcement learning is a technique of learning a policy that maximizes a reward that serves as a result of a series of actions. Models or algorithms used in reinforcement learning include Q-learning or the like. Q-learning is a technique for learning a Q-value that represents a value of selecting an action a in a state s. In Q-learning, an action a with the highest Q-value is selected as an optimum action. To determine a high Q-value, an agent of the action a is rewarded for the action a selected in the state s. In Q-learning, the Q-value is updated by using Expression (10) below every time the agent takes an action.
In Expression (10), Q(st, at) is the Q-value that represents a value of the agent in a state st selecting an action at. Q(st, at) is a function (action-value function) having a state s and an action a as parameters. st denotes a state of the agent at a time t. at denotes an action of the agent at the time t. α denotes a learning coefficient. α is set such that the Q-value converges to an optimum value according to Expression (10). rt+1 denotes a reward obtained when the agent transitions to a state st+1. γ denotes a discount factor. γ is a constant that is greater than or equal to 0 and less than equal to 1. The term including max is a product obtained by multiplying by γ the Q-value in the case of selecting the action a with the highest Q-value in the environment st+1. The Q-value determined by using the action-value function is an expected value of the reward to be obtained by the agent.
(2-4-8) Other Machine Learning Techniques
The learning unit 45 may use various machine learning techniques. Machine learning techniques that may be used by the learning unit 45 include unsupervised learning, semi-supervised learning, transductive learning, multi-task learning, transfer learning, etc. in addition to the supervised learning and the reinforcement learning already described. The learning unit 45 may use these techniques in combination.
Unsupervised learning is a technique of grouping (clustering) input data on the basis of a predetermined statistical property without using training data. Models or algorithms used in unsupervised learning include k-means clustering, the Ward's method, the principal component analysis, etc. The k-means clustering is a technique in which a process of assigning a cluster to each piece of input data at random, calculating the center of each cluster, and re-assigning each piece of input data to a cluster having the nearest center is repeated. The Ward's method is a technique in which a process of assigning each piece of data to a cluster to minimize a distance from each piece of input data of a cluster to the mass center of the cluster is repeated. The principal component analysis is a technique of a multivariate analysis that generates variables called principal components having the lowest correlation from among a plurality of correlated variables.
The semi-supervised learning is a technique of performing learning by using both input data not assigned corresponding training data (unlabeled data) and input data (labeled data) assigned corresponding training data.
The transductive learning is a technique of generating an output corresponding to unlabeled data for use in learning and not generating an output corresponding to unseen input data in semi-supervised learning.
The multi-task learning is a technique of sharing information among a plurality of related tasks and causing these tasks to simultaneously perform learning to obtain a factor that is common to the tasks and increase the prediction accuracy.
The transfer learning is a technique of applying a model trained in advance in a certain domain to another domain to increase the prediction accuracy.
(2-4-9) Data Used in Learning
Description will be given of data used by the control unit 40 to generate a trained model by using a machine learning technique in the present embodiment.
In the case where the control unit 40 uses the technique of supervised learning, the control unit 40 uses pieces of data such as the state variable, the evaluation data, and the control condition.
The state variable includes at least one parameter correlating with the position of the shaft 115. In the present embodiment, the state variable acquisition unit 43 acquires, as the state variable, the output values of the displacement sensors 31 and 32.
The evaluation data includes at least one parameter correlating with a deviation of the position of the shaft 115 from the target value. In the present embodiment, the evaluation data acquisition unit 44 acquires, as the evaluation data, the shaft position deviation that is a difference between the detected value of the position of the shaft 115 and the target value of the position of the shaft 115. The detected value is a value converted from the output values of the displacement sensors 31 and 32. The target value is the center position of the movable range of the shaft 115.
The control condition is a condition that is learned by the learning unit 45 and is for appropriately controlling the position of the shaft 115. In the present embodiment, the learning unit 45 learns the control condition for reducing the shaft position deviation. The determining unit 46 determines, as the control condition, at least one of voltages (voltage command values) to be applied to the coils 65 of the electromagnets of the magnetic bearings 21 and 22 and currents (current command values) that flow through the coils 65.
In addition, in the case where the control unit 40 uses the technique of reinforcement learning, the control unit 40 uses the state variable and the reward condition. The state variable is the same as the state variable used in the case where the control unit 40 uses the technique of supervised learning. The control unit 40 calculates a reward from the shaft position deviation on the basis of a predetermined reward condition. In the present embodiment, the reward condition is set such that the reward increases in the case where the shaft position deviation is small and the reward decreases or does not change in the case where the shaft position deviation is large. The reward condition is, for example, a condition for calculating a reward on the basis of the evaluation data.
(3) Effects
The magnetic bearing device 10 included in the air conditioner 100 according to the present embodiment includes a position control system for controlling the position of the magnetically levitated shaft 115 by adjusting voltages (voltage command values) to be applied to coils of magnetic bearings. The position control system of the related art adjusts the voltage command values or the like on the basis of a predetermined control rule. In this case, appropriate voltage command values are not obtained because of a device-to-device quality variation, a temporal change of the system, and the like. Consequently, the stability of the control of levitation of the shaft may decrease or the shaft may touch a touchdown bearing if a large disturbing force occurs during levitation.
In the magnetic bearing device 10 according to the present embodiment, the control unit 40 having a learning function learns a condition (position control condition) for appropriately controlling the position of the shaft 115 by using the technique of supervised learning on the basis of the state variable correlating with the position of the shaft 115 and the evaluation data regarding the position of the shaft 115. Since the displacement sensors 31 and 32 detect the position of the shaft 115 at a relatively short time interval (for example, every 40 μs), the control unit 40 can control the position of the shaft 115 at a relatively short time interval. Thus the control unit 40 can maintain the stability of control of the position of the shaft 115 for a long period. Consequently, a decrease in the stability of control of levitation of the shaft 115 and the occurrence of a contact of the shaft 115 to the touchdown bearings 116 and 117 due to a disturbing force, which are caused by a quality variation of the magnetic bearing device 10, a temporal change of the system, and the like, can be suppressed.
In the first embodiment, the state variable acquisition unit 43 acquires, as the state variable, the output values of the displacement sensors 31 and 32. The output values of the displacement sensors 31 and 32 are parameters correlating with the position of the shaft 115.
In the present embodiment, the state variable acquisition unit 43 acquires, as the state variable, a parameter correlating with the position of the shaft 115 other than the output values of the displacement sensors 31 and 32. Thus, the present embodiment is applicable to a sensorless-type magnetic bearing device not including the displacement sensors 31 and 32.
Specifically, the state variable acquisition unit 43 acquires, as the state variable, various kinds of information necessary for estimation of the position of the shaft 115. The information necessary for estimation of the position of the shaft 115 include at least two of detected current values, detected voltage values, detected magnetic flux values, current command values, and voltage command values of the electromagnets of the magnetic bearings 21 and 22. The detected current values are detected values of currents flowing through the coils 65 of electromagnets. The detected voltage values are detected values of voltages applied to the coils 65 of electromagnets. The detected magnetic flux values are detected values of magnetic fields generated by the coils 65 of electromagnets. The detected magnetic flux values are, for example, output values of Hall sensors which are non-contact-type magnetic sensors. The current command values are current values controlled by the control unit 40 and input to the coils 65 of the electromagnets. The voltage command values are voltage values controlled by the control unit 40 and input to the coils 65 of the electromagnets.
Examples of the information necessary for estimation of the position of the shaft 115 include pieces of information (a) to (c) below.
(a) Voltage command values and detected current values
(b) Current command values and detected voltage values
(c) Detected current values and detected magnetic flux values
In the case of using the information (a), the state variable acquisition unit 43 receives the voltage command values and acquires the detected current values to estimate the position of the shaft 115.
In the case of using the information (b), the state variable acquisition unit 43 receives the current command values and acquires the detected voltage values to estimate the position of the shaft 115.
In the case of using the information (a) and (b), the state variable acquisition unit 43 uses a property that the currents (or the current derivative values) and the voltages of the coils 65 correlate with the position of the shaft 115 to estimate the position of the shaft 115. The currents or voltages in a sinusoidal wave shape or a step shape may be input.
In the case of using the information (c), the state variable acquisition unit 43 uses a property that the detected current values and the detected magnetic flux values correlate with the position of the shaft 115 to estimate the position of the shaft 115.
The evaluation data acquisition unit 44 acquires, as the evaluation data, a shaft position deviation that is a difference between the estimated position of the shaft 115 converted from the state variable and the target value the position of the shaft 115.
The learning unit 45 learns the control condition for reducing the shaft position deviation.
The determining unit 46 determines, as the control condition, at least one of voltages (voltage command values) to be applied to the coils 65 of the electromagnets of the magnetic bearings 21 and 22 and currents (current command values) that flow through the coils 65.
In the first and second embodiments, the control unit 40 having a learning function is used instead of the control unit 940 of the related art illustrated in
However, only part of functions from among the position detection unit 941, the position control unit 942, and the current control unit 943 illustrated in
The present embodiment relates to a configuration in which only the position detection unit 941 of the control unit 940 of the related art has the learning function.
In the first and second embodiments, the evaluation data acquisition unit 44 uses, as the to-be-assessed data, the target value (position command value) of the position of the shaft 115 and the detected value (detected position value) of the position of the shaft 115.
In the present embodiment, the evaluation data acquisition unit 44 uses, as the to-be-assessed data, a target value of a parameter (correlated parameter) correlating with the position of the shaft 115 and a detected value of the correlated parameter, instead of the position command value and the detected position value. As the correlated parameter, the state variable acquired by the state variable acquisition unit 43 in the first and second embodiments is used. For example, the evaluation data acquisition unit 44 may use, as the correlated parameter, the output values of the displacement sensors 31 and 32 described in the first embodiment or the information necessary for estimation of the position of the shaft 115 described in the second embodiment.
For example, the evaluation data acquisition unit 44 uses the to-be-assessed data to acquire, as the evaluation data, a deviation (correlated parameter deviation) of the detected value of the correlated parameter relative to the target value of the correlated parameter.
The learning unit 45 learns the control condition for reducing the correlated parameter deviation.
The determining unit 46 determines the detected position value as the condition (position control condition) for appropriately controlling the position of the shaft 115.
In the present embodiment, the learning unit 45 may learn the position control condition at a particular time point. The particular time point is a time point at which the position of the shaft 115 can be identified or estimated on the basis of the correlated parameter. Specifically, the particular time point is a time point at which there is a certain constraint for the position of the shaft 115 or a force applied to the shaft 115 is known. The time point at which there is a certain constraint for the position of the shaft 115 is, for example, a time point at which the shaft 115 is in contact with the touchdown bearing 116 or 117. The time point at which the force applied to the shaft 115 is known is, for example, a time point at which the shaft 115 is falling freely.
In the present embodiment, the evaluation data acquisition unit 44 may acquire, as the evaluation data, the true value of the position of the shaft 115 instead of the correlated parameter deviation. The detected position value included in the to-be-assessed data may be used as the true value of the position of the shaft 115. Note that the position of the shaft 115 identified or estimated at the above-described “particular time point” may be used as the true value of the position of the shaft 115.
The present embodiment relates to a configuration in which only the position control unit 942 of the control unit 940 of the related art has the learning function.
In the present embodiment, the state variable acquisition unit 43 uses, as the state variable, the target value (position command value) of the position of the shaft 115 and the detected value (detected position value) of the position of the shaft 115.
The evaluation data acquisition unit 44 uses, as the to-be-assessed data, the position command value and the detected position value. The evaluation data acquisition unit 44 acquires, as the evaluation data, the shaft position deviation that is a difference between the position command value and the detected position value.
The learning unit 45 learns the control condition for reducing the shaft position deviation.
The determining unit 46 determines, as the condition (position control condition) for appropriately controlling the position of the shaft 115, at least one of voltages (voltage command values) to be applied to the coils 65 of the electromagnets of the magnetic bearings 21 and 22 and currents (current command values) that flow through the coils 65.
The present embodiment relates to a configuration in which only the current control unit 943 of the control unit 940 of the related art has the learning function.
In the present embodiment, the state variable acquisition unit 43 acquires, as the state variable, currents (current command values) flowing through the coils 65 of the electromagnets of the magnetic bearings 21 and 22 and the detected value (detected position value) of the position of the shaft 115.
The evaluation data acquisition unit 44 uses, as the to-be-assessed data, the current command values and the detected position value. The evaluation data acquisition unit 44 acquires a quantity (response level) relating to responsivity of current control. The response level is a parameter that is more preferable if the value is closer to zero. The response level may be, for example, an absolute value, root mean square (RMS), or mean square (MS) of a deviation of the detected current value relative to the current command value, or may be an overshoot amount or setting time of the deviation in the case where a disturbance is forcibly added.
The learning unit 45 learns the control condition for reducing the response level.
The determining unit 46 determines, as the condition (position control condition) for appropriately controlling the position of the shaft 115, voltages (voltage command values) to be applied to the coils 65 of the electromagnets of the magnetic bearings 21 and 22.
—Modifications—
Modifications of at least part of the first to fifth embodiments will be described below.
(1) Modification A
In the present modification, the evaluation data acquisition unit 44 in the first, second, and fifth embodiments further uses, as the to-be-assessed data, parameters correlating with current values for driving the magnetic bearings 21 and 22. The evaluation data acquisition unit 44 further acquires, as the evaluation data, the current values for driving the magnetic bearings 21 and 22. The updating unit 47 causes the learning unit 45 to perform learning so as to make the current values for driving the magnetic bearings 21 and 22 less than or equal to a predetermined value. The predetermined value is, specifically, an allowable current value of an inverter for driving the magnetic bearings 21 and 22. In the present modification, the occurrence of a failure of an inverter can be suppressed in the case where the specifications of the inverter are set.
(2) Modification B
In the present modification, the evaluation data acquisition unit 44 in the first, second, and fifth embodiments further uses, as the to-be-assessed data, a parameter correlating with a temperature of the inverter for driving the magnetic bearings 21 and 22. The evaluation data acquisition unit 44 further acquires, as the evaluation data, the temperature of the inverter for driving the magnetic bearings 21 and 22. The updating unit 47 causes the learning unit 45 to perform learning so as to make the temperature of the inverter less than or equal to a predetermined value. The predetermined value is, specifically, an allowable temperature of the inverter. In the present modification, the occurrence of a failure of an inverter can be suppressed in the case where the specifications of the inverter are set.
(3) Modification C
In the present modification, the state variable acquisition unit 43 in the first, second, fourth, and fifth embodiments further acquires, as the state variable, detected current values of the electromagnets of the magnetic bearings 21 and 22 in the case where the magnetic bearings 21 and 22 are driven by a voltage-type inverter, and further acquires, as the state variable, detected voltage values of the electromagnets of the magnetic bearings 21 and 22 in the case where the magnetic bearings 21 and 22 are driven by a current-type inverter.
(4) Modification D
In the present modification, the evaluation data acquisition unit 44 in the modification C further uses, as the to-be-assessed data, the current command value and the detected position value. The evaluation data acquisition unit 44 further acquires a quantity (response level) relating to responsivity of current control. The response level is a parameter that is more preferable if the value is closer to zero. The response level may be, for example, an absolute value, root mean square (RMS), or mean square (MS) of a deviation of the detected current value relative to the current command value, or may be an overshoot amount or setting time of the deviation in the case where a disturbance is forcibly added. The updating unit 47 causes the learning unit 45 to perform learning to reduce the response level.
(5) Modification E
In the present modification, the state variable acquisition unit 43 in the first, second, fourth, and fifth embodiments further acquires, as the state variable, the number of rotations of the shaft 115.
(6) Modification F
In the present modification, the state variable acquisition unit 43 in the first, second, fourth, and fifth embodiments further acquires, as the state variable, at least one of parameters correlating with an operation condition of the air conditioner 100.
The operation condition of the air conditioner 100 refers to a predetermined range of a refrigerating capacity of the air conditioner 100 and a predetermined range of an inlet water temperature of the condenser 120. The inlet water temperature is a temperature of water that is a medium that is for heat exchange with refrigerant circulating through the refrigerant circuit 190 of the air conditioner 100 and is a temperature of water that flows into the condenser 120.
The parameters correlating with the operation condition of the air conditioner 100 are specifically data relating to operation information of the air conditioner 100 listed below.
“Water” in the parameters (f) to (i) means water which is a medium for heat exchange with refrigerant in the condenser 120 or the evaporator 140. The parameters correlating with the operation condition of the air conditioner 100 include at least one of the aforementioned parameters (a) to (n). The parameter correlating with the operation condition of the air conditioner 100 may further include information regarding the type of the refrigerant.
In the present modification, the control unit 40 can learn an optimum operation condition for each operation condition of the air conditioner 100.
(7) Modification G
In the present modification, the state variable acquisition unit 43 in the modification F further acquires, as the state variable, at least one parameter correlating with an electromagnetic force applied to the shaft 115.
The parameter correlating with the electromagnetic force applied to the shaft 115 includes at least one of a parameter correlating with a refrigerant load of the air conditioner 100 and a parameter correlating with a physical characteristic of the air conditioner 100.
The parameter correlating with the refrigerant load of the air conditioner 100 includes at least one of the parameters (a) to (n) listed in the modification F. The parameter correlating with the refrigerant load of the air conditioner 100 may further include information regarding the type of the refrigerant.
The parameter correlating with the physical characteristic of the air conditioner 100 is at least one of a weight of the shaft 115 and a force applied to the shaft 115. The force applied to the shaft 115 is at least one of a Coriolis force applied to the shaft 115 and a centrifugal force applied to the shaft 115. Instead of the force applied to the shaft 115, at least one of a parameter correlating with an eccentric amount of the shaft 115 and the number of rotations of the motor 114 may be used.
In the present modification, movement of the axis of the shaft 115 during operation of the air conditioner 100 can be suppressed.
(8) Modification H
In the present modification, the state variable acquisition unit 43 in the modification F further acquires, as the state variable, at least one parameter correlating with a characteristic of the magnetic bearings 21 and 22.
The parameter correlating with the characteristic of the magnetic bearings 21 and 22 includes at least one of a parameter correlating with an inductance of the coils 65 of the electromagnets of the magnetic bearings 21 and 22 and a parameter correlating with a resistance of the coils 65. The parameter correlating with the inductance of the coils 65 is, for example, detected values of the currents flowing through the coils 65. The parameter correlating with the resistance of the coils 65 is a parameter correlating with a temperature of the coils 65 or an ambient temperature of the coils 65 and, specifically, include at least one of the parameters (a) to (i) listed in the modification F. The parameter correlating with the resistance of the coils 65 may further include information regarding the type of the refrigerant.
In the present modification, movement of the axis of the shaft 115 during operation of the air conditioner 100 can be suppressed.
(9) Modification I
In the present modification, the evaluation data acquisition unit 44 in the first, second, and fifth embodiments further uses, as the to-be-assessed data, a parameter correlating with power consumption of the magnetic bearings 21 and 22.
The parameter correlating with the power consumption of the magnetic bearings 21 and 22 includes at least two of a parameter correlating with current values for driving the magnetic bearings 21 and 22, a parameter correlating with voltage values for driving the magnetic bearings 21 and 22, and a parameter correlating with a resistance of the coils 65 of the electromagnets of the magnetic bearings 21 and 22. The parameter correlating with the current values for driving the magnetic bearings 21 and 22 is, for example, detected values of the currents flowing through the coils 65. The parameter correlating with the resistance of the coils 65 is a parameter correlating with a temperature of the coils 65 or an ambient temperature of the coils 65 and, specifically, include at least one of the parameters (a) to (i) listed in the modification F. The parameter correlating with the resistance of the coils 65 may further include information regarding the type of the refrigerant.
The evaluation data acquisition unit 44 further acquires, as the evaluation data, power consumption of the magnetic bearings 21 and 22.
The updating unit 47 causes the learning unit 45 to perform learning so as to reduce the power consumption of the magnetic bearings 21 and 22.
In the present modification, the control unit 40 can learn an operation condition with which power consumption of the air conditioner 100 can be reduced.
(10) Modification J
In the present modification, the state variable acquisition unit 43 in the modifications A, B, and I further acquires, as the state variable, at least one parameter correlating with an operation condition of the air conditioner 100. The parameter correlating with the operation condition of the air conditioner 100 includes at least one of the parameters (a) to (n) listed in the modification F. The parameter correlating with the operation condition ofthe air conditioner 100 may further include information regarding the type of the refrigerant.
(11) Modification K
In the present modification, the evaluation data acquisition unit 44 in the first, second, fourth, and fifth embodiments further uses, as the to-be-assessed data, at least one parameter correlating with input energy supplied to the compressor 110 driven by the motor 114. The parameter correlating with the input energy includes at least one of input currents of the magnetic bearings 21 and 22, input powers of the magnetic bearings 21 and 22, an input current of an inverter for driving the magnetic bearings 21 and 22, input power of the inverter for driving the magnetic bearings 21 and 22, an input current of the motor 114, input power of the motor 114, an input current of an inverter for driving the motor 114, and input power of the inverter for driving the motor 114. The evaluation data acquisition unit 44 further acquires, as the evaluation data, input energy supplied to the compressor 110.
The updating unit 47 causes the learning unit 45 to perform learning so as to reduce the input energy supplied to the compressor 110.
In the present modification, the control unit 40 can learn a control condition with which the input energy supplied to the compressor 110 is minimized.
(12) Modification L
In the present modification, the state variable acquisition unit 43 in the modification J further acquires, as the state variable, at least one of at least one parameter correlating with the operation condition of the air conditioner 100 and at least one parameter correlating with adiabatic efficiency of the impeller 113a coupled to the shaft 115.
The parameter correlating with the operation condition of the air conditioner 100 includes at least one of the parameters (a) to (n) listed in the modification F. The parameter correlating with the operation condition of the air conditioner 100 may further include information regarding the type of the refrigerant.
The parameter correlating with the adiabatic efficiency of the impeller 113a includes at least one of a parameter correlating with a pressure of the refrigerant and a parameters correlating with a temperature of the refrigerant. The parameter correlating with the pressure of the refrigerant include at least one of the parameters (a) to (e) listed in the modification F. The parameter correlating with the pressure of the refrigerant may further include information regarding the type of the refrigerant. The parameter correlating with the temperature of the refrigerant includes at least one of the parameters (a) to (i) listed in the modification F. The parameter correlating with the temperature of the refrigerant may further include information regarding the type of the refrigerant.
In the present modification, the control unit 40 can learn a control condition with which the adiabatic efficiency of the impeller 113a is maximized.
(13) Modification M
In the present modification, the state variable acquisition unit 43 further acquires, as the state variable, a parameter correlating with temperatures of the displacement sensors 31 and 32 in the case of acquiring the output values of the displacement sensors 31 and 32. The parameter correlating with the temperatures of the displacement sensors 31 and 32 includes at least one of the parameters (a) to (i) listed in the modification F. The parameter correlating with the temperature of the refrigerant may further include information regarding the type of the refrigerant.
In the present modification, the control unit 40 can compensate for shifts of the detected values of the displacement sensors 31 and 32 due to temperatures by using, as the state variable, information regarding the temperatures of the displacement sensors 31 and 32 having temperature characteristics. Thus, the control unit 40 can acquire estimated values of the positions of the touchdown bearings 116 and 117 at high accuracy, and can align the shaft 115 so that the axis of the shaft 115 approaches the center of the touchdown bearings 116 and 117.
(14) Modification N
In the present modification, calibration of the displacement sensors 31 and 32 is performed when the magnetic bearing device 10 starts operating in the first, second, fourth, and fifth embodiments. For example, an abnormality of the displacement sensors 31 and 32 can be detected through calibration.
Calibration of the displacement sensors 31 and 32 is performed by forcibly changing parameters such as the position of the shaft 115, the current values of the coils 65 of the electromagnets of the magnetic bearings 21 and 22, and the voltage values of the coils 65, for example. In this case, a periodic waveform may be applied to these parameters, these parameters may be changed in a step-like manner, or these parameters may be changed in a ramp-like manner. A periodic waveform refers to, for example, a sinusoidal wave, a rectangular wave, a triangular wave, and a sawtooth wave. The frequency of the periodic waveform may be changed intermittently or may be changed continuously.
In addition, calibration of the displacement sensors 31 and 32 may be performed by superimposing a perturbation by a predetermined waveform and the position command value of the shaft 115. The predetermined waveform refers to, for example, a periodic waveform, a pulse waveform, and a step waveform. A periodic waveform refers to, for example, a sinusoidal wave, a rectangular wave, a triangular wave, and a sawtooth wave.
In addition, calibration of the displacement sensors 31 and 32 may be performed by providing a certain constraint for the position of the shaft 115. For example, an operation of bringing the shaft 115 into contact with the touchdown bearing 116 or 117 and an operation in which a force applied to the shaft 115 is known may be performed. The operation in which the force applied to the shaft 115 is known is, for example, an operation in which the shaft 115 is falling freely.
(15) Modification O
In each of the embodiments and modifications described above, the control unit 40 learns conditions for appropriately controlling the position of the shaft 115 by using a technique of supervised learning or reinforcement learning. However, the control unit 40 may learn conditions for appropriately controlling the position of the shaft 115 by using a technique in which supervised learning and reinforcement learning are used in combination.
(16) Modification P
In each of the embodiments and modifications described above, a supporting mechanism of a bearingless motor (motor having a function of supporting a shaft in a non-contact manner) may be used in the radial magnetic bearing 21.
—In Closing—
While the embodiments of the present disclosure have been described above, it should be understood that various modifications can be made on the configurations and details without departing from the gist and the scope of the present disclosure that are described in the claims.
A magnetic bearing device is capable of appropriately controlling a position of an object to be supported.
PTL 1: Japanese Unexamined Utility Model Registration Application Publication No. H04-040308
Number | Date | Country | Kind |
---|---|---|---|
2019-048948 | Mar 2019 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2020/011162 | 3/13/2020 | WO | 00 |