Electric valve control device and electric valve device

By using magnetic rotors and magnetic sensors configured at equal intervals in the air conditioning system, the design of the electric valve control device is simplified, and the problem of detection rotation is restricted during the initialization of the electric valve is solved, and a simple and effective judgment of the rotation state of the magnetic rotor is achieved. .

CN119234104APending Publication Date: 2024-12-31FUJIKOKI MFG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380014622.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-06-08
Filing Date
2023-05-22
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The initialization process of electric valves in existing air conditioning systems is complicated and it is difficult to simply detect the rotation of the rotor is restricted.

Method used

The magnetic rotors arranged at equal intervals of a plurality of N-pole and S-pole are used, and combined with the first magnetic sensor and the second magnetic sensor, the output signal is compared with the expected signal, and the rotation is detected by detecting whether the magnetic rotor is rotating.

Benefits of technology

The design of the electric valve control device is simplified, and the rotation of the magnetic rotor is restricted can be detected simply and effectively, improving the processing efficiency and accuracy of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119234104A_ABST
    Figure CN119234104A_ABST
Patent Text Reader

Abstract

Provided are an electrically operated valve control device and an electrically operated valve device that can relatively simply detect that the rotation of a magnetic rotor is restricted. The electric valve control device controls the electric valve. The electric valve has a first magnetic sensor (91) and a second magnetic sensor (92). The output signals of the first magnetic sensor (91) and the second magnetic sensor (92) are binary signals. When n is the total number of a plurality of N poles and a plurality of S poles of the magnetic rotor (31), N is a natural number, and theta is the angle formed by a line (M1) connecting the axis (L) and the first magnetic sensor (91) and a line (M2) connecting the axis (L) and the second magnetic sensor (92), the following formula (1) is satisfied: (1) theta = (360 / n) N + (360 / 2n). The electric valve control device detects that the rotation of the magnetic rotor (31) is limited on the basis of the output signal and the output signal expected value information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an electric valve control device and an electric valve device with an electric valve and the electric valve control device. Background Art

[0002] Patent document 1 discloses an example of a conventional electric valve. For example, the electric valve is incorporated into an air conditioning system. The electric valve has a housing, a rotor, a stator, and a Hall IC. The rotor is arranged on the inner side of the housing. The rotor has a driving magnetic drum and a detection magnetic drum. The stator is arranged on the outer side of the housing. The rotor and the stator constitute a stepping motor. The Hall IC is arranged on the outer side of the housing. The output signal of the Hall IC is a signal (binary signal) corresponding to the magnetic field generated by the detection magnetic drum.

[0003] Prior art literature

[0004] Patent Literature

[0005] Patent Document 1: Japanese Patent Application Publication No. 2003-329698

[0006] Technical problem to be solved by the invention

[0007] The electric valve is controlled by the air conditioning control device. When the electric valve is initialized, the air conditioning control device inputs pulses into the stepping motor to rotate the rotor in one direction. When the rotor reaches the reference position, the rotation of the rotor in one direction is restricted by the stop mechanism. When the output signal of the Hall IC changes, the air conditioning control device starts counting pulses. Then, the air conditioning control device uses a flag that is set / reset based on the number of pulses to detect when the rotation of the rotor in one direction is restricted, that is, when the rotor reaches the reference position. Therefore, the processing of the air conditioning control device is complicated. Summary of the invention

[0008] Therefore, an object of the present invention is to provide an electric valve control device and an electric valve device that can relatively easily detect that the rotation of a magnet rotor is restricted.

[0009] Technical means for solving technical problems

[0010] In order to achieve the above-mentioned object, an electric valve device according to one aspect of the present invention includes:

[0011] It is an electric valve control device that controls the electric valve.

[0012] The electric valve comprises: a valve body having a valve port; a valve core opposite to the valve port; a housing engaged with the valve body; a stepping motor for moving the valve core; and a first magnetic sensor and a second magnetic sensor disposed on the outer side of the housing.

[0013] The stepping motor includes a magnetic rotor and a stator. The magnetic rotor is arranged inside the housing and has a cylindrical shape. The stator is arranged outside the housing.

[0014] On the outer peripheral surface of the magnetic rotor, a plurality of N poles and a plurality of S poles are alternately arranged at equal intervals in the circumferential direction.

[0015] When the total number of the plurality of N poles and the plurality of S poles is n, a natural number is N, and an angle formed by a line connecting the axis of the magnetic rotor and the first magnetic sensor and a line connecting the axis and the second magnetic sensor when viewed from the axial direction of the magnetic rotor is θ, the following formula (1) is satisfied:

[0016] (1)θ=(360 / n)×N+(360 / 2n)

[0017] The output signals of the first magnetic sensor and the second magnetic sensor are binary signals.

[0018] The electric valve control device detects that rotation of the magnet rotor is restricted based on output signals of the first magnetic sensor and the second magnetic sensor and output signal expected value information that is an expected value of the output signal when the magnet rotor rotates.

[0019] In the present invention, it is preferred that

[0020] The electric valve control device detects the rotation direction of the magnet rotor based on a time when an output signal of the first magnetic sensor changes from a first value to a second value and a time when an output signal of the second magnetic sensor changes from a first value to a second value.

[0021] In order to achieve the above-mentioned object, another aspect of the present invention relates to an electric valve control device.

[0022] It is an electric valve control device that controls the electric valve.

[0023] The electric valve comprises: a valve body having a valve port; a valve core opposite to the valve port; a housing engaged with the valve body; a stepping motor for moving the valve core; and a first magnetic sensor and a second magnetic sensor disposed on the outer side of the housing.

[0024] The stepping motor includes a magnetic rotor and a stator. The magnetic rotor is arranged inside the housing and has a cylindrical shape. The stator is arranged outside the housing.

[0025] On the outer peripheral surface of the magnetic rotor, a plurality of N poles and a plurality of S poles are alternately arranged at equal intervals in the circumferential direction.

[0026] The electric valve control device detects a position and a rotation direction of the magnetic rotor based on output signals of the first magnetic sensor and the second magnetic sensor.

[0027] In order to achieve the above-mentioned object, an electric valve device according to another aspect of the present invention includes the electric valve control device and the electric valve.

[0028] Effects of the Invention

[0029] According to the present invention, when the total number of multiple N poles and multiple S poles of the magnetic rotor is set to n, the natural number is set to N, and the angle formed by the line connecting the axis of the magnetic rotor and the first magnetic sensor and the line connecting the axis and the second magnetic sensor when observed from the axial direction of the magnetic rotor is set to θ, the following formula (1) is satisfied.

[0030] (1)θ=(360 / n)×N+(360 / 2n)

[0031] Thus, when one of the first and second magnetic sensors faces one magnetic pole arranged on the outer peripheral surface of the magnet rotor, the other faces a portion between magnetic poles on the outer peripheral surface of the magnet rotor.

[0032] Furthermore, the output signals of the first magnetic sensor and the second magnetic sensor are binary signals, and the electric valve control device detects the situation where the rotation of the magnetic rotor is restricted based on the output signals of the first magnetic sensor and the second magnetic sensor, and the output signal expected value information which is the expected value of the output signal when the magnetic rotor rotates.

[0033] Thus, the electric valve control device can determine whether the magnetic rotor is rotating by comparing the output signals of the first magnetic sensor and the second magnetic sensor with the output signal expected value information as the expected value thereof. Therefore, based on the determination of the rotation of the magnetic rotor, it is possible to relatively easily detect that the rotation of the magnetic rotor is restricted. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 This is a block diagram of an air conditioning system including an electric valve device according to an embodiment of the present invention.

[0035] Figure 2 It is a cross-sectional view of the electric valve device.

[0036] Figure 3 is a cross-sectional view of the stator unit.

[0037] Figure 4 It is a perspective view of a sensor substrate and a substrate support member.

[0038] Figure 5 is another perspective view of the sensor substrate and substrate support member.

[0039] Figure 6 It is a diagram for explaining the positions of the first magnetic sensor and the second magnetic sensor.

[0040] Figure 7 The figure schematically shows the positional relationship between the pole teeth of the stator, the first magnetic sensor, and the second magnetic sensor.

[0041] Figure 8 This is a perspective view of the control board.

[0042] Fig. 9 It is a diagram for explaining a microcomputer, a stepping motor, a first magnetic sensor, and a second magnetic sensor.

[0043] Fig.10 This is a diagram schematically showing the positional relationship between the magnetic rotor and the stator (when pulse P[1] is input).

[0044] Fig.11 This is a diagram schematically showing the positional relationship between the magnetic rotor and the stator (when pulse P[2] is input).

[0045] Fig.12 This is a diagram schematically showing the positional relationship between the magnetic rotor and the stator (when pulse P[3] is input).

[0046] Fig.13 This is a diagram schematically showing the positional relationship between the magnetic rotor and the stator (when pulse P[4] is input).

[0047] Fig.14 This is a diagram schematically showing the positional relationship between the magnetic rotor and the stator (when pulse P[5] is input).

[0048] Fig.15 This is a diagram schematically showing the positional relationship between the magnetic rotor and the stator (when pulse P[6] is input).

[0049] Fig.16 This is a diagram schematically showing the positional relationship between the magnetic rotor and the stator (when pulse P[7] is input).

[0050] Fig.17 This is a diagram schematically showing the positional relationship between the magnetic rotor and the stator (when pulse P[8] is input).

[0051] Fig.18 This is a diagram showing an example of expected value information of output signals of the first magnetic sensor and the second magnetic sensor.

[0052] Fig.19 This is a diagram showing an example of expected value information of output signals of the first magnetic sensor and the second magnetic sensor and output signals of the first magnetic sensor and the second magnetic sensor.

[0053] Fig. 20It is a diagram for explaining the operation of the magnet rotor in a state where the rotation of the magnet rotor in the valve closing direction is restricted.

[0054] Fig.21 FIG. 1 is a diagram for explaining the operation of the magnetic rotor in a state where the rotation of the magnetic rotor in the valve closing direction is restricted (Continued Fig. 20 ).

[0055] Fig. 22 This is a flowchart showing an example of processing of the electric valve control device. DETAILED DESCRIPTION

[0056] Hereinafter, an electric valve device according to an embodiment of the present invention will be described with reference to the drawings.

[0057] Figure 1 This is a block diagram of an air conditioning system including an electric valve device according to an embodiment of the present invention. Figure 2 It is a cross-sectional view of an electric valve device having an electric valve and an electric valve control device. Figure 3 It is a cross-sectional view of the stator unit of the electric valve. Figure 4 , 5 This is a perspective view of a sensor substrate and a substrate support member of an electric valve. Figure 6 This is a diagram showing the housing, magnetic rotor, stator, sensor substrate, first magnetic sensor, and second magnetic sensor as viewed from above. Figure 6 In FIG. 1 , the housing and the magnetic rotor are shown in a cross section cut by a plane including the upper surface of the stator, and the sensor substrate, the first magnetic sensor, and the second magnetic sensor are shown in dotted lines. Figure 6 In the figure, the N pole of the magnetic rotor is schematically represented by the oblique line area, and the S pole is schematically represented by the dotted area. Figure 7 The figure schematically shows the positional relationship among the pole teeth of the stator of the electric valve, the first magnetic sensor, and the second magnetic sensor. Figure 8 This is a perspective view of a control substrate of an electric valve control device. Fig. 9 It is a diagram for explaining a microcomputer, a stepping motor, a first magnetic sensor, and a second magnetic sensor. Fig. 9 (A) schematically shows the connection relationship between the microcomputer, the stepping motor, the first magnetic sensor, and the second magnetic sensor. Fig. 9 (B) shows an example of pulses input to a stepping motor. Figure 2 to Figure 6 , Figure 8 In the diagram, the X direction indicated by the arrow X is the left-right direction, the Y direction indicated by the arrow Y is the front-back direction, and the Z direction indicated by the arrow Z is the up-down direction. The side with the letter "X" in the arrow X is the right direction, the side with the letter "Y" in the arrow Y is the front direction, and the side with the letter "Z" in the arrow Z is the up direction.

[0058] The electric valve device 1 according to the present embodiment includes an electric valve 5 and an electric valve control device (hereinafter simply referred to as a “control device 100 ”).

[0059] The electric valve device 1 is assembled, for example, Figure 1 The air conditioning system 400 is shown. The air conditioning system 400 has a compressor 401, a condenser 402, an electric valve device 1 (electric valve 5), and an evaporator 403 connected in sequence via a pipe 405. The air conditioning system 400 has an air conditioning control device 410. The air conditioning control device 410 is connected to the electric valve device 1 in a manner that can communicate with the electric valve device 1 (control device 100) via a communication bus 420. The air conditioning control device 410 uses the electric valve device 1 to control the flow rate of the refrigerant flowing in the pipe 405.

[0060] like Figure 2 to Figure 5 As shown, the electric valve 5 includes a valve body 10 , a housing 20 , a drive mechanism 30 , a valve element 40 , a stator unit 50 , a sensor substrate 90 , a first magnetic sensor 91 , and a second magnetic sensor 92 .

[0061] The valve body 10 is made of metal such as aluminum alloy. The valve body 10 has a main body part 11, a support part 12 and a connecting part 13. The main body part 11 has a rectangular parallelepiped shape. The main body part 11 has a mounting hole 11a. The mounting hole 11a is arranged on the upper surface 11b of the main body part 11. The support part 12 has a cylindrical shape. The lower part of the support part 12 is arranged on the mounting hole 11a. The support part 12 is mounted on the main body part 11 by a threaded structure. The upper part of the support part 12 protrudes from the upper surface 11b of the main body part 11. The main body part 11 has a valve chamber 14, a flow path 15, a flow path 16, a valve port 17 and a valve seat 18. The flow path 15 is connected to the valve chamber 14. The flow path 16 is connected to the valve chamber 14 via the valve port 17. The valve seat 18 surrounds the valve port 17 in the valve chamber 14. The connecting part 13 has a circular ring plate shape. The upper part of the support part 12 is joined to the inner periphery of the connecting part 13.

[0062] The housing 20 is made of metal such as stainless steel, for example. The housing 20 has a cylindrical shape. The upper end of the housing 20 is closed and the lower end is open. The lower end of the housing 20 is joined to the outer peripheral edge of the connecting member 13.

[0063] The drive mechanism 30 moves the valve body 40 in the up-down direction (the direction of the axis L). The drive mechanism 30 includes a magnet rotor 31 , a valve shaft holder 32 , a guide bush 33 , and a valve shaft 34 .

[0064] The magnetic rotor 31 has a cylindrical shape. The outer diameter of the magnetic rotor 31 is slightly smaller than the inner diameter of the housing 20. The magnetic rotor 31 has a plurality of magnetic poles (a plurality of N poles, a plurality of S poles). The plurality of N poles and the plurality of S poles are arranged on the outer peripheral surface of the magnetic rotor 31. The plurality of N poles and the plurality of S poles extend in the up-down direction. The plurality of N poles and the plurality of S poles are alternately arranged at equal angular intervals in the circumferential direction. In the present embodiment, the magnetic rotor 31 has 12 N poles and 12 S poles, and the total number of magnetic poles is 24. The interval (angle) between adjacent N poles and S poles is 15 degrees.

[0065] The valve shaft holder 32 has a cylindrical shape. The upper end of the valve shaft holder 32 is closed and the lower end is open. A support ring 35 is fixed to the upper part of the valve shaft holder 32. The support ring 35 connects the magnetic rotor 31 and the valve shaft holder 32. The valve shaft holder 32 rotates together with the magnetic rotor 31. An internal thread 32c is provided on the inner circumferential surface of the valve shaft holder 32.

[0066] The guide bushing 33 integrally includes a first cylindrical portion 33a and a second cylindrical portion 33b. The outer diameter of the second cylindrical portion 33b is smaller than the outer diameter of the first cylindrical portion 33a. The second cylindrical portion 33b is coaxially connected to the upper end of the first cylindrical portion 33a. An external thread 33c is provided on the outer peripheral surface of the second cylindrical portion 33b. The external thread 33c is screwed into the internal thread 32c of the valve shaft retainer 32. The first cylindrical portion 33a is pressed into the fitting hole 12a provided in the support member 12 of the valve body 10. The guide bushing 33 is combined with the valve body 10.

[0067] A movable stopper 32s is fixed to the valve shaft holder 32. A fixed stopper 33s is fixed to the first cylindrical portion 33a of the guide bushing 33. When the movable stopper 32s is in contact with the fixed stopper 33s, the rotation of the valve shaft holder 32 (i.e., the magnetic rotor 31) in the valve closing direction is restricted. The movable stopper 32s and the fixed stopper 33s constitute a stopper mechanism 38. The stopper mechanism 38 restricts the rotation of the magnetic rotor 31 in the valve closing direction.

[0068] The valve shaft 34 integrally includes a first portion 34a and a second portion 34b. The first portion 34a and the second portion 34b have a cylindrical shape. The diameter of the second portion 34b is smaller than that of the first portion 34a. The second portion 34b is coaxially connected to the upper end of the first portion 34a. The second portion 34b passes through the valve shaft holder 32. A push nut 36 for preventing slipping is installed on the second portion 34b. The valve shaft 34 is arranged on the inner side of the guide bushing 33 and the inner side of the support member 12. The lower end of the first portion 34a is arranged in the valve chamber 14. The valve shaft 34 has a step portion 34d. The step portion 34d is arranged at the connection portion between the first portion 34a and the second portion 34b. A valve closing spring 37 is arranged between the step portion 34d and the valve shaft holder 32. The valve closing spring 37 is a compression coil spring. The valve closing spring 37 presses the valve shaft 34 downward.

[0069] The valve element 40 is disposed in the valve chamber 14. The valve element 40 faces the valve port 17 in the vertical direction. The valve element 40 opens and closes the valve port 17. The valve element 40 is connected to the lower end of the valve shaft 34. The valve shaft 34 and the valve element 40 are integrally formed by cutting a cylindrical workpiece, for example.

[0070] The stator unit 50 includes a stator 60 , a housing 70 , and a case 80 .

[0071] The stator 60 has a cylindrical shape and includes an A-phase stator 61 and a B-phase stator 62 .

[0072] The A-phase stator 61 has a plurality of claw-pole type pole teeth 61a and 61b on the inner circumference. The top of the pole tooth 61a faces downward, and the top of the pole tooth 61b faces upward. The pole teeth 61a and the pole teeth 61b are alternately arranged at equal angles in the circumferential direction. In the present embodiment, the A-phase stator 61 has 12 pole teeth 61a and 12 pole teeth 61b. The angle between the adjacent pole teeth 61a and pole teeth 61b is 15 degrees. When the coil 61c of the A-phase stator 61 is energized, the pole teeth 61a and the pole teeth 61b become different polarities from each other.

[0073] The B-phase stator 62 has a plurality of claw-pole type pole teeth 62a and 62b on the inner circumference. The top of the pole tooth 62a faces downward, and the top of the pole tooth 62b faces upward. The pole teeth 62a and the pole teeth 62b are alternately arranged at equal angles in the circumferential direction. In this embodiment, the B-phase stator 62 has 12 pole teeth 62a and 12 pole teeth 62b. The angle between the adjacent pole teeth 62a and pole teeth 62b is 15 degrees. When the coil 62c of the B-phase stator 61 is energized, the pole teeth 62a and the pole teeth 62b become different polarities from each other.

[0074] The A-phase stator 61 and the B-phase stator 62 are coaxially arranged. The A-phase stator 61 and the B-phase stator 62 are in contact with each other. The angle between the pole teeth 61a of the A-phase stator 61 and the pole teeth 62a of the B-phase stator 62 adjacent to each other when viewed from the axis L direction is 7.5 degrees. The coil 61c of the A-phase stator 61 and the coil 62c of the B-phase stator 62 are connected to a plurality of terminals 65.

[0075] The housing 70 is made of synthetic resin. The housing 70 has a cylindrical shape. The housing 70 is formed by injection molding. The housing 70 accommodates the stator 60. The housing 70 and the stator 60 are integrally formed (embedded). In addition, the stator 60 and the housing 70 may be separately manufactured, and the stator 60 may be embedded inside the housing 70. The housing 20 is arranged in the internal space 74 divided by the inner surface of the housing 70 and the inner circumferential surface of the stator 60. The stator 60 and the magnetic rotor 31 constitute a stepping motor 66.

[0076] The housing 70 has a substrate space 75. The substrate space 75 extends in a lateral direction (a direction perpendicular to the axis L). The substrate space 75 is arranged adjacent to the inner space 74. A partition wall 76 is provided between the inner space 74 and the substrate space 75. The partition wall 76 divides the inner space 74 and the substrate space 75. The cross section of the partition wall 76 (a cross section perpendicular to the axis L) has an arc shape along the outer peripheral surface of the housing 20.

[0077] The box 80 is made of synthetic resin. The box 80 has a rectangular box shape. The box 80 is joined to the housing 70. The space 85 inside the box 80 is connected to the substrate space 75 through the opening 80a. A connector 83 is provided on the upper part of the box 80.

[0078] Figure 4 , Figure 5 : represents a sensor substrate 90. The sensor substrate 90 is a printed circuit board on which electronic components are mounted. The sensor substrate 90 is accommodated in the substrate space 75. The sensor substrate 90 is arranged in the lateral direction. The first end 90a of the sensor substrate 90 is arranged in the space 85 of the box 80. The second end 90b of the sensor substrate 90 is arranged near the partition wall 76. A substrate support member 95 is mounted on the sensor substrate 90. The protrusion 87 of the box 80 is arranged on the inner side of the cylindrical portion 97 of the substrate support member 95, and the sensor substrate 90 is mounted on the protrusion 87 via the substrate support member 95. A first magnetic sensor 91 and a second magnetic sensor 92 are mounted on the sensor substrate 90.

[0079] The first magnetic sensor 91 and the second magnetic sensor 92 are Hall ICs. The output signals K (K1, K2) of the first magnetic sensor 91 and the second magnetic sensor 92 are binary signals. The first magnetic sensor 91 and the second magnetic sensor 92 are arranged at the second end 90b of the sensor substrate 90. The first magnetic sensor 91 and the second magnetic sensor 92 are arranged equidistantly relative to the axis L, and are arranged spaced apart from each other around the axis L.

[0080] The first magnetic sensor 91 and the second magnetic sensor 92 are arranged radially with respect to the magnet rotor 31 via the housing 20 and the partition wall 76. In other words, the first magnetic sensor 91 and the second magnetic sensor 92 are arranged radially (laterally) opposite to the magnet rotor 31 via the housing 20 and the partition wall 76.

[0081] Figure 6 FIG. 8 shows an example of the arrangement of the first magnetic sensor 91 and the second magnetic sensor 92. Figure 6In the equation, line M1 is a line connecting the axis L and the magnetic detection portion of the first magnetic sensor 91, and line M2 is a line connecting the axis L and the magnetic detection portion of the second magnetic sensor 92. Line M1 and line M2 are orthogonal to the axis L. When the number of the plurality of magnetic poles of the magnetic rotor 31 is set to n, the natural number is set to N, and the angle formed by line M1 and line M2 when viewed from the axial direction (axis L direction) of the magnetic rotor 31 is set to θ, the following formula (1) is satisfied:

[0082] (1)θ=(360 / n)×N+(360 / 2n)

[0083] In this embodiment, n=24, N=1, θ=22.5 degrees:

[0084] (1a)θ=(360 / 24)×1+(360 / (2×24))=22.5

[0085] Alternatively, n=24, N=3, θ=52.5 degrees:

[0086] (1b)θ=(360 / 24)×3+(360 / (2×24))=52.5

[0087] Alternatively, n=24, N=6, θ=97.5 degrees:

[0088] (1c)θ=(360 / 24)×6+(360 / (2×24))=97.5

[0089] Alternatively, n=30, N=2, θ=30 degrees:

[0090] (1d)θ=(360 / 30)×2+(360 / (2×30))=30

[0091] By satisfying equation (1), when the first magnetic sensor 91 is radially opposed to one of the multiple magnetic poles (N pole, S pole) of the magnetic rotor 31, the second magnetic sensor 92 is radially opposed to the portion between the N pole and the S pole on the outer peripheral surface of the magnetic rotor 31. Alternatively, when the second magnetic sensor 92 is radially opposed to one of the multiple magnetic poles (N pole, S pole) of the magnetic rotor 31, the first magnetic sensor 91 is radially opposed to the portion between the N pole and the S pole on the outer peripheral surface of the magnetic rotor 31. In addition, if the first magnetic sensor 91 and the second magnetic sensor 92 are configured in such a way that the output signal K1 of the first magnetic sensor 91 and the output signal K2 of the second magnetic sensor 92 change at different times from each other, equation (1) may not be satisfied.

[0092] Figure 7 FIG. 6 is an example of the positional relationship between the A-phase stator 61, the B-phase stator 62, the first magnetic sensor 91, and the second magnetic sensor 92. Figure 7As shown, when the A-phase stator 61 and the B-phase stator 62 are observed in the radial direction, the center of the pole tooth 61a of the A-phase stator 61 and the magnetic detection portion of the first magnetic sensor 91 are arranged on the line L1, and the center of the pole tooth 62a of the B-phase stator 62 and the magnetic detection portion of the second magnetic sensor 92 are arranged on the line L2. The line L1 and the line L2 are parallel to the axis L.

[0093] The output signal K of the first magnetic sensor 91 and the second magnetic sensor 92 is a signal corresponding to the direction of the magnetic field generated by the magnetic pole of the magnetic rotor 31. Specifically, the first magnetic sensor 91 and the second magnetic sensor 92 output an L signal (first value) as the output signal K when the S pole is detected, and output an H signal (second value) as the output signal K when the N pole is detected.

[0094] In the electric valve 5, the center axes of the main body component 11 (valve port 17, valve seat 18), support component 12, connecting component 13, housing 20, magnetic rotor 31, valve shaft 34, valve core 40, and stator 60 (A-phase stator 61, B-phase stator 62) are consistent with the axis L.

[0095] In the electric valve 5, when the magnetic rotor 31 rotates in the valve closing direction, the magnetic rotor 31 and the valve shaft holder 32 move downward due to the action of the feed thread of the internal thread 32c of the valve shaft holder 32 and the external thread 33c of the guide bushing 33. The valve shaft holder 32 presses the valve shaft 34 downward via the valve closing spring 37. The valve shaft 34 and the valve core 40 move downward and the valve core 40 contacts the valve seat 18. The position of the magnetic rotor 31 at this time is the valve closing position Rc. When the magnetic rotor 31 further rotates in the valve closing direction from this state, the valve closing spring 37 is compressed, and the magnetic rotor 31 and the valve shaft holder 32 move further downward. The valve core 40 does not move downward. Then, when the movable stopper 32s contacts the fixed stopper 33s, the rotation of the magnetic rotor 31 in the valve closing direction is restricted. The position of the magnetic rotor 31 at this time is the reference position Rx.

[0096] In the electric valve 5, when the magnetic rotor 31 rotates in the valve opening direction, the magnetic rotor 31 and the valve shaft holder 32 move upward through the feed thread action of the internal thread 32c of the valve shaft holder 32 and the external thread 33c of the guide bushing 33. The valve shaft holder 32 presses the push nut 36 upward. The valve shaft 34 and the valve core 40 move upward and the valve core 40 leaves the valve seat 18. When the magnetic rotor 31 further rotates in the valve opening direction, the magnetic rotor 31 reaches the fully open position Rz. When the magnetic rotor 31 is at the fully open position Rz, the valve core 40 is farthest away from the valve port 17.

[0097] The control device 100 includes a control substrate 110 and a microcomputer 120 .

[0098] Figure 8: represents a control substrate 110. The control substrate 110 is a printed circuit board on which electronic components are mounted. The control substrate 110 is housed in the space 85 of the box 80. The control substrate 110 is arranged along the up-down direction. The control substrate 110 is perpendicular to the sensor substrate 90. The control substrate 110 is arranged near the first end 90a of the sensor substrate 90. The control substrate 110 is connected to the sensor substrate 90 via the connection terminal 93. The control substrate 110 is connected to the plurality of terminals 65 of the stator 60. The protrusion 87 of the box 80 is arranged in the through hole 112 of the control substrate 110, and the control substrate 110 is mounted on the protrusion 87. A microcomputer 120 is mounted on the control substrate 110.

[0099] like Figure 1 , Fig. 9 As shown in (A), the microcomputer 120 is a microcomputer for built-in equipment that integrates a CPU 121 as a central processing unit, a nonvolatile memory 122, a motor driver 123, a working memory 124, a communication module 125, etc. in one package. The microcomputer 120 controls the electric valve 5. In addition, the nonvolatile memory, the working memory, the communication module, and the motor driver may be separate electronic components connected to the outside of the microcomputer 120.

[0100] The CPU 121 executes the program stored in the nonvolatile memory 122 and functions as various functional units. The working memory 124 stores variables used in various functional units. The communication module 125 is connected to the air conditioning control device 410 via the communication bus 420. The motor driver 123 is connected to the stepping motor 66. Specifically, Fig. 9 As shown in (A) of FIG. 1 , the motor driver 123 is connected to the coil 61c of the A-phase stator 61 and the coil 62c of the B-phase stator 62. The motor driver 123 supplies a drive current corresponding to the pulse P to the coil 61c and the coil 62c.

[0101] The magnetic rotor 31 is rotated by inputting pulses P (P[1] to P[8]) into the stepping motor 66. Specifically, the magnetic rotor 31 is rotated by supplying a drive current corresponding to the pulses P to the stator 60 of the stepping motor 66. In this specification, "the pulses P are input into the stepping motor 66" and "the drive current corresponding to the pulses P is supplied to the stator 60 of the stepping motor 66" have the same meaning. The pulses P are repeatedly input into the stepping motor 66 in ascending or descending order. That is, the pulses P[1] to P[8] are pulses P of one cycle, and are multiple pulses P repeatedly input into the stepping motor 66 in a prescribed order.

[0102] In this embodiment, the excitation mode of the stepping motor 66 is 1-2 phase excitation, and the step angle of the stepping motor 66 is 3.75 degrees. When the magnetic rotor 31 is located at the reference position Rx, the movable stopper 32s contacts the fixed stopper 33s, limiting the rotation of the magnetic rotor 31 in the valve closing direction. The number of pulses (initialization number) required to rotate the magnetic rotor 31 from the reference position Rx to the fully open position Rz is 500.

[0103] Fig. 9 The pulses P[1] to P[8] shown in (B) are sequentially input to the stepping motor 66. Figure 10 to Figure 17 An example of the positional relationship between the magnet rotor 31 and the stator 60 when the pulses P[1] to P[8] are input is schematically shown. Figure 10 to Figure 17 , the magnetic poles of the magnetic rotor 31 and the pole teeth of the stator 60 are schematically shown. Figure 10 to Figure 17 In the figure above, the radial outer side corresponds to the upper side, and the radial inner side corresponds to the lower side. Figure 10 to Figure 17 In order to facilitate understanding of the positional relationship between the magnet rotor 31 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 magnet rotor 31 are marked with symbols (black dots).

[0104] When pulses P are input to the stepping motor 66 in ascending order (in the order of P[1] to P[8]), the magnetic rotor 31 moves in the valve closing direction ( Figure 10 to Figure 17 When the pulses P are input to the stepping motor 66 in descending order (in the order of P[8] to P[1]), the magnetic rotor 31 moves in the valve opening direction ( Figure 10 to Figure 17 counterclockwise in the direction of rotation).

[0105] Fig.18 An example of output signal expected value information J (J1, J2) of the first magnetic sensor 91 and the second magnetic sensor 92 is shown. The output signal expected value information J is the expected value of the output signal K of the first magnetic sensor 91 and the second magnetic sensor 92 when the pulses P[1] to P[8] are input to the stepping motor 66. The output signal expected value information J is stored in the non-volatile memory 122. Fig.18 In , "L" indicates an L signal, "H" indicates an H signal, and "*" indicates that it can be either "L" or "H" (arbitrary value). Due to the influence of tolerance, etc., in the electric valve 5, either "L" or "H" is output at "*". Fig.18 The upper part is the expected value information J1 of the output signal of the first magnetic sensor 91. Fig.18 The lower part is the output signal expected value information J2 of the second magnetic sensor 92.

[0106] When the pulse P[1] is input to the stepping motor 66, the expected value of the output signal K of the first magnetic sensor 91 is "L", and the expected value of the output signal K of the second magnetic sensor 92 is "*".

[0107] When the pulse P[2] is input to the stepping motor 66, the expected value of the output signal K of the first magnetic sensor 91 is "L", and the expected value of the output signal K of the second magnetic sensor 92 is "L".

[0108] When the pulse P[3] is input to the stepping motor 66, the expected value of the output signal K of the first magnetic sensor 91 is "*", and the expected value of the output signal K of the second magnetic sensor 92 is "L".

[0109] When the pulse P[4] is input to the stepping motor 66, the expected value of the output signal K of the first magnetic sensor 91 is "H", and the expected value of the output signal K of the second magnetic sensor 92 is "L".

[0110] When the pulse P[5] is input to the stepping motor 66, the expected value of the output signal K of the first magnetic sensor 91 is "H", and the expected value of the output signal K of the second magnetic sensor 92 is "*".

[0111] When the pulse P[6] is input to the stepping motor 66, the expected value of the output signal K of the first magnetic sensor 91 is "H", and the expected value of the output signal K of the second magnetic sensor 92 is "H".

[0112] When the pulse P[7] is input to the stepping motor 66, the expected value of the output signal K of the first magnetic sensor 91 is "*", and the expected value of the output signal K of the second magnetic sensor 92 is "H".

[0113] When the pulse P[8] is input to the stepping motor 66, the expected value of the output signal K of the first magnetic sensor 91 is "L", and the expected value of the output signal K of the second magnetic sensor 92 is "H".

[0114] In the present embodiment, when the magnetic rotor 31 rotates in the valve closing direction, the first magnetic sensor 91 outputs "LLHHHHLL" as the output signal K1, and the second magnetic sensor 92 outputs "LLLLHHHH" as the output signal K2, corresponding to the input of pulses P[1] to P[8]. When the magnetic rotor 31 rotates in the valve opening direction, the first magnetic sensor 91 outputs "LLHHHHLL", and the second magnetic sensor 92 outputs "HHHHLLLL", corresponding to the input of pulses P[8] to P[1]. The output signal K1 and the output signal K2 change according to the rotation of the magnetic rotor 31. Therefore, the control device 100 can detect the position and rotation direction of the magnetic rotor 31 based on the output signal K1 and the output signal K2. The position of the magnetic rotor 31 is, for example, the rotation angle from the reference position Rx.

[0115] The magnet rotor 31 rotates when the output signal K of the first and second magnetic sensors 91 and 92 agree with the output signal expected value information J. The magnet rotor 31 does not rotate when the output signal K of at least one of the first and second magnetic sensors 91 and 92 disagrees with the output signal expected value information J.

[0116] Next, refer to Figure 19 to Figure 21 The output signal K of the first magnetic sensor 91 and the second magnetic sensor 92 when the magnet rotor 31 is rotated in the valve closing direction in the electric valve device 1 will be described. Fig.19 1 is a diagram showing an example of output signal expected value information J and output signal K at time T1 to T409. Fig. 20 , Fig.21 2 is a diagram for explaining the operation of the magnet rotor 31 in a state where the rotation of the magnet rotor 31 in the valve closing direction is restricted. Fig. 20 , Fig.21 In order to easily understand the positional relationship between the magnetic rotor 31 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 magnetic rotor 31 are marked with symbols (black squares). Fig. 20 , Fig.21 In the figure, the right direction is the valve closing direction, and the left direction is the valve opening direction. Fig. 20 (A)~ Fig. 20 (E), Fig.21 (A)~ Fig.21 (D) corresponds to Fig.19 Time T401~T409.

[0117] When the control device 100 repeatedly inputs pulses P in ascending order to the stepping motor 66 at a certain time interval (time T1 to T400), the magnetic rotor 31 gradually rotates by a step angle in the valve closing direction. Then, at time T401, when the control device 100 inputs pulses P[1] to the stepping motor 66, Fig. 20 As shown in (A), the magnetic rotor 31 is positioned at the reference position Rx, and the movable stopper 32s is in contact with the fixed stopper 33s. At the reference position Rx, the rotation of the magnetic rotor 31 in the valve closing direction is restricted. Fig.19 As shown, after the pulse P is inputted at time T1 to T401, the magnet rotor 31 rotates in the valve closing direction, and the output signal K is consistent with the output signal expected value information J.

[0118] At times T402, T403, T404, and T405, when the control device 100 inputs pulses P[2], P[3], P[4], and P[5] into the stepping motor 66, as shown in FIG. Fig. 20 (B)~ Fig. 20As shown in (E), the magnetic rotor 31 does not rotate in the valve closing direction, and the output signal K remains unchanged. Fig.19 As shown in FIG. 1 , although the output signal K after the pulse P input at time T402 and T403 is consistent with the output signal expected value information J, the output signal K after the pulse P input at time T404 and T405 is inconsistent with the output signal expected value information J. Specifically, the output signal K1 is inconsistent with the output signal expected value information J1. Fig.19 In FIG. 1 , the output signal K that is inconsistent with the output signal expected value information J is indicated by hatching.

[0119] At time T406, when the control device 100 inputs the pulse P[6] into the stepping motor 66, Fig. 20 As shown in (A), the magnetic rotor 31 rotates in the valve opening direction. The rotation angle of the magnetic rotor 31 is three times the step angle. The output signal K is the value corresponding to the pulse P[6]. Therefore, Fig.19 As shown, the output signal K after the pulse P is input at time T406 is consistent with the output signal expected value information J.

[0120] At times T407, T408, and T409, when the control device 100 inputs pulses P[7], P[8], and P[1] into the stepping motor 66, Fig.21 (B)~ Fig.21 As shown in (D), the magnetic rotor 31 gradually rotates in the valve closing direction by a step angle. Fig. 22 As shown, the output signal K after the pulses P at times T407, T408, and T409 are inputted is consistent with the output signal expected value information J. After the pulse P at time T409 is inputted, the magnet rotor 31 is positioned at the reference position Rx again, and the rotation of the magnet rotor 31 in the valve closing direction is restricted by the stopper mechanism 38.

[0121] Thereafter, according to the input of pulses P[1] to P[8], the output signal K repeats the same changes as those at times T401 to T408.

[0122] In addition, the case where the control device 100 inputs the pulses P in ascending order to the stepping motor 66 is described here, but even when the rotation of the magnetic rotor 31 in the valve opening direction is restricted when the pulses P are input in descending order, the output signal K changes in the same way as described above.

[0123] Therefore, the control device 100 can determine whether the magnet rotor 31 is rotating by comparing the output signal K of the first magnetic sensor 91 and the second magnetic sensor 92 acquired after the input of the pulse P with the output signal expected value information J. Based on this determination, the control device 100 can detect that the rotation of the magnet rotor 31 is restricted.

[0124] Next, refer to Fig. 22 An example of the process (process of positioning the magnet rotor 31 at the reference position Rx) of the control device 100 will be described with reference to the flowchart of FIG.

[0125] The control device 100 (specifically, the CPU 121) inputs the pulses P to the stepping motor 66 in ascending order (S110). The control device 100 obtains the output signal K of the first magnetic sensor 91 and the second magnetic sensor 92 (S120). The control device 100 reads the output signal expected value information J corresponding to the input pulse P from the non-volatile memory 122, and compares the output signal K with the output signal expected value information J (S130). When the output signal K is consistent with the output signal expected value information J (S130: Yes), the controller 100 determines that the magnetic rotor 31 is rotating, and inputs the next pulse P (returns to S110). When the output signal K is inconsistent with the output signal expected value information J (S130: No), the control device 100 determines that the magnetic rotor 31 is not rotating, and detects that the rotation of the magnetic rotor 31 in the valve closing direction is restricted (S140). As a result, the control device 100 determines that the magnetic rotor 31 is positioned at the reference position Rx and ends the processing.

[0126] The control device 100 can detect that the rotation of the magnet rotor 31 in the valve closing direction is restricted by the stopper mechanism 38. In addition, the control device 100 can also detect that the rotation of the magnet rotor 31 is restricted by, for example, foreign matter mixed in the refrigerant.

[0127] In the electric valve 5, the types of rotation restriction of the magnetic rotor 31 include: (i) rotation restriction based on the stop mechanism 38, (ii) rotation restriction based on valve locking, and (iii) rotation restriction based on rotor locking. In (i), when the magnetic rotor 31 is located at the reference position Rx, the movable stopper 32s contacts the fixed stopper 33s, and the rotation of the magnetic rotor 31 in the valve closing direction is restricted. In (ii), foreign matter is sandwiched between the valve port 17 and the valve core 40, the valve core 40 cannot move, and the rotation of the magnetic rotor 31 is restricted. In (iii), foreign matter is sandwiched between the inner peripheral surface of the housing 20 and the outer peripheral surface of the magnetic rotor 31, and the rotation of the magnetic rotor 31 is restricted.

[0128] In (i), the magnetic rotor 31 can rotate in the valve opening direction. In (ii), the magnetic rotor 31 can rotate by the amount of play between the internal thread 32c of the valve shaft holder 32 and the external thread 33c of the guide bushing 33. Therefore, in (i) and (ii), if pulses P are input in sequence to rotate the magnetic rotor 31 in one direction (valve closing direction or valve opening direction), and pulses P are continuously input even after the rotation of the magnetic rotor 31 is restricted, the magnetic rotor 31 repeats the action of temporarily rotating in the other direction and rotating in one direction again (hereinafter referred to as "reverse action").

[0129] In (iii), the magnetic rotor 31 cannot rotate in any direction. Therefore, in (iii), if pulses P are input sequentially to rotate the magnetic rotor 31 in one direction (valve closing direction or valve opening direction), and pulses P are continuously input after the rotation of the magnetic rotor 31 is restricted, the magnetic rotor 31 does not rotate in any direction.

[0130] Therefore, when the control device 100 detects the rotation restriction of the magnetic rotor 31, if there is a reverse movement, it can be determined that the rotation restriction of the magnetic rotor 31 is (i) or (ii), and if there is no reverse movement, it can be determined that the rotation restriction of the magnetic rotor 31 is (iii). The control device 100 can also send information indicating an abnormality of the electric valve 5 to the air conditioning control device 410 when the magnetic rotor 31 is (iii) and the rotation restriction cannot be eliminated even if the magnetic rotor 31 is rotated in other directions.

[0131] The electric valve device 1 involved in this embodiment has an electric valve 5 and a control device 100. The electric valve 5 has: a valve body 10 having a valve port 17; a valve core 40 opposite to the valve port 17; a housing 20 connected to the valve body 10; a stepping motor 66 for moving the valve core 40; a first magnetic sensor 91; and a second magnetic sensor 92. The stepping motor 66 has a cylindrical magnetic rotor 31 arranged on the inner side of the housing 20 and a stator 60 arranged on the outer side of the housing 20. On the outer peripheral surface of the magnetic rotor 31, a plurality of N poles and a plurality of S poles are alternately arranged at equal intervals in the circumferential direction. The first magnetic sensor 91 and the second magnetic sensor 92 are arranged on the outer side of the housing 20 and are arranged radially with the magnetic rotor 31. When the total number of the plurality of N poles and the plurality of S poles is n, a natural number is N, and an angle formed by a line M1 connecting the axis L (the axis of the magnet rotor 31) and the first magnetic sensor 91 and a line M2 connecting the axis L and the second magnetic sensor 92 is θ, the following formula (1) is satisfied:

[0132] (1)θ=(360 / n)×N+(360 / 2n)

[0133] The output signal K of the first magnetic sensor 91 and the second magnetic sensor is a binary signal. Based on the output signal K and the output signal expected value information J, the control device 100 detects that the rotation of the magnet rotor 31 is restricted.

[0134] Thus, by comparing the output signal K of the first magnetic sensor 91 and the second magnetic sensor 92 with the output signal expected value information J as the expected value thereof, it is possible to determine whether the magnet rotor 31 is rotating. Therefore, based on the determination of the rotation of the magnet rotor 31, it is possible to detect relatively easily that the rotation of the magnet rotor 31 is restricted.

[0135] The control device 100 may also detect the rotation direction of the magnet rotor 31 based on the output signal K of the first magnetic sensor 91 and the second magnetic sensor 92 .

[0136] For example, Fig.19 As shown, when the control device 100 inputs the pulses P into the stepping motor 66 in ascending order, the magnetic rotor 31 rotates in the valve closing direction, and the output signal K1 of the first magnetic sensor 91 changes from "L" to "H" according to the inputs of P[2], P[3], and P[4]. The output signal K2 of the second magnetic sensor 92 changes from "L" to "H" according to the inputs of P[4], P[5], and P[6].

[0137] In addition, when the control device 100 inputs pulses P into the stepping motor 66 in descending order, the magnetic rotor 31 rotates in the valve opening direction, and the output signal K2 of the second magnetic sensor 92 changes from "L" to "H" according to the inputs of P[2], P[1], and P[8]. The output signal K1 of the first magnetic sensor 91 changes from "L" to "H" according to the inputs of P[8], P[7], and P[6].

[0138] That is, when the magnetic rotor 31 rotates in the valve closing direction, after the output signal K of the first magnetic sensor 91 changes from "L" to "H", the output signal K of the second magnetic sensor 92 changes from "L" to "H". When the magnetic rotor 31 rotates in the valve opening direction, after the output signal K of the second magnetic sensor 92 changes from "L" to "H", the output signal K of the first magnetic sensor 91 changes from "L" to "H".

[0139] Thus, the control device 100 can detect the rotation direction of the magnetic rotor 31 relatively simply based on the moment when the output signal K of the first magnetic sensor 91 changes from the L signal (first value) to the H signal (second value) and the moment when the output signal K of the second magnetic sensor 92 changes from the L signal (first value) to the H signal (second value). In addition, the L signal may be set to the second value and the H signal may be set to the first value.

[0140] The output signal K1 of the first magnetic sensor 91 and the output signal K2 of the second magnetic sensor 92 change according to the rotation of the magnetic rotor 31. Therefore, the control device 100 can detect the position (rotation angle from the reference position Rx) and the rotation direction of the magnetic rotor 31 based on the output signal K1 and the output signal K2. In addition, the control device 100 can also detect the situation where the rotation of the magnetic rotor 31 is restricted based on the position or rotation direction of the magnetic rotor 31.

[0141] In the present embodiment, the control device 100 controls the electric valve 5, but the air conditioning control device 410 may directly control the electric valve 5. In this case, the air conditioning control device 410 is an electric valve control device.

[0142] In this specification, each term such as "cylindrical" or "column" indicating the shape of a component is also used for a component substantially having the shape of the term. For example, "a cylindrical component" includes a cylindrical component and a substantially cylindrical component.

[0143] Although the embodiments of the present invention have been described above, the present invention is not limited to these embodiments. As long as it does not violate the purpose of the present invention, the structures obtained by adding, deleting, and designing the structural elements of the above-mentioned embodiments by those skilled in the art, and the structures obtained by appropriately combining the features of the embodiments are also included in the scope of the present invention.

[0144] Explanation of symbols

[0145] 1 ... electric valve device, 5 ... electric valve, 10 ... valve body, 11 ... body member, 11a ... mounting hole, 11b ... upper surface, 12 ... support member, 12a ... fitting hole, 13 ... connecting member, 14 ... valve chamber, 15, 16 ... flow path, 17 ... valve port, 18 ... valve seat, 20 ... housing, 30 ... driving mechanism, 31 ... magnetic rotor, 32 ... valve shaft holder, 32c ... internal thread, 32s ... movable stopper, 33 ... guide Bushing, 33a...first cylindrical portion, 33b...second cylindrical portion, 33c...external thread, 33s...fixed stopper, 34...valve shaft, 34a...first portion, 34b...second portion, 34d...step portion, 35...support ring, 36...pressing nut, 37...valve closing spring, 38...stop mechanism, 40...valve core, 50...stator unit, 60...stator, 61...A-phase stator, 61a, 61b...pole teeth, 61c...coil, 62…B-phase stator, 62a, 62b…pole teeth, 62c…coil, 65…terminal, 66…stepping motor, 70…housing, 74…inner space, 75…substrate space, 76…partition wall, 80…box, 80a…opening, 83…connector, 85…space, 87…protrusion, 90…sensor substrate, 90a…first end, 90b…second end, 93…connecting terminal, 95…substrate support member, 97…cylindrical portion, 91…first magnetic sensor, 92…second magnetic sensor, 100…electric valve control device, 110…control substrate, 112…through hole, 120…microcomputer, 121…CPU, 122…nonvolatile memory, 123…motor driver, 124…working memory, 125…communication module, L…axis line, J, J1, J2…output signal expected value information, K, K1, K2…output signal.

Claims

1. An electric valve control device for controlling an electric valve, characterized in that: The electric valve comprises: a valve body having a valve port; a valve core facing the valve port; and a housing joined to the valve body. a stepping motor for moving the valve core; and a first magnetic sensor and a second magnetic sensor, the first magnetic sensor and the second magnetic sensor being arranged outside the housing, The stepping motor includes a magnetic rotor and a stator. The magnetic rotor is arranged inside the housing and has a cylindrical shape. The stator is arranged outside the housing. On the outer peripheral surface of the magnetic rotor, a plurality of N poles and a plurality of S poles are alternately arranged at equal intervals in the circumferential direction. When the total number of the plurality of N poles and the plurality of S poles is n, a natural number is N, and an angle formed by a line connecting the axis of the magnetic rotor and the first magnetic sensor and a line connecting the axis and the second magnetic sensor when viewed from the axial direction of the magnetic rotor is θ, the following formula (1) is satisfied: (1)θ=(360 / n)×N+(360 / 2n) The output signals of the first magnetic sensor and the second magnetic sensor are binary signals. The electric valve control device detects that rotation of the magnet rotor is restricted based on output signals of the first magnetic sensor and the second magnetic sensor and output signal expected value information that is an expected value of the output signal when the magnet rotor rotates.

2. The electric valve control device according to claim 1, characterized in that: The electric valve control device detects the rotation direction of the magnet rotor based on a time when an output signal of the first magnetic sensor changes from a first value to a second value and a time when an output signal of the second magnetic sensor changes from a first value to a second value.

3. An electric valve control device for controlling an electric valve, characterized in that: The electric valve comprises: a valve body having a valve port; a valve core facing the valve port; and a housing joined to the valve body. a stepping motor for moving the valve core; and a first magnetic sensor and a second magnetic sensor, the first magnetic sensor and the second magnetic sensor being arranged outside the housing, The stepping motor includes a magnetic rotor and a stator. The magnetic rotor is arranged inside the housing and has a cylindrical shape. The stator is arranged outside the housing. On the outer peripheral surface of the magnetic rotor, a plurality of N poles and a plurality of S poles are alternately arranged at equal intervals in the circumferential direction. The electric valve control device detects a position and a rotation direction of the magnetic rotor based on output signals of the first magnetic sensor and the second magnetic sensor.

4. An electric valve device, characterized in that: A motor-driven valve control device according to any one of claims 1 to 3 and the motor-driven valve.