Motor-operated valve control device, adjustment device, motor-operated valve control program, and adjustment program

The electric valve control device addresses rotation errors in stepping motors by using an excitation pattern correction mechanism, enhancing the accuracy of valve opening control in electric valves.

JP7560121B2Active Publication Date: 2024-10-02TGK CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2021100977
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-06-17
Publication Date
2024-10-02
Estimated Expiration
2041-06-17

AI Technical Summary

Technical Problem

Stepping motors in electric valves experience rotation errors and delays due to load application, leading to inaccuracies in valve opening control, particularly in automotive air conditioners.

Method used

An electric valve control device that includes a stepping motor with an excitation pattern correction mechanism, utilizing a correction value storage unit and rotation control unit to adjust the excitation pattern based on individual motor characteristics, reducing rotation errors by applying a drive current according to a corrected excitation pattern.

Benefits of technology

The solution effectively reduces rotation errors and improves the accuracy of valve opening control, ensuring precise refrigerant flow management in electric valves.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007560121000001
    Figure 0007560121000001
  • Figure 0007560121000002
    Figure 0007560121000002
  • Figure 0007560121000003
    Figure 0007560121000003
Patent Text Reader

Abstract

To control a stepping motor so as to reduce a rotation error of a rotor of an electric valve.SOLUTION: An electric valve control device comprises: an excitation pattern correction value storage part connected to an electric valve having a stepping motor for rotating a rotor by a drive current which is applied in an excitation pattern corresponding to a step and a mechanism for changing a rotation motion of the rotor to an axial line motion of a valve body, and storing an excitation pattern correction value which is set for each individual electric valve; a rotation control part for correcting the excitation pattern corresponding to the step on the basis of the excitation pattern correction value; and a rotation indication part for applying the drive current to the stepping motor in the corrected excitation pattern.SELECTED DRAWING: Figure 24
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an electrically operated valve, and more particularly to a method for controlling a stepping motor. [Background technology]

[0002] An automotive air conditioner is generally configured by arranging a compressor, a condenser, an expansion device, an evaporator, etc. in a refrigeration cycle. The refrigeration cycle is provided with various control valves, such as an expansion valve as an expansion device, to control the flow of the refrigerant. With the recent spread of electric vehicles, etc., motor-operated valves equipped with a stepping motor as a drive unit are becoming widely used.

[0003] Known examples of such motorized valves include one equipped with a magnetic sensor for detecting the valve opening degree (see, for example, Patent Document 1). A valve disc is provided at one end of an actuating rod that rotates with the rotor, and a magnet (sensor magnet) is provided at the other end. A magnetic sensor is provided so as to face the sensor magnet in the axial direction. The rotational motion of the rotor is converted into axial motion of the valve disc by a screw feed mechanism. By detecting changes in magnetic flux accompanying the rotation of the rotor with the magnetic sensor, the rotational angle of the sensor magnet and therefore the axial position of the valve disc can be detected, and the valve opening degree can be calculated.

[0004] A reference position that serves as a control standard is set for the valve element that moves up and down inside the motor-operated valve. When the rotor continues to rotate in the valve closing direction and reaches the reference position, also called the "origin," the rotor's rotation is restricted by a stopper (see, for example, Patent Document 2). [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2018-135908 A [Patent Document 2] JP 2020-204344 A Summary of the Invention [Problem to be solved by the invention]

[0006] Stepping motors can lose synchronization when a load is applied. Loss of synchronization is a phenomenon in which the rotational guidance of a stepping motor is impaired due to a sudden change in speed or overload. Even if stepping does not occur, a certain degree of delay in rotation occurs when a load is applied to a stepping motor. This delay creates an error in the rotation angle, which affects the control of the valve opening in the motor-operated valve.

[0007] The error in the rotation angle depends on the drive characteristics of the stepping motor and the characteristics of the load on the rotor. Taking these characteristics into account, it is desirable to control the stepping motor to obtain a more accurate rotation angle and improve the accuracy of the valve opening.

[0008] A primary object of the present invention is to provide a technique for controlling a stepping motor so as to reduce rotational error of a rotor of a motor-operated valve. [Means for solving the problem]

[0009] An electric valve control device in one aspect of the present invention is connected to an electric valve having a stepping motor that rotates a rotor by a drive current applied by an excitation pattern corresponding to a step and a mechanism that changes the rotational motion of the rotor into axial motion of a valve body, and includes an excitation pattern correction value memory unit that stores an excitation pattern correction value set for each individual electric valve, a rotation control unit that corrects the excitation pattern corresponding to the step based on the excitation pattern correction value, and a rotation instruction unit that applies a drive current to the stepping motor by the corrected excitation pattern.

[0010] An adjustment device in one aspect of the present invention is connected to an electric valve control device which is connected to an electric valve having a stepping motor which rotates a rotor by a driving current applied by an excitation pattern corresponding to a step, a mechanism which changes the rotational motion of the rotor into axial motion of a valve body, a sensor which detects the angle of the rotor, and an elastic body which applies an elastic force in the axial direction of the valve body, and comprises: a sample acquisition unit which acquires from the electric valve control device sample data which includes a step in an operation of rotating the rotor in a first rotation direction, one of two rotation directions of the rotor in which the load torque due to the elastic force is greater, and a parameter which indicates the angle of the rotor detected by the sensor in that step; a correction value calculation unit which calculates, based on the sample data, an excitation pattern correction value which advances the excitation pattern in the operation in the first rotation direction; and a correction value setting unit which sets the calculated excitation pattern correction value in the electric valve control device.

[0011] An electric valve control device in one aspect of the present invention is connected to an electric valve having a stepping motor that rotates a rotor by a drive current applied by an excitation pattern corresponding to a step, a mechanism that changes the rotational motion of the rotor into axial motion of a valve body, a sensor that detects the angle of the rotor, and an elastic body that applies an elastic force in the axial direction of the valve body, and comprises: a sample generation unit that generates sample data including steps in an operation of rotating the rotor in a first rotation direction, one of two rotation directions of the rotor in which the load torque due to the elastic force is greater, and a parameter that indicates the angle of the rotor detected by the sensor in the step; a correction value calculation unit that calculates, based on the sample data, an excitation pattern correction value that advances the excitation pattern in the operation in the first rotation direction; and a correction value memory unit that stores the calculated excitation pattern correction value.

[0012] In one embodiment of the present invention, an electric valve control program causes a computer connected to an electric valve having a stepping motor that rotates a rotor by a drive current applied by an excitation pattern corresponding to a step, and a mechanism that changes the rotational motion of the rotor into axial motion of a valve body to perform the following functions: correcting the excitation pattern corresponding to a step based on an excitation pattern correction value set for each individual electric valve, and applying a drive current to the stepping motor by the corrected excitation pattern.

[0013] An adjustment program in one aspect of the present invention causes a computer connectable to an electric valve control device connected to an electric valve having a stepping motor that rotates a rotor by a driving current applied by an excitation pattern corresponding to a step, a mechanism that changes the rotational motion of the rotor into axial motion of a valve body, a sensor that detects the angle of the rotor, and an elastic body that applies an elastic force in the axial direction of the valve body to perform the following functions: acquiring sample data from the electric valve control device, the sample data including steps in an operation of rotating the rotor in a first rotation direction, one of two rotation directions of the rotor in which the load torque due to the elastic force is greater, and parameters indicating the angle of the rotor detected by the sensor in the step; calculating an excitation pattern correction value that advances the excitation pattern in the operation in the first rotation direction based on the sample data; and setting the calculated excitation pattern correction value in the electric valve control device.

[0014] An electric valve control program in one embodiment of the present invention causes a computer connected to an electric valve having a stepping motor that rotates a rotor by a driving current applied by an excitation pattern corresponding to a step, a mechanism that changes the rotational motion of the rotor into axial motion of a valve body, a sensor that detects the angle of the rotor, and an elastic body that applies an elastic force in the axial direction of the valve body to perform the following functions: generating sample data including steps in an operation of rotating the rotor in a first rotation direction, one of two rotation directions of the rotor in which the load torque due to the elastic force is greater, and parameters that indicate the angle of the rotor detected by the sensor in the steps; calculating an excitation pattern correction value that advances the excitation pattern in operation in the first rotation direction based on the sample data; and storing the calculated excitation pattern correction value. Effect of the Invention

[0015] According to the present invention, the stepping motor can be controlled so as to reduce the rotation error of the rotor of the motor-operated valve. [Brief description of the drawings]

[0016] [Figure 1] 1 is a cross-sectional view illustrating a motor-operated valve according to an embodiment. [Diagram 2] FIG. 2 is a diagram illustrating a configuration of a stator and its surroundings. [Diagram 3] FIG. 2 is a diagram illustrating a configuration of a rotor. [Figure 4] 3 is a schematic diagram showing the relationship between a magnetic sensor, a sensor magnet, and magnetic lines of force generated from the sensor magnet; FIG. [Diagram 5] FIG. [Figure 6] 11 is a graph showing the relationship between a sensor value and a sensing angle of a sensor magnet. [Figure 7] 1 is a graph showing the relationship between the angle value (duty ratio) and the step. [Figure 8] FIG. 4 is a schematic diagram of a range of movement of a rotor. [Figure 9]Fig. 9(A) is a diagram showing an outline of the torque balance during valve stop, Fig. 9(B) is a diagram showing an outline of the torque balance at the start of upward rotation, and Fig. 9(C) is a diagram showing an outline of the torque balance at the start of downward rotation. [Figure 10] 4 is a graph showing a change in driving torque. [Figure 11] 11A is a graph showing an excitation pattern without correction and an ideal duty ratio, and FIG 11B is a graph showing an excitation pattern without correction and an ideal duty ratio. [Figure 12] 12A is a graph showing an excitation pattern without correction and a duty ratio without correction during increasing rotation, and FIG 12B is a graph showing an excitation pattern without correction and a duty ratio without correction during increasing rotation. [Figure 13] Fig. 13A is a graph showing an excitation pattern with correction and a duty ratio with correction during increasing rotation, and Fig. 13B is a graph showing an excitation pattern with correction and a duty ratio with correction during increasing rotation. [Figure 14] 11 is a graph for explaining a method for determining an excitation pattern correction value. [Figure 15] FIG. 13 is a diagram illustrating an example of parameters during upward rotation without correction. [Figure 16] FIG. 13 is a diagram illustrating an example of parameters during downward rotation without correction. [Figure 17] 11 is a graph for explaining a result of excitation pattern correction. [Figure 18] FIG. 13 is a diagram illustrating an example of parameters during upward rotation with correction. [Figure 19] FIG. 13 is a diagram illustrating an example of parameters during downward rotation with correction. [Figure 20] FIG. 2 is a functional block diagram of an adjusting device and an electrically operated valve control device. [Figure 21] FIG. 11 is a sequence diagram showing an adjustment process. [Figure 22] 4 is a flowchart showing a process of the motor-operated valve control device. [Figure 23] 13 is a flowchart showing a process of calculating an excitation pattern correction value. [Figure 24] 4 is a flowchart showing a process of the motor-operated valve control device. [Diagram 25] FIG. 11 is a functional block diagram of an electric valve control device in a third modified example. [Figure 26] 13 is a flowchart showing a correction value setting process of the motor-operated valve control device in the third modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. In the following description, for convenience, the positional relationship of each structure may be expressed based on the illustrated state. In addition, in the following embodiment and its modified examples, substantially the same components are given the same reference numerals, and the description thereof will be omitted as appropriate.

[0018] FIG. 1 is a cross-sectional view illustrating a motor-operated valve according to an embodiment. The motor-operated valve 1 is applied to a refrigeration cycle of an automobile air conditioner (not shown). This refrigeration cycle includes a compressor that compresses the circulating refrigerant, a condenser that condenses the compressed refrigerant, an expansion valve that throttles and expands the condensed refrigerant and sends it out in the form of mist, and an evaporator that evaporates the mist of refrigerant and cools the air inside the vehicle cabin with the latent heat of evaporation. The motor-operated valve 1 functions as an expansion valve for the refrigeration cycle.

[0019] The motor-operated valve 1 is constructed by assembling a valve body 2 and a motor unit 3. The valve body 2 has a body 5 that houses a valve portion. The body 5 functions as a "valve body." The body 5 is constructed by assembling a first body 6 and a second body 8 coaxially. Both the first body 6 and the second body 8 are made of stainless steel (hereinafter referred to as "SUS"). Since the second body 8 is provided with a valve seat 24, a material with excellent wear resistance is selected. The first body 6 has better weldability than the second body 8, and the second body 8 has better workability than the first body 6.

[0020] The first body 6 is a stepped cylinder whose outer diameter tapers stepwise downward. The outer diameter of the upper end of the first body 6 is slightly tapered, forming a locking portion 52 with a step. A male thread 10 is formed on the outer peripheral surface of the lower part of the first body 6 for assembling the motor-operated valve 1 to a piping body (not shown). The piping body is connected to piping extending from the condenser side and piping connected to the evaporator, but the details thereof will not be described. A seal receiving portion 12 consisting of an annular groove is formed on the outer peripheral surface of the first body 6 slightly above the male thread 10, and a seal ring 14 (O-ring) is fitted into it.

[0021] The first body 6 has a circular hole-shaped recessed fitting portion 16 at its lower portion. The second body 8 has a bottomed cylindrical shape, and its upper portion is press-fitted into the recessed fitting portion 16. A seal accommodating portion 18 consisting of an annular groove is formed on the outer peripheral surface of the lower portion of the second body 8, and a seal ring 20 is fitted into the seal accommodating portion 18. A valve hole 22 is provided so as to penetrate the bottom portion of the second body 8 in the axial direction, and a valve seat 24 is formed at the upper end opening of the valve hole 22. An inlet port 26 is provided at the side of the second body 8, and an outlet port 28 is provided at the lower portion. A valve chamber 30 is formed inside the first body 6 and the second body 8. The inlet port 26 and the outlet port 28 are in communication with each other via the valve chamber 30.

[0022] An actuating rod 32 extending from the rotor 60 of the motor unit 3 is inserted into the inside of the body 5. The actuating rod 32 passes through the valve chamber 30. The actuating rod 32 is obtained by cutting a bar made of a non-magnetic metal, and a needle-shaped valve element 34 is provided integrally at its lower part. The valve element 34 is attached to and detached from the valve seat 24 from the valve chamber 30 side to open and close the valve portion.

[0023] A guide member 36 is erected at the center of the upper part of the first body 6. The guide member 36 is obtained by cutting a tube material made of a non-magnetic metal into a stepped cylindrical shape, and a male thread 38 is formed on the outer circumferential surface of the axial center part. The lower end part of the guide member 36 has a large diameter, and the large diameter part 40 is press-fitted into the upper center of the first body 6 and fixed coaxially. The guide member 36 supports the operating rod 32 axially slidably with its inner circumferential surface, and supports the rotating shaft 62 of the rotor 60 rotatably and slidably with its outer circumferential surface.

[0024] A spring receiver 42 is provided on the operating rod 32 slightly above the valve body 34, and a spring receiver 44 is also provided on the bottom of the guide member 36. A spring 46 (functioning as a "biasing member") is interposed between the spring receivers 42, 44 to bias the valve body 34 in the valve closing direction.

[0025] On the other hand, the motor unit 3 is configured as a three-phase stepping motor including a rotor 60 and a stator 64. The motor unit 3 has a cylindrical can 66 with a bottom, with the rotor 60 disposed inside the can 66 and the stator 64 disposed outside the can 66. The can 66 is a cylindrical member with a bottom that covers the space in which the valve body 34 and its drive mechanism are disposed and contains the rotor 60, and defines an inner pressure space (internal space) where the pressure of the refrigerant acts and an outer non-pressurized space (external space) where the pressure of the refrigerant does not act.

[0026] The can 66 is made of a non-magnetic metal (SUS in this embodiment), and is assembled coaxially with its lower portion being fitted onto the upper end of the first body 6. The amount of insertion of the can 66 is regulated by engaging the lower end with the engaging portion 52. The body 5 and the can 66 are fixed and sealed by applying a full circumference weld (not shown) along the boundary between the lower end of the can 66 and the first body 6. The space surrounded by the body 5 and the can 66 forms the above-mentioned pressure space.

[0027] The stator 64 is configured by arranging a plurality of salient poles at equal intervals on the inner periphery of the laminated core 70. The laminated core 70 is configured by laminating annular cores in the axial direction. A bobbin 74 with a coil 73 (electromagnetic coil) attached thereto is attached to each salient pole. The coil 73 and the bobbin 74 form a "coil unit 75." In this embodiment, the motor unit has three coil units 75 for supplying three-phase current, which are provided at intervals of 120 degrees with respect to the central axis of the laminated core 70 (described in detail later).

[0028] The stator 64 is provided integrally with a case 76 of the motor unit 3. That is, the case 76 is obtained by injection molding (also called "insert molding" or "mold molding") of a corrosion-resistant resin material. The stator 64 is covered with the molded resin formed by the injection molding. The case 76 is made of the molded resin. Hereinafter, the molded product of the stator 64 and the case 76 is also called a "stator unit 78."

[0029] The stator unit 78 has a hollow structure, and is assembled to the body 5 while the can 66 is coaxially inserted therethrough. A seal receiving portion 80 consisting of an annular groove is formed on the outer peripheral surface of the first body 6 slightly below the locking portion 52, and a seal ring 82 (O-ring) is fitted into the seal receiving portion 80. The seal ring 82 is interposed between the upper outer peripheral surface of the first body 6 and the lower inner peripheral surface of the case 76, thereby preventing the outside atmosphere (water, etc.) from entering the gap between the can 66 and the stator 64.

[0030] The rotor 60 includes a cylindrical rotor core 102 attached to the rotating shaft 62, a rotor magnet 104 provided on the outer circumferential surface of the rotor core 102, and a sensor magnet 106 provided on the upper end surface of the rotor core 102. The rotor core 102 is attached to the rotating shaft 62. The rotor magnet 104 is magnetized (magnetized) into multiple poles in its circumferential direction. The sensor magnet 106 is also magnetized (magnetized) into multiple poles. The rotor magnet 104 and the sensor magnet 106 are obtained by magnetizing a magnet portion integrally molded with the rotor core 102 in a post-process, the details of which will be described later.

[0031] The rotating shaft 62 is a cylindrical shaft with a bottom, and is fitted onto the guide member 36 with its open end facing downward. A female thread 108 is formed on the inner peripheral surface of the lower part of the rotating shaft 62, and meshes with the male thread 38 of the guide member 36. A screw feed mechanism 109 formed by these threads converts the rotational motion of the rotor 60 into axial motion of the operating rod 32. This causes the valve element 34 to move (rise and fall) in the axial direction, that is, in the opening and closing direction of the valve portion.

[0032] The upper part of the actuation rod 32 is reduced in diameter, and the reduced diameter part 110 penetrates the bottom part 112 of the rotary shaft 62. An annular stopper 114 is fixed to the tip part of the reduced diameter part 110. Meanwhile, a spring 116 that urges the actuation rod 32 downward (i.e., in the valve closing direction) is interposed between the base end of the reduced diameter part 110 and the bottom part 112. With this configuration, when the valve is opened, the actuation rod 32 is displaced integrally with the rotor 60 in such a manner that the stopper 114 is engaged with the bottom part 112. Meanwhile, when the valve is closed, the spring 116 is compressed by the reaction force that the valve body 34 receives from the valve seat 24. The elastic reaction force of the spring 116 at this time can press the valve body 34 against the valve seat 24, improving the seating performance (valve closing performance) of the valve body 34.

[0033] The motor unit 3 has a circuit board 118 on the outside of the can 66. The circuit board 118 is fixed inside the case 76. In this embodiment, various circuits functioning as a control unit and a communication unit are mounted on the lower surface of the circuit board 118. Specifically, a drive circuit for driving the motor, a control circuit (microcomputer) for outputting a control signal to the drive circuit, a communication circuit for the control circuit to communicate with an external device or an adjustment device, a power supply circuit for supplying power to each circuit and the motor (coil), etc. are mounted. The upper end of the case 76 is closed by a lid 77. The circuit board 118 is disposed in the space below the lid 77 of the case 76.

[0034] A magnetic sensor 119 is provided on the surface of the circuit board 118 facing the sensor magnet 106. The magnetic sensor 119 faces the sensor magnet 106 in the axial direction via the bottom end wall of the can 66. The magnetic flux generated by the sensor magnet 106 changes as the rotor 60 rotates. The magnetic sensor 119 detects the amount of displacement of the rotor 60 (the rotation angle of the rotor 60 in this embodiment) by detecting this change in magnetic flux. The control unit calculates the axial position of the valve body 34 and therefore the valve opening degree based on the amount of displacement of the rotor 60.

[0035] A pair of terminals 117 connected to the coil 73 extend from each bobbin 74 and are connected to a circuit board 118. A power supply terminal, a ground terminal, and a communication terminal (collectively referred to as "connection terminals 81") extend from the circuit board 118 and are each drawn out to the outside through a side wall of the case 76. A connector portion 79 is integrally provided on the side of the case 76, and the connection terminals 81 are arranged inside the connector portion 79.

[0036] A stopper 90 is formed below the rotor 60. As shown in Patent Document 2, the configuration of the stopper 90 is known. When the operating rod 32 reaches the valve-closed position, an elastic reaction force is applied to the rotor 60 by the spring 116, and the valve is stably maintained closed. Eventually, the stopper 90 comes into contact with a protrusion (locking portion) (not shown) formed as part of the guide member 36, completely restricting the rotation of the rotor 60 in the valve-closed direction. Hereinafter, the step when the stopper 90 comes into contact with the protrusion is referred to as the "origin" of the step. In this embodiment, the valve body 34 is in the "reference position" at the origin of the step.

[0037] Fig. 2 is a diagram showing the configuration of the stator 64 and its surroundings. Fig. 2(A) corresponds to the cross section seen from the arrow AA in Fig. 1, and is a cross section of the stator unit 78. Fig. 2(B) shows only the stator 64 (before resin molding). For reference, Fig. 2(A) also shows the can 66 and the rotor 60 (see the two-dot chain line).

[0038] Since the motor unit 3 is a three-phase motor, as shown in FIG. 2A, coil units 75 are provided at equal intervals around the axis L of the rotor 60. As also shown in FIG. 2B, slots 120a to 120c (collectively referred to as "slots 120" when no particular distinction is made) are provided at intervals of 120 degrees around the axis L on the inner periphery of the laminated core 70. In each slot 120, salient poles 122a to 122c (collectively referred to as "salient poles 122") protruding radially inward from the center are formed, and a U-phase coil 73a, a V-phase coil 73b, and a W-phase coil 73c (collectively referred to as "coils 73") are respectively assembled therein. Slits 124 having a U-shaped cross section are also formed between adjacent slots 120 to optimize the magnetic path.

[0039] The rotor magnet 104 faces the salient poles 122a to 122c via the can 66. In this embodiment, as shown in Fig. 2(A), the rotor magnet 104 is magnetized to have ten poles in the male thread, but the number of poles can be set appropriately.

[0040] Next, the configuration of the magnets in the rotor 60 will be described in detail. Fig. 3 is a diagram showing the configuration of the rotor 60. Fig. 3(A) is a perspective view, Fig. 3(B) is a front view, Fig. 3(C) is a plan view, and Fig. 3(D) is a cross-sectional view taken along the line BB in Fig. 3(C). In the diagram, "N" indicates the north pole and "S" indicates the south pole. For ease of explanation, the rotating shaft 62 (see Fig. 1) is omitted in the diagram.

[0041] The rotor 60 has a rotor magnet 104 along the outer circumferential surface of the rotor core 102, and a sensor magnet 106 at the axial end of the rotor core 102 (FIGS. 3(A) and 3(D)). The rotor magnet 104 is cylindrical, and its outer circumferential surface is magnetized with 10 poles (FIGS. 3(B) and 3(C)). On the other hand, the sensor magnet 106 is annular, and its plane is magnetized with 2 poles.

[0042] 3(D), the inner circumferential surface of rotor magnet 104 fits into annular groove 140, and the bottom surface of sensor magnet 106 fits into annular groove 144. That is, annular groove 140 functions as a fall-off prevention structure that prevents rotor magnet 104 from falling off from rotor core 102. Similarly, annular groove 144 functions as a fall-off prevention structure that prevents sensor magnet 106 from falling off from rotor core 102.

[0043] Given the above configuration, next, a description will be given of a method in which the magnetic sensor 119 detects the rotation angle of the rotor 60. In the following, the up-down direction in Fig. 1 will be referred to as the "opening / closing direction" or the "up-down direction".

[0044] FIG. 4 is a schematic diagram showing the relationship between the magnetic sensor 119, the sensor magnet 106, and the magnetic lines of force generated from the sensor magnet 106. As shown in FIG. FIG. 4 is a schematic diagram of the magnetic sensor 119 and the sensor magnet 106 as viewed from the side. As shown in FIG. 4, magnetic lines of force are generated from N to S of the sensor magnet 106 (permanent magnet). The magnetic sensor 119 located directly above the sensor magnet 106 is a rotary sensor of a known configuration that detects the magnetic lines of force generated from the sensor magnet 106. The magnetic sensor 119 detects the rotation angle of the sensor magnet 106 (rotor 60) based on the direction of the magnetic lines of force (described in detail later). Note that in this embodiment, the magnetic sensor 119 can detect the rotation angle of the sensor magnet 106, but the magnetic sensor 119 cannot directly detect the distance to the sensor magnet 106, in other words, the amount of movement of the operating rod 32 in the opening and closing direction.

[0045] FIG. 5 is a plan view of the sensor magnet 106. A rotational driving force is applied to the rotor 60 by passing a driving current through the coil 73 of the stator 64 in a manner described below. When the rotor 60 is rotated in the valve closing direction (downward) (hereinafter referred to as "downward rotation"), the actuation rod 32 (valve element 34) moves in the valve closing direction, i.e., downward in Fig. 1 in conjunction with the rotor 60. When the rotor 60 is rotated in the valve opening direction (hereinafter referred to as "upward rotation"), the actuation rod 32 (valve element 34) moves in the valve opening direction, i.e., upward in Fig. 1 in conjunction with the rotor 60.

[0046] The sensor magnet 106 also rotates in conjunction with the rotation of the rotor 60. As the sensor magnet 106 rotates, the magnetic field direction MA of the sensor magnet 106 also changes. When an XY coordinate system (corresponding to the horizontal plane in FIG. 1) is set as shown in FIG. 5, the angle that the magnetic field direction MA makes with the X-axis is defined as θ. The magnetic sensor 119 detects the rotation angle θ of the sensor magnet 106 using a known method shown in the angle sensor of Patent Document 1.

[0047] FIG. 6 is a graph showing the relationship between the sensor value of the sensor magnet 106 and the sensing angle. The horizontal axis indicates the rotation angle θ of the sensor magnet 106 that is the measurement target of the magnetic sensor 119 (hereinafter, sometimes referred to as the “sensing angle”). The vertical axis indicates the sensor value of the magnetic sensor 119. In this example, the sensor value is an arctangent value. As shown in FIG. 6, the magnetic sensor 119 detects a sensor value that shows a sawtooth waveform corresponding to the sensing angle. The magnetic sensor 119 converts the sensor value, which is an analog signal, into a pulse duty ratio by PWM (Pulse Width Modulation) and outputs a current that shows the modulated digital signal. At this time, the sensor value is normalized to “lower limit value DA to upper limit value TA” to determine the duty ratio of the pulse. The lower limit value DA and the upper limit value TA can be set arbitrarily. The lower limit value DA may be 0. Hereinafter, the duty ratio of the pulse may be referred to as the “angle value”. The control circuit can identify the actual rotor angle (sensing angle) based on the duty ratio (angle value) read from the pulse of the digital signal in accordance with the specifications of the magnetic sensor 119.

[0048] FIG. 7 is a graph showing the relationship between the angle value (duty ratio) and the step. In this embodiment, when the valve body 34 is moved from the highest point to the lowest point, the rotor 60 rotates a total of four times. Although details will be described later, the control circuit changes the driving current supplied to the three-phase coils 73 to change the magnetic field direction of each coil 73, thereby rotating the rotor 60. In this embodiment, the control circuit rotates the rotor 60 in units of u1 degrees (details will be described later). Hereinafter, this unit rotation amount will be referred to as a "step." Since 360 ​​degrees x 4 rotations ÷ u1 degrees = 1440 / u1 = SM4, the control circuit instructs the rotor 60 to rotate a total of SM4 steps within the operating range of the actuation rod 32. Corresponding to the four rotations of the rotor 60, the angle value changes four times between DA and TA.

[0049] Step 0 corresponds to the origin, and step n represents the nth step counted from the origin. In the figure, SM1 represents the order of steps when the mechanical angle makes one revolution, SM2 represents the order of steps when the mechanical angle makes two revolutions, SM3 represents the order of steps when the mechanical angle makes three revolutions, and SM4 represents the order of steps when the mechanical angle makes four revolutions. The mechanical angle refers to the angle in real space of a rotating body such as rotor 60.

[0050] The control circuit applies a predetermined level of drive current to the U-phase coil 73a. At this time, a similar predetermined level of drive current is applied to the V-phase coil 73b and the W-phase coil 73c. ​​By applying drive current to each coil 73, the magnetic field in the coil 73 is changed, causing the rotor 60 to rotate. A combination of the current values ​​of the drive current applied to each of the U-phase coil 73a, the V-phase coil 73b, and the W-phase coil 73c is called an "excitation pattern." In this embodiment, there are N types of excitation patterns. Changing a certain excitation pattern P1 to the adjacent excitation pattern P2 corresponds to "one step" of rotation, in other words, a rotation instruction for a unit amount of rotation.

[0051] By changing the excitation pattern, in other words by changing the excitation pattern step by step, the command angle α (ideal rotor angle) is controlled. In synchronization with the change in command angle α, the rotor 60 rotates and the sensed angle θ also changes. After changing the excitation pattern, the control circuit calculates the sensed angle θ from the angle value detected by the magnetic sensor 119, and determines whether the sensed angle θ (actual rotor angle) is following the command angle α. The state in which the sensed angle θ is following the command angle α is called "synchronization," and the state in which the sensed angle θ cannot follow the command angle α is called "loss of synchronization."

[0052] A pattern ID is assigned to each of the N types of excitation patterns. In the excitation pattern with pattern ID=N1 (hereinafter, referred to as "excitation pattern (N1)"), the drive current values ​​of the U-phase coil 73a, the V-phase coil 73b, and the W-phase coil 73c are IU(N1), IV(N1), and IW(N1), respectively. In other words, the excitation pattern (N1) means a combination of [IU(N1), IV(N1), IW(N1)]. A magnetic field is generated in each coil 73 by the drive currents IU(N1), IV(N1), and IW(N1), and the rotor 60 is guided to the command angle α according to the excitation pattern (N1).

[0053] The N types of pattern IDs correspond to N steps of one revolution of the electrical angle. The electrical angle is a theoretical value in which the N pattern IDs are evenly allocated in the range of 0 to 360 degrees. Each step n from the origin to the top is cyclically associated with a pattern ID in sequence. In addition, successive pattern IDs correspond to excitation patterns that change continuously.

[0054] When the control circuit moves from step n to step n+1, it switches from excitation pattern (N1) to excitation pattern (N1+1). This changes the magnetic field generated by each coil 73 with the drive current value [IU(N1+1), IV(N1+1), IW(N1+1)], and rotates the rotor 60 upward by a unit rotation amount. Conversely, when the control circuit moves from step n to step n-1, it switches from excitation pattern (N1) to excitation pattern (N1-1). This changes the magnetic field generated by each coil 73 with the drive current value [IU(N1-1), IV(N1-1), IW(N1-1)], and rotates the rotor 60 downward by a unit rotation amount.

[0055] In the case of the rotor 60 having the structure shown in FIG. 3, the rotor magnet 104 has five pairs of N and S poles, so that the electrical angle goes through five revolutions in one revolution (360 degrees of mechanical angle) of the rotor 60. That is, one revolution of the electrical angle corresponds to 72 degrees of mechanical angle. Also, one revolution of the electrical angle includes N steps, so the mechanical angle rotated by one step change is u1=72 / N degrees. Also, as described in relation to FIG. 7, when the rotor 60 goes through four revolutions while moving the valve disc 34 from the highest point to the origin, the movement over the entire range advances 4×5×N steps. That is, the SM4 shown in FIG. 7 is 4×5×N. Similarly, the SM1 is 5×N, the SM2 is 2×5×N, and the SM3 is 3×5×N.

[0056] In this embodiment, the position of the rotor 60 when the stopper 90 abuts against the guide member 36 (more precisely, the protrusion of the guide member 36) is set as the origin (reference position), and the control circuit records the angle value and excitation pattern at this time as "origin information (reference information)." When the motor-operated valve 1 is manufactured, origin information (reference information) specific to the motor-operated valve 1 is recorded in the non-volatile memory of the circuit board 118. Then, the control circuit adjusts the amount of movement of the operating rod 32, i.e., the valve opening degree of the motor-operated valve 1, by step n based on the origin (valve closed position).

[0057] FIG. 8 is a schematic diagram of the range of movement of the rotor 60. As shown in FIG. The right direction in FIG. 8 indicates the opening direction (upward direction) of the rotor 60, and the left direction indicates the closing direction (downward direction). The origin of step 0 is the limit position where the stopper 90 is restricted from rotating and the rotor 60 cannot rotate further downward. Step M is the valve opening point where the valve body 34 starts to rise. The value of M may be a predetermined common value or a unique value different for each motor-operated valve 1. When a unique value is used, the value of M indicating the step of the valve opening point is stored in the non-volatile memory of the circuit board 118. In the range from the origin to the valve opening point, the valve body 34 is pressed against the valve seat 24 by the elastic reaction force of the spring 116, so that the valve closed state is maintained. When the rotor 60 continues to rotate upward from the origin 0 and passes the valve opening point M, the valve body 34 leaves the valve seat 24 and the valve is in an open state. If the rotor 60 continues to rotate upward after passing the valve opening point, the valve opening degree gradually increases and the flow rate from the inlet port 26 to the outlet port 28 increases.

[0058] In both the valve closed state from the origin to the valve open point and the valve open state from the valve open point to the highest point, a load torque is generated by frictional resistance and rotational force in the screw feed mechanism 109. The torque generated in the rotor 60 will be described below.

[0059] FIG. 9A is a diagram showing an outline of the torque balance while the valve is stopped. The clockwise direction is the upward rotation direction of the rotor 60, and the counterclockwise direction is the downward rotation direction of the rotor 60. As described in relation to Fig. 1, a spring 46 that urges the valve body 34 in the valve closing direction is interposed between the spring receivers 42, 44. The spring 46 applies a load to the screw feed mechanism 109. This load serves to hold the position of the rotor 60 by the frictional force of the threaded portion so that the rotor 60 does not rotate by itself due to vibration or the like under a non-excited condition.

[0060] When the threaded portion receives an axial load, a frictional force and a rotational force are generated. In other words, of the axial force generated on the threaded surface by the elastic force of the spring 46, a component force parallel to the threaded surface generates a slight torque as a rotational force in the direction of the rotor 60 rotating to close the valve. The rotational torque due to the rotational force has a certain magnitude in the downward rotation direction. Since no drive torque is generated by the motor unit 3 while the valve is stopped, a frictional torque of the same magnitude as the rotational torque is generated in the opposite direction to the rotational torque. The frictional torque at this time is not maximum. If the rotational torque increases or decreases due to the influence of vibration or the like, the frictional torque changes and the torque balance is maintained. This prevents rotation and maintains the stopped state.

[0061] FIG. 9B is a diagram showing an outline of the torque balance at the start of upward rotation. This shows the state just before the drive torque generated in the upward rotation direction increases and starts to move. The friction torque is generated in the downward rotation direction so as to balance the drive torque and the rotation torque. The friction torque at this time is at its maximum. The sum of the friction torque and the rotation torque becomes the load torque of the rotor 60. When the drive torque exceeds the magnitude of this load torque, the rotor 60 starts to move in the upward rotation direction.

[0062] FIG. 9C is a diagram showing an outline of the torque balance at the start of downward rotation. This shows the state just before the driving torque generated in the downward rotation direction increases and starts to move. A friction torque occurs in the upward rotation direction to resist the rotational torque and driving torque generated in the downward rotation direction. The friction torque at this time is at its maximum. The sum of the friction torque and the rotational torque becomes the load torque of the rotor 60. When the driving torque exceeds the magnitude of this load torque, the rotor 60 starts to move in the upward rotation direction.

[0063] As shown in FIG. 9B and FIG. 9C, in the case of upward rotation, the rotor 60 will not start moving unless a larger driving torque is applied than in the case of downward rotation.

[0064] FIG. 10 is a graph showing changes in driving torque. The driving torque of the motor unit 3 is determined by the difference between the electrical angle specified by the excitation pattern (hereinafter referred to as the "ideal electrical angle") and the electrical angle corresponding to the actual position of the rotor 60 (hereinafter referred to as the "actual electrical angle"). This electrical angle difference is defined as the ideal electrical angle - the actual electrical angle. The driving torque can be calculated as a sine value with the electrical angle difference as a variable. Therefore, a sine curve as shown in the figure is drawn. In this figure, the driving torque is shown as a ratio with the maximum driving torque set to 1.

[0065] The electrical angle difference is proportional to the difference between the step corresponding to the excitation pattern (hereinafter referred to as the "ideal step") and the step corresponding to the actual posture of the rotor 60 (hereinafter referred to as the "actual step"). This step difference is defined as the ideal step - the actual step. Therefore, the magnitude relationship between the electrical angle difference in a certain state A and the electrical angle difference in another state B coincides with the magnitude relationship between the step difference in state A and the step difference in state B.

[0066] We will explain how the drive torque changes when the electrical angle difference increases. When the electrical angle difference is 0, no drive torque is generated. As the electrical angle difference increases, the drive torque increases. Then, when the electrical angle difference is 90 degrees, the drive torque reaches its maximum. As the electrical angle difference increases further, the drive torque begins to decrease. When the drive torque decreases and falls below the load torque, it is believed that the phenomenon of step-out actually occurs.

[0067] Therefore, if the step n is changed to rotate upward, the rotor 60 will not rotate until the drive torque exceeds the load torque. When the drive torque exceeds the load torque, the rotor 60 starts to rotate. After that, the actual rotor angle tracks the ideal rotor angle while the electrical angle difference remains. As described above, the track continues unless the electrical angle difference increases and the drive torque falls below the load torque.

[0068] In this example, the thick line 400 indicates the drive torque shown in Fig. 9(B). That is, the drive torque for the upward rotation and the load torque are balanced at point 402 where the step difference is 5. Then, when the upward rotation moves to point 404, the rotor 60 starts to move.

[0069] In this example, the thick line 410 indicates the drive torque shown in Fig. 9C. That is, the drive torque and the load torque for the downward rotation are balanced at point 412 where the step difference is -1. Then, when the downward rotation moves to point 414, the rotor 60 starts to move.

[0070] The magnitude of the drive torque described here varies for each individual motor-operated valve 1. Therefore, the magnitude of the electrical angle required to generate a certain level of drive torque may differ for each individual motor-operated valve 1. The relationship between the electrical angle and the drive torque is not necessarily uniform for all motor-operated valves 1. This is due, for example, to variations in the magnitude of the magnetic force generated by the coil 73 of the stator 64.

[0071] Figures 11(A) and 11(B) are graphs showing the excitation pattern without correction and the ideal duty ratio. These figures show the ideal behavior assuming there is no load torque. Excitation pattern correction will be described later, but here the excitation pattern is not corrected.

[0072] FIG. 11(A) shows the range from step 100 to step 148, and FIG. 11(B) shows the range from step 100 to step 112. These ranges correspond to the valve open state. The no-compensation excitation pattern is determined corresponding to step n. In this example, as the step number n increases by one, the excitation pattern ID decreases by one. The no-compensation excitation pattern is represented as Rp(n). The excitation pattern ID number is used to identify the excitation pattern.

[0073] The ideal duty ratio assuming that there is no load torque increases at a constant rate with respect to an increase in the step. In this example, the amount of change in the duty ratio per step is represented as j. The ideal duty ratio is represented as D(n). The ideal duty ratio is a value that is assumed to be output from the magnetic sensor 119.

[0074] If there is no load torque, the step n and the duty ratio D(n) theoretically show the same corresponding relationship regardless of the direction of rotation. Next, the behavior when the load torque is taken into consideration will be explained.

[0075] 12(A) and 12(B) are graphs showing the excitation pattern without correction and the duty ratio without correction during upward rotation. In reality, a load torque is generated. Here, attention is focused on the behavior during upward rotation shown in FIG. 9(B). The behavior during downward rotation will be described later in relation to FIG. 14. The step range is the same as in FIG. 11.

[0076] As described in relation to FIG. 10, the rotor 60 does not rotate until the step difference widens to 5. Therefore, if the duty ratio of step 100 is represented as i, the duty ratio i does not change even when proceeding from step 100 to step 105. The excitation pattern is not corrected here. The duty ratio when the excitation pattern is not corrected is called the "uncorrected duty ratio." The uncorrected duty ratio during upward rotation is represented as Du(n). The uncorrected duty ratio Du(n) is the value actually output from the magnetic sensor 119.

[0077] From step 106, the rotor 60 starts to rotate upward at a constant pace, and the uncorrected duty ratio Du(n) increases. For example, the duty ratio Du(109) output from the magnetic sensor 119 in step 109 is i+4j, which is 5j smaller than the ideal duty ratio D(109) of i+9j. Thus, the value obtained by subtracting the uncorrected duty ratio Du(n) during upward rotation from the ideal duty ratio D(n) is called the "uncorrected duty ratio difference during upward rotation" and is represented by ΔDu(n). It can be said that the rotation of the rotor 60 is delayed by an electrical angle equivalent to this duty ratio difference of 5j.

[0078] The delay in the rotation of the rotor 60 can also be understood as a step difference. For example, the uncorrected duty ratio Du(109)=i+4j in step 109 is at the same level as the ideal duty ratio D(104), so it can be considered that the rotor 60 is essentially stuck at step 104. A step that is an ideal duty ratio equivalent to an actual duty ratio is called an "effective step." An effective step during upward rotation without correction is called an "uncorrected effective step during upward rotation" and is represented as Su(n). The difference obtained by subtracting the effective step Su(n) from the step n specified during upward rotation is called an "uncorrected step difference during upward rotation" and is represented as ΔSu(n). If the change in the duty ratio per step is represented by a constant U, ΔSu(n) is calculated by the following formula 1. In this example, the constant U is equal to j. ΔSu(n)=ΔDu(n) / U [Equation 1]

[0079] As shown in the figure, the uncorrected step difference ΔSu (109) during upward rotation in step 109 is 5, which means that the response of the motor unit 3 is delayed by 5 steps in step 109. Therefore, the rotation of the rotor 60 is delayed.

[0080] If an error occurs in the displacement amount of the rotor 60 due to a delay in mechanical response, the axial position of the valve body 34 is shifted, and the accuracy of the valve opening degree is reduced. This causes a problem that it becomes difficult to accurately adjust the flow rate of the refrigerant when the motor-operated valve 1 is used as an expansion valve of a refrigeration cycle, for example. In addition, the delay in the rotation of the rotor 60 also affects the out-of-step detection process that detects out-of-step based on the difference between the angle instructed to the motor unit 3 and the angle detected by the magnetic sensor 119. If the rotation of the rotor 60 is delayed during upward rotation as described above, the angle difference monitored by the out-of-step detection process becomes larger accordingly, and out-of-step is more likely to be determined.

[0081] In consideration of these problems, in this embodiment, the excitation pattern corresponding to the step is corrected to operate the motor unit 3 in order to suppress the delay in the rotation of the rotor 60. Then, the error occurring in the displacement amount of the rotor 60 is reduced.

[0082] 13(A) and 13(B) are graphs showing the excitation pattern with correction and the duty ratio with correction during upward rotation. These show the behavior when the excitation pattern is corrected. The step range is the same as in FIG. 11 and FIG. 12.

[0083] In this example, each excitation pattern is corrected by subtracting two, as shown by the black arrows. In other words, the excitation pattern correction value is -2. The excitation pattern correction value is represented as ΔRp. The corrected excitation pattern is called the "corrected excitation pattern" and represented as Rp'(n). The calculation formula for the corrected excitation pattern Rp'(n) is expressed by Equation 2. Rp'(n) = Rp(n) + ΔRp [Equation 2]

[0084] In step 103 where correction is performed, the excitation pattern is the same as in step 105 where correction is not performed, so the starting torque and the load torque are balanced, as in the case of step 105 in FIG. 12. Then, in step 104 where correction is performed, the rotor 60 starts to rotate, as in the case of step 106 in FIG. 12. Thereafter, the rotor 60 starts to rotate upward at a constant pace. The duty ratio expressed by the excitation pattern with correction is called the "duty ratio with correction," and the "duty ratio with correction" during upward rotation is represented as Du'(n).

[0085] As shown by the white arrow, the duty ratio increases through correction, approaching the ideal duty ratio D(n). The value obtained by subtracting the corrected duty ratio Du'(n) during upward rotation from the ideal duty ratio D(n) is called the "duty ratio difference with correction during upward rotation" and is represented by ΔDu'(n). In other words, ΔDu'(n) is calculated using the following formula 3. ΔDu′(n)=D(n)-Du′(n) [Formula 3]

[0086] For example, the duty ratio difference ΔDu' (109) with correction during upward rotation in step 109 is 3j. This is reduced compared to the duty ratio difference ΔDu (109) without correction = 5j shown in Fig. 12(B). This means that the angle of the rotor 60 has come closer to the ideal by correcting the excitation pattern.

[0087] The step difference is also reduced. The difference obtained by subtracting the actual step from the step indicated during upward rotation after the excitation pattern is corrected is called the "step difference with correction during upward rotation" and is expressed as ΔSu'(n). For example, the step difference with correction ΔSu'(109) at step 109 during upward rotation is 3, which is two less than the step difference without correction ΔSu(109) during upward rotation shown in FIG. 12(B) of 5. This is because the excitation pattern is advanced by two steps. In this way, if the poor response of the motor unit 3 is covered by advancing the excitation pattern, the start of rotation of the rotor 60 is advanced, and the above-mentioned rotation delay is suppressed. ΔSu'(n) is expressed by the following formula 4. ΔSu′(n)=ΔDu′(n) / U [Equation 4]

[0088] FIG. 14 is a graph for explaining how to obtain the excitation pattern correction value. As in FIG. 12, the behavior of the motor when rotating upward and downward without any correction is shown. Parameter values ​​related to this behavior are collected to obtain sample data used in the excitation pattern correction value calculation process. In this example, data related to samples of one electrical revolution is obtained. In the sample data, the step n is associated with the duty ratio output from the magnetic sensor 119 for each sample.

[0089] The behavior of downward rotation, which was not explained in FIG. 12, will now be described. The uncorrected duty ratio during downward rotation is represented as Dd(n), and the uncorrected duty ratio difference during downward rotation is represented as ΔDd(n). The uncorrected duty ratio difference ΔDd(n) during downward rotation is the value obtained by subtracting the ideal duty ratio D(n) from the uncorrected duty ratio Dd(n) during downward rotation. In addition, the actual step during downward rotation without correction is called the "uncorrected actual step during downward rotation" and represented as Sd(n). The difference obtained by subtracting the actual step Sd(n) from the step n specified during downward rotation is called the "uncorrected step difference during downward rotation" and represented as ΔSd(n).

[0090] In step 147 shown on the upper horizontal axis, an equilibrium state is reached with a small drive torque as shown in FIG. 9C, and in the next step 146, the rotor 60 starts to move with a small step difference. After that, downward rotation continues with a certain delay. For example, the uncorrected duty ratio difference ΔDd (146) during downward rotation in step 146 is j. The uncorrected actual step Sd (146) during downward rotation is 145, and the uncorrected step difference ΔSd (146) during downward rotation is 1, calculated by 146-145.

[0091] When both upward rotation and downward rotation are performed, the uncorrected duty ratio Du(n) during upward rotation and the uncorrected duty ratio Dd(n) during downward rotation are obtained for step n. For example, for step 106, Du(106) is i+j, and Dd(106) is i+7j. Furthermore, the uncorrected duty ratio difference ΔDu(n) during upward rotation and the uncorrected duty ratio difference ΔDd(n) during downward rotation are specified by Du(n) and Dd(n). Furthermore, the uncorrected step difference ΔSu(n) during upward rotation and the uncorrected step difference ΔSd(n) during downward rotation are specified. ΔSd(n) is expressed by the following equation 5. ΔSd(n)=ΔDd(n) / U [Equation 5]

[0092] Focusing on the ideal duty ratio D(108)=i+8j at step 108 shown in the figure, the duty ratio of that level appears at step 113 during upward rotation and at step 107 during downward rotation. In other words, there is a gap between steps that indicate the same mechanical angle during upward rotation and downward rotation. This step gap can be specified by the sum of the uncorrected step difference ΔSd(107) during downward rotation and the uncorrected step difference ΔSu(113) during upward rotation. Such step gaps also occur at other levels. In FIG. 14, the center line connecting the center points of the step gap is shown by a dashed line. In this embodiment, as shown by the white arrow, a correction is performed to shift the entire uncorrected duty ratios Du(n) and Dd(n) so that this center line overlaps the line of the ideal duty ratio D(n). In terms of the graph, the center line is slid to the left by half of ΔSu(113)-ΔSd(107). The behavior when the excitation pattern is corrected will be described later in relation to Figure 17, but the step difference with correction ΔSu'(n) during upward rotation and the step difference with correction ΔSd'(n) during downward rotation become equal. If the duty ratio difference with correction during downward rotation is expressed as ΔDd'(n), ΔSd'(n) is expressed by the following Equation 6. ΔSd′(n)=ΔDd′(n) / U [Formula 6]

[0093] The process involves determining a correction value so that the excitation pattern corresponding to each step is made smaller by an amount equivalent to the step movement amount. In this example, the excitation pattern correction value is equal to the step movement amount. In this example, the step movement amount and the excitation pattern correction value are both -2.

[0094] The excitation pattern correction value ΔRp is calculated by the following equation 7. ΔRp=-(representative value of ΔSu-representative value of ΔSd) / 2 [Formula 7] The uncorrected step difference ΔSu(n) during upward rotation is calculated from ΔDu(n) according to Equation 1. The uncorrected step difference ΔSd(n) during downward rotation is calculated from ΔDd(n) according to Equation 5.

[0095] The representative value of the uncorrected step difference ΔSu during upward rotation is the representative value of the samples ΔSu(n) during upward rotation. The type of representative value is, for example, a minimum value. Other examples include a maximum value, an average value, a median value, or a mode. The representative value of the uncorrected step difference ΔSd during downward rotation is the representative value of the samples ΔSd(n) during downward rotation. The type of representative value is, for example, a maximum value. Other examples include a minimum value, an average value, a median value, or a mode. In this example, the representative value of ΔSu is 5, the representative value of ΔSd is 1, and the excitation pattern correction value ΔRp is -2.

[0096] FIG. 15 is a diagram showing an example of parameters during upward rotation without correction. The parameters related to samples from step 100 to step 153 during upward rotation are shown. This example corresponds to FIG. 14. Step n is specified in the control circuit. The excitation pattern Rp(n) without correction is determined by the corresponding relationship with step n. The ideal duty ratio D(n) is determined by the excitation pattern Rp(n) without correction. In other words, the ideal duty ratio D(n) is logically determined from step n. The duty ratio Du(n) without correction during upward rotation is output from the magnetic sensor 119. Note that this duty ratio Du(n) is a value based on actual operation and measurement, and therefore includes some variation.

[0097] Although omitted in FIG. 15, the no-correction excitation pattern Rp(137) in step 137 is k+10. Similarly, the no-correction excitation pattern Rp(138) is k+9, the no-correction excitation pattern Rp(139) is k+8, the no-correction excitation pattern Rp(140) is k+7, and the no-correction excitation pattern Rp(141) is k+6. These values ​​are shown in the upper left part of FIG. 14. Values ​​k+10 to k+6 should be shown below k+44 to k+35, but are shown at the top for convenience due to the size of the graph.

[0098] The uncorrected duty ratio difference ΔDu(n) during upward rotation is determined as the difference obtained by subtracting the uncorrected duty ratio Du(n) during upward rotation from the ideal duty ratio D(n). ΔDu(n) is approximately constant, but may have some variation. The uncorrected step difference ΔSu(n) during upward rotation is calculated from ΔDu(n) according to Equation 1. ΔSu(n) is approximately constant, but may have some variation. The uncorrected actual step Su(n) during upward rotation is specified by step n - uncorrected step difference ΔSu(n). Su(n) may include some variation. The uncorrected actual step Su(n) is shown in FIG. 15 for convenience of explanation, but does not need to be calculated.

[0099] FIG. 16 is a diagram showing an example of parameters during downward rotation without correction. The parameters for the samples from step 148 to step 99 in the downward rotation are shown. This example corresponds to FIG. 14. Step n, the excitation pattern without correction Rp(n), and the ideal duty ratio D(n) are the same as in FIG. 15.

[0100] The uncorrected duty ratio Dd(n) during downward rotation is output from the magnetic sensor 119. Note that the duty ratio Dd(n) includes some variation, similar to Du(n). The uncorrected duty ratio difference ΔDd(n) during downward rotation is determined as the difference obtained by subtracting the ideal duty ratio D(n) from the uncorrected duty ratio Dd(n) during downward rotation. ΔDd(n) may include some variation, similar to ΔDu(n). The uncorrected step difference ΔSd(n) during downward rotation is calculated from ΔDd(n) according to Equation 5. ΔSd(n) may include some variation, similar to ΔSu(n). The uncorrected actual step Sd(n) during downward rotation is specified as step n + uncorrected step difference ΔSd(n). Sd(n) may include some variation, similar to Su(n). The uncorrected actual step Sd(n) is shown in FIG. 16 for convenience of explanation, like Su(n), but does not have to be calculated.

[0101] The sample data includes the step n and the duty ratio Du(n) without correction during the upward rotation shown in Fig. 15 and the step n and the duty ratio Dd(n) without correction during the downward rotation shown in Fig. 16. The other parameters shown in Fig. 15 and Fig. 16 can be calculated during the process of collecting the sample data or the process of calculating the excitation pattern correction value. The calculated parameters may be included in the sample data for the convenience of processing.

[0102] FIG. 17 is a graph for explaining the results of the excitation pattern correction. As in Fig. 13, the behavior is shown when the motor rotates upward and downward after correction has been performed. This behavior is shown when the adjusted motor-operated valve 1 is used. As described in relation to Fig. 13, the drive current is applied by the excitation pattern Rp'(n) with correction, indicated by the white circle, and the motor unit 3 is driven.

[0103] The center lines of the duty ratio Du'(n) with correction during upward rotation and the duty ratio Dd'(n) with correction during downward rotation overlap the line of the ideal duty ratio D(n). Compared to the case where no correction is performed, for example, in step 106, the excitation pattern without correction Rp(106)=k+41 is changed to the excitation pattern with correction Rp'(106)=k+39, where k is an integer constant. Accordingly, the duty ratio without correction Du(106)=i+j is shifted to the duty ratio with correction Du'(106)=i+3j, and the duty ratio without correction Dd(106)=i+7j is shifted to the duty ratio with correction Dd'(106)=i+9j. As a result, the uncorrected duty ratio difference ΔDu(106)=5j during upward rotation changes to a corrected duty ratio difference ΔDu'(106)=3j during upward rotation, and the uncorrected duty ratio difference ΔDd(106)=j during downward rotation changes to a corrected duty ratio difference ΔDd'(106)=3j during downward rotation.

[0104] In this way, when no correction is made, the duty ratio difference ΔDu is large during upward rotation and the angle error of the rotor 60 is large. However, when the correction of this embodiment is made, the duty ratio difference ΔDu' becomes small during upward rotation and the angle error of the rotor 60 becomes small.

[0105] FIG. 18 is a diagram showing an example of parameters during upward rotation with correction. The parameters for the samples from step 100 to step 151 in the upward rotation when the correction is performed are shown. This example corresponds to FIG. 17. Step n and the excitation pattern without correction Rp(n) are the same as those in FIG. 15. The excitation pattern correction value ΔRp is a constant value. The excitation pattern with correction Rp′(n) is calculated according to Equation 2. The duty ratio with correction Du′(n) during upward rotation is a value output from the magnetic sensor 119. The duty ratio difference with correction ΔDu′(n) during upward rotation is specified as the difference obtained by subtracting the duty ratio with correction Du′(n) during upward rotation from the ideal duty ratio D(n) as shown in Equation 3. The step difference with correction ΔSu′(n) during upward rotation is calculated from ΔDu′(n) according to Equation 4.

[0106] Although omitted in FIG. 18, the excitation pattern Rp' (137) with correction in step 137 is k+8. Similarly, the excitation pattern Rp' (138) with correction is k+7, and the excitation pattern Rp (139) without correction is k+6. These values ​​are shown in the upper left part of FIG. 17. As in the case of FIG. 14, k+10 to k+6 are values ​​that should be shown below k+44 to k+35, but are shown at the top for convenience due to the size of the graph.

[0107] FIG. 19 is a diagram showing an example of parameters during downward rotation with correction. The parameters for the samples from step 148 to step 97 during downward rotation when correction is applied are shown. This example corresponds to FIG. 17. Step n and excitation pattern without correction Rp(n) are the same as those in FIG. 16. As described above, the excitation pattern correction value ΔRp is a constant value, and the excitation pattern with correction Rp′(n) is obtained according to Equation 2. The duty ratio with correction Dd′(n) during downward rotation is a value output from the magnetic sensor 119. The duty ratio difference with correction ΔDd′(n) during downward rotation is specified as the difference obtained by subtracting the ideal duty ratio D(n) from the duty ratio with correction Dd′(n) during downward rotation. The step difference with correction ΔSd′(n) during downward rotation is specified according to Equation 6.

[0108] FIG. 20 is a functional block diagram of the adjusting device 300 and the motor-operated valve control device 200. In this embodiment, the excitation pattern correction value is obtained in the adjustment device 300 connected to the motor-operated valve control device 200 at the manufacturing stage, and is set in the motor-operated valve control device 200. Since the excitation pattern correction value suitable for each motor-operated valve control device 200 is determined, adjustment suitable for conditions such as drive torque and load torque, which differ for each individual motor-operated valve 1, can be performed. As described above, the reason why the magnitude of the drive torque differs for each individual is that the magnitude of the magnetic force generated by the coil 73 of the stator 64 varies. In addition, the reason why the magnitude of the load torque differs for each individual is that the magnitude of the friction force and rotation force generated in the threaded portion varies. This is due to factors such as the variation in the shape of the threaded portion and the variation in the magnitude of the elastic force of the spring 46. However, if adjustment suitable for each individual is performed in this way, it leads to stabilizing the quality of mass-produced products. Since it is possible to deal with this without setting a high quality level for the parts of the motor-operated valve 1, it also contributes to reducing the cost of parts.

[0109] Each component of the adjustment device 300 is realized by hardware including computing units such as a CPU (Central Processing Unit) and various coprocessors, storage devices such as memory and storage, and wired or wireless communication lines connecting them, and software stored in the storage devices and supplying processing instructions to the computing units. The computer programs may be configured by device drivers, operating systems, various application programs located at higher layers, and libraries that provide common functions to these programs. Each block shown in the figure shows a functional block, not a hardware-based configuration.

[0110] The adjusting device 300 includes a data processing unit 302, a communication unit 304, and a data storage unit 306. The communication unit 304 is responsible for communication processing via a communication path connected to the motor-operated valve control device 200. The data storage unit 306 stores various data. The data processing unit 302 executes various processes based on the data acquired by the communication unit 304 and the data stored in the data storage unit 306. The data processing unit 302 also functions as an interface between the communication unit 304 and the data storage unit 306.

[0111] The communication unit 304 includes a transmitter 312 for transmitting data and commands and a receiver 310 for receiving data.

[0112] The data processing unit 302 has an instruction unit 318, a sample acquisition unit 320, a correction value calculation unit 322, and a correction value setting unit 324. The instruction unit 318 issues various instructions such as an origin search to the motor-operated valve control device 200. The sample acquisition unit 320 acquires sample data from the motor-operated valve control device 200. The correction value calculation unit 322 calculates an excitation pattern correction value ΔRp based on the sample data. The correction value setting unit 324 sets the excitation pattern correction value ΔRp in the motor-operated valve control device 200.

[0113] The data storage unit 306 includes a sample data storage unit 330 that stores sample data.

[0114] Each component of the motor-operated valve control device 200 is realized by hardware (control circuits) including a control circuit (microcomputer) on a circuit board 118, storage devices such as memory and storage, and wired or wireless communication lines connecting them, and software stored in the storage devices and supplying processing instructions to the arithmetic unit. The computer program may be composed of device drivers and application programs, as well as libraries that provide common functions to these programs. Each block described below represents a functional block rather than a hardware-based configuration.

[0115] The motor-operated valve control device 200 includes a data processing unit 202 , a communication unit 204 , a data storage unit 206 , and a rotor interface unit 208 . The communication unit 204 functions as an interface with an external device or an adjustment device via the connection terminal 81. The rotor interface unit 208 functions as an interface with the magnetic sensor 119 and the coil unit 75. The data processing unit 202 executes various processes based on the data stored in the data storage unit 206 and various data acquired from the communication unit 204 and the rotor interface unit 208. The data processing unit 202 also functions as an interface with the communication unit 204, the rotor interface unit 208, and the data storage unit 206.

[0116] The communication unit 204 includes a receiving unit 210 for receiving data and commands from an external device or coordinating device, and a transmitting unit 212 for transmitting data to the external device or coordinating device.

[0117] The rotor interface unit 208 includes a rotation instruction unit 214 and a rotation detection unit 216. The rotation instruction unit 214 outputs drive currents to the U-phase coil 73a, the V-phase coil 73b, and the W-phase coil 73c in accordance with the excitation pattern. The rotation detection unit 216 reads the duty ratio from the pulse of the current received from the magnetic sensor 119.

[0118] The data processing unit 202 includes a rotation control unit 218. The rotation control unit 218 controls the rotation instruction unit 214 based on origin information (reference information), excitation pattern correction values, and the like.

[0119] The data storage unit 206 includes a reference information storage unit 220 and an excitation pattern correction value storage unit 222. The reference information storage unit 220 stores origin information (reference information). The excitation pattern correction value storage unit 222 stores the excitation pattern correction value ΔRp. The reference information storage unit 220 and the excitation pattern correction value storage unit 222 are storage areas configured in a non-volatile memory.

[0120] FIG. 21 is a sequence diagram showing the adjustment process. The adjustment process is performed, for example, at the final stage of manufacturing. Therefore, it is assumed that the assembly of the motor-operated valve control device 200 has been completed.

[0121] The instruction unit 318 of the adjustment device 300 instructs the motor-operated valve control device 200 to search for the origin (S10). At this time, an origin search command is transmitted from the transmission unit 312 of the adjustment device 300. In accordance with this command, the motor-operated valve control device 200 performs an origin search operation to align the valve element 34 with the position of the origin, and returns the duty ratio D(0) and excitation pattern Rp(0) of step 0 to the adjustment device 300 (S12). Thereafter, the adjustment device 300 performs processes such as specifying the excitation pattern Rp(n) in each step n and specifying the ideal duty ratio D(n) based on the duty ratio D(0) and excitation pattern Rp(0) of step 0.

[0122] The instruction unit 318 of the adjustment device 300 acquires sample data within the range of step n corresponding to the valve open state. In this example, the instruction unit 318 sequentially instructs switching of step n to obtain the uncorrected duty ratios Du(n), Dd(n) at that step n.

[0123] For example, in sampling of the upward rotation, the transmitting unit 312 of the adjustment device 300 transmits a switching command to step 100, a switching command to step 101,..., a switching command to step 153 to the motor-operated valve control device 200 (S14, S18, S22). As a result, the receiving unit 310 of the adjustment device 300 receives the uncorrected duty ratio Du(100) of step 100, the uncorrected duty ratio Du(101) of step 101,..., the uncorrected duty ratio Du(153) of step 153 from the motor-operated valve control device 200 (S16, S20, S24). The instruction unit 318 stores the uncorrected duty ratio Du(n) in the sample data storage unit 330 in association with the step n.

[0124] Similarly, in sampling of downward rotation, the transmitting unit 312 of the adjusting device 300 transmits a switching command to step 152,..., a switching command to step 99 to the motor-operated valve control device 200 (S26, S30). The receiving unit 310 of the adjusting device 300 receives the uncorrected duty ratio Dd(152) of step 152,..., the uncorrected duty ratio Dd(99) of step 99 from the motor-operated valve control device 200 (S28, S32). The instruction unit 318 stores the step n and the uncorrected duty ratio Dd(n) in the sample data storage unit 330 in association with each other.

[0125] The correction value calculation unit 322 executes an excitation pattern correction value calculation process based on the sample data (S34). The excitation pattern correction value calculation process will be described later with reference to FIG. 23. After the excitation pattern correction value calculation process is completed, the correction value setting unit 324 sets the excitation pattern correction value ΔRp in the motor-operated valve control device 200. Specifically, the transmission unit 312 transmits a correction value write command to which the excitation pattern correction value ΔRp has been added to the motor-operated valve control device 200 (S36). The motor-operated valve control device 200 stores the excitation pattern correction value ΔRp in accordance with this command.

[0126] FIG. 22 is a flowchart showing the process of the motor-operated valve control device 200. The processing of the motor-operated valve control device 200 related to the adjustment process shown in Fig. 21 will be described in detail. When the receiving unit 210 receives an origin search command (Y in S50), the rotation control unit 218 rotates the motor unit 3 downward until the stopper 90 abuts on the protrusion of the guide member 36, thereby identifying step 0 (origin) (S52). In this state, the rotation detection unit 216 reads the duty ratio D(0) from the pulse received from the magnetic sensor 119 (S54). The transmitting unit 212 transmits the duty ratio D(0) of step 0 and the excitation pattern Rp(0) to the adjustment device 300 (S56).

[0127] When the receiving unit 210 receives a switching command to step n (Y of S58), the rotation control unit 218 advances the steps one by one up to step n. Here, it is assumed that the switching command is received for each step. The rotation control unit 218 identifies the excitation pattern Rp(n) corresponding to the step n for which switching is instructed (S60). The rotation instruction unit 214 changes the value of the drive current according to the excitation pattern (S62). After changing the value of the drive current, the rotation detection unit 216 reads the duty ratio D(n) from the pulse received from the magnetic sensor 119 (S64). The transmission unit 212 transmits the read duty ratio D(n) of step n to the adjustment device 300 (S66).

[0128] When the receiving unit 210 receives a correction value write command to which the excitation pattern correction value ΔRp has been added (Y in S68), the rotation control unit 218 stores the excitation pattern correction value ΔRp added to the write command in the excitation pattern correction value memory unit 222 (S70).

[0129] FIG. 23 is a flowchart showing the excitation pattern correction value calculation process. The correction value calculation unit 322 of the adjustment device 300 specifies the non-correction excitation pattern Rp(n) corresponding to step n of each sample based on the excitation pattern Rp(0) (S80). In this example, it is assumed that the non-correction excitation pattern Rp(n) of each sample is stored in the sample data.

[0130] The correction value calculation unit 322 identifies an ideal duty ratio D(n) corresponding to the excitation pattern Rp(n) without correction for each sample (S82). In this example, it is assumed that the ideal duty ratio D(n) for each sample is stored in the sample data.

[0131] The above-mentioned processes of S80 and S82 are performed commonly for each sample during upward rotation and each sample during downward rotation. The following processes of S84 to S88 are performed for each sample during upward rotation.

[0132] The correction value calculation unit 322 subtracts the uncorrected duty ratio Du(n) during upward rotation from the ideal duty ratio D(n) for each sample during upward rotation to calculate the uncorrected duty ratio difference ΔDu(n) during upward rotation (S84). In this example, the uncorrected duty ratio difference ΔDu(n) during upward rotation for each sample during upward rotation is stored in the sample data. The correction value calculation unit 322 specifies a representative value of the uncorrected duty ratio difference ΔDu(n) in the samples during upward rotation (S86). In this example, the correction value calculation unit 322 specifies a minimum value of the uncorrected duty ratio difference ΔDu(n) during upward rotation. The correction value calculation unit 322 may specify a maximum value, average value, median value, or mode value of the uncorrected duty ratio difference ΔDu(n) during upward rotation. The correction value calculation unit 322 calculates a representative value of the uncorrected step difference ΔSu(n) during upward rotation for each sample during upward rotation (S88). The representative value of the uncorrected step difference ΔSu(n) during upward rotation is calculated according to Equation 1.

[0133] Next, the correction value calculation unit 322 performs the processes of S90 to S94 on the samples in the downward rotation process. The correction value calculation unit 322 subtracts the ideal duty ratio D(n) from the uncorrected duty ratio Dd(n) during downward rotation for each sample during downward rotation to calculate the uncorrected duty ratio difference ΔDd(n) during downward rotation (S90). In this example, the uncorrected duty ratio difference ΔDd(n) during downward rotation for each sample during downward rotation is stored in the sample data. The correction value calculation unit 322 specifies a representative value of the uncorrected duty ratio difference ΔDd(n) in the samples during downward rotation (S92). In this example, the correction value calculation unit 322 specifies the maximum value of the uncorrected duty ratio difference ΔDd(n) during downward rotation. The correction value calculation unit 322 may specify the minimum value, average value, median value, mode value, etc. of the uncorrected duty ratio difference ΔDd(n) during downward rotation. The correction value calculation unit 322 calculates a representative value of the uncorrected step difference ΔSd(n) during downward rotation for each sample during downward rotation (S94). The representative value of the uncorrected step difference ΔSd(n) during downward rotation is calculated according to Equation 5.

[0134] The correction value calculation unit 322 calculates the excitation pattern correction value ΔRp according to Equation 7 (S96). In order to convert the excitation pattern correction value ΔRp into an integer, the correction value calculation unit 322 performs processing such as rounding off, rounding down, or rounding up the decimal points of the calculation result of Equation 7.

[0135] FIG. 24 is a flowchart showing the process of the motor-operated valve control device 200. Here, a process will be described at the stage of using the motor-operated valve control device 200 in which the excitation pattern correction value ΔRp has been set.

[0136] When the receiving unit 210 receives a movement command from an external device (Y in S100), the rotation control unit 218 determines the rotation direction and the rotation speed according to the movement command (S102). The rotation control unit 218 determines whether to proceed to the next step immediately according to the rotation direction and the rotation speed (S104). If the step is to be proceeded (Y in S104), the rotation control unit 218 specifies the next step n according to the rotation direction (S106). The rotation control unit 218 specifies the non-corrected excitation pattern Rp(n) of the next step n according to the correspondence between the step n and the non-corrected excitation pattern (S108). The rotation control unit 218 corrects the excitation pattern (S110). Specifically, the rotation control unit 218 adds the excitation pattern correction value ΔRp read from the excitation pattern correction value storage unit 222 to the non-corrected excitation pattern Rp(n) according to Equation 2 to calculate the corrected excitation pattern Rp′(n). At that time, if the power supply to the rotation instruction unit 214 is OFF, the rotation control unit 218 turns ON the power supply to the rotation instruction unit 214. In addition, the rotation control unit 218 instructs the rotation instruction unit 214 to use the excitation pattern with correction Rp'(n), and the rotation instruction unit 214 changes the drive current to a value according to the excitation pattern with correction Rp'(n) (S112). That is, the drive current according to the excitation pattern with correction Rp'(n) is applied to the motor unit 3.

[0137] When the receiving unit 210 receives a stop command (Y in S114), the rotation control unit 218 turns off the power supply to the rotation instruction unit 214 (S116). As a result, as shown in FIG. 9(A), the valve stops and the posture of the rotor 60 is maintained.

[0138] Note that the present invention is not limited to the above-described embodiments and modifications, and components can be modified and embodied without departing from the gist. Various inventions may be formed by appropriately combining a plurality of components disclosed in the above-described embodiments and modifications. Also, some components may be deleted from all the components shown in the above-described embodiments and modifications.

[0139] [Modification Example 1] In the present embodiment, correction is performed to shift the entire duty ratios Du(n) and Dd(n) without correction so that the center line of the duty ratio Du′(n) with correction during upward rotation and the duty ratio Dd′(n) with correction during downward rotation overlap the line of the ideal duty ratio D(n). In terms of the graph in FIG. 14, using half of ΔSu(113) - ΔSd(107) as the amount of movement, the center line is slid to the left. As a modification, instead of overlapping the center line with the line of the ideal duty ratio D(n), it may be only brought closer. In terms of the graph in FIG. 14, a width smaller than half of ΔSu(113) - ΔSd(107) may be used as the amount of movement. In that case, ΔRp is calculated by Equation 8. ΔRp = -(representative value of ΔSu - representative value of ΔSd) / V [Equation 8] The constant V is a value greater than 2. For example, a value of 2 < V ≤ 4 is used.

[0140] [Modification Example 2] In the embodiment, an example of obtaining a common excitation pattern correction value ΔRp during upward rotation and downward rotation is shown, but different excitation pattern correction values may be obtained during upward rotation and downward rotation.

[0141] The excitation pattern correction value during increasing rotation is represented as ΔRpu. For example, a correction is performed to shift the uncorrected duty ratio Du(n) so that the corrected duty ratio Du'(n) during increasing rotation overlaps with the line of the ideal duty ratio D(n). In this case, ΔRpu is calculated using Equation 9. ΔRpu=-ΔSu representative value [Equation 9] The uncorrected step difference ΔSu(n) during upward rotation is calculated from ΔDu(n) according to Equation 1. In this example, the representative value of ΔSu is 5, and the excitation pattern correction value ΔRp during upward rotation is −5. As a result, five excitation patterns are ahead during upward rotation.

[0142] The excitation pattern correction value during downward rotation is represented as ΔRpd. For example, a correction is performed to shift the uncorrected duty ratio Dd(n) so that the corrected duty ratio Dd'(n) during downward rotation overlaps with the line of the ideal duty ratio D(n). In that case, ΔRpd is calculated using Equation 10. ΔRpd=representative value of ΔSd [Equation 10] The uncorrected step difference ΔSd(n) during downward rotation is calculated from ΔDd(n) according to Equation 5. In this example, the representative value of ΔSd is 1, and the excitation pattern correction value ΔRpd during downward rotation is 1. As a result, one excitation pattern is ahead during downward rotation.

[0143] The operation in the second modification will be supplemented based on the embodiment. 21, when the excitation pattern correction value calculation process is completed, the correction value setting unit 324 sets the excitation pattern correction value ΔRpu during ascending rotation and the excitation pattern correction value ΔRpd during descending rotation in the motor-operated valve control device 200. Specifically, the transmission unit 312 transmits a correction value write command to which the excitation pattern correction value ΔRpu during ascending rotation and the excitation pattern correction value ΔRpd during descending rotation have been added to the motor-operated valve control device 200 (S36). In accordance with this command, the motor-operated valve control device 200 stores the excitation pattern correction value ΔRpu during ascending rotation and the excitation pattern correction value ΔRpd during descending rotation.

[0144] In relation to FIG. 22, when the receiving unit 210 receives a correction value write command to which the excitation pattern correction value ΔRpu during upward rotation and the excitation pattern correction value ΔRpd during downward rotation are added (Y in S68), the rotation control unit 218 stores the excitation pattern correction value ΔRpu during upward rotation and the excitation pattern correction value ΔRpd during downward rotation added to the write command in the excitation pattern correction value memory unit 222 (S70).

[0145] In relation to FIG. 24, in the correction of the excitation pattern shown in S110, in the case of upward rotation, the rotation control unit 218 adds the excitation pattern correction value ΔRpu during upward rotation read from the excitation pattern correction value storage unit 222 to the excitation pattern without correction Rp(n) according to Equation 11 to calculate the excitation pattern with correction Rp′(n). Rp'(n) = Rp(n) + ΔRpu [Equation 11]

[0146] In the case of downward rotation, the rotation control unit 218 adds the excitation pattern correction value ΔRpd during downward rotation read from the excitation pattern correction value memory unit 222 to the excitation pattern without correction Rp(n) according to equation 12 to calculate the excitation pattern with correction Rp'(n). Rp'(n) = Rp(n) + ΔRpd [Equation 12]

[0147] [Variation 3] In the above-described embodiment, modified example 1, and modified example 2, the process of calculating the excitation pattern correction value is performed by the adjustment device 300 connected to the motor-operated valve control device 200 of the motor-operated valve 1, but the process of calculating these excitation pattern correction values ​​may be performed on the motor-operated valve 1 side. In other words, it is also possible to provide the function of the adjustment device 300 to the motor-operated valve control device 200 on the circuit board 118, and to calculate the excitation pattern correction value by the motor-operated valve 1 alone.

[0148] FIG. 25 is a functional block diagram of the motor-operated valve control device 200 in the second modification. The data processing unit 202 of the motor-operated valve control device 200 includes a sample generating unit 219 and a correction value calculating unit 322 . The sample generation unit 219 generates sample data equivalent to the sample data acquired by the adjustment device 300 shown in the embodiment, modification 1, and modification 2. The correction value calculation unit 322 calculates the excitation pattern correction value ΔRp based on the sample data, similar to the case of the adjustment device 300 shown in the embodiment and modification 1. Alternatively, the correction value calculation unit 322 calculates the excitation pattern correction value ΔRpu during upward rotation and the excitation pattern correction value ΔRpd during downward rotation based on the sample data, similar to the case of the adjustment device 300 shown in modification 2.

[0149] The data storage unit 206 of the motor-operated valve control device 200 has a sample data storage unit 330 equivalent to the sample data storage unit 330 of the adjustment device 300 shown in the embodiment, the first modification, and the second modification.

[0150] FIG. 26 is a flowchart showing a correction value setting process of the motor-operated valve control device 200 in the third modification. This process is started when the receiving unit 210 of the motor-operated valve control device 200 receives a setting command for the excitation pattern correction value from the adjustment device 300 in the final manufacturing stage. Alternatively, this process is started when the receiving unit 210 of the motor-operated valve control device 200 receives a setting command for the excitation pattern correction value from an external device with the motor-operated valve 1 mounted in, for example, an automotive air conditioner. The process may also be started at other times. It is assumed that the origin search operation has been completed.

[0151] The sample generating unit 219 sequentially identifies steps in a sampling range corresponding to a valve open state (S120). Specifically, in the sampling of an upward rotation, the sample generating unit 219 identifies, for example, step 100, step 101, ..., step 153 in that order. Also, in the sampling of a downward rotation, the sample generating unit 219 identifies, for example, step 152, step 151, ..., step 99 in that order.

[0152] The rotation control unit 218 identifies an excitation pattern Rp(n) corresponding to the step n identified by the sample generation unit 219 (S122). The rotation instruction unit 214 changes the value of the drive current in accordance with the excitation pattern (S124). After changing the value of the drive current, the rotation detection unit 216 reads the duty ratio D(n) from the pulse received from the magnetic sensor 119 (S126). Then, the sample generation unit 219 adds the step n and the duty ratio D(n) to the sample data (S128).

[0153] If the sample generation unit 219 determines that there are remaining steps in the sampling range (steps in the upward rotation direction and steps in the downward rotation direction) (N in S130), the process returns to S120 and repeats the above-mentioned processing. If the sample generation unit 219 determines that all steps in the sampling range have been processed (Y in S130), the process proceeds to S132.

[0154] In this manner, sample data is generated in the motor-operated valve control device 200. That is, by sampling the upward rotation, each step n in the upward rotation direction and the uncorrected duty ratio Du(n) at those steps n are associated with each other and stored in the sample data storage unit 330. Also, by sampling the downward rotation, each step n in the downward rotation direction and the uncorrected duty ratio Dd(n) at those steps n are associated with each other and stored in the sample data storage unit 330.

[0155] When the generation of the sample data is completed, the correction value calculation unit 322 of the motor-operated valve control device 200 executes an excitation pattern correction value calculation process (S132). The excitation pattern correction value calculation process in the third modification is similar to the process performed by the correction value calculation unit 322 of the adjustment device 300 in the embodiment, the first modification, and the second modification. When the same excitation pattern correction value calculation process as in the embodiment and the first modification is performed, the correction value calculation unit 322 of the motor-operated valve control device 200 stores the excitation pattern correction value ΔRp in the excitation pattern correction value storage unit 222. When the same excitation pattern correction value calculation process as in the second modification is performed, the correction value calculation unit 322 of the motor-operated valve control device 200 stores the excitation pattern correction value ΔRpu during upward rotation and the excitation pattern correction value ΔRpd during downward rotation in the excitation pattern correction value storage unit 222.

[0156] The other processes of the motor-operated valve control device 200 are similar to those in the embodiment, the first modified example, and the second modified example.

[0157] In this embodiment, an example has been described in which the origin at the lowest point is set as the reference position. As a modified example, the highest point may be set as the reference position. The reference position may be any position that serves as a reference for driving the actuating rod 32 by the rotor 60. The reference position can be set arbitrarily as long as it is a position where the rotation of the rotor 60 can be restricted by the stopper 90.

[0158] In the above embodiment, a configuration in which the magnetic sensor 119 faces the sensor magnet 106 in the axial direction is exemplified (see FIG. 1). In a modified example, the magnetic sensor may be disposed to the side (radially outward) of the sensor magnet. That is, the two may face each other in the radial direction. The outer peripheral surface of the sensor magnet may be magnetized. The number of poles may be appropriately set, for example, to two poles on the valve body.

[0159] In the above embodiment, a configuration in which the rotor magnet 104 and the sensor magnet 106 are spaced apart in the axial direction has been exemplified. In a modified example, the rotor magnet and the sensor magnet may be integrally configured. The rotor magnet portion and the sensor magnet portion may be integrally molded in the magnet portion molding process. In that case, the area (outer diameter) of the sensor magnet may be increased so that the magnetic sensor can reliably detect magnetic flux. Since the sensor magnet protrudes beyond the outer periphery of the rotor core, it becomes easier to injection mold the sensor magnet and the rotor magnet.

[0160] In each embodiment, a laminated core (laminated magnetic core) is exemplified as the core of the stator. In a modified example, a dust core or other core may be adopted. A dust core is also called a "powder core" and is obtained by powdering a soft magnetic material, coating the powder with a non-conductive resin or the like, kneading the powder with a resin binder, and compression molding and heating it.

[0161] In each embodiment, a configuration in which the drive circuit, control circuit, communication circuit, and power supply circuit are mounted on the underside of the circuit board has been illustrated, but the circuits to be mounted can be changed as appropriate. For example, the drive circuit and power supply circuit may be mounted, while the control circuit may be installed outside the motor-operated valve. In addition, each circuit may be mounted on the upper surface of the circuit board.

[0162] In each embodiment, a PM type stepping motor is used as the motor unit, but a hybrid type stepping motor may also be used. In the above embodiments, the motor unit is a three-phase motor, but it may be another type such as a two-phase, four-phase, or five-phase motor. The number of electromagnetic coils in the stator is not limited to three for the motor unit or six for the first body, and may be set appropriately according to the number of phases of the motor.

[0163] The motor-operated valve of each embodiment is preferably applied to a refrigeration cycle that uses a refrigerant such as an alternative fluorocarbon (HFC-134a) as a refrigerant, but can also be applied to a refrigeration cycle that uses a refrigerant with a high operating pressure such as carbon dioxide. In that case, an external heat exchanger such as a gas cooler is disposed in the refrigeration cycle instead of a condenser.

[0164] In each embodiment, the motor-operated valve is configured as an expansion valve, but it may be configured as an opening / closing valve or a flow control valve that does not have an expansion function.

[0165] In each embodiment, the motor-operated valve is applied to the refrigeration cycle of an automotive air conditioner, but the motor-operated valve can be applied to any air conditioner equipped with an electric expansion valve, not limited to vehicles. Also, the motor-operated valve can be configured to control the flow of a fluid other than a refrigerant.

[0166] The present embodiment is not limited to electric vehicles, but can be applied to various types of vehicles.

[0167] The sensor magnet 106 may be magnetized with four poles on both sides (one-sided valve body with two poles magnetized on both sides). The magnetic flux can be strengthened by reversing the polarity of the magnetic poles on the upper and lower sides. In this case, even if the rotor 60 is displaced in the valve closing direction and the distance between the sensor magnet 106 and the magnetic sensor 119 increases, the sensitivity of the magnetic sensor 119 can be maintained at a good level. [Explanation of symbols]

[0168] 1 motor-operated valve, 2 valve body, 3 motor unit, 5 body, 6 first body, 8 second body, 10 male thread, 12 seal housing, 14 seal ring, 16 concave fitting portion, 18 seal housing, 20 seal ring, 22 valve hole, 24 valve seat, 26 inlet port, 28 outlet port, 30 valve chamber, 32 operating rod, 34 valve body, 36 guide member, 38 male thread, 40 large diameter portion, 42 spring retainer, 44 spring retainer, 46 spring, 52 locking portion, 60 rotor, 62 rotating shaft, 64 stator, 66 can, 70 laminated core, 73 coil, 73a U-phase coil, 73b V-phase coil, 73c W-phase coil, 74 bobbin, 75 coil unit, 76 case, 77 cover, 78 stator unit, 79 Connector section, 80 seal housing section, 81 connection terminal, 82 seal ring, 90 stopper, 102 rotor core, 104 rotor magnet, 106 sensor magnet, 108 female screw, 109 screw feed mechanism, 110 reduced diameter section, 112 bottom section, 114 stopper, 116 spring, 117 terminal, 118 circuit board, 119 magnetic sensor, 120 slot, 122 salient pole, 124 slit, 140 annular groove, 144 annular groove, 200 motor-operated valve control device, 202 data processing section, 204 communication section, 206 data storage section, 220 reference information storage section, 222 excitation pattern correction value storage section, 208 rotor interface section, 210 receiving section, 212 transmitting section, 214 rotation instruction section, 216 rotation detection section, 218 rotation control section, 219 Sample generation unit, 222, excitation pattern correction value storage unit, 300, adjustment device, 302, data processing unit, 304, communication unit, 306, data storage unit, 310, receiving unit, 312, transmitting unit, 318, instruction unit, 320, sample acquisition unit, 322, correction value calculation unit, 324, correction value setting unit, 330, sample data storage unit

Claims

1. A stepping motor is connected to an electrically-operated valve having a stepping motor that rotates a rotor by a driving current applied according to an excitation pattern corresponding to a step, and a mechanism that converts the rotational motion of the rotor into axial motion of a valve body, an excitation pattern correction value storage unit that stores an excitation pattern correction value that is set for each individual motor-operated valve; a rotation control unit that corrects the excitation pattern corresponding to the step based on the excitation pattern correction value; a rotation instruction unit that applies a drive current to the stepping motor according to the corrected excitation pattern.

2. The motor-operated valve control device further includes a receiving unit that receives a correction value write command to which the excitation pattern correction value is added, 2. The motor-operated valve control device according to claim 1, wherein the rotation control unit stores the excitation pattern correction value added to the received correction value write command in the excitation pattern correction value storage unit.

3. a stepping motor that rotates a rotor by a driving current applied by an excitation pattern corresponding to a step, a mechanism that converts the rotational motion of the rotor into axial motion of a valve body, a sensor that detects the angle of the rotor, and an elastic body that applies an elastic force in the axial direction of the valve body, a sample acquisition unit that acquires, from the motor-operated valve control device, sample data including a step in an operation of rotating the rotor in a first rotation direction, which is one of two rotation directions of the rotor and in which the load torque due to the elastic force is larger, and a parameter that indicates an angle of the rotor detected by the sensor in the step; a correction value calculation unit that calculates an excitation pattern correction value for causing the excitation pattern to precede in the operation in the first rotation direction based on the sample data; a correction value setting unit that sets the calculated excitation pattern correction value in the motor-operated valve control device.

4. the sample acquisition unit further acquires, as the sample data, from the motor-operated valve control device, a step in an operation of rotating the rotor in a second rotation direction opposite to the first rotation direction, and a parameter indicating an angle of the rotor detected by the sensor in the step; 4. The adjustment device according to claim 3, wherein the correction value calculation unit calculates the excitation pattern correction value based on the sample data in accordance with a condition for bringing a magnitude of the rotational delay of the stepping motor in the operation in the first rotation direction and a magnitude of the rotational delay of the stepping motor in the operation in the second rotation direction closer to each other.

5. the sample acquisition unit further acquires, as the sample data, from the motor-operated valve control device, a step in an operation of rotating the rotor in a second rotation direction opposite to the first rotation direction, and a parameter indicating an angle of the rotor detected by the sensor in the step; 4. The adjustment device according to claim 3, wherein the correction value calculation unit calculates an excitation pattern correction value that is different from the excitation pattern correction value in the operation in the first rotation direction and that causes the excitation pattern to precede in the operation in the second rotation direction, based on the sample data.

6. A stepping motor that rotates a rotor by a driving current applied by an excitation pattern corresponding to a step, a mechanism that converts the rotational motion of the rotor into axial motion of a valve body, a sensor that detects the angle of the rotor, and an elastic body that applies an elastic force in the axial direction of the valve body are connected to an electric valve, a sample generating unit that generates sample data including a step in an operation of rotating the rotor in a first rotation direction, of the two rotation directions of the rotor, in which the load torque due to the elastic force is larger, and a parameter that indicates an angle of the rotor detected by the sensor in the step; a correction value calculation unit that calculates an excitation pattern correction value for causing the excitation pattern to precede in the operation in the first rotation direction based on the sample data; a correction value storage unit that stores the calculated excitation pattern correction value.

7. the sample generation unit further adds, to the sample data, a step in an operation of rotating the rotor in a second rotation direction opposite to the first rotation direction, and a parameter indicating an angle of the rotor detected by the sensor in the step; The motor-operated valve control device according to claim 6, characterized in that the correction value calculation unit calculates the excitation pattern correction value based on the sample data in accordance with a condition that brings a magnitude of a rotational delay of the stepping motor in the operation in the first rotation direction and a magnitude of a rotational delay of the stepping motor in the operation in the second rotation direction closer to each other.

8. the sample generation unit further adds, to the sample data, a step in an operation of rotating the rotor in a second rotation direction opposite to the first rotation direction, and a parameter indicating an angle of the rotor detected by the sensor in the step; 7. The electric valve control device according to claim 6, wherein the correction value calculation unit calculates an excitation pattern correction value that is different from the excitation pattern correction value in the operation in the first rotation direction and that causes the excitation pattern to precede in the operation in the second rotation direction, based on the sample data.

9. The motor-operated valve control device further includes a rotation control unit that corrects the excitation pattern corresponding to the step based on the excitation pattern correction value.

9. The motor-operated valve control device according to claim 6, further comprising: a rotation instruction unit that applies a drive current to the stepping motor according to the corrected excitation pattern.

10. a computer connected to an electrically-operated valve having a stepping motor that rotates a rotor by a driving current applied according to an excitation pattern corresponding to a step, and a mechanism that converts the rotational motion of the rotor into axial motion of a valve body; a function of correcting the excitation pattern corresponding to the step based on an excitation pattern correction value set for each individual motor-operated valve; and a function of applying a drive current to the stepping motor according to the corrected excitation pattern.

11. a stepping motor that rotates a rotor by a driving current applied by an excitation pattern corresponding to a step, a mechanism that converts the rotational motion of the rotor into axial motion of a valve body, a sensor that detects the angle of the rotor, and an elastic body that applies an elastic force in the axial direction of the valve body; a function of acquiring, from the motor-operated valve control device, sample data including a step in an operation of rotating the rotor in a first rotation direction, which is one of the two rotation directions of the rotor and in which the load torque due to the elastic force is larger, and a parameter indicating an angle of the rotor detected by the sensor in the step; a function of calculating an excitation pattern correction value for causing the excitation pattern to precede in the operation in the first rotation direction based on the sample data; and a function of setting the calculated excitation pattern correction value in the motor-operated valve control device.

12. a stepping motor that rotates a rotor by a driving current applied by an excitation pattern corresponding to a step, a mechanism that converts the rotational motion of the rotor into axial motion of a valve body, a sensor that detects the angle of the rotor, and an elastic body that applies an elastic force in the axial direction of the valve body; a function of generating sample data including a step in an operation of rotating the rotor in a first rotation direction, which is one of two rotation directions of the rotor and in which the load torque due to the elastic force is larger, and a parameter indicating the angle of the rotor detected by the sensor in the step; a function of calculating an excitation pattern correction value for causing the excitation pattern to precede in the operation in the first rotation direction based on the sample data; and storing the calculated excitation pattern correction value.

Citation Information

Patent Citations

  • Flow rate valve control device and manufacture of flow rate valve

    JP1995332168A

  • Step motor driving throttle control device

    JP1999062631A

  • Motor-operated valve

    JP2018135908A

  • Calibration method for stepping motor

    JP2019122074A

  • Electric valve

    JP2020204344A