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

The electric valve control device and program address the issue of step-out in stepper motors by measuring rotor angles and detecting synchronization loss, ensuring reliable operation and notification of step-out events.

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

Patent Information

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

AI Technical Summary

Technical Problem

Existing electric valves with stepper motors face issues with step-out phenomena due to sudden speed changes or overload, which conventional methods fail to accurately detect, leading to impaired rotor rotation and operational failures.

Method used

An electric valve control device and program that includes a mechanism to measure the rotor angle, a step-out detection unit, and a sensor to determine when the difference between the instructed rotor angle and actual rotor angle exceeds a reference range, indicating a step-out event.

Benefits of technology

Effectively detects step-out in stepper motors, ensuring reliable operation of electric valves by accurately identifying synchronization loss and notifying external devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007560119000001
    Figure 0007560119000001
  • Figure 0007560119000002
    Figure 0007560119000002
  • Figure 0007560119000003
    Figure 0007560119000003
Patent Text Reader

Abstract

To detect step-out in a stepping motor used in a motor valve.SOLUTION: A motor valve controller comprises: a stepping motor that rotates a rotor; a rotation instruction unit that is connected to a motor valve having a mechanism for changing the rotary motion of the rotor into the axial motion of a valve body and a sensor for measuring an angle of the rotor, and instructs the stepping motor to indicate the angle; a rotation detection unit that acquires the angle of the rotor from the sensor; and a step-out detection unit that determines a step-out when the difference between the rotor angle and the angle instructed to the stepping motor deviates from a reference range.SELECTED DRAWING: Figure 13
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

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

[0002] Automotive air conditioners are generally configured with a compressor, a condenser, an expansion device, an evaporator, and other components arranged 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, motor-operated valves equipped with a motor as a drive unit are becoming more 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 used to rotate rotors can sometimes lose synchronization. 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. When loss of synchronization occurs, the rotor cannot be rotated normally. Therefore, to ensure operation as an electric valve, it is necessary to correctly detect loss of synchronization in the stepping motor and notify an external device.

[0007] As a conventional technique, a method is known in which a stepping motor is monitored to determine that a step-out has occurred when a change in induced electromotive force caused by step-out is detected. However, this method has a problem in that a step-out is overlooked when no clear change in induced electromotive force occurs. In addition, in the case of Patent Document 1, although it is possible to detect the rotation angle with a magnetic sensor, it is not possible to detect whether or not the rotation angle is caused by step-out.

[0008] A primary object of the present invention is to provide a technique for detecting loss of synchronism in a stepping motor used in 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, a mechanism that changes the rotational motion of the rotor into axial motion of a valve body, and a sensor that measures the angle of the rotor, and comprises a rotation instruction unit that instructs the stepping motor to an angle, a rotation detection unit that acquires the rotor angle from the sensor, and a step-out detection unit that determines that step-out has occurred when the difference between the rotor angle and the angle instructed to the stepping motor falls outside a reference range.

[0010] 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, a mechanism that converts the rotational motion of the rotor into axial motion of a valve body, and a sensor that measures the angle of the rotor to perform the following functions: instructing an angle to the stepping motor, obtaining the rotor angle from the sensor, and determining that a loss of synchronism has occurred when the difference between the rotor angle and the angle instructed to the stepping motor falls outside a reference range. Effect of the Invention

[0011] According to the present invention, it is possible to detect step-out in a stepping motor used in a motor-operated valve. [Brief description of the drawings]

[0012] [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] 1 is a graph showing the relationship between steps and an ideal rotor angle. [Figure 10] 4 is a graph showing a change in driving torque. [Figure 11] FIG. 13 is a diagram showing a reference value of a step difference and a reference value of a mechanical angle difference in each scene. [Figure 12] FIG. 13 is a diagram showing a truth table of a logical operation Z. [Figure 13] 11 is a graph showing an example of determining step-out and step-in. [Figure 14] FIG. 2 is a functional block diagram of the motor-operated valve control device. [Figure 15] 13 is a flowchart showing a main processing procedure. [Figure 16] 13 is a flowchart showing a main processing procedure. [Figure 17] 13 is a flowchart showing a process of determining out-of-step for each scene. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] 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.

[0014] 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.

[0015] 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.

[0016] 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.

[0017] 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.

[0018] 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.

[0019] 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.

[0020] 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.

[0021] 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.

[0022] 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.

[0023] 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).

[0024] 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."

[0025] 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.

[0026] 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.

[0027] 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.

[0028] 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.

[0029] 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, 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.

[0030] 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.

[0031] 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.

[0032] 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.

[0033] 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).

[0034] 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.

[0035] 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.

[0036] 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.

[0037] 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.

[0038] 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.

[0039] 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".

[0040] 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.

[0041] 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.

[0042] 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.

[0043] 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.

[0044] 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.

[0045] Step 0 corresponds to the origin, and step n represents the nth step counted from the origin. In the following explanation, step n may be referred to as valve position Pos(n). SM1 in the figure 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.

[0046] 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.

[0047] 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."

[0048] 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).

[0049] 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 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. For example, a pattern ID is determined as the remainder when n is divided by N. Also, consecutive pattern IDs correspond to continuously changing excitation patterns.

[0050] 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.

[0051] 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.

[0052] 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).

[0053] 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 rotor 60 rotates upward. 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.

[0054] 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 occurs during sliding due to frictional resistance in the screw feed mechanism 109. In particular, in the valve closed state, for example, the pressure at the contact surface between the female thread 108 and the male thread 38 increases, causing a large frictional resistance, and therefore the load torque is larger than in the valve open state. Therefore, the motor-operated valve 1 has a mechanical feature that the drive torque required to rotate the rotor 60 is larger in the valve closed state than in the valve open state. In other words, in the valve closed state, sliding is more difficult than in the valve open state, so it can be said that the command angle α (ideal rotor angle) and the sensed angle θ (actual rotor angle) are more likely to deviate from each other.

[0055] In this embodiment, the control circuit detects out-of-step. Specifically, it is determined that out-of-step has occurred when the difference between the command angle α (ideal rotor angle) and the sensed angle θ (actual rotor angle) (hereinafter referred to as the "mechanical angle difference") exceeds a predetermined threshold. Strictly speaking, when the mechanical angle difference exceeds the threshold, it does not necessarily mean that the phenomenon of out-of-step has actually occurred, but it is determined that out-of-step has occurred in the sense that a stable synchronized state has been lost. The mechanical angle difference is sometimes called the "load angle."

[0056] In this example, out-of-step detection is performed when permission is set from an external device via LIN (Local Interconnect Network) communication. Also, out-of-step detection is performed during valve movement and when the valve is stopped during use, but out-of-step detection during calibration is not performed. The rotor angle RA_m(0) at the step 0 position (origin position) stored in non-volatile memory (for example, NVRAM (Non-Volatile RAM)) is used as the reference. This reference refers to the origin detected during manufacture. RA_m(0) is an inherent value of the motor-operated valve 1. In other words, the rotor angle RA_m(0) at the origin differs for each individual unit.

[0057] Assuming that n steps have progressed from the origin, the valve position is specified by step n. Hereinafter, step n will be referred to as the valve position, and may be expressed as Pos(n).

[0058] The command angle α (ideal rotor angle) described above is a target angle of the rotor 60 that is determined over time in response to commands from an external device. Hereinafter, the command angle α will be expressed as an ideal rotor angle: RA_c(n). For example, when the valve disc 34 is guided to the origin, the ideal rotor angle RA_c(0) is the rotor angle RA_m(0) at the origin position.

[0059] As step n (=valve position Pos(n)) is increased, the attitude of rotor 60 changes. The angle through which rotor 60 rotates is proportional to the value of n (=Pos(n)). If the ratio of mechanical angle / step is represented by a predetermined value R, the relative increased angle is (Pos(n)×R). Therefore, the cumulative angle of rotor 60 based on the origin is (Pos(n)×R)+RA_m(0). Here, if the rotor 60 is expressed as an angle (0 to 360 degrees) indicating the attitude, taking into account that the rotor 60 rotates more than once, the ideal rotor angle RA_c(n) can be obtained by Equation 1. RA_c(n)=((Pos(n)×R)+RA_m(0))mod360 [Formula 1]

[0060] FIG. 9 is a graph showing the relationship between steps and ideal rotor angles. The dashed dotted line indicates that the rotor 60 reaches the highest step SM4 when it rotates four times and the rotor angle changes cumulatively by 1440 degrees. The gradient of the dashed dotted line indicates the ratio R of the mechanical angle / step (e.g., u1 degree).

[0061] The solid line shown in the figure indicates the relationship between the step and the ideal rotor angle in the motor-operated valve 1 where the rotor angle RA_m(0) at the origin position is 180 degrees. As described above, the ideal rotor angle RA_c(n) falls within the range of 0 to 360 degrees which indicates the attitude of the rotor 60. The white circle on the solid line indicates that the ideal rotor angle RA_c(0.83×SM1) at the step (0.83×SM1) is 120 degrees, which is calculated by ((0.83×SM1×u1)+180)mod360.

[0062] The dashed line in the figure indicates the relationship between the step and the ideal rotor angle in the motor-operated valve 1 where the rotor angle RA_m(0) at the origin position is 270 degrees. The white circle on the dashed line indicates that the ideal rotor angle RA_c(1.67×SM1) at the step (1.67×SM1) is 150 degrees, which is calculated by ((1.67×SM1×u1)+270)mod360.

[0063] In this way, the relationship between the step n (= valve position Pos(n)) and the ideal rotor angle RA_c(n) is determined by geometric theory. On the other hand, the relationship between the step n (= valve position Pos(n)) and the sensed angle θ (actual rotor angle) is not determined by geometric theory alone. This is because the actual rotor angle is determined by the dynamic balance between the load torque during sliding and the drive torque applied to the rotor 60. The ideal rotor angle is the angle of the rotor 60 that is generated geometrically when the motor unit 3 is stabilized by excitation, or in other words, the angle of the rotor 60 when it is assumed that the load torque during sliding of the rotor 60 is 0. On the other hand, the actual rotor angle is the angle of the rotor 60 in a state in which the load torque actually generated during sliding and the drive torque of the motor unit 3 are balanced. In the following, the actual rotor angle that appears as the sensed angle θ is represented as RA_m(n).

[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] Furthermore, the electrical angle difference is proportional to the mechanical angle difference between the ideal rotor angle corresponding to the electrical angle specified by the excitation pattern and the actual rotor angle. This mechanical angle difference is defined as the ideal rotor angle - the actual rotor angle. Therefore, the magnitude relationship between the electrical angle difference in one state A and the electrical angle difference in another state B coincides with the magnitude relationship between the mechanical angle difference in state A and the mechanical angle difference in state B.

[0067] 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.

[0068] 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 tracking continues unless the electrical angle difference increases and the drive torque falls below the load torque.

[0069] When the rotor 60 is stopped, the step n is not changed. As a result, the actual electrical angle approaches the ideal electrical angle, and the electrical angle difference is reduced. However, as the electrical angle difference becomes smaller, the drive torque also becomes smaller, so the electrical angle difference does not approach until it becomes zero. When the drive torque is balanced with the load torque, the rotor 60 stops.

[0070] When the electrical angle difference is a negative value, the direction of the drive torque is reversed and a similar change is shown. The rotor 60 also reverses its direction and shows a similar behavior. The tuning range of each scene shown in the figure will be described later.

[0071] In this embodiment, out-of-step detection is performed taking the above-mentioned behavior into consideration. Specifically, out-of-step is determined to have occurred when the mechanical angle difference between the actual rotor angle and the ideal rotor angle exceeds a reference value. From another perspective, out-of-step may be determined to have occurred when the electrical angle difference between the actual electrical angle and the ideal electrical angle exceeds a reference value. Alternatively, out-of-step may be determined to have occurred when the step difference between the actual step and the ideal step exceeds a reference value. Theoretically, it is the same whether or not any type of difference is used for the determination.

[0072] In this embodiment, different reference values ​​are used when the valve is moving and when the valve is stopped. The term "valve moving" here means a state in which the excitation pattern is changed by switching steps. If the valve is open, the valve literally moves, but if the valve is closed, the valve does not move even if the step is switched. However, if the step is switched even when the closed valve does not move, it is considered to be during the valve moving state. Also, the term "valve stopped" here means a state in which a constant excitation pattern is maintained without switching steps. Furthermore, the reference values ​​are also distinguished between the valve closed state and the valve open state. Below, the reference values ​​corresponding to each scene are described assuming a scene in which the valve is moving and when the valve is stopped, and the valve is closed and when the valve is open.

[0073] FIG. 11 is a diagram showing the reference value of the step difference and the reference value of the mechanical angle difference in each scene. Scenes are divided into (a) where the valve is moving at a step n greater than the valve opening point, (b) where the valve is stopped at a step n greater than the valve opening point, (c) where the valve is moving at a step n less than the valve opening point, and (d) where the valve is stopped at a step n less than the valve opening point. In scenes (a) and (b), a small load torque is generated when the valve is open. In scenes (c) and (d), a large load torque is generated when the valve is closed.

[0074] Here, an upper limit and a lower limit of the step difference are shown as examples of reference values ​​of the step difference. The range from the lower limit to the upper limit of the step difference is called the tuning range of the step difference. The tuning range of the step difference represents the step difference in a stable tuning state. The tuning range of the step difference is an example of a reference range that serves as a criterion for determining loss of synchronization.

[0075] In addition, as examples of reference values ​​for the mechanical angle difference, the upper and lower limits of the mechanical angle difference are shown. The range from the lower limit to the upper limit of the mechanical angle difference is called the tuning range of the mechanical angle difference. The tuning range of the mechanical angle difference also represents the mechanical angle difference in a stable tuning state.

[0076] When the step difference is outside the tuning range, that is, when the mechanical angle difference is outside the tuning range, it is deemed that a step-out has occurred. Even if the step-out is outside the tuning range, it does not necessarily mean that a step-out phenomenon has actually occurred, but it can be said that there is at least a high risk of a step-out. Therefore, the step-out detected in this example can be considered a type of abnormality or a type of caution or warning.

[0077] In scene (a), the upper limit number of the step difference is Ua, and the lower limit number is La. An example of the upper limit number Ua and the lower limit number La is shown in FIG. 10. In this example, the upper limit number Ua corresponds to 90 degrees of the electrical angle difference. The lower limit number La corresponds to -90 degrees of the electrical angle difference. In other words, during valve movement in the open state, it is determined that there is no step-out until the absolute value of the drive torque reaches its maximum value. As shown in the figure, the upper limit number Ua corresponds to the upper limit number ua of the mechanical angle difference. In this example, the upper limit number ua of the mechanical angle difference is 72 / 4 = 18 degrees. The lower limit number La corresponds to the lower limit number la of the mechanical angle difference. In this example, the upper limit number la of the mechanical angle difference is -18 degrees.

[0078] In scene (b), the upper limit number Ub of the step difference is set to Ub, and the lower limit number Lb is set to Lb. An example of the upper limit number Ub and the lower limit number Lb is shown in FIG. 10. In this example, the upper limit number Ub corresponds to 45 degrees of the electrical angle difference. The lower limit number Lb corresponds to -45 degrees of the electrical angle difference. In other words, when the valve is stopped in the open state, if the absolute value of the drive torque does not exceed maximum value × sin45, it is determined that there is no step-out. As shown in the figure, the upper limit number Ub corresponds to the upper limit ub of the mechanical angle difference. In this example, the upper limit ub of the mechanical angle difference is 72 / 8 = 9 degrees. The lower limit number Lb corresponds to the lower limit lb of the mechanical angle difference. In this example, the lower limit lb of the mechanical angle difference is -9 degrees.

[0079] In scene (c), let the upper limit number of the step difference be Uc and the lower limit number be Lc. Examples of the upper limit number Uc and the lower limit number Lc are shown in FIG. 10. In this example, the upper limit number Uc corresponds to an electrical angle difference of 97.5 degrees. The lower limit number Lc corresponds to an electrical angle difference of -97.5 degrees. That is, during valve movement in the valve-closed state, if the absolute value of the driving torque does not exceed the maximum value and is less than the maximum value × sin97.5, it is determined that there is no out-of-step. As shown in the figure, the upper limit number Uc corresponds to the upper limit uc of the mechanical angle difference. Also, the lower limit number Lc corresponds to the lower limit lc of the mechanical angle difference.

[0080] In scene (d), let the upper limit number of the step difference be Ud and the lower limit number be Ld. Examples of the upper limit number Ud and the lower limit number Ld are shown in FIG. 10. In this example, the upper limit number Ud corresponds to an electrical angle difference of 60 degrees. The lower limit number Ld corresponds to an electrical angle difference of -60 degrees. That is, when the valve stops in the valve-closed state, if the absolute value of the driving torque does not exceed the maximum value × sin60, it is determined that there is no out-of-step. As shown in the figure, the upper limit number Ud corresponds to the upper limit ud of the mechanical angle difference. Also, the lower limit number Ld corresponds to the lower limit ld of the mechanical angle difference.

[0081] In this example, for each upper limit number, the magnitude relationship is Uc > Ua > Ud > Ub. Similarly, for each lower limit number, the magnitude relationship is Lc < La < Ld < Lb.

[0082] The reason for setting Uc (valve-closed state) > Ua (valve-open state) for the upper limit number during valve movement and further setting Lc (valve-closed state) < La (valve-open state) for the lower limit number during movement is that the load torque becomes large in the valve-closed state, and the step difference is likely to widen during movement. Also, the reason for setting Ud (valve-closed state) > Ub (valve-open state) for the upper limit number when the valve stops and further setting Ld (valve-closed state) < Lb (valve-open state) for the lower limit number when the valve stops is that the load torque is large in the valve-closed state, so the driving torque that balances this also becomes large, and the step difference does not shrink completely when stopping.

[0083] In the specific process, the tuning range of the actual rotor angle in each scene is assumed based on these upper limits Ua, Ub, Uc, and Ud and the lower limits La, Lb, Lc, and Ld. The tuning range of the actual rotor angle is specified by the maximum angle and the minimum angle. If the actual rotor angle falls outside this tuning range, it is determined that a loss of synchronism has occurred.

[0084] Scene (a): When the valve is moving in a step n larger than the valve opening point, the maximum angle RA_max(n) of the tuning range is given by the following Equation 2 or Equation 3. RA_max(n)=RA_c(n+Ua) [Equation 2] RA_c(n+Ua): Ideal rotor angle at step (n+Ua) RA_max(n)=(RA_c(n)+Ua×R)mod360 [Formula 3] RA_c(n): Ideal rotor angle at step n R: Mechanical angle / step ratio

[0085] Furthermore, in the case of scene (a), the minimum angle RA_min(n) of the tuning range is given by the following equation 4 or 5. RA_min(n)=RA_c(n+La) [Equation 4] RA_c(n+La): Ideal rotor angle at step (n+La) RA_min(n)=(RA_c(n)+La×R)mod360 [Formula 5]

[0086] Scene (b): When the valve is stopped at a step n that is greater than the valve opening point, the maximum angle RA_max(n) of the tuning range is calculated by the following Equation 6 or 7. RA_max(n)=RA_c(n+Ub) [Equation 6] RA_c(n+Ub): Ideal rotor angle at step (n+Ub) RA_max(n)=(RA_c(n)+Ub×R)mod360 [Formula 7]

[0087] Furthermore, in the case of scene (b), the minimum angle RA_min(n) of the tuning range is given by the following equation 8 or 9. RA_min(n)=RA_c(n+Lb) [Equation 8] RA_c(n+Lb): Ideal rotor angle at step (n+Lb) RA_min(n)=(RA_c(n)+Lb×R)mod360 [Formula 9]

[0088] Scene (c): When the valve is moving at step n below the valve opening point, the maximum angle RA_max(n) of the tuning range is calculated by the following Equation 10 or 11. RA_max(n)=RA_c(n+Uc) [Equation 10] RA_c(n+Uc): Ideal rotor angle at step (n+Uc) RA_max(n)=(RA_c(n)+Uc×R)mod360 [Formula 11]

[0089] Furthermore, in the case of scene (c), the minimum angle RA_min(n) of the tuning range is given by the following equation 12 or 13. RA_min(n)=RA_c(n+Lc) [Equation 12] RA_c(n+Lc): Ideal rotor angle at step (n+Lc) RA_min(n)=(RA_c(n)+Lc×R)mod360 [Formula 13]

[0090] Scene (d): When the valve is stopped at step n below the valve opening point, the maximum angle RA_max(n) of the tuning range is calculated by the following Equation 14 or 15. RA_max(n)=RA_c(n+Ud) [Equation 14] RA_c(n+Ud): Ideal rotor angle at step (n+Ud) RA_max(n)=(RA_c(n)+Ud×R)mod360 [Formula 15]

[0091] Furthermore, in the case of scene (d), the minimum angle RA_min(n) of the tuning range is calculated by the following equation 16 or 17. RA_min(n)=RA_c(n+Ld) [Equation 16] RA_c(n+Ld): Ideal rotor angle at step (n+Ld) RA_min(n)=(RA_c(n)+Ld×R)mod360 [Formula 17]

[0092] In each of the scenes (a) to (d), the maximum angle RA_max(n) and the minimum angle RA_min(n) are converted into duty ratios. The duty ratio SO_max(n) corresponding to the maximum angle is calculated using Equation 18. The duty ratio SO_min(n) corresponding to the minimum angle is calculated using Equation 19. SO_max(n) = constant S × RA_max(n) + constant T [Formula 18] SO_min(n) = constant S × RA_min(n) + constant T [Equation 19] The constant S is the ratio of the duty ratio to the mechanical angle. The constant T is the lower limit DA of the duty ratio.

[0093] FIG. 12 shows the truth table for the logical operation Z. In this embodiment, out-of-step is determined by logical operation Z using the above-mentioned duty ratios SO_max(n) and SO_min(n). Logical operation Z (equation 23) is performed based on the success or failure of equation 20 representing relationship A, equation 21 representing relationship B, and equation 22 representing relationship C. Relationship A: SO_max(n)>SO_min(n) [Equation 20] Relationship B: SO_max(n) ≧ SO_m(n) [Equation 21] Relationship C: SO_m(n) ≧ SO_min(n) [Equation 22] Logical operation Z: Relation A xor Relation B xor Relation C [Equation 23]

[0094] SO_m(n) is a duty ratio (angle value) read from the pulse of the digital signal received from the magnetic sensor 119. The duty ratio SO_m(n) corresponds to the actual rotor angle RA_m(n). This correspondence is illustrated in FIG.

[0095] If the result of the logical operation Z is true (1), it is determined that the motor is in sync, and if the result of the logical operation Z is false (0), it is determined that the motor has lost sync. There are six logical combinations that can occur: patterns 1 to 6, as shown in the figure.

[0096] In this example, the magnitude relationship between relationships A to C is determined based on the duty ratio, which coincides with the magnitude relationship in the actual rotor angle.

[0097] FIG. 13 is a graph showing an example of determining step-out and step-in. The left vertical axis indicates the rotor angle RA, and the right vertical axis indicates the duty ratio SO. The rotor angle RA and the duty ratio SO have a linear relationship. Therefore, they can be converted into each other. The horizontal axis indicates the step n (=valve position Pos(n).

[0098] The solid line in the figure indicates the maximum angle RA_max(n) of the tuning range and the duty ratio SO_max(n) corresponding to that maximum angle. Similarly, the dashed line indicates the ideal rotor angle RA_c(n) and the duty ratio SO_c(n) corresponding to that ideal rotor angle. Similarly, the dashed line indicates the minimum angle RA_min(n) of the tuning range and the duty ratio SO_min(n) corresponding to that minimum angle.

[0099] The black circles show out-of-step examples of patterns 1, 4, and 5. The white circles show in-step examples of patterns 2, 3, and 6. For example, in the case of pattern 6, SO_max(n)>SO_min(n), and relationship A is true (1). SO_max(n)≧SO_m(n), and relationship B is true (1). Also, SO_m(n)≧SO_min(n), and relationship C is true (1). Therefore, the logical operation Z is true (1), and the judgment result is synchronization.

[0100] For example, in the case of pattern 5, as shown in the figure, SO_max(n) > SO_min(n), and relationship A is true (1). SO_max(n) ≥ SO_m(n), and relationship B is true (1). Also, SO_m(n) < SO_min(n), and relationship C is false (0). Therefore, the logical operation Z is false (0), and the determination result is out of tune.

[0101] In the interval where step n is between P1 and P2, since the magnitude relationship between SO_max(n) and SO_min(n) is reversed, relationship A is false (0). For patterns 1 to 3 in this interval, the determination logic is different from that of patterns 4 to 6 in the interval where relationship A is true (1).

[0102] Subsequently, the determination timing will be described. Regarding the determination during valve movement, every time one step is moved, the determination process is executed immediately before switching to the next excitation. Regarding the determination when the valve stops, it is performed once for each valve stop. Specifically, the determination process is executed when a predetermined standby time has elapsed after the stop process of the holding current. The standby time may be based on the time until the current (probe) of the coil three-phase converges with the power line open. For example, a time length obtained by adding a predetermined margin time to the time until convergence may be used as the standby time.

[0103] FIG. 14 is a functional block diagram of the electric valve control device 200. Each component of the electric valve control device 200 is realized by hardware (control circuit) including a control circuit (microcomputer) on the circuit board 118, a storage device such as a memory and a storage, and a wired or wireless communication line connecting them, and software stored in the storage device and supplying processing instructions to the arithmetic unit. The computer program may be composed of a device driver and an application program, and a library that provides common functions to these programs. Each block described below indicates a block in terms of function, not a configuration in terms of hardware unit.

[0104] The motor-operated valve control device 200 includes a data processing unit 202 , a communication unit 204 , a reference information storage unit 206 , and a rotor interface unit 208 . The communication unit 204 functions as an interface with an external 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 reference information storage unit 206 stores origin information (reference information). The reference information storage unit 206 is a storage area configured in a non-volatile memory. The data processing unit 202 executes various processes based on the reference information 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 reference information storage unit 206.

[0105] The communication unit 204 includes a receiving unit 210 that receives data and commands from an external device, and a transmitting unit 212 that transmits data to the external device.

[0106] 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 a duty ratio (angle value) from the pulse of the current received from the magnetic sensor 119.

[0107] The data processing unit 202 includes a rotation control unit 218 and a step-out detection unit 220. The rotation control unit 218 controls the rotation instruction unit 214 based on the origin information and a command received from an external device. The step-out detection unit 220 performs step-out determination processing for each scene to detect step-out.

[0108] 15 and 16 are flow charts showing the main processing steps. The rotation control unit 218 specifies the step n (S10). The step n is determined based on a movement command (including a movement direction and a movement speed) or a stop command received by the receiving unit 210 from an external device.

[0109] The out-of-step detection unit 220 determines whether step n has advanced (S12). In the case of movement in the valve opening direction, the rotation control unit 218 switches the excitation pattern to an upward rotation direction, and step n increases by one. In the case of movement in the valve closing direction, the rotation control unit 218 switches the excitation pattern to a downward rotation direction, and step n decreases by one. Whether step n has increased or decreased, it is determined that step n has advanced. The timing at which step n advances is determined by the rotation control unit 218 based on the movement speed.

[0110] When it is determined that the step n has progressed (Y in S12), the out-of-step detection unit 220 determines whether the step n is greater than the valve opening point (S14). When the step n is greater than the valve opening point (Y in S14), that is, when the valve is in an open state, the out-of-step detection unit 220 executes the out-of-step determination process of scene (a) (S16). On the other hand, when the step n is equal to or less than the valve opening point (N in S14), that is, when the valve is in a closed state, the out-of-step detection unit 220 executes the out-of-step determination process of scene (c) (S18). The out-of-step determination process of each scene will be described later with reference to FIG. 17. After the out-of-step determination process, the rotation control unit 218 switches the excitation pattern to be instructed to the rotation instruction unit 214 (S20). The excitation pattern at this time corresponds to the step n identified in S10. Then, the process returns to S10 and the above-mentioned process is repeated.

[0111] Returning to the explanation of the process of S12, if it is determined that step n has not progressed (N in S12), the process proceeds to S22 shown in FIG.

[0112] Rotation control unit 218 determines whether or not to stop power supply to rotation instruction unit 214 (S22). For example, when receiving unit 210 receives a stop command from an external device, rotation control unit 218 determines to stop power supply to rotation instruction unit 214.

[0113] If the rotation control unit 218 determines not to stop the current supply (N in S22), the process returns to S10. On the other hand, if the rotation control unit 218 determines to stop the current supply (Y in S22), the rotation control unit 218 turns off the current supply to the rotation instruction unit 214 (S24).

[0114] When a movement command is issued again, it is necessary to resume energization, so rotation control unit 218 judges whether or not to resume energization in rotation instruction unit 214 (S26). When receiving unit 210 has not received a movement command from an external device, rotation control unit 218 judges not to resume energization in rotation instruction unit 214. When it is judged not to resume energization (N in S26), out-of-step detection unit 220 judges whether a predetermined standby time has elapsed since energization was turned off (S28). The predetermined standby time corresponds to, for example, the time required for the current to fall. In other words, it waits until the currents (probes) of the three phases of the coil converge due to the opening of the power line.

[0115] If it is determined that the predetermined waiting time has not elapsed (N in S28), the rotation control unit 218 returns to the process of S26. If it is determined that the current supply should be resumed (Y in S26), the rotation control unit 218 turns on the current supply to the rotation instruction unit 214 (S30) and returns to the process of S10. In this way, if the current supply is immediately resumed, the step-out determination process when the valve is stopped is not performed.

[0116] On the other hand, if it is determined that the predetermined waiting time has elapsed without restarting the energization (Y in S28), the out-of-step detection unit 220 determines whether or not step n is greater than the valve opening point (S32). If step n is greater than the valve opening point (Y in S32), that is, if the valve is in an open state, the out-of-step detection unit 220 executes the out-of-step determination process of scene (b) (S34). On the other hand, if step n is equal to or less than the valve opening point (N in S32), that is, if the valve is in a closed state, the out-of-step detection unit 220 executes the out-of-step determination process of scene (d) (S36).

[0117] After performing the out-of-step determination process, the process waits until energization is resumed. That is, the rotation control unit 218 repeatedly determines whether or not to resume energization in the rotation instruction unit 214 (S38), and when it is determined that energization should be resumed (Y in S38), the rotation control unit 218 turns on energization of the rotation instruction unit 214 (S40) and returns to the process of S10. That is, when the receiving unit 210 receives a movement command from the external device, the process returns to the original process.

[0118] FIG. 17 is a flow chart showing the out-of-step determination process for each scene. First, the out-of-step detection unit 220 calculates the ideal rotor angle RA_c(n) by performing the process of calculating the above-mentioned equation 1 (S50).

[0119] Next, the synchronization outage detection unit 220 calculates the maximum angle RA_max(n) of the synchronization range (S52). If it is scene (a), the synchronization outage detection unit 220 executes the process of performing the calculation of the above-mentioned equation 3. If it is scene (b), the synchronization outage detection unit 220 executes the process of performing the calculation of the above-mentioned equation 7. If it is scene (c), the synchronization outage detection unit 220 executes the process of performing the calculation of the above-mentioned equation 11. If it is scene (d), the synchronization outage detection unit 220 executes the process of performing the calculation of the above-mentioned equation 15.

[0120] Furthermore, the synchronization outage detection unit 220 calculates the minimum angle RA_min(n) of the synchronization range (S54). If it is scene (a), the synchronization outage detection unit 220 executes a process to perform the calculation of the above-mentioned equation 5. If it is scene (b), the synchronization outage detection unit 220 executes a process to perform the calculation of the above-mentioned equation 9. If it is scene (c), the synchronization outage detection unit 220 executes a process to perform the calculation of the above-mentioned equation 13. If it is scene (d), the synchronization outage detection unit 220 executes a process to perform the calculation of the above-mentioned equation 17.

[0121] The out-of-step detection unit 220 calculates the duty ratio SO_max(n) corresponding to the maximum angle RA_max(n) (S56). The out-of-step detection unit 220 executes the process of performing the calculation of Equation 18 described above.

[0122] The out-of-step detection unit 220 calculates the duty ratio SO_min(n) corresponding to the minimum angle RA_min(n) (S58). The out-of-step detection unit 220 executes the process of performing the calculation of Equation 19 described above.

[0123] The rotation detection unit 216 reads the duty ratio SO_m(n) from the pulse received from the magnetic sensor 119 (S60).

[0124] Then, the out-of-step detection unit 220 determines whether the above-mentioned relationship A (Equation 20), relationship B (Equation 21), and relationship C (Equation 22) are true or false, and further determines whether the logical operation Z (Equation 23) is true or false based on the results of these determinations (S62). If the result of the logical operation Z is true (1), it is determined that no out-of-step has occurred, and if it is false (0), it is determined that an out-of-step has occurred.

[0125] If the out-of-step detection unit 220 determines that out-of-step has not occurred (N in S64), the process returns to the caller of the main process (S20 or S38).

[0126] On the other hand, if the synchronization loss detection unit 220 determines that synchronization loss has occurred (Y in S64), the transmission unit 212 transmits a synchronization loss notification notifying the external device of the occurrence of synchronization loss (S66). Then, the process returns to the caller of the main process (S20 or S38).

[0127] The present invention is not limited to the above-mentioned embodiment and modified examples, and the components can be modified without departing from the gist of the present invention. Various inventions can be formed by appropriately combining multiple components disclosed in the above-mentioned embodiment and modified examples. In addition, some components can be deleted from all the components shown in the above-mentioned embodiment and modified examples.

[0128] [Variations] 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.

[0129] Regarding the above-mentioned relationship B, formula 24 may be used instead of formula 21. Relationship B: SO_max(n)>SO_m(n) [Equation 24] Similarly, for relationship C, formula 25 may be used instead of formula 22. Relationship C: SO_m(n)>SO_min(n) [Equation 25]

[0130] The read duty ratio (angle value) SO_m(n) may be converted into an actual rotor angle RA_m(n), and logical operation Z may be performed based on rotor angle relationships A to C. In this case, relationship A is expressed by equation 26. Relationship B is expressed by equation 27 or 28. Relationship C is expressed by equation 29 or 30. Relationship A: RA_max(n)>RA_min(n) [Equation 26] Relationship B: RA_max(n) ≧ RA_m(n) [Equation 27] Relationship B: RA_max(n)>RA_m(n) [Formula 28] Relationship C: RA_m(n) ≥ RA_min(n) [Equation 29] Relationship C:RA_m(n)>RA_min(n) [Formula 30]

[0131] The determination process may be executed in synchronization with the PWM period of the magnetic sensor 119. That is, the determination process may be executed at the timing when a PWM pulse is received.

[0132] In the above embodiment, the step-out determination process is executed only once when the valve is stopped, but as a modified example, the step-out determination process may be executed multiple times when the valve is stopped.

[0133] 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.

[0134] 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.

[0135] 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.

[0136] 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.

[0137] 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 of motor such as a two-phase, four-phase, or five-phase motor. The number of electromagnetic coils in the stator is not limited to three or six, and may be set appropriately according to the number of phases of the motor.

[0138] 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.

[0139] 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.

[0140] 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.

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

[0142] 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]

[0143] 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 reference information storage section, 208 rotor interface section, 210 receiving section, 212 transmitting section, 214 rotation instruction section, 216 rotation detection section, 218 rotation control section, 220 step-out detection section

Claims

1. The valve is connected to an electric valve having a stepping motor that rotates a rotor, a mechanism that converts the rotational motion of the rotor into axial motion of a valve body, and a sensor that detects the angle of the rotor; a rotation control unit that switches an excitation pattern in the stepping motor; a rotation instruction unit that instructs the stepping motor on an angle based on the excitation pattern; a rotation detection unit that acquires the angle of the rotor from the sensor; a step-out detection unit that determines that a step-out has occurred when a difference between the angle of the rotor and the angle instructed to the stepping motor falls outside a reference range, The motor-operated valve control device according to claim 1, wherein the step-out detection unit changes the reference range in response to a state that changes due to operation of the motor-operated valve.

2. 2. The electric valve control device according to claim 1, wherein the out-of-step detection unit uses a first reference range as the reference range when the valve body is not in contact with the valve seat, and uses a second reference range different from the first reference range as the reference range when the valve body is in contact with the valve seat.

3. 3. The motor-operated valve control device according to claim 2, wherein the second reference range is wider than the first reference range.

4. The electric valve control device according to any one of claims 1 to 3, characterized in that the out-of-step detection unit uses a third reference range as the reference range when the step of the stepping motor is changing, and uses a fourth reference range different from the third reference range as the reference range when the step of the stepping motor is not changing.

5. 5. The motor-operated valve control device according to claim 4, wherein the fourth reference range is narrower than the third reference range.

6. a stepping motor for rotating a rotor, a mechanism for converting the rotational motion of the rotor into axial motion of a valve body, and a sensor for measuring the angle of the rotor; A function of switching an excitation pattern in the stepping motor; A function of instructing an angle of the stepping motor by the excitation pattern; obtaining the angle of the rotor from the sensor; a step-out detection function for determining that a step-out has occurred when a difference between the angle of the rotor and the angle instructed to the stepping motor falls outside a reference range; A motor-operated valve control program, comprising: a step-out detection function for detecting step-out of the motor-operated valve, the step-out detection function changing the reference range in response to a state that changes due to operation of the motor-operated valve.

7. The electric valve control program as described in Claim 6, characterized in that in the out-of-step detection function, a first reference range is used as the reference range when the valve body is not in contact with the valve seat, and a second reference range different from the first reference range is used as the reference range when the valve body is in contact with the valve seat.

8. An electric valve control program as described in claim 6 or 7, characterized in that in the out-of-step detection function, a third reference range is used as the reference range when the step of the stepping motor is changing, and a fourth reference range different from the third reference range is used as the reference range when the step of the stepping motor is not changing.

Citation Information

Patent Citations

  • Detecting method for step-out of stepping motor

    JP1992150796A

  • Operation failure diagnosis device for flow rate control valve

    JP1996326952A

  • Motor-operated valve

    JP2018135908A

  • Electric valve

    JP2020204344A