JP2023000262A - Electric valve control device, adjustment device, electric valve control program, and adjustment program - Google Patents

Electric valve control device, adjustment device, electric valve control program, and adjustment program Download PDF

Info

Publication number
JP2023000262A
JP2023000262A JP2021100977A JP2021100977A JP2023000262A JP 2023000262 A JP2023000262 A JP 2023000262A JP 2021100977 A JP2021100977 A JP 2021100977A JP 2021100977 A JP2021100977 A JP 2021100977A JP 2023000262 A JP2023000262 A JP 2023000262A
Authority
JP
Japan
Prior art keywords
excitation pattern
rotor
correction value
rotation
motor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021100977A
Other languages
Japanese (ja)
Inventor
智宏 湯浅
Tomohiro Yuasa
真司 佐伯
Shinji Saeki
靖明 金子
Yasuaki Kaneko
亮直 水嶋
Akinao Mizushima
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TGK Co Ltd
Original Assignee
TGK Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TGK Co Ltd filed Critical TGK Co Ltd
Priority to JP2021100977A priority Critical patent/JP2023000262A/en
Publication of JP2023000262A publication Critical patent/JP2023000262A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Electrically Driven Valve-Operating Means (AREA)
  • Control Of Stepping Motors (AREA)
  • Connection Of Motors, Electrical Generators, Mechanical Devices, And The Like (AREA)

Abstract

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

Description

本発明は電動弁に関し、特にステッピングモータの制御方法に関する。 TECHNICAL FIELD The present invention relates to an electrically operated valve, and more particularly to a method for controlling a stepping motor.

自動車用空調装置は、一般に、圧縮機、凝縮器、膨張装置、蒸発器等を冷凍サイクルに配置して構成される。冷凍サイクルには、膨張装置としての膨張弁など、冷媒の流れを制御するために各種制御弁が設けられている。近年の電気自動車等の普及に伴い、駆動部としてステッピングモータを備える電動弁が広く採用されつつある。 An automobile air conditioner is generally configured by arranging a compressor, a condenser, an expansion device, an evaporator, etc. in a refrigeration cycle. A refrigerating cycle is provided with various control valves, such as an expansion valve as an expansion device, for controlling the flow of refrigerant. 2. Description of the Related Art With the recent spread of electric vehicles and the like, electric valves equipped with stepping motors as drive units are being widely used.

このような電動弁として、弁開度を検出するための磁気センサを備えるものが知られている(たとえば、特許文献1参照)。ロータとともに回転する作動ロッドの一端に弁体が設けられ、他端にマグネット(センサマグネット)が設けられる。そのセンサマグネットと軸線方向に対向するように磁気センサが設けられる。ロータの回転運動は、ねじ送り機構により弁体の軸線運動に変換される。ロータの回転に伴う磁束の変化を磁気センサで捉えることによりセンサマグネットの回転角度ひいては弁体の軸線方向位置を検出でき、弁開度を算出できる。 As such an electric valve, there is known one that includes a magnetic sensor for detecting the degree of opening of the valve (see Patent Document 1, for example). A valve body is provided at one end of an operating rod that rotates with the rotor, and a magnet (sensor magnet) is provided at the other end. A magnetic sensor is provided so as to face the sensor magnet in the axial direction. Rotational motion of the rotor is converted into axial motion of the valve body by the screw feed mechanism. By capturing the change in magnetic flux accompanying the rotation of the rotor with a magnetic sensor, the rotation angle of the sensor magnet and thus the axial position of the valve body can be detected, and the valve opening can be calculated.

電動弁内において上下動する弁体には、制御の基準となる基準位置が設定される。ロータが弁閉方向への回転を続けて「原点」ともよばれる基準位置に至ったとき、ロータはストッパにより回転を規制される(たとえば、特許文献2参照)。 A reference position, which serves as a control reference, is set for the valve body that moves up and down in the electric valve. When the rotor continues to rotate in the valve closing direction and reaches a reference position also called an "origin", the rotation of the rotor is restricted by a stopper (see Patent Document 2, for example).

特開2018-135908号公報Japanese Patent Application Laid-Open No. 2018-135908 特開2020-204344号公報JP 2020-204344 A

ステッピングモータに負荷がかかると脱調が生じることがある。脱調とは、急な速度の変化や過負荷などによって、ステッピングモータにおける回転誘導が損なわれる現象のことである。脱調が生じることがなくとも、ステッピングモータに負荷がかかると、ある程度回転に遅れが生じる。この遅れは回転角の誤差を生み、電動弁における弁開度の制御に影響を与える。 When a load is applied to the stepping motor, step-out may occur. Loss of synchronism is a phenomenon in which rotation induction in a stepping motor is lost due to a sudden change in speed, overload, or the like. Even if there is no step-out, when a load is applied to the stepping motor, the rotation will be delayed to some extent. This delay produces an error in the rotation angle and affects the valve opening control of the motor operated valve.

回転角の誤差は、ステッピングモータの駆動特性やロータにかかる負荷の特性に依存する。これらの特性を踏まえて、より正確な回転角を得られるようにステッピングモータを制御し、弁開度の精度を高めることが望まれる。 The error in the rotation angle depends on the driving characteristics of the stepping motor and the characteristics of the load applied to the rotor. Based on these characteristics, it is desirable to control the stepping motor so as to obtain a more accurate rotation angle and improve the accuracy of the valve opening.

本発明の主たる目的は、電動弁のロータの回転誤差を減ずるようにステッピングモータを制御する技術を提供することにある。 SUMMARY OF THE INVENTION It is a primary object of the present invention to provide a technique for controlling a stepping motor so as to reduce rotational error of the rotor of a motor-operated valve.

本発明のある態様における電動弁制御装置は、ステップに対応する励磁パターンによって印加される駆動電流によってロータを回転させるステッピングモータと、ロータの回転運動を弁体の軸線運動に変化させる機構とを有する電動弁に接続され、電動弁の個体毎に設定される励磁パターン補正値を記憶する励磁パターン補正値記憶部と、ステップに対応する励磁パターンを、励磁パターン補正値に基づいて補正する回転制御部と、補正された励磁パターンによってステッピングモータに駆動電流を印加する回転指示部と、を備える。 A motor-operated valve control device according to one aspect of the present invention includes a stepping motor that rotates a rotor by a drive current applied by an excitation pattern corresponding to a step, and a mechanism that changes the rotary motion of the rotor into axial motion of the valve body. An excitation pattern correction value storage unit that is connected to the motor-operated valve and stores an excitation pattern correction value that is set for each individual motor-operated valve, and a rotation control unit that corrects the excitation pattern corresponding to the step based on the excitation pattern correction value. and a rotation instruction unit that applies a drive current to the stepping motor according to the corrected excitation pattern.

本発明のある態様における調整装置は、ステップに対応する励磁パターンによって印加される駆動電流によってロータを回転させるステッピングモータと、ロータの回転運動を弁体の軸線運動に変化させる機構と、ロータの角度を検出するセンサと、弁体の軸線方向に弾性力を与える弾性体と、を有する電動弁に接続された電動弁制御装置に接続され、ロータの2つの回転方向のうち、弾性力による負荷トルクがより大きくなる一方の第1回転方向にロータを回転させる動作におけるステップと、当該ステップにおいてセンサで検出されたロータの角度を示すパラメータとを含むサンプルデータを、電動弁制御装置から取得するサンプル取得部と、サンプルデータに基づいて、第1回転方向の動作において励磁パターンを先行させる励磁パターン補正値を算出する補正値算出部と、算出された励磁パターン補正値を電動弁制御装置に設定する補正値設定部と、を備える。 An adjustment device according to an aspect of the present invention includes a stepping motor that rotates a rotor by a drive current applied by an excitation pattern corresponding to a step, a mechanism that changes the rotary motion of the rotor into axial motion of the valve body, and an angle of the rotor. and an elastic body that applies an elastic force in the axial direction of the valve body. Acquisition of sample data from the motor-operated valve control device including a step in the operation of rotating the rotor in one of the first rotation directions in which the is larger and a parameter indicating the angle of the rotor detected by the sensor in the step a correction value calculation unit that calculates an excitation pattern correction value that advances the excitation pattern in the operation in the first rotation direction based on the sample data; and a correction that sets the calculated excitation pattern correction value in the motor-operated valve control device. and a value setting unit.

本発明のある態様における電動弁制御装置は、ステップに対応する励磁パターンによって印加される駆動電流によってロータを回転させるステッピングモータと、ロータの回転運動を弁体の軸線運動に変化させる機構と、ロータの角度を検出するセンサと、弁体の軸線方向に弾性力を与える弾性体と、を有する電動弁に接続され、ロータの2つの回転方向のうち、弾性力による負荷トルクがより大きくなる一方の第1回転方向にロータを回転させる動作におけるステップと、当該ステップにおいてセンサで検出されたロータの角度を示すパラメータとを含むサンプルデータを生成するサンプル生成部と、サンプルデータに基づいて、第1回転方向の動作において励磁パターンを先行させる励磁パターン補正値を算出する補正値算出部と、算出された励磁パターン補正値を記憶する補正値記憶部と、を備える。 A motor-operated valve control device according to one aspect of the present invention includes a stepping motor that rotates a rotor by a drive current applied by an excitation pattern corresponding to a step, a mechanism that changes the rotary motion of the rotor into axial motion of a valve body, a rotor and an elastic body that applies elastic force in the axial direction of the valve body. a sample generator for generating sample data including a step in the operation of rotating the rotor in the first rotation direction and a parameter indicating the angle of the rotor detected by the sensor in the step; A correction value calculation unit for calculating an excitation pattern correction value for leading the excitation pattern in direction operation, and a correction value storage unit for storing the calculated excitation pattern correction value.

本発明のある態様における電動弁制御プログラムは、ステップに対応する励磁パターンによって印加される駆動電流によってロータを回転させるステッピングモータと、ロータの回転運動を弁体の軸線運動に変化させる機構とを有する電動弁に接続されたコンピュータに、ステップに対応する励磁パターンを、電動弁の個体毎に設定される励磁パターン補正値に基づいて補正する機能と、補正された励磁パターンによってステッピングモータに駆動電流を印加する機能と、を発揮させる。 A motor-operated valve control program according to one aspect of the present invention has a stepping motor that rotates a rotor by a drive current applied by an excitation pattern corresponding to a step, and a mechanism that changes the rotary motion of the rotor into axial motion of the valve body. A computer connected to the motor-operated valve has a function to correct the excitation pattern corresponding to the step based on the excitation pattern correction value set for each individual motor-operated valve, and a drive current to the stepping motor according to the corrected excitation pattern. and the function of applying the voltage.

本発明のある態様における調整プログラムは、ステップに対応する励磁パターンによって印加される駆動電流によってロータを回転させるステッピングモータと、ロータの回転運動を弁体の軸線運動に変化させる機構と、ロータの角度を検出するセンサと、弁体の軸線方向に弾性力を与える弾性体と、を有する電動弁に接続された電動弁制御装置に接続可能なコンピュータに、ロータの2つの回転方向のうち、弾性力による負荷トルクがより大きくなる一方の第1回転方向にロータを回転させる動作におけるステップと、当該ステップにおいてセンサで検出されたロータの角度を示すパラメータとを含むサンプルデータを、電動弁制御装置から取得する機能と、サンプルデータに基づいて、第1回転方向の動作において励磁パターンを先行させる励磁パターン補正値を算出する機能と、算出された励磁パターン補正値を電動弁制御装置に設定する機能と、を発揮させる。 An adjustment program according to an aspect of the present invention includes a stepping motor that rotates a rotor by a drive current applied by an excitation pattern corresponding to a step, a mechanism that changes the rotary motion of the rotor into axial motion of the valve body, and an angle of the rotor. and an elastic body that applies an elastic force in the axial direction of the valve body to a computer that can be connected to a motor-operated valve control device connected to the motor-operated valve. Acquire sample data from the motor-operated valve control device, including the step in the operation of rotating the rotor in one of the first rotation directions in which the load torque becomes larger, and the parameter indicating the angle of the rotor detected by the sensor in the step a function of calculating an excitation pattern correction value that advances the excitation pattern in the operation in the first rotation direction based on the sample data; a function of setting the calculated excitation pattern correction value in the motor-operated valve control device; demonstrate.

本発明のある態様における電動弁制御プログラムは、ステップに対応する励磁パターンによって印加される駆動電流によってロータを回転させるステッピングモータと、ロータの回転運動を弁体の軸線運動に変化させる機構と、ロータの角度を検出するセンサと、弁体の軸線方向に弾性力を与える弾性体と、を有する電動弁に接続されたコンピュータに、ロータの2つの回転方向のうち、弾性力による負荷トルクがより大きくなる一方の第1回転方向にロータを回転させる動作におけるステップと、当該ステップにおいてセンサで検出されたロータの角度を示すパラメータとを含むサンプルデータを生成する機能と、サンプルデータに基づいて、第1回転方向の動作において励磁パターンを先行させる励磁パターン補正値を算出する機能と、算出された励磁パターン補正値を記憶する機能と、を発揮させる。 An electric valve control program according to one aspect of the present invention includes a stepping motor that rotates a rotor by a drive current applied by an excitation pattern corresponding to a step, a mechanism that changes the rotary motion of the rotor into axial motion of the valve body, and a rotor. and an elastic body that applies elastic force in the axial direction of the valve body. A function of generating sample data including a step in the operation of rotating the rotor in one of the first rotation directions and a parameter indicating the angle of the rotor detected by the sensor in the step; A function of calculating an excitation pattern correction value for leading an excitation pattern in operation in the rotation direction and a function of storing the calculated excitation pattern correction value are exhibited.

本発明によれば、電動弁のロータの回転誤差を減ずるようにステッピングモータを制御できる。 According to the present invention, the stepping motor can be controlled so as to reduce the rotation error of the rotor of the motor-operated valve.

実施形態に係る電動弁を表す断面図である。1 is a cross-sectional view showing an electrically operated valve according to an embodiment; FIG. ステータおよびその周辺の構成を表す図である。FIG. 3 is a diagram showing the configuration of a stator and its surroundings; ロータの構成を表す図である。It is a figure showing the structure of a rotor. 磁気センサとセンサマグネットおよびセンサマグネットから発生する磁力線の関係を示す模式図である。FIG. 2 is a schematic diagram showing the relationship between a magnetic sensor, a sensor magnet, and magnetic lines of force generated from the sensor magnet; センサマグネットの平面図である。It is a top view of a sensor magnet. センサマグネットのセンサ値と感知角との関係を示すグラフである。4 is a graph showing the relationship between the sensor value of the sensor magnet and the sensing angle; 角度値(デューティー比)とステップの関係を示すグラフである。4 is a graph showing the relationship between an angle value (duty ratio) and steps. ロータの移動範囲の模式図である。FIG. 4 is a schematic diagram of the movement range of the rotor; 図9(A)は、弁停止中におけるトルクバランスの概要を示す図である。図9(B)は、上昇回転の始動時におけるトルクバランスの概要を示す図である。図9(C)は、下降回転の始動時におけるトルクバランスの概要を示す図である。FIG. 9A is a diagram showing an overview of torque balance during valve stoppage. FIG. 9B is a diagram showing an overview of the torque balance at the start of upward rotation. FIG. 9C is a diagram showing an overview of the torque balance at the start of downward rotation. 駆動トルクの変化を示すグラフである。4 is a graph showing changes in driving torque; 図11(A)は、補正なし励磁パターンと理想のデューティー比を示すグラフである。図11(B)は、補正なし励磁パターンと理想のデューティー比を示すグラフである。FIG. 11A is a graph showing an uncorrected excitation pattern and an ideal duty ratio. FIG. 11B is a graph showing an uncorrected excitation pattern and an ideal duty ratio. 図12(A)は、補正なし励磁パターンと上昇回転時の補正なしデューティー比を示すグラフである。図12(B)は、補正なし励磁パターンと上昇回転時の補正なしデューティー比を示すグラフである。FIG. 12A is a graph showing an uncorrected excitation pattern and an uncorrected duty ratio during upward rotation. FIG. 12B is a graph showing an uncorrected excitation pattern and an uncorrected duty ratio during upward rotation. 図13(A)は、補正あり励磁パターンと上昇回転時の補正ありデューティー比を示すグラフである。図13(B)は、補正あり励磁パターンと上昇回転時の補正ありデューティー比を示すグラフである。FIG. 13A is a graph showing the excitation pattern with correction and the duty ratio with correction during upward rotation. FIG. 13B is a graph showing the excitation pattern with correction and the duty ratio with correction during upward rotation. 励磁パターン補正値の求め方を説明するためのグラフである。7 is a graph for explaining how to obtain an excitation pattern correction value; 補正なし上昇回転時のパラメータ例を示す図である。FIG. 10 is a diagram showing an example of parameters during upward rotation without correction; 補正なし下降回転時のパラメータ例を示す図である。FIG. 10 is a diagram showing an example of parameters during downward rotation without correction; 励磁パターン補正の結果を説明するためのグラフである。7 is a graph for explaining results of excitation pattern correction; 補正あり上昇回転時のパラメータ例を示す図である。FIG. 10 is a diagram showing an example of parameters during upward rotation with correction; 補正あり下降回転時のパラメータ例を示す図である。FIG. 10 is a diagram showing an example of parameters during downward rotation with correction; 調整装置および電動弁制御装置の機能ブロック図である。FIG. 3 is a functional block diagram of an adjusting device and an electric valve control device; 調整処理過程を示すシーケンス図である。FIG. 10 is a sequence diagram showing an adjustment process; 電動弁制御装置の処理過程を示すフローチャートである。4 is a flow chart showing the processing steps of the electric valve control device; 励磁パターン補正値算出処理過程を示すフローチャートである。4 is a flow chart showing an excitation pattern correction value calculation process; 電動弁制御装置の処理過程を示すフローチャートである。4 is a flow chart showing the processing steps of the electric valve control device; 変形例3における電動弁制御装置の機能ブロック図である。FIG. 11 is a functional block diagram of an electric valve control device in Modification 3; 変形例3における電動弁制御装置の補正値設定処理過程を示すフローチャートである。10 is a flowchart showing a correction value setting process of the motor-operated valve control device in Modification 3. FIG.

以下、本発明の実施形態を、図面を参照して詳細に説明する。なお、以下の説明においては便宜上、図示の状態を基準に各構造の位置関係を表現することがある。また、以下の実施形態およびその変形例について、ほぼ同一の構成要素については同一の符号を付し、その説明を適宜省略する。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the following description, for the sake of convenience, the positional relationship of each structure may be expressed based on the illustrated state. Also, in the following embodiments and modifications thereof, substantially the same constituent elements are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

図1は、実施形態に係る電動弁を表す断面図である。
電動弁1は、図示しない自動車用空調装置の冷凍サイクルに適用される。この冷凍サイクルには、循環する冷媒を圧縮する圧縮機、圧縮された冷媒を凝縮する凝縮器、凝縮された冷媒を絞り膨張させて霧状に送出する膨張弁、霧状の冷媒を蒸発させてその蒸発潜熱により車室内の空気を冷却する蒸発器等が設けられている。電動弁1は、その冷凍サイクルの膨張弁として機能する。
FIG. 1 is a cross-sectional view showing an electrically operated valve according to an embodiment.
The motor-operated valve 1 is applied to a refrigerating cycle of an automotive air conditioner (not shown). This refrigeration cycle includes a compressor that compresses the circulating refrigerant, a condenser that condenses the compressed refrigerant, an expansion valve that throttles and expands the condensed refrigerant and delivers it in the form of mist, and an evaporator that evaporates the refrigerant in the form of mist. An evaporator or the like is provided to cool the air in the passenger compartment by the latent heat of evaporation. Motor operated valve 1 functions as an expansion valve for the refrigeration cycle.

電動弁1は、弁本体2とモータユニット3とを組み付けて構成される。弁本体2は、弁部を収容したボディ5を有する。ボディ5は、「バルブボディ」として機能する。ボディ5は、第1ボディ6と第2ボディ8とを同軸状に組み付けて構成される。第1ボディ6および第2ボディ8は、ともにステンレス鋼(以下「SUS」と表記する)からなる。第2ボディ8には弁座24が設けられるため、耐摩耗性に優れた材質が選定されている。第1ボディ6は第2ボディ8よりも溶接性に優れ、第2ボディ8は第1ボディ6よりも加工性に優れている。 A motor-operated valve 1 is configured by assembling a valve body 2 and a motor unit 3 . The valve main body 2 has a body 5 that accommodates a valve portion. The body 5 functions as a "valve body". The body 5 is configured by assembling a first body 6 and a second body 8 coaxially. Both the first body 6 and the second body 8 are made of stainless steel (hereinafter referred to as "SUS"). Since the valve seat 24 is provided in the second body 8, a material with excellent wear resistance is selected. The first body 6 has better weldability than the second body 8 , and the second body 8 has better workability than the first body 6 .

第1ボディ6は、外径が下方に向けて段階的に縮径する段付円筒状をなす。第1ボディ6の上端部の外径がやや縮径され、段差による係止部52が構成されている。第1ボディ6の下部外周面には、電動弁1を図示しない配管ボディに組み付けるための雄ねじ10が形成されている。なお、配管ボディには、凝縮器側から延びる配管や、蒸発器につながる配管などが接続されるが、その詳細については説明を省略する。第1ボディ6における雄ねじ10のやや上方の外周面には、環状溝からなるシール収容部12が形成され、シールリング14(Oリング)が嵌着されている。 The first body 6 has a stepped cylindrical shape whose outer diameter gradually decreases downward. The outer diameter of the upper end portion of the first body 6 is slightly reduced, and a locking portion 52 is formed by a step. A male thread 10 is formed on the lower outer peripheral surface of the first body 6 for assembling the electric valve 1 to a piping body (not shown). A pipe extending from the condenser side, a pipe leading to the evaporator, and the like are connected to the pipe body, but the details thereof will not be described. A seal accommodating portion 12 consisting of an annular groove is formed on the outer peripheral surface of the first body 6 slightly above the male thread 10, and a seal ring 14 (O-ring) is fitted.

第1ボディ6の下部には、円穴状の凹状嵌合部16が設けられている。第2ボディ8は有底円筒状をなし、その上部が凹状嵌合部16に圧入されている。第2ボディ8の下部外周面には環状溝からなるシール収容部18が形成され、シールリング20が嵌着されている。第2ボディ8の底部を軸線方向に貫通するように弁孔22が設けられ、その弁孔22の上端開口部に弁座24が形成されている。第2ボディ8の側部に入口ポート26が設けられ、下部に出口ポート28が設けられている。第1ボディ6および第2ボディ8の内方に弁室30が形成されている。入口ポート26と出口ポート28とは、弁室30を介して連通している。 A circular hole-shaped concave fitting portion 16 is provided in the lower portion of the first body 6 . The second body 8 has a cylindrical shape with a bottom, and its upper portion is press-fitted into the concave fitting portion 16 . A seal accommodating portion 18 consisting of an annular groove is formed in the lower outer peripheral surface of the second body 8, and a seal ring 20 is fitted therein. A valve hole 22 is provided so as to axially penetrate the bottom of the second body 8 , and a valve seat 24 is formed at the upper end opening of the valve hole 22 . An inlet port 26 is provided at the side of the second body 8 and an outlet port 28 is provided at the bottom. A valve chamber 30 is formed inside the first body 6 and the second body 8 . The inlet port 26 and the outlet port 28 communicate through the valve chamber 30 .

ボディ5の内方には、モータユニット3のロータ60から延びる作動ロッド32が挿通されている。作動ロッド32は、弁室30を貫通する。作動ロッド32は、非磁性金属からなる棒材を切削加工して得られ、その下部にニードル状の弁体34が一体に設けられている。弁体34が弁室30側から弁座24に着脱することにより弁部を開閉する。 An operating rod 32 extending from a rotor 60 of the motor unit 3 is inserted inside the body 5 . The operating rod 32 passes through the valve chamber 30 . The operating rod 32 is obtained by cutting a bar made of non-magnetic metal, and a needle-shaped valve element 34 is integrally provided in the lower part thereof. The valve portion is opened and closed by attaching and detaching the valve element 34 to and from the valve seat 24 from the valve chamber 30 side.

第1ボディ6の上部中央には、ガイド部材36が立設されている。ガイド部材36は、非磁性金属からなる管材を段付円筒状に切削加工して得られ、その軸線方向中央部の外周面に雄ねじ38が形成されている。ガイド部材36の下端部が大径となっており、その大径部40が第1ボディ6の上部中央に圧入され、同軸状に固定されている。ガイド部材36は、その内周面により作動ロッド32を軸線方向に摺動可能に支持する一方、その外周面によりロータ60の回転軸62を回転摺動可能に支持する。 A guide member 36 is erected at the center of the upper portion of the first body 6 . The guide member 36 is obtained by cutting a tubular member made of a non-magnetic metal into a stepped cylindrical shape, and has a male thread 38 formed on the outer peripheral surface of the central portion in the axial direction. The lower end portion of the guide member 36 has a large diameter, and the large diameter portion 40 is press-fitted into the upper center of the first body 6 and fixed coaxially. The guide member 36 slidably supports the operating rod 32 in the axial direction with its inner peripheral surface, and slidably supports the rotating shaft 62 of the rotor 60 with its outer peripheral surface.

作動ロッド32における弁体34のやや上方にばね受け42が設けられ、ガイド部材36の底部にもばね受け44が設けられている。ばね受け42,44間に、弁体34を閉弁方向に付勢するスプリング46(「付勢部材」として機能する)が介装されている。 A spring receiver 42 is provided on the operating rod 32 slightly above the valve body 34 , and a spring receiver 44 is also provided on the bottom of the guide member 36 . A spring 46 (functioning as a "biasing member") is interposed between the spring bearings 42 and 44 to bias the valve body 34 in the valve closing direction.

一方、モータユニット3は、ロータ60とステータ64とを含む三相ステッピングモータとして構成されている。モータユニット3は、有底円筒状のキャン66を有し、そのキャン66の内方にロータ60を配置し、外方にステータ64を配置して構成されている。キャン66は、弁体34およびその駆動機構が配置される空間を覆うとともにロータ60を内包する有底円筒状の部材であり、冷媒の圧力が作用する内方の圧力空間(内部空間)と作用しない外方の非圧力空間(外部空間)とを画定する。 On the other hand, the motor unit 3 is configured as a three-phase stepping motor including a rotor 60 and a stator 64. As shown in FIG. The motor unit 3 has a cylindrical can 66 with a bottom, the rotor 60 is arranged inside the can 66, and the stator 64 is arranged outside. The can 66 is a bottomed cylindrical member that covers the space in which the valve body 34 and its drive mechanism are arranged and that encloses the rotor 60. The can 66 acts as an inner pressure space (internal space) where the pressure of the refrigerant acts. and an outer non-pressure space (external space).

キャン66は、非磁性金属(本実施形態ではSUS)からなり、その下部が第1ボディ6の上端部に外挿されるようにして同軸状に組み付けられている。キャン66は、その下端が係止部52に係止されることによりその挿入量が規制される。キャン66の下端と第1ボディ6との境界に沿って全周溶接が施されることにより(図示略)、ボディ5とキャン66との固定およびシールが実現されている。ボディ5とキャン66とに囲まれた空間が、上記圧力空間を形成している。 The can 66 is made of a non-magnetic metal (SUS in this embodiment), and is coaxially attached to the upper end of the first body 6 so that its lower portion is externally inserted. The amount of insertion of the can 66 is restricted by locking the lower end of the can 66 with the locking portion 52 . The body 5 and the can 66 are fixed and sealed by all-around welding (not shown) along the boundary between the lower end of the can 66 and the first body 6 . A space surrounded by the body 5 and the can 66 forms the pressure space.

ステータ64は、積層コア70の内周部に複数の突極を等間隔に配置して構成される。積層コア70は、環状のコアが軸線方向に積層されて構成される。各突極には、コイル73(電磁コイル)が装着されたボビン74が組み付けられている。これらコイル73およびボビン74により「コイルユニット75」が構成される。本実施形態では、三相電流を供給するためのモータユニット3つのコイルユニット75が、積層コア70の中心軸に対して120度ごとに設けられている(詳細後述)。 The stator 64 is configured by arranging a plurality of salient poles at regular intervals on the inner peripheral portion of the laminated core 70 . The laminated core 70 is configured by laminating annular cores in the axial direction. A bobbin 74 with a coil 73 (electromagnetic coil) is attached to each salient pole. These coils 73 and bobbins 74 constitute a "coil unit 75". In this embodiment, three motor units 75 for supplying three-phase current are provided at intervals of 120 degrees with respect to the central axis of the laminated core 70 (details will be described later).

ステータ64は、モータユニット3のケース76と一体に設けられている。すなわち、ケース76は、耐食性を有する樹脂材の射出成形(「インサート成形」または「モールド成形」ともいう)により得られる。ステータ64は、その射出成形によるモールド樹脂によって被覆されている。ケース76は、そのモールド樹脂からなる。以下、ステータ64とケース76とのモールド成形品を「ステータユニット78」とも称する。 The stator 64 is provided integrally with the case 76 of the motor unit 3 . That is, the case 76 is obtained by injection molding (also referred to as “insert molding” or “molding”) of a corrosion-resistant resin material. The stator 64 is covered with molding resin obtained by injection molding. The case 76 is made of the mold resin. Hereinafter, the molded product of the stator 64 and the case 76 will also be referred to as a "stator unit 78".

ステータユニット78は、中空構造を有し、キャン66を同軸状に挿通しつつボディ5に組み付けられている。第1ボディ6における係止部52のやや下方の外周面には、環状溝からなるシール収容部80が形成され、シールリング82(Oリング)が嵌着されている。第1ボディ6の上部外周面とケース76の下部内周面とに間にシールリング82が介装されることにより、キャン66とステータ64との間隙への外部雰囲気(水など)の侵入が防止されている。 The stator unit 78 has a hollow structure and is attached to the body 5 while coaxially passing through the can 66 . A seal accommodating portion 80 consisting of an annular groove is formed on the outer peripheral surface slightly below the locking portion 52 of the first body 6, and a seal ring 82 (O-ring) is fitted. A seal ring 82 is interposed between the upper outer peripheral surface of the first body 6 and the lower inner peripheral surface of the case 76 to prevent the outside atmosphere (such as water) from entering the gap between the can 66 and the stator 64. is prevented.

ロータ60は、回転軸62に組み付けられた円筒状のロータコア102と、ロータコア102の外周面に設けられたロータマグネット104と、ロータコア102の上端面に設けられたセンサマグネット106を備える。ロータコア102は、回転軸62に組み付けられている。ロータマグネット104は、その周方向に複数極に磁化(着磁)されている。センサマグネット106も複数極に磁化(着磁)されている。ロータマグネット104およびセンサマグネット106は、ロータコア102に一体成型されたマグネット部に後工程で着磁して得られたものであるが、その詳細については後述する。 Rotor 60 includes a cylindrical rotor core 102 assembled to rotating shaft 62 , rotor magnets 104 provided on the outer peripheral surface of rotor core 102 , and sensor magnets 106 provided on the upper end surface of rotor core 102 . The rotor core 102 is attached to the rotating shaft 62 . The rotor magnet 104 is magnetized (magnetized) with a plurality of poles in its circumferential direction. The sensor magnet 106 is also magnetized (magnetized) with multiple poles. The rotor magnet 104 and the sensor magnet 106 are obtained by magnetizing a magnet portion integrally molded with the rotor core 102 in a post-process, the details of which will be described later.

回転軸62は、有底円筒状の円筒軸であり、その開口端を下にしてガイド部材36に外挿されている。回転軸62の下部内周面に雌ねじ108が形成され、ガイド部材36の雄ねじ38と噛合している。これらのねじ部によるねじ送り機構109によって、ロータ60の回転運動が作動ロッド32の軸線運動に変換される。それにより弁体34が軸線方向、つまり弁部の開閉方向に移動(昇降)する。 The rotary shaft 62 is a cylindrical shaft with a bottom, and is fitted around the guide member 36 with its open end facing downward. A female thread 108 is formed on the lower inner peripheral surface of the rotating shaft 62 and meshes with the male thread 38 of the guide member 36 . Rotational motion of the rotor 60 is converted into axial motion of the operating rod 32 by the screw feed mechanism 109 using these threaded portions. As a result, the valve body 34 is moved (lifted/lowered) in the axial direction, that is, in the opening/closing direction of the valve portion.

作動ロッド32の上部が縮径され、その縮径部110が回転軸62の底部112を貫通している。縮径部110の先端部には環状のストッパ114が固定されている。一方、縮径部110の基端と底部112との間には、作動ロッド32を下方(つまり閉弁方向)に付勢するスプリング116が介装されている。このような構成により、開弁時には、ストッパ114が底部112に係止される態様で作動ロッド32がロータ60と一体変位する。一方、閉弁時には、弁体34が弁座24から受ける反力によりスプリング116が押し縮められる。このときのスプリング116の弾性反力により弁体34を弁座24に押し付けることができ、弁体34の着座性能(弁閉性能)を高められる。 The diameter of the upper portion of the operating rod 32 is reduced, and the reduced diameter portion 110 penetrates the bottom portion 112 of the rotating shaft 62 . An annular stopper 114 is fixed to the distal end of the reduced diameter portion 110 . On the other hand, a spring 116 is interposed between the base end of the diameter-reduced portion 110 and the bottom portion 112 to urge the operating rod 32 downward (that is, in the valve closing direction). With such a configuration, when the valve is opened, the operating rod 32 is displaced integrally with the rotor 60 in such a manner that the stopper 114 is locked to the bottom portion 112 . On the other hand, when the valve is closed, the spring 116 is compressed by the reaction force that the valve element 34 receives from the valve seat 24 . The valve element 34 can be pressed against the valve seat 24 by the elastic reaction force of the spring 116 at this time, and the seating performance (valve closing performance) of the valve element 34 can be enhanced.

モータユニット3は、キャン66の外側に回路基板118を有する。回路基板118は、ケース76の内方に固定されている。本実施形態では、回路基板118の下面に制御部や通信部として機能する各種回路が実装されている。具体的には、モータを駆動するための駆動回路、駆動回路に制御信号を出力する制御回路(マイクロコンピュータ)、制御回路が外部装置又は調整装置と通信するための通信回路、各回路およびモータ(コイル)に電力を供給するための電源回路等が実装されている。ケース76の上端は、蓋体77により閉止されている。ケース76における蓋体77の下方の空間に回路基板118が配設されている。 The motor unit 3 has a circuit board 118 outside the can 66 . The circuit board 118 is fixed inside the case 76 . In this embodiment, various circuits functioning as a control section and a communication section are mounted on the lower surface of the circuit board 118 . Specifically, a drive circuit for driving the motor, a control circuit (microcomputer) that outputs a control signal to the drive circuit, a communication circuit for the control circuit to communicate with an external device or adjustment device, each circuit and the motor ( A power supply circuit and the like for supplying power to the coil) are mounted. The upper end of the case 76 is closed with a lid 77 . A circuit board 118 is arranged in the space below the lid 77 in the case 76 .

回路基板118におけるセンサマグネット106との対向面には、磁気センサ119が設けられている。磁気センサ119は、キャン66の底部端壁を介してセンサマグネット106と軸線方向に対向する。ロータ60の回転に伴ってセンサマグネット106による磁束が変化する。磁気センサ119は、この磁束の変化を捉えることでロータ60の変位量(本実施形態ではロータ60の回転角度)を検出する。制御部は、そのロータ60の変位量に基づいて弁体34の軸線方向位置ひいては弁開度を算出する。 A magnetic sensor 119 is provided on the surface of the circuit board 118 facing the sensor magnet 106 . The magnetic sensor 119 axially faces the sensor magnet 106 through the bottom end wall of the can 66 . The magnetic flux generated by the sensor magnet 106 changes as the rotor 60 rotates. The magnetic sensor 119 detects the amount of displacement of the rotor 60 (in this embodiment, the rotation angle of the rotor 60) by capturing this change in magnetic flux. Based on the displacement of the rotor 60, the control unit calculates the axial position of the valve body 34 and thus the valve opening degree.

それぞれのボビン74からはコイル73につながる一対の端子117が延出し、回路基板118に接続されている。回路基板118からは電源端子、グランド端子および通信端子(これらを総称して「接続端子81」ともいう)が延出し、それぞれケース76の側壁を貫通して外部に引き出されている。ケース76の側部にコネクタ部79が一体に設けられ、そのコネクタ部79の内方に接続端子81が配置されている。 A pair of terminals 117 connected to the coil 73 extends from each bobbin 74 and is connected to a circuit board 118 . A power supply terminal, a ground terminal, and a communication terminal (also collectively referred to as “connection terminals 81”) extend from the circuit board 118 and pass through the side wall of the case 76 to be drawn to the outside. A connector portion 79 is provided integrally with the side portion of the case 76 , and connection terminals 81 are arranged inside the connector portion 79 .

ロータ60の下方にはストッパ90が形成される。特許文献2に示すようにストッパ90の構成は既知である。作動ロッド32が弁閉位置に至ると、ロータ60にはスプリング116による弾性反力がかかり、弁閉が安定維持される。最終的には、ストッパ90がガイド部材36の一部として形成される図示しない突部(係止部)に当接することにより、ロータ60の弁閉方向への回転が完全に規制される。以下、ストッパ90が突部と当接したときのステップをステップの「原点」とする。また、本実施形態においてはステップの原点において弁体34が「基準位置」にあるものとする。 A stopper 90 is formed below the rotor 60 . As shown in Patent Document 2, the structure of the stopper 90 is known. When the operating rod 32 reaches the valve closing position, the spring 116 applies an elastic reaction force to the rotor 60 to keep the valve closed stably. Ultimately, the stopper 90 comes into contact with a projection (locking portion) (not shown) formed as a part of the guide member 36, thereby completely restricting the rotation of the rotor 60 in the valve closing direction. Hereinafter, the step when the stopper 90 comes into contact with the protrusion is referred to as the "origin" of the step. Further, in this embodiment, the valve body 34 is assumed to be at the "reference position" at the origin of the step.

図2は、ステータ64およびその周辺の構成を表す図である。図2(A)は図1のA-A矢視断面に対応し、ステータユニット78の断面図である。図2(B)はステータ64のみ(樹脂モールド前の状態)を表す図である。なお、図2(A)には参考のため、キャン66およびロータ60を示している(二点鎖線参照)。 FIG. 2 is a diagram showing the configuration of the stator 64 and its surroundings. FIG. 2A is a cross-sectional view of the stator unit 78 corresponding to the cross-section taken along line AA of FIG. FIG. 2B is a diagram showing only the stator 64 (state before resin molding). For reference, FIG. 2A shows the can 66 and the rotor 60 (see two-dot chain lines).

モータユニット3が三相のモータであるため、図2(A)に示すように、ロータ60の軸線Lの周りに等間隔でコイルユニット75が設けられている。図2(B)にも示すように、積層コア70の内周部に軸線Lに対して120度の間隔でスロット120a~120c(これらを特に区別しないときは「スロット120」と総称する)が設けられている。各スロット120には、その中央から半径方向内向きに突出する突極122a~122c(「突極122」と総称する)が形成され、それぞれU相コイル73a、V相コイル73b、W相コイル73c(「コイル73」と総称する)が組み付けられている。互いに隣接するスロット120の間にも、横断面U字状のスリット124が形成され、磁路の最適化が図られている。 Since the motor unit 3 is a three-phase motor, the coil units 75 are provided at equal intervals around the axis L of the rotor 60 as shown in FIG. 2(A). As shown in FIG. 2B, slots 120a to 120c (collectively referred to as "slots 120" when not distinguished) are formed in the inner peripheral portion of the laminated core 70 at intervals of 120 degrees with respect to the axis L. is provided. In each slot 120, salient poles 122a to 122c (generically referred to as "salient poles 122") projecting radially inward from the center thereof are formed. (collectively referred to as "coil 73") are assembled. A slit 124 having a U-shaped cross section is also formed between the slots 120 adjacent to each other to optimize the magnetic path.

ロータマグネット104は、キャン66を介して突極122a~122cと対向する。本実施形態では図2(A)に示すように、ロータマグネット104が雄ねじ10極に磁化されているが、その極数については適宜設定できる。 The rotor magnet 104 faces the salient poles 122a to 122c via the can 66. As shown in FIG. In this embodiment, as shown in FIG. 2(A), the rotor magnet 104 is magnetized with 10 male-threaded poles, but the number of poles can be set appropriately.

次に、ロータ60におけるマグネットの構成について詳細に説明する。
図3は、ロータ60の構成を表す図である。図3(A)は斜視図、図3(B)は正面図、図3(C)は平面図、図3(D)は図3(C)のB-B矢視断面図である。図中の「N」はN極、「S」はS極を示す。なお、同図においては、説明の便宜上、回転軸62(図1参照)の表記を省略している。
Next, the configuration of the magnets in rotor 60 will be described in detail.
FIG. 3 is a diagram showing the configuration of the rotor 60. As shown in FIG. 3(A) is a perspective view, FIG. 3(B) is a front view, FIG. 3(C) is a plan view, and FIG. 3(D) is a cross-sectional view taken along line BB of FIG. 3(C). "N" in the figure indicates an N pole, and "S" indicates an S pole. For convenience of explanation, the illustration of the rotating shaft 62 (see FIG. 1) is omitted in FIG.

ロータ60は、ロータコア102の外周面に沿ってロータマグネット104を有し、ロータコア102の軸端部にセンサマグネット106を有する(図3(A),図3(D))。ロータマグネット104は円筒状をなし、外周面10極着磁とされている(図3(B),図3(C))。一方、センサマグネット106は環状をなし、平面2極着磁とされている。 The rotor 60 has a rotor magnet 104 along the outer peripheral surface of the rotor core 102 and a sensor magnet 106 at the axial end of the rotor core 102 (FIGS. 3A and 3D). The rotor magnet 104 has a cylindrical shape and is magnetized with 10 poles on its outer peripheral surface (FIGS. 3(B) and 3(C)). On the other hand, the sensor magnet 106 has an annular shape and is magnetized with planar two poles.

図3(D)に示したように、ロータマグネット104の内周面が環状溝140に嵌合し、センサマグネット106の下面が環状溝144に嵌合している。すなわち、環状溝140は、ロータコア102からのロータマグネット104の脱落を防止する脱落防止構造として機能する。同様に、環状溝144は、ロータコア102からのセンサマグネット106の脱落を防止する脱落防止構造として機能する。 As shown in FIG. 3D, the inner peripheral surface of the rotor magnet 104 is fitted in the annular groove 140, and the lower surface of the sensor magnet 106 is fitted in the annular groove 144. As shown in FIG. That is, the annular groove 140 functions as a drop-off prevention structure that prevents the rotor magnet 104 from dropping off from the rotor core 102 . Similarly, annular groove 144 functions as a drop-off prevention structure that prevents drop-off of sensor magnet 106 from rotor core 102 .

以上の構成を前提として、次に、磁気センサ119がロータ60の回転角度を検出する方法について説明する。なお、以下においては、図1の上下方向を「開閉方向」または「上下方向」とよぶ。 Based on the above configuration, a method for detecting the rotation angle of the rotor 60 by the magnetic sensor 119 will now be described. In addition, below, the up-down direction of FIG. 1 is called "opening-and-closing direction" or "up-down direction."

図4は、磁気センサ119とセンサマグネット106およびセンサマグネット106から発生する磁力線の関係を示す模式図である。
図4は、磁気センサ119およびセンサマグネット106を側面から見たときの模式図である。図4に示すようにセンサマグネット106(永久磁石)のNからSに磁力線が発生する。センサマグネット106の直上に位置する磁気センサ119は、センサマグネット106から発生する磁力線を検出する既知構成のロータリーセンサである。磁気センサ119は、磁力線の方向に基づいて、センサマグネット106(ロータ60)の回転角を検出する(詳細後述)。なお、本実施形態において、磁気センサ119はセンサマグネット106の回転角を検出可能であるが、磁気センサ119により、センサマグネット106までの距離、いいかえれば、作動ロッド32の開閉方向における移動量を直接検出することはできないものとして説明する。
FIG. 4 is a schematic diagram showing the relationship between the magnetic sensor 119, the sensor magnet 106, and the lines of magnetic force generated from the sensor magnet 106. As shown in FIG.
FIG. 4 is a schematic diagram of the magnetic sensor 119 and the sensor magnet 106 viewed from the side. As shown in FIG. 4, magnetic lines of force are generated from N to S of the sensor magnet 106 (permanent magnet). A magnetic sensor 119 positioned directly above the sensor magnet 106 is a known rotary sensor that detects magnetic lines of force generated from the sensor magnet 106 . The magnetic sensor 119 detects the rotation angle of the sensor magnet 106 (rotor 60) based on the direction of the magnetic lines of force (details will be described later). In the present embodiment, the magnetic sensor 119 can detect the rotation angle of the sensor magnet 106. The magnetic sensor 119 directly detects the distance to the sensor magnet 106, in other words, the amount of movement of the operating rod 32 in the opening/closing direction. It is assumed that it cannot be detected.

図5は、センサマグネット106の平面図である。
ステータ64のコイル73に後述の方法にて駆動電流を流すことにより、ロータ60に回転駆動力が与えられる。ロータ60を閉弁方向(下方向)に回転させると(以下、「下降回転」とよぶ)、ロータ60に連動して作動ロッド32(弁体34)は閉弁方向、すなわち、図1の図面下方向に移動する。ロータ60を開弁方向に回転させると(以下、「上昇回転」とよぶ)、ロータ60と連動して作動ロッド32(弁体34)は開弁方向、すなわち、図1の図面上方に移動する。
FIG. 5 is a plan view of the sensor magnet 106. FIG.
Rotational driving force is applied to the rotor 60 by applying a driving current to the coils 73 of the stator 64 by a method described later. When the rotor 60 is rotated in the valve closing direction (downward direction) (hereinafter referred to as “downward rotation”), the operating rod 32 (valve element 34) moves in the valve closing direction, that is, in the drawing of FIG. Move down. When the rotor 60 is rotated in the valve-opening direction (hereinafter referred to as "upward rotation"), the operating rod 32 (valve body 34) moves in the valve-opening direction, that is, upward in FIG. .

ロータ60の回転に連動して、センサマグネット106も回転する。センサマグネット106の回転にともなって、センサマグネット106の磁界方向MAも変化する。図5に示すようにXY座標系(図1における水平面に対応)を設定したとき、磁界方向MAがX軸となす角度をθとする。磁気センサ119は、特許文献1の角度センサに示す既知の方法にて、センサマグネット106の回転角度θを検出する。 As the rotor 60 rotates, the sensor magnet 106 also rotates. As the sensor magnet 106 rotates, the magnetic field direction MA of the sensor magnet 106 also changes. When the XY coordinate system (corresponding to the horizontal plane in FIG. 1) is set as shown in FIG. 5, the angle formed by the magnetic field direction MA with the X axis is assumed to be θ. The magnetic sensor 119 detects the rotation angle θ of the sensor magnet 106 by a known method shown in the angle sensor of Patent Document 1.

図6は、センサマグネット106のセンサ値と感知角との関係を示すグラフである。
横軸は、磁気センサ119の計測対象であるセンサマグネット106の回転角度θを示す(以下、「感知角」とよぶことがある)。縦軸は、磁気センサ119のセンサ値である。この例におけるセンサ値は、アークタンジェント値である。図6に示すように、磁気センサ119は感知角に対応してノコギリ型の波形を示すセンサ値を検出する。磁気センサ119は、アナログ信号であるセンサ値を、PWM(Pulse Width Modulation:パルス幅変調)によってパルスのデューティー比に置き換えて、変調されたデジタル信号を示す電流を出力する。このとき、センサ値を「下限値DA~上限値TA」に正規化して、パルスにおけるデューティー比が定められる。下限値DA、上限値TAは任意に設定可能である。下限値DAは、0であってもよい。以下、パルスのデューティー比を「角度値」とよぶことがある。制御回路は、磁気センサ119の仕様に則って、デジタル信号のパルスから読み取られるデューティー比(角度値)に基づき、実際のロータ角度(感知角)を特定できる。
FIG. 6 is a graph showing the relationship between the sensor value of the sensor magnet 106 and the sensing angle.
The horizontal axis indicates the rotation angle θ of the sensor magnet 106 to be measured by the magnetic sensor 119 (hereinafter sometimes referred to as "sensing angle"). The vertical axis is the sensor value of the magnetic sensor 119 . The sensor values in this example are arctangent values. As shown in FIG. 6, the magnetic sensor 119 detects a sensor value showing a sawtooth waveform corresponding to the sensing angle. The magnetic sensor 119 replaces the sensor value, which is an analog signal, with a pulse duty ratio by PWM (Pulse Width Modulation), and outputs a current indicating a modulated digital signal. At this time, the duty ratio of the pulse is determined by normalizing the sensor value from "lower limit value DA to upper limit value TA". The lower limit value DA and the upper limit value TA can be set arbitrarily. The lower limit value DA may be zero. Hereinafter, the pulse duty ratio may be referred to as an "angle value". The control circuit can identify the actual rotor angle (perceived angle) based on the duty ratio (angle value) read from the pulse of the digital signal according to the specifications of the magnetic sensor 119 .

図7は、角度値(デューティー比)とステップの関係を示すグラフである。
本実施形態において、弁体34を最上位点から最下位点まで移動させるとき、ロータ60は合計4回転する。詳細は後述するが、制御回路は3相のコイル73に供給する駆動電流を変化させることにより、各コイル73の磁界方向を変化させることでロータ60を回転させる。本実施形態においては、制御回路はロータ60をu1度単位で回転させる(詳細後述)。以下、この単位回転量のことを「ステップ」とよぶ。360度×4回転÷u1度=1440/u1=SM4より、制御回路は作動ロッド32の動作範囲においてロータ60に合計SM4ステップ分の回転を指示することになる。ロータ60の4回転に対応して、角度値はDA~TAの間で4回変化する。
FIG. 7 is a graph showing the relationship between the angle value (duty ratio) and step.
In this embodiment, when moving the valve body 34 from the highest point to the lowest point, the rotor 60 rotates four times in total. Although details will be described later, the control circuit rotates the rotor 60 by changing the magnetic field direction of each coil 73 by changing the drive current supplied to the three-phase coils 73 . In this embodiment, the control circuit rotates the rotor 60 in units of u1 degrees (details will be described later). Hereinafter, this unit rotation amount will be referred to as a "step". From 360 degrees×4 rotations÷u1 degrees=1440/u1=SM4, the control circuit instructs the rotor 60 to rotate a total of 4 steps of SM within the operating range of the operating rod 32 . The angle value changes four times between DA and TA corresponding to four rotations of the rotor 60 .

ステップ0が原点に相当し、ステップnは、原点から数えてn番目のステップを表す。図示したSM1は、機械角が1周したときのステップの順番を表し、SM2は、機械角が2周したときのステップの順番を表し、SM3は、機械角が3周したときのステップの順番を表し、SM4は、機械角が4周したときのステップの順番を表す。機械角は、ロータ60などの回転体の実空間における角度を指す。 Step 0 corresponds to the origin, and step n represents the nth step counted from the origin. SM1 shown in the figure represents the order of steps when the mechanical angle makes one revolution, SM2 represents the order of steps when the mechanical angle makes two revolutions, and SM3 represents the order of steps when the mechanical angle makes three revolutions. , and SM4 represents the order of steps when the mechanical angle rotates four times. A mechanical angle refers to an angle in real space of a rotating body such as the rotor 60 .

制御回路はU相コイル73aに所定レベルの駆動電流を流す。このとき、V相コイル73bおよびW相コイル73cについても同様に所定レベルの駆動電流が流される。各コイル73に駆動電流を流すことによりコイル73における磁界を変化させ、ロータ60を回転させる。U相コイル73a、V相コイル73bおよびW相コイル73cそれぞれに与える駆動電流の電流値の組み合わせを「励磁パターン」とよぶ。本実施形態における励磁パターンはN種類である。ある励磁パターンP1を1つ隣りの励磁パターンP2に変化させることが「1ステップ」の回転、いいかえれば、単位回転量分の回転指示に対応する。 The control circuit supplies a predetermined level of drive current to the U-phase coil 73a. At this time, a drive current of a predetermined level is similarly applied to V-phase coil 73b and W-phase coil 73c. By applying a drive current to each coil 73, the magnetic field in the coil 73 is changed and the rotor 60 is rotated. A combination of current values of drive currents to be applied to each of U-phase coil 73a, V-phase coil 73b and W-phase coil 73c is called an "excitation pattern". There are N types of excitation patterns in this embodiment. Changing a certain excitation pattern P1 to an adjacent excitation pattern P2 corresponds to "one step" of rotation, in other words, a rotation instruction for a unit rotation amount.

励磁パターンの変化により、いいかえれば、1ステップずつ励磁パターンを変更することにより、指示角α(理想的なロータ角度)が制御される。指示角αの変化に同期して、ロータ60が回転し、感知角θも変化する。励磁パターンを変化させたあと、磁気センサ119により検出される角度値から感知角θを算出することで、制御回路は、感知角θ(実際のロータ角度)が指示角αに追従している状態であるか否かを判定する。感知角θが指示角αに追従している状態を「同調」といい、感知角θが指示角αに追従できていない状態を「脱調」という。 By changing the excitation pattern, in other words, by changing the excitation pattern step by step, the indicated angle α (ideal rotor angle) is controlled. The rotor 60 rotates in synchronization with the change in the indicated angle α, and the sensing angle θ also changes. After changing the excitation pattern, by calculating the sensing angle θ from the angle value detected by the magnetic sensor 119, the control circuit can detect a state in which the sensing angle θ (actual rotor angle) follows the indicated angle α. It is determined whether or not. The state in which the sensing angle .theta.

N種類の励磁パターンにはそれぞれパターンIDが付与される。パターンID=N1の励磁パターン(以下、「励磁パターン(N1)」のように表記する)におけるU相コイル73a、V相コイル73bおよびW相コイル73cそれぞれの駆動電流値をIU(N1)、IV(N1)、IW(N1)とする。すなわち、励磁パターン(N1)とは[IU(N1)、IV(N1)、IW(N1)]の組み合わせを意味する。駆動電流IU(N1)、IV(N1)およびIW(N1)により各コイル73に磁界を生じさせて、ロータ60を励磁パターン(N1)に応じた指示角αへ誘導する。 A pattern ID is assigned to each of the N types of excitation patterns. IU(N1), IV (N1) and IW(N1). That is, the excitation pattern (N1) means a combination of [IU(N1), IV(N1), IW(N1)]. Drive currents IU(N1), IV(N1) and IW(N1) generate a magnetic field in each coil 73 to guide the rotor 60 to an indicated angle α corresponding to the excitation pattern (N1).

N種類のパターンIDは、電気角の1周分のN個のステップに対応している。電気角は、N個のパターンIDを0~360度の範囲に均等に割り当てた理論値である。原点から最上位までの各ステップnは、循環して順次パターンIDに対応付けられる。また、連続するパターンIDは、連続的に変化する励磁パターンに対応する。 The N types of pattern IDs correspond to N steps for one round of the electrical angle. The electrical angle is a theoretical value obtained by evenly assigning N pattern IDs in the range of 0 to 360 degrees. Each step n from the origin to the top is cyclically associated with the pattern ID in sequence. A continuous pattern ID corresponds to an excitation pattern that changes continuously.

制御回路が、ステップnからステップn+1に移すとき、励磁パターン(N1)から励磁パターン(N1+1)へ切り替える。これにより、駆動電流値[IU(N1+1)、IV(N1+1)、IW(N1+1)]で、各コイル73による磁界を変化させ、ロータ60を単位回転量だけ上昇回転させる。反対に、制御回路が、ステップnからステップn-1に移すとき、励磁パターン(N1)から励磁パターン(N1-1)に切り替える。これにより、駆動電流値[IU(N1-1)、IV(N1-1)、IW(N1-1)]で、各コイル73による磁界を変化させ、ロータ60を単位回転量だけ下降回転させる。 When the control circuit moves from step n to step n+1, it switches from excitation pattern (N1) to excitation pattern (N1+1). As a result, the magnetic field generated by each coil 73 is changed with the drive current values [IU(N1+1), IV(N1+1), IW(N1+1)], and the rotor 60 is rotated upward by the unit rotation amount. Conversely, when the control circuit moves from step n to step n-1, it switches from excitation pattern (N1) to excitation pattern (N1-1). As a result, the magnetic field generated by each coil 73 is changed by the drive current values [IU(N1-1), IV(N1-1), IW(N1-1)], and the rotor 60 is rotated downward by the unit rotation amount.

図3に示した構造のロータ60の場合、ロータマグネット104がN極とS極の対を5個有するので、ロータ60の1周(機械角の360度)において電気角は5周する。つまり、電気角の1周は、機械角の72度に相当する。また、電気角の1周にはN個のステップが含まれるので、1ステップの変化で回転する機械角は、u1=72/N度となる。また、図7に関連して説明したように、弁体34を最上位点から原点まで移動させる間にロータ60を4周させる場合、全域にわたる移動で4×5×N個だけステップを進めることになる。つまり、図7に示したSM4は、4×5×Nである。同様にSM1は、5×Nであり、SM2は、2×5×Nであり、SM3は、3×5×Nである。 In the case of the rotor 60 having the structure shown in FIG. 3, since the rotor magnet 104 has five pairs of N and S poles, the rotor 60 rotates five times in one revolution (360 mechanical degrees). That is, one round of the electrical angle corresponds to 72 degrees of the mechanical angle. Also, since one revolution of the electrical angle includes N steps, the mechanical angle rotated by one step change is u1=72/N degrees. Further, as described with reference to FIG. 7, when the rotor 60 is rotated four times while the valve body 34 is moved from the highest point to the origin, 4.times.5.times.N steps are advanced in the movement over the entire area. become. That is, SM4 shown in FIG. 7 is 4×5×N. Similarly, SM1 is 5*N, SM2 is 2*5*N, and SM3 is 3*5*N.

本実施形態においては、ストッパ90がガイド部材36(より厳密にはガイド部材36の突部)と当接するときのロータ60の位置を原点(基準位置)とし、制御回路はこのときの角度値および励磁パターンを「原点情報(基準情報)」として記録する。電動弁1の製造時において、電動弁1に固有の原点情報(基準情報)が回路基板118の不揮発性メモリに記録される。そして、制御回路は、原点(弁閉位置)を基準するステップnにより、作動ロッド32の移動量、すなわち、電動弁1の弁開度を調整する。 In this embodiment, the position of the rotor 60 when the stopper 90 contacts the guide member 36 (more precisely, the projection of the guide member 36) is defined as the origin (reference position), and the control circuit controls the angle value and The excitation pattern is recorded as "origin information (reference information)". When the motor-operated valve 1 is manufactured, origin information (reference information) unique to the motor-operated valve 1 is recorded in the non-volatile memory of the circuit board 118 . Then, the control circuit adjusts the amount of movement of the operating rod 32, that is, the valve opening degree of the motor-operated valve 1, by step n based on the origin (valve closed position).

図8は、ロータ60の移動範囲の模式図である。
図8の右方向はロータ60の開方向(上昇方向)、左方向は閉方向(下降方向)を示す。ステップ0の原点は、ストッパ90が回転規制を受け、ロータ60がそれ以上の下降回転をできなくなる限界位置である。ステップMは、弁体34が上昇を開始する弁開点である。Mの値は、所定の共通値でもよいし、電動弁1毎に異なる固有値でもよい。固有値を用いる場合には、弁開点のステップを示すMの値を回路基板118の不揮発性メモリに記憶しておく。原点から弁開点までの範囲では、スプリング116の弾性反力により弁体34が弁座24に押し付けられるため、弁閉状態は維持される。ロータ60が原点0から上昇回転を続け、弁開点Mを超えたとき弁体34は弁座24から離脱し、開弁状態となる。弁開点を超えたあともロータ60の上昇回転が続くと弁開度は徐々に拡大し、入口ポート26から出口ポート28への流量が増加する。
FIG. 8 is a schematic diagram of the movement range of the rotor 60. As shown in FIG.
The right direction in FIG. 8 indicates the opening direction (upward direction) of the rotor 60, and the left direction indicates the closing direction (downward direction). The origin of step 0 is the limit position where the stopper 90 is restricted in rotation and the rotor 60 cannot rotate downward any more. Step M is the valve opening point at which the valve element 34 starts to rise. The value of M may be a predetermined common value, or may be a peculiar value different for each motor operated valve 1 . When the eigenvalue is used, the value of M indicating the valve opening step is stored in the non-volatile memory of the circuit board 118 . In the range from the origin to the valve opening point, the valve body 34 is pressed against the valve seat 24 by the elastic reaction force of the spring 116, so the valve closed state is maintained. When the rotor 60 continues to rotate upward from the origin 0 and exceeds the valve opening point M, the valve body 34 separates from the valve seat 24 and the valve is opened. When the upward rotation of the rotor 60 continues even after the valve opening point is exceeded, the valve opening degree gradually increases, and the flow rate from the inlet port 26 to the outlet port 28 increases.

原点から弁開点までの弁閉状態でも、弁開点から最上位点までの弁開状態でも、ねじ送り機構109における摩擦抵抗力や回転力などによって負荷トルクが生じる。以下で、ロータ60に生じるトルクについて説明する。 A load torque is generated by the frictional resistance force and rotational force in the screw feed mechanism 109 in both the valve closed state from the origin to the valve open point and the valve open state from the valve open point to the highest point. The torque generated in the rotor 60 will be described below.

図9(A)は、弁停止中におけるトルクバランスの概要を示す図である。
時計回りをロータ60の上昇回転の向きとし、反時計回りをロータ60の下降回転の向きとする。図1に関連して説明したように、ばね受け42,44間に、弁体34を閉弁方向に付勢するスプリング46が介装されている。スプリング46は、ねじ送り機構109に荷重を付加する。この荷重によって、無励磁の状況下において、ロータ60が振動等によって勝手に回転しないよう、ねじ部の摩擦力でロータ60の位置を保持する機構になっている。
FIG. 9A is a diagram showing an overview of torque balance during valve stoppage.
The clockwise rotation is the upward rotation direction of the rotor 60 and the counterclockwise rotation is the downward rotation direction of the rotor 60 . As described with reference to FIG. 1, a spring 46 is interposed between the spring bearings 42 and 44 to bias the valve body 34 in the valve closing direction. A spring 46 applies a load to the screw feed mechanism 109 . The mechanism holds the position of the rotor 60 by the frictional force of the screw portion so that the rotor 60 does not rotate freely due to vibration or the like under the non-excitation condition due to this load.

ねじ部では、軸線方向の荷重を受けると、摩擦力が生じると共に回転力も生じる。つまり、スプリング46の弾性力によってねじ面に生じる軸方向の力のうち、ねじ面に平行な分力が、回転力としてロータ60の弁閉回転の方向にわずかなトルクを生じさせる。回転力による回転トルクは、下降回転方向に一定の大きさを有する。弁停止中は、モータユニット3による駆動トルクが発生していないので、回転トルクと反対の向きに回転トルクと同じ大きさの摩擦トルクが生じる。このときの摩擦トルクは、最大ではない。回転トルクが振動などの影響で増減した場合には、摩擦トルクが変化してトルクの均衡が保たれる。これにより、回転を阻止して、停止状態が維持される。 In the threaded portion, when an axial load is applied, a frictional force is generated and a rotational force is also generated. That is, of the axial force generated on the threaded surface by the elastic force of the spring 46, the component force parallel to the threaded surface generates a slight torque in the valve closing direction of the rotor 60 as a rotational force. Rotational torque due to the rotational force has a constant magnitude in the downward rotation direction. While the valve is stopped, no drive torque is generated by the motor unit 3, so friction torque having the same magnitude as the rotational torque is generated in the opposite direction to the rotational torque. The friction torque at this time is not the maximum. When the rotational torque increases or decreases due to vibration or the like, the frictional torque changes to maintain torque balance. This prevents rotation and maintains the stopped state.

図9(B)は、上昇回転の始動時におけるトルクバランスの概要を示す図である。
上昇回転の向きに生じる駆動トルクが増大して、動き始める直前の状態を表している。摩擦トルクは、駆動トルクと回転トルクと均衡するように下降回転の向きに生じる。このときの摩擦トルクは、最大である。摩擦トルクと回転トルクを合わせたトルクが、ロータ60の負荷トルクとなる。駆動トルクがこの負荷トルクの大きさを上回ると、ロータ60が上昇回転の向きに動き出す。
FIG. 9B is a diagram showing an overview of the torque balance at the start of upward rotation.
It shows the state just before the drive torque generated in the direction of upward rotation increases and it starts to move. Frictional torque is developed in the direction of downward rotation to balance the driving and rotating torques. The friction torque at this time is maximum. The torque that is the sum of the friction torque and the rotation torque is the load torque of the rotor 60 . When the drive torque exceeds the magnitude of this load torque, the rotor 60 begins to rotate upward.

図9(C)は、下降回転の始動時におけるトルクバランスの概要を示す図である。
下降回転の向きに生じる駆動トルクが増大して、動き始める直前の状態を表している。下降回転の向きに生じる回転トルクと駆動トルクに抗するように、上昇回転の向きに摩擦トルクが生じる。このときの摩擦トルクは、最大である。摩擦トルクと回転トルクを合わせたトルクが、ロータ60の負荷トルクとなる。駆動トルクがこの負荷トルクの大きさを上回ると、ロータ60が上昇回転の向きに動き出す。
FIG. 9C is a diagram showing an overview of the torque balance at the start of downward rotation.
It shows the state just before the driving torque generated in the direction of downward rotation increases and it starts to move. Frictional torque is generated in the direction of upward rotation to oppose the rotational torque and drive torque that are generated in the direction of downward rotation. The friction torque at this time is maximum. The torque that is the sum of the friction torque and the rotation torque is the load torque of the rotor 60 . When the drive torque exceeds the magnitude of this load torque, the rotor 60 begins to rotate upward.

図9(B)と図9(C)に示したように、上昇回転の場合には、下降回転の場合よりも大きな駆動トルクを与えなければ、ロータ60は動き出さない。 As shown in FIGS. 9B and 9C, in the case of upward rotation, the rotor 60 does not start to move unless a larger driving torque is applied than in the case of downward rotation.

図10は、駆動トルクの変化を示すグラフである。
モータユニット3の駆動トルクは、励磁パターンで指示した電気角(以下、「理想の電気角」とよぶ)と実際のロータ60の姿勢に相当する電気角(以下、「実際の電気角」とよぶ)の差によって定まる。この電気角差は、理想の電気角-実際の電気角と定義される。駆動トルクは、電気角差を変数とするサイン値として算出できる。したがって、図示するようなサイン曲線を描く。この図では、最大駆動トルクを1とした比率で駆動トルクを示している。
FIG. 10 is a graph showing changes in drive torque.
The driving torque of the motor unit 3 is determined by the electrical angle indicated by the excitation pattern (hereinafter referred to as the “ideal electrical angle”) and the electrical angle corresponding to the actual attitude of the rotor 60 (hereinafter referred to as the “actual electrical angle”). ). This electrical angle difference is defined as the ideal electrical angle minus the actual electrical angle. The drive torque can be calculated as a sine value with the electrical angle difference as a variable. Therefore, a sine curve is drawn as shown. In this figure, the drive torque is shown with a ratio of 1 to the maximum drive torque.

なお、電気角差は、励磁パターンに対応するステップ(以下、「理想のステップ」とよぶ)と実際のロータ60の姿勢に相当するステップ(以下、「実際のステップ」とよぶ)の差と比例関係にある。このステップ差は、理想のステップ-実際のステップと定義される。したがって、ある状態Aにおける電気角差と別の状態Bにおける電気角差の大小関係は、状態Aにおけるステップ差と状態Bにおけるステップ差の大小関係と一致する。 The electrical angle difference is proportional to the difference between the step corresponding to the excitation pattern (hereinafter referred to as the "ideal step") and the step corresponding to the actual attitude of the rotor 60 (hereinafter referred to as the "actual step"). in a relationship. This step difference is defined as ideal step minus actual step. Therefore, the magnitude relationship between the electrical angle difference in a certain state A and the electrical angle difference in another state B matches the magnitude relationship between the step difference in the state A and the step difference in the state B. FIG.

電気角差が増すときにどのように駆動トルクが変化するかについて説明する。電気角差が0のときには、駆動トルクは生じない。電気角差が大きくなるにつれて、駆動トルクは増加する。そして、電気角差が90度のときに、駆動トルクが最大となる。さらに電気角差が大きくなると、駆動トルクは減少に転じる。駆動トルクが減少する段階で駆動トルクが負荷トルクを下回ると、実際に脱調の現象が生じると考えられる。 A description will be given of how the drive torque changes as the electrical angle difference increases. When the electrical angle difference is 0, no driving torque is generated. As the electrical angle difference increases, the driving torque increases. The driving torque becomes maximum when the electrical angle difference is 90 degrees. As the electrical angle difference further increases, the driving torque begins to decrease. If the drive torque falls below the load torque while the drive torque is decreasing, it is considered that a step-out phenomenon actually occurs.

したがって、上昇回転させるようにステップnを変化させると、駆動トルクが負荷トルクを超えるまで、ロータ60は回転しない。駆動トルクが負荷トルクを超えると、ロータ60が回転し始める。その後は、電気角差がある状態のまま、実際のロータ角度が理想的なロータ角度を追従する。上述のように電気角差が増大して駆動トルクが負荷トルクを下回ることが無い限り、追従は継続する。 Therefore, if the step n is changed to rotate upward, the rotor 60 will not rotate until the drive torque exceeds the load torque. When the drive torque exceeds the load torque, rotor 60 begins to rotate. After that, the actual rotor angle follows the ideal rotor angle while the electrical angle difference remains. As long as the electrical angle difference does not increase and the driving torque does not fall below the load torque as described above, follow-up continues.

この例では、太線400が、図9(B)に示した駆動トルクを示している。つまり、ステップ差が5である点402において、上昇回転の駆動トルクと負荷トルクが均衡する。そして、上昇回転において点404に移ると、ロータ60が動き出す。 In this example, a thick line 400 indicates the drive torque shown in FIG. 9(B). That is, at point 402 where the step difference is 5, the drive torque and the load torque of the upward rotation are balanced. Then, at point 404 in upward rotation, the rotor 60 begins to move.

この例では、太線410が、図9(C)に示した駆動トルクを示している。つまり、ステップ差が-1である点412において、下降回転の駆動トルクと負荷トルクが均衡する。そして、下降回転において点414に移ると、ロータ60が動き出す。 In this example, a thick line 410 indicates the drive torque shown in FIG. 9(C). That is, at point 412 where the step difference is -1, the drive torque and the load torque for downward rotation are balanced. Then, at point 414 in downward rotation, the rotor 60 begins to move.

ここで説明した駆動トルクの大きさは、電動弁1の個体毎にばらつきがある。したがって、あるレベルの駆動トルクを生じさせるための電気角の大きさは、個体によって異なることがある。すべての電動弁1において電気角と駆動トルクの関係が一律であるとは限らない。たとえば、ステータ64のコイル73が生じさせる磁力の大きさにばらつきがあることがその原因である。 The magnitude of the drive torque described here varies from one motor-operated valve 1 to another. Therefore, the magnitude of the electrical angle to produce a certain level of drive torque may vary from individual to individual. The relationship between the electrical angle and the drive torque is not necessarily uniform for all the motor-operated valves 1 . For example, the reason for this is that the magnitude of the magnetic force generated by the coil 73 of the stator 64 varies.

図11(A)と図11(B)は、補正なし励磁パターンと理想のデューティー比を示すグラフである。これらの図は、負荷トルクが無いと想定した理想の挙動を示している。励磁パターンの補正について後述するが、ここでは励磁パターンが補正されていない。 FIGS. 11A and 11B are graphs showing an uncorrected excitation pattern and an ideal duty ratio. These figures show ideal behavior assuming no load torque. Correction of the excitation pattern will be described later, but the excitation pattern is not corrected here.

図11(A)は、ステップ100~ステップ148の範囲を示し、図11(B)は、ステップ100~ステップ112の範囲を示している。これらの範囲は、弁開状態に相当する。補正なし励磁パターンは、ステップnに対応して決められる。この例では、ステップの番号nが1つ増加するにつれて、励磁パターンのIDが1つ減少する関係にある。補正なし励磁パターンを、Rp(n)と表す。また、励磁パターンIDの番号を用いて、励磁パターンを識別する。 11A shows the range of steps 100-148, and FIG. 11B shows the range of steps 100-112. These ranges correspond to the valve open state. A non-correction excitation pattern is determined corresponding to step n. In this example, the excitation pattern ID decreases by one as the step number n increases by one. An uncorrected excitation pattern is represented as Rp(n). Also, the excitation pattern is identified using the excitation pattern ID number.

負荷トルクが無いと想定した理想のデューティー比は、ステップの増加に対して一定の比率で増加する。この例で、1ステップ当たりのデューティー比の変化量を、jと表す。理想のデューティー比を、D(n)と表す。理想のデューティー比は、磁気センサ119から出力されると想定される値である。 The ideal duty ratio, assuming no load torque, increases at a constant rate as the step increases. In this example, the amount of change in duty ratio per step is represented by j. An ideal duty ratio is represented as D(n). The ideal duty ratio is a value assumed to be output from the magnetic sensor 119 .

負荷トルクが無いとすれば、ステップnとデューティー比D(n)は、理論的に回転方向によらず同じ対応関係を示す。次に、負荷トルクを考慮した場合の挙動について説明する。 If there is no load torque, step n and duty ratio D(n) theoretically show the same correspondence regardless of the direction of rotation. Next, the behavior when the load torque is considered will be described.

図12(A)と図12(B)は、補正なし励磁パターンと上昇回転時の補正なしデューティー比を示すグラフである。実際には、負荷トルクが生じる。ここでは、図9(B)に示した上昇回転時の挙動に着目する。下降回転時の挙動については、図14に関連して後述する。ステップの範囲は、図11と同様である。 12(A) and 12(B) are graphs showing the uncorrected excitation pattern and the uncorrected duty ratio during upward rotation. In practice, a load torque is produced. Here, attention is focused on the behavior during upward rotation shown in FIG. 9(B). The behavior during downward rotation will be described later with reference to FIG. The range of steps is the same as in FIG.

図10に関連して説明したように、ステップ差が5に広がるまでは、ロータ60は回転しない。したがって、ステップ100のデューティー比をiと表すと、ステップ100からステップ105まで進んでもデューティー比のiは、変動しない。ここでは励磁パターンを補正していない。励磁パターンを補正していないときのデューティー比を、「補正なしデューティー比」という。上昇回転時の補正なしデューティー比をDu(n)と表す。補正なしデューティー比Du(n)は、磁気センサ119から実際に出力される値である。 As explained in connection with FIG. 10, the rotor 60 does not rotate until the step difference increases to five. Therefore, if the duty ratio of step 100 is denoted by i, i of the duty ratio does not change even when proceeding from step 100 to step 105 . The excitation pattern is not corrected here. The duty ratio when the excitation pattern is not corrected is referred to as "uncorrected duty ratio". The uncorrected duty ratio during upward rotation is represented by Du(n). The uncorrected duty ratio Du(n) is a value actually output from the magnetic sensor 119 .

ステップ106から一定のペースでロータ60が上昇回転を始め、補正なしデューティー比Du(n)が増加する。たとえば、ステップ109において磁気センサ119から出力されるデューティー比Du(109)は、i+4jであり、理想のデューティー比D(109)のi+9jよりも5jだけ小さい。このように、理想のデューティー比D(n)から上昇回転時の補正なしデューティー比Du(n)を引いた値を、「上昇回転時の補正なしデューティー比差」といい、ΔDu(n)で表す。このデューティー比差の5jに相当する電気角だけロータ60の回転が遅れていると言える。 From step 106, the rotor 60 starts rotating upward at a constant pace, and the uncorrected duty ratio Du(n) increases. For example, the duty ratio Du(109) output from the magnetic sensor 119 in step 109 is i+4j, which is smaller than the ideal duty ratio D(109) i+9j by 5j. In this way, the value obtained by subtracting the uncorrected duty ratio Du(n) during upward rotation from the ideal duty ratio D(n) is called the "uncorrected duty ratio difference during upward rotation", and is expressed as ΔDu(n). show. It can be said that the rotation of the rotor 60 is delayed by an electrical angle corresponding to this duty ratio difference of 5j.

ロータ60の回転の遅れは、ステップ差として把握することもできる。たとえば、ステップ109における補正なしデューティー比Du(109)=i+4jは、理想のデューティー比D(104)と同じレベルであるので、実質的にはステップ104に留まっていると捉えられる。実際のデューティー比と同等の理想のデューティー比に当たるステップを「実質ステップ」という。補正を行わない上昇回転時の実質ステップを、「上昇回転時の補正なし実質ステップ」といい、Su(n)と表す。上昇回転時に指示されているステップnから実質ステップSu(n)を引いた差を、「上昇回転時の補正なしステップ差」といい、ΔSu(n)と表す。1ステップ当たりのデューティー比の変化量を定数Uで表すと、ΔSu(n)は、以下の式1で算出される。この例で、定数Uは、jと等しい。
ΔSu(n)=ΔDu(n)/U [式1]
The rotation delay of the rotor 60 can also be grasped as a step difference. For example, the non-corrected duty ratio Du(109)=i+4j at step 109 is at the same level as the ideal duty ratio D(104), so it is considered that step 104 remains substantially. A step corresponding to an ideal duty ratio equal to the actual duty ratio is called a "substantial step". The actual step during upward rotation without correction is referred to as "substantial step without correction during upward rotation" and represented by Su(n). The difference obtained by subtracting the actual step Su(n) from the indicated step n during upward rotation is referred to as the "uncorrected step difference during upward rotation" and is represented by ΔSu(n). If the amount of change in duty ratio per step is represented by a constant U, ΔSu(n) is calculated by Equation 1 below. In this example the constant U is equal to j.
ΔSu(n)=ΔDu(n)/U [Formula 1]

図示するように、ステップ109における上昇回転時の補正なしステップ差ΔSu(109)は5であり、ステップ109において5ステップだけモータユニット3の反応がずれていることを意味する。そのため、ロータ60の回転が遅れている。 As shown, the uncorrected step difference ΔSu (109) during upward rotation at step 109 is 5, which means that the response of the motor unit 3 is shifted by 5 steps at step 109. FIG. Therefore, the rotation of the rotor 60 is delayed.

このように機械的な反応の遅れでロータ60の変位量に誤差が生じると、弁体34の軸線方向位置にずれが生じ、ひいては弁開度の精度が下がる。そうなると、たとえば電動弁1を冷凍サイクルの膨張弁として使用する場合に、冷媒の流量を正確に調整しにくくなるという問題が生じる。また、ロータ60の回転の遅れは、モータユニット3に指示した角度と磁気センサ119で検出した角度の差に基づいて脱調を検出する脱調検出処理にも影響する。上述のように上昇回転時にロータ60の回転が遅れると、その分だけ脱調検出処理で監視している角度差が大きく表れ、脱調と判定されやすくなってしまう。 If an error occurs in the amount of displacement of the rotor 60 due to the delay in the mechanical response, the axial position of the valve body 34 is shifted, and the accuracy of the valve opening is lowered. As a result, for example, when the motor-operated valve 1 is used as an expansion valve of a refrigeration cycle, there arises a problem that it becomes difficult to accurately adjust the flow rate of the refrigerant. The delay in the rotation of the rotor 60 also affects the step-out detection process for detecting step-out based on the difference between the angle instructed to the motor unit 3 and the angle detected by the magnetic sensor 119 . As described above, if the rotation of the rotor 60 is delayed during the upward rotation, the angle difference monitored by the step-out detection process will increase accordingly, and the step-out will be likely to be determined.

これらの問題を踏まえ、本実施形態では、ロータ60の回転の遅れを抑制するために、ステップに対応する励磁パターンを補正してモータユニット3を動作させる。そして、ロータ60の変位量に生じる誤差を小さくする。 Based on these problems, in the present embodiment, the motor unit 3 is operated by correcting the excitation pattern corresponding to the steps in order to suppress the delay in rotation of the rotor 60 . Then, the error caused in the displacement amount of the rotor 60 is reduced.

図13(A)と図13(B)は、補正あり励磁パターンと上昇回転時の補正ありデューティー比を示すグラフである。これらは、励磁パターンを補正した場合の挙動を示している。ステップの範囲は、図11および図12と同様である。 13(A) and 13(B) are graphs showing the excitation pattern with correction and the duty ratio with correction during upward rotation. These show the behavior when the excitation pattern is corrected. The range of steps is the same as in FIGS. 11 and 12. FIG.

この例では、黒矢印に示したように各励磁パターンを2つ減ずるように補正する。つまり、励磁パターン補正値が-2である。励磁パターン補正値をΔRpと表す。また、補正された励磁パターンを「補正あり励磁パターン」といい、Rp′(n)と表す。補正あり励磁パターンRp′(n)の算出式は、式2で表される。
Rp′(n)=Rp(n)+ΔRp [式2]
In this example, correction is made by subtracting two from each excitation pattern as indicated by the black arrows. That is, the excitation pattern correction value is -2. An excitation pattern correction value is represented as ΔRp. Further, the corrected excitation pattern is called "excitation pattern with correction" and is represented by Rp'(n). A formula for calculating the corrected excitation pattern Rp'(n) is expressed by Formula 2.
Rp'(n)=Rp(n)+ΔRp [Formula 2]

補正を行ったステップ103では、補正を行わないステップ105と同じ励磁パターンになるので、図12のステップ105の場合と同様に、起動トルクと負荷トルクが均衡する。そして、補正を行ったステップ104で、図12のステップ106の場合と同様にロータ60が回転し始める。以降、一定のペースでロータ60が上昇回転を始める。補正あり励磁パターンによって表れるデューティー比を「補正ありデューティー比」といい、上昇回転時の「補正ありデューティー比」を、Du′(n)と表す。 In step 103 with correction, the excitation pattern is the same as in step 105 without correction, so the starting torque and load torque are balanced as in step 105 in FIG. Then, in step 104 after the correction, the rotor 60 starts rotating as in step 106 of FIG. Thereafter, the rotor 60 starts rotating upward at a constant pace. The duty ratio represented by the excitation pattern with correction is referred to as the "duty ratio with correction", and the "duty ratio with correction" during upward rotation is represented by Du'(n).

白矢印に示したように、補正によってデューティー比が上昇して、理想のデューティー比D(n)に近づく。理想のデューティー比D(n)から上昇回転時の補正ありデューティー比Du′(n)を引いた値を、「上昇回転時の補正ありデューティー比差」といい、ΔDu′(n)で表す。つまり、ΔDu′(n)は、以下の式3で算出される。
ΔDu′(n)=D(n)-Du′(n) [式3]
As indicated by the white arrow, the correction increases the duty ratio and approaches the ideal duty ratio D(n). A value obtained by subtracting the corrected duty ratio Du'(n) during upward rotation from the ideal duty ratio D(n) is referred to as the "corrected duty ratio difference during upward rotation" and is represented by ΔDu'(n). That is, ΔDu'(n) is calculated by Equation 3 below.
ΔDu′(n)=D(n)−Du′(n) [Formula 3]

たとえば、ステップ109における上昇回転時の補正ありデューティー比差ΔDu′(109)は、3jである。図12(B)に示した補正なしデューティー比差ΔDu(109)=5jに比べて減少している。つまり、励磁パターンの補正によって、ロータ60の角度が理想に近づいたことを意味する。 For example, the corrected duty ratio difference ΔDu' (109) during upward rotation in step 109 is 3j. It is reduced compared to the uncorrected duty ratio difference ΔDu(109)=5j shown in FIG. 12(B). In other words, it means that the angle of the rotor 60 has approached the ideal by correcting the excitation pattern.

また、ステップ差も縮まる。励磁パターンが補正されて、上昇回転時において指示されているステップから実質ステップを引いた差を、「上昇回転時の補正ありステップ差」といい、ΔSu′(n)と表す。たとえば、上昇回転時のステップ109における補正ありステップ差ΔSu′(109)は3であり、図12(B)に示した上昇回転時の補正なしステップ差ΔSu(109)の5よりも2つ小さくなっている。これは、励磁パターンを2つ先行させたことによる。このように、励磁パターンを先行させてモータユニット3の反応の悪さをカバーすれば、ロータ60の回転開始が早まり、上述した回転の遅れが抑制される。ΔSu′(n)は、以下の式4で表される。
ΔSu′(n)=ΔDu′(n)/U [式4]
Also, the step difference is reduced. After the excitation pattern is corrected, the difference obtained by subtracting the actual step from the indicated step during upward rotation is referred to as the "corrected step difference during upward rotation" and is represented by ΔSu'(n). For example, the corrected step difference ΔSu' (109) at step 109 during upward rotation is 3, which is two smaller than the uncorrected step difference ΔSu (109) during upward rotation shown in FIG. It's becoming This is due to the preceding two excitation patterns. In this way, if the excitation pattern is preceded to compensate for the poor response of the motor unit 3, the rotation of the rotor 60 is started earlier, and the above-described delay in rotation is suppressed. ΔSu′(n) is represented by Equation 4 below.
ΔSu′(n)=ΔDu′(n)/U [Formula 4]

図14は、励磁パターン補正値の求め方を説明するためのグラフである。
図12と同様に補正が行われていない状態で、上昇回転する場合と下降回転する場合の挙動を示している。この挙動に関するパラメータの値を収集して、励磁パターン補正値算出処理に用いられるサンプルデータを得る。この例では、電気角の1周分のサンプルに関するデータを得るものとする。サンプルデータでは、各サンプルについて、ステップnと、磁気センサ119から出力されるデューティー比とが対応付けられる。
FIG. 14 is a graph for explaining how to obtain the excitation pattern correction value.
Similar to FIG. 12, it shows the behavior of upward rotation and downward rotation without correction. By collecting parameter values related to this behavior, sample data used for the excitation pattern correction value calculation process is obtained. In this example, it is assumed that data on samples for one cycle of the electrical angle is obtained. In the sample data, the step n and the duty ratio output from the magnetic sensor 119 are associated with each sample.

図12で説明しなかった下降回転の挙動について説明する。下降回転時の補正なしデューティー比をDd(n)と表し、下降回転時の補正なしデューティー比差をΔDd(n)と表す。下降回転時の補正なしデューティー比差ΔDd(n)は、下降回転時の補正なしデューティー比Dd(n)から理想のデューティー比D(n)を引いた値である。また、補正を行わない下降回転時の実質ステップを「下降回転時の補正なし実質ステップ」といい、Sd(n)と表す。下降回転時に指示されているステップnから実質ステップSd(n)を引いた差を、「下降回転時の補正なしステップ差」といい、ΔSd(n)と表す。 The behavior of downward rotation, which was not explained in FIG. 12, will be explained. The uncorrected duty ratio during downward rotation is denoted by Dd(n), and the uncorrected duty ratio difference during downward rotation is denoted by ΔDd(n). The uncorrected duty ratio difference ΔDd(n) during downward rotation is a value obtained by subtracting the ideal duty ratio D(n) from the uncorrected duty ratio Dd(n) during downward rotation. Further, the actual step during downward rotation without correction is referred to as "substantially uncorrected step during downward rotation" and represented by Sd(n). The difference obtained by subtracting the actual step Sd(n) from the indicated step n during downward rotation is referred to as the "non-correction step difference during downward rotation" and is expressed as ΔSd(n).

上側横軸に示したステップ147において、図9(C)に示したように小さい駆動トルクで均衡状態を迎えて、次のステップ146で小さいステップ差でロータ60が動き出す。その後は、一定の遅れを保って下降回転を続ける。たとえばステップ146における下降回転時の補正なしデューティー比差ΔDd(146)は、jである。下降回転時の補正なし実質ステップSd(146)は、145であり、下降回転時の補正なしステップ差ΔSd(146)は、146-145で算出される1となる。 At step 147 shown on the upper horizontal axis, a balanced state is reached with a small drive torque as shown in FIG. After that, the descending rotation is continued with a constant delay. For example, the uncorrected duty ratio difference ΔDd (146) during downward rotation in step 146 is j. The uncorrected actual step Sd (146) during downward rotation is 145, and the uncorrected step difference ΔSd (146) during downward rotation is 1 calculated from 146-145.

上昇回転と下降回転の両方を行うと、ステップnについて、上昇回転時の補正なしデューティー比Du(n)と下降回転時の補正なしデューティー比Dd(n)が得られる。たとえば、ステップ106について、Du(106)はi+jであり、Dd(106)はi+7jである。また、Du(n)とDd(n)によって、上昇回転時の補正なしデューティー比差ΔDu(n)と下降回転時の補正なしデューティー比差ΔDd(n)が特定される。さらに、上昇回転時の補正なしステップ差ΔSu(n)と下降回転時の補正なしステップ差ΔSd(n)が特定される。ΔSd(n)は、以下の式5で表される。
ΔSd(n)=ΔDd(n)/U [式5]
When both upward rotation and downward rotation are performed, the uncorrected duty ratio Du(n) during upward rotation and the uncorrected duty ratio Dd(n) during downward rotation are obtained for step n. For example, for step 106, Du (106) is i+j and Dd (106) is i+7j. Du(n) and Dd(n) specify the uncorrected duty ratio difference ΔDu(n) during upward rotation and the uncorrected duty ratio difference ΔDd(n) during downward rotation. Further, the uncorrected step difference ΔSu(n) during upward rotation and the uncorrected step difference ΔSd(n) during downward rotation are specified. ΔSd(n) is represented by Equation 5 below.
ΔSd(n)=ΔDd(n)/U [Formula 5]

図示したステップ108における理想のデューティー比D(108)=i+8jに着目すると、そのレベルのデューティー比が上昇回転中はステップ113で表われ、下降回転中はステップ107で表われる。つまり、上昇回転時と下降回転時とで、同じ機械角を示すステップに開きがある。このステップの開きは、下降回転時の補正なしステップ差ΔSd(107)と上昇回転時の補正なしステップ差ΔSu(113)の合計によって特定することができる。このようなステップの開きは、他のレベルにおいても同様に生じている。図14では、ステップの開きの中央点を結ぶ中央線を一点鎖線で示している。本実施形態では、白矢印で示した通り、この中央線を理想のデューティー比D(n)の線に重ねるように、補正なしデューティー比Du(n)、Dd(n)の全体をシフトさせる補正を行う。グラフ上で言えば、ΔSu(113)-ΔSd(107)の半分を移動量として、中央線を左側へスライドさせることになる。励磁パターンの補正を行った場合の挙動については図17に関連して後述するが、上昇回転時の補正ありステップ差ΔSu′(n)と下降回転時の補正ありステップ差ΔSd′(n)が均等になる。下降回転時の補正ありデューティー比差を、ΔDd′(n)と表すと、ΔSd′(n)は、以下の式6で表される。
ΔSd′(n)=ΔDd′(n)/U [式6]
Focusing on the ideal duty ratio D(108)=i+8j in the illustrated step 108, the duty ratio at that level appears at step 113 during upward rotation and at step 107 during downward rotation. In other words, there is a difference in steps showing the same mechanical angle during upward rotation and during downward rotation. This step width can be identified by the sum of the uncorrected step difference ΔSd (107) during downward rotation and the uncorrected step difference ΔSu (113) during upward rotation. Such step openings occur at other levels as well. In FIG. 14, the dashed-dotted line indicates the center line connecting the center points of the step openings. In the present embodiment, as indicated by the white arrows, the correction shifts the entire non-correction duty ratios Du(n) and Dd(n) so that the center line overlaps the line of the ideal duty ratio D(n). I do. In terms of the graph, the center line is slid to the left with half of ΔSu(113)−ΔSd(107) as the amount of movement. The behavior when the excitation pattern is corrected will be described later with reference to FIG. equalize. If the duty ratio difference with correction during downward rotation is expressed as ΔDd'(n), ΔSd'(n) is expressed by the following equation 6.
ΔSd′(n)=ΔDd′(n)/U [Formula 6]

処理としては、各ステップに対応する励磁パターンをステップの移動量に相当する分だけ小さくするように補正値を定める。この例で、励磁パターンの補正値は、ステップの移動量と一致する。この例では、ステップの移動量と励磁パターンの補正値が、ともに-2である。 As processing, a correction value is determined so as to reduce the excitation pattern corresponding to each step by an amount corresponding to the amount of movement of the step. In this example, the excitation pattern correction value matches the step movement amount. In this example, the amount of movement of the step and the correction value of the excitation pattern are both -2.

そして、励磁パターン補正値ΔRpは、以下の式7で求められる。
ΔRp=-(ΔSuの代表値-ΔSdの代表値)/2 [式7]
なお、上昇回転時の補正なしステップ差ΔSu(n)は、式1に従ってΔDu(n)から算出される。また、下降回転時の補正なしステップ差ΔSd(n)は、式5に従ってΔDd(n)から算出される。
Then, the excitation pattern correction value ΔRp is obtained by Equation 7 below.
ΔRp=−(Representative value of ΔSu−Representative value of ΔSd)/2 [Formula 7]
Note that the uncorrected step difference ΔSu(n) during upward rotation is calculated from ΔDu(n) according to Equation (1). Further, the uncorrected step difference ΔSd(n) during downward rotation is calculated from ΔDd(n) according to Equation (5).

上昇回転時の補正なしステップ差ΔSuの代表値は、上昇回転におけるサンプルのΔSu(n)の代表値である。代表値の種類は、たとえば最小値である。他の例として、最大値、平均値、中央値あるいは最頻値などでもよい。下降回転時の補正なしステップ差ΔSdの代表値は、下降回転におけるサンプルのΔSd(n)の代表値である。代表値の種類は、たとえば最大値である。他の例として、最小値、平均値、中央値あるいは最頻値などでもよい。この例では、ΔSuの代表値が5であり、ΔSdの代表値が1であり、励磁パターン補正値ΔRpは-2になる。 The representative value of the uncorrected step difference ΔSu during upward rotation is the representative value of ΔSu(n) of the sample during upward rotation. The type of representative value is, for example, the minimum value. Other examples may be the maximum value, average value, median value, mode value, or the like. The representative value of the uncorrected step difference ΔSd during downward rotation is the representative value of the sample ΔSd(n) during downward rotation. The type of representative value is, for example, the maximum value. Other examples include minimum value, average value, median value, or mode value. In this example, the representative value of ΔSu is 5, the representative value of ΔSd is 1, and the excitation pattern correction value ΔRp is -2.

図15は、補正なし上昇回転時のパラメータ例を示す図である。
上昇回転におけるステップ100~ステップ153までのサンプルに関するパラメータを示している。この例は、図14に対応している。ステップnは、制御回路において特定される。補正なし励磁パターンRp(n)は、ステップnとの対応関係によって定まる。理想のデューティー比D(n)は、補正なし励磁パターンRp(n)によって定まる。つまり、理想のデューティー比D(n)は、ステップnから論理的に定まる。上昇回転時の補正なしデューティー比Du(n)は、磁気センサ119から出力される。なお、このデューティー比Du(n)は、実際の動作と計測に基づく値であるので多少のばらつきを含む。
FIG. 15 is a diagram showing an example of parameters during upward rotation without correction.
It shows the parameters for the samples from step 100 to step 153 in upward rotation. This example corresponds to FIG. Step n is specified in the control circuit. The uncorrected excitation pattern Rp(n) is determined by the correspondence with step n. The ideal duty ratio D(n) is determined by the uncorrected excitation pattern Rp(n). That is, the ideal duty ratio D(n) is logically determined from step n. The uncorrected duty ratio Du(n) during upward rotation is output from the magnetic sensor 119 . Note that this duty ratio Du(n) is a value based on actual operation and measurement, and therefore includes some variations.

図15では省略しているが、ステップ137の補正なし励磁パターンRp(137)はk+10である。同様に補正なし励磁パターンRp(138)はk+9であり、補正なし励磁パターンRp(139)はk+8であり、補正なし励磁パターンRp(140)はk+7であり、補正なし励磁パターンRp(141)はk+6である。これらの値を図14の左上部分に示している。k+10~k+6は、k+44~k+35よりも下に示すべき値であるが、グラフの大きさの都合により便宜的に上部に示している。 Although omitted in FIG. 15, the uncorrected excitation pattern Rp (137) in step 137 is k+10. Similarly, the uncorrected excitation pattern Rp (138) is k+9, the uncorrected excitation pattern Rp (139) is k+8, the uncorrected excitation pattern Rp (140) is k+7, and the uncorrected excitation pattern Rp (141) is k+6. These values are shown in the upper left part of FIG. Values k+10 to k+6 should be shown below k+44 to k+35, but are shown above for convenience of the size of the graph.

上昇回転時の補正なしデューティー比差ΔDu(n)は、理想のデューティー比D(n)から上昇回転時の補正なしデューティー比Du(n)を引いた差として定まる。ΔDu(n)は、ほぼ一定であるが多少のばらつきが表われることがある。上昇回転時の補正なしステップ差ΔSu(n)は、式1に従って、ΔDu(n)から算出される。ΔSu(n)は、ほぼ一定であるが多少のばらつきが表われることがある。上昇回転時の補正なし実質ステップSu(n)は、ステップn-補正なしステップ差ΔSu(n)で特定される。Su(n)には、多少のばらつきが含まれることがある。補正なし実質ステップSu(n)は、説明の便宜のために図15に示されているが算出しなくてもよい。 The uncorrected duty ratio difference ΔDu(n) during upward rotation is determined by subtracting the uncorrected duty ratio Du(n) during upward rotation from the ideal duty ratio D(n). Although ΔDu(n) is almost constant, some variations may appear. The uncorrected step difference ΔSu(n) during upward rotation is calculated from ΔDu(n) according to Equation (1). Although ΔSu(n) is almost constant, some variations may appear. The uncorrected actual step Su(n) at the time of upward rotation is specified by step n-uncorrected step difference ΔSu(n). Su(n) may contain some variation. The uncorrected real step Su(n) need not be calculated although it is shown in FIG. 15 for convenience of explanation.

図16は、補正なし下降回転時のパラメータ例を示す図である。
下降回転におけるステップ148~ステップ99までのサンプルに関するパラメータを示している。この例は、図14に対応している。ステップn、補正なし励磁パターンRp(n)および理想のデューティー比D(n)は、図15の場合と同様である。
FIG. 16 is a diagram showing an example of parameters during downward rotation without correction.
The parameters for the samples from step 148 to step 99 in downward rotation are shown. This example corresponds to FIG. Step n, uncorrected excitation pattern Rp(n) and ideal duty ratio D(n) are the same as in FIG.

下降回転時の補正なしデューティー比Dd(n)は、磁気センサ119から出力される。なお、デューティー比Dd(n)は、Du(n)と同様に多少のばらつきを含む。下降回転時の補正なしデューティー比差ΔDd(n)は、下降回転時の補正なしデューティー比Dd(n)から理想のデューティー比D(n)を引いた差として定まる。ΔDd(n)は、ΔDu(n)と同様に多少のばらつきが表われることがある。下降回転時の補正なしステップ差ΔSd(n)は、式5に従って、ΔDd(n)から算出される。ΔSd(n)は、ΔSu(n)と同様に多少のばらつきが表われることがある。下降回転時の補正なし実質ステップSd(n)は、ステップn+補正なしステップ差ΔSd(n)で特定される。Sd(n)には、Su(n)と同様に多少のばらつきが含まれることがある。補正なし実質ステップSd(n)は、Su(n)と同様に説明の便宜のために図16に示されているが算出しなくてもよい。 The uncorrected duty ratio Dd(n) during downward rotation is output from the magnetic sensor 119 . It should be noted that the duty ratio Dd(n) includes some variations like Du(n). The uncorrected duty ratio difference ΔDd(n) during downward rotation is determined by subtracting the ideal duty ratio D(n) from the uncorrected duty ratio Dd(n) during downward rotation. .DELTA.Dd(n) may show some variation like .DELTA.Du(n). The uncorrected step difference ΔSd(n) during downward rotation is calculated from ΔDd(n) according to Equation (5). As with ΔSu(n), ΔSd(n) may show some variation. The actual uncorrected step Sd(n) during downward rotation is specified by step n+uncorrected step difference ΔSd(n). Sd(n) may contain some variation like Su(n). The uncorrected real step Sd(n), like Su(n), is shown in FIG. 16 for convenience of explanation, but need not be calculated.

サンプルデータには、図15に示した上昇回転時のステップnと補正なしデューティー比Du(n)および図16に示した下降回転時のステップnと補正なしデューティー比Dd(n)が含まれる。図15および図16に示した他のパラメータについては、サンプルデータの収集処理あるいは励磁パターン補正値算出処理の過程において算出できる。算出したパラメータを、処理の便宜のためにサンプルデータに含めるようにしても構わない。 The sample data includes step n and uncorrected duty ratio Du(n) during upward rotation shown in FIG. 15 and step n and uncorrected duty ratio Dd(n) during downward rotation shown in FIG. Other parameters shown in FIGS. 15 and 16 can be calculated in the course of sample data collection processing or excitation pattern correction value calculation processing. The calculated parameters may be included in the sample data for convenience of processing.

図17は、励磁パターン補正の結果を説明するためのグラフである。
図13と同様に、補正が行われた状態で上昇回転する場合と下降回転する場合の挙動を示している。調整された電動弁1を使用する場合には、このような挙動を示す。図13に関連して説明したとおり、白丸で示した補正あり励磁パターンRp′(n)によって駆動電流が印加されて、モータユニット3が駆動する。
FIG. 17 is a graph for explaining the result of excitation pattern correction.
Similar to FIG. 13, it shows the behavior in the case of upward rotation and the downward rotation in the corrected state. This behavior is exhibited when using a regulated motor operated valve 1 . As described with reference to FIG. 13, the drive current is applied by the corrected excitation pattern Rp'(n) indicated by the white circle, and the motor unit 3 is driven.

上昇回転時の補正ありデューティー比Du′(n)と下降回転時の補正ありデューティー比Dd′(n)の中央線が、理想のデューティー比D(n)の線に重なっている。補正を行わない場合と比較すると、たとえばステップ106において、補正なし励磁パターンRp(106)=k+41から補正あり励磁パターンRp′(106)=k+39に変わっている。kは、整数の定数である。それに応じて、補正なしデューティー比Du(106)=i+jが、補正ありデューティー比Du′(106)=i+3jに移り、補正なしデューティー比Dd(106)=i+7jが、補正ありデューティー比Dd′(106)=i+9jに移る。その結果、上昇回転時の補正なしデューティー比差ΔDu(106)=5jが、上昇回転時の補正ありデューティー比差ΔDu′(106)=3jに変わり、下降回転時の補正なしデューティー比差ΔDd(106)=jが、下降回転時の補正ありデューティー比差ΔDd′(106)=3jに変わる。 The center line of the corrected duty ratio Du'(n) during upward rotation and the corrected duty ratio Dd'(n) during downward rotation overlaps the line of the ideal duty ratio D(n). Compared to the case where correction is not performed, at step 106, for example, the excitation pattern without correction Rp(106)=k+41 is changed to the excitation pattern with correction Rp'(106)=k+39. k is an integer constant. Accordingly, the uncorrected duty ratio Du(106)=i+j shifts to the corrected duty ratio Du'(106)=i+3j, and the uncorrected duty ratio Dd(106)=i+7j changes to the corrected duty ratio Dd'(106 )=i+9j. As a result, the uncorrected duty ratio difference ΔDu (106)=5j during upward rotation changes to the corrected duty ratio difference ΔDu′ (106)=3j during upward rotation, and the uncorrected duty ratio difference ΔDd ( 106)=j changes to the corrected duty ratio difference .DELTA.Dd' (106)=3j during downward rotation.

このように、補正しない場合には、上昇回転においてデューティー比差ΔDuが大きく、ロータ60の角度誤差が大きいが、本実施形態の補正を行うと、上昇回転においてデューティー比差ΔDu′が小さくなり、ロータ60の角度誤差が小さくなる。 As described above, without correction, the duty ratio difference ΔDu is large during upward rotation, and the angle error of the rotor 60 is large. An angular error of the rotor 60 is reduced.

図18は、補正あり上昇回転時のパラメータ例を示す図である。
補正を行った場合の上昇回転におけるステップ100~ステップ151までのサンプルに関するパラメータを示している。この例は、図17に対応している。ステップnと補正なし励磁パターンRp(n)は、図15の場合と同様である。励磁パターン補正値ΔRpは一定の値である。補正あり励磁パターンRp′(n)は、式2に従って求められる。上昇回転時の補正ありデューティー比Du′(n)は、磁気センサ119から出力される値である。上昇回転時の補正ありデューティー比差ΔDu′(n)は、式3に示したとおり、理想のデューティー比D(n)から上昇回転時の補正ありデューティー比Du′(n)を引いた差として特定される。上昇回転時の補正ありステップ差ΔSu′(n)は、式4に従って、ΔDu′(n)から算出される。
FIG. 18 is a diagram showing an example of parameters during upward rotation with correction.
The parameters for the samples from step 100 to step 151 in upward rotation with correction are shown. This example corresponds to FIG. Step n and uncorrected excitation pattern Rp(n) are the same as in FIG. The excitation pattern correction value ΔRp is a constant value. The corrected excitation pattern Rp'(n) is obtained according to Equation (2). The corrected duty ratio Du′(n) during upward rotation is a value output from the magnetic sensor 119 . As shown in Equation 3, the corrected duty ratio difference ΔDu'(n) during upward rotation is the difference obtained by subtracting the corrected duty ratio Du'(n) during upward rotation from the ideal duty ratio D(n). identified. The corrected step difference ΔSu'(n) during upward rotation is calculated from ΔDu'(n) according to Equation (4).

図18では省略しているが、ステップ137の補正あり励磁パターンRp′(137)はk+8である。同様に補正あり励磁パターンRp′(138)はk+7であり、補正なし励磁パターンRp(139)はk+6である。これらの値を図17の左上部分に示している。図14の場合と同様に、k+10~k+6は、k+44~k+35よりも下に示すべき値であるが、グラフの大きさの都合により便宜的に上部に示している。 Although omitted in FIG. 18, the corrected excitation pattern Rp' (137) in step 137 is k+8. Similarly, the corrected excitation pattern Rp' (138) is k+7, and the non-corrected excitation pattern Rp (139) is k+6. These values are shown in the upper left part of FIG. As in the case of FIG. 14, k+10 to k+6 are values that should be shown below k+44 to k+35, but are shown above for convenience of the size of the graph.

図19は、補正あり下降回転時のパラメータ例を示す図である。
補正を行った場合の下降回転におけるステップ148~ステップ97までのサンプルに関するパラメータを示している。この例は、図17に対応している。ステップnと補正なし励磁パターンRp(n)は、図16の場合と同様である。上述のとおり、励磁パターン補正値ΔRpは一定の値であり、補正あり励磁パターンRp′(n)は、式2に従って求められる。下降回転時の補正ありデューティー比Dd′(n)は、磁気センサ119から出力される値である。下降回転時の補正ありデューティー比差ΔDd′(n)は、下降回転時の補正ありデューティー比Dd′(n)から理想のデューティー比D(n)を引いた差として特定される。下降回転時の補正ありステップ差ΔSd′(n)は、式6に従って特定される。
FIG. 19 is a diagram showing an example of parameters during downward rotation with correction.
The parameters for the samples from step 148 to step 97 in downward rotation with correction are shown. This example corresponds to FIG. Step n and uncorrected excitation pattern Rp(n) are the same as in FIG. As described above, the excitation pattern correction value ΔRp is a constant value, and the excitation pattern with correction Rp′(n) is obtained according to Equation (2). The corrected duty ratio Dd′(n) during downward rotation is a value output from the magnetic sensor 119 . The corrected duty ratio difference ΔDd'(n) during downward rotation is specified as the difference obtained by subtracting the ideal duty ratio D(n) from the corrected duty ratio Dd'(n) during downward rotation. The corrected step difference ΔSd′(n) during downward rotation is specified according to Equation (6).

図20は、調整装置300および電動弁制御装置200の機能ブロック図である。
本実施形態では、製造段階で電動弁制御装置200に接続された調整装置300において、励磁パターン補正値を求めて、それを電動弁制御装置200に設定する。個々の電動弁制御装置200に対してそれぞれに適した励磁パターン補正値を定めるようにするので、電動弁1の個体毎に異なる駆動トルクや負荷トルクなどの条件に適した調整を行える。個体毎に駆動トルクの大きさが異なる理由としては、上述のとおりステータ64のコイル73が生じさせる磁力の大きさにばらつきがあることなどが挙げられる。また、個体毎に負荷トルクの大きさが異なる理由としては、ねじ部に生じる摩擦力や回転力の大きさにばらつきがあることなどが挙げられる。ねじ部の形状のばらつきやスプリング46の弾性力の大きさのばらつきなどがその要因となる。しかし、このように個体毎に適した調整を行えば、量産される製品の品質を安定させることに繋がる。電動弁1の部品の品質レベルを高く設定しなくても対処できるので、部品コストの低減に資する面もある。
FIG. 20 is a functional block diagram of the adjusting device 300 and the electric valve control device 200. As shown in FIG.
In this embodiment, the adjustment device 300 connected to the motor-operated valve control device 200 at the manufacturing stage obtains the excitation pattern correction value and sets it in the motor-operated valve control device 200 . Since the excitation pattern correction value suitable for each individual motor-operated valve control device 200 is determined, it is possible to make adjustments suitable for different conditions such as drive torque and load torque for each individual motor-operated valve 1 . The reason why the magnitude of the driving torque differs for each individual is that the magnitude of the magnetic force generated by the coil 73 of the stator 64 varies as described above. In addition, the reason why the magnitude of the load torque differs for each individual is that there is variation in the magnitude of the frictional force and the rotational force generated in the threaded portion. This is caused by variation in the shape of the threaded portion, variation in the magnitude of the elastic force of the spring 46, and the like. However, if the adjustment suitable for each individual product is performed in this way, it will lead to the stabilization of the quality of mass-produced products. Since the problem can be dealt with without setting the quality level of the parts of the motor-operated valve 1 to a high level, it also contributes to the reduction of the parts cost.

調整装置300の各構成要素は、CPU(Central Processing Unit)および各種コプロセッサなどの演算器、メモリやストレージといった記憶装置、それらを連結する有線または無線の通信線を含むハードウェアと、記憶装置に格納され、演算器に処理命令を供給するソフトウェアによって実現される。コンピュータプログラムは、デバイスドライバ、オペレーティングシステム、それらの上位層に位置する各種アプリケーションプログラム、また、これらのプログラムに共通機能を提供するライブラリによって構成されてもよい。図示した各ブロックは、ハードウェア単位の構成ではなく、機能単位のブロックを示している。 Each component of the adjustment device 300 includes computing units such as a CPU (Central Processing Unit) and various coprocessors, storage devices such as memory and storage, hardware including wired or wireless communication lines connecting them, and storage devices. It is implemented by software that is stored and provides processing instructions to the calculator. A computer program may consist of a device driver, an operating system, various application programs located in their higher layers, and a library that provides common functions to these programs. Each illustrated block does not represent a configuration in units of hardware, but represents blocks in units of function.

調整装置300は、データ処理部302、通信部304およびデータ格納部306を含む。通信部304は、電動弁制御装置200に接続する通信路を介した通信処理を担当する。データ格納部306は各種データを格納する。データ処理部302は、通信部304により取得されたデータおよびデータ格納部306に格納されているデータに基づいて各種処理を実行する。データ処理部302は、通信部304およびデータ格納部306のインターフェースとしても機能する。 Coordinator 300 includes data processing unit 302 , communication unit 304 and data storage unit 306 . A communication unit 304 is in charge of communication processing via a communication path connected to the motor-operated valve control device 200 . A data storage unit 306 stores various data. The data processing unit 302 executes various processes based on data acquired by the communication unit 304 and data stored in the data storage unit 306 . Data processing unit 302 also functions as an interface for communication unit 304 and data storage unit 306 .

通信部304は、データおよびコマンドを送信する送信部312とデータを受信する受信部310を含む。 Communication unit 304 includes a transmitting unit 312 for transmitting data and commands and a receiving unit 310 for receiving data.

データ処理部302は、指示部318、サンプル取得部320、補正値算出部322および補正値設定部324を有する。指示部318は、電動弁制御装置200に対して原点探索などの各種指示を行う。サンプル取得部320は、電動弁制御装置200からサンプルデータを取得する。補正値算出部322は、サンプルデータに基づいて励磁パターン補正値ΔRpを算出する。補正値設定部324は、電動弁制御装置200に励磁パターン補正値ΔRpを設定する。 The data processing unit 302 has an instruction unit 318 , a sample acquisition unit 320 , a correction value calculation unit 322 and a correction value setting unit 324 . The instruction unit 318 issues various instructions to the motor-operated valve control device 200, such as searching for the origin. The sample acquisition section 320 acquires sample data from the electric valve control device 200 . A correction value calculator 322 calculates an excitation pattern correction value ΔRp based on the sample data. A correction value setting unit 324 sets an excitation pattern correction value ΔRp in the electric valve control device 200 .

データ格納部306は、サンプルデータを記憶するサンプルデータ記憶部330を有する。 The data storage unit 306 has a sample data storage unit 330 that stores sample data.

電動弁制御装置200の各構成要素は、回路基板118上における制御回路(マイクロコンピュータ)、メモリやストレージといった記憶装置、それらを連結する有線または無線の通信線を含むハードウェア(制御回路)と、記憶装置に格納され、演算器に処理命令を供給するソフトウェアによって実現される。コンピュータプログラムは、デバイスドライバおよびアプリケーションプログラム、また、これらのプログラムに共通機能を提供するライブラリによって構成されてもよい。以下に説明する各ブロックは、ハードウェア単位の構成ではなく、機能単位のブロックを示している。 Each component of the electric valve control device 200 includes hardware (control circuit) including a control circuit (microcomputer) on the circuit board 118, storage devices such as memory and storage, and wired or wireless communication lines connecting them. It is implemented by software that is stored in a storage device and that supplies processing instructions to the calculator. Computer programs may consist of device drivers and application programs, as well as libraries that provide common functionality to these programs. Each block described below represents a functional block rather than a hardware configuration.

電動弁制御装置200は、データ処理部202、通信部204、データ格納部206およびロータインタフェース部208を含む。
通信部204は、接続端子81を介して外部装置又は調整装置に対するインターフェースとして機能する。ロータインタフェース部208は、磁気センサ119およびコイルユニット75に対するインターフェースとして機能する。データ処理部202は、データ格納部206に格納されているデータおよび通信部204、ロータインタフェース部208から取得された各種データに基づいて各種処理を実行する。データ処理部202は、通信部204、ロータインタフェース部208およびデータ格納部206のインターフェースとしても機能する。
The motor operated valve control device 200 includes a data processing section 202 , a communication section 204 , a data storage section 206 and a rotor interface section 208 .
The communication unit 204 functions as an interface to an external device or adjustment device via the connection terminal 81 . Rotor interface section 208 functions as an interface for magnetic sensor 119 and coil unit 75 . The data processing unit 202 executes various processes based on data stored in the data storage unit 206 and various data acquired from the communication unit 204 and the rotor interface unit 208 . Data processing unit 202 also functions as an interface for communication unit 204 , rotor interface unit 208 and data storage unit 206 .

通信部204は、外部装置又は調整装置からデータおよびコマンドを受信する受信部210と、外部装置又は調整装置にデータを送信する送信部212を含む。 The communication unit 204 includes a receiving unit 210 for receiving data and commands from an external device or coordinating device, and a transmitting unit 212 for transmitting data to the external device or coordinating device.

ロータインタフェース部208は、回転指示部214および回転検出部216を含む。回転指示部214は、励磁パターンに応じて、U相コイル73a、V相コイル73bおよびW相コイル73cそれぞれに駆動電流を出力する。回転検出部216は、磁気センサ119から受けた電流のパルスからデューティー比を読み取る。 Rotor interface portion 208 includes a rotation instructing portion 214 and a rotation detecting portion 216 . Rotation instruction unit 214 outputs a drive current to each of U-phase coil 73a, V-phase coil 73b, and W-phase coil 73c according to the excitation pattern. The rotation detector 216 reads the duty ratio from the current pulse received from the magnetic sensor 119 .

データ処理部202は、回転制御部218を含む。回転制御部218は、原点情報(基準情報)および励磁パターン補正値などに基づいて回転指示部214を制御する。 The data processing section 202 includes a rotation control section 218 . The rotation control section 218 controls the rotation instruction section 214 based on the origin information (reference information), the excitation pattern correction value, and the like.

データ格納部206は、基準情報記憶部220と励磁パターン補正値記憶部222を含む。基準情報記憶部220は、原点情報(基準情報)を記憶する。励磁パターン補正値記憶部222は、励磁パターン補正値ΔRpを記憶する。基準情報記憶部220と励磁パターン補正値記憶部222は不揮発性メモリに構成される記憶領域である。 Data storage unit 206 includes reference information storage unit 220 and excitation pattern correction value storage unit 222 . The reference information storage unit 220 stores origin information (reference information). The excitation pattern correction value storage unit 222 stores an excitation pattern correction value ΔRp. The reference information storage unit 220 and the excitation pattern correction value storage unit 222 are storage areas configured in a non-volatile memory.

図21は、調整処理過程を示すシーケンス図である。
調整処理は、たとえば製造最終段階において実行される。したがって、電動弁制御装置200の組み立ては完了しているものとする。
FIG. 21 is a sequence diagram showing the adjustment process.
Adjustment processing is performed, for example, in the final stage of manufacturing. Therefore, it is assumed that the assembly of the electric valve control device 200 has been completed.

調整装置300の指示部318は、電動弁制御装置200に対して原点探索を指示する(S10)。このとき、調整装置300の送信部312から原点探索コマンドが送信される。電動弁制御装置200はこのコマンドに従って、原点の位置に弁体34を合わせる原点探索の動作を行って、ステップ0のデューティー比D(0)と励磁パターンRp(0)を調整装置300へ返す(S12)。以降、調整装置300は、ステップ0のデューティー比D(0)と励磁パターンRp(0)に基づいて、各ステップnにおける励磁パターンRp(n)の特定および理想のデューティー比D(n)の特定などの処理を行う。 The instruction unit 318 of the adjustment device 300 instructs the motor-operated valve control device 200 to search for the origin (S10). At this time, an origin search command is transmitted from the transmission unit 312 of the adjustment device 300 . According to this command, the motor-operated valve control device 200 performs an origin search operation for aligning the valve body 34 with the origin position, and returns the duty ratio D(0) and the excitation pattern Rp(0) of step 0 to the adjustment device 300 ( S12). After that, the adjustment device 300 identifies the excitation pattern Rp(n) at each step n and the ideal duty ratio D(n) based on the duty ratio D(0) and the excitation pattern Rp(0) of step 0. and so on.

調整装置300の指示部318は、弁開状態に相当するステップnの範囲で、サンプルデータを取得する。この例では、順次ステップnの切り替えを指示してそのステップnにおける補正なしデューティー比Du(n),Dd(n)を得る。 The instruction unit 318 of the adjustment device 300 acquires sample data in the range of step n corresponding to the valve open state. In this example, the switching of step n is sequentially instructed to obtain the uncorrected duty ratios Du(n) and Dd(n) at step n.

たとえば、上昇回転のサンプリングにおいて、調整装置300の送信部312が、ステップ100への切り替えコマンド、ステップ101への切り替えコマンド、・・・ステップ153への切り替えコマンドを電動弁制御装置200へ送信する(S14,S18,S22)。これによって、調整装置300の受信部310は、電動弁制御装置200からステップ100の補正なしデューティー比Du(100)、ステップ101の補正なしデューティー比Du(101)、・・・ステップ153の補正なしデューティー比Du(153)を受信する(S16,S20,S24)。指示部318は、ステップnと補正なしデューティー比Du(n)とを対応付けてサンプルデータ記憶部330に記憶する。 For example, in sampling the upward rotation, the transmission unit 312 of the adjusting device 300 transmits a switching command to step 100, a switching command to step 101, . S14, S18, S22). As a result, the receiving unit 310 of the adjustment device 300 receives the non-correction duty ratio Du(100) in step 100, the non-correction duty ratio Du(101) in step 101, . The duty ratio Du (153) is received (S16, S20, S24). The instruction unit 318 associates the step n with the uncorrected duty ratio Du(n) and stores them in the sample data storage unit 330 .

同様に、下降回転のサンプリングにおいて、調整装置300の送信部312が、ステップ152への切り替えコマンド、・・・ステップ99への切り替えコマンドを電動弁制御装置200へ送信する(S26,S30)。調整装置300の受信部310は、電動弁制御装置200からステップ152の補正なしデューティー比Dd(152)、・・・ステップ99の補正なしデューティー比Dd(99)を受信する(S28,S32)。指示部318は、ステップnと補正なしデューティー比Dd(n)とを対応付けてサンプルデータ記憶部330に記憶する。 Similarly, in the downward rotation sampling, the transmitter 312 of the adjusting device 300 transmits a switching command to step 152, . The receiving unit 310 of the adjusting device 300 receives the uncorrected duty ratio Dd(152) of step 152, . The instruction unit 318 associates the step n with the uncorrected duty ratio Dd(n) and stores them in the sample data storage unit 330 .

補正値算出部322は、サンプルデータに基づく励磁パターン補正値算出処理を実行する(S34)。励磁パターン補正値算出処理については、図23に関連して後述する。励磁パターン補正値算出処理を終えると、補正値設定部324は、電動弁制御装置200に励磁パターン補正値ΔRpを設定する。具体的には、送信部312が、励磁パターン補正値ΔRpを付加された補正値書き込みコマンドを、電動弁制御装置200へ送信する(S36)。電動弁制御装置200は、このコマンドに従って、励磁パターン補正値ΔRpを記憶する。 The correction value calculator 322 executes excitation pattern correction value calculation processing based on the sample data (S34). The excitation pattern correction value calculation process will be described later with reference to FIG. After completing the excitation pattern correction value calculation process, the correction value setting unit 324 sets the excitation pattern correction value ΔRp in the electric valve control device 200 . Specifically, the transmission unit 312 transmits a correction value write command to which the excitation pattern correction value ΔRp is added to the electric valve control device 200 (S36). The electric valve control device 200 stores the excitation pattern correction value ΔRp according to this command.

図22は、電動弁制御装置200の処理過程を示すフローチャートである。
図21に示した調整処理過程に関連する電動弁制御装置200の処理について詳述する。受信部210が、原点探索コマンドを受信すると(S50のY)、回転制御部218は、ストッパ90がガイド部材36の突部に当接するところまで、モータユニット3を下降回転させてステップ0(原点)を特定する(S52)。その状態で、回転検出部216は、磁気センサ119から受信したパルスからデューティー比D(0)を読み取る(S54)。送信部212は、調整装置300へステップ0のデューティー比D(0)と励磁パターンRp(0)を送信する(S56)。
FIG. 22 is a flow chart showing the process of the electric valve control device 200. As shown in FIG.
The processing of the electric valve control device 200 related to the adjustment processing process shown in FIG. 21 will be described in detail. When the receiving unit 210 receives the origin search command (Y of S50), the rotation control unit 218 rotates the motor unit 3 downward until the stopper 90 abuts on the protrusion of the guide member 36 to step 0 (origin ) is specified (S52). In this state, the rotation detector 216 reads the duty ratio D(0) from the pulse received from the magnetic sensor 119 (S54). The transmission unit 212 transmits the duty ratio D(0) of step 0 and the excitation pattern Rp(0) to the adjustment device 300 (S56).

受信部210が、ステップnへの切り替えコマンドを受信すると(S58のY)、回転制御部218は、ステップnまで1つずつステップを進行させる。ここでは、1ステップ毎に切り替えコマンドを受信するものとする。回転制御部218は、切り替え指示されたステップnに対応する励磁パターンRp(n)を特定する(S60)。回転指示部214は、励磁パターンに応じて駆動電流の値を変更する(S62)。駆動電流の値を変更した後に、回転検出部216は、磁気センサ119から受信したパルスからデューティー比D(n)を読み取る(S64)。送信部212は、読み取ったステップnのデューティー比D(n)を調整装置300へ送信する(S66)。 When the receiving unit 210 receives the command to switch to step n (Y of S58), the rotation control unit 218 advances the step one by one until step n. Here, it is assumed that a switching command is received for each step. The rotation control unit 218 identifies the excitation pattern Rp(n) corresponding to the step n for which the switch has been instructed (S60). The rotation instruction unit 214 changes the value of the drive current according to the excitation pattern (S62). After changing the drive current value, the rotation detector 216 reads the duty ratio D(n) from the pulse received from the magnetic sensor 119 (S64). The transmission unit 212 transmits the read duty ratio D(n) of step n to the adjusting device 300 (S66).

受信部210が、励磁パターン補正値ΔRpを付加された補正値書き込みコマンドを受信すると(S68のY)、回転制御部218は、書き込みコマンドに付加されている励磁パターン補正値ΔRpを励磁パターン補正値記憶部222に記憶させる(S70)。 When the receiving unit 210 receives the correction value write command to which the excitation pattern correction value ΔRp is added (Y in S68), the rotation control unit 218 replaces the excitation pattern correction value ΔRp added to the write command with the excitation pattern correction value. It is stored in the storage unit 222 (S70).

図23は、励磁パターン補正値算出処理過程を示すフローチャートである。
調整装置300の補正値算出部322は、励磁パターンRp(0)を基準として、各サンプルのステップnに対応する補正なし励磁パターンRp(n)を特定する(S80)。この例では、各サンプルの補正なし励磁パターンRp(n)がサンプルデータに格納されるものとする。
FIG. 23 is a flow chart showing the excitation pattern correction value calculation process.
The correction value calculator 322 of the adjustment device 300 identifies the uncorrected excitation pattern Rp(n) corresponding to the step n of each sample with reference to the excitation pattern Rp(0) (S80). In this example, it is assumed that the uncorrected excitation pattern Rp(n) of each sample is stored in the sample data.

補正値算出部322は、各サンプルの補正なし励磁パターンRp(n)に対応する理想のデューティー比D(n)を特定する(S82)。この例では、各サンプルの理想のデューティー比D(n)がサンプルデータに格納されるものとする。 The correction value calculator 322 identifies the ideal duty ratio D(n) corresponding to the uncorrected excitation pattern Rp(n) of each sample (S82). In this example, it is assumed that the ideal duty ratio D(n) of each sample is stored in the sample data.

上述したS80およびS82の処理は、上昇回転時の各サンプルと下降回転時の各サンプルに関して共通に行われる。以下のS84~S88の処理は、上昇回転時の各サンプルに対して行われる。 The processes of S80 and S82 described above are commonly performed for each sample during upward rotation and each sample during downward rotation. The following processing of S84 to S88 is performed for each sample during upward rotation.

補正値算出部322は、上昇回転時の各サンプルについて、理想のデューティー比D(n)から上昇回転時の補正なしデューティー比Du(n)を引いて、上昇回転時の補正なしデューティー比差ΔDu(n)を算出する(S84)。この例では、上昇回転時の各サンプルの上昇回転時の補正なしデューティー比差ΔDu(n)がサンプルデータに格納されるものとする。補正値算出部322は、上昇回転時のサンプルにおける補正なしデューティー比差ΔDu(n)の代表値を特定する(S86)。この例では、補正値算出部322は、上昇回転時の補正なしデューティー比差ΔDu(n)の最小値を特定する。補正値算出部322は、上昇回転時の補正なしデューティー比差ΔDu(n)の最大値、平均値、中央値あるいは最頻値などを特定してもよい。補正値算出部322は、上昇回転時の各サンプルにおける上昇回転時の補正なしステップ差ΔSu(n)の代表値を算出する(S88)。上昇回転時の補正なしステップ差ΔSu(n)の代表値は、式1に従って算出される。 The correction value calculation unit 322 subtracts the uncorrected duty ratio Du(n) during upward rotation from the ideal duty ratio D(n) for each sample during upward rotation to obtain the uncorrected duty ratio difference ΔDu during upward rotation. (n) is calculated (S84). In this example, the uncorrected duty ratio difference ΔDu(n) during upward rotation of each sample during upward rotation is stored in the sample data. The correction value calculation unit 322 identifies a representative value of the uncorrected duty ratio difference ΔDu(n) in samples during upward rotation (S86). In this example, the correction value calculator 322 identifies the minimum value of the uncorrected duty ratio difference ΔDu(n) during upward rotation. The correction value calculation unit 322 may specify the maximum value, average value, median value, mode value, or the like of the uncorrected duty ratio difference ΔDu(n) during upward rotation. The correction value calculator 322 calculates a representative value of the uncorrected step difference ΔSu(n) during upward rotation in each sample during upward rotation (S88). A representative value of the uncorrected step difference ΔSu(n) during upward rotation is calculated according to Equation (1).

続いて、補正値算出部322は、下降回転過程のサンプルに対してS90~S94の処理を行う。
補正値算出部322は、下降回転時の各サンプルについて、下降回転時の補正なしデューティー比Dd(n)から理想のデューティー比D(n)を引いて、下降回転時の補正なしデューティー比差ΔDd(n)を算出する(S90)。この例では、下降回転時の各サンプルの下降回転時の補正なしデューティー比差ΔDd(n)がサンプルデータに格納されるものとする。補正値算出部322は、下降回転時のサンプルにおける補正なしデューティー比差ΔDd(n)の代表値を特定する(S92)。この例では、補正値算出部322は、下降回転時の補正なしデューティー比差ΔDd(n)の最大値を特定する。補正値算出部322は、下降回転時の補正なしデューティー比差ΔDd(n)の最小値、平均値、中央値あるいは最頻値などを特定してもよい。補正値算出部322は、下降回転時の各サンプルにおける下降回転時の補正なしステップ差ΔSd(n)の代表値を算出する(S94)。下降回転時の補正なしステップ差ΔSd(n)の代表値は、式5に従って算出される。
Subsequently, the correction value calculator 322 performs the processes of S90 to S94 on the samples in the downward rotation process.
The correction value calculator 322 subtracts the ideal duty ratio D(n) from the uncorrected duty ratio Dd(n) for the downward rotation for each sample for the downward rotation, and obtains the uncorrected duty ratio difference ΔDd for the downward rotation. (n) is calculated (S90). In this example, the uncorrected duty ratio difference ΔDd(n) during downward rotation of each sample during downward rotation is stored in the sample data. The correction value calculation unit 322 identifies a representative value of the uncorrected duty ratio difference ΔDd(n) in samples during downward rotation (S92). In this example, the correction value calculator 322 identifies the maximum value of the uncorrected duty ratio difference ΔDd(n) during downward rotation. The correction value calculator 322 may specify the minimum value, average value, median value, mode value, or the like of the uncorrected duty ratio difference ΔDd(n) during downward rotation. The correction value calculator 322 calculates a representative value of the uncorrected step difference ΔSd(n) during downward rotation in each sample during downward rotation (S94). A representative value of the uncorrected step difference ΔSd(n) during downward rotation is calculated according to Equation (5).

補正値算出部322は、式7にしたがって、励磁パターン補正値ΔRpを算出する(S96)。励磁パターン補正値ΔRpを整数にするために、補正値算出部322は、式7の算出結果の小数点以下に対する四捨五入、切り捨て、切り上げなどの処理を行う。 The correction value calculator 322 calculates the excitation pattern correction value ΔRp according to Equation 7 (S96). In order to make the excitation pattern correction value ΔRp an integer, the correction value calculation unit 322 performs processing such as rounding off, rounding down, and rounding up to the decimal point of the calculation result of Equation 7. FIG.

図24は、電動弁制御装置200の処理過程を示すフローチャートである。
ここでは、励磁パターン補正値ΔRpを設定された電動弁制御装置200を使用する段階での処理過程を説明する。
FIG. 24 is a flow chart showing the process of the electric valve control device 200. As shown in FIG.
Here, the process at the stage of using the electric valve control device 200 in which the excitation pattern correction value ΔRp is set will be described.

受信部210が、外部装置から移動コマンドを受信すると(S100のY)、回転制御部218は、移動コマンドに従って回転方向と回転速度を決める(S102)。回転制御部218は、回転方向と回転速度に従って、今すぐステップを進めるか否かを判定する(S104)。ステップを進める場合には(S104のY)、回転制御部218は、回転方向に従って次のステップnを特定する(S106)。回転制御部218は、ステップnと補正なし励磁パターンの対応関係に従って、次のステップnの補正なし励磁パターンRp(n)を特定する(S108)。回転制御部218は、励磁パターンを補正する(S110)。具体的には、回転制御部218は、式2に従って、補正なし励磁パターンRp(n)に励磁パターン補正値記憶部222から読み取った励磁パターン補正値ΔRpを加えて、補正あり励磁パターンRp′(n)を算出する。そのとき回転指示部214の通電がOFFになっていれば、回転制御部218は、回転指示部214の通電をONにする。また、回転制御部218は、回転指示部214に補正あり励磁パターンRp′(n)を指示し、回転指示部214は、補正あり励磁パターンRp′(n)に応じた値に駆動電流を変更する(S112)。つまり、補正あり励磁パターンRp′(n)に応じた駆動電流が、モータユニット3に印加される。 When the receiving unit 210 receives the movement command from the external device (Y of S100), the rotation control unit 218 determines the rotation direction and rotation speed according to the movement command (S102). The rotation control unit 218 determines whether or not to advance the step now according to the rotation direction and rotation speed (S104). When advancing the step (Y of S104), the rotation control unit 218 specifies the next step n according to the rotation direction (S106). The rotation control unit 218 identifies the non-correction excitation pattern Rp(n) of the next step n according to the correspondence relationship between the step n and the non-correction excitation pattern (S108). The rotation control unit 218 corrects the excitation pattern (S110). Specifically, the rotation control unit 218 adds the excitation pattern correction value ΔRp read from the excitation pattern correction value storage unit 222 to the non-correction excitation pattern Rp(n) in accordance with Equation 2 to obtain the excitation pattern with correction Rp′( n) is calculated. At that time, if the rotation instructing section 214 is turned off, the rotation control section 218 turns on the rotation instructing section 214 . Further, the rotation control unit 218 instructs the rotation instruction unit 214 to apply the excitation pattern with correction Rp'(n), and the rotation instruction unit 214 changes the drive current to a value corresponding to the excitation pattern with correction Rp'(n). (S112). That is, the drive current corresponding to the corrected excitation pattern Rp′(n) is applied to the motor unit 3 .

受信部210が、停止コマンドを受信した場合には(S114のY)、回転制御部218は、回転指示部214の通電をOFFにする(S116)。これにより、図9(A)に示したように、弁停止となりロータ60の姿勢が保持される。 When the reception unit 210 receives the stop command (Y of S114), the rotation control unit 218 turns off the power supply to the rotation instruction unit 214 (S116). As a result, as shown in FIG. 9A, the valve is stopped and the attitude of the rotor 60 is maintained.

なお、本発明は上記実施形態や変形例に限定されるものではなく、要旨を逸脱しない範囲で構成要素を変形して具体化することができる。上記実施形態や変形例に開示されている複数の構成要素を適宜組み合わせることにより種々の発明を形成してもよい。また、上記実施形態や変形例に示される全構成要素からいくつかの構成要素を削除してもよい。 It should be noted that the present invention is not limited to the above-described embodiments and modifications, and can be embodied by modifying constituent elements without departing from the scope of the invention. Various inventions may be formed by appropriately combining a plurality of constituent elements disclosed in the above embodiments and modifications. Also, some constituent elements may be deleted from all the constituent elements shown in the above embodiments and modifications.

[変形例1]
本実施形態では、上昇回転時の補正ありデューティー比Du′(n)と下降回転時の補正ありデューティー比Dd′(n)の中央線を理想のデューティー比D(n)の線に重ねるように、補正なしデューティー比Du(n)、Dd(n)の全体をシフトさせる補正を行った。図14のグラフ上で言えば、ΔSu(113)-ΔSd(107)の半分を移動量として、中央線を左側へスライドさせた。変形例として、中央線を理想のデューティー比D(n)の線に重ねずに、近づけるだけでもよい。図14のグラフ上で言えば、ΔSu(113)-ΔSd(107)の半分より小さい幅を移動量としてもよい。その場合には、式8によってΔRpを算出する。
ΔRp=-(ΔSuの代表値-ΔSdの代表値)/V [式8]
定数Vは、2より大きい値である。たとえば、2<V≦4の値とする。
[Modification 1]
In this embodiment, the center line of the corrected duty ratio Du'(n) during upward rotation and the corrected duty ratio Dd'(n) during downward rotation is superimposed on the line of the ideal duty ratio D(n). , the uncorrected duty ratios Du(n) and Dd(n) are all shifted. On the graph of FIG. 14, the center line is slid to the left with half of ΔSu(113)−ΔSd(107) as the amount of movement. As a modification, the center line may be brought closer to the line of the ideal duty ratio D(n) without overlapping. In terms of the graph of FIG. 14, a width smaller than half of ΔSu(113)−ΔSd(107) may be used as the amount of movement. In that case, ΔRp is calculated by Equation 8.
ΔRp=−(Representative value of ΔSu−Representative value of ΔSd)/V [Formula 8]
Constant V is a value greater than two. For example, the value is 2<V≦4.

[変形例2]
実施形態では、上昇回転時と下降回転時で共通の励磁パターン補正値ΔRpを求める例を示したが、上昇回転時と下降回転時で異なる励磁パターン補正値を求めるようにしてもよい。
[Modification 2]
In the embodiment, an example of obtaining a common excitation pattern correction value ΔRp for upward rotation and downward rotation has been shown, but different excitation pattern correction values may be obtained for upward rotation and downward rotation.

上昇回転時の励磁パターン補正値をΔRpuと表す。たとえば、上昇回転時の補正ありデューティー比Du′(n)を理想のデューティー比D(n)の線に重ねるように、補正なしデューティー比Du(n)をシフトさせる補正を行う。その場合には、式9によってΔRpuを算出する。
ΔRpu=-ΔSuの代表値 [式9]
なお、上昇回転時の補正なしステップ差ΔSu(n)は、式1に従ってΔDu(n)から算出される。この例では、ΔSuの代表値が5であり、上昇回転時の励磁パターン補正値ΔRpは-5になる。これにより、上昇回転時には5つ励磁パターンが先行する。
The excitation pattern correction value during upward rotation is represented as ΔRpu. For example, the non-correction duty ratio Du(n) is shifted so that the duty ratio Du'(n) with correction during upward rotation overlaps the line of the ideal duty ratio D(n). In that case, ΔRpu is calculated by Equation (9).
Representative value of ΔRpu = -ΔSu [Formula 9]
Note that the uncorrected step difference ΔSu(n) during upward rotation is calculated from ΔDu(n) according to Equation (1). In this example, the representative value of ΔSu is 5, and the excitation pattern correction value ΔRp during upward rotation is -5. As a result, five excitation patterns precede at the time of upward rotation.

下降回転時の励磁パターン補正値をΔRpdと表す。たとえば、下降回転時の補正ありデューティー比Dd′(n)を理想のデューティー比D(n)の線に重ねるように、補正なしデューティー比Dd(n)をシフトさせる補正を行う。その場合には、式10によってΔRpdを算出する。
ΔRpd=ΔSdの代表値 [式10]
なお、下降回転時の補正なしステップ差ΔSd(n)は、式5に従ってΔDd(n)から算出される。この例では、ΔSdの代表値が1であり、下降回転時の励磁パターン補正値ΔRpdは1になる。これにより、下降回転時には1つ励磁パターンが先行する。
The excitation pattern correction value during downward rotation is represented as ΔRpd. For example, the non-correction duty ratio Dd(n) is shifted so that the duty ratio Dd'(n) with correction during downward rotation overlaps the line of the ideal duty ratio D(n). In that case, ΔRpd is calculated by Equation (10).
ΔRpd = representative value of ΔSd [Formula 10]
The uncorrected step difference ΔSd(n) during downward rotation is calculated from ΔDd(n) according to Equation (5). In this example, the representative value of ΔSd is 1, and the excitation pattern correction value ΔRpd during downward rotation is 1. As a result, one excitation pattern precedes the downward rotation.

変形例2における動作について実施形態を基礎にして補足する。
図21に関連して、励磁パターン補正値算出処理を終えると、補正値設定部324は、電動弁制御装置200に上昇回転時の励磁パターン補正値ΔRpuと下降回転時の励磁パターン補正値ΔRpdを設定する。具体的には、送信部312が、上昇回転時の励磁パターン補正値ΔRpuと下降回転時の励磁パターン補正値ΔRpdを付加された補正値書き込みコマンドを、電動弁制御装置200へ送信する(S36)。電動弁制御装置200は、このコマンドに従って、上昇回転時の励磁パターン補正値ΔRpuと下降回転時の励磁パターン補正値ΔRpdを記憶する。
The operation in modification 2 will be supplemented based on the embodiment.
21, when the excitation pattern correction value calculation process is completed, the correction value setting unit 324 sets the excitation pattern correction value ΔRpu for upward rotation and the excitation pattern correction value ΔRpd for downward rotation to the electric valve control device 200. set. Specifically, the transmission unit 312 transmits a correction value write command to which the excitation pattern correction value ΔRpu for upward rotation and the excitation pattern correction value ΔRpd for downward rotation are added to the electric valve control device 200 (S36). . According to this command, the electric valve control device 200 stores an excitation pattern correction value ΔRpu for upward rotation and an excitation pattern correction value ΔRpd for downward rotation.

図22に関連して、受信部210が、上昇回転時の励磁パターン補正値ΔRpuと下降回転時の励磁パターン補正値ΔRpdを付加された補正値書き込みコマンドを受信すると(S68のY)、回転制御部218は、書き込みコマンドに付加されている上昇回転時の励磁パターン補正値ΔRpuと下降回転時の励磁パターン補正値ΔRpdを励磁パターン補正値記憶部222に記憶させる(S70)。 22, when the receiving unit 210 receives a correction value write command to which the excitation pattern correction value ΔRpu for upward rotation and the excitation pattern correction value ΔRpd for downward rotation are added (Y in S68), rotation control is performed. The unit 218 causes the excitation pattern correction value storage unit 222 to store the excitation pattern correction value ΔRpu for upward rotation and the excitation pattern correction value ΔRpd for downward rotation added to the write command (S70).

図24に関連して、S110に示した励磁パターンの補正において、上昇回転の場合には、回転制御部218は、式11に従って、補正なし励磁パターンRp(n)に励磁パターン補正値記憶部222から読み取った上昇回転時の励磁パターン補正値ΔRpuを加えて、補正あり励磁パターンRp′(n)を算出する。
Rp′(n)=Rp(n)+ΔRpu [式11]
24, in the excitation pattern correction shown in S110, in the case of upward rotation, the rotation control unit 218 stores the uncorrected excitation pattern Rp(n) in the excitation pattern correction value storage unit 222 according to Equation 11. is added to the excitation pattern correction value ΔRpu at the time of the upward rotation read from , the excitation pattern with correction Rp′(n) is calculated.
Rp′(n)=Rp(n)+ΔRpu [Formula 11]

下降回転の場合には、回転制御部218は、式12に従って、補正なし励磁パターンRp(n)に励磁パターン補正値記憶部222から読み取った下降回転時の励磁パターン補正値ΔRpdを加えて、補正あり励磁パターンRp′(n)を算出する。
Rp′(n)=Rp(n)+ΔRpd [式12]
In the case of downward rotation, the rotation control unit 218 adds the excitation pattern correction value ΔRpd for downward rotation read from the excitation pattern correction value storage unit 222 to the non-corrected excitation pattern Rp(n) in accordance with Equation 12 to perform correction. Then, an excitation pattern Rp'(n) is calculated.
Rp′(n)=Rp(n)+ΔRpd [Formula 12]

[変形例3]
上述した実施形態、変形例1及び変形例2では、励磁パターン補正値を算出する処理を電動弁1の電動弁制御装置200に接続する調整装置300で行う例を示したが、これらの励磁パターン補正値を算出する処理を電動弁1側で行うようにしてもよい。すなわち、調整装置300の機能を回路基板118上の電動弁制御装置200に持たせて、電動弁1だけで励磁パターン補正値を算出することも可能である。
[Modification 3]
In the above-described embodiment, modified example 1, and modified example 2, an example is shown in which the process of calculating the excitation pattern correction value is performed by the adjustment device 300 connected to the motor-operated valve control device 200 of the motor-operated valve 1, but these excitation patterns The process of calculating the correction value may be performed on the motor operated valve 1 side. That is, it is possible to provide the motor-operated valve control device 200 on the circuit board 118 with the function of the adjusting device 300 and calculate the excitation pattern correction value only with the motor-operated valve 1 .

図25は、変形例2における電動弁制御装置200の機能ブロック図である。
電動弁制御装置200のデータ処理部202は、サンプル生成部219と補正値算出部322を有する。
サンプル生成部219は、実施形態、変形例1及び変形例2に示した調整装置300が取得したサンプルデータと同等のサンプルデータを生成する。補正値算出部322は、実施形態及び変形例1に示した調整装置300の場合と同様に、サンプルデータに基づいて励磁パターン補正値ΔRpを算出する。あるいは、補正値算出部322は、変形例2に示した調整装置300の場合と同様に、サンプルデータに基づいて上昇回転時の励磁パターン補正値ΔRpuと下降回転時の励磁パターン補正値ΔRpdを算出する。
FIG. 25 is a functional block diagram of an electric valve control device 200 according to Modification 2. As shown in FIG.
The data processing section 202 of the electric valve control device 200 has a sample generation section 219 and a correction value calculation section 322 .
The sample generation unit 219 generates sample data equivalent to the sample data acquired by the adjustment device 300 described in the embodiment, modification 1, and modification 2. FIG. The correction value calculator 322 calculates the excitation pattern correction value ΔRp based on the sample data, as in the case of the adjustment device 300 shown in the embodiment and modification 1. FIG. Alternatively, the correction value calculation unit 322 calculates the excitation pattern correction value ΔRpu for upward rotation and the excitation pattern correction value ΔRpd for downward rotation based on sample data, as in the case of the adjustment device 300 shown in Modification 2. do.

電動弁制御装置200のデータ格納部206は、実施形態、変形例1及び変形例2に示した調整装置300のサンプルデータ記憶部330と同等のサンプルデータ記憶部330を有する。 The data storage unit 206 of the electric valve control device 200 has a sample data storage unit 330 equivalent to the sample data storage unit 330 of the adjustment device 300 shown in the embodiment, modification 1 and modification 2.

図26は、変形例3における電動弁制御装置200の補正値設定処理過程を示すフローチャートである。
この処理は、製造最終段階で電動弁制御装置200の受信部210が調整装置300から励磁パターン補正値の設定コマンドを受信したときに起動される。あるいは、この処理は、電動弁1がたとえば自動車用空調装置に実装された状態で、電動弁制御装置200の受信部210が外部装置から励磁パターン補正値の設定コマンドを受信したときに起動される。また、これら以外のタイミングで起動されるようにしてもよい。なお、原点探索の動作は、完了しているものとする。
FIG. 26 is a flow chart showing the correction value setting process of the electric valve control device 200 in Modification 3. As shown in FIG.
This process is started when the receiving unit 210 of the motor-operated valve control device 200 receives a command for setting the excitation pattern correction value from the adjusting device 300 in the final stage of manufacturing. Alternatively, this process is started when the receiving unit 210 of the motor-operated valve control device 200 receives a command for setting the excitation pattern correction value from an external device while the motor-operated valve 1 is installed in, for example, an automotive air conditioner. . Also, it may be activated at a timing other than these. It is assumed that the origin searching operation has been completed.

サンプル生成部219は、弁開状態に相当するサンプリング範囲のステップを順次特定する(S120)。具体的には、サンプル生成部219は、上昇回転のサンプリングにおいて、たとえばステップ100、ステップ101、・・・ステップ153の順に特定する。また、サンプル生成部219は、下降回転のサンプリングにおいて、たとえばステップ152、ステップ151、・・・ステップ99の順に特定する。 The sample generator 219 sequentially identifies the steps in the sampling range corresponding to the valve open state (S120). Specifically, the sample generation unit 219 specifies, for example, steps 100, 101, . Further, the sample generator 219 specifies, for example, steps 152, 151, .

回転制御部218は、サンプル生成部219で特定されたステップnに対応する励磁パターンRp(n)を特定する(S122)。回転指示部214は、励磁パターンに応じて駆動電流の値を変更する(S124)。駆動電流の値を変更した後に、回転検出部216は、磁気センサ119から受信したパルスからデューティー比D(n)を読み取る(S126)。そして、サンプル生成部219は、ステップnとデューティー比D(n)をサンプルデータに追加する(S128)。 Rotation control unit 218 identifies excitation pattern Rp(n) corresponding to step n identified by sample generation unit 219 (S122). The rotation instruction unit 214 changes the value of the drive current according to the excitation pattern (S124). After changing the drive current value, the rotation detector 216 reads the duty ratio D(n) from the pulse received from the magnetic sensor 119 (S126). Then, the sample generator 219 adds the step n and the duty ratio D(n) to the sample data (S128).

サンプル生成部219が、サンプリング範囲のステップ(上昇回転方向のステップと下降回転方向のステップ)の残りがあると判定した場合には(S130のN)、S120に戻って上述した処理を繰り返す。サンプル生成部219が、サンプリング範囲のステップのすべてについて処理したと判定した場合には(S130のY)、S132の処理に移る。 When the sample generator 219 determines that there are remaining steps in the sampling range (steps in the upward rotation direction and steps in the downward rotation direction) (N in S130), the process returns to S120 and repeats the above-described processing. When the sample generating unit 219 determines that all the steps in the sampling range have been processed (Y of S130), the process proceeds to S132.

このようにして、電動弁制御装置200においてサンプルデータが生成される。つまり、上昇回転のサンプリングによって、上昇回転方向の各ステップnと、それらのステップnにおける補正なしデューティー比Du(n)とが対応付けてサンプルデータ記憶部330に記憶される。また、下降回転のサンプリングによって、下降回転方向の各ステップnと、それらのステップnにおける補正なしデューティー比Dd(n)とが対応付けてサンプルデータ記憶部330に記憶される。 Thus, sample data is generated in the electric valve control device 200 . That is, by sampling the upward rotation, each step n in the upward rotation direction and the uncorrected duty ratio Du(n) at each step n are associated and stored in the sample data storage unit 330 . Further, by sampling the downward rotation, each step n in the downward rotation direction and the uncorrected duty ratio Dd(n) at each step n are stored in the sample data storage unit 330 in association with each other.

サンプルデータの生成を終えると、電動弁制御装置200の補正値算出部322は、励磁パターン補正値算出処理を実行する(S132)。変形例3における励磁パターン補正値算出処理は、実施形態、変形例1及び変形例2において調整装置300の補正値算出部322が行う処理と同様である。実施形態及び変形例1と同様の励磁パターン補正値算出処理を行った場合には、電動弁制御装置200の補正値算出部322は、励磁パターン補正値ΔRpを励磁パターン補正値記憶部222に記憶させる。変形例2と同様の励磁パターン補正値算出処理を行った場合には、電動弁制御装置200の補正値算出部322は、上昇回転時の励磁パターン補正値ΔRpuと下降回転時の励磁パターン補正値ΔRpdを励磁パターン補正値記憶部222に記憶させる。 After generating the sample data, the correction value calculator 322 of the motor-operated valve control device 200 executes excitation pattern correction value calculation processing (S132). The excitation pattern correction value calculation process in Modification 3 is the same as the process performed by the correction value calculation unit 322 of the adjustment device 300 in the embodiment, Modifications 1 and 2. FIG. When the same excitation pattern correction value calculation processing as in the embodiment and modification 1 is performed, the correction value calculation unit 322 of the electric valve control device 200 stores the excitation pattern correction value ΔRp in the excitation pattern correction value storage unit 222. Let When the same excitation pattern correction value calculation processing as in Modification 2 is performed, the correction value calculation unit 322 of the motor-operated valve control device 200 calculates the excitation pattern correction value ΔRpu for upward rotation and the excitation pattern correction value for downward rotation. ΔRpd is stored in the excitation pattern correction value storage unit 222 .

電動弁制御装置200のその他の処理については、実施形態、変形例1及び変形例2の場合と同様である。 Other processing of the motor-operated valve control device 200 is the same as in the case of the embodiment, the first modification, and the second modification.

本実施形態においては最下位点の原点を基準位置とする例を説明した。変形例として最上位点を基準位置に設定してもよい。基準位置は作動ロッド32をロータ60で駆動するための基準となるべき位置であればよい。ストッパ90によりロータ60の回転を規制可能な位置であれば任意に基準位置を定めることができる。 In this embodiment, an example in which the origin of the lowest point is used as the reference position has been described. As a modification, the highest point may be set as the reference position. The reference position may be a reference position for driving the operating rod 32 by the rotor 60 . The reference position can be arbitrarily determined as long as it is a position where the rotation of the rotor 60 can be restricted by the stopper 90 .

上記実施形態では、磁気センサ119をセンサマグネット106と軸線方向に対向させる構成を例示した(図1参照)。変形例においては、センサマグネットの側方(径方向外側)に磁気センサを配置してもよい。すなわち、両者を径方向に対向させてもよい。センサマグネットの外周面に着磁してもよい。その極数については、例えば弁本体2極とするなど適宜設定できる。 In the above-described embodiment, the configuration in which the magnetic sensor 119 faces the sensor magnet 106 in the axial direction is exemplified (see FIG. 1). In a modification, the magnetic sensor may be arranged laterally (outside in the radial direction) of the sensor magnet. That is, both may be opposed in the radial direction. The outer peripheral surface of the sensor magnet may be magnetized. The number of poles can be appropriately set, for example, two poles in the valve body.

上記実施形態では、ロータマグネット104とセンサマグネット106とが軸線方向に離隔する構成を例示した。変形例においては、ロータマグネットとセンサマグネットとを一体に構成してもよい。マグネット部成形工程において、ロータマグネット部とセンサマグネット部とを一体成形してもよい。その場合、磁気センサが磁束を確実に検出できるよう、センサマグネットの面積(外径)を大きくしてもよい。センサマグネットがロータコアの外周にはみ出すことになるため、センサマグネットとロータマグネットを射出成形しやすくなる。 In the above embodiment, the configuration in which the rotor magnet 104 and the sensor magnet 106 are separated in the axial direction is exemplified. In a modification, the rotor magnet and the sensor magnet may be integrated. In the magnet portion molding step, the rotor magnet portion and the sensor magnet portion may be integrally molded. In that case, the area (outer diameter) of the sensor magnet may be increased so that the magnetic sensor can reliably detect the magnetic flux. Since the sensor magnet protrudes outside the rotor core, injection molding of the sensor magnet and the rotor magnet is facilitated.

各実施形態では、ステータのコアとして積層コア(積層磁心)を例示した。変形例においては、圧粉コアその他のコアを採用してもよい。圧粉コアは、「圧粉磁心」とも呼ばれ、軟磁性材料を粉末にし、非導電性の樹脂等でコーティングした紛体と、樹脂バインダとを混練し、圧縮成型・加熱することで得られる。 In each embodiment, a laminated core (laminated magnetic core) is exemplified as the core of the stator. Alternatively, a dust core or other core may be employed. A dust core is also called a "dust core" and is obtained by pulverizing a soft magnetic material and coating it with a non-conductive resin or the like, kneading the powder with a resin binder, compression molding, and heating.

各実施形態では、回路基板の下面に駆動回路、制御回路、通信回路および電源回路が実装される構成を例示したが、実装される回路については適宜変更できる。例えば、駆動回路および電源回路を実装する一方、制御回路を電動弁の外部に設置してもよい。また、各回路を回路基板の上面に実装してもよい。 In each embodiment, the configuration in which the drive circuit, the control circuit, the communication circuit, and the power supply circuit are mounted on the lower surface of the circuit board was exemplified, but the circuits to be mounted can be changed as appropriate. For example, the drive circuit and power supply circuit may be implemented, while the control circuit may be located external to the motor operated valve. Also, each circuit may be mounted on the upper surface of the circuit board.

各実施形態では、モータユニットとして、PM型ステッピングモータを採用したが、ハイブリッド型ステッピングモータを採用してもよい。また、上記実施形態では、モータユニットを三相モータとしたが、二相,四相、五相などその他のモータとしてもよい。ステータにおける電磁コイルの数もモータユニット3つや第1ボディ6つに限らず、モータの相数に合わせて適宜設定してよい。 In each embodiment, a PM stepping motor is used as the motor unit, but a hybrid stepping motor may be used. Further, in the above embodiment, the motor unit is a three-phase motor, but other motors such as two-phase, four-phase, and five-phase motors may be used. The number of electromagnetic coils in the stator is not limited to three motor units or six first bodies, and may be appropriately set according to the number of phases of the motor.

各実施形態の電動弁は、冷媒として代替フロン(HFC-134a)など使用する冷凍サイクルに好適に適用されるが、二酸化炭素のように作動圧力が高い冷媒を用いる冷凍サイクルに適用することも可能である。その場合には、冷凍サイクルに凝縮器に代わってガスクーラなどの外部熱交換器が配置される。 The motor-operated valve of each embodiment is suitably applied to a refrigeration cycle that uses a CFC substitute (HFC-134a) as a refrigerant, but it can also be applied to a refrigeration cycle that uses a refrigerant with a high operating pressure, such as carbon dioxide. is. In that case, an external heat exchanger such as a gas cooler is arranged in the refrigeration cycle instead of the condenser.

各実施形態では、上記電動弁を膨張弁として構成したが、膨張機能を有しない開閉弁や流量制御弁として構成してもよい。 In each embodiment, the electric valve is configured as an expansion valve, but it may be configured as an on-off valve or a flow control valve that does not have an expansion function.

各実施形態では、上記電動弁を自動車用空調装置の冷凍サイクルに適用する例を示したが、車両用に限らず電動膨張弁を搭載する空調装置に適用可能である。また、冷媒以外の流体の流れを制御する電動弁として構成することもできる。 In each embodiment, an example in which the electric valve is applied to the refrigerating cycle of an automotive air conditioner is shown, but the electric valve is applicable not only to vehicles but also to air conditioners equipped with an electric expansion valve. Also, it can be configured as an electrically operated valve that controls the flow of fluid other than refrigerant.

本実施形態における1は電気自動車に限らず、各種の自動車に応用可能である。 1 in this embodiment is applicable not only to electric vehicles but also to various vehicles.

センサマグネット106を両面4極着磁(片面弁本体2極の両面着磁)としてもよい。上面と下面で磁極の極性を反転させることで磁束を強化できる。この場合、ロータ60が閉弁方向に変位してセンサマグネット106と磁気センサ119との距離が大きくなっても、磁気センサ119の感度を良好に維持できる。 The sensor magnet 106 may be magnetized on both sides with four poles (double-sided magnetization with two poles on the single-sided valve main body). Magnetic flux can be strengthened by reversing the polarity of the magnetic poles on the top and bottom surfaces. In this case, even if the rotor 60 is displaced in the valve closing direction and the distance between the sensor magnet 106 and the magnetic sensor 119 increases, the sensitivity of the magnetic sensor 119 can be maintained satisfactorily.

1 電動弁、2 弁本体、3 モータユニット、5 ボディ、6 第1ボディ、8 第2ボディ、10 雄ねじ、12 シール収容部、14 シールリング、16 凹状嵌合部、18 シール収容部、20 シールリング、22 弁孔、24 弁座、26 入口ポート、28 出口ポート、30 弁室、32 作動ロッド、34 弁体、36 ガイド部材、38 雄ねじ、40 大径部、42 ばね受け、44 ばね受け、46 スプリング、52 係止部、60 ロータ、62 回転軸、64 ステータ、66 キャン、70 積層コア、73 コイル、73a U相コイル、73b V相コイル、73c W相コイル、74 ボビン、75 コイルユニット、76 ケース、77 蓋体、78 ステータユニット、79 コネクタ部、80 シール収容部、81 接続端子、82 シールリング、90 ストッパ、102 ロータコア、104 ロータマグネット、106 センサマグネット、108 雌ねじ、109 ねじ送り機構、110 縮径部、112 底部、114 ストッパ、116 スプリング、117 端子、118 回路基板、119 磁気センサ、120 スロット、122 突極、124 スリット、140 環状溝、144 環状溝、200 電動弁制御装置、202 データ処理部、204 通信部、206 データ格納部、220 基準情報記憶部、222 励磁パターン補正値記憶部、208 ロータインタフェース部、210 受信部、212 送信部、214 回転指示部、216 回転検出部、218 回転制御部、219 サンプル生成部、222 励磁パターン補正値記憶部、300 調整装置、302 データ処理部、304 通信部、306 データ格納部、310 受信部、312 送信部、318 指示部、320 サンプル取得部、322 補正値算出部、324 補正値設定部、330 サンプルデータ記憶部 Reference Signs List 1 electric valve, 2 valve body, 3 motor unit, 5 body, 6 first body, 8 second body, 10 male thread, 12 seal housing portion, 14 seal ring, 16 concave fitting portion, 18 seal housing portion, 20 seal ring, 22 valve hole, 24 valve seat, 26 inlet port, 28 outlet port, 30 valve chamber, 32 operating rod, 34 valve body, 36 guide member, 38 male screw, 40 large diameter portion, 42 spring bearing, 44 spring bearing, 46 spring, 52 locking portion, 60 rotor, 62 rotating shaft, 64 stator, 66 can, 70 laminated core, 73 coil, 73a U-phase coil, 73b V-phase coil, 73c W-phase coil, 74 bobbin, 75 coil unit, 76 case, 77 cover, 78 stator unit, 79 connector, 80 seal housing, 81 connection terminal, 82 seal ring, 90 stopper, 102 rotor core, 104 rotor magnet, 106 sensor magnet, 108 female screw, 109 screw feed mechanism, 110 reduced diameter portion 112 bottom portion 114 stopper 116 spring 117 terminal 118 circuit board 119 magnetic sensor 120 slot 122 salient pole 124 slit 140 annular groove 144 annular groove 200 electric valve control device 202 data processing unit, 204 communication unit, 206 data storage unit, 220 reference information storage unit, 222 excitation pattern correction value storage unit, 208 rotor interface unit, 210 reception unit, 212 transmission unit, 214 rotation instruction unit, 216 rotation detection unit, 218 rotation control unit, 219 sample generation unit, 222 excitation pattern correction value storage unit, 300 adjustment device, 302 data processing unit, 304 communication unit, 306 data storage unit, 310 reception unit, 312 transmission unit, 318 instruction unit, 320 sample acquisition unit 322 correction value calculation unit 324 correction value setting unit 330 sample data storage unit

Claims (12)

ステップに対応する励磁パターンによって印加される駆動電流によってロータを回転させるステッピングモータと、前記ロータの回転運動を弁体の軸線運動に変化させる機構とを有する電動弁に接続され、
前記電動弁の個体毎に設定される励磁パターン補正値を記憶する励磁パターン補正値記憶部と、
前記ステップに対応する前記励磁パターンを、前記励磁パターン補正値に基づいて補正する回転制御部と、
補正された励磁パターンによって前記ステッピングモータに駆動電流を印加する回転指示部と、を備えることを特徴とする電動弁制御装置。
Connected to an electric valve having a stepping motor that rotates a rotor by a drive current applied by an excitation pattern corresponding to a step, and a mechanism that changes the rotary motion of the rotor to axial motion of the valve body,
an excitation pattern correction value storage unit that stores an excitation pattern correction value set for each individual motor-operated valve;
a rotation control unit that corrects the excitation pattern corresponding to the step based on the excitation pattern correction value;
and a rotation instruction unit that applies a drive current to the stepping motor according to the corrected excitation pattern.
前記電動弁制御装置は、更に、前記励磁パターン補正値を付加された補正値書き込みコマンドを受信する受信部を備え、
前記回転制御部は、受信した前記補正値書き込みコマンドに付加された前記励磁パターン補正値を、前記励磁パターン補正値記憶部に記憶させることを特徴とする請求項1に記載の電動弁制御装置。
The electric valve control device further comprises a receiving unit that receives a correction value write command to which the excitation pattern correction value is added,
2. The electric valve control device according to claim 1, wherein the rotation control unit stores the excitation pattern correction value added to the received correction value write command in the excitation pattern correction value storage unit.
ステップに対応する励磁パターンによって印加される駆動電流によってロータを回転させるステッピングモータと、前記ロータの回転運動を弁体の軸線運動に変化させる機構と、前記ロータの角度を検出するセンサと、前記弁体の軸線方向に弾性力を与える弾性体と、を有する電動弁に接続された電動弁制御装置に接続され、
前記ロータの2つの回転方向のうち、前記弾性力による負荷トルクがより大きくなる一方の第1回転方向に前記ロータを回転させる動作におけるステップと、当該ステップにおいて前記センサで検出された前記ロータの角度を示すパラメータとを含むサンプルデータを、前記電動弁制御装置から取得するサンプル取得部と、
前記サンプルデータに基づいて、前記第1回転方向の動作において励磁パターンを先行させる励磁パターン補正値を算出する補正値算出部と、
算出された前記励磁パターン補正値を前記電動弁制御装置に設定する補正値設定部と、を備えることを特徴とする調整装置。
A stepping motor that rotates a rotor by a drive current applied by an excitation pattern corresponding to a step, a mechanism that converts the rotary motion of the rotor into axial motion of the valve body, a sensor that detects the angle of the rotor, and the valve. an elastic body that imparts elastic force in the axial direction of the body;
A step in an operation of rotating the rotor in a first rotation direction, which is one of the two rotation directions of the rotor in which the load torque due to the elastic force is larger, and an angle of the rotor detected by the sensor in the step a sample acquisition unit that acquires sample data including a parameter from the motor-operated valve control device;
a correction value calculation unit that calculates, based on the sample data, an excitation pattern correction value that advances the excitation pattern in the operation in the first rotation direction;
and a correction value setting unit that sets the calculated excitation pattern correction value in the electric valve control device.
前記サンプル取得部は、前記サンプルデータとして、更に前記第1回転方向と反対の第2回転方向に前記ロータを回転させる動作におけるステップと、当該ステップにおいて前記センサで検出された前記ロータの角度を示すパラメータとを、前記電動弁制御装置から取得し、
前記補正値算出部は、前記サンプルデータに基づいて、前記第1回転方向の動作における前記ステッピングモータの回転の遅れの大きさと、前記第2回転方向の動作における前記ステッピングモータの回転の遅れの大きさを近づける条件に従って、前記励磁パターン補正値を算出することを特徴とする請求項3に記載の調整装置。
The sample acquisition unit further indicates, as the sample data, a step in an operation of rotating the rotor in a second direction opposite to the first direction of rotation, and the angle of the rotor detected by the sensor at the step. parameters from the motor-operated valve control device,
The correction value calculator calculates, based on the sample data, the magnitude of the rotation delay of the stepping motor in the operation in the first rotation direction and the magnitude of the rotation delay of the stepping motor in the operation in the second rotation direction. 4. The adjustment device according to claim 3, wherein the excitation pattern correction value is calculated according to a condition for making the height closer.
前記サンプル取得部は、前記サンプルデータとして、更に前記第1回転方向と反対の第2回転方向に前記ロータを回転させる動作におけるステップと、当該ステップにおいて前記センサで検出された前記ロータの角度を示すパラメータとを、前記電動弁制御装置から取得し、
前記補正値算出部は、前記サンプルデータに基づいて、前記第1回転方向の動作における前記励磁パターン補正値と異なり、前記第2回転方向の動作において励磁パターンを先行させる励磁パターン補正値を算出することを特徴とする請求項3に記載の調整装置。
The sample acquisition unit further indicates, as the sample data, a step in an operation of rotating the rotor in a second direction opposite to the first direction of rotation, and the angle of the rotor detected by the sensor at the step. parameters from the motor-operated valve control device,
The correction value calculation unit calculates, based on the sample data, an excitation pattern correction value that advances the excitation pattern in the operation in the second rotation direction, unlike the excitation pattern correction value in the operation in the first rotation direction. The adjusting device according to claim 3, characterized in that:
ステップに対応する励磁パターンによって印加される駆動電流によってロータを回転させるステッピングモータと、前記ロータの回転運動を弁体の軸線運動に変化させる機構と、前記ロータの角度を検出するセンサと、前記弁体の軸線方向に弾性力を与える弾性体と、を有する電動弁に接続され、
前記ロータの2つの回転方向のうち、前記弾性力による負荷トルクがより大きくなる一方の第1回転方向に前記ロータを回転させる動作におけるステップと、当該ステップにおいて前記センサで検出された前記ロータの角度を示すパラメータとを含むサンプルデータを生成するサンプル生成部と、
前記サンプルデータに基づいて、前記第1回転方向の動作において励磁パターンを先行させる励磁パターン補正値を算出する補正値算出部と、
算出された前記励磁パターン補正値を記憶する補正値記憶部と、を備えることを特徴とする電動弁制御装置。
A stepping motor that rotates a rotor by a drive current applied by an excitation pattern corresponding to a step, a mechanism that converts the rotary motion of the rotor into axial motion of the valve body, a sensor that detects the angle of the rotor, and the valve. an elastic body that imparts elastic force in the axial direction of the body;
A step in an operation of rotating the rotor in a first rotation direction, which is one of the two rotation directions of the rotor in which the load torque due to the elastic force is larger, and an angle of the rotor detected by the sensor in the step a sample generation unit that generates sample data including parameters indicating
a correction value calculation unit that calculates, based on the sample data, an excitation pattern correction value that advances the excitation pattern in the operation in the first rotation direction;
and a correction value storage unit that stores the calculated excitation pattern correction value.
前記サンプル生成部は、前記サンプルデータに、更に前記第1回転方向と反対の第2回転方向に前記ロータを回転させる動作におけるステップと、当該ステップにおいて前記センサで検出された前記ロータの角度を示すパラメータとを加え、
前記補正値算出部は、前記サンプルデータに基づいて、前記第1回転方向の動作における前記ステッピングモータの回転の遅れの大きさと、前記第2回転方向の動作における前記ステッピングモータの回転の遅れの大きさを近づける条件に従って、前記励磁パターン補正値を算出することを特徴とする請求項6に記載の電動弁制御装置。
The sample generation unit further indicates, in the sample data, a step in an operation of rotating the rotor in a second rotation direction opposite to the first rotation direction, and an angle of the rotor detected by the sensor at the step. Add parameters and
The correction value calculator calculates, based on the sample data, the magnitude of the rotation delay of the stepping motor in the operation in the first rotation direction and the magnitude of the rotation delay of the stepping motor in the operation in the second rotation direction. 7. The motor-operated valve control device according to claim 6, wherein the excitation pattern correction value is calculated according to a condition for making the height closer.
前記サンプル生成部は、前記サンプルデータに、更に前記第1回転方向と反対の第2回転方向に前記ロータを回転させる動作におけるステップと、当該ステップにおいて前記センサで検出された前記ロータの角度を示すパラメータとを加え、
前記補正値算出部は、前記サンプルデータに基づいて、前記第1回転方向の動作における前記励磁パターン補正値と異なり、前記第2回転方向の動作において励磁パターンを先行させる励磁パターン補正値を算出することを特徴とする請求項6に記載の電動弁制御装置。
The sample generation unit further indicates, in the sample data, a step in an operation of rotating the rotor in a second rotation direction opposite to the first rotation direction, and an angle of the rotor detected by the sensor at the step. Add parameters and
The correction value calculation unit calculates, based on the sample data, an excitation pattern correction value that advances the excitation pattern in the operation in the second rotation direction, unlike the excitation pattern correction value in the operation in the first rotation direction. The electric valve control device according to claim 6, characterized in that:
前記電動弁制御装置は、更に、前記ステップに対応する前記励磁パターンを、前記励磁パターン補正値に基づいて補正する回転制御部と、
補正された励磁パターンによって前記ステッピングモータに駆動電流を印加する回転指示部と、を備えることを特徴とする請求項6から8のいずれかに記載の電動弁制御装置。
The electric valve control device further includes a rotation control unit that corrects the excitation pattern corresponding to the step based on the excitation pattern correction value;
9. The electric valve control device according to any one of claims 6 to 8, further comprising a rotation instructing section that applies a drive current to the stepping motor according to the corrected excitation pattern.
ステップに対応する励磁パターンによって印加される駆動電流によってロータを回転させるステッピングモータと、前記ロータの回転運動を弁体の軸線運動に変化させる機構とを有する電動弁に接続されたコンピュータに、
前記ステップに対応する前記励磁パターンを、前記電動弁の個体毎に設定される励磁パターン補正値に基づいて補正する機能と、
補正された励磁パターンによって前記ステッピングモータに駆動電流を印加する機能と、を発揮させることを特徴とする電動弁制御プログラム。
A computer connected to a motor-operated valve having a stepping motor that rotates a rotor by a drive current applied by an excitation pattern corresponding to a step, and a mechanism that changes the rotational motion of the rotor into axial motion of the valve body,
a function of correcting the excitation pattern corresponding to the step based on an excitation pattern correction value set for each individual motor operated valve;
and a function of applying a drive current to the stepping motor according to the corrected excitation pattern.
ステップに対応する励磁パターンによって印加される駆動電流によってロータを回転させるステッピングモータと、前記ロータの回転運動を弁体の軸線運動に変化させる機構と、前記ロータの角度を検出するセンサと、前記弁体の軸線方向に弾性力を与える弾性体と、を有する電動弁に接続された電動弁制御装置に接続可能なコンピュータに、
前記ロータの2つの回転方向のうち、前記弾性力による負荷トルクがより大きくなる一方の第1回転方向に前記ロータを回転させる動作におけるステップと、当該ステップにおいて前記センサで検出された前記ロータの角度を示すパラメータとを含むサンプルデータを、前記電動弁制御装置から取得する機能と、
前記サンプルデータに基づいて、前記第1回転方向の動作において励磁パターンを先行させる励磁パターン補正値を算出する機能と、
算出された前記励磁パターン補正値を前記電動弁制御装置に設定する機能と、を発揮させることを特徴とする調整プログラム。
A stepping motor that rotates a rotor by a drive current applied by an excitation pattern corresponding to a step, a mechanism that converts the rotary motion of the rotor into axial motion of the valve body, a sensor that detects the angle of the rotor, and the valve. a computer connectable to a motor-operated valve control device connected to a motor-operated valve having an elastic body that imparts elastic force in the axial direction of the body;
A step in an operation of rotating the rotor in a first rotation direction, which is one of the two rotation directions of the rotor in which the load torque due to the elastic force is larger, and an angle of the rotor detected by the sensor in the step a function of acquiring sample data including parameters indicating from the motor-operated valve control device;
a function of calculating, based on the sample data, an excitation pattern correction value that advances the excitation pattern in the operation in the first rotation direction;
and a function of setting the calculated excitation pattern correction value in the electric valve control device.
ステップに対応する励磁パターンによって印加される駆動電流によってロータを回転させるステッピングモータと、前記ロータの回転運動を弁体の軸線運動に変化させる機構と、前記ロータの角度を検出するセンサと、前記弁体の軸線方向に弾性力を与える弾性体と、を有する電動弁に接続されたコンピュータに、
前記ロータの2つの回転方向のうち、前記弾性力による負荷トルクがより大きくなる一方の第1回転方向に前記ロータを回転させる動作におけるステップと、当該ステップにおいて前記センサで検出された前記ロータの角度を示すパラメータとを含むサンプルデータを生成する機能と、
前記サンプルデータに基づいて、前記第1回転方向の動作において励磁パターンを先行させる励磁パターン補正値を算出する機能と、
算出された前記励磁パターン補正値を記憶する機能と、を発揮させることを特徴とする電動弁制御プログラム。
A stepping motor that rotates a rotor by a drive current applied by an excitation pattern corresponding to a step, a mechanism that converts the rotary motion of the rotor into axial motion of the valve body, a sensor that detects the angle of the rotor, and the valve. a computer connected to a motor-operated valve having an elastic body that exerts an elastic force in the axial direction of the body;
A step in an operation of rotating the rotor in a first rotation direction, which is one of the two rotation directions of the rotor in which the load torque due to the elastic force is larger, and an angle of the rotor detected by the sensor in the step A function to generate sample data including parameters indicating
a function of calculating, based on the sample data, an excitation pattern correction value that advances the excitation pattern in the operation in the first rotation direction;
and a function of storing the calculated excitation pattern correction value.
JP2021100977A 2021-06-17 2021-06-17 Electric valve control device, adjustment device, electric valve control program, and adjustment program Pending JP2023000262A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021100977A JP2023000262A (en) 2021-06-17 2021-06-17 Electric valve control device, adjustment device, electric valve control program, and adjustment program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021100977A JP2023000262A (en) 2021-06-17 2021-06-17 Electric valve control device, adjustment device, electric valve control program, and adjustment program

Publications (1)

Publication Number Publication Date
JP2023000262A true JP2023000262A (en) 2023-01-04

Family

ID=84687024

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021100977A Pending JP2023000262A (en) 2021-06-17 2021-06-17 Electric valve control device, adjustment device, electric valve control program, and adjustment program

Country Status (1)

Country Link
JP (1) JP2023000262A (en)

Similar Documents

Publication Publication Date Title
US4726738A (en) Motor-driven compressor provided with torque control device
KR101851029B1 (en) Method and circuit arrangement for checking the rotor position of a synchronous machine
CN102892997B (en) For the method and apparatus running the actuator with brushless electric motor
US7375482B2 (en) Driving device of motor
CN106559017B (en) Device and method for determining the initial position of a rotor of an electric machine in the stationary state
US9590541B2 (en) Method and apparatus for control of electrical machines
WO2015040794A1 (en) Motor drive device
US11677341B2 (en) Generation of motor drive signals with misalignment compensation
US20020125852A1 (en) Compensation for variable voltage
JP6825961B2 (en) Engine generator
JP2013115901A (en) Turning force generation device
US20180205330A1 (en) Control device and brushless motor
JP2023000262A (en) Electric valve control device, adjustment device, electric valve control program, and adjustment program
CN110277939B (en) Control system and control method and refrigerant valve with stepping motor
WO2010109407A1 (en) Motor for linear and rotary movement
Kuruppu et al. Post production PMSM position sensor offset error quantification via voltage estimation
JP3833918B2 (en) Motor control device
KR20060075262A (en) Phase commutation method of a bldc motor
JP2023030735A (en) Motor-driven valve control device, adjustment device, motor-driven valve control program, and adjustment program
JP2022171289A (en) Motor valve controller and motor valve control program
JP2023025319A (en) Motor valve control device and motor valve control program
JP2022093842A (en) Motor-operated valve
WO2018193616A1 (en) Dc motor, egr valve, vg actuator, and wastegate actuator
JP2023031233A (en) Motor-operated valve, control method thereof and manufacturing method thereof
JP6506406B2 (en) Outdoor unit of air conditioner and air conditioner

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240117