Motorized valve control device, motorized valve device, and motorized valve control method

The electric valve control device addresses the long initialization time and noise issues in conventional systems by using a current circuit to determine the rotor's state based on switch element off-time, enabling efficient and quiet operation.

WO2024180876A1PCT designated stage expired Publication Date: 2024-09-06FUJIKOKI CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/045452
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-01
Filing Date
2023-12-19
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Conventional electric valve control devices for air conditioner refrigeration systems require a long initialization time and generate noise due to repeated collisions between the rotor and stopper mechanisms, especially when the rotor is close to the reference position.

Method used

An electric valve control device that uses a current circuit with a switch element to control the drive current to the stepping motor, determining the rotor's rotation restriction state based on the off-time of the switch element and comparing it to a reference waveform to shorten initialization time and reduce noise.

Benefits of technology

The solution effectively shortens the initialization time and suppresses noise by accurately determining the rotor's position without requiring additional sensors, allowing for a simpler configuration and timely state determination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023045452_06092024_PF_FP
    Figure JP2023045452_06092024_PF_FP
Patent Text Reader

Abstract

[Problem] To provide a motorized valve control device, a motorized valve device having the motorized valve control device, and a motorized valve control method that make it possible to shorten the time taken for a motorized-valve initialization operation and to suppress noise. [Solution] A motorized valve 5 includes a stepping motor 66 having a rotor 41 and a stator 60. The stator 60 is connected to a current circuit having a switch element. A motorized valve control device 70 acquires an OFF time of the switch element when a drive current causing the rotor 41 to rotate in a first direction is supplied to the stator 60. The motorized valve control device 70 then determines, on the basis of the OFF time, whether the motorized valve 5 is in a first rotation-regulated state in which the rotation of the rotor 41 in the first direction is regulated.
Need to check novelty before this filing date? Find Prior Art

Description

Motor-operated valve control device, motor-operated valve device, and motor-operated valve control method

[0001] The present invention relates to an electric valve control device, an electric valve device having the electric valve control device, and a method for controlling an electric valve.

[0002] Patent Document 1 discloses an example of a conventional motor-operated valve. This motor-operated valve is incorporated into the refrigeration cycle system of an air conditioner. The motor-operated valve has a valve body, a valve element, and a stepping motor for moving the valve element. The stepping motor has a rotor and a stator. When pulses are input to the stepping motor, the rotor rotates. The valve element moves in response to the rotation of the rotor. When the rotor is in a reference position, a movable stopper that rotates with the rotor abuts against a fixed stopper fixed to the valve body, restricting rotation of the rotor in a first direction.

[0003] The motor-operated valve is controlled by a motor-operated valve control device. In an initialization operation, the motor-operated valve control device inputs pulses to the stepping motor to rotate the rotor in a first direction and position the rotor at a reference position. The number of pulses input to the stepping motor is a number sufficient for the movable stopper to abut against the fixed stopper (hereinafter referred to as the "initialization number"). When the rotor rotates in the first direction and the movable stopper abuts against the fixed stopper, the rotor is positioned at the reference position.

[0004] International Publication No. 2019 / 130928

[0005] The motor-operated valve control device inputs pulses to the stepping motor until the number of pulses input to the stepping motor reaches the initialization number. As a result, the motor-operated valve control device may input pulses even after the rotor is positioned at the reference position, which makes the initialization operation take a long time. Furthermore, if pulses are input to the stepping motor after the rotor is positioned at the reference position, the movable stopper repeatedly collides with the fixed stopper, generating noise. In particular, if the rotor's position immediately before the initialization operation is close to the reference position, noise will be generated for a long time.

[0006] Therefore, the present invention aims to provide an electric valve control device that can shorten the time required for the initialization operation of an electric valve and suppress noise, an electric valve device having an electric valve control device, and a method for controlling an electric valve.

[0007] When a pulse is input to a stepping motor, the rotor rotates. Specifically, the rotor rotates when a drive current corresponding to the pulse is supplied to the stator coil of the stepping motor. When the rotor rotates, the magnetic flux passing through the coil changes, generating a voltage in the coil. This voltage is called back electromotive force (BEMF).

[0008] The stator is connected to a current circuit that supplies a drive current. The current circuit has a switch element. The current circuit has a target value for the drive current and a lower limit value for the drive current that is a fixed value lower than the target value. The current circuit operates in a manner (hereinafter referred to as a "fixed ripple current control method") in which the switch element is turned on (conductive state) when the drive current is lower than the lower limit, and turned off (non-conductive state) when the drive current reaches the target value. The off time of the switch element is called Toff and is expressed by the following equation (1).

[0009]

[0010] where I is the current through the coil, R is the resistance of the coil, L is the inductance of the coil, and ΔI is the fixed value. Toff is related to BEMF.

[0011] The present inventors discovered that in a motor-operated valve, the rotation state of the rotor differs before and after the rotation of the rotor in the first direction is restricted, and that the BEMF and Toff also differ, leading to the present invention.

[0012] In order to achieve the above object, one aspect of the present invention provides an electric valve control device that controls an electric valve having: a valve body having a valve port; a stepping motor having a rotor and a stator; a valve element that faces the valve port and moves toward the valve port when the rotor rotates in a first direction; and a stopper mechanism that restricts rotation of the rotor in the first direction when the rotor is in a reference position; wherein the stator is connected to a current circuit that supplies a drive current; the current circuit has a switch element that operates in a manner that the switch element is turned on when the drive current is smaller than a lower limit value that is smaller than a target value by a fixed value, and the switch element is turned off when the drive current reaches the target value; and the electric valve control device is characterized by having: an off-time acquisition unit that acquires the off-time of the switch element when the drive current that rotates the rotor in the first direction is supplied to the stator; and a state determination unit that determines whether the electric valve is in a first rotation restricted state in which rotation of the rotor in the first direction is restricted based on the off-time.

[0013] In the present invention, it is preferable that the state determination unit determines whether the motor-operated valve is in the first rotation restriction state based on the degree of difference between the waveform of the reciprocal of the off time acquired by the off time acquisition unit and a reference waveform of the reciprocal of the off time.

[0014] In the present invention, it is preferable that the reference waveform is set based on a waveform of the reciprocal of the off time acquired when the drive current that rotates the rotor in the first direction is supplied to the stator, and the state determination unit calculates a difference index value that indicates the degree of difference between the waveform of the reciprocal of the off time acquired by the off time acquisition unit and the reference waveform, and determines whether the motor-operated valve is in the first rotation restriction state based on a comparison result between the difference index value and a difference determination value.

[0015] In the present invention, it is preferable that the reference waveform is a data table in which time is associated with a reference value of the reciprocal of the off time at that time, the state determination unit calculates an intermediate value which is a square of the difference between the reciprocal of the off time acquired by the off time acquisition unit at an acquisition time corresponding to the time and the reference value associated with the time, and the state determination unit calculates the difference index value by adding up a plurality of the intermediate values.

[0016] In the present invention, it is preferable that the electric valve control device further has a rotation control unit that inputs pulses to the stepping motor to rotate the rotor, and a reference waveform setting unit that sets the reference waveform, the current circuit supplies the drive current corresponding to the pulses to the stator in response to the input of pulses to the stepping motor, the rotation control unit performs a second preparatory operation by inputting a second preparatory number of pulses to the stepping motor to rotate the rotor in a second direction, and following the second preparatory operation, performs a first preparatory operation by inputting a first preparatory number of pulses that is less than the second preparatory number to the stepping motor to rotate the rotor in the first direction, and the reference waveform setting unit sets a waveform that is the reciprocal of the off time acquired by the off time acquisition unit during the first preparatory operation as the reference waveform.

[0017] In order to achieve the above object, a motor-operated valve device according to another aspect of the present invention includes the motor-operated valve and the motor-operated valve control device.

[0018] In order to achieve the above object, another aspect of the present invention provides a control method for a motor-operated valve having a valve body having a valve port, a stepping motor having a rotor and a stator, a valve element facing the valve port and moving toward the valve port when the rotor rotates in a first direction, and a stopper mechanism that restricts rotation of the rotor in the first direction when the rotor is in a reference position, wherein the stator is connected to a current circuit that supplies a drive current, the current circuit has a switch element that operates in a manner such that the switch element is turned on when the drive current is smaller than a lower limit value that is smaller than a target value by a fixed value, and the switch element is turned off when the drive current reaches the target value, and the control method is characterized by comprising: an off-time acquisition step of acquiring an off-time of the switch element when the drive current that rotates the rotor in the first direction is supplied to the stator; and a state determination step of determining whether the motor-operated valve is in a first rotation restricted state in which rotation of the rotor in the first direction is restricted based on the off-time.

[0019] According to one aspect of the present invention, an electric valve control device acquires the off time of a switch element of a current circuit when a drive current that rotates the rotor in a first direction is supplied to the stator, and determines, based on the off time, whether the electric valve is in a first rotation restriction state in which rotation of the rotor in the first direction is restricted.

[0020] As a result, when the motor-operated valve control device determines that the motor-operated valve is in the first rotation restricted state, the rotor is in the reference position. Therefore, by stopping the rotor's rotation in the first direction when the motor-operated valve control device determines that the motor-operated valve is in the first rotation restricted state, the time required for the initialization operation can be shortened. Furthermore, the generation of noise for a long period of time after the rotor is positioned at the reference position can be suppressed.

[0021] Furthermore, the motor-operated valve control device determines whether the motor-operated valve is in the first rotation restricted state based on the off time of the switch element of the current circuit. Therefore, components such as a rotation angle sensor that determine the state of the motor-operated valve based on the rotation of the rotor are not required, and the motor-operated valve and motor-operated valve control device can be simplified in configuration.

[0022] Furthermore, for example, when determining the state of the motor-operated valve based on the back electromotive force, the back electromotive force is acquired when no drive current is flowing through the stator coil, so the timing for acquiring the back electromotive force is limited. On the other hand, when determining the state of the motor-operated valve based on the off time, the off time can be acquired even when drive current is flowing through the stator coil. This allows the motor-operated valve control device to timely determine whether the motor-operated valve is in the first rotation restricted state.

[0023] 1 is a block diagram of an air conditioner having a motor-operated valve device. FIG. 1 is a cross-sectional view of the motor-operated valve device of FIG. 1. FIG. 2 is a diagram showing a valve stem holder of the motor-operated valve device of FIG. 2. FIG. 3 is a side view of a guide bush of the motor-operated valve device of FIG. 2. FIG. 4 is a diagram showing a stopper member of the motor-operated valve device of FIG. 2. FIG. 5 is a plan view of the valve stem holder, stopper member, rotor, and stator of the motor-operated valve device of FIG. 2. FIG. 6 is an explanatory diagram of a computer, a motor driver including a current circuit with switch elements, and a stepping motor of the motor-operated valve device of FIG. 2. FIG. 7 is a diagram illustrating an example of the correspondence between pulses input to the stepping motor and A-phase current target values ​​and B-phase current target values. FIG. 8 is a diagram showing an example of the waveform of an A-phase current and an example of the waveform of a B-phase current. FIG. 9 is a diagram showing a schematic representation of the positional relationship between the magnetic poles of the rotor and the pole teeth of the stator (when pulse P[1] is input). FIG. 10 is a diagram showing a schematic representation of the positional relationship between the magnetic poles of the rotor and the pole teeth of the stator (when pulse P[2] is input). FIG. 11 is a diagram showing a schematic representation of the positional relationship between the magnetic poles of the rotor and the pole teeth of the stator (when pulse P[3] is input). 1 is a diagram showing a schematic representation of the positional relationship between the rotor's magnetic poles and the stator's pole teeth (when pulse P[4] is input); FIG. 2 is a diagram showing a schematic representation of the positional relationship between the rotor's magnetic poles and the stator's pole teeth (when pulse P[5] is input); FIG. 3 is a diagram showing a schematic representation of the positional relationship between the rotor's magnetic poles and the stator's pole teeth (when pulse P[6] is input); FIG. 4 is a diagram showing a schematic representation of the positional relationship between the rotor's magnetic poles and the stator's pole teeth (when pulse P[7] is input); FIG. 5 is a diagram showing a schematic representation of the positional relationship between the rotor's magnetic poles and the stator's pole teeth (when pulse P[8] is input). FIG. 6 is a diagram showing an example of a waveform of a B-phase current and a waveform of a back electromotive force generated in the B-phase coil. FIG. 7 is a diagram showing an example of a graph of the rotor's rotation angle, the B-phase current, the back electromotive force generated in the B-phase coil, and the reciprocal of the off-time of a switch element related to the B-phase current. FIG. 8 is a diagram showing an example of a waveform of the reciprocal of the off-time of a switch element when a drive current is supplied to rotate the rotor in a first direction (when the motor-operated valve is in the first rotation allowing state). 1 shows an example of a waveform of the reciprocal of the off time of the switch element when a drive current that rotates the rotor in a first direction is supplied (when the motor-operated valve is in a first rotation restricted state), a diagram showing an example of a data table of a reference waveform of the reciprocal of the off time, and a diagram showing an example of a waveform of the reciprocal of the off time and a reference waveform of the reciprocal of the off time.26A and 26B are flowcharts showing an operation example 1 of a motor-operated valve control device according to an embodiment of the present invention. FIG. 26B is a flowchart showing an operation example 1 of a motor-operated valve control device according to an embodiment of the present invention. FIG. 26C is a flowchart showing an operation example 1 of a motor-operated valve control device according to an embodiment of the present invention. FIG. 26C is a flowchart showing an operation example 1 of a motor-operated valve control device according to an embodiment of the present invention. FIG. 26C is a flowchart showing an operation example 2 ...

[0024] The motor-operated valve device will be described below with reference to FIGS.

[0025] FIG. 1 is a block diagram of an air conditioner having an electric valve device. FIG. 2 is a cross-sectional view of the electric valve device of FIG. 1. FIG. 3 is a diagram showing a valve stem holder provided in the electric valve device of FIG. 2. FIG. 3A is a perspective view of the valve stem holder, and FIG. 3B is a plan view of the valve stem holder. FIG. 4 is a side view of a guide bush provided in the electric valve device of FIG. 2. FIG. 5 is a diagram showing a stopper member provided in the electric valve device of FIG. 2. FIG. 5A is a perspective view of the stopper member, and FIG. 5B is a plan view of the stopper member. FIG. 6 is a plan view of the valve stem holder, stopper member, rotor, and stator provided in the electric valve device of FIG. 2. FIG. 6 schematically shows the stator. FIG. 6 also schematically shows the magnetic poles of the rotor. FIG. 7 is a diagram explaining a computer, a motor driver including a current circuit with switch elements, and a stepping motor provided in the electric valve device of FIG. 2. 8 is a diagram showing an example of a correspondence relationship between a pulse input to a stepping motor and an A-phase current target value and a B-phase current target value, and FIG. 9 is a diagram showing an example of an A-phase current waveform and a B-phase current waveform.

[0026] 10 to 17 are diagrams showing the positional relationship between the rotor's magnetic poles and the stator's pole teeth. 10 to 17 show the state when pulses P[1] to P[8] are input to the stepping motor. 10 to 17 also show the stator. 10 to 17 also show the rotor's magnetic poles.

[0027] FIG. 18 shows an example of a waveform of a B-phase current and a waveform of a back electromotive force generated in the B-phase coil. FIG. 19 shows an example of a graph of the rotor rotation angle, the B-phase current, the back electromotive force generated in the B-phase coil, and the reciprocal of the off-time of a switch element related to the B-phase current. FIGS. 20 and 21 show an example of a waveform of the reciprocal of the off-time of a switch element when a drive current for rotating the rotor in a first direction is supplied. FIG. 20 shows a waveform in a state in which the motor-operated valve allows the rotor to rotate in the first direction, and FIG. 21 shows a waveform in a state in which the motor-operated valve restricts the rotor from rotating in the first direction. FIG. 22 shows an example of a data table of a reference waveform of the reciprocal of the off-time. FIG. 23 shows an example of a waveform of the reciprocal of the off-time (real reciprocal waveform) and a reference waveform of the reciprocal of the off-time.

[0028] Figures 24 to 28 are flowcharts showing Operation Example 1 of the motor-operated valve control device according to one embodiment of the present invention. Figure 24 shows the main flow of Operation Example 1. Figure 25 shows the second preparatory operation of Operation Example 1. Figures 26 and 27 show the first preparatory operation of Operation Example 1. Figure 28 shows the positioning operation of Operation Example 1.

[0029] 29 to 32 are flowcharts showing an operation example 2 of the motor-operated valve control device according to one embodiment of the present invention. Fig. 29 shows a main flow of operation example 2. Figs. 30 to 32 show a first preparatory operation of operation example 2.

[0030] The motor-operated valve device 1 according to this embodiment is used, for example, as a flow control valve for controlling the flow rate of a refrigerant fluid in a refrigeration cycle system of an air conditioner.

[0031] FIG. 1 shows an example of an air conditioner 100 installed in a vehicle. The air conditioner 100 has a compressor 101, a condenser 102, an electric valve device 1 (electric valve 5), and an evaporator 103, which are connected in this order via piping 105. The electric valve device 1 is an expansion valve. The air conditioner 100 also has an air conditioner control device 110. The air conditioner control device 110 is connected to the electric valve device 1 so as to be able to communicate with it. The air conditioner control device 110 uses the electric valve device 1 to control the flow rate of refrigerant flowing through the piping 105.

[0032] As shown in FIG. 2 , the motor-operated valve device 1 includes a motor-operated valve 5 and a motor-operated valve control device 70 .

[0033] The motor-operated valve 5 includes a valve body 10 , a can 20 , a valve element 30 , a drive mechanism 40 , and a stator 60 .

[0034] The valve body 10 includes a main body member 11 and a connecting member 13. The main body member 11 has a cylindrical shape. The main body member 11 includes a valve chamber 14, a valve port 17, and a valve seat 18. A first conduit 15 and a second conduit 16 are joined to the main body member 11. The first conduit 15 is disposed in a direction perpendicular to the axis L (the left-right direction in FIG. 2 ) and is connected to the valve chamber 14. The second conduit 16 is disposed in the direction of the axis L (the up-down direction in FIG. 2 ) and is connected to the valve chamber 14 via the valve port 17. The valve port 17 is surrounded by an annular valve seat 18 in the valve chamber 14. The main body member 11 includes a circular fitting hole 11a. The fitting hole 11a is disposed on the upper end surface of the main body member 11. The inner circumferential surface of the fitting hole 11a has a flat surface 11d facing leftward in FIG. 2 . A through-hole 11b that communicates with the valve chamber 14 is provided in the bottom surface of the fitting hole 11a. The connecting member 13 has an annular plate shape. The inner peripheral edge of the connecting member 13 is joined to the upper end of the main body member 11. The main body member 11 and the connecting member 13 are made of metal such as aluminum alloy, stainless steel, or brass.

[0035] The can 20 is made of a metal such as stainless steel. The can 20 has a cylindrical shape. The lower end of the can 20 is open and the upper end is closed. The lower end of the can 20 is joined to the outer periphery of the connecting member 13.

[0036] The valve element 30 has a first shaft portion 31, a second shaft portion 32, and a valve portion 33. The first shaft portion 31 has a cylindrical shape. The second shaft portion 32 has a cylindrical shape. The diameter of the second shaft portion 32 is smaller than the diameter of the first shaft portion 31. The second shaft portion 32 is coaxially connected to the upper end of the first shaft portion 31. The valve element 30 has a step portion 34, which is an upward-facing annular flat surface. The step portion 34 is located at the connection between the first shaft portion 31 and the second shaft portion 32. The valve portion 33 has a generally conical shape whose diameter decreases from top to bottom. The valve portion 33 is coaxially connected to the lower end of the first shaft portion 31. The valve portion 33 is located in the valve port 17. A variable throttle portion is formed between the valve portion 33 and the valve port 17. The valve portion 33 faces the valve port 17 and the valve seat 18. When the valve portion 33 comes into contact with the valve seat 18, the valve port 17 closes. When the valve portion 33 moves away from the valve seat 18, the valve port 17 opens.

[0037] The drive mechanism 40 moves the valve element 30 in the vertical direction (the direction of the axis L). The movement of the valve element 30 opens and closes the valve port 17. The drive mechanism 40 has a rotor 41, a valve stem holder 42, a guide bush 43, a stopper member 44, and a fixing device 45.

[0038] The rotor 41 has a cylindrical shape. The outer diameter of the rotor 41 is slightly smaller than the inner diameter of the can 20. The rotor 41 is disposed inside the can 20. The rotor 41 is rotatable relative to the valve body 10. The rotor 41 has multiple north poles and multiple south poles. The multiple north poles and multiple south poles are disposed on the outer peripheral surface of the rotor 41. The multiple north poles and multiple south poles extend in the vertical direction. The multiple north poles and multiple south poles are disposed alternately at equal angular intervals in the circumferential direction. The rotor 41 has, for example, 12 north poles and 12 south poles. The angle between adjacent north poles and south poles is 15 degrees.

[0039] FIG. 3 shows the valve stem holder 42. The valve stem holder 42 has a cylindrical shape. The lower end of the valve stem holder 42 is open. An upper wall portion 42a is provided at the upper end of the valve stem holder 42. The upper wall portion 42a has a shaft hole 42b. The valve stem holder 42 is fitted into a fitting hole 41a of the rotor 41. The valve stem holder 42 rotates together with the rotor 41. A movable stopper 42s is disposed at the lower end of the outer circumferential surface of the valve stem holder 42. The movable stopper 42s is a protrusion that protrudes radially outward. The second shaft portion 32 of the valve element 30 is disposed in the shaft hole 42b so as to be movable in the direction of the axis L. A washer 46 is disposed on the lower surface of the upper wall portion 42a of the valve stem holder 42. A valve-closing spring 47 is disposed between the washer 46 and the step portion 34 of the valve element 30. The valve-closing spring 47 is a coil spring that presses the valve element 30 toward the valve seat 18. A female thread 42c is provided on the inner peripheral surface of the valve stem holder 42. The movable stopper 42s is fixed to the rotor 41.

[0040] FIG. 4 shows the guide bush 43. The guide bush 43 has a base portion 43a and a support portion 43b. The base portion 43a has a cylindrical shape. The outer surface of the base portion 43a has a flat surface 43d. The base portion 43a is press-fitted into the fitting hole 11a of the main body member 11, and the flat surface 43d contacts the flat surface 11d of the fitting hole 11a. This causes the central axis of the main body member 11 and the central axis of the guide bush 43 to coincide on the axis L, and the guide bush 43 is correctly positioned around the axis L relative to the main body member 11. The support portion 43b has a cylindrical shape. The outer diameter of the support portion 43b is smaller than the outer diameter of the base portion 43a. The inner diameter of the support portion 43b is the same as the inner diameter of the base portion 43a. The support portion 43b is coaxially connected to the upper end of the base portion 43a. A male thread 43c is provided on the outer surface of the support portion 43b. The male thread 43c is threadedly engaged with the female thread 42c of the valve stem holder 42. The first shaft portion 31 of the valve element 30 is disposed inside the guide bush 43. The guide bush 43 supports the valve element 30 so that it can move in the axial L direction.

[0041] FIG. 5 shows the stopper member 44. The stopper member 44 has a stopper body 44a. The stopper body 44a has a cylindrical shape. An internal thread 44c is provided on the inner peripheral surface of the stopper body 44a. A fixed stopper 44s is disposed on the outer peripheral surface of the stopper body 44a. The fixed stopper 44s is a protrusion that protrudes radially outward. The internal thread 44c is threadedly engaged with the external thread 43c until the stopper body 44a abuts against the base 43a of the guide bush 43. This fixes the stopper member 44 to the guide bush 43. The fixed stopper 44s is fixed to the valve body 10.

[0042] The fixture 45 has a fixing portion 45a and a flange portion 45b. The fixing portion 45a has a stepped cylindrical shape. The second shaft portion 32 of the valve body 30 is disposed inside the fixing portion 45a. The fixing portion 45a is joined to the second shaft portion 32. The flange portion 45b is connected to the lower end of the fixing portion 45a. A return spring 48 is disposed outside the fixture 45. The return spring 48 is a coil spring.

[0043] The motor-operated valve 5 has a drive mechanism 40 that uses the rotation of the rotor 41 without reducing the speed. The motor-operated valve 5 may have a drive mechanism that has a speed reduction mechanism that reduces the speed of the rotation of the rotor 41, instead of the drive mechanism 40.

[0044] The stator 60 has a cylindrical shape and includes an A-phase stator 61 and a B-phase stator 62. The stator 60 is shown schematically in FIG.

[0045] The A-phase stator 61 has a plurality of claw-pole-shaped pole teeth 61a, 61b on its inner circumference. The tips of the pole teeth 61a face downward, and the tips of the pole teeth 61b face upward. The pole teeth 61a and 61b are alternately arranged at equal angular intervals in the circumferential direction. The A-phase stator 61 has, for example, 12 pole teeth 61a and 12 pole teeth 61b. The angle between adjacent pole teeth 61a and 61b is 15 degrees. The A-phase stator 61 has an A-phase coil 61c. When the A-phase coil 61c is energized, the pole teeth 61a and 61b become magnetic poles of opposite polarity.

[0046] The B-phase stator 62 has a plurality of claw-pole-shaped pole teeth 62a, 62b on its inner circumference. The tips of the pole teeth 62a face downward, and the tips of the pole teeth 62b face upward. The pole teeth 62a and 62b are alternately arranged at equal angular intervals in the circumferential direction. The B-phase stator 62 has, for example, 12 pole teeth 62a and 12 pole teeth 62b. The angle between adjacent pole teeth 62a and 62b is 15 degrees. The B-phase stator 62 has a B-phase coil 62c. When the B-phase coil 62c is energized, the pole teeth 62a and 62b become magnetic poles of opposite polarity.

[0047] The A-phase stator 61 and the B-phase stator 62 are arranged coaxially. The A-phase stator 61 is in contact with the B-phase stator 62. When viewed from the direction of the axis L, the angle between the pole teeth 61 a of the A-phase stator 61 and the pole teeth 62 a of the B-phase stator 62, which are adjacent to each other, is 7.5 degrees. In other words, the B-phase stator 62 is located at a position rotated 7.5 degrees around the axis L with respect to the A-phase stator 61 from the position where the pole teeth 61 a and the pole teeth 62 a are aligned in the direction of the axis L.

[0048] The can 20 is disposed inside the stator 60. The rotor 41 is disposed inside the can 20. The stator 60 and the rotor 41 form a stepping motor 66.

[0049] The stepping motor 66 is connected to the motor-operated valve control device 70. Specifically, as shown in Fig. 7, terminals A1 and A2 of the A-phase coil 61c and terminals B1 and B2 of the B-phase coil 62c are connected to a motor driver 77 of the motor-operated valve control device 70.

[0050] Pulses P (P[1] to P[8]) are input to the stepping motor 66, causing the rotor 41 to rotate. Specifically, a drive current corresponding to the pulses P is supplied to the stator 60 of the stepping motor 66, causing the rotor 41 to rotate. In this specification, "inputting pulses P to the stepping motor 66" is synonymous with "supplying a drive current corresponding to the pulses P to the stator 60 of the stepping motor 66."

[0051] Pulses P[1] to P[8] are input sequentially to the stepping motor 66. A-phase current Ia, which is a drive current corresponding to the pulse P, is supplied to the A-phase stator 61. A-phase current Ib, which is a drive current corresponding to the pulse P, is supplied to the B-phase stator 62. The combination of the A-phase current Ia and the B-phase current Ib varies for each pulse P. There are eight possible combinations, which are referred to as the number of pulse P patterns. A "pattern" is also referred to as a "switching mode." The numbers (1 to 8) of pulses P[1] to P[8] are pattern numbers identifying pulses P[1] to P[8]. For example, the period of pulse P is 8 ms, and one period X including pulses P[1] to P[8] is 64 ms. The excitation mode of the stepping motor 66 is 1-2 phase excitation. The step angle of the stepping motor 66 is 3.75 degrees.

[0052] An A-phase current target value Ita corresponding to pulses P[1] to P[8] is set for the A-phase current Ia. A B-phase current target value Itb corresponding to pulses P[1] to P[8] is set for the B-phase current Ib. Figure 8 shows an example of the correspondence between pulses P and the A-phase current target value Ita and B-phase current target value Itb.

[0053] For pulse P[1], "+I2" is set as the A-phase current target value Ita, and "0" is set as the B-phase current target value Itb. For pulse P[2], "+I1" is set as the A-phase current target value Ita, and "+I1" is set as the B-phase current target value Itb. For pulse P[3], "0" is set as the A-phase current target value Ita, and "+I2" is set as the B-phase current target value Itb. For pulse P[4], "-I1" is set as the A-phase current target value Ita, and "+I1" is set as the B-phase current target value Itb. For pulse P[5], "-I2" is set as the A-phase current target value Ita, and "0" is set as the B-phase current target value Itb. For pulse P[6], "-I1" is set as the A-phase current target value Ita, and "-I1" is set as the B-phase current target value Itb. For pulse P[7], "0" is set as the A-phase current target value Ita, and "-I2" is set as the B-phase current target value Itb. For pulse P[8], "+I1" is set as the A-phase current target value Ita, and "-I1" is set as the B-phase current target value Itb. "+I2" and "-I2" have the same current magnitude but different current directions. "+I1" and "-I1" have the same current magnitude but different current directions. "+I2" and "+I1" have different current magnitude but the same current direction.

[0054] FIG. 9 schematically shows the waveforms of the A-phase current Ia and the B-phase current Ib when pulses P are input to the stepping motor 66 in ascending order. In FIG. 9, the A-phase current Ia has the same magnitude and current direction as the A-phase current target value Ita, and the B-phase current Ib has the same magnitude and current direction as the B-phase current target value Itb. In FIGS. 8 and 9, the signs (+ / -) indicate the direction of current flow. "+" indicates the direction from terminal A1 to terminal A2, or from terminal B1 to terminal B2. "-" indicates the direction from terminal A2 to terminal A1, or from terminal B2 to terminal B1. "0" indicates no current flow.

[0055] The conduction period D(1) corresponds to pulses P[2], P[3], and P[4]. During the conduction period D(1), a B-phase current Ib is supplied to the B-phase coil 62c from terminal B1 to terminal B2. The conduction period D(2) corresponds to pulses P[4], P[5], and P[6]. During the conduction period D(2), an A-phase current Ia is supplied to the A-phase coil 61c from terminal A2 to terminal A1. The conduction period D(3) corresponds to pulses P[6], P[7], and P[8]. During the conduction period D(3), a B-phase current Ib is supplied to the B-phase coil 62c from terminal B2 to terminal B1. The conduction period D(4) corresponds to pulses P[8], P[1], and P[2]. During the conduction period D(4), an A-phase current Ia is supplied to the A-phase coil 61c from terminal A1 to terminal A2.

[0056] 10 to 17 show examples of the positional relationship between the rotor 41 and the stator 60 when pulses P[1] to P[8] are input. In Fig. 10 to 17, to make it easier to understand the positional relationship between the rotor 41 and the stator 60 (A-phase stator 61, B-phase stator 62), the reference pole tooth 61a and the reference magnetic pole (S pole) of the rotor 41 are marked with black circles.

[0057] When the rotor 41 is rotated in the first direction (clockwise in FIGS. 10 to 17 ), pulses P are cyclically input to the stepping motor 66 in ascending order (the order of pulses P[1] to P[8]). When the rotor 41 rotates in the first direction, the rotor 41 and the valve stem holder 42 move downward due to the feed screw action between the female thread 42c of the valve stem holder 42 and the male thread 43c of the guide bush 43. The rotor 41 (valve stem holder 42) presses the valve disc 30 downward via the valve closing spring 47. The valve disc 30 moves downward, and the valve portion 33 contacts the valve seat 18. The rotor 41 is in the valve closing position Rc at this time. When the rotor 41 is further rotated in the first direction from this state, the valve closing spring 47 is compressed, causing the rotor 41 to move further downward. The valve disc 30 does not move downward. When the movable stopper 42s of the valve stem holder 42 comes into contact with the fixed stopper 44s of the stopper member 44, the rotation of the rotor 41 in the first direction is restricted. The rotor 41 is positioned at the reference position Rx. The movable stopper 42s and the fixed stopper 44s form a stopper mechanism 49 that restricts the rotation of the rotor 41 in the first direction.

[0058] To rotate the rotor 41 in a second direction (counterclockwise in FIGS. 10 to 17 ) opposite to the first direction, pulses P are cyclically input to the stepping motor 66 in descending order (the order of pulses P[8] to P[1]). When the rotor 41 rotates in the second direction, the rotor 41 and the valve stem holder 42 move upward due to the feed screw action between the female thread 42c of the valve stem holder 42 and the male thread 43c of the guide bush 43. The rotor 41 (valve stem holder 42) pushes the fixture 45 upward. The valve disc 30 moves upward together with the fixture 45, and the valve disc 30 separates from the valve seat 18. The position of the rotor 41 when the flow rate of the fluid at the valve port 17 (opening of the valve port 17) is a predetermined set value in a predetermined flow measurement environment is defined as the open position Ro. The set value is set appropriately depending on the configuration and application of the motor-operated valve device 1. When the rotor 41 rotates in the second direction and reaches the fully open position Rz, the valve element 30 is farthest from the valve orifice 17, and the valve orifice 17 opens to the maximum extent.

[0059] The number of pulses P required to rotate the rotor 41 from the fully open position Rz to the reference position Rx is referred to as the stroke number Ns. That is, when pulses P with the stroke number Ns are input to the stepping motor 66 of the motor-operated valve 5 with the rotor 41 in the fully open position Rz, the rotor 41 is positioned at the reference position Rx. For example, the stroke number Ns is 500. The number of pulses P required to rotate the rotor 41 from the reference position Rx to the fully open position Rz is also the stroke number Ns.

[0060] An initialization number Ni is set based on the stroke number Ns. The initialization number Ni is the number of pulses P sufficient to rotate the rotor 41 from the fully open position Rz to the reference position Rx. In other words, regardless of the position of the rotor 41, inputting the pulses P equal to the initialization number Ni to the stepping motor 66 positions the rotor 41 at the reference position Rx. The initialization number Ni is, for example, 1.05 to 1.3 times the stroke number Ns.

[0061] The second preparation number N2 and the first preparation number N1 are set based on the number of strokes Ns. The second preparation number N2 and the first preparation number N1 are used in an operation (initialization operation) of positioning the rotor 41 at the reference position Rx. The second preparation number N2 is, for example, 0.05 to 0.3 times the number of strokes Ns. The first preparation number N1 is the same as the second preparation number N2. The first preparation number N1 may be smaller than the second preparation number N2, and is preferably 0.8 to 1 times the second preparation number N2.

[0062] In the electric valve 5, the valve port 17, valve seat 18, can 20, valve body 30, rotor 41, valve shaft holder 42, guide bush 43, and stator 60 (A-phase stator 61, B-phase stator 62) each have a central axis that coincides with the axis L.

[0063] The motor-operated valve control device 70 has a substrate 71 on which a plurality of electronic components (not shown) are mounted. As shown in Fig. 1, the motor-operated valve control device 70 has a non-volatile memory 75, a communication device 76, a motor driver 77, and a computer 80. The motor-operated valve control device 70 controls the motor-operated valve 5 based on commands from the air conditioner control device 110.

[0064] The nonvolatile memory 75 stores data that needs to be retained even when the power is turned off, and is, for example, an EEPROM or a flash memory.

[0065] The communication device 76 is communicably connected to the air conditioner control device 110 via a wired communication bus 120. The air conditioner 100 employs a communication method such as Local Interconnect Network (LIN) or Controller Area Network (CAN). The communication device 76 may also be connected to the air conditioner control device 110 wirelessly.

[0066] The motor driver 77 is controlled by the computer 80 and supplies drive currents (A-phase current Ia and B-phase current Ib) to the stator 60 of the stepping motor 66 .

[0067] The motor driver 77 is connected to the stator 60. Specifically, as shown in Fig. 7, the motor driver 77 is connected to the A-phase coil 61c and the B-phase coil 62c. The motor driver 77 supplies an A-phase current Ia to the A-phase coil 61c and a B-phase current Ib to the B-phase coil 62c.

[0068] The motor driver 77 receives a pulse signal (PULSE) and a direction signal (DIR) from the computer 80. When a direction signal corresponding to a first direction is input to the motor driver 77, the pulse signal is input, which corresponds to pulses P being input to the stepping motor 66 in ascending order. When a direction signal corresponding to a second direction is input to the motor driver 77, the pulse signal is input, which corresponds to pulses P being input to the stepping motor 66 in descending order.

[0069] 7, the motor driver 77 includes H-bridge circuits 77A and 77B and a current control unit 77C. The H-bridge circuits 77A and 77B are current circuits. The motor driver 77 drives the stepping motor 66 in a bipolar manner.

[0070] The H-bridge circuit 77A is connected to the A-phase coil 61c. The H-bridge circuit 77A has switches SW11, SW12, SW13, and SW14, which are switching elements. When a current is to flow from terminal A1 to terminal A2 of the A-phase coil 61c, the switches SW11 and SW14 are turned on (conductive state), and the switches SW12 and SW13 are turned off (non-conductive state). When a current is to flow from terminal A2 to terminal A1 of the A-phase coil 61c, the switches SW12 and SW13 are turned on, and the switches SW11 and SW14 are turned off. The switches SW11, SW12, SW13, and SW14 are, for example, N-channel MOSFETs or P-channel MOSFETs, or a mixture of both.

[0071] After the A-phase current Ia is supplied to the A-phase coil 61c, the switches SW11 and SW13 are turned off and the switches SW12 and SW14 are turned on. Then, after the energy is attenuated in the circuit formed by the switches SW12 and SW14 and the A-phase coil 61c, the switches SW12 and SW14 are turned off.

[0072] The H-bridge circuit 77B is connected to the B-phase coil 62c. The H-bridge circuit 77B has switches SW21, SW22, SW23, and SW24 that are switching elements. When a current is to flow from terminal B1 to terminal B2 of the B-phase coil 62c, the switches SW21 and SW24 are turned on and the switches SW22 and SW23 are turned off. When a current is to flow from terminal B2 to terminal B1 of the B-phase coil 62c, the switches SW22 and SW23 are turned on and the switches SW21 and SW24 are turned off. The switches SW21, SW22, SW23, and SW24 are, for example, N-channel MOSFETs or P-channel MOSFETs, or a mixture of both.

[0073] After the B-phase current Ib is supplied to the B-phase coil 62c, the switches SW21 and SW23 are turned off and the switches SW22 and SW24 are turned on. Then, after energy is attenuated in the circuit formed by the switches SW22 and SW24 and the B-phase coil 62c, the switches SW22 and SW24 are turned off.

[0074] The current control unit 77C controls the H-bridge circuits 77A and 77B in response to pulse signals and direction signals input from the computer 80. The current control unit 77C outputs an A-phase switch state signal (A-STATE) indicating the states of the switches SW11, SW12, SW13, and SW14 of the H-bridge circuit 77A. The current control unit 77C outputs a B-phase switch state signal (B-STATE) indicating the states of the switches SW21, SW22, SW23, and SW24 of the H-bridge circuit 77B. The A-phase switch state signal and the B-phase switch state signal are binary signals. The binary signal has a first value (e.g., an H value) and a second value (e.g., an L value).

[0075] The current control unit 77C controls the H-bridge circuits 77A and 77B using a fixed ripple current control method.

[0076] When supplying the A-phase current Ia flowing from terminal A1 to terminal A2 to the A-phase coil 61c: (1) The current control unit 77C turns off the switches SW12 and SW13. (2) The current control unit 77C determines the magnitude of the A-phase current Ia. (2-1) The current control unit 77C turns on the switches SW11 and SW14 when the A-phase current Ia is smaller than the A-phase current lower limit value Isa. The A-phase current lower limit value Isa is smaller than the A-phase current target value Ita by a fixed value ΔI. (2-2) The current control unit 77C turns off the switches SW11 and SW14 when the A-phase current Ia reaches the A-phase current target value Ita. (3) When the switches SW11 and SW14 are on, the current control unit 77C sets the A-phase switch state signal to a first value, and when the switches SW11 and SW14 are off, the current control unit 77C sets the A-phase switch state signal to a second value.

[0077] When supplying the A-phase current Ia flowing from terminal A2 to terminal A1 to the A-phase coil 61c: (1) The current control unit 77C turns off the switches SW11 and SW14. (2) The current control unit 77C determines the magnitude of the A-phase current Ia. (2-1) The current control unit 77C turns on the switches SW12 and SW13 when the A-phase current Ia is smaller than the A-phase current lower limit Isa. (2-2) The current control unit 77C turns off the switches SW12 and SW13 when the A-phase current Ia reaches the A-phase current target value Ita. (3) When the switches SW12 and SW13 are on, the current control unit 77C sets the A-phase switch state signal to a first value, and when the switches SW12 and SW13 are off, the current control unit 77C sets the A-phase switch state signal to a second value.

[0078] When supplying the B-phase current Ib flowing from terminal B1 to terminal B2 to the B-phase coil 62c: (1) The current control unit 77C turns off the switches SW22 and SW23. (2) The current control unit 77C determines the magnitude of the B-phase current Ib. (2-1) The current control unit 77C turns on the switches SW21 and SW24 when the B-phase current Ib is smaller than the B-phase current lower limit value Isb. The B-phase current lower limit value Isb is smaller than the B-phase current target value Itb by a fixed value ΔI. (2-2) The current control unit 77C turns off the switches SW21 and SW24 when the B-phase current Ib reaches the B-phase current target value Itb. (3) When the switches SW21 and SW24 are on, the current control unit 77C sets the B-phase switch state signal to a first value, and when the switches SW21 and SW24 are off, the current control unit 77C sets the B-phase switch state signal to a second value.

[0079] When supplying the B-phase current Ib flowing from terminal B2 to terminal B1 to the B-phase coil 62c: (1) The current control unit 77C turns off the switches SW21 and SW24. (2) The current control unit 77C determines the magnitude of the B-phase current Ib. (2-1) The current control unit 77C turns on the switches SW22 and SW23 when the B-phase current Ib is smaller than the B-phase current lower limit Isb. (2-2) The current control unit 77C turns off the switches SW22 and SW23 when the B-phase current Ib reaches the B-phase current target value Itb. (3) When the switches SW22 and SW23 are on, the current control unit 77C sets the B-phase switch state signal to a first value, and when the switches SW22 and SW23 are off, the current control unit 77C sets the B-phase switch state signal to a second value.

[0080] FIG. 18 shows an example of the waveform of the B-phase current Ib and the waveform of the back electromotive force (BEMF) generated in the B-phase coil 62c in the fixed ripple current control method. The back electromotive force is a voltage generated in the B-phase coil 62c due to the rotation of the rotor 41. The B-phase current Ib flows from terminal B1 to terminal B2. During periods T(1) to T(3), when the B-phase current Ib is smaller than the B-phase current lower limit Isb, the switches SW21 and SW24 are turned on, and the B-phase current Ib increases (Ton). When the B-phase current Ib reaches the B-phase current target value Itb, the switches SW21 and SW24 are turned off, and the B-phase current Ib decreases (Toff). The switches SW21 and SW24 are repeatedly turned on and off depending on the magnitude of the B-phase current Ib. The on and off times of the switches SW21 and SW24 are variable. The off time Toff of the switches SW21 and SW24 is expressed by the following equation (1).

[0081]

[0082] where I is the B-phase current Ib supplied to the B-phase coil 62c, R is the resistance of the B-phase coil 62c, L is the inductance of the B-phase coil 62c, and ΔI is a fixed value. Equation (1) shows that Toff is related to the BEMF. That is, as shown in FIG. 18 , when the BEMF is low, Toff is short, and when the BEMF is high, Toff is long. Equation (1) also holds when the direction of the B-phase current Ib is from terminal B2 to terminal B1. Equation (1) also holds for the off-time of the switch element related to the A-phase current Ia.

[0083] The computer 80 is a microcomputer for embedded devices in which a CPU, ROM, RAM, input / output interface, A / D converter, etc. are incorporated into a single package. The computer 80 may also include a non-volatile memory 75, a communication device 76, and a motor driver 77. The computer 80 functions as a rotation control unit 81, an off-time acquisition unit 82, a state determination unit 83, and a reference waveform setting unit 84 by the CPU executing a program stored in the ROM. The computer 80 is a processing device.

[0084] The rotation control unit 81 inputs pulses P to the stepping motor 66 to rotate the rotor 41 in a first direction or a second direction. Specifically, the rotation control unit 81 controls the motor driver 77 based on a command received from the air conditioner control device 110 to supply an A-phase current Ia and a B-phase current Ib to the stator 60 (the A-phase coil 61c and the B-phase coil 62c).

[0085] The off-time acquisition unit 82 acquires the on-time and off-time of the switch elements when the A-phase current Ia and the B-phase current Ib that rotate the rotor 41 in the first direction are supplied to the stator 60 .

[0086] The off-time acquisition unit 82 acquires the on-time and off-time of the switch element related to the B-phase current Ib based on the B-phase switch state signal during the current conduction periods D(1) and D(3). The off-time acquisition unit 82 acquires the on-time and off-time of the switch element related to the A-phase current Ia based on the A-phase switch state signal during the current conduction periods D(2) and D(4). The off-time acquisition unit 82 calculates the reciprocal of the off-time acquired during the current conduction periods D(1) to D(4).

[0087] The conduction period D(1) includes consecutive periods T(1) to T(n), each having an on time and an off time. The off time in the period T(h) (h = 1 to n) is Toff(h). FIG. 18 shows examples of the waveforms of the B-phase current Ib and the back electromotive force (BEMF) generated in the B-phase coil 62c in the periods T(1) to T(3). When the conduction period D(1) ends, the off time acquisition unit 82 calculates the reciprocal of the off time in the period T(h) as 1 / Toff(h). For example, the off time acquisition unit 82 calculates the reciprocal of the off time in the period T(1) as 1 / Toff(1), the reciprocal of the off time in the period T(2) as 1 / Toff(2), and the reciprocal of the off time in the period T(3) as 1 / Toff(3). The off-time acquisition unit 82 acquires the reciprocals of the off times at predetermined time intervals from the beginning to the end of the conduction period D(1). The predetermined time intervals are, for example, 400 μs. The conduction period D(1) corresponds to pulses P[2], P[3], and P[4] and is 24 ms long. The off-time acquisition unit 82 acquires 60 reciprocals of the off times during the conduction period D(1). The off-time acquisition unit 82 may exclude, from the acquisition of the reciprocals of the off times, the period T corresponding to the switching timing of pulse P, during which the B-phase current Ib is relatively unstable, and the period T close to the switching timing. The reciprocals of the multiple off times acquired by the off-time acquisition unit 82 are waveforms of the reciprocals of the off times during the conduction period D(1). In the following description, the waveform of the reciprocals of the off times acquired by the off-time acquisition unit 82 is also referred to as the "real reciprocal waveform."

[0088] In this specification, a "waveform" refers to a temporal change in a physical quantity at a fixed point. The physical quantity includes the reciprocal of the off time. When a "waveform" is visualized, it is expressed on a coordinate plane with the physical quantity on the vertical axis and time on the horizontal axis. In addition, invisible things such as a data table in which physical quantity data and time data are associated and stored in the RAM of the computer 80 or the non-volatile memory 75 are also included in the "waveform." Furthermore, the "area of ​​a waveform" refers to the area of ​​the region enclosed by the waveform and the horizontal axis when the waveform is expressed on a coordinate plane with the physical quantity on the vertical axis and time on the horizontal axis corresponding to a physical quantity of 0.

[0089] The off-time acquisition unit 82 acquires the real reciprocal waveform during the current-carrying periods D(2) to D(4) in the same manner as during the current-carrying period D(1).

[0090] During the initialization operation, the state determination unit 83 determines the state of the motor-operated valve 5 based on the reciprocal of the off-time acquired by the off-time acquisition unit 82. The motor-operated valve 5 has a first rotation permitted state Sp1 and a first rotation restricted state Sr1. The first rotation permitted state Sp1 is a state in which the rotor 41 has not reached the reference position Rx and rotation of the rotor 41 in a first direction is permitted. The first rotation restricted state Sr1 is a state in which the rotor 41 has reached the reference position Rx and the movable stopper 42s abuts against the fixed stopper 44s, restricting rotation of the rotor 41 in the first direction.

[0091] 19 shows an example of a graph (waveform) of the rotation angle of the rotor 41, the B-phase current Ib, the back electromotive force (BEMF) generated in the B-phase coil 62c, and the reciprocal (1 / Toff) of the off time of the switch element related to the B-phase current Ib. In FIG. 19, the waveform surrounded by the dashed dotted line is an enlarged portion of the waveform of the B-phase current Ib.

[0092] 19, as the rotation angle of the rotor 41 increases, the rotor 41 approaches the reference position Rx. Then, at time tx, the rotor 41 reaches the reference position Rx, and rotation of the rotor 41 in the first direction is restricted. Before time tx, the motor-operated valve 5 is in the first rotation-permitted state Sp1, and after time tx, the motor-operated valve 5 is in the first rotation-restricted state Sr1.

[0093] FIG. 19 shows the following regarding the BEMF waveform: The BEMF waveform in the current-carrying period D(1) before time tx is the same. The BEMF waveform in the current-carrying period D(3) before time tx is the same. The BEMF waveform in the current-carrying period D(1) after time tx is the same. The BEMF waveform in the current-carrying period D(3) after time tx is the same. The BEMF waveform in the current-carrying period D(1) after time tx is different from the BEMF waveform in the current-carrying period D(1) before time tx. The BEMF waveform in the current-carrying period D(3) after time tx is different from the BEMF waveform in the current-carrying period D(3) before time tx.

[0094] FIG. 19 illustrates the following regarding the waveform of 1 / Toff (real reciprocal waveform): The real reciprocal waveform in the current conduction period D(1) before time tx is the same. The real reciprocal waveform in the current conduction period D(3) before time tx is the same. The real reciprocal waveform in the current conduction period D(1) after time tx is the same. The real reciprocal waveform in the current conduction period D(3) after time tx is the same. The real reciprocal waveform in the current conduction period D(1) before time tx is the same as the real reciprocal waveform in the current conduction period D(3) before time tx. The real reciprocal waveform in the current conduction period D(1) after time tx is different from the real reciprocal waveform in the current conduction period D(3) after time tx. The real reciprocal waveform in the current conduction period D(1) after time tx is different from the real reciprocal waveform in the current conduction period D(1) before time tx. The real reciprocal waveform in the current conduction period D(3) after time tx differs from the real reciprocal waveform in the current conduction period D(3) before time tx.

[0095] The above also applies to the waveform of the back electromotive force generated in the A-phase coil 61c and the waveform of the reciprocal of the off time of the switch element related to the A-phase current Ia.

[0096] Therefore, the state determination unit 83 can determine the state of the motor-operated valve 5 based on the reciprocal of the off time.

[0097] A refrigerant is introduced into the can 20. The refrigerant contains refrigerating machine oil. The viscosity of refrigerating machine oil is high when the refrigerant temperature is low and low when the refrigerant temperature is high. Therefore, immediately after the motor-operated valve 5 starts operating, the temperature of the refrigerant is low and there is a large resistance to the rotation of the rotor 41. As the operation of the motor-operated valve 5 progresses and the refrigerant warms due to the heat of the stator 60, the resistance decreases. Because the back electromotive force is generated by the rotation of the rotor 41, the waveform of the reciprocal of the off time of the switch element (real reciprocal waveform) may change depending on the temperature rise of the motor-operated valve 5 (refrigerant).

[0098] From this, the following can be inferred: The real reciprocal waveform when the motor-operated valve 5 is cold is different from the real reciprocal waveform when the motor-operated valve 5 is warmed up. The real reciprocal waveform changes gradually until the motor-operated valve 5 is sufficiently warmed up, and then stabilizes once the motor-operated valve 5 is sufficiently warmed up.

[0099] Therefore, in the initialization operation of the motor-operated valve 5, by rotating the rotor 41 and warming up the motor-operated valve 5, a stable real reciprocal waveform can be obtained.

[0100] Fig. 20 shows an example of a real reciprocal waveform during the energization period D(1) when the rotor 41 is rotated in the first direction with the motor-operated valve 5 in the first rotation permitted state Sp1. Fig. 21 shows an example of a real reciprocal waveform during the energization period D(1) when the rotor 41 is rotated in the first direction with the motor-operated valve 5 in the first rotation restricted state Sr1.

[0101] The state determination unit 83 compares the real reciprocal waveform with a reference waveform of the reciprocal of the off time to determine the state of the motor-operated valve 5. In the following description, the reference waveform of the reciprocal of the off time will also be simply referred to as the "reference waveform."

[0102] Furthermore, the state determination unit 83 compares the real reciprocal waveform with a reference waveform to determine whether the real reciprocal waveform is similar to the reference waveform. Even when the real reciprocal waveform is the same as the reference waveform, the state determination unit 83 determines that "the real reciprocal waveform is similar to the reference waveform."

[0103] The reference waveform setting unit 84 sets a reference waveform. The reference waveform is set based on the reciprocal of the off-time acquired by the off-time acquisition unit 82. The reference waveform setting unit 84 stores the reference waveform in the non-volatile memory 75. The reference waveform setting unit 84 may store the reference waveform in the RAM of the computer 80.

[0104] The reference waveform is set for each of the current-carrying periods D(1) to D(4).

[0105] The reference waveform during the current flow period D(1) is set based on the real reciprocal waveform when the B-phase current Ib is supplied to the B-phase coil 62c in response to the pulses P[2], P[3], and P[4] input to the stepping motor 66 when rotating the rotor 41 in the first direction.

[0106] The reference waveform during the current flow period D(2) is set based on the real reciprocal waveform when the A-phase current Ia is supplied to the A-phase coil 61c in response to pulses P[4], P[5], and P[6] input to the stepping motor 66 when rotating the rotor 41 in the first direction.

[0107] The reference waveform during the current flow period D(3) is set based on the real reciprocal waveform when the B-phase current Ib is supplied to the B-phase coil 62c in response to the pulses P[6], P[7], and P[8] input to the stepping motor 66 when rotating the rotor 41 in the first direction.

[0108] The reference waveform during the current flow period D(4) is set based on the real reciprocal waveform when the A-phase current Ia is supplied to the A-phase coil 61c in response to the pulses P[8], P[1], and P[2] input to the stepping motor 66 when rotating the rotor 41 in the first direction.

[0109] The reference waveforms are stored as data tables in the nonvolatile memory 75. The nonvolatile memory 75 stores reference waveform tables C[1] to C[4], which are the reference waveforms for the current-carrying periods D(1) to D(4).

[0110] FIG. 22 shows an example of the reference waveform table C[1]. In the reference waveform table C[1], times t at predetermined intervals from the start (time 0) of the current-carrying period D(1) are associated with a reference value rv, which is the reciprocal of the off-time at that time t. The interval between the times t is the same as the time interval (400 μs) at which the off-time acquisition unit 82 acquires the reciprocal of the off-time. The time t corresponds to the time (acquisition time) at which the off-time acquisition unit 82 acquires the reciprocal of the off-time. The reference waveform table C[1] has 60 pairs of time t and reference value rv. In FIG. 22, the unit of time t is μs. The unit of the reference value rv is not specified. The unit of time t and the unit of the reference value rv may be unique units. The reference waveform tables C[2] to D[4] also have the same structure as the reference waveform table C[1].

[0111] The state determination unit 83 calculates a value (dissimilarity index value sv) indicating the degree of difference between the real reciprocal waveform and the reference waveform. The larger the dissimilarity index value sv, the greater the degree of difference between the real reciprocal waveform and the reference waveform. When the dissimilarity index value sv is equal to or greater than a predetermined dissimilarity determination value H, it is determined that the real reciprocal waveform and the reference waveform are different. Note that the dissimilarity index value sv is also a value (similarity index value) indicating the degree of similarity between the real reciprocal waveform and the reference waveform. The smaller the dissimilarity index value sv, the greater the degree of similarity between the real reciprocal waveform and the reference waveform. When the dissimilarity index value sv is equal to or less than a predetermined similarity determination value G, it is determined that the real reciprocal waveform and the reference waveform are similar.

[0112] When the energization period D(k) (k = 1 to 4) ends, the state determination unit 83 obtains the reciprocal v of the off-time obtained by the off-time obtaining unit 82 and a reference value rv associated with the time t corresponding to the acquisition time tv of the reciprocal v in the reference waveform table C[k]. The state determination unit 83 calculates a value (difference value dv) obtained by subtracting the reference value rv from the reciprocal v. The state determination unit 83 calculates a value (intermediate value dv2) obtained by squaring the difference value dv. The state determination unit 83 calculates a dissimilarity index value sv[k] by adding together the multiple intermediate values ​​dv2 calculated for the energization period D(k).

[0113] 23 shows an example of the real reciprocal waveform (solid line) and the reference waveform (dashed line) during the current-carrying period D(1). In FIG. 23, the length of the vertical line connecting the real reciprocal waveform and the reference waveform corresponds to the difference value dv used to calculate the dissimilarity index value sv[1].

[0114] When the inverse v of the off time acquired at the acquisition time tv between the start t1 and the end t2 of the current-carrying period D is defined as v[tv], and the reference value rv associated with the time t corresponding to the acquisition time tv in the reference waveform table C is defined as rv[tv], the dissimilarity index value sv is expressed by the following equation (2).

[0115]

[0116] The state determination unit 83 determines the state of the motor-operated valve 5 based on the difference index value sv[k]. Specifically, the state determination unit 83 compares the difference index value sv[k] with a predetermined difference determination value H. Based on the comparison result between the difference index value sv[k] and the difference determination value H, the state determination unit 83 determines whether the motor-operated valve 5 is in the first rotation permitted state Sp1 or the first rotation restricted state Sr1. The motor-operated valve control device 70 may have a difference determination value H[k] corresponding to the difference index value sv[k]. The difference determination values ​​H[k] may be the same value or different values ​​from each other.

[0117] The state determination unit 83 also determines whether the real reciprocal waveform used to calculate the dissimilarity index value sv[k] is similar to the reference waveform. Specifically, the state determination unit 83 compares the dissimilarity index value sv[k] with a predetermined similarity determination value G. The state determination unit 83 determines whether the real reciprocal waveform is similar to the reference waveform based on the comparison result between the dissimilarity index value sv[k] and the similarity determination value G. The motor-operated valve control device 70 may have a similarity determination value G[k] corresponding to the dissimilarity index value sv[k]. The similarity determination values ​​G[k] may be the same value or different values.

[0118] Next, an example (operation example 1) of the initialization operation of the motor-operated valve control device 70 will be described with reference to FIGS. 24 to 28. FIG.

[0119] When the motor-operated valve control device 70 (specifically, the computer 80) receives an initialization command from the air conditioner control device 110 (S100), it invalidates the reference waveform stored in the non-volatile memory 75 and then performs an initialization operation. The initialization operation includes a second preparation operation (S200), a first preparation operation (S400), and a positioning operation (S600). The second preparation operation, the first preparation operation, and the positioning operation correspond to the second preparation step, the first preparation step, and the positioning step.

[0120] (Second Preparatory Operation) In the second preparatory operation, the motor-operated valve control device 70 starts inputting pulses P to the stepping motor 66 in descending order (Y in S210 and S220) to rotate the rotor 41 in the second direction. When the number of pulses P input to the stepping motor 66 in the second preparatory operation reaches the second preparatory number N2 (N in S220), the motor-operated valve control device 70 stops inputting pulses P to the stepping motor 66 (S230). The motor-operated valve control device 70 ends the second preparatory operation and starts the first preparatory operation.

[0121] (First Preparatory Operation) When the first preparatory operation is started, the reference waveform is not yet set. "Not yet set" includes cases where a reference waveform has never been set, where a reference waveform has been set but never used and will be overwritten by a newly set reference waveform, and where a reference waveform has been set but is recognized as invalid.

[0122] In the first preparatory operation, the motor-operated valve control device 70 starts inputting pulses P to the stepping motor 66 in ascending order (Y in S410 and S420) to rotate the rotor 41 in the first direction. When the number of pulses P input to the stepping motor 66 in the first preparatory operation reaches K (N in S420), the motor-operated valve control device 70 acquires a real reciprocal waveform (S430) and sets a reference waveform (S440). Acquisition of the real reciprocal waveform starts from the first energization period D after the Kth pulse P input in the first preparatory operation. K is a natural number greater than or equal to 1 and less than or equal to the first preparation number N1. In the motor-operated valve control device 70, K=1. It is preferable that K be a value less than or equal to half of the first preparation number N1.

[0123] In steps S430 and S440, the motor-operated valve control device 70 acquires the real reciprocal waveform during the current-carrying period D(k) (k=1 to 4) and stores the real reciprocal waveform during the current-carrying period D(k) as a reference waveform (reference waveform table C[k]) in the non-volatile memory 75. In other words, the motor-operated valve control device 70 sets the reference waveform.

[0124] When the reference waveform is set, the motor-operated valve control device 70 starts the determination operation (S450 to S500).

[0125] The motor-operated valve control device 70 acquires the real reciprocal waveform during the energization period D(k) (S450). The motor-operated valve control device 70 calculates the dissimilarity index value sv[k] using the real reciprocal waveform during the energization period D(k) and the reference waveform (reference waveform table C[k]) (S460).

[0126] The motor-operated valve control device 70 determines whether the real reciprocal waveform and the reference waveform are similar to each other (S470).

[0127] Specifically, the motor-operated valve control device 70 compares the dissimilarity index value sv[k] with the similarity determination value G. When the dissimilarity index value sv[k] is equal to or smaller than the similarity determination value G, the motor-operated valve control device 70 determines that the real reciprocal waveform during the current-carrying period D(k) is similar to the reference waveform. When the dissimilarity index value sv[k] is greater than the similarity determination value G, the motor-operated valve control device 70 determines that the real reciprocal waveform during the current-carrying period D(k) is not similar to the reference waveform.

[0128] When the electric valve control device 70 determines that the real reciprocal waveform during the current-carrying period D(k) is similar to the reference waveform (Y in S480), it stores the real reciprocal waveform in the non-volatile memory 75 as a new reference waveform (reference waveform table C[k]) (S490).

[0129] When the motor-operated valve control device 70 determines that the real reciprocal waveform during the current application period D(k) is not similar to the reference waveform (N in S480), it maintains the current reference waveform (reference waveform table C[k]). In other words, the motor-operated valve control device 70 does not update the reference waveform.

[0130] When the number of pulses P input to the stepping motor 66 in the first preparation operation is smaller than the first preparation number N1 (Y in S500), the motor-operated valve control device 70 repeats the above operations (S450 to S500).

[0131] When the number of pulses P input to the stepping motor 66 in the first preparation operation reaches the first preparation number N1 (N in S500), the electric valve control device 70 ends the first preparation operation and starts the positioning operation.

[0132] (Positioning Operation) In the positioning operation, following the first preparation operation, the motor-operated valve control device 70 inputs pulses P to the stepping motor 66 in ascending order to rotate the rotor 41 in the first direction.

[0133] The motor-operated valve control device 70 acquires the real reciprocal waveform during the energization period D(k) (S610). The motor-operated valve control device 70 calculates the dissimilarity index value sv[k] using the real reciprocal waveform during the energization period D(k) and the reference waveform (reference waveform table C[k]) (S620).

[0134] The motor-operated valve control device 70 determines the state of the motor-operated valve 5 (S630).

[0135] Specifically, the motor-operated valve control device 70 compares the discrepancy index value sv[k] with the discrepancy determination value H, and compares the discrepancy index value sv[j] (j=k-1 when k=2, 3, 4, and j=4 when k=1) calculated immediately before the discrepancy index value sv[k] with the discrepancy determination value H. The motor-operated valve control device 70 determines that the motor-operated valve 5 is in the first rotation restricted state Sr1 when the discrepancy index value sv[k] is equal to or greater than the discrepancy determination value H and the discrepancy index value sv[j] is equal to or greater than the discrepancy determination value H. The motor-operated valve control device 70 determines that the motor-operated valve 5 is in the first rotation permitted state Sp1 when the discrepancy index value sv[k] is smaller than the discrepancy determination value H or when the discrepancy index value sv[j] is smaller than the discrepancy determination value H.

[0136] Alternatively, the motor-operated valve control device 70 may compare only the discrepancy index value sv[k] with the discrepancy determination value H to determine the state of the motor-operated valve 5. Specifically, the motor-operated valve control device 70 compares the discrepancy index value sv[k] for a period X[n] (n is a natural number) including pulses P[1] to P[8] with the discrepancy determination value H, and compares the discrepancy index value sv[k] for a period X[n-1] immediately preceding the period X[n] with the discrepancy determination value H. The motor-operated valve control device 70 determines that the motor-operated valve 5 is in the first rotation restricted state Sr1 when the discrepancy index value sv[k] for the period X[n] is equal to or greater than the discrepancy determination value H and the discrepancy index value sv[k] for the period X[n-1] is equal to or greater than the discrepancy determination value H. The motor-operated valve control device 70 may determine that the motor-operated valve 5 is in the first rotation restricted state Sr1 when all of the multiple difference index values ​​sv[k] relating to three or more consecutive periods X are equal to or greater than the difference determination value H. The motor-operated valve control device 70 determines that the motor-operated valve 5 is in the first rotation permitted state Sp1 when the difference index value sv[k] relating to the period X[n] is smaller than the difference determination value H, or when the difference index value sv[k] relating to the period X[n-1] is smaller than the difference determination value H.

[0137] When the motor-operated valve 5 is in the first rotation restriction state Sr1 (Y in S640), the motor-operated valve control device 70 determines that the rotor 41 is positioned at the reference position Rx. The motor-operated valve control device 70 then notifies the air conditioner control device 110 of the success of the initialization operation (S660) and stops inputting pulses P to the stepping motor 66 (S680). The motor-operated valve control device 70 then ends the positioning operation (i.e., the initialization operation).

[0138] The electric valve control device 70 repeats the above operations (S610 to S650) when the electric valve 5 is in the first rotation-permitting state Sp1 and the number of pulses P input to the stepping motor 66 in the first preparatory operation and positioning operation is less than or equal to the initialization number Ni (N in S640, N in S650).

[0139] When the motor-operated valve 5 is in the first rotation permitted state Sp1 and the number of pulses P input to the stepping motor 66 during the first preparatory operation and the positioning operation exceeds the initialization number Ni (N in S640, Y in S650), the motor-operated valve control device 70 determines that the motor-operated valve 5 is malfunctioning. The motor-operated valve control device 70 then notifies the air conditioner control device 110 that the initialization operation has failed (S670) and stops inputting pulses P to the stepping motor 66 (S680). The motor-operated valve control device 70 then terminates the positioning operation (i.e., the initialization operation). The motor-operated valve control device 70 may also perform the above-described determination operation during the positioning operation. Specifically, the motor-operated valve control device 70 performs the same operations as steps S460 to S490 of the first preparatory operation immediately before step S620 of the positioning operation.

[0140] If the initialization operation is successful, the rotor 41 is positioned at the reference position Rx. When the motor-operated valve control device 70 rotates the rotor 41 at the reference position Rx in the second direction, it inputs pulses P to the stepping motor 66 in descending order.

[0141] In the first operational example, steps S430, S450, and S610 correspond to an OFF time acquisition step, steps S440 and S490 correspond to a reference waveform setting step, and step S630 corresponds to a state determination step.

[0142] Next, another example (operation example 2) of the initialization operation of the motor-operated valve control device 70 will be described with reference to FIGS. 29 and 30. FIG.

[0143] In operation example 2, a reference waveform (reference waveform table C[k]), a first reference waveform (first reference waveform table C1[k]), and a second reference waveform (second reference waveform table C2[k]) are stored in non-volatile memory 75. The first reference waveform table C1[k] and the second reference waveform table C2[k] have the same configuration as the reference waveform table C[k].

[0144] When the motor-operated valve control device 70 receives an initialization command from the air conditioner control device 110 (S100), it invalidates the reference waveform, first reference waveform, and second reference waveform stored in the non-volatile memory 75, and then performs an initialization operation. The initialization operation includes a second preparatory operation (S200), a first preparatory operation (S700), and a positioning operation (S600). In Operation Example 2, the second preparatory operation and the positioning operation are the same as in Operation Example 1, so detailed description thereof will be omitted.

[0145] (First Preparatory Operation) When the first preparatory operation is started, the reference waveform, the first reference waveform, and the second reference waveform have not yet been set.

[0146] In the first preparatory operation, the motor-operated valve control device 70 starts inputting pulses P to the stepping motor 66 in ascending order (Y in S710 and S720) to rotate the rotor 41 in the first direction. When the number of pulses P input to the stepping motor 66 in the first preparatory operation reaches K (N in S720), the motor-operated valve control device 70 acquires a real reciprocal waveform (S730) and sets a first reference waveform (S740). Acquisition of the real reciprocal waveform starts from the first energization period D after the Kth pulse P input in the first preparatory operation.

[0147] In steps S730 and S740, the motor-operated valve control device 70 acquires the real reciprocal waveform during the current-carrying period D(k) and stores the real reciprocal waveform during the current-carrying period D(k) as a first reference waveform (first reference waveform table C1[k]) in the non-volatile memory 75. In other words, the motor-operated valve control device 70 sets the first reference waveform.

[0148] When the first reference waveform is set, the motor-operated valve control device 70 starts the first determination operation (S750 to S930).

[0149] The motor-operated valve control device 70 acquires the real reciprocal waveform during the current-carrying period D(k) (S750). The motor-operated valve control device 70 calculates a first difference index value sv1[k] using the real reciprocal waveform during the current-carrying period D(k) and the first reference waveform (first reference waveform table C1[k]) (S760). The motor-operated valve control device 70 calculates the first difference index value sv1[k] in the same manner as the difference index value sv[k].

[0150] The motor-operated valve control device 70 determines whether the real reciprocal waveform and the first reference waveform are similar to each other (S770).

[0151] Specifically, the motor-operated valve control device 70 compares the first difference index value sv1[k] with the similarity determination value G. When the first difference index value sv1[k] is equal to or smaller than the similarity determination value G, the motor-operated valve control device 70 determines that the real reciprocal waveform during the current-carrying period D(k) is similar to the first reference waveform. When the first difference index value sv1[k] is greater than the similarity determination value G, the motor-operated valve control device 70 determines that the real reciprocal waveform during the current-carrying period D(k) is not similar to the first reference waveform.

[0152] When the electric valve control device 70 determines that the real reciprocal waveform during the current-carrying period D(k) is similar to the first reference waveform (Y in S780), it stores the real reciprocal waveform in the non-volatile memory 75 as a new first reference waveform (first reference waveform table C1[k]) (S790).

[0153] When the motor-operated valve control device 70 first determines that the real reciprocal waveform during the current-carrying period D(k) is not similar to the first reference waveform (N in S780), it stores the real reciprocal waveform in the non-volatile memory 75 as a second reference waveform (second reference waveform table C2[k]) (S820). That is, the motor-operated valve control device 70 sets the second reference waveform.

[0154] When the number of pulses P input to the stepping motor 66 in the first preparation operation is smaller than the first preparation number N1 (Y in S800), the motor-operated valve control device 70 repeats the above operations (S750 to S800).

[0155] When the number of pulses P input to the stepping motor 66 in the first preparatory operation reaches the first preparation number N1 (N in S800), the motor-operated valve control device 70 sets the first reference waveform (first reference waveform table C1[k]) as the reference waveform (reference waveform table C[k]) (S810). The motor-operated valve control device 70 ends the first preparatory operation and starts the positioning operation.

[0156] When the second reference waveform is set, the motor-operated valve control device 70 starts the second determination operation (S830 to S930).

[0157] The motor-operated valve control device 70 acquires the real reciprocal waveform during the current-carrying period D(k) (S830). The motor-operated valve control device 70 calculates a first difference index value sv1[k] using the real reciprocal waveform during the current-carrying period D(k) and the first reference waveform (first reference waveform table C1[k]), and calculates a second difference index value sv2[k] using the real reciprocal waveform during the current-carrying period D(k) and the second reference waveform (second reference waveform table C2[k]) (S840). The motor-operated valve control device 70 calculates the first difference index value sv1[k] and the second difference index value sv2[k] in the same manner as for the difference index value sv[k].

[0158] The motor-operated valve control device 70 determines whether the real reciprocal waveform and the first reference waveform are similar, and determines whether the real reciprocal waveform and the second reference waveform are similar (S850).

[0159] Specifically, the motor-operated valve control device 70 compares the first difference index value sv1[k] with the similarity determination value G. When the first difference index value sv1[k] is equal to or smaller than the similarity determination value G, the motor-operated valve control device 70 determines that the real reciprocal waveform during the current-carrying period D(k) is similar to the first reference waveform. When the first difference index value sv1[k] is greater than the similarity determination value G, the motor-operated valve control device 70 determines that the real reciprocal waveform during the current-carrying period D(k) is not similar to the first reference waveform.

[0160] The motor-operated valve control device 70 compares the second difference index value sv2[k] with the similarity determination value G. When the second difference index value sv2[k] is equal to or smaller than the similarity determination value G, the motor-operated valve control device 70 determines that the real reciprocal waveform during the current-carrying period D(k) is similar to the second reference waveform. When the second difference index value sv2[k] is greater than the similarity determination value G, the motor-operated valve control device 70 determines that the real reciprocal waveform during the current-carrying period D(k) is not similar to the second reference waveform.

[0161] When the electric valve control device 70 determines that the real reciprocal waveform during the current-flow period D(k) is similar to the first reference waveform and that the real reciprocal waveform during the current-flow period D(k) is not similar to the second reference waveform (Y in S860, N in S870), it stores the real reciprocal waveform in the non-volatile memory 75 as a new first reference waveform (first reference waveform table C1[k]) (S900).

[0162] When the electric valve control device 70 determines that the real reciprocal waveform during the current-flow period D(k) is not similar to the first reference waveform and determines that the real reciprocal waveform during the current-flow period D(k) is similar to the second reference waveform (N in S860, Y in S880), it stores the real reciprocal waveform in the non-volatile memory 75 as a new second reference waveform (second reference waveform table C2[k]) (S910).

[0163] When the electric valve control device 70 determines that the real reciprocal waveform during the current conduction period D(k) is not similar to the first reference waveform and also determines that the real reciprocal waveform during the current conduction period D(k) is not similar to the second reference waveform (N in S860, N in S880), it maintains the current first reference waveform (first reference waveform table C1[k]) and also maintains the current second reference waveform (second reference waveform table C2[k]).

[0164] When the electric valve control device 70 determines that the real reciprocal waveform during the current-flow period D(k) is similar to the first reference waveform and also determines that the real reciprocal waveform during the current-flow period D(k) is similar to the second reference waveform (Y in S860, Y in S870), it determines whether the real reciprocal waveform is similar to the first reference waveform or the second reference waveform (S890).

[0165] Specifically, the motor-operated valve control device 70 compares the first difference index value sv1[k] with the second difference index value sv2[k]. When the first difference index value sv1[k] is equal to or less than the second difference index value sv2[k] (sv1[k]≦sv2[k]), the motor-operated valve control device 70 determines that the real reciprocal waveform during the current-carrying period D(k) is more similar to the first reference waveform than to the second reference waveform. When the first difference index value sv1[k] is greater than the second difference index value sv2[k] (sv1[k]>sv2[k]), the motor-operated valve control device 70 determines that the real reciprocal waveform during the current-carrying period D(k) is more similar to the second reference waveform than to the first reference waveform.

[0166] When the electric valve control device 70 determines that the real reciprocal waveform during the current-flow period D(k) is more similar to the first reference waveform than to the second reference waveform (Y in S890), it stores the real reciprocal waveform in the non-volatile memory 75 as a new first reference waveform (first reference waveform table C1[k]) (S900).

[0167] When the electric valve control device 70 determines that the real reciprocal waveform during the current-flow period D(k) is more similar to the second reference waveform than to the first reference waveform (N in S890), it stores the real reciprocal waveform in the non-volatile memory 75 as a new second reference waveform (second reference waveform table C2[k]) (S910).

[0168] In addition, when the electric valve control device 70 determines that the real reciprocal waveform during the current-flow period D(k) is similar to the first reference waveform and also determines that the real reciprocal waveform during the current-flow period D(k) is similar to the second reference waveform (Y in S860, Y in S870), it may store the real reciprocal waveform in the non-volatile memory 75 as a new first reference waveform (first reference waveform table C1[k]) and store the real reciprocal waveform in the non-volatile memory 75 as a new second reference waveform (second reference waveform table C2[k]).

[0169] When the number of pulses P input to the stepping motor 66 in the first preparation operation is smaller than the first preparation number N1 (Y in S920), the motor-operated valve control device 70 repeats the above operations (S830 to S920).

[0170] When the number of pulses P input to the stepping motor 66 during the first preparation operation reaches the first preparation count N1 (N in S920), the motor-operated valve control device 70 sets the first reference waveform or the second reference waveform, whichever has been set more frequently, as the reference waveform (S930). That is, when the number of times the real reciprocal waveform has been set as the first reference waveform (first set count) is greater than the number of times the real reciprocal waveform has been set as the second reference waveform (second set count), the motor-operated valve control device 70 sets the first reference waveform as the reference waveform. When the second set count is greater than the first set count, the motor-operated valve control device 70 sets the second reference waveform as the reference waveform. When the first set count and the second set count are the same, the motor-operated valve control device 70 sets the first reference waveform as the reference waveform. The first set count is the number of times the real reciprocal waveform has been set as the first reference waveform in steps S740, S790, and S900. The second set count is the number of times the real reciprocal waveform has been set as the second reference waveform in steps S820 and S910. The motor-operated valve control device 70 finishes the first preparation operation and starts the positioning operation.

[0171] In the second operational example, steps S730, S750, and S830 correspond to the off-time acquisition step, steps S740, S790, S810, S820, S900, S910, and S930 correspond to the reference waveform setting step, and step S630 corresponds to the state determination step.

[0172] The motor-operated valve device 1 includes a motor-operated valve 5 and a motor-operated valve control device 70. The motor-operated valve 5 includes a valve body 10 having a valve port 17, a stepping motor 66 having a rotor 41 and a stator 60, a valve element 30 facing the valve port 17 and moving toward the valve port 17 when the rotor 41 rotates in a first direction, and a stopper mechanism 49 that restricts rotation of the rotor 41 in the first direction when the rotor 41 is in a reference position Rx. The stator 60 is connected to H-bridge circuits 77A and 77B, which are current circuits that supply drive current. The H-bridge circuits 77A and 77B each include a switch element. The H-bridge circuit 77A operates in such a way that the switch element is turned on when the A-phase current Ia is smaller than the A-phase current lower limit value Isa and turned off when the A-phase current Ia reaches the A-phase current target value Ita. The H-bridge circuit 77B operates in such a manner that the switch element is turned on when the B-phase current Ib is smaller than the B-phase current lower limit value Isb, and the switch element is turned off when the B-phase current Ib reaches the B-phase current target value Itb.

[0173] The motor-operated valve control device 70 acquires (off-time acquiring unit 82) the off times of the switch elements of the H-bridge circuits 77A, 77B when the A-phase current Ia and the B-phase current Ib that rotate the rotor 41 in the first direction are supplied to the stator 60. The motor-operated valve control device 70 determines (state determining unit 83) based on the off times whether the motor-operated valve 5 is in the first rotation restriction state Sr1.

[0174] As a result, when the motor-operated valve control device 70 determines that the motor-operated valve 5 is in the first rotation restricted state Sr1, the rotor 41 is in the reference position Rx. Therefore, when the motor-operated valve control device 70 determines that the motor-operated valve 5 is in the first rotation restricted state Sr1, the motor-operated valve control device 70 stops the rotation of the rotor 41 in the first direction, thereby shortening the time required for the initialization operation. Furthermore, it is possible to prevent noise from being generated for a long period of time after the rotor 41 is positioned at the reference position Rx.

[0175] Furthermore, the motor-operated valve control device 70 determines whether the motor-operated valve 5 is in the first rotation restricted state Sr1 based on the off times of the switch elements of the H-bridge circuits 77A, 77B. Therefore, no components such as a rotation angle sensor are required to determine the state of the motor-operated valve 5 based on the rotation of the rotor 41, and the motor-operated valve 5 and motor-operated valve control device 70 can be configured simply.

[0176] Furthermore, for example, when determining the state of the motor-operated valve 5 based on the back electromotive force, the back electromotive force is acquired when no drive current is flowing through the stator 60, and therefore the timing for acquiring the back electromotive force is limited. On the other hand, when determining the state of the motor-operated valve 5 based on the off time, the off time can be acquired even when a drive current is flowing through the stator 60. This allows the motor-operated valve control device 70 to timely determine whether the motor-operated valve 5 is in the first rotation restricted state Sr1.

[0177] Furthermore, the motor-operated valve control device 70 acquires a waveform of the reciprocal of the off-time (real reciprocal waveform) and determines whether the motor-operated valve 5 is in the first rotation restricted state Sr1 based on the degree of difference between the real reciprocal waveform and a reference waveform of the reciprocal of the off-time. Therefore, the state of the motor-operated valve 5 can be determined with higher accuracy than in a configuration in which the state of the motor-operated valve 5 is determined based on the area of ​​the real reciprocal waveform or the maximum amplitude of the real reciprocal waveform. Note that the motor-operated valve control device 70 may also determine the state of the motor-operated valve 5 based on the difference between the real reciprocal waveform and the reference waveform. For example, the motor-operated valve control device 70 may determine whether the motor-operated valve 5 is in the first rotation restricted state Sr1 based on the difference between the area of ​​the real reciprocal waveform and the area of ​​the reference waveform, or the difference between the amplitude of the real reciprocal waveform and the amplitude of the reference waveform.

[0178] Furthermore, the reference waveform is set based on the real reciprocal waveform acquired when the A-phase current Ia and the B-phase current Ib that rotate the rotor 41 in the first direction are supplied to the stator 60. The motor-operated valve control device 70 then calculates a difference index value sv that indicates the degree of difference between the real reciprocal waveform and the reference waveform, and determines whether the motor-operated valve 5 is in the first rotation restricted state Sr1 based on the result of comparing the difference index value sv with the difference determination value H. In this way, the motor-operated valve control device 70 can determine the state of the motor-operated valve 5 with higher accuracy.

[0179] The reference waveform is a data table that associates a time t with a reference value rv, which is the reciprocal of the off-time at that time t. The motor-operated valve control device 70 calculates an intermediate value dv2, which is the square of the difference between the reciprocal v of the off-time at an acquisition time tv corresponding to time t and the reference value rv associated with time t. The motor-operated valve control device 70 calculates a difference index value sv by adding up multiple intermediate values ​​dv2. As a result, the difference index value sv appropriately reflects the degree of difference in the waveform shapes, unlike the waveform area and maximum amplitude. This allows the motor-operated valve control device 70 to determine the state of the motor-operated valve 5 with higher accuracy.

[0180] The dissimilarity index value sv is not limited to one calculated using the above formula (2). The dissimilarity index value may be, for example, one relating to the transition of the magnitude of the reciprocal v at the acquisition time tv. Specifically, the motor-operated valve control device 70 calculates a difference value dv between the reciprocal v of the off time at the acquisition time tv corresponding to time t and a reference value rv associated with time t. The difference value dv is calculated as an absolute value. The motor-operated valve control device 70 determines the number of difference values ​​dv calculated for the current-carrying period D that are equal to or greater than a predetermined difference judgment value as the dissimilarity index value. Such a dissimilarity index value also appropriately reflects the degree of difference in the waveform shapes.

[0181] The motor-operated valve control device 70 also inputs pulses P to the stepping motor 66 to rotate the rotor 41 (rotation control unit 81). The motor-operated valve control device 70 sets a reference waveform (reference waveform setting unit 84). In response to the input of pulses P to the stepping motor 66, the H-bridge circuits 77A and 77B supply the stator 60 with an A-phase current Ia and a B-phase current Ib corresponding to the pulses P. The motor-operated valve control device 70 performs a second preparatory operation by inputting pulses P of a second preparatory number N2 to the stepping motor 66 to rotate the rotor 41 in a second direction. Following the second preparatory operation, the motor-operated valve control device 70 performs a first preparatory operation by inputting pulses P of a first preparatory number N1 to the stepping motor 66 to rotate the rotor 41 in a first direction. The first preparatory number N1 is the same as the second preparatory number N2. The motor-operated valve control device 70 sets the real reciprocal waveform acquired during the first preparatory operation as a reference waveform. In this way, the motor-operated valve control device 70 sets the real reciprocal waveform acquired some time after the motor-operated valve 5 starts operating as the reference waveform. Therefore, a relatively stable real reciprocal waveform acquired by actually using the motor-operated valve 5 can be used as the reference waveform, and the state of the motor-operated valve 5 can be determined with higher accuracy.

[0182] Furthermore, when the motor-operated valve control device 70 starts the first preparatory operation in Operation Example 1, a reference waveform has not yet been set. The motor-operated valve control device 70 performs a determination operation to determine whether the real reciprocal waveform acquired during the first preparatory operation is similar to the reference waveform based on the degree of difference between the real reciprocal waveform and the reference waveform. After setting the reference waveform, the motor-operated valve control device 70 starts the determination operation. When the number of pulses P input to the stepping motor 66 during the first preparatory operation reaches K, the motor-operated valve control device 70 sets the real reciprocal waveform acquired by the motor-operated valve control device 70 as the reference waveform. When the motor-operated valve control device 70 determines in the determination operation that the real reciprocal waveform and the reference waveform are similar, it sets the real reciprocal waveform used in the determination as the reference waveform. When the motor-operated valve control device 70 determines in the determination operation that the real reciprocal waveform and the reference waveform are not similar, it maintains the reference waveform. In this manner, the motor-operated valve control device 70 can set a reference waveform suitable for the motor-operated valve 5.

[0183] Furthermore, in the determination operation, the motor-operated valve control device 70 calculates a difference index value sv that indicates the degree of difference between the real reciprocal waveform and the reference waveform, and determines whether the real reciprocal waveform and the reference waveform are similar based on the results of comparing the difference index value sv with the similarity determination value G. In this way, the motor-operated valve control device 70 can set a reference waveform that is more suitable for the motor-operated valve 5.

[0184] Furthermore, when the motor-operated valve control device 70 starts the first preparatory operation in Operation Example 2, the first reference waveform and the second reference waveform have not yet been set. The motor-operated valve control device 70 performs a first determination operation to determine whether the real reciprocal waveform and the first reference waveform are similar based on the degree of difference between the real reciprocal waveform and the first reference waveform obtained during the first preparatory operation. The motor-operated valve control device 70 performs a second determination operation to determine whether the real reciprocal waveform and the second reference waveform are similar based on the degree of difference between the real reciprocal waveform and the second reference waveform obtained during the first preparatory operation. After setting the first reference waveform, the motor-operated valve control device 70 starts the first determination operation. After setting the second reference waveform, the motor-operated valve control device 70 starts the second determination operation. When the number of pulses P input to the stepping motor 66 during the first preparatory operation reaches K, the motor-operated valve control device 70 sets the real reciprocal waveform obtained by the motor-operated valve control device 70 as the first reference waveform. When the motor-operated valve control device 70 determines in the first determination operation that the real reciprocal waveform and the first reference waveform are similar, it sets the real reciprocal waveform used in the determination as the first reference waveform. When the motor-operated valve control device 70 determines in the first determination operation that the real reciprocal waveform and the first reference waveform are not similar, it maintains the first reference waveform. When the motor-operated valve control device 70 initially determines in the first determination operation that the real reciprocal waveform and the first reference waveform are not similar, it sets the real reciprocal waveform used in the determination as the second reference waveform. When the motor-operated valve control device 70 determines in the second determination operation that the real reciprocal waveform and the second reference waveform are similar, it sets the real reciprocal waveform used in the determination as the second reference waveform. When the motor-operated valve control device 70 determines in the second determination operation that the real reciprocal waveform and the second reference waveform are not similar, it maintains the second reference waveform. When the first preparatory operation ends, the motor-operated valve control device 70 sets the first reference waveform as the reference waveform if the first set number of times is greater than the second set number of times, and sets the second reference waveform as the reference waveform if the second set number of times is greater than the first set number of times. The first set number of times is the number of times the real reciprocal waveform is set as the first reference waveform. The second set number of times is the number of times the real reciprocal waveform is set as the second reference waveform. In this way, the motor-operated valve control device 70 can set reference waveforms suitable for the motor-operated valve 5.When the first set number of times is equal to the second set number of times, the motor-operated valve control device 70 sets the first reference waveform as the reference waveform. When the first set number of times is equal to the second set number of times, the motor-operated valve control device 70 may set the second reference waveform as the reference waveform.

[0185] Furthermore, when the motor-operated valve control device 70 determines in the first determination operation that the real reciprocal waveform and the first reference waveform are similar and determines in the second determination operation that the real reciprocal waveform and the second reference waveform are similar, (1) if the real reciprocal waveform used in the determination is more similar to the first reference waveform than to the second reference waveform, it sets the real reciprocal waveform used in the determination as the first reference waveform, and (2) if the real reciprocal waveform used in the determination is more similar to the second reference waveform than to the first reference waveform, it sets the real reciprocal waveform used in the determination as the second reference waveform. This makes it possible to avoid setting the same real reciprocal waveform as both the first and second reference waveforms.

[0186] Furthermore, in the first determination operation, the motor-operated valve control device 70 calculates a first difference index value sv1 indicating the degree of difference between the real reciprocal waveform and the first reference waveform, and determines whether the real reciprocal waveform and the first reference waveform are similar based on the results of comparing the first difference index value sv1 with the similarity determination value G. In the second determination operation, the motor-operated valve control device 70 calculates a second difference index value sv2 indicating the degree of difference between the real reciprocal waveform and the second reference waveform, and determines whether the real reciprocal waveform and the second reference waveform are similar based on the results of comparing the second difference index value sv2 with the similarity determination value G. In this way, the motor-operated valve control device 70 can set first reference waveform, second reference waveform, and reference waveforms that are more suitable for the motor-operated valve 5.

[0187] Alternatively, the motor-operated valve control device 70 may perform the second preparatory operation and the first preparatory operation multiple times, and set the real reciprocal waveform acquired during the final first preparatory operation as the reference waveform. This allows the motor-operated valve 5 to be sufficiently warmed up, and a more stable real reciprocal waveform can be set as the reference waveform.

[0188] Furthermore, following the first preparatory operation, the motor-operated valve control device 70 performs a positioning operation by inputting pulses P to the stepping motor 66 to rotate the rotor 41 in the first direction. When the motor-operated valve control device 70 determines that the motor-operated valve 5 is in the first rotation restriction state Sr1 during the positioning operation, it stops inputting pulses P to the stepping motor 66. When the number of pulses P input to the stepping motor 66 during the first preparatory operation and the positioning operation exceeds the initialization number Ni, the motor-operated valve control device 70 determines that the motor-operated valve 5 has failed. This allows the motor-operated valve control device 70 to stop rotation of the rotor 41 in the first direction more easily and quickly than, for example, a configuration in which the motor-operated valve 5 is notified to the air conditioner control device 110 that it is in the first rotation restriction state Sr1, receives a stop command from the air conditioner control device 110, and stops the initialization operation. Furthermore, the motor-operated valve control device 70 can detect a failure of the motor-operated valve 5.

[0189] The motor-operated valve control device 70 sets the real reciprocal waveform acquired in the initialization operation as the reference waveform. For example, the motor-operated valve control device 70 may have the real reciprocal waveform acquired at the time of factory shipment using the motor-operated valve 5 set as the reference waveform in advance. The motor-operated valve control device 70 having this configuration starts inputting pulses P to the stepping motor 66 in ascending order and performs the positioning operation in the initialization operation without performing the second preparatory operation and the first preparatory operation.

[0190] In this specification, terms indicating a shape, such as "cylinder" or "column," are also used to refer to members or portions of members that substantially have the shape of the term. For example, a "cylindrical member" includes both a cylindrical member and a substantially cylindrical member. In addition, in this specification, the term "same" can include both the exact same and the substantially same.

[0191] Although the embodiments of the present invention have been described above, the present invention is not limited to these embodiments. Any modifications, additions, deletions, or design changes of components made by a person skilled in the art to the above embodiments, or any combinations of features of the embodiments, are also included within the scope of the present invention as long as they do not deviate from the spirit of the present invention.

[0192] 1...motor-operated valve device, 5...motor-operated valve, 10...valve body, 11...main body member, 11a...fitting hole, 11b...through hole, 11d...flat surface, 13...connecting member, 14...valve chamber, 15...first conduit, 16...second conduit, 17...valve port, 18...valve seat, 20...can, 30...valve body, 31...first shaft portion, 32...second shaft portion, 33...valve portion, 34...step portion, 40...drive mechanism, 41...rotor, 41a...fitting hole, 42...valve stem holder, 42a...upper wall portion, 42b...shaft hole, 42c...female thread, 42s...movable stopper, 43...guide bush, 43a...base portion, 43b...support portion, 43c...male thread, 43d...flat surface, 44...stopper member, 44a...stopper body, 44c...female thread, 44s...fixed stopper, 45...fixing device, 45a...fixing portion, 45b...flange portion, 46...washer, 47...valve closing spring, 48...return spring, 49...stopper mechanism, 60...stator, 61...A-phase stator, 61a...pole teeth, 61b...pole teeth, 61c...A-phase coil, 62...B-phase stator, 62a...pole teeth, 62b...pole teeth, 62c...B-phase coil, 66...stepping motor, 70...electric valve control device, 71...substrate, 75...non-volatile memory, 76...communication device, 77...motor driver, 77A...H-bridge circuit, 77B...H-bridge circuit, 77C...current control unit, 80...computer, 81...rotation control unit, 82...off time acquisition unit, 83...state determination unit, 84...reference waveform setting unit, 100...air conditioner, 101...compressor, 102...condenser, 103...evaporator, 105...piping, 110...air conditioner control device, 120...wired communication bus, L...axis

Claims

1. An electric valve control device that controls a motor-operated valve having a valve body having a valve port, a stepping motor having a rotor and a stator, a valve element that faces the valve port and moves toward the valve port when the rotor rotates in a first direction, and a stopper mechanism that restricts rotation of the rotor in the first direction when the rotor is in a reference position, wherein the stator is connected to a current circuit that supplies a drive current, the current circuit has a switch element that operates in such a way that the switch element is turned on when the drive current is smaller than a lower limit value that is smaller than a target value by a fixed value, and the switch element is turned off when the drive current reaches the target value, the motor-operated valve control device comprising: an off-time acquisition unit that acquires the off-time of the switch element when the drive current that rotates the rotor in the first direction is supplied to the stator; and a state determination unit that determines whether the motor-operated valve is in a first rotation restricted state in which rotation of the rotor in the first direction is restricted based on the off-time.

2. The motor-operated valve control device according to claim 1, wherein the state determination unit determines whether or not the motor-operated valve is in the first rotation restriction state based on the degree of difference between the waveform of the reciprocal of the off time acquired by the off time acquisition unit and a reference waveform of the reciprocal of the off time.

3. The electric valve control device according to claim 2, wherein the reference waveform is set based on a waveform of the reciprocal of the off-time acquired when the drive current for rotating the rotor in the first direction is supplied to the stator, and the state determination unit calculates a difference index value indicating the degree of difference between the waveform of the reciprocal of the off-time acquired by the off-time acquisition unit and the reference waveform, and determines whether or not the electric valve is in the first rotation restriction state based on a comparison result between the difference index value and a difference determination value.

4. The electric valve control device as described in claim 3, wherein the reference waveform is a data table in which a time is associated with a reference value of the reciprocal of the off time at that time, the state determination unit calculates an intermediate value which is a squared value of the difference between the reciprocal of the off time acquired by the off time acquisition unit at an acquisition time corresponding to the time and the reference value associated with the time, and the state determination unit calculates the dissimilarity index value by adding up a plurality of the intermediate values.

5. The electric valve control device according to claim 2, further comprising: a rotation control unit which inputs pulses to the stepping motor to rotate the rotor; and a reference waveform setting unit which sets the reference waveform; the current circuit supplies the drive current corresponding to pulses to the stator in response to the input of pulses to the stepping motor; the rotation control unit performs a second preparatory operation by inputting a second preparation number of pulses to the stepping motor to rotate the rotor in a second direction, and following the second preparatory operation, performs a first preparatory operation by inputting a first preparation number of pulses less than the second preparation number to the stepping motor to rotate the rotor in the first direction; and the reference waveform setting unit sets a waveform that is the reciprocal of the off time acquired by the off time acquisition unit during the first preparatory operation as the reference waveform.

6. A motor-operated valve device comprising the motor-operated valve and the motor-operated valve control device according to claim 1.

7. A control method for an electrically-operated valve having a valve body having a valve port, a stepping motor having a rotor and a stator, a valve element facing the valve port and moving toward the valve port when the rotor rotates in a first direction, and a stopper mechanism restricting rotation of the rotor in the first direction when the rotor is in a reference position, wherein the stator is connected to a current circuit that supplies a drive current, the current circuit has a switch element that operates in such a way that the switch element is turned on when the drive current is smaller than a lower limit value that is smaller than a target value by a fixed value, and the switch element is turned off when the drive current reaches the target value, the control method comprising: an off-time acquisition step of acquiring an off-time of the switch element when the drive current that rotates the rotor in the first direction is supplied to the stator; and a state determination step of determining whether or not the electrically-operated valve is in a first rotation restricted state in which rotation of the rotor in the first direction is restricted based on the off-time.

Citation Information

Patent Citations

  • Electrically operated valve control device, and electrically operated valve device provided with same

    WO2019130928A1

  • Detecting method for stoppage of stepping motor

    JP1983116096A

  • Electric flow rate adjusting valve, and flow rate control device having the same

    JP1996004931A

  • Electricically operated valve, driving device and control device therefor, and refrigerating cycle equipment and air conditioner

    JP2003329698A

  • Motor-driven valve assembly method, and motor-driven valve

    JP2020016247A