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

The electric valve control device addresses the issue of prolonged initialization and noise in refrigeration systems by measuring and comparing stator voltage waveforms to determine the rotor's position, reducing initialization time and noise through accurate state determination.

WO2024176593A1PCT designated stage expired Publication Date: 2024-08-29FUJIKOKI CORP

Patent Information

Application Number
PCT/JP2023/045451
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-24
Filing Date
2023-12-19
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Conventional electric valve control devices in refrigeration systems experience prolonged initialization times and noise generation due to repeated collisions of the rotor stopper mechanism, especially when the rotor is close to the reference position.

Method used

The electric valve control device measures the voltage waveform induced in the stator during rotor rotation and uses a state determination unit to set and compare reference waveforms, determining the rotor's position based on waveform similarity, thereby reducing initialization time and noise by accurately determining the rotation restriction state.

Benefits of technology

This approach shortens the initialization time and suppresses noise by accurately determining the rotor's position, using a stable voltage waveform as a reference for the electric valve control, enhancing the accuracy of state determination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023045451_29082024_PF_FP_ABST
    Figure JP2023045451_29082024_PF_FP_ABST
Patent Text Reader

Abstract

Provided are a motorized valve control device with which the time required for an initialization operation of a motorized valve can be shortened to minimize noise, a motorized valve device having a motorized valve control device, and a method for controlling a motorized valve. A motorized valve control device (70) according to the present invention inputs a second preparatory number of pulses to a stepping motor (66) to cause a rotor (41) to rotate in a second direction (second preparatory operation), and inputs a first preparatory number of pulses to the stepping motor (66) to cause the rotor to rotate in a first direction (first preparatory operation). The motorized valve control device (70) acquires a voltage generated in a stator due to the rotation of the rotor (41) in the first direction. The motorized valve control device (70) sets the waveform of the voltage acquired during the first preparatory operation as a reference waveform of the voltage. On the basis of the difference between the waveform of the voltage and the reference waveform of the voltage, the motorized valve control device (70) assesses whether a motorized valve (5) is in a rotation-restricted state.
Need to check novelty before this filing date? Find Prior Art

Description

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

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

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

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

[0004] International Publication No. 2019 / 130928

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

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

[0007] The inventors measured the voltage generated in the stator by the rotor rotation during initialization using multiple motor-operated valves (voltage electromagnetically induced in the stator) and thoroughly studied the measurement results. As a result, the inventors found that there was a difference between the voltage waveform before the rotor rotation was restricted by the stopper mechanism and the voltage waveform after the rotor rotation was restricted by the stopper mechanism. Furthermore, the inventors found that the voltage waveform immediately after a cold motor-operated valve starts operating differs from the voltage waveform as the operation progresses and the motor-operated valve warms up, and that the voltage waveform stabilizes as the motor-operated valve warms up, leading to the present invention.

[0008] In order to achieve the above object, one aspect of the present invention provides an electric valve control device that controls an electric valve having: a valve body having a valve port; a stepping motor having a rotor and a stator; a valve element that faces the valve port and moves toward the valve port when the rotor rotates in a first direction; and a stopper mechanism that restricts rotation of the rotor in the first direction when the rotor is in a reference position, the electric valve control device comprising: a rotation control unit that inputs pulses to the stepping motor to rotate the rotor; a voltage acquisition unit that acquires a voltage generated in the stator by the rotation of the rotor in the first direction; a state determination unit that determines whether the electric valve is in a first rotation restriction state in which rotation of the rotor in the first direction is restricted based on a difference between a waveform of the voltage and a reference waveform of the voltage; and a reference waveform setting unit that sets a reference waveform of the voltage; The reference waveform setting unit sets the waveform of the voltage acquired by the voltage acquisition unit during the first preparation operation as the reference waveform of the voltage.

[0009] In the present invention, it is preferable that when the rotation control unit starts the first preparatory operation, the reference voltage waveform is not set, and the state determination unit, after the reference waveform setting unit sets the reference voltage waveform, starts a determination operation to determine whether the voltage waveform acquired by the voltage acquisition unit during the first preparatory operation is similar to the reference voltage waveform, and the reference waveform setting unit sets the voltage waveform acquired by the voltage acquisition unit as the reference voltage waveform when the number of pulses input to the stepping motor during the first preparatory operation reaches K, and when the state determination unit determines in the determination operation that the voltage waveform and the reference voltage waveform are similar, sets the voltage waveform used in the determination as the reference voltage waveform, and when the state determination unit determines in the determination operation that the voltage waveform and the reference voltage waveform are not similar, maintains the reference voltage waveform, where K is a natural number greater than or equal to 1.

[0010] In the present invention, it is preferable that, following the first preparatory operation, the rotation control unit performs a positioning operation by inputting pulses to the stepping motor to rotate the rotor in the first direction, and the state determination unit performs the determination operation to determine whether the voltage waveform acquired by the voltage acquisition unit during the first preparatory operation and the positioning operation is similar to a reference voltage waveform.

[0011] In the present invention, it is preferable that the state determination unit, in the determination operation, calculates a dissimilarity index value indicating the degree of difference between the voltage waveform and the reference voltage waveform, and determines whether the voltage waveform and the reference voltage waveform are similar based on a comparison result between the dissimilarity index value and a similarity determination value.

[0012] In the present invention, it is preferable that the reference waveform of the voltage is a data table that associates time with a reference voltage at that time, the data table being set for a first direction pulse that is a pulse input to the stepping motor to rotate the rotor in the first direction, the voltage acquisition unit acquires the voltage in chronological order when the first direction pulse is input to the stepping motor, the state determination unit, when the voltage acquisition unit acquires the voltage at an acquisition time corresponding to the input of the first direction pulse, calculates an intermediate value that is a square of the difference between the voltage and the reference voltage associated with the time corresponding to the acquisition time in the data table set for the first direction pulse input to the stepping motor, and the state determination unit calculates the dissimilarity index value by adding together the multiple intermediate values ​​calculated using the voltage acquired by the voltage acquisition unit in response to the input of the first direction pulse.

[0013] In the present invention, it is preferable that the state determination unit calculates the dissimilarity index value by adding up multiple intermediate values ​​calculated using the voltage acquired by the voltage acquisition unit during a part of a period from the start to the end of the first direction pulse, and that a voltage component related to a back electromotive force due to the inductance of the stator, which is included in the voltage during the part of the period, is smaller than a voltage component related to electromagnetic induction due to rotation of the rotor, which is included in the voltage.

[0014] In the present invention, when the rotation control unit starts the first preparatory operation, the first reference waveform of the voltage and the second reference waveform of the voltage are not set, and the state determination unit, after the reference waveform setting unit sets the first reference waveform of the voltage, starts a first determination operation to determine whether or not the waveform of the voltage acquired by the voltage acquisition unit during the first preparatory operation is similar to the first reference waveform of the voltage, and after the reference waveform setting unit sets the second reference waveform of the voltage, starts a second determination operation to determine whether or not the waveform of the voltage acquired by the voltage acquisition unit during the first preparatory operation is similar to the second reference waveform of the voltage, and the reference waveform setting unit, when the number of pulses input to the stepping motor in the first preparatory operation reaches K, sets the waveform of the voltage acquired by the voltage acquisition unit as the first reference waveform of the voltage, and when the state determination unit determines in the first determination operation that the waveform of the voltage and the first reference waveform of the voltage are similar, sets the waveform of the voltage used in the determination as the first reference waveform of the voltage, When the state determination unit determines in the first determination operation that the waveform of the voltage and the first reference waveform of the voltage are not similar, it maintains the first reference waveform of the voltage; when the state determination unit first determines in the first determination operation that the waveform of the voltage and the first reference waveform of the voltage are not similar, it sets the waveform of the voltage used in the determination as the second reference waveform of the voltage; when the state determination unit determines in the second determination operation that the waveform of the voltage and the second reference waveform of the voltage are similar, it sets the waveform of the voltage used in the determination as the second reference waveform of the voltage; when the state determination unit determines in the second determination operation that the waveform of the voltage and the second reference waveform of the voltage are not similar, it maintains the second reference waveform of the voltage; When the first preparatory operation is completed, if the number of times the voltage waveform has been set as the first reference waveform of the voltage is greater than the number of times the voltage waveform has been set as the second reference waveform of the voltage, the first reference waveform of the voltage is set as the reference waveform of the voltage, and if the number of times the voltage waveform has been set as the second reference waveform of the voltage is greater than the number of times the voltage waveform has been set as the first reference waveform of the voltage, it is preferable that the second reference waveform of the voltage is set as the reference waveform of the voltage.Here, K is a natural number equal to or greater than 1.

[0015] In the present invention, it is preferable that, following the first preparatory operation, the rotation control unit performs a positioning operation by inputting pulses to the stepping motor to rotate the rotor in the first direction, and when the positioning operation is started, the state determination unit starts a judgment operation to determine whether the voltage waveform acquired by the voltage acquisition unit during the positioning operation is similar to the reference voltage waveform, and when the state determination unit determines in the judgment operation that the voltage waveform and the reference voltage waveform are similar, the reference voltage waveform setting unit sets the voltage waveform used in the judgment as the reference voltage waveform, and when the state determination unit determines in the judgment operation that the voltage waveform and the reference voltage waveform are not similar, it maintains the reference voltage waveform.

[0016] In the present invention, when the state determination unit determines in the first determination operation that the waveform of the voltage is similar to the first reference waveform of the voltage and determines in the second determination operation that the waveform of the voltage is similar to the second reference waveform of the voltage, it is preferable that the reference waveform setting unit: (1) sets the waveform of the voltage used in the determination as the first reference waveform of the voltage when the waveform of the voltage used in the determination is more similar to the first reference waveform of the voltage than to the second reference waveform of the voltage; and (2) sets the waveform of the voltage used in the determination as the second reference waveform of the voltage when the waveform of the voltage used in the determination is more similar to the second reference waveform of the voltage than to the first reference waveform of the voltage.

[0017] In the present invention, it is preferable that the state determination unit, in the first determination operation, calculates a first difference index value indicating the degree of difference between the waveform of the voltage and a first reference waveform of the voltage, and determines whether or not the waveform of the voltage and the first reference waveform of the voltage are similar based on a comparison result between the first difference index value and a similarity determination value, and in the second determination operation, calculates a second difference index value indicating the degree of difference between the waveform of the voltage and a second reference waveform of the voltage, and determines whether or not the waveform of the voltage and the second reference waveform of the voltage are similar based on a comparison result between the second difference index value and the similarity determination value.

[0018] In the present invention, it is preferable that the rotation control unit performs the second preparatory operation and the first preparatory operation multiple times, and the reference waveform setting unit sets the voltage waveform acquired by the voltage acquisition unit during the last first preparatory operation as the reference waveform of the voltage.

[0019] In the present invention, it is preferable that, following the first preparatory operation, the rotation control unit performs a positioning operation by inputting pulses to the stepping motor to rotate the rotor in the first direction, the rotation control unit stops inputting pulses to the stepping motor when the state determination unit determines during the positioning operation that the motor-operated valve is in the first rotation restriction state, and the state determination unit determines that the motor-operated valve has failed when the number of pulses input to the stepping motor in the first preparatory operation and the positioning operation exceeds an initialization number, which is a number sufficient to position the rotor at the reference position.

[0020] In the present invention, it is preferable that the stator has an A-phase stator and a B-phase stator, and the voltage acquisition unit acquires the voltage generated in the other of the A-phase stator and the B-phase stator when the rotation control unit supplies a drive current to only one of the A-phase stator and the B-phase stator in response to the input of the pulse to the stepping motor.

[0021] In order to achieve the above object, another aspect of the present invention provides an electric valve control device that controls an electric valve having: a valve body having a valve port; a stepping motor having a rotor and a stator; a valve element that faces the valve port and moves toward the valve port when the rotor rotates in a first direction; and a stopper mechanism that restricts rotation of the rotor in the first direction when the rotor is in a reference position, the electric valve control device comprising: a rotation control unit that inputs pulses to the stepping motor to rotate the rotor; a current acquisition unit that acquires a current generated in the stator by the rotation of the rotor in the first direction; a state determination unit that determines whether the electric valve is in a first rotation restricted state in which rotation of the rotor in the first direction is restricted based on a difference between a waveform of the current and a reference waveform of the current; and a reference waveform setting unit that sets the reference waveform of the current. The rotation control unit performs a second preparatory operation by inputting a second preparatory number of pulses to the stepping motor to rotate the rotor in a second direction, and following the second preparatory operation, performs a first preparatory operation by inputting a first preparatory number of pulses less than the second preparatory number to the stepping motor to rotate the rotor in the first direction, and the reference waveform setting unit sets the current waveform acquired by the current acquisition unit during the first preparatory operation as the reference waveform of the current.

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

[0023] In order to achieve the above object, another aspect of the present invention provides a control method for a motor-operated valve having a valve body having a valve port, a stepping motor having a rotor and a stator, a valve element facing the valve port and moving toward the valve port when the rotor rotates in a first direction, and a stopper mechanism that restricts rotation of the rotor in the first direction when the rotor is at a reference position, the control method comprising: a second preparation step of inputting a second preparation number of pulses to the stepping motor to rotate the rotor in the second direction; a first preparation step, subsequent to the second preparation step, of inputting a first preparation number of pulses less than the second preparation number to the stepping motor to rotate the rotor in the first direction; a positioning step, subsequent to the first preparation step, of inputting pulses to the stepping motor to rotate the rotor in the first direction; a voltage acquisition step of acquiring a voltage generated in the stator by the rotation of the rotor in the first direction; and a reference waveform setting step of setting the waveform of the voltage acquired during the first preparation step as a reference waveform of the voltage. and a state determination process for determining whether the motor-operated valve is in a first rotation restriction state in which rotation of the rotor in the first direction is restricted based on the difference between the voltage waveform acquired during the positioning process and a reference voltage waveform.

[0024] In order to achieve the above object, another aspect of the present invention provides a control method for a motor-operated valve having a valve body having a valve port, a stepping motor having a rotor and a stator, a valve element facing the valve port and moving toward the valve port when the rotor rotates in a first direction, and a stopper mechanism that restricts rotation of the rotor in the first direction when the rotor is at a reference position, the control method comprising: a second preparation step of inputting a second preparation number of pulses to the stepping motor to rotate the rotor in the second direction; a first preparation step, subsequent to the second preparation step, of inputting a first preparation number of pulses less than the second preparation number to the stepping motor to rotate the rotor in the first direction; a positioning step, subsequent to the first preparation step, of inputting pulses to the stepping motor to rotate the rotor in the first direction; a current acquisition step of acquiring a current generated in the stator by the rotation of the rotor in the first direction; and a reference waveform setting step of setting the waveform of the current acquired during the first preparation step as a reference waveform of the current. and a state determination process for determining whether the motor-operated valve is in a first rotation restriction state in which rotation of the rotor in the first direction is restricted based on the difference between the current waveform acquired during the positioning process and a reference current waveform.

[0025] According to one aspect of the present invention, the motor-operated valve control device inputs a second preparatory number of pulses to the stepping motor to rotate the rotor in a second direction (second preparatory operation). Following the second preparatory operation, the motor-operated valve control device inputs a first preparatory number of pulses to the stepping motor to rotate the rotor in a first direction (first preparatory operation). The first preparatory number is equal to or less than the second preparatory number. The motor-operated valve control device acquires a voltage generated in the stator due to the rotation of the rotor in the first direction. The motor-operated valve control device sets the voltage waveform acquired during the first preparatory operation as a reference voltage waveform. Based on the difference between the voltage waveform and the reference voltage waveform, the motor-operated valve control device determines whether the motor-operated valve is in a first rotation restricted state in which rotation of the rotor in the first direction is restricted.

[0026] According to another aspect of the present invention, the motor-operated valve control device inputs a second preparatory number of pulses to the stepping motor to rotate the rotor in a second direction (second preparatory operation). Following the second preparatory operation, the motor-operated valve control device inputs a first preparatory number of pulses to the stepping motor to rotate the rotor in a first direction (first preparatory operation). The first preparatory number is equal to or less than the second preparatory number. The motor-operated valve control device acquires a current generated in the stator due to the rotation of the rotor in the first direction. The motor-operated valve control device sets the current waveform acquired during the first preparatory operation as a reference current waveform. Based on the difference between the current waveform and the reference current waveform, the motor-operated valve control device determines whether the motor-operated valve is in a first rotation restricted state in which rotation of the rotor in the first direction is restricted.

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

[0028] Furthermore, the motor-operated valve control device determines the state of the motor-operated valve based on the difference between the voltage waveform and the reference voltage waveform, which allows the state of the motor-operated valve to be determined with higher accuracy than configurations that determine the state of the motor-operated valve based on the area of ​​the voltage waveform or the maximum amplitude of the voltage waveform.

[0029] Furthermore, the motor-operated valve control device sets the voltage waveform acquired some time after the motor-operated valve starts operating as the reference voltage waveform, so that a relatively stable voltage waveform acquired by actually using the motor-operated valve can be used as the reference voltage waveform, enabling the state of the motor-operated valve to be determined with higher accuracy.

[0030] Even when the electrically operated valve control device is configured to use a current waveform instead of a voltage waveform, the same effects as when the electrically operated valve control device is configured to use a voltage waveform can be achieved.

[0031] 1 is a block diagram of an air conditioner having a motor-operated valve device. FIG. 2 is a cross-sectional view of the motor-operated valve device of FIG. 1. FIG. 3 is a diagram showing a valve stem holder of the motor-operated valve device of FIG. 2. FIG. 4 is a side view of a guide bush of the motor-operated valve device of FIG. 2. FIG. 5 is a diagram showing a stopper member of the motor-operated valve device of FIG. 2. FIG. 6 is a plan view of the valve stem holder, stopper member, rotor, and stator of the motor-operated valve device of FIG. 2. FIG. 7 is an explanatory diagram of the computer, motor driver, and stepping motor of the motor-operated valve device of FIG. 2. FIG. 8 is a diagram showing a schematic representation of the positional relationship between the magnetic poles of the rotor and the pole teeth of the stator (when pulse P[1] is input). FIG. 9 is a diagram showing a schematic representation of the positional relationship between the magnetic poles of the rotor and the pole teeth of the stator (when pulse P[2] is input). FIG. 10 is a diagram showing a schematic representation of the positional relationship between the magnetic poles of the rotor and the pole teeth of the stator (when pulse P[3] is input). FIG. 11 is a diagram showing a schematic representation of the positional relationship between the magnetic poles of the rotor and the pole teeth of the stator (when pulse P[4] is input). 1 is a diagram schematically showing the positional relationship between the magnetic poles of the rotor and the pole teeth of the stator (when pulse P[5] is input); FIG. 2 is a diagram schematically showing the positional relationship between the magnetic poles of the rotor and the pole teeth of the stator (when pulse P[6] is input); FIG. 3 is a diagram schematically showing the positional relationship between the magnetic poles of the rotor and the pole teeth of the stator (when pulse P[7] is input); FIG. 4 is a diagram schematically showing the positional relationship between the magnetic poles of the rotor and the pole teeth of the stator (when pulse P[8] is input). FIG. 5 is a diagram showing an example of a waveform of voltage generated in the stator due to rotor rotation when the motor-operated valve is in the first rotation permissive state and cold; FIG. 6 is a diagram showing an example of a waveform of voltage generated in the stator due to rotor rotation when the motor-operated valve is in the first rotation permissive state and warmed up; FIG. 7 is a diagram showing an example of a waveform of voltage generated in the stator due to rotor rotation when the motor-operated valve is in the first rotation permissive state and sufficiently warmed up; FIG. 8 is a diagram showing an example of a waveform of voltage generated in the stator due to rotor rotation when the motor-operated valve is in the first rotation permissive state and sufficiently warmed up; 24 is a flowchart showing an operation example 1 of the motor-operated valve control device according to one embodiment of the present invention; FIG. 25 is a flowchart showing an operation example 1 (second preparatory operation); FIG. 26 is a flowchart showing an operation example 1 (first preparatory operation); and FIG. 27 is a flowchart showing an operation example 1 (first preparatory operation, continuation of FIG. 24 ).29 is a flowchart showing an operation example 1 (positioning operation); 30 is a flowchart showing an operation example 2 of a motor-operated valve control device according to an embodiment of the present invention; 31 is a flowchart showing an operation example 2 (first preparatory operation); 32 is a flowchart showing an operation example 2 (first preparatory operation, continuation of FIG. 28); 33 is a flowchart showing an operation example 2 (first preparatory operation, continuation of FIG. 29).

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

[0033] FIG. 1 is a block diagram of an air conditioner having an electric valve device. FIG. 2 is a cross-sectional view of the electric valve device of FIG. 1. FIG. 3 is a diagram showing a valve stem holder of the electric valve device of FIG. 2. FIG. 3A is a perspective view of the valve stem holder, and FIG. 3B is a plan view of the valve stem holder. FIG. 4 is a side view of a guide bush of the electric valve device of FIG. 2. FIG. 5 is a diagram showing a stopper member of the electric valve device of FIG. 2. FIG. 5A is a perspective view of the stopper member, and FIG. 5B is a plan view of the stopper member. FIG. 6 is a plan view of the valve stem holder, stopper member, rotor, and stator of the electric valve device of FIG. 2. FIG. 6 schematically shows the stator. FIG. 6 also schematically shows the magnetic poles of the rotor. FIG. 7 is a diagram explaining the computer, motor driver, and stepping motor of the electric valve device of FIG. 2. FIG. 7A schematically shows the connection between the computer, motor driver, and stepping motor of the electric valve control device. FIG. 7B shows an example of the correspondence between the pulses and the drive current supplied to the stator by the motor driver.

[0034] 8 to 15 are diagrams showing the positional relationship between the rotor's magnetic poles and the stator's pole teeth. FIGS. 8 to 15 show the state when pulses P[1] to P[8] are input to the stepping motor. FIGS. 8 to 15 also show the stator in a simplified form. Also, FIGS. 8 to 15 show the rotor's magnetic poles in a simplified form.

[0035] Figures 16 to 19 are diagrams showing examples of voltage waveforms generated in the stator by rotation of the rotor. Figure 16 is a diagram showing an example of a voltage waveform when the motor-operated valve is in the first rotation permissive state and is cold. Figure 17 is a diagram showing an example of a voltage waveform when the motor-operated valve is in the first rotation permissive state and is warmed up. Figure 18 is a diagram showing an example of a voltage waveform when the motor-operated valve is in the first rotation permissive state and is sufficiently warmed up. Figure 19 is a diagram showing an example of a voltage waveform when the motor-operated valve is in the first rotation restricted state. Figure 20 is a diagram showing an example of a data table of reference voltage waveforms. Figure 21 is a diagram showing examples of voltage waveforms and reference voltage waveforms.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[0055] The A-phase stator 61 and the B-phase stator 62 are arranged coaxially. The A-phase stator 61 is in contact with the B-phase stator 62. When viewed from the direction of the axis L, the angle between the pole teeth 61 a of the A-phase stator 61 and the pole teeth 62 a of the B-phase stator 62, which are adjacent to each other, is 7.5 degrees. In other words, the B-phase stator 62 is located at a position rotated 7.5 degrees around the axis L with respect to the A-phase stator 61 from the position where the pole teeth 61 a and the pole teeth 62 a are aligned in the direction of the axis L. As shown in FIG. 7A , terminals A1 and A2 of the coil 61 c of the A-phase stator 61 and terminals B1 and B2 of the coil 62 c of the B-phase stator 62 are connected to the motor-operated valve control device 70 (motor driver 77).

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

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

[0058] Pulses P[1] to P[8] shown in FIG. 7B are input to the stepping motor 66 in sequence. The combination of the drive current supplied to the A-phase stator 61 and the drive current supplied to the B-phase stator 62 varies for each pulse P. The number of combinations is eight, which is referred to as the number of patterns of pulse P. A "pattern" is also called a "switching mode." The numbers (1 to 8) of pulses P[1] to P[8] are pattern numbers that identify pulses P[1] to P[8]. For example, the period of pulse P is 8 ms, and one period T including pulses P[1] to P[8] is 64 ms.

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

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

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

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

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

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

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

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

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

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

[0069] The motor driver 77 supplies a driving current to the stepping motor 66 based on a pulse P input from the computer 80. As shown in Fig. 7A, the motor driver 77 is connected to the terminals A1 and A2 of the coil 61c of the A-phase stator 61 and the terminals B1 and B2 of the coil 62c of the B-phase stator 62.

[0070] Fig. 7B shows an example of the correspondence between the pulse P and the drive current supplied by the motor driver 77. In Fig. 7B, (+) indicates that a drive current is supplied from terminal A1 to terminal A2 or from terminal B1 to terminal B2, (-) indicates that a drive current is supplied from terminal A2 to terminal A1 or from terminal B2 to terminal B1, and (0) indicates that no drive current is supplied.

[0071] When the motor driver 77 receives a pulse P[1] from the computer 80, it supplies a drive current (+) from the terminal A1 to the terminal A2 to the coil 61c, and does not supply a drive current (0) to the coil 62c.

[0072] When the motor driver 77 receives a pulse P[2] from the computer 80, it supplies a driving current (+) from terminal A1 to terminal A2 to the coil 61c, and a driving current (+) from terminal B1 to terminal B2 to the coil 62c.

[0073] When the motor driver 77 receives the pulse P[3] from the computer 80, it does not supply a driving current to the coil 61c (0) and supplies a driving current from the terminal B1 to the terminal B2 to the coil 62c (+).

[0074] When the motor driver 77 receives the pulse P[4] from the computer 80, it supplies a drive current (-) from terminal A2 to terminal A1 to the coil 61c, and a drive current (+) from terminal B1 to terminal B2 to the coil 62c.

[0075] When the motor driver 77 receives the pulse P[5] from the computer 80, it supplies a drive current (-) from the terminal A2 to the terminal A1 to the coil 61c, and does not supply a drive current (0) to the coil 62c.

[0076] When the motor driver 77 receives a pulse P[6] from the computer 80, it supplies a drive current (-) from terminal A2 to terminal A1 to the coil 61c, and a drive current (-) from terminal B2 to terminal B1 to the coil 62c.

[0077] When the motor driver 77 receives the pulse P[7] from the computer 80, it does not supply a drive current to the coil 61c (0) and supplies a drive current from the terminal B2 to the terminal B1 to the coil 62c (-).

[0078] When the motor driver 77 receives a pulse P[8] from the computer 80, it supplies a driving current (+) from terminal A1 to terminal A2 to the coil 61c, and a driving current (-) from terminal B2 to terminal B1 to the coil 62c.

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

[0080] Rotation control unit 81 inputs pulses P to stepping motor 66 to rotate rotor 41 in a first direction or a second direction. Specifically, rotation control unit 81 inputs pulses P[1] to P[8] to motor driver 77 based on a command received from air conditioner control device 110. Motor driver 77 supplies drive current to coil 61c of A-phase stator 61 and coil 62c of B-phase stator 62 in accordance with the input pulses P[1] to P[8].

[0081] The voltage acquisition unit 82 acquires the voltage generated in the stator 60 due to the rotation of the rotor 41 , that is, the voltage electromagnetically induced in the stator 60 .

[0082] Specifically, voltage acquisition unit 82 acquires, in a time series manner, voltage VB generated between terminals B1 and B2 of coil 62c of B-phase stator 62 when rotation control unit 81 supplies drive current only to coil 61c of A-phase stator 61 in response to pulses P[1] and P[5]. Voltage acquisition unit 82 acquires, in a time series manner, voltage VA generated between terminals A1 and A2 of coil 61c of A-phase stator 61 when rotation control unit 81 supplies drive current only to coil 62c of B-phase stator 62 in response to pulses P[3] and P[7]. Voltage acquisition unit 82 does not acquire voltage VA or voltage VB when rotation control unit 81 supplies drive current to coil 61c and coil 62c in response to pulses P[2], P[4], P[6], and P[8]. In the following description, "voltage VA and voltage VB" will be simply referred to as "voltage V."

[0083] Voltage acquiring unit 82 may acquire voltage V in time series when rotation control unit 81 supplies drive current to coils 61c and 62c in response to pulses P[1] to P[8]. In this configuration, voltage acquiring unit 82 separates a voltage component associated with electromagnetic induction from the voltage generated between terminals A1 and A2, and designates this voltage component as voltage VA. Voltage acquiring unit 82 separates a voltage component associated with electromagnetic induction from the voltage generated between terminals B1 and B2, and designates this voltage component as voltage VB.

[0084] The voltage acquiring unit 82 acquires the voltage V in time series at a predetermined sampling period during the period from the start to the end of the pulse P. For example, the period from the start to the end of the pulse P is 8 ms, and the sampling period is 200 μs. For example, the voltage acquiring unit 82 acquires the voltage V 40 times in response to the input of one pulse P[k] (k=1, 3, 5, 7).

[0085] The voltage V acquired over time is the waveform of the voltage V. In this specification, a "waveform" refers to a temporal change in a physical quantity (voltage) at a fixed point. When a "waveform" is visualized, it is expressed on a coordinate plane with the physical quantity on the vertical axis and time on the horizontal axis. The term "waveform" also includes invisible data such as a data table in which physical quantity data and time data are associated and stored in the RAM of the computer 80 or the nonvolatile memory 75. Furthermore, the "area of ​​a waveform" refers to the area of ​​the region enclosed by the waveform and the horizontal axis when the waveform is expressed on a coordinate plane with the physical quantity on the vertical axis and time on the horizontal axis corresponding to a physical quantity of 0.

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

[0087] FIGS. 16 to 19 show examples of the waveform of the voltage VB when the rotor 41 is rotated in the first direction (i.e., when the motor-operated valve 5 is operated). FIG. 16 shows an example of the waveform of the voltage VB immediately after the motor-operated valve 5 in the first rotation permissive state Sp1 starts operating, i.e., shows an example of the waveform of the voltage VB when the motor-operated valve 5 is cold. FIG. 17 shows an example of the waveform of the voltage VB when the operation of the motor-operated valve 5 in the first rotation permissive state Sp1 has progressed, i.e., shows an example of the waveform of the voltage VB when the motor-operated valve 5 has warmed up. FIG. 18 shows an example of the waveform of the voltage VB when the operation of the motor-operated valve 5 in the first rotation permissive state Sp1 has further progressed, i.e., shows an example of the waveform of the voltage VB when the motor-operated valve 5 has sufficiently warmed up. FIG. 19 shows an example of the waveform of the voltage VB of the motor-operated valve in the first rotation restricted state Sr1. In FIGS. 16 to 19, the vertical axis represents voltage, and the horizontal axis represents time.

[0088] The waveform of voltage VB when motor-operated valve 5 is cold (FIG. 16) is different from the waveform of voltage VB when motor-operated valve 5 is warmed up (FIGS. 17 and 18). The waveform of voltage VB gradually changes (FIGS. 16 and 17) until motor-operated valve 5 is sufficiently warmed up, and then the waveform of voltage VB stabilizes (FIG. 18). This is presumably because, when motor-operated valve 5 operates, stator 60 generates heat, warming the refrigerant in can 20 and reducing the viscosity of the refrigerating machine oil contained in the refrigerant.

[0089] Furthermore, the waveform of the voltage VB when the motor-operated valve 5 is in the first rotation permitted state Sp1 (FIGS. 16 to 18) is different from the waveform of the voltage VB when the motor-operated valve 5 is in the first rotation restricted state Sr1 (FIG. 19). Therefore, by setting the waveform of the voltage V when the motor-operated valve 5 is warmed up (preferably when it is sufficiently warmed up) as the reference waveform of the voltage V and comparing the waveform of the voltage V obtained after setting the reference waveform with the reference waveform of the voltage V, it can be determined whether the motor-operated valve 5 is in the first rotation permitted state Sp1 or the first rotation restricted state Sr1.

[0090] The state determination unit 83 compares the waveform of the voltage V with a reference waveform of the voltage V to determine the state of the motor-operated valve 5 .

[0091] Furthermore, the state determination unit 83 compares the waveform of the voltage V with a reference waveform of the voltage V to determine whether the waveform of the voltage V resembles the reference waveform of the voltage V. Even when the waveform of the voltage V is the same as the reference waveform of the voltage V, the state determination unit 83 determines that "the waveform of the voltage V resembles the reference waveform of the voltage V."

[0092] The reference waveform setting unit 84 sets a reference waveform of the voltage V. The reference waveform of the voltage VA is set based on the voltage VA acquired by the voltage acquiring unit 82. The reference waveform of the voltage VB is set based on the voltage VB acquired by the voltage acquiring unit 82. The reference waveform setting unit 84 stores the reference waveform of the voltage VA and the reference waveform of the voltage VB in the nonvolatile memory 75. The reference waveform setting unit 84 may store the reference waveform of the voltage VA and the reference waveform of the voltage VB in the RAM of the computer 80.

[0093] The reference waveforms of voltage VA are set for pulses P[3] and P[7], respectively, based on the waveform of voltage VA obtained when a drive current is supplied only to coil 62 c of B-phase stator 62 in response to pulses P[3] and P[7] input to stepping motor 66 when rotor 41 is rotated in the first direction.

[0094] The reference waveforms of voltage VB are set for pulses P[1] and P[5], respectively, based on the waveform of voltage VB obtained when a drive current is supplied only to coil 61 c of A-phase stator 61 in response to pulses P[1] and P[5] input to stepping motor 66 when rotor 41 is rotated in the first direction.

[0095] The pulses P[1], P[3], P[5] and P[7] input to the stepping motor 66 when rotating the rotor 41 in the first direction are first direction pulses.

[0096] In the electric valve device 1, the reference waveform of the voltage V is set for some of the pulses P (P[1], P[3], P[5], P[7]), and is not set for the remaining pulses P (P[2], P[4], P[6], P[8]).

[0097] The reference waveform of the voltage V is stored in the nonvolatile memory 75 as a data table.

[0098] Nonvolatile memory 75 stores reference waveform tables C[3] and C[7], which are reference waveforms of voltage VA set for pulses P[3] and P[7]. Nonvolatile memory 75 stores reference waveform tables C[1] and C[5], which are reference waveforms of voltage VB set for pulses P[1] and P[5].

[0099] FIG. 20 shows an example of the reference waveform table C[1]. In the data table, times t at predetermined intervals from the start of the pulse P (time 0) are associated with the reference voltage rv at that time t. The interval between the times t is the same as the sampling period (200 μs) of the voltage acquisition unit 82. One data table has 40 pairs of time t and reference voltage rv. In FIG. 20, the unit of time t is μs. The unit of the reference voltage rv is mV. The units of time t and reference voltage rv may be unique units, such as units corresponding to the sampling period and resolution of the A / D converter of the motor-operated valve control device 70.

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

[0101] When the voltage acquisition unit 82 acquires a voltage v (voltage V) at acquisition time tv in response to the input of a pulse P[k] (k = 1, 3, 5, 7), the state determination unit 83 reads out a reference voltage rv associated with time t corresponding to the acquisition time tv from a data table of reference waveforms corresponding to the pulse P[k] (reference waveform table C[k]). The state determination unit 83 calculates a value (difference value dv) obtained by subtracting the reference voltage rv from the voltage v acquired by the voltage acquisition unit 82. The state determination unit 83 calculates a value (intermediate value dv2) obtained by squaring the difference value dv. The state determination unit 83 calculates a dissimilarity index value sv[k] by adding together the multiple intermediate values ​​dv2 calculated in response to the input of the pulse P[k].

[0102] The state determination unit 83 calculates the dissimilarity index value sv[k] using the voltage v acquired by the voltage acquisition unit 82 during a portion of the period from the start to the end of the pulse P[k]. Specifically, if a first period p1 is defined as the period from the start of the pulse P[k] to time t1 and a second period p2 is defined as the period from time t1 to time t2, the state determination unit 83 calculates the dissimilarity index value sv[k] using the voltage v during the second period p2. Time t1 is a time after the start of the pulse P[k]. Time t2 is a time after time t1 and before the end of the pulse P[k]. Time t2 may be the end of the pulse P[k]. FIG. 21 shows an example of the waveform of the voltage VB acquired in response to the input of the pulse P[1] (solid line: "acquired waveform") and the reference waveform of the voltage VB (dashed line). 21, the length of the vertical line connecting the waveform of voltage VB and the reference waveform of voltage VB during the second period p2 corresponds to the difference value dv used to calculate the dissimilarity index value sv[1]. The state determination unit 83 does not use the voltage v during the first period p1 to calculate the dissimilarity index value sv[k].

[0103] The voltage v may include a voltage component (the former voltage component) related to the back electromotive force due to the inductance of the coil of the stator 60 and a voltage component (the latter voltage component) related to electromagnetic induction due to the rotation of the rotor 41. A little after the start of the pulse P[k], the former voltage component is larger than the latter voltage component, and the former voltage component decreases over time. Therefore, the state determination unit 83 calculates the difference index value sv[k] using the voltage v acquired by the voltage acquisition unit 82 after a certain amount of time has elapsed since the start of the pulse P[k]. Specifically, the state determination unit 83 calculates the difference index value sv[k] using the voltage v acquired by the voltage acquisition unit 82 after the former voltage component becomes smaller than the latter voltage component. This relatively increases the proportion of the latter voltage component in the voltage v, allowing the state determination unit 83 to determine the state of the motor-operated valve 5 with higher accuracy.

[0104] The length of the first period p1 is 5 to 50% of the period from the start to the end of the pulse P[k], preferably 20 to 30%. The length of the second period p2 is 50 to 95% of the period from the start to the end of the pulse P[k], preferably 70 to 80%. In the voltage v acquired by the voltage acquisition unit 82 during the second period p2, the voltage component related to the back electromotive force due to the inductance of the coil of the stator 60 is smaller than the voltage component related to the electromagnetic induction due to the rotation of the rotor 41. Note that the state determination unit 83 may calculate the dissimilarity index value sv[k] using the voltage v acquired by the voltage acquisition unit 82 during the period from the start to the end of the pulse P[k] (the entire period). In this configuration, the start of the pulse P[k] is time t1, and the end of the pulse P[k] is time t2.

[0105] When the voltage v acquired at an acquisition time tv between time t1 and time t2 is defined as v[tv], and the reference voltage rv associated with the time t corresponding to the acquisition time tv in the reference waveform data table is defined as rv[tv], the dissimilarity index value sv is expressed by the following equation (1):

[0106]

[0107] The state determination unit 83 determines the state of the motor-operated valve 5 based on the difference index value sv[k]. Specifically, the state determination unit 83 compares the difference index value sv[k] with a predetermined difference determination value H. Based on the comparison result between the difference index value sv[k] and the difference determination value H, the state determination unit 83 determines whether the motor-operated valve 5 is in the first rotation permitted state Sp1 or the first rotation restricted state Sr1. Note that the state determination unit 83 determines that the motor-operated valve 5 is in the first rotation permitted state Sp1 when pulses P[2], P[4], P[6], and P[8] that rotate the rotor 41 in the first direction are input to the stepping motor 66. The motor-operated valve control device 70 may have a difference determination value H[k] corresponding to the difference index value sv[k]. The difference determination values ​​H[k] may be the same value or different values.

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

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

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

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

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

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

[0114] In steps S430 and S440, the motor-operated valve control device 70 acquires the voltage V in response to the input of the pulse P[k] (k=1, 3, 5, 7), and stores the waveform of the voltage V as a reference waveform (reference waveform table C[k]) of the voltage V in the non-volatile memory 75. In other words, the motor-operated valve control device 70 sets the reference waveform of the voltage V.

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

[0116] The motor-operated valve control device 70 acquires the waveform of the voltage V (S450), and calculates the dissimilarity index value sv[k] (S460).

[0117] Specifically, the motor-operated valve control device 70 acquires a voltage V corresponding to the input of a pulse P[k]. The motor-operated valve control device 70 calculates a dissimilarity index value sv[k] using the waveform of the voltage V corresponding to the pulse P[k] and a reference waveform of the voltage V (reference waveform table C[k]).

[0118] The motor-operated valve control device 70 determines whether the waveform of the voltage V and the reference waveform of the voltage V are similar at the end of the pulse P[k] (S470).

[0119] Specifically, the motor-operated valve control device 70 compares the dissimilarity index value sv[k] with the similarity determination value G. When the dissimilarity index value sv[k] is equal to or smaller than the similarity determination value G, the motor-operated valve control device 70 determines that the waveform of the voltage V used to calculate the dissimilarity index value sv[k] is similar to the reference waveform of the voltage V. When the dissimilarity index value sv[k] is larger than the similarity determination value G, the motor-operated valve control device 70 determines that the waveform of the voltage V used to calculate the dissimilarity index value sv[k] is not similar to the reference waveform of the voltage V.

[0120] When the electric valve control device 70 determines that the waveform of the voltage V is similar to the reference waveform of the voltage V (Y in S480), it stores the waveform of the voltage V in the non-volatile memory 75 as a new reference waveform of the voltage V (S490).

[0121] When the motor-operated valve control device 70 determines that the waveform of the voltage V is not similar to the reference waveform of the voltage V (N in S480), it maintains the current reference waveform of the voltage V. In other words, the motor-operated valve control device 70 does not update the reference waveform of the voltage V.

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

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

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

[0125] The motor-operated valve control device 70 acquires the waveform of the voltage V (S610), and calculates the dissimilarity index value sv[k] (S620).

[0126] Specifically, the motor-operated valve control device 70 acquires a voltage V corresponding to the input of a pulse P[k]. The motor-operated valve control device 70 calculates a dissimilarity index value sv[k] using the waveform of the voltage V corresponding to the pulse P[k] and a reference waveform of the voltage V (reference waveform table C[k]).

[0127] The motor-operated valve control device 70 determines whether or not the waveform of the voltage V resembles the reference waveform of the voltage V at the end of the pulse P[k] (S622). In step S622, the motor-operated valve control device 70 performs the same operation as in step S470.

[0128] When the motor-operated valve control device 70 determines that the waveform of the voltage V is similar to the reference waveform of the voltage V (Y in S624), it stores the waveform of the voltage V in the non-volatile memory 75 as a new reference waveform of the voltage V (S626). Then, the motor-operated valve control device 70 proceeds to step S650.

[0129] When the motor-operated valve control device 70 determines that the waveform of the voltage V is not similar to the reference waveform of the voltage V (N in S624), it maintains the current reference waveform of the voltage V. Then, the motor-operated valve control device 70 proceeds to step S630.

[0130] It should be noted that the operation of setting the reference waveform in the positioning operation (S622 to S626) may be omitted in Operation Example 1. In this case, the motor-operated valve control device 70 proceeds from step S620 to step S630.

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

[0132] Specifically, the motor-operated valve control device 70 compares the discrepancy index value sv[k] with the discrepancy determination value H, and compares the discrepancy index value sv[j] (j=k−2 when k=3, 5, 7, j=7 when k=1) calculated immediately before the discrepancy index value sv[k] with the discrepancy determination value H. When the discrepancy index value sv[k] is equal to or greater than the discrepancy determination value H and the discrepancy index value sv[j] is equal to or greater than the discrepancy determination value H, the motor-operated valve control device 70 determines that the motor-operated valve 5 is in the first rotation restricted state Sr1. When the motor-operated valve control device 70 determines that the motor-operated valve 5 is in the first rotation restricted state Sr1, it stores the number g immediately preceding j (g=j−1 when j=3, 5, 7, g=8 when j=1) in the non-volatile memory 75 as the start pattern number Nx. The electric valve control device 70 determines that the electric valve 5 is in the first rotation-permitted state Sp1 when the difference index value sv[k] is smaller than the difference judgment value H, or when the difference index value sv[j] is smaller than the difference judgment value H.

[0133] Alternatively, the motor-operated valve control device 70 may compare only the discrepancy index value sv[k] with the discrepancy determination value H to determine the state of the motor-operated valve 5. Specifically, the motor-operated valve control device 70 compares the discrepancy index value sv[k] with the discrepancy determination value H, and then compares the discrepancy index value sv[k] calculated for a period T[n-1] immediately preceding a period T[n] (n is a natural number) related to the discrepancy index value sv[k] with the discrepancy determination value H. The motor-operated valve control device 70 determines that the motor-operated valve 5 is in the first rotation restricted state Sr1 when the discrepancy index value sv[k] related to the period T[n] is equal to or greater than the discrepancy determination value H and the discrepancy index value sv[k] related to the period T[n-1] is equal to or greater than the discrepancy determination value H. Note that the motor-operated valve control device 70 may also determine that the motor-operated valve 5 is in the first rotation restricted state Sr1 when all of a plurality of discrepancy index values ​​sv[k] related to three or more consecutive periods T are equal to or greater than the discrepancy determination value H. When the motor-operated valve control device 70 determines that the motor-operated valve 5 is in the first rotation restricted state Sr1, it stores the number g immediately preceding k (when k=3, 5, 7, g=k−1, and when k=1, g=8) as the start pattern number Nx in the non-volatile memory 75. When the difference index value sv[k] for the period T[n] is smaller than the difference determination value H, or when the difference index value sv[k] for the period T[n−1] is smaller than the difference determination value H, the motor-operated valve control device 70 determines that the motor-operated valve 5 is in the first rotation permitted state Sp1.

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

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

[0136] When the motor-operated valve 5 is in the first rotation permitted state Sp1 and the number of pulses P input to the stepping motor 66 in the first preparatory operation and the positioning operation exceeds the initialization number Ni (N in S640, Y in S650), the motor-operated valve control device 70 determines that the motor-operated valve 5 has failed. The motor-operated valve control device 70 then notifies the air conditioner control device 110 that the initialization operation has failed (S670) and stops inputting pulses P to the stepping motor 66 (S680). The motor-operated valve control device 70 then ends the positioning operation (i.e., the initialization operation).

[0137] If the initialization operation is successful, the rotor 41 is positioned at the reference position Rx. When rotating the rotor 41 from the reference position Rx in the second direction, the motor-operated valve control device 70 inputs pulses P to the stepping motor 66 in descending order. At this time, the motor-operated valve control device 70 starts inputting pulses P from the pulse P with the same pattern number as the start pattern number Nx. For example, when the start pattern number Nx is [6], the motor-operated valve control device 70 starts inputting pulses P in descending order from pulse P [6].

[0138] In the first operational example, steps S430, S450, and S610 correspond to a voltage obtaining step, steps S440, S490, and S626 correspond to a reference waveform setting step, and step S630 corresponds to a state determining step.

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

[0140] In operation example 2, nonvolatile memory 75 stores a reference waveform of voltage V (reference waveform table C[k]), a first reference waveform of voltage V (first reference waveform table C1[k]), and a second reference waveform of voltage V (second reference waveform table C2[k]). The first reference waveform table C1[k] and the second reference waveform table C2[k] have the same configuration as reference waveform table C[k].

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

[0142] (First Preparatory Operation) When the first preparatory operation is started, the reference waveform of the voltage V, the first reference waveform of the voltage V, and the second reference waveform of the voltage V are not yet set.

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

[0144] In step S740, the motor-operated valve control device 70 acquires the voltage V in response to the input of the pulse P[k] (k=1, 3, 5, 7), and stores the waveform of the voltage V as a first reference waveform of the voltage V (first reference waveform table C1[k]) in the non-volatile memory 75. In other words, the motor-operated valve control device 70 sets the first reference waveform of the voltage V.

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

[0146] The motor-operated valve control device 70 acquires the waveform of the voltage V (S750), and calculates the first difference index value sv1[k] (S760).

[0147] Specifically, the motor-operated valve control device 70 acquires a voltage V in response to an input of a pulse P[k]. The motor-operated valve control device 70 calculates a first difference index value sv1[k] using the waveform of the voltage V corresponding to the pulse P[k] and a first reference waveform (first reference waveform table C1[k]) of the voltage V. The motor-operated valve control device 70 calculates the first difference index value sv1[k] in the same manner as for the difference index value sv[k].

[0148] The motor-operated valve control device 70 determines whether or not the waveform of the voltage V is similar to the first reference waveform of the voltage V at the end of the pulse P[k] (S770).

[0149] Specifically, the motor-operated valve control device 70 compares the first difference index value sv1[k] with the similarity determination value G. When the first difference index value sv1[k] is equal to or smaller than the similarity determination value G, the motor-operated valve control device 70 determines that the waveform of the voltage V used to calculate the first difference index value sv1[k] is similar to the first reference waveform of the voltage V. When the first difference index value sv1[k] is larger than the similarity determination value G, the motor-operated valve control device 70 determines that the waveform of the voltage V used to calculate the first difference index value sv1[k] is not similar to the first reference waveform of the voltage V.

[0150] When the electric valve control device 70 determines that the waveform of the voltage V is similar to the first reference waveform of the voltage V (Y in S780), it stores the waveform of the voltage V in the non-volatile memory 75 as a new first reference waveform of the voltage V (S790).

[0151] When the motor-operated valve control device 70 first determines that the waveform of the voltage V is not similar to the first reference waveform of the voltage V (N in S780), it stores the waveform of the voltage V in the non-volatile memory 75 as the second reference waveform of the voltage V (second reference waveform table C2[k]) (S820). In other words, the motor-operated valve control device 70 sets the second reference waveform of the voltage V.

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

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

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

[0155] The motor-operated valve control device 70 acquires the waveform of the voltage V (S830), and calculates the first difference index value sv1[k] and the second difference index value sv2[k] (S840).

[0156] Specifically, the motor-operated valve control device 70 acquires a voltage V in response to the input of a pulse P[k]. The motor-operated valve control device 70 calculates a first difference index value sv1[k] using the waveform of the voltage V corresponding to the pulse P[k] and a first reference waveform of the voltage V (first reference waveform table C1[k]). The motor-operated valve control device 70 calculates a second difference index value sv2[k] using the waveform of the voltage V corresponding to the pulse P[k] and a second reference waveform of the voltage V (second reference waveform table C2[k]). The motor-operated valve control device 70 calculates the first difference index value sv1[k] and the second difference index value sv2[k] in the same manner as for the difference index value sv[k].

[0157] The electric valve control device 70 determines whether the waveform of the voltage V and the first reference waveform of the voltage V are similar at the end of the pulse P[k], and determines whether the waveform of the voltage V and the second reference waveform of the voltage V are similar (S850).

[0158] Specifically, the motor-operated valve control device 70 compares the first difference index value sv1[k] with the similarity determination value G. When the first difference index value sv1[k] is equal to or smaller than the similarity determination value G, the motor-operated valve control device 70 determines that the waveform of the voltage V used to calculate the first difference index value sv1[k] is similar to the first reference waveform of the voltage V. When the first difference index value sv1[k] is larger than the similarity determination value G, the motor-operated valve control device 70 determines that the waveform of the voltage V used to calculate the first difference index value sv1[k] is not similar to the first reference waveform of the voltage V.

[0159] The motor-operated valve control device 70 compares the second difference index value sv2[k] with the similarity determination value G. When the second difference index value sv2[k] is equal to or smaller than the similarity determination value G, the motor-operated valve control device 70 determines that the waveform of the voltage V used to calculate the second difference index value sv2[k] is similar to the second reference waveform of the voltage V. When the second difference index value sv2[k] is larger than the similarity determination value G, the motor-operated valve control device 70 determines that the waveform of the voltage V used to calculate the second difference index value sv2[k] is not similar to the second reference waveform of the voltage V.

[0160] When the electric valve control device 70 determines that the waveform of voltage V is similar to the first reference waveform of voltage V and that the waveform of voltage V is not similar to the second reference waveform of voltage V (Y in S860, N in S870), it stores the waveform of voltage V in non-volatile memory 75 as a new first reference waveform of voltage V (S900).

[0161] When the electric valve control device 70 determines that the waveform of voltage V is not similar to the first reference waveform of voltage V and that the waveform of voltage V is similar to the second reference waveform of voltage V (N in S860, Y in S880), it stores the waveform of voltage V in non-volatile memory 75 as a new second reference waveform of voltage V (S910).

[0162] When the electric valve control device 70 determines that the waveform of the voltage V is not similar to the first reference waveform of the voltage V and that the waveform of the voltage V is not similar to the second reference waveform of the voltage V (N in S860, N in S880), it maintains the current first reference waveform of the voltage V and maintains the current second reference waveform of the voltage V.

[0163] When the electric valve control device 70 determines that the waveform of voltage V is similar to the first reference waveform of voltage V and also determines that the waveform of voltage V is similar to the second reference waveform of voltage V (Y in S860, Y in S870), it determines whether the waveform of voltage V is similar to the first reference waveform or the second reference waveform of voltage V (S890).

[0164] Specifically, the motor-operated valve control device 70 compares the first difference index value sv1[k] with the second difference index value sv2[k]. When the first difference index value sv1[k] is equal to or less than the second difference index value sv2[k] (sv1[k]≦sv2[k]), the motor-operated valve control device 70 determines that the waveform of voltage V is more similar to the first reference waveform of voltage V than to the second reference waveform of voltage V. When the first difference index value sv1[k] is greater than the second difference index value sv2[k] (sv1[k]>sv2[k]), the motor-operated valve control device 70 determines that the waveform of voltage V is more similar to the second reference waveform of voltage V than to the first reference waveform of voltage V.

[0165] When the electric valve control device 70 determines that the waveform of voltage V is more similar to the first reference waveform of voltage V than to the second reference waveform of voltage V (Y in S890), it stores the waveform of voltage V in the non-volatile memory 75 as a new first reference waveform of voltage V (S900).

[0166] When the electric valve control device 70 determines that the waveform of voltage V is more similar to the second reference waveform of voltage V than to the first reference waveform of voltage V (N in S890), it stores the waveform of voltage V in non-volatile memory 75 as a new second reference waveform of voltage V (S910).

[0167] In addition, when the electric valve control device 70 determines that the waveform of voltage V is similar to the first reference waveform of voltage V and also determines that the waveform of voltage V is similar to the second reference waveform of voltage V (Y in S860, Y in S870), it may store the waveform of voltage V in non-volatile memory 75 as a new first reference waveform of voltage V and store the waveform of voltage V in non-volatile memory 75 as a new second reference waveform of voltage V.

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

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

[0170] In the second operational example, steps S730, S750, and S830 correspond to a voltage obtaining step, steps S740, S790, S810, S820, S900, S910, S930, and S626 correspond to a reference waveform setting step, and step S630 corresponds to a state determining step.

[0171] The motor-operated valve device 1 includes a motor-operated valve 5 and a motor-operated valve control device 70. The motor-operated valve 5 includes a valve body 10 having a valve port 17, a stepping motor 66 having a rotor 41 and a stator 60, a valve element 30 that faces the valve port 17 and moves toward the valve port 17 when the rotor 41 rotates in a first direction, and a stopper mechanism 49 that restricts rotation of the rotor 41 in the first direction when the rotor 41 is at a reference position Rx.

[0172] The motor-operated valve control device 70 inputs pulses P to the stepping motor 66 to rotate the rotor 41 (rotation control unit 81). The motor-operated valve control device 70 acquires the voltage V generated in the stator 60 due to the rotation of the rotor 41 in the first direction (voltage acquisition unit 82). The motor-operated valve control device 70 determines whether the motor-operated valve 5 is in the first rotation restriction state Sr1 based on the degree of difference between the waveform of the voltage V and a reference waveform of the voltage V (state determination unit 83). The motor-operated valve control device 70 sets the reference waveform of the voltage V (reference waveform setting unit 84). The motor-operated valve control device 70 performs a second preparatory operation by inputting pulses P of a second preparation number N2 to the stepping motor 66 to rotate the rotor 41 in the second direction. Following the second preparatory operation, the motor-operated valve control device 70 performs a first preparatory operation by inputting pulses P of a first preparation number N1 to the stepping motor 66 to rotate the rotor 41 in the first direction. The first preparation number N1 is the same as the second preparation number N2. The motor-operated valve control device 70 sets the waveform of the voltage V acquired during the first preparation operation as the reference waveform of the voltage V.

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

[0174] Furthermore, the motor-operated valve control device 70 determines the state of the motor-operated valve 5 based on the degree of difference between the waveform of the voltage V and the reference waveform of the voltage V. Therefore, the state of the motor-operated valve 5 can be determined with higher accuracy compared to a configuration in which the state of the motor-operated valve 5 is determined based on the area of ​​the waveform of the voltage V or the maximum amplitude of the waveform of the voltage V. Note that the motor-operated valve control device 70 may also determine the state of the motor-operated valve 5 based on the difference between the waveform of the voltage V and the reference waveform of the voltage V. For example, the motor-operated valve control device 70 may determine whether the motor-operated valve 5 is in the first rotation restricted state Sr1 based on the difference between the area of ​​the waveform of the voltage V and the area of ​​the reference waveform of the voltage V, or the difference between the amplitude of the waveform of the voltage V and the amplitude of the reference waveform of the voltage V.

[0175] Furthermore, the motor-operated valve control device 70 sets the waveform of the voltage V acquired some time after the motor-operated valve 5 starts operating as the reference waveform of the voltage V. Therefore, a relatively stable waveform of the voltage V acquired actually using the motor-operated valve 5 can be used as the reference waveform of the voltage V, and the state of the motor-operated valve 5 can be determined with higher accuracy.

[0176] Furthermore, the motor-operated valve control device 70 determines whether the motor-operated valve 5 is in the first rotation restricted state Sr1 based on the voltage V generated in the stator 60. Therefore, the motor-operated valve control device 70 does not require any components such as a rotation angle sensor for determining the state of the motor-operated valve 5 based on the rotation of the rotor 41, and the motor-operated valve 5 and motor-operated valve control device 70 can be configured simply.

[0177] Furthermore, when the motor-operated valve control device 70 determines that the motor-operated valve 5 is in the first rotation restricted state Sr1, it obtains a start pattern number Nx based on the pattern number of the first direction pulse corresponding to the waveform of the voltage V used for the determination. When the motor-operated valve control device 70 rotates the rotor 41 in the second direction from the reference position Rx, it starts inputting pulses P in descending order from the pulse P with the pattern number that is the same as the start pattern number Nx. In this way, the motor-operated valve control device 70 can control the position of the rotor 41 with higher accuracy.

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

[0179] Furthermore, following the first preparatory operation, the motor-operated valve control device 70 performs a positioning operation by inputting pulses P to the stepping motor 66 to rotate the rotor 41 in the first direction. In Operation Example 1, the motor-operated valve control device 70 performs a determination operation during the first preparatory operation and the positioning operation. A more stable waveform of voltage V obtained by actually using the motor-operated valve 5 can be used as the reference waveform of voltage V, and the state of the motor-operated valve 5 can be determined with higher accuracy.

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

[0181] The reference waveform of the voltage V is a data table set for the first direction pulse, in which time t is associated with a reference voltage rv at that time t. The motor-operated valve control device 70 acquires the voltage V in a time series manner when a first direction pulse is input to the stepping motor 66. When the motor-operated valve control device 70 acquires the voltage v (voltage V) at acquisition time tv corresponding to the input of the first direction pulse, the motor-operated valve control device 70 calculates an intermediate value dv2, which is the square of the difference value dv between the voltage v and the reference voltage rv associated with the time t corresponding to acquisition time tv in the data table set for the first direction pulse input to the stepping motor 66. The motor-operated valve control device 70 calculates a difference index value sv by adding up multiple intermediate values ​​dv2 calculated using the voltage v acquired in response to the input of the first direction pulse. The difference index value sv is calculated using the above formula (1). In this way, the difference index value sv appropriately reflects the degree of difference in the waveform shapes, unlike the waveform area and maximum amplitude. Therefore, the motor-operated valve control device 70 can determine the state of the motor-operated valve 5 with higher accuracy.

[0182] The dissimilarity index value sv is not limited to being calculated using the above formula (1). The dissimilarity index value may, for example, relate to the transition of the magnitude of the voltage v at each acquisition time t v . Specifically, when the motor-operated valve control device 70 acquires the voltage v at the acquisition time t v in response to the input of the first direction pulse, it calculates a difference value dv between the acquired voltage v and a reference voltage rv associated with the time t corresponding to the acquisition time t v in a data table set for the pulse P input to the stepping motor 66. The difference value dv is calculated as an absolute value. The motor-operated valve control device 70 determines, as the dissimilarity index value, the number of difference values ​​dv calculated using the voltage v acquired in response to the input of the pulse P that are equal to or greater than a predetermined difference determination value. Such a dissimilarity index value also appropriately reflects the degree of difference in the waveform shapes. Alternatively, the dissimilarity index value may relate to the transition of the slope of the voltage v at each acquisition time t v . The dissimilarity index value is preferably a value that reflects a time series element.

[0183] The motor-operated valve control device 70 also calculates the dissimilarity index value sv by adding together multiple intermediate values ​​dv2 calculated using the voltage v acquired during a second period p2, which is part of the period from the start to the end of the first directional pulse. The voltage component of the voltage v during the second period p2 that relates to the back electromotive force due to the inductance of the stator 60 is smaller than the voltage component of the voltage v that relates to the electromagnetic induction caused by the rotation of the rotor 41. In this way, the proportion of the latter voltage component in the voltage v becomes relatively large, and the motor-operated valve control device 70 can determine the state of the motor-operated valve 5 with higher accuracy.

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

[0185] Furthermore, the motor-operated valve control device 70 performs a determination operation to determine whether the waveform of voltage V and the reference waveform of voltage V are similar based on the degree of difference between the waveform of voltage V acquired during the positioning operation in Operation Example 2 and the reference waveform of voltage V. The motor-operated valve control device 70 starts the determination operation when the positioning operation is started. When the motor-operated valve control device 70 determines in the determination operation that the waveform of voltage V and the reference waveform of voltage V are similar, it sets the waveform of voltage V used in the determination as the reference waveform of voltage V. When the motor-operated valve control device 70 determines in the determination operation that the waveform of voltage V and the reference waveform of voltage V are not similar, it maintains the reference waveform of voltage V. In this way, a more stable waveform of voltage V acquired actually using the motor-operated valve 5 can be used as the reference waveform of voltage V, and the state of the motor-operated valve 5 can be determined with higher accuracy.

[0186] Furthermore, when the motor-operated valve control device 70 determines in the first determination operation that the waveform of voltage V is similar to the first reference waveform of voltage V and determines in the second determination operation that the waveform of voltage V is similar to the second reference waveform of voltage V, (1) if the waveform of voltage V used in the determination is more similar to the first reference waveform of voltage V than to the second reference waveform of voltage V, it sets the waveform of voltage V used in the determination as the first reference waveform of voltage V, and (2) if the waveform of voltage V used in the determination is more similar to the second reference waveform of voltage V than to the first reference waveform of voltage V, it sets the waveform of voltage V used in the determination as the second reference waveform of voltage V. In this way, it is possible to avoid a situation where one waveform of voltage V is set as both the first reference waveform of voltage V and the second reference waveform of voltage V.

[0187] Furthermore, in the first determination operation, the motor-operated valve control device 70 calculates a first difference index value sv1 indicating the degree of difference between the waveform of the voltage V and a first reference waveform of the voltage V, and determines whether the waveform of the voltage V and the first reference waveform of the voltage V are similar or not based on a comparison result between the first difference index value sv1 and the similarity determination value G. In the second determination operation, the motor-operated valve control device 70 calculates a second difference index value sv2 indicating the degree of difference between the waveform of the voltage V and a second reference waveform of the voltage V, and determines whether the waveform of the voltage V and the second reference waveform of the voltage V are similar or not based on a comparison result between the second difference index value sv2 and the similarity determination value G. In this way, the motor-operated valve control device 70 can set the first reference waveform of the voltage V, the second reference waveform of the voltage V, and the reference waveform of the voltage V that are more suitable for the motor-operated valve 5.

[0188] Alternatively, the motor-operated valve control device 70 may perform the second preparatory operation and the first preparatory operation multiple times, and set the waveform of the voltage V acquired during the final first preparatory operation as the reference waveform of the voltage V. In this way, the motor-operated valve 5 can be sufficiently warmed up, and a more stable waveform of the voltage V can be set as the reference waveform of the voltage V.

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

[0190] Furthermore, the stator 60 has an A-phase stator 61 and a B-phase stator 62. The motor-operated valve control device 70 acquires the voltage VB generated in the B-phase stator 62 when a drive current is supplied only to the A-phase stator 61, and acquires the voltage VA generated in the A-phase stator 61 when a drive current is supplied only to the B-phase stator 62. In this manner, the motor-operated valve control device 70 does not need to separate the voltage component related to electromagnetic induction from the voltage generated in the A-phase stator 61, and does not need to separate the voltage component related to electromagnetic induction from the voltage generated in the B-phase stator 62. Therefore, the voltages VA and VB can be acquired with a relatively simple configuration.

[0191] Voltage and current are closely related. Therefore, the motor-operated valve control device 70 may perform Operation Example 1 and Operation Example 2 using the current generated in the stator 60 by the rotation of the rotor 41, instead of the voltage generated in the stator 60 by the rotation of the rotor 41. The configuration using a current waveform also achieves the same effects as the configuration using a voltage waveform.

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

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

[0194] DESCRIPTION OF SYMBOLS 1...motor operated valve device, 5...motor operated valve, 10...valve body, 11...body member, 11a...fitting hole, 11b...through hole, 11d...flat surface, 13...connecting member, 14...valve chamber, 15...first conduit, 16...second conduit, 17...valve port, 18...valve seat, 20...can, 30...valve body, 31...first shaft portion, 32...second shaft portion, 33...valve portion, 34...step portion, 40...drive mechanism, 41...rotor, 41a...fitting hole, 42...valve shaft holder, 42a...upper wall portion, 42b...shaft hole, 42c...female thread, 42s...movable stopper, 43...guide bush, 43a...base portion, 43b...support portion, 43c...male screw, 43d...flat surface, 44...stopper member, 44a...stopper main body, 44c...female screw, 44s...fixed stopper, 45...fixing tool, 45a...fixing portion, 45b...flange portion, 46...washer, 47...valve closing spring, 48...return spring, 49...stopper mechanism, 60...stator, 61...A-phase stator, 61a...pole teeth, 61b...pole teeth, 61c...coil, 62...B-phase stator, 62a...pole teeth, 62b...pole teeth, 62c...coil, 66...stepping motor, 70...electric Valve control device, 71...board, 75...non-volatile memory, 76...communication device, 77...motor driver, 80...computer, 81...rotation control unit, 82...voltage acquisition unit, 83...state determination unit, 84...reference waveform setting unit, 100...air conditioner, 101...compressor, 102...condenser, 103...evaporator, 105...piping, 110...air conditioner control device, 120...wired communication bus, A1...terminal, A2...terminal, B1...terminal, B2...terminal, L...axis, T...period, t1...time, t2...time, p1...first period, p2...second period, C... Reference waveform table, C1...first reference waveform table, C2...second reference waveform table, G...similarity judgment value, H...difference judgment value, Ni...initialization number, Ns...number of strokes, N2...second preparation number, N1...first preparation number, Nx...starting pattern number, P...pulse, Rc...closed valve position, Ro...open valve position, Rx...reference position, Rz...fully open position, Sp1...first rotation permitted state, Sr1...first rotation restricted state, sv...difference index value, sv1...first difference index value, sv2...second difference index value, V...voltage, VA...voltage, VB...voltage

Claims

1. An electric valve control device for controlling an electric valve having a valve body having a valve port, a stepping motor having a rotor and a stator, a valve element facing the valve port and moving towards the valve port when the rotor rotates in a first direction, and a stopper mechanism for restricting rotation of the rotor in the first direction when the rotor is in a reference position, the device comprising: a rotation control unit for inputting pulses to the stepping motor to rotate the rotor; a voltage acquisition unit for acquiring a voltage generated in the stator by the rotation of the rotor in the first direction; a state determination unit for determining whether the electric valve is in a first rotation restricted state in which rotation of the rotor in the first direction is restricted based on a difference between a waveform of the voltage and a reference waveform of the voltage; and a reference waveform setting unit for setting a reference waveform of the voltage; wherein the rotation control unit performs a second preparatory operation by inputting a second ready number of pulses to the stepping motor to rotate the rotor in the second direction, and following the second preparatory operation, performs a first preparatory operation by inputting a first ready number of pulses less than the second ready number to the stepping motor to rotate the rotor in the first direction; The motor-operated valve control device, characterized in that the reference waveform setting unit sets the waveform of the voltage acquired by the voltage acquisition unit during the first preparatory operation as the reference waveform of the voltage.

2. The motor-operated valve control device according to claim 1, wherein the reference voltage waveform is not set when the rotation control unit starts the first preparatory operation, and the state determination unit, after the reference waveform setting unit sets the reference voltage waveform, starts a determination operation for determining whether the voltage waveform acquired by the voltage acquisition unit during the first preparatory operation is similar to the reference voltage waveform, and the reference waveform setting unit, when the number of pulses input to the stepping motor in the first preparatory operation reaches K, sets the voltage waveform acquired by the voltage acquisition unit as the reference voltage waveform, when the state determination unit determines in the determination operation that the voltage waveform and the reference voltage waveform are similar, sets the voltage waveform used in the determination as the reference voltage waveform, and when the state determination unit determines in the determination operation that the voltage waveform and the reference voltage waveform are not similar, maintains the reference voltage waveform, where K is a natural number equal to or greater than 1.

3. The electric valve control device as described in claim 2, wherein, following the first preparatory operation, the rotation control unit performs a positioning operation by inputting a pulse to the stepping motor to rotate the rotor in the first direction, and the state determination unit performs the determination operation to determine whether the voltage waveform acquired by the voltage acquisition unit during the first preparatory operation and the positioning operation is similar to a reference voltage waveform.

4. An electric valve control device as described in claim 2 or claim 3, wherein the state determination unit, in the determination operation, calculates a dissimilarity index value indicating the degree of difference between the voltage waveform and the reference voltage waveform, and determines whether or not the voltage waveform is similar to the reference voltage waveform based on the comparison result between the dissimilarity index value and a similarity determination value.

5. The electric valve control device according to claim 4, wherein the reference waveform of the voltage is a data table in which time is associated with a reference voltage at that time, the reference waveform being set for a first direction pulse, which is a pulse input to the stepping motor to rotate the rotor in the first direction, the voltage acquisition unit acquires the voltage in chronological order when the first direction pulse is input to the stepping motor, the state determination unit, when the voltage acquisition unit acquires the voltage at an acquisition time corresponding to the input of the first direction pulse, calculates an intermediate value which is a squared value of the difference between the voltage and the reference voltage associated with the time corresponding to the acquisition time in the data table set for the first direction pulse input to the stepping motor, and the state determination unit calculates the dissimilarity index value by adding together the multiple intermediate values ​​calculated using the voltage acquired by the voltage acquisition unit in response to the input of the first direction pulse.

6. The electric valve control device according to claim 5, wherein the state determination unit calculates the dissimilarity index value by adding up multiple intermediate values ​​calculated using the voltage acquired by the voltage acquisition unit during a portion of the period from the start to the end of the first directional pulse, and a voltage component related to the back electromotive force due to the inductance of the stator, contained in the voltage during the portion of the period, is smaller than a voltage component related to electromagnetic induction due to rotation of the rotor, contained in the voltage.

7. When the rotation control unit starts the first preparatory operation, the first reference waveform of the voltage and the second reference waveform of the voltage are not set, and the state determination unit, after the reference waveform setting unit sets the first reference waveform of the voltage, starts a first determination operation to determine whether or not the waveform of the voltage acquired by the voltage acquisition unit during the first preparatory operation is similar to the first reference waveform of the voltage, and after the reference waveform setting unit sets the second reference waveform of the voltage, starts a second determination operation to determine whether or not the waveform of the voltage acquired by the voltage acquisition unit during the first preparatory operation is similar to the second reference waveform of the voltage, and the reference waveform setting unit, when the number of pulses input to the stepping motor in the first preparatory operation reaches K, sets the waveform of the voltage acquired by the voltage acquisition unit as the first reference waveform of the voltage, and when the state determination unit determines that the waveform of the voltage and the first reference waveform of the voltage are similar in the first determination operation, sets the waveform of the voltage used in the determination as the first reference waveform of the voltage, when the state determination unit determines in the first determination operation that the waveform of the voltage and the first reference waveform of the voltage are not similar, it maintains the first reference waveform of the voltage; when the state determination unit first determines in the first determination operation that the waveform of the voltage and the first reference waveform of the voltage are not similar, it sets the waveform of the voltage used in the determination as a second reference waveform of the voltage; when the state determination unit determines in the second determination operation that the waveform of the voltage and the second reference waveform of the voltage are similar, it sets the waveform of the voltage used in the determination as the second reference waveform of the voltage; when the state determination unit determines in the second determination operation that the waveform of the voltage and the second reference waveform of the voltage are not similar, it maintains the second reference waveform of the voltage; 2. The motor-operated valve control device according to claim 1, wherein, when the first preparatory operation is completed, if the number of times that the voltage waveform has been set as the first reference waveform of the voltage is greater than the number of times that the voltage waveform has been set as the second reference waveform of the voltage, the first reference waveform of the voltage is set as the reference waveform of the voltage, and, if the number of times that the voltage waveform has been set as the second reference waveform of the voltage is greater than the number of times that the voltage waveform has been set as the first reference waveform of the voltage, the second reference waveform of the voltage is set as the reference waveform of the voltage.Here, K is a natural number equal to or greater than 1.

8. The electric valve control device as described in claim 7, wherein, following the first preparatory operation, the rotation control unit performs a positioning operation by inputting a pulse to the stepping motor to rotate the rotor in the first direction, and when the positioning operation is started, the state determination unit starts a judgment operation to determine whether the voltage waveform acquired by the voltage acquisition unit during the positioning operation is similar to the reference voltage waveform, and when the state determination unit determines in the judgment operation that the voltage waveform and the reference voltage waveform are similar, the reference voltage waveform setting unit sets the voltage waveform used in the judgment as the reference voltage waveform, and when the state determination unit determines in the judgment operation that the voltage waveform and the reference voltage waveform are not similar, maintains the reference voltage waveform.

9. The electric valve control device as described in claim 7, wherein when the state determination unit determines in the first determination operation that the waveform of the voltage is similar to the first reference waveform of the voltage and determines in the second determination operation that the waveform of the voltage is similar to the second reference waveform of the voltage, the reference waveform setting unit: (1) sets the waveform of the voltage used in the determination as the first reference waveform of the voltage when the waveform of the voltage used in the determination is more similar to the first reference waveform of the voltage than the second reference waveform of the voltage; and (2) sets the waveform of the voltage used in the determination as the second reference waveform of the voltage when the waveform of the voltage used in the determination is more similar to the second reference waveform of the voltage than the first reference waveform of the voltage.

10. The electric valve control device as described in claim 7, wherein the state determination unit: in the first determination operation, calculates a first difference index value indicating the degree of difference between the voltage waveform and a first reference voltage waveform, and determines whether or not the voltage waveform and the first reference voltage waveform are similar based on a comparison result between the first difference index value and a similarity determination value; and in the second determination operation, calculates a second difference index value indicating the degree of difference between the voltage waveform and a second reference voltage waveform, and determines whether or not the voltage waveform and the second reference voltage waveform are similar based on a comparison result between the second difference index value and the similarity determination value.

11. The electric valve control device as described in claim 1, wherein the rotation control unit performs the second preparatory operation and the first preparatory operation multiple times, and the reference waveform setting unit sets the voltage waveform acquired by the voltage acquisition unit during the last first preparatory operation as the reference voltage waveform.

12. The motor-operated valve control device according to claim 1, wherein, following the first preparatory operation, the rotation control unit performs a positioning operation by inputting pulses to the stepping motor to rotate the rotor in the first direction, the rotation control unit stops inputting pulses to the stepping motor when the state determination unit determines during the positioning operation that the motor-operated valve is in the first rotation restriction state, and the state determination unit determines that the motor-operated valve has failed when the number of pulses input to the stepping motor in the first preparatory operation and the positioning operation exceeds an initialization number, which is a number sufficient to position the rotor at the reference position.

13. The electric valve control device as described in claim 1, wherein the stator has an A-phase stator and a B-phase stator, and the voltage acquisition unit acquires the voltage generated in the other of the A-phase stator and the B-phase stator when the rotation control unit supplies a drive current to only one of the A-phase stator and the B-phase stator in response to the input of the pulse to the stepping motor.

14. An electric valve control device for controlling an electric valve having a valve body having a valve port, a stepping motor having a rotor and a stator, a valve body facing the valve port and moving toward the valve port when the rotor rotates in a first direction, and a stopper mechanism for restricting rotation of the rotor in the first direction when the rotor is in a reference position, comprising: a rotation control unit for inputting pulses to the stepping motor to rotate the rotor; a current acquisition unit for acquiring a current generated in the stator by the rotation of the rotor in the first direction; a state determination unit for determining whether the electric valve is in a first rotation restriction state in which rotation of the rotor in the first direction is restricted based on a difference between a waveform of the current and a reference waveform of the current; and a reference waveform setting unit for setting a reference waveform of the current, wherein the rotation control unit performs a second preparatory operation by inputting a second ready number of pulses to the stepping motor to rotate the rotor in the second direction, and following the second preparatory operation, performs a first preparatory operation by inputting a first ready number of pulses less than the second ready number to the stepping motor to rotate the rotor in the first direction, The motor-operated valve control device, characterized in that the reference waveform setting unit sets the waveform of the current acquired by the current acquisition unit during the first preparation operation as the reference waveform of the current.

15. A motor-operated valve device comprising the motor-operated valve and the motor-operated valve control device according to claim 1 or 14.

16. A control method for an electric valve having a valve body having a valve port, a stepping motor having a rotor and a stator, a valve body facing the valve port and moving toward the valve port when the rotor rotates in a first direction, and a stopper mechanism for restricting rotation of the rotor in the first direction when the rotor is in a reference position, comprising: a second preparation step of inputting a second preparation number of pulses to the stepping motor to rotate the rotor in the second direction; a first preparation step, subsequent to the second preparation step, of inputting a first preparation number of pulses less than the second preparation number to the stepping motor to rotate the rotor in the first direction; a positioning step, subsequent to the first preparation step, of inputting pulses to the stepping motor to rotate the rotor in the first direction; a voltage acquisition step of acquiring a voltage generated in the stator by the rotation of the rotor in the first direction; and a reference waveform setting step of setting the waveform of the voltage acquired during the first preparation step as a reference waveform of the voltage. and a state determination process for determining whether the motor-operated valve is in a first rotation restriction state in which rotation of the rotor in the first direction is restricted based on a difference between the voltage waveform acquired during the positioning process and a reference voltage waveform.

17. A control method for an electric valve having a valve body having a valve port, a stepping motor having a rotor and a stator, a valve body facing the valve port and moving toward the valve port when the rotor rotates in a first direction, and a stopper mechanism for restricting rotation of the rotor in the first direction when the rotor is in a reference position, comprising: a second preparation step of inputting a second ready number of pulses to the stepping motor to rotate the rotor in the second direction; a first preparation step, subsequent to the second preparation step, of inputting a first ready number of pulses less than the second ready number to the stepping motor to rotate the rotor in the first direction; a positioning step, subsequent to the first preparation step, of inputting pulses to the stepping motor to rotate the rotor in the first direction; a current acquisition step of acquiring a current generated in the stator by the rotation of the rotor in the first direction; and a reference waveform setting step of setting the waveform of the current acquired during the first preparation step as a reference waveform of the current. and a state determination process for determining whether the motor-operated valve is in a first rotation restriction state in which rotation of the rotor in the first direction is restricted based on a difference between the current waveform acquired during the positioning process and a reference current waveform.

Citation Information

Patent Citations

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

    WO2019130928A1

  • Detecting method for stoppage of stepping motor

    JP1983116096A

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

    JP2020016247A

  • Electric valve control device, electric valve device, and method for controlling electric valve

    WO2023053973A1

Cited By

  • Motor valve control device and valve device

    WO2026133609A1