JP2010110078A - Motor actuator - Google Patents

Motor actuator Download PDF

Info

Publication number
JP2010110078A
JP2010110078A JP2008277773A JP2008277773A JP2010110078A JP 2010110078 A JP2010110078 A JP 2010110078A JP 2008277773 A JP2008277773 A JP 2008277773A JP 2008277773 A JP2008277773 A JP 2008277773A JP 2010110078 A JP2010110078 A JP 2010110078A
Authority
JP
Japan
Prior art keywords
storage medium
output shaft
data
motor
pulse
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.)
Withdrawn
Application number
JP2008277773A
Other languages
Japanese (ja)
Inventor
Norihisa Takeuchi
徳久 竹内
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.)
Denso Corp
Original Assignee
Denso Corp
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 Denso Corp filed Critical Denso Corp
Priority to JP2008277773A priority Critical patent/JP2010110078A/en
Publication of JP2010110078A publication Critical patent/JP2010110078A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Air-Conditioning For Vehicles (AREA)
  • Control Of Direct Current Motors (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To restore data in an operation position at a volatile storage medium even if initial setting is not performed again when applied voltage is normally restored even if applied voltage to a detecting part of a motor actuator loaded on a vehicle drops and data in the operation position is eliminated. <P>SOLUTION: The detecting part records data in the operation position of an output axis in the volatile storage medium in a non-volatile storage medium as stop position data based on turning-off of an ignition switch in the vehicle (step S370). The part records stop position data recorded in the non-volatile storage medium in the volatile storage medium as data of the operation position of the output axis, based on turning-on of the ignition switch of the vehicle. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、車両に搭載されるモータアクチュエータに関するものである。   The present invention relates to a motor actuator mounted on a vehicle.

従来、車両に搭載されるモータアクチュエータとして、モータの駆動に伴って回転する出力軸の作動位置を、パルス波形の変化に基づいて検出するものが知られている(例えば、特許文献1参照)。このようなモータアクチュエータにおいては、出力軸の作動位置が変化する度に、RAM等の揮発性記憶媒体に当該作動位置のデータを記録することで、現在の作動位置の検出値を逐次更新するようになっている。   2. Description of the Related Art Conventionally, as a motor actuator mounted on a vehicle, one that detects an operation position of an output shaft that rotates as a motor is driven based on a change in a pulse waveform is known (for example, see Patent Document 1). In such a motor actuator, every time the operating position of the output shaft changes, the data of the operating position is recorded in a volatile storage medium such as a RAM so that the detected value of the current operating position is sequentially updated. It has become.

しかし、車両のイグニッションスイッチがオンとなったときには、エンジンスタータなどが作動するので、出力軸の検出を行うための検出部に対する印加電圧が低下することが多い。そして、この印加電圧があるレベルを下回ると、揮発性記憶媒体に記憶された作動位置のデータが失われてしまうことがある。   However, when the ignition switch of the vehicle is turned on, an engine starter or the like operates, so that the applied voltage to the detection unit for detecting the output shaft often decreases. When the applied voltage falls below a certain level, the data on the operating position stored in the volatile storage medium may be lost.

作動位置のデータが揮発性記憶媒体から消えてしまった場合、従来は、モータを駆動して作動位置を所定の原点位置に停止させ、その上で、原点位置を示すデータを、作動位置のデータとして揮発性記憶媒体に記録するようになっている(例えば、特許文献1参照)。このような作動を、初期位置設定という。
特開2004−215488号公報
When the operating position data disappears from the volatile storage medium, conventionally, the motor is driven to stop the operating position at a predetermined origin position, and then the data indicating the origin position is converted to the operating position data. Is recorded on a volatile storage medium (see, for example, Patent Document 1). Such an operation is called initial position setting.
JP 2004-215488 A

しかし、車両のイグニッションスイッチがオンとなってエンジンスタータが作動する度に初期位置設定を行っていたのでは、ユーザに不快感を与えるばかりでなく、モータアクチュエータの寿命が短くなってしまう。   However, if the initial position is set every time the ignition switch of the vehicle is turned on and the engine starter is operated, not only is the user uncomfortable, but the life of the motor actuator is shortened.

本発明は上記点に鑑み、モータアクチュエータの検出部への印加電圧が低下して揮発性記憶媒体から作動位置のデータがなくなっても、印加電圧が正常に復帰した場合には、再度初期設定を行わなくとも揮発性記憶媒体に作動位置のデータを復帰させることができるようにすることを目的とする。   In view of the above points, the present invention resets the initial setting when the applied voltage returns to normal even if the applied voltage to the detection unit of the motor actuator decreases and the data of the operating position is lost from the volatile storage medium. It is an object of the present invention to make it possible to restore the data of the operation position to the volatile storage medium without performing it.

上記目的を達成するための請求項1に記載の発明は、車両に搭載されるモータアクチュエータであって、モータ(110)と、モータ(110)の回転に伴って回転する出力軸(127)と、出力軸(127)の回転に伴って変化するパルス信号を出力するパルス出力部(158)と、パルス出力部(158)からのパルス信号の変化に基づいて、出力軸(127)の回転角に相当する作動位置を検出する検出部(213)と、記憶している情報を電力の供給を受けることなく保持できる不揮発性記憶媒体(215)と、を備えている。そして、検出部(213)は、当該検出部(213)への印加電圧が所定のレベルを下回った場合に、記憶している情報を保持できなくなる揮発性記憶媒体(213a)を有している。   In order to achieve the above object, an invention according to claim 1 is a motor actuator mounted on a vehicle, wherein the motor (110) and an output shaft (127) rotating with the rotation of the motor (110) are provided. A pulse output unit (158) that outputs a pulse signal that changes as the output shaft (127) rotates, and a rotation angle of the output shaft (127) based on the change in the pulse signal from the pulse output unit (158). And a non-volatile storage medium (215) capable of holding stored information without receiving power supply. The detection unit (213) includes a volatile storage medium (213a) that cannot retain stored information when the voltage applied to the detection unit (213) falls below a predetermined level. .

また、検出部(213)は、検出した作動位置の変化に応じて、前記揮発性記憶媒体(213a)中の作動位置のデータを更新し、さらに、車両のイグニッションスイッチがオフになったことに基づいて、揮発性記憶媒体(213a)中の作動位置のデータを、停止位置データとして、不揮発性記憶媒体(215)に記録し、さらに、車両のイグニッションスイッチがオンになったことに基づいて、不揮発性記憶媒体(215)に記録されている停止位置データを、出力軸(127)の作動位置のデータとして、揮発性記憶媒体(213a)に記録するようになっている。   Further, the detection unit (213) updates the data of the operation position in the volatile storage medium (213a) according to the detected change of the operation position, and further, the vehicle ignition switch is turned off. Based on the fact that the data of the operating position in the volatile storage medium (213a) is recorded as the stop position data in the nonvolatile storage medium (215), and further, the vehicle ignition switch is turned on. The stop position data recorded in the nonvolatile storage medium (215) is recorded in the volatile storage medium (213a) as the operation position data of the output shaft (127).

このように、イグニッションスイッチのオフ時に出力軸(127)の作動位置のデータが不揮発性記憶媒体(215)に記録され、その後のイグニッションスイッチのオン時には、当該不揮発性記憶媒体(215)中の停止位置データが、出力軸(127)の作動位置のデータとして、RAM213aに記録される。   Thus, the data of the operating position of the output shaft (127) is recorded in the nonvolatile storage medium (215) when the ignition switch is turned off, and the stop in the nonvolatile storage medium (215) when the ignition switch is subsequently turned on. The position data is recorded in the RAM 213a as the operating position data of the output shaft (127).

このようにすることで、イグニッションスイッチオン直後にバッテリから検出部(213)への印加電圧が低下して揮発性記憶媒体(213a)の記憶内容が消えてしまった場合でも、初期位置設定を実行するまでもなく、作動位置のデータを揮発性記憶媒体(213a)に再度保持させることができる。したがって、初期位置設定の頻度を減らすことができ、ひいては、モータアクチュエータの寿命を長くすることができる。   In this way, even if the voltage applied from the battery to the detection unit (213) drops immediately after the ignition switch is turned on and the stored content of the volatile storage medium (213a) disappears, the initial position setting is executed. Needless to say, the data of the operation position can be held again in the volatile storage medium (213a). Therefore, the frequency of initial position setting can be reduced, and the life of the motor actuator can be extended.

また、請求項2に記載のように、検出部(213)は、車両のイグニッションスイッチがオンになった後、出力軸(127)が回転する前に、不揮発性記憶媒体(215)に記録されている停止位置データを、出力軸(127)の作動位置のデータとして、揮発性記憶媒体(213a)に記録するようになっていてもよい。   In addition, as described in claim 2, the detection unit (213) is recorded in the non-volatile storage medium (215) after the ignition switch of the vehicle is turned on and before the output shaft (127) rotates. The stop position data may be recorded on the volatile storage medium (213a) as data on the operating position of the output shaft (127).

このように出力軸(127)が回転する前に、不揮発性記憶媒体(215)に記録されている停止位置データを、出力軸(127)の作動位置のデータとして、揮発性記憶媒体(213a)に記録することで、揮発性記憶媒体(213a)に記録される停止位置のデータと、現実の出力軸(127)の位置とが、より確実に合致する。   Thus, before the output shaft (127) rotates, the stop position data recorded in the nonvolatile storage medium (215) is used as the operation position data of the output shaft (127), and the volatile storage medium (213a). As a result, the stop position data recorded in the volatile storage medium (213a) and the actual position of the output shaft (127) more reliably match.

また、請求項3に記載のように、検出部(213)は、車両のイグニッションスイッチがオンになったとき、最後に車両のイグニッションスイッチがオフになってから所定時間以内に検出部(213)への電力供給が絶たれていない場合は、不揮発性記憶媒体(215)から揮発性記憶媒体(213a)に記録された停止位置のデータを、出力軸(127)の作動位置のデータとして用いるようになっていてもよい。   According to a third aspect of the present invention, when the vehicle ignition switch is turned on, the detection unit (213) detects the detection unit (213) within a predetermined time after the vehicle ignition switch is finally turned off. When the power supply to the storage device is not cut off, the stop position data recorded from the non-volatile storage medium (215) to the volatile storage medium (213a) is used as the operation position data of the output shaft (127). It may be.

その場合、さらに検出部(213)は、車両のイグニッションスイッチがオンになったとき、最後に車両のイグニッションスイッチがオフになってから所定時間以内に検出部(213)への電力供給が絶たれていた場合は、出力軸(127)を所定の原点位置に戻すようモータ(110)を制御し、当該原点位置に対応する位置のデータを、揮発性記憶媒体(213a)に記録し、その記録した当該原点位置に対応する位置のデータを、出力軸(127)の作動位置のデータとして用いるようになっていてもよい。   In this case, when the vehicle ignition switch is turned on, the detection unit (213) further cuts off the power supply to the detection unit (213) within a predetermined time after the vehicle ignition switch is turned off. If so, the motor (110) is controlled so as to return the output shaft (127) to the predetermined origin position, and the position data corresponding to the origin position is recorded in the volatile storage medium (213a). The position data corresponding to the origin position may be used as the operation position data of the output shaft (127).

このように、イグニッションスイッチのオフ後、所定時間以内に検出部(213)への電力供給が絶たれていない場合には、不揮発性記憶媒体(215)の停止位置データを出力軸127の作動位置のデータとして使用し、所定時間以内に検出部(213)への電力供給が絶たれているときには、初期設定を行うのは、以下の理由による。   As described above, when the power supply to the detection unit (213) is not cut off within a predetermined time after the ignition switch is turned off, the stop position data of the nonvolatile storage medium (215) is used as the operation position of the output shaft 127. When the power supply to the detection unit (213) is cut off within a predetermined time, the initial setting is performed for the following reason.

イグニッションスイッチのオフ後所定時間以内に検出部(213)への電力供給が絶たれる場合は、作業者がモータアクチュエータを車両から取り外し、整備またはテストの目的で、モータを回転させ、その後、モータアクチュエータを再度車両に取り付けた可能性が高い。このような場合、不揮発性記憶媒体(215)に記録された停止位置データが、実際の出力軸127の作動位置に合致しないので、初期位置設定をすることで、使用する作動位置のデータと実際の出力軸127の停止位置とが合致する。   When the power supply to the detection unit (213) is cut off within a predetermined time after the ignition switch is turned off, the operator removes the motor actuator from the vehicle, rotates the motor for maintenance or testing purposes, and then the motor actuator There is a high possibility that it is attached to the vehicle again. In such a case, the stop position data recorded in the non-volatile storage medium (215) does not match the actual operating position of the output shaft 127. The stop position of the output shaft 127 matches.

なお、上記および特許請求の範囲における括弧内の符号は、特許請求の範囲に記載された用語と後述の実施形態に記載される当該用語を例示する具体物等との対応関係を示すものである。   In addition, the code | symbol in the bracket | parenthesis in the said and the claim shows the correspondence of the term described in the claim, and the concrete thing etc. which illustrate the said term described in embodiment mentioned later. .

以下、本発明の一実施形態について説明する。本実施形態に係るモータアクチュエータは、図1に示すような車両用空調装置のエアミックスドア1(可動部材の一例に相当する)を駆動するために用いられる。   Hereinafter, an embodiment of the present invention will be described. The motor actuator according to the present embodiment is used to drive an air mix door 1 (corresponding to an example of a movable member) of a vehicle air conditioner as shown in FIG.

ここで、エアミックスドア1とは、図1に示す車両用空調装置の空調ケーシング5内において、空調用空気の流れを制御するためのドア部材である。空調用空気は、蒸発器4で冷却され、蒸発器4から車室内吹き出し口6を通って車室内に流れるようになっている。エアミックスドア1が閉じられた状態では、空調用空気がヒータコア3を迂回し、エアミックスドア1が開いた状態では、空調用空気がヒータコア3を通る。空調用空気がヒータコア3を通る場合、ヒータコア3は、エンジン2の冷却水を熱源として、ヒータコア3を通る空調用空気を熱する。   Here, the air mix door 1 is a door member for controlling the flow of air conditioning air in the air conditioning casing 5 of the vehicle air conditioner shown in FIG. The air-conditioning air is cooled by the evaporator 4 and flows from the evaporator 4 through the vehicle interior outlet 6 into the vehicle interior. When the air mix door 1 is closed, the air conditioning air bypasses the heater core 3, and when the air mix door 1 is open, the air conditioning air passes through the heater core 3. When the air for air conditioning passes through the heater core 3, the heater core 3 heats the air for air conditioning passing through the heater core 3 using the cooling water of the engine 2 as a heat source.

このエアミックスドア1の位置に応じて、ヒータコア3を迂回して流れる空調用空気の風量と、ヒータコア3を通る空調用空気の風量との比が変化する。したがって、エアミックスドア1の位置を制御することで、車室内吹き出し口6から車室内に吹き出す空調用空気の温度を調節することができる。   Depending on the position of the air mix door 1, the ratio of the air volume of the air-conditioning air flowing around the heater core 3 and the air volume of the air-conditioning air passing through the heater core 3 changes. Therefore, by controlling the position of the air mix door 1, the temperature of the air-conditioning air blown out from the vehicle interior outlet 6 into the vehicle interior can be adjusted.

なお、ヒータコア3及び蒸発器4等の熱交換器やエアミックスドア1等は樹脂製の空調ケーシング5内に収納されており、モータアクチュエータは、この空調ケーシング5にネジ等の締結手段により固定される。   The heat exchanger such as the heater core 3 and the evaporator 4 and the air mix door 1 are accommodated in an air conditioning casing 5 made of resin, and the motor actuator is fixed to the air conditioning casing 5 by fastening means such as screws. The

車室室内に吹き出す空気の温度を調整する方法としては、例えば、以下のような方法を用いる。すなわち、本実施形態に係るモータアクチュエータが、車両用空調装置から車室内に吹き出す空気の温度(吹出口温度)を図示しない温度センサを用いて検出し、さらに、車両の乗員の設定操作等に基づいて車室内温度の目標値を決定し、検出した吹出口温度が目標値に近づくよう、エアミックスドア1の目標位置を算出する。そしてモータアクチュエータは、決定した目標位置までエアミックスドア1の位置を変位させる。   For example, the following method is used as a method of adjusting the temperature of the air blown into the passenger compartment. That is, the motor actuator according to the present embodiment detects the temperature of the air (air outlet temperature) blown out from the vehicle air conditioner into the vehicle interior using a temperature sensor (not shown), and further based on the setting operation of the vehicle occupant and the like. Then, the target value of the passenger compartment temperature is determined, and the target position of the air mix door 1 is calculated so that the detected outlet temperature approaches the target value. Then, the motor actuator displaces the position of the air mix door 1 to the determined target position.

図2は、このモータアクチュエータ100の外観図((a)は正面図、(b)は側面図)であり、図3はモータアクチュエータ100の内部構成図である。このモータアクチュエータ100は、電動モータとしての直流モータ110および減速機構120を有している。このモータ110は、車両に搭載されたバッテリ(図示せず)から電力を得て回転する出力軸111を有するものであり、減速機構120はモータ110の出力軸111から入力された回転力を減速してエアミックスドア1に向けて出力する変速機構である。以下では、直流モータ110および減速機構120等の回転駆動する機構部を駆動部130と呼ぶ。   FIG. 2 is an external view of the motor actuator 100 ((a) is a front view, (b) is a side view), and FIG. 3 is an internal configuration diagram of the motor actuator 100. The motor actuator 100 has a DC motor 110 and a speed reduction mechanism 120 as an electric motor. The motor 110 has an output shaft 111 that rotates by obtaining electric power from a battery (not shown) mounted on the vehicle, and the speed reduction mechanism 120 decelerates the rotational force input from the output shaft 111 of the motor 110. Then, the speed change mechanism that outputs toward the air mix door 1. Hereinafter, a mechanism unit that rotationally drives the DC motor 110 and the speed reduction mechanism 120 is referred to as a drive unit 130.

減速機構120は、直流モータ110の出力軸111に圧入されたウォーム121、このウォーム121と噛み合うウォームホィール122、および複数枚の平歯車123、124からなる歯車列であり、出力側に位置する最終段歯車(出力側歯車)126には、出力軸127が設けられている。この減速機構120の作動により、直流モータ110の出力軸111の回転に応じて出力軸127が回転し、その際、出力軸111の回転角速度よりも、出力軸127の回転角速度が小さくなる。   The speed reduction mechanism 120 is a gear train including a worm 121 press-fitted into the output shaft 111 of the DC motor 110, a worm wheel 122 meshing with the worm 121, and a plurality of spur gears 123 and 124. The step gear (output side gear) 126 is provided with an output shaft 127. The operation of the speed reduction mechanism 120 causes the output shaft 127 to rotate in accordance with the rotation of the output shaft 111 of the DC motor 110. At this time, the rotational angular velocity of the output shaft 127 becomes smaller than the rotational angular velocity of the output shaft 111.

またモータアクチュエータ100は駆動部130を収納するケーシング140を有している。また、モータアクチュエータ100は、このケーシング140に固定された接点ブラシ155〜157を有している。   The motor actuator 100 has a casing 140 that houses the drive unit 130. Further, the motor actuator 100 has contact brushes 155 to 157 fixed to the casing 140.

また、減速機構120のうち、直流モータ110により直接駆動される入力歯車(ウォーム121)より出力側(出力軸127)には、図3〜6に示すように、出力軸127と一体的に回転する非導電性プリント基板としてのパルスパターンプレート(以下、単にパターンプレートという)153が設けられている。   Further, as shown in FIGS. 3 to 6, the speed reduction mechanism 120 rotates integrally with the output shaft 127 from the input gear (worm 121) directly driven by the DC motor 110 to the output side (output shaft 127). A pulse pattern plate (hereinafter simply referred to as a pattern plate) 153 is provided as a non-conductive printed board.

このパターンプレート153の回転中心を中心とする円周方向の角度範囲は、図4に示すように、回転検出領域300と、初期化領域301とに分かれている。回転検出領域300は、後述するように、パターンプレート153の回転角度の検出に用いるパルス信号のパターンを生成するために用いられる。また、初期化領域301は、パターンプレート153(またはエアミックスドア1)の原点位置を示すパルス信号のパターン(以下、イニシャライズ信号パターンという)を生成するために用いられる。   The angular range in the circumferential direction around the rotation center of the pattern plate 153 is divided into a rotation detection area 300 and an initialization area 301 as shown in FIG. The rotation detection area 300 is used to generate a pulse signal pattern used to detect the rotation angle of the pattern plate 153, as will be described later. The initialization area 301 is used to generate a pulse signal pattern (hereinafter referred to as an initialization signal pattern) indicating the origin position of the pattern plate 153 (or the air mix door 1).

このパターンプレート153の1つの表面(以下、パターン面という)には、導体パターンがプリントされている。以下、この導体パターンについて説明する。なお、以下の説明においては、パターンプレート153の回転中心を単に回転中心といい、また、パターン面上の回転中心からの距離を中心距離という。また、回転中心を中心とする円周を、単に円周という。また、回転中心から見たパターン面上の角度を、単に中心角という。また、パターン面上の各部分を回転中心から見込んだ角度範囲を、当該部分の角度幅という。なお、角度幅は、パターンプレート153の回転角速度が一定ならば、時間幅と同じである。そして、本実施形態においては、パターンプレート153の回転時の回転角速度は一定となるように制御される。   A conductor pattern is printed on one surface of the pattern plate 153 (hereinafter referred to as a pattern surface). Hereinafter, this conductor pattern will be described. In the following description, the rotation center of the pattern plate 153 is simply referred to as the rotation center, and the distance from the rotation center on the pattern surface is referred to as the center distance. Further, the circumference around the center of rotation is simply called the circumference. The angle on the pattern surface viewed from the center of rotation is simply referred to as the center angle. Further, an angle range in which each part on the pattern surface is viewed from the rotation center is referred to as an angular width of the part. Note that the angle width is the same as the time width if the rotational angular velocity of the pattern plate 153 is constant. In the present embodiment, the rotational angular velocity when the pattern plate 153 is rotated is controlled to be constant.

図4、図6に示すように、導体パターンは、複数(例えば100個以上)の導電部151a、導電部151aと同じ数の複数の導電部152a、および1つの導電部154aを有している。   As shown in FIGS. 4 and 6, the conductor pattern has a plurality of (for example, 100 or more) conductive portions 151 a, the same number of conductive portions 152 a as the conductive portions 151 a, and one conductive portion 154 a. .

導電部151aの形状は、半径r1の扇形から半径r2(r2<r1)の同じ角度の扇形を取り除いた形状となっている。また、導電部152aの形状は、半径r2の扇形から半径r3(r3<r2)の同じ角度の扇形を取り除いた形状となっている。導電部154aの形状は、半径r3の扇形から半径r4(r4<r3)の同じ角度の扇形を取り除いた形状となっている。   The shape of the conductive portion 151a is a shape obtained by removing a sector having the same angle with a radius r2 (r2 <r1) from a sector having a radius r1. The shape of the conductive portion 152a is a shape obtained by removing a sector having the same angle with a radius r3 (r3 <r2) from a sector having a radius r2. The shape of the conductive portion 154a is a shape obtained by removing a sector having the same angle with a radius r4 (r4 <r3) from a sector having a radius r3.

導電部151aは、導電部151a、導電部152a、導電部154aのうち、中心距離の最も大きい円周上に一列に並んで配置されている。これら導電部151aの間に存在する複数の部分151bのそれぞれは、導体パターンが形成されていない非導電部151bである。以下、複数の導電部151aおよび複数の非導電部151bから成る円周方向に沿った導電・非導電の変化のパターンを第1パターン151と呼ぶ。   The conductive portions 151a are arranged in a line on the circumference having the largest center distance among the conductive portions 151a, 152a, and 154a. Each of the plurality of portions 151b existing between the conductive portions 151a is a non-conductive portion 151b in which a conductor pattern is not formed. Hereinafter, a pattern of change in conductivity / non-conductivity along the circumferential direction including the plurality of conductive portions 151a and the plurality of non-conductive portions 151b is referred to as a first pattern 151.

また、導電部152aは、導電部151a、導電部152a、導電部154aのうち、2番目に中心距離の大きい円周上に一列に並んで配置されている。これら導電部152aの間に存在する複数の部分152bのそれぞれは、導体パターンが形成されていない非導電部152bである。以下、複数の導電部152aおよび複数の非導電部152bから成る円周方向に沿った導電・非導電の変化のパターンを第2パターン152と呼ぶ。   In addition, the conductive portions 152a are arranged in a line on a circle having the second largest center distance among the conductive portions 151a, 152a, and 154a. Each of the plurality of portions 152b existing between the conductive portions 152a is a non-conductive portion 152b where a conductor pattern is not formed. Hereinafter, a conductive / non-conductive change pattern along the circumferential direction including the plurality of conductive portions 152 a and the plurality of non-conductive portions 152 b is referred to as a second pattern 152.

また、導電部154aは、導電部151a、導電部152a、導電部154aのうち、中心距離が最も小さい円周上において、回転検出領域300の全域および初期化領域301の両端部に渡って配置されている。また、初期化領域301においては、導電部154aの円周方向の両端の間に存在する部分154bが1つある。この部分154bは、導体パターンが形成されていない非導電部154bである。これら1つの導電部154aおよび1つの非導電部154bから成る円周方向に沿った導電・非導電の変化のパターンを、以下、コモンパターン154と呼ぶ。   In addition, the conductive portion 154a is arranged across the entire rotation detection region 300 and both end portions of the initialization region 301 on the circumference having the smallest center distance among the conductive portions 151a, 152a, and 154a. ing. In the initialization region 301, there is one portion 154b that exists between both ends of the conductive portion 154a in the circumferential direction. This portion 154b is a non-conductive portion 154b where no conductor pattern is formed. The pattern of change of conductivity / non-conductivity along the circumferential direction composed of one conductive portion 154a and one non-conductive portion 154b is hereinafter referred to as a common pattern 154.

回転検出領域300においては、導電部151aの角度幅は、いずれも等しく角度α1であり、非導電部151bの角度幅は、いずれも等しく角度β1である。また、回転検出領域300においては、導電部152aの角度幅は、いずれも等しく角度α2であり、非導電部152bの角度幅は、いずれも等しく角度β2である。なお、角度α1、α2、β1、β2の間には、α1=α2=β1=β2という関係が成り立つ。   In the rotation detection region 300, the angle widths of the conductive portions 151a are all equal to the angle α1, and the angle widths of the non-conductive portions 151b are all equal to the angle β1. In the rotation detection region 300, the angle widths of the conductive portions 152a are all equal to the angle α2, and the angle widths of the non-conductive portions 152b are all equal to the angle β2. Note that a relationship of α1 = α2 = β1 = β2 holds between the angles α1, α2, β1, and β2.

また、回転検出領域300においては、第1パターン151と、第2パターン152との間で、円周方向の導電、非導電のパターンの位相(具体的には、中心角の位相)がずれている。つまり、第1パターン151と、第2パターン152とは、周方向に沿って、同じ中心角の位置で導電部に切り替わるようになっておらず、また、同じ中心角の位置で非導電部に切り替わるようにもなっていない。第1パターンと第2パターンのずれを回転中心から見込んだ角度は、α1(=α2=β1=β2)の1/2である。   In the rotation detection region 300, the phase of the conductive and non-conductive patterns in the circumferential direction (specifically, the phase of the central angle) is shifted between the first pattern 151 and the second pattern 152. Yes. That is, the first pattern 151 and the second pattern 152 are not switched to the conductive portion at the same central angle position along the circumferential direction, and are not switched to the non-conductive portion at the same central angle position. It is not designed to switch. The angle at which the shift between the first pattern and the second pattern is estimated from the rotation center is ½ of α1 (= α2 = β1 = β2).

また、初期化領域301においては、第1、2パルスパターン151、152は、それぞれ、導電部151a、152aのみから成り、コモンパターン154は、非導電部154bを円周方向から導電部154aの両端で挟むようになっている。   In the initialization region 301, the first and second pulse patterns 151 and 152 are composed of only the conductive portions 151a and 152a, respectively, and the common pattern 154 includes the non-conductive portion 154b at both ends of the conductive portion 154a from the circumferential direction. It is supposed to be sandwiched between.

ここで、第1パターン151の導電部151aは、第2パターン152の導電部152aに、電気的に繋がっている。また、第1パターン151の導電部151aおよび第2パターン152の導電部152aは、コモンパターン154の導電部154aと電気的に繋がっている。   Here, the conductive portion 151 a of the first pattern 151 is electrically connected to the conductive portion 152 a of the second pattern 152. In addition, the conductive portion 151 a of the first pattern 151 and the conductive portion 152 a of the second pattern 152 are electrically connected to the conductive portion 154 a of the common pattern 154.

一方、ケーシング140側には、バッテリの正極側に接続された銅系導電材料製の第1〜3接点ブラシ(電気接点)155〜157が樹脂一体成形により固定されており、第1接点ブラシ155は第1パルスパターン151に接触し、第2接点ブラシ156は第2パルスパターン152に接触し、第3接点ブラシ157はコモンパターン154に接触するように構成されている。   On the other hand, on the casing 140 side, first to third contact brushes (electrical contacts) 155 to 157 made of a copper-based conductive material connected to the positive electrode side of the battery are fixed by resin integral molding, and the first contact brush 155. Is in contact with the first pulse pattern 151, the second contact brush 156 is in contact with the second pulse pattern 152, and the third contact brush 157 is in contact with the common pattern 154.

なお、本実施形態では、第1〜3接点ブラシ155〜157とパターンプレート153との接点を2点以上(本実施形態では、4点)とすることにより、第1〜3接点ブラシ155〜157と導電部151a、152a、154aとの電気接続を確実なものとしている。   In the present embodiment, the first to third contact brushes 155 to 157 are provided with two or more contacts (four points in the present embodiment) between the first to third contact brushes 155 to 157 and the pattern plate 153. And the conductive portions 151a, 152a, and 154a are securely connected.

なお、図2に示すように、出力軸127には、エアミックスドア1を揺動させるリンクレバー160が圧入固定されている。したがって、出力軸127の回転角(すなわち、出力軸127の作動位置)を制御することで、エアミックスドア1の位置を制御することができる。そして、空調ケーシング5には、ストッパ5a、5bが設けられている。ストッパ5a、5bは、直流モータ110の回転の電気的な規制に失敗したときに、リンクレバー160を衝突させて直流モータ110の回転を停止させるのに用いられる。   As shown in FIG. 2, a link lever 160 that swings the air mix door 1 is press-fitted and fixed to the output shaft 127. Therefore, the position of the air mix door 1 can be controlled by controlling the rotation angle of the output shaft 127 (that is, the operating position of the output shaft 127). The air conditioning casing 5 is provided with stoppers 5a and 5b. The stoppers 5a and 5b are used to stop the rotation of the DC motor 110 by causing the link lever 160 to collide when electrical regulation of the rotation of the DC motor 110 fails.

次に、アクチュエータ100の作動の概要について説明する。図7はアクチュエータ100の電気制御回路200の回路構成の模式図である。この電気制御回路200は、定電圧回路211、リセット判定回路212、CPU213(検出部の一例に相当する)、モータ駆動回路214、EEPROM215、パルス信号検知回路216を有している。   Next, an outline of the operation of the actuator 100 will be described. FIG. 7 is a schematic diagram of a circuit configuration of the electric control circuit 200 of the actuator 100. The electric control circuit 200 includes a constant voltage circuit 211, a reset determination circuit 212, a CPU 213 (corresponding to an example of a detection unit), a motor drive circuit 214, an EEPROM 215, and a pulse signal detection circuit 216.

定電圧回路211は、電源(例えばバッテリ)からの電力供給を利用して、CPU213、パルス信号検知回路216等の電気制御回路200内の回路に可能な限り一定の電圧を印加するための回路である。   The constant voltage circuit 211 is a circuit for applying a constant voltage as much as possible to the circuits in the electric control circuit 200 such as the CPU 213 and the pulse signal detection circuit 216 by using power supply from a power source (for example, a battery). is there.

リセット判定回路212は、定電圧回路211から印加される電圧を検出し、検出した電圧が所定のリセット判定レベルを下回ると、CPU213をリセットする回路である。具体的には、図8のタイミング図に示すように、定電圧回路211からの印加電圧50がリセット判定レベルを下回ったときに、リセット判定回路212からCPU213へのリセット信号51がオフからオンに変化し、CPU213の作動モード52は、リセット信号51のオンがあったことに基づいて、通常作動からリセットに移行する。そして、印加電圧50がリセット判定レベル以上に復帰すると、リセット信号51がオンからオフに戻り、CPU213の作動モードも通常作動に戻り、CPU213は再起動する。   The reset determination circuit 212 is a circuit that detects the voltage applied from the constant voltage circuit 211 and resets the CPU 213 when the detected voltage falls below a predetermined reset determination level. Specifically, as shown in the timing chart of FIG. 8, when the applied voltage 50 from the constant voltage circuit 211 falls below the reset determination level, the reset signal 51 from the reset determination circuit 212 to the CPU 213 is switched from OFF to ON. The operation mode 52 of the CPU 213 shifts from the normal operation to the reset based on the reset signal 51 being turned on. When the applied voltage 50 returns to the reset determination level or higher, the reset signal 51 returns from ON to OFF, the operation mode of the CPU 213 returns to normal operation, and the CPU 213 is restarted.

CPU213は、図示しないROM中のプログラムを実行することで、後述するような処理を実行し、その実行において、直流モータ110の作動を制御し、また、直流モータ110の作動によるエアミックスドア1の位置を検出する。   The CPU 213 executes a program in a ROM (not shown) to execute processing as will be described later. In this execution, the CPU 213 controls the operation of the DC motor 110, and the air mix door 1 is activated by the operation of the DC motor 110. Detect position.

また、CPU213は、SRAM等のRAM213aを備えている。このRAM213aは、電力の供給が絶たれると、記憶内容を保持できなくなるような揮発性の記憶媒体である。またCPU213は、リセット判定回路212からのリセット信号によってリセットする際には、RAM213aの内容を消去する。したがって、RAM213aは、CPU213への印加電圧が所定のレベルを下回った場合に、記憶している情報を保持できなくなる。   The CPU 213 includes a RAM 213a such as an SRAM. The RAM 213a is a volatile storage medium that cannot retain stored contents when power supply is cut off. The CPU 213 erases the contents of the RAM 213a when resetting by a reset signal from the reset determination circuit 212. Therefore, the RAM 213a cannot hold the stored information when the voltage applied to the CPU 213 falls below a predetermined level.

モータ駆動回路214は、CPU213の制御に従って直流モータ110を駆動する回路である。EEPROM215は、入力されて記憶した情報を電力の供給を受けることなく保持できる記憶回路である。なお、EEPROM215は、入力されて記憶した情報を電力の供給を受けることなく保持できる記憶回路(すなわち、不揮発性記憶媒体)であれば、フラッシュメモリ、磁気記憶媒体等、どのような記憶回路で置き換えられてもよい。また、CPU213がリセットした場合でも、EEPROM215は、入力されて記憶した情報を保持する。   The motor drive circuit 214 is a circuit that drives the DC motor 110 under the control of the CPU 213. The EEPROM 215 is a storage circuit that can hold input and stored information without receiving power. The EEPROM 215 can be replaced with any storage circuit such as a flash memory or a magnetic storage medium as long as it is a storage circuit (that is, a non-volatile storage medium) that can hold input and stored information without receiving power. May be. Even when the CPU 213 is reset, the EEPROM 215 holds the information that has been input and stored.

パルス信号検知回路216は、パターンプレート153で発生するパルス信号を検出し、その検出した結果をCPU213に出力する回路である。   The pulse signal detection circuit 216 is a circuit that detects a pulse signal generated on the pattern plate 153 and outputs the detected result to the CPU 213.

パルス出力部158は、第1〜3接点ブラシ155、156、157とパターンプレート153により構成され、出力軸127の回転に応じてパルス信号を出力する回路である。図7においては、パルス出力部158を、電気的に等価な図に置き換えて示している。このパルス出力部158から、原点位置を示すイニシャライズ信号パターンおよび出力軸127の回転を検出するためのパルス信号が出力される。   The pulse output unit 158 includes first to third contact brushes 155, 156, and 157 and a pattern plate 153, and is a circuit that outputs a pulse signal according to the rotation of the output shaft 127. In FIG. 7, the pulse output unit 158 is replaced with an electrically equivalent diagram. This pulse output unit 158 outputs an initialization signal pattern indicating the origin position and a pulse signal for detecting the rotation of the output shaft 127.

スイッチ158aは、第1接点ブラシ155と第1パターン151とによって構成されるものであり、出力軸127の回転に応じてスイッチングする。すなわち、出力軸127の回転に応じてオン、オフが切り替わる。具体的には、接点ブラシ155の接触部分155aが導電部151aに接触している間は、スイッチ158aがオンとなる。また、接点ブラシ155の接触部分155aが非導電部151bにあることで、導電部151aに接触していない間は、スイッチ158aがオフとなる。   The switch 158a is configured by the first contact brush 155 and the first pattern 151, and switches according to the rotation of the output shaft 127. That is, on / off is switched according to the rotation of the output shaft 127. Specifically, the switch 158a is turned on while the contact portion 155a of the contact brush 155 is in contact with the conductive portion 151a. Further, since the contact portion 155a of the contact brush 155 is in the non-conductive portion 151b, the switch 158a is turned off while not in contact with the conductive portion 151a.

また、スイッチ158bは、第2接点ブラシ156と第2パターン152とによって構成されるものであり、出力軸127の回転に応じてスイッチングする。具体的には、接点ブラシ156の接触部分156aが導電部152aに接触している間は、スイッチ158bがオンとなる。また、接点ブラシ156の接触部分156aが、非導電部152bにあって導電部152aに接触していない間は、スイッチ158bがオフとなる。   The switch 158b is configured by the second contact brush 156 and the second pattern 152, and switches according to the rotation of the output shaft 127. Specifically, the switch 158b is turned on while the contact portion 156a of the contact brush 156 is in contact with the conductive portion 152a. Further, the switch 158b is turned off while the contact portion 156a of the contact brush 156 is in the non-conductive portion 152b and is not in contact with the conductive portion 152a.

また、スイッチ158cは、第3接点ブラシ157とコモンパターン154とにより構成されるもので、出力軸127の回転に応じてスイッチングする。具体的には、接点ブラシ157の接触部分157aが導電部154aに接触している間は、スイッチ158cがオンとなる。また、接点ブラシ157の接触部分156aが、非導電部154bにあって導電部154aに接触していない間は、スイッチ158cがオフとなる。   Further, the switch 158c is configured by the third contact brush 157 and the common pattern 154, and switches according to the rotation of the output shaft 127. Specifically, the switch 158c is turned on while the contact portion 157a of the contact brush 157 is in contact with the conductive portion 154a. Further, the switch 158c is turned off while the contact portion 156a of the contact brush 157 is in the non-conductive portion 154b and is not in contact with the conductive portion 154a.

なお、スイッチ158cの一端、すなわち第3接点ブラシ157の一端部はグランドに電気的に繋がっている。また、パルス信号検知回路216は、スイッチ158a、158bとの各接続点にそれぞれプルアップ抵抗を有している。したがって、出力軸127の回転に伴うスイッチ158a、158b、159cのオン、オフの変化に応じて、スイッチ158aおよび158bからそれぞれA相およびB相のパルス信号が発生する。   One end of the switch 158c, that is, one end of the third contact brush 157 is electrically connected to the ground. The pulse signal detection circuit 216 has a pull-up resistor at each connection point with the switches 158a and 158b. Accordingly, A-phase and B-phase pulse signals are generated from the switches 158a and 158b in accordance with the on / off changes of the switches 158a, 158b and 159c accompanying the rotation of the output shaft 127, respectively.

パルス信号発生の具体的作動として、まず、モータ駆動回路214によって直流モータ110が駆動され、この直流モータ110の駆動に応じてパターンプレート153および出力軸127が回転し、第1〜3接点ブラシ155〜157が回転検出領域300と接触した状態にある場合について、図9を用いて説明する。   As a specific operation for generating the pulse signal, first, the DC motor 110 is driven by the motor driving circuit 214, and the pattern plate 153 and the output shaft 127 are rotated according to the driving of the DC motor 110, and the first to third contact brushes 155. The case where ˜157 is in contact with the rotation detection region 300 will be described with reference to FIG. 9.

この場合、第3接点ブラシ157が導電部154aに接触しつつ、第1接点ブラシ155においては、導電部151aと接触する通電(ON)状態および非導電部151bにあって導電部151aと接触しない非通電(OFF)状態が交互に発生し、また、第2接点ブラシ156においては、導電部152aと接触する通電(ON)状態および非導電部152bにあって導電部152aと接触しない非通電(OFF)状態が交互に発生する。   In this case, while the third contact brush 157 is in contact with the conductive portion 154a, the first contact brush 155 is in an energized (ON) state in contact with the conductive portion 151a and in the non-conductive portion 151b and does not contact the conductive portion 151a. The non-energized (OFF) state occurs alternately, and in the second contact brush 156, the energized (ON) state in contact with the conductive portion 152a and the non-energized state in the non-conductive portion 152b and not in contact with the conductive portion 152a ( OFF) state occurs alternately.

この場合に第1、2接点ブラシ155、156に発生するパルス信号の変化を、図9に模式的に示す。図9の横軸方向(左右方向)は、中心角を示している。図9の上部は、パターンプレート153の回転に伴う、接点ブラシ155〜157とパターン151、152、154との間の接触関係の変化を示している。斜線部が導通部151a、152a、154aに相当し、斜線のない部分が非導通部151b、152b、154bに相当する。そして、図9の下部は、その接触関係の変化に伴う、A相のパルス信号の変化(すなわち信号パターン191)およびB相のパルス信号の変化(すなわち信号パターン192)を示している。   FIG. 9 schematically shows changes in pulse signals generated in the first and second contact brushes 155 and 156 in this case. The horizontal axis direction (left-right direction) in FIG. 9 indicates the central angle. The upper part of FIG. 9 shows the change in the contact relationship between the contact brushes 155 to 157 and the patterns 151, 152, and 154 as the pattern plate 153 rotates. The hatched portions correspond to the conducting portions 151a, 152a, and 154a, and the portions without hatched portions correspond to the non-conducting portions 151b, 152b, and 154b. The lower part of FIG. 9 shows changes in the A-phase pulse signal (that is, the signal pattern 191) and changes in the B-phase pulse signal (that is, the signal pattern 192) in accordance with the change in the contact relationship.

この図に示すように、第1接点ブラシ155の通電状態よび非通電状態の切り替わりタイミングと、第2接点ブラシ156の通電状態よび非通電状態の切り替わりタイミングとがずれている。したがって、パターンプレート153が正回転方向(図6における時計回り方向、図9における左方向)に回転すると、接点ブラシ155〜157とパターン151、152、154との接触点が変化し、それに伴い、A相では、接点ブラシ155が導電部151aに接触している通常状態では信号がローレベル「0」となり、接点ブラシ155が導電部151aに接触していない非通電状態では信号がハイレベル「1」となる。同様にB相でも、接点ブラシ156が導電部152aに接触している通常状態では信号がローレベル「0」となり、接点ブラシ156が導電部152aに接触していない非通電状態では信号がハイレベル「1」となる。   As shown in this figure, the switching timing between the energized state and the non-energized state of the first contact brush 155 is shifted from the switching timing of the energized state and the non-energized state of the second contact brush 156. Therefore, when the pattern plate 153 rotates in the positive rotation direction (clockwise direction in FIG. 6, left direction in FIG. 9), the contact points between the contact brushes 155 to 157 and the patterns 151, 152, and 154 change. In the A phase, the signal is low level “0” in the normal state where the contact brush 155 is in contact with the conductive portion 151a, and the signal is high level “1” in the non-energized state where the contact brush 155 is not in contact with the conductive portion 151a. " Similarly, in the B phase, the signal is low level “0” in the normal state where the contact brush 156 is in contact with the conductive portion 152a, and the signal is high level in the non-energized state where the contact brush 156 is not in contact with the conductive portion 152a. “1”.

したがって、A相、B相の信号レベルの組み合わせを、「A相のレベル、B相のレベル」という形式で記載すると、パターンプレート153の正回転方向への回転に伴って、信号レベルが「1、0」、「1、1」、「0、1」、「0、0」という順序で、循環的に変化する。以下、このパルス信号の組み合わせの循環パターンを、正回転信号パターンという。逆に、パターンプレート153の逆回転方向(正回転方向とは逆の方向)への回転に伴って、信号レベルが「0、0」、「0、1」、「1、1」、「1、0」という順序で、循環的に変化する。以下、このパルス信号の組み合わせの循環パターンを、逆回転信号パターンという。   Therefore, when the combination of the signal levels of the A phase and the B phase is described in the form of “A phase level, B phase level”, the signal level becomes “1” as the pattern plate 153 rotates in the forward rotation direction. , 0 ”,“ 1, 1 ”,“ 0, 1 ”,“ 0, 0 ”. Hereinafter, the circulation pattern of this combination of pulse signals is referred to as a positive rotation signal pattern. Conversely, as the pattern plate 153 rotates in the reverse rotation direction (the direction opposite to the normal rotation direction), the signal levels are “0, 0”, “0, 1”, “1, 1”, “1”. , 0 ”in a cyclical order. Hereinafter, the circulation pattern of this combination of pulse signals is referred to as a reverse rotation signal pattern.

以下、信号レベルが「0、0」となる状態を全接触状態といい、「1、1」となる状態を無接触状態といい、「1、0」または「0、1」となる状態を一部接触一部非接触状態という。   Hereinafter, a state where the signal level is “0, 0” is referred to as an all contact state, a state where the signal level is “1, 1” is referred to as a non-contact state, and a state where “1, 0” or “0, 1” is illustrated. It is referred to as a partial contact and partial non-contact state.

パルス信号発生の具体的作動として、次に、直流モータ110が回転してパターンプレート153および出力軸127が回転して、第1、2、3接点ブラシ155、156、157が初期化領域301に接触している場合について、図10を用いて説明する。図10の記載形式は、図9と概ね同様である。ただし、上部と下部が入れ替わっている。   As a specific operation for generating the pulse signal, the DC motor 110 is rotated, the pattern plate 153 and the output shaft 127 are rotated, and the first, second, and third contact brushes 155, 156, and 157 are moved to the initialization region 301. The case of contact will be described with reference to FIG. The description format of FIG. 10 is substantially the same as FIG. However, the upper part and the lower part are interchanged.

この場合は、図10に示すように、第1、2接点ブラシ155、156と導電部151a、152aとが接触する通電(ON)状態を保ちつつ、第3接点ブラシ157と導電部154aとは、互いに接触する通電(ON)状態から、第3接点ブラシ157と非導電部154bとが接触する非通電(OFF)状態を経て、第3接点ブラシ157と導電部154aとが接触する通電(ON)状態になる(導電部→非導電部→導電部)。   In this case, as shown in FIG. 10, the third contact brush 157 and the conductive portion 154a are kept in the energized (ON) state where the first and second contact brushes 155 and 156 are in contact with the conductive portions 151a and 152a. From the energized (ON) state in contact with each other, the non-energized (OFF) state in which the third contact brush 157 and the non-conductive portion 154b contact each other, and then the energization (ON) in which the third contact brush 157 and the conductive portion 154a contact each other. ) State (conductive portion → non-conductive portion → conductive portion).

したがって、第1、2接点ブラシ155、156には、直流モータ110の回転に応じて、図10に示すイニシャライズ信号パターンの2相のパルス信号(A相、B相)が発生する。このイニシャライズ信号パターンは、図9に示したような2相のパルス信号の振幅がずれた位相で交互に切り替わるパターンではなく、2相のパルス信号が同時にローレベル「0、0」からハイレベル信号「1、1」に切り替わり、このハイレベル信号から同時にローレベル信号「0、0」に切り替わるパターンである。   Therefore, the first and second contact brushes 155 and 156 generate two-phase pulse signals (A phase and B phase) of the initialization signal pattern shown in FIG. 10 according to the rotation of the DC motor 110. This initialize signal pattern is not a pattern in which the amplitudes of the two-phase pulse signals are shifted alternately as shown in FIG. 9, but the two-phase pulse signals are simultaneously switched from the low level “0, 0” to the high level signal. The pattern is switched to “1, 1” and simultaneously switched from the high level signal to the low level signal “0, 0”.

以上の説明から明らかなように、本実施形態では、第1、2接点ブラシ155、156、157とパターンプレート153とにより出力軸127が所定角度回転する毎にパルス信号を発するスイッチ手段158a〜158cを含むパルス発生器(パルス発生手段)158(図7参照)を構成することになる。   As is apparent from the above description, in this embodiment, the switch means 158a to 158c for generating a pulse signal each time the output shaft 127 rotates by a predetermined angle by the first and second contact brushes 155, 156 and 157 and the pattern plate 153. A pulse generator (pulse generating means) 158 (see FIG. 7) is configured.

なお、既に説明した通り、スイッチ手段158a、158bは、接点ブラシ155、156と第1、2パターン151、152とによって構成されるもので、定電圧回路(電源回路)およびグランドの間で並列的に配設され、電動モータ110の回転に基づき、個々にスイッチングしてパルス信号を発生する。スイッチ手段158cは、第3接点ブラシ157とコモンパターン154とにより構成されるもので、スイッチ手段158a、158bとグランドとの間で、電動モータ110の回転に基づき、スイッチングすることになる。   As already described, the switch means 158a and 158b are constituted by the contact brushes 155 and 156 and the first and second patterns 151 and 152, and are connected in parallel between the constant voltage circuit (power supply circuit) and the ground. And switching individually to generate a pulse signal based on the rotation of the electric motor 110. The switch means 158c is composed of the third contact brush 157 and the common pattern 154, and switches between the switch means 158a, 158b and the ground based on the rotation of the electric motor 110.

また、第1パターン151の位相と第2パターン152の位相とがずれているため、パルス発生器158では、第1パターン151と第1接点ブラシ155とにより発生するA相のパルス信号191と、第2パターン152と第2接点ブラシ156とにより発生するB相のパルス192との間でも、位相のずれが生じる。   Further, since the phase of the first pattern 151 and the phase of the second pattern 152 are shifted, the pulse generator 158 has an A-phase pulse signal 191 generated by the first pattern 151 and the first contact brush 155, and A phase shift also occurs between the B-phase pulse 192 generated by the second pattern 152 and the second contact brush 156.

これを利用して、本実施形態では、A相パルス及びB相パルスのうちいずれの信号の立ち上がり(すなわち、信号レベルの「0」から「1」への切り替わり)が先にパルス信号検知回路216に入力されるかによって、直流モータ110(出力軸127)の回転方向を検出している。   By utilizing this, in the present embodiment, the rising edge of any one of the A-phase pulse and the B-phase pulse (that is, the switching of the signal level from “0” to “1”) first occurs in the pulse signal detection circuit 216. , The rotational direction of the DC motor 110 (output shaft 127) is detected.

次に、電気制御回路200のCPU213が実行するモータ制御処理について説明する。図11および図12に、このモータ制御処理のフローチャートを示す。車両のイグニッションスイッチ(IG)がオンされると、CPU213はまずステップS105で、現時点においてIGスイッチがオンであるか否かを判定し、オンであれば続いてステップS110に進み、オフであれば図12のIGオフ処理に進む。なお、イグニッションスイッチは、直流モータ110への電力を供給することを許可する始動許可スイッチをなすものである。   Next, a motor control process executed by the CPU 213 of the electric control circuit 200 will be described. 11 and 12 show a flowchart of this motor control process. When the ignition switch (IG) of the vehicle is turned on, the CPU 213 first determines in step S105 whether or not the IG switch is currently turned on. If it is on, the CPU 213 proceeds to step S110. The process proceeds to the IG off process of FIG. The ignition switch serves as a start permission switch that permits supply of electric power to the DC motor 110.

ステップS105でオフであると判定される場合としては、IGオン直後にIGオフされる場合がある。このような場合は、例えば、エンジンの始動に失敗することで、ドライバがIGのオンとオフを急速に切り替えているときに発生する。   As a case where it is determined in step S105 that it is off, there is a case where IG is turned off immediately after IG is turned on. Such a case occurs, for example, when the driver is rapidly switching on and off of the IG by failing to start the engine.

IGオフ処理においては、CPU213は、まずステップS340で、パルス飛びがあったか否かを判定し、パルス飛びがあれば続いてステップS365を実行し、パルス飛びがなければ続いてステップS350を実行する。パルス飛びとは、パルス信号の順序(例えば、正回転信号パターン、逆回転信号パターン)に乱れが発生することをいう。パルス飛びがあったか否かは、EEPROM215中でパルス飛びフラグが記録されているか否かで判定する。このパルス飛びフラグは、後述するように、図11のステップS190で記録される。   In the IG off process, the CPU 213 first determines in step S340 whether or not there is a pulse skip, and if there is a pulse skip, executes step S365. If there is no pulse skip, the CPU 213 subsequently executes step S350. A pulse skip means that disorder occurs in the order of pulse signals (for example, a forward rotation signal pattern and a reverse rotation signal pattern). Whether or not a pulse skip has occurred is determined by whether or not a pulse skip flag is recorded in the EEPROM 215. This pulse skip flag is recorded in step S190 in FIG. 11, as will be described later.

ステップS365では、パルス飛びフラグおよび後述するパルス停止フラグをEEPROM215から消去し、初期位置設定を行い、その後ステップS370に進む。初期位置設定において、CPU213は、パターンプレート153が予め定められたイニシャライズ方向(例えば、逆回転方向)に回転するようにモータ駆動回路214へ制御信号を出力して直流モータ110を駆動させる。そして、この直流モータ110の駆動に応じてパルス出力部158から出力されるA相、B相のパルス信号191、192をパルス信号検知回路216によって検出し、このパルス信号検知回路216が検出したパルス信号にイニシャライズ信号パターンが含まれるまで、すなわち、接点ブラシ155〜157の端部が初期化領域301に到達するまで、待つ。そして、到達すると、直流モータ110の駆動を停止させ、その停止位置を、原点位置に設定する。   In step S365, the pulse skip flag and a pulse stop flag described later are erased from the EEPROM 215, the initial position is set, and then the process proceeds to step S370. In the initial position setting, the CPU 213 outputs a control signal to the motor drive circuit 214 to drive the DC motor 110 so that the pattern plate 153 rotates in a predetermined initialization direction (for example, the reverse rotation direction). The A-phase and B-phase pulse signals 191 and 192 output from the pulse output unit 158 according to the driving of the DC motor 110 are detected by the pulse signal detection circuit 216, and the pulses detected by the pulse signal detection circuit 216 are detected. It waits until the initialization signal pattern is included in the signal, that is, until the ends of the contact brushes 155 to 157 reach the initialization region 301. And when it reaches | attains, the drive of the DC motor 110 is stopped and the stop position is set to an origin position.

原点位置の設定は、RAM213a中のパルスカウントの現在値および、CPU213のメモリ中のパルスカウントの原点値を、共に所定の原点基準値(例えば1)に設定することで実現する。なお、所定の原点基準値のデータとしては、CPU213のROMに記録されている値を用いてもよい。   The setting of the origin position is realized by setting both the current value of the pulse count in the RAM 213a and the origin value of the pulse count in the memory of the CPU 213 to a predetermined origin reference value (for example, 1). Note that the value recorded in the ROM of the CPU 213 may be used as the data of the predetermined origin reference value.

ここで、パルスカウントとは、A相、B相のパルス信号のハイ、ローの組み合わせが正回転方向に変化する度に1カウントだけ増加し、逆回転方向に変化する度に1カウントだけ減少するカウントである。例えば、正回転方向については、A相、B相の信号レベルが「1、0」から「1、1」に変化した場合、「1、1」から「0、1」に変化した場合、「0、1」から「0、0」に変化した場合、「0、0」から「1、0」に変化した場合のそれぞれにおいて、パルスカウントが1カウント増加する。   Here, the pulse count is increased by one count whenever the combination of high and low of the A-phase and B-phase pulse signals changes in the forward rotation direction, and decreases by one count every time when the combination changes in the reverse rotation direction. It is a count. For example, regarding the positive rotation direction, when the signal level of the A phase and the B phase changes from “1, 0” to “1, 1”, changes from “1, 1” to “0, 1”, “ When changing from “0, 1” to “0, 0” and when changing from “0, 0” to “1, 0”, the pulse count increases by one count.

ステップS350では、パルス停止があったか否かを判定し、パルス停止があれば続いてステップS360を実行し、パルス停止がなければ続いてステップS370を実行する。パルス停止とは、直流モータ110を回転させようと制御しているにもかかわらずパルス信号が変化しないことをいう。パルス停止があったか否かは、EEPROM215中でパルス停止フラグが記録されているか否かで判定する。このパルス停止フラグは、後述するように、図11のステップS220で記録される。   In step S350, it is determined whether or not there is a pulse stop. If there is a pulse stop, step S360 is subsequently executed. If there is no pulse stop, step S370 is subsequently executed. The pulse stop means that the pulse signal does not change even though the direct current motor 110 is controlled to rotate. Whether or not the pulse is stopped is determined by whether or not a pulse stop flag is recorded in the EEPROM 215. This pulse stop flag is recorded in step S220 of FIG. 11, as will be described later.

ステップS360では、モータ駆動回路214へ制御信号を出力して、直流モータ110を、パルス信号の変化が停止する直前に直流モータ110が回転していた向きと反対向きに、所定時間(例えば1秒)作動させ、その後、ステップS365で、初期位置設定を行う。このように、初期位置設定の前に直流モータ110をそれまでとは逆方向に回転させることで、異物の噛み込み等によるアクチュエータ100のロック現象を自発的に解消することができ、ひいては、アクチュエータ100の信頼性及び耐久性を向上させることができる。ステップS360に続いては、ステップS365で初期位置設定を行い、その後、ステップS370に進む。   In step S360, a control signal is output to the motor drive circuit 214, and the DC motor 110 is moved in a direction opposite to the direction in which the DC motor 110 was rotating immediately before the change of the pulse signal was stopped (for example, 1 second). ) After that, in step S365, initial position setting is performed. As described above, by rotating the DC motor 110 in the opposite direction before the initial position setting, the locking phenomenon of the actuator 100 due to the biting of foreign matter or the like can be spontaneously eliminated, and consequently the actuator 100 reliability and durability can be improved. Following step S360, an initial position is set in step S365, and then the process proceeds to step S370.

ステップS370では、EEPROM215に、RAM213a中のパルスカウントの現在値を、停止位置データとして記録する。停止位置データとして記録されるパルスカウントの現在値は、ステップS365で原点位置に停止している状態の出力軸127の作動位置に対応する値であるか、または、図11のステップS150で停止した状態の出力軸127の作動位置に対応する値である。   In step S370, the current value of the pulse count in the RAM 213a is recorded in the EEPROM 215 as stop position data. The current value of the pulse count recorded as the stop position data is a value corresponding to the operating position of the output shaft 127 stopped at the origin position in step S365, or stopped in step S150 of FIG. This value corresponds to the operating position of the output shaft 127 in the state.

続いてステップS375では、イグニッションスイッチが遮断された(すなわちIGオフとなった)時から所定時間が経過するまで待ち、所定時間が経過したときに、続いてステップS380で、バッテリ外し判定フラグをEEPROM215に記録する。   Subsequently, in step S375, the process waits until a predetermined time elapses from when the ignition switch is turned off (that is, IG is turned off). When the predetermined time elapses, subsequently, in step S380, the battery removal determination flag is set in the EEPROM 215. To record.

なお、この所定時間は、暗電流の消費を抑制するためにバッテリから車載電気機器への電力供給を停止する時間より短い時間である。このため、バッテリ外し判定フラグがEEPROM215に保持されている場合には、バッテリからモータアクチュエータ100が切り離されていないことを意味し、バッテリ外し判定フラグがEEPROM215に保持されていない場合には、バッテリからモータアクチュエータ100が切り離されていることを意味する。ステップS380の後、モータアクチュエータ100の作動を停止させる。   The predetermined time is shorter than the time for stopping the power supply from the battery to the in-vehicle electric device in order to suppress the consumption of dark current. For this reason, when the battery removal determination flag is held in the EEPROM 215, it means that the motor actuator 100 is not disconnected from the battery. When the battery removal determination flag is not held in the EEPROM 215, the battery is removed from the battery. This means that the motor actuator 100 is disconnected. After step S380, the operation of the motor actuator 100 is stopped.

このように、IGオフ時には、パルス飛び(S340)またはパルス停止(S350)がIGオフ前にあった場合には、出力軸127の作動位置を初期位置まで戻して停止させ(S365)、その時点の作動位置を停止位置としてEEPROM215に記録する(S370)。また、IGオフ時に、パルス飛び(S340)またはパルス停止(S350)がIGオフ前になかった場合には、目標位置で停止している(S150)出力軸127の作動位置を停止位置としてEEPROM215に記録する(S370)。   In this way, when the IG is off, if the pulse skip (S340) or pulse stop (S350) is before the IG off, the operating position of the output shaft 127 is returned to the initial position and stopped (S365). Is recorded in the EEPROM 215 as a stop position (S370). If the pulse skip (S340) or pulse stop (S350) is not before IG OFF when the IG is OFF, the operation position of the output shaft 127 stopped at the target position (S150) is set as the stop position in the EEPROM 215. Recording is performed (S370).

その後、IGがオンとなり、CPU213が、図11のステップS105でIGオンと判定すると、続いてステップS110で、原点位置のデータ(すなわち、パルスカウントの原点値)および停止位置のデータ(すなわち、パルスカウントの現在値)のデータの組がRAM213aに保持されているか否かを判定する。保持されていないと判定した場合は続いてステップS112に進み、保持されていると判定した場合は続いてステップS116に進む。   After that, when IG is turned on and the CPU 213 determines that IG is turned on in step S105 of FIG. 11, subsequently, in step S110, the data of the origin position (that is, the origin value of the pulse count) and the data of the stop position (that is, the pulse) It is determined whether or not a data set of (the current value of the count) is held in the RAM 213a. If it is determined that it is not retained, the process proceeds to step S112. If it is determined that it is retained, the process proceeds to step S116.

ステップS110の判定の前に、原点位置のデータおよび停止位置のデータの組がRAM213aに保持されていない場合としては、モータアクチュエータ100がバッテリから切り離されて、電気制御回路200への電力供給が停止してしまった場合、または、何らかの原因で定電圧回路211からの印加電圧がリセット判定レベルを下回り、CPU213がリセットして再起動した場合が考えられる。   If the combination of the origin position data and the stop position data is not held in the RAM 213a before the determination in step S110, the motor actuator 100 is disconnected from the battery and the power supply to the electric control circuit 200 is stopped. If this happens, or if the voltage applied from the constant voltage circuit 211 falls below the reset determination level for some reason, the CPU 213 resets and restarts.

特に後者の場合は、IGオン直後に発生する可能性が高い。それは、IGオン直後は、エンジン始動等によって、バッテリの負荷が高くなり、バッテリから電気制御回路200への印加電圧が低下し、その結果、CPU213への印可電圧がリセット判定レベルを下回ることが多いからである。なお、リセットおよび再起動後のCPU213は、再度ステップS105から実行を開始するようになっている。   In particular, in the latter case, there is a high possibility that it will occur immediately after IG is turned on. Immediately after the IG is turned on, the load on the battery increases due to engine start or the like, and the applied voltage from the battery to the electric control circuit 200 decreases. As a result, the applied voltage to the CPU 213 often falls below the reset determination level. Because. Note that the CPU 213 after resetting and restarting starts again from step S105.

ステップS112では、EEPROM215に停止位置データが保持されているか否かを判定し、保持されていれば続いてステップS114に進み、保持されていなければ続いてステップS120に進む。直前のIGオフ処理のステップS370においてEEPROM215に停止位置データが記録されている場合は、この判定結果は肯定的となる。   In step S112, it is determined whether or not stop position data is held in the EEPROM 215. If held, the process proceeds to step S114. If not held, the process proceeds to step S120. If stop position data is recorded in the EEPROM 215 in step S370 of the immediately preceding IG off process, the determination result is affirmative.

ステップS114では、停止位置データおよび原点位置データを、RAM213aに記録する。具体的には、現在EEPROM215に保持されている停止位置データを、パルスカウントの現在値(作動位置のデータの一例に相当する)としてRAM213aに記録し、また、所定の原点基準値のデータを、パルスカウントの原点値として、RAM213aに記録する。ステップS114に続いては、ステップS116を実行する。   In step S114, stop position data and origin position data are recorded in the RAM 213a. Specifically, the stop position data currently held in the EEPROM 215 is recorded in the RAM 213a as the current value of the pulse count (corresponding to an example of the operation position data), and the data of a predetermined origin reference value is Recorded in the RAM 213a as the pulse count origin value. Subsequent to step S114, step S116 is executed.

ステップS116では、EEPROM215内の停止位置データを消去し、続いてステップS118を実行する。ステップS118では、バッテリ外し判定フラグがEEPROM215に記録されているか否かを判定し、記録されていなければ続いてステップS120実行し、記録されていれば続いてステップS122を実行する。   In step S116, the stop position data in the EEPROM 215 is erased, and then step S118 is executed. In step S118, it is determined whether or not the battery removal determination flag is recorded in the EEPROM 215. If it is not recorded, step S120 is subsequently executed. If it is recorded, step S122 is subsequently executed.

ステップS120では、IGオフ処理のステップS365と同じ方法で、初期位置設定を行い、その後ステップS124に進む。なお、初期位置設定を行うと、RAM213a中に原点位置のデータおよび停止位置のデータの組が記録される。ステップS122では、バッテリ外し判定フラグを消去し、その後ステップS124に進む。   In step S120, the initial position is set by the same method as in step S365 of the IG off process, and then the process proceeds to step S124. When the initial position is set, a set of origin position data and stop position data is recorded in the RAM 213a. In step S122, the battery removal determination flag is deleted, and then the process proceeds to step S124.

このような、CPU213によるステップS105〜S122の処理によって、CPU213は、IGオン時に、RAM213a中に原点位置データおよび停止位置データの組がない場合には(ステップS110参照)、直前のIGオフ時にEEPROM215に記録した停止位置データおよび所定の原点基準値データを、出力軸127の作動位置のデータ(パルスカウントの現在値)および原点位置データ(パルスカウントの原点値)として、RAM213aに記録する(ステップS112、S114参照)。   As a result of the processing in steps S105 to S122 performed by the CPU 213, the CPU 213 determines that the EEPROM 215 is not turned on immediately before the IG is turned off when the origin position data and stop position data are not stored in the RAM 213a when the IG is turned on (see step S110). Are recorded in the RAM 213a as the operation position data (current value of the pulse count) and the origin position data (origin value of the pulse count) of the output shaft 127 (step S112). , S114).

このようにすることで、直前のIGオフ後にモータアクチュエータ100がバッテリから切り離された場合や、IGオン直後に定電圧回路211からの印加電圧が低下してCPU213がリセットおよび再起動した場合において、RAM213aから原点位置データおよび停止位置データの組が消えてしまっていても、初期位置設定を実行するまでもなく、その組をRAM213aに再度保持させることができる。したがって、初期位置設定の頻度を減らすことができ、ひいては、モータアクチュエータ100の寿命を長くすることができる。   In this way, when the motor actuator 100 is disconnected from the battery after the previous IG is turned off, or when the applied voltage from the constant voltage circuit 211 decreases immediately after the IG is turned on and the CPU 213 is reset and restarted, Even if the set of the origin position data and the stop position data disappears from the RAM 213a, the set can be held again in the RAM 213a without performing the initial position setting. Therefore, the frequency of initial position setting can be reduced, and the life of the motor actuator 100 can be extended.

なお、RAM213aに再度保持される停止位置データが、現在の停止位置に確実に合致するのは、EEPROM215に停止位置データが記録されるのがモータアクチュエータ100の停止直前であること、および、EEPROM215からRAM213aに停止位置データが記録されるのは、IGオン後(またはCPU213のリセットおよび再起動後)かつ直流モータ110の駆動前となっているからである。   It should be noted that the stop position data held again in the RAM 213a surely matches the current stop position is that the stop position data is recorded in the EEPROM 215 immediately before the motor actuator 100 is stopped, and from the EEPROM 215. The stop position data is recorded in the RAM 213a because it is after the IG is turned on (or after the CPU 213 is reset and restarted) and before the DC motor 110 is driven.

ただし、バッテリ外し判定フラグがEEPROM215にない場合、すなわち、IGオフ後すぐに(具体的には、所定時間以内に)モータアクチュエータ100がバッテリから切り離されている場合は、モータアクチュエータ100を取り外した作業者が、整備またはテストの目的で、モータを回転させ、その後、モータアクチュエータ100を再度バッテリに取り付けた可能性が高い。このような場合、EEPROM215に記録された停止位置データが、実際の出力軸127の作動位置に合致しない。   However, when the battery removal determination flag is not in the EEPROM 215, that is, when the motor actuator 100 is disconnected from the battery immediately after the IG is turned off (specifically, within a predetermined time), the operation of removing the motor actuator 100 is performed. There is a high possibility that a person rotates the motor for maintenance or testing purposes, and then attaches the motor actuator 100 to the battery again. In such a case, the stop position data recorded in the EEPROM 215 does not match the actual operating position of the output shaft 127.

このため、本実施形態においては、バッテリ外し判定フラグがEEPROM215に記録されていない場合には、EEPROM215中に停止位置データがあっても、初期位置設定を実行する(ステップS118→ステップS120参照)ことで、RAM213aに復帰した現在位置データと実際の出力軸127の停止位置とが確実に合致するようにする。   For this reason, in this embodiment, when the battery removal determination flag is not recorded in the EEPROM 215, the initial position setting is executed even if stop position data exists in the EEPROM 215 (see step S118 → step S120). Thus, the current position data returned to the RAM 213a and the actual stop position of the output shaft 127 are surely matched.

すなわち、車両のイグニッションスイッチがオンになったとき、最後に車両のイグニッションスイッチがオフになってから所定時間以内に電気制御回路200への電力供給が絶たれていない場合は、EEPROM215からRAM213aに記録された停止位置のデータを、出力軸127の作動位置のデータとして、ステップS124〜S220で用いる。そして、車両のイグニッションスイッチがオンになったとき、最後に車両のイグニッションスイッチがオフになってから所定時間以内に電気制御回路200への電力供給が絶たれていた場合は、出力軸127を所定の原点位置に戻すよう直流モータ110を制御し、当該原点位置に対応する位置のデータを、RAM213aに記録し、その記録した当該原点位置に対応する位置のデータを、出力軸127の作動位置のデータとして、ステップS124〜S220で用いるようになっていてもよい。   That is, when the vehicle ignition switch is turned on, if the power supply to the electric control circuit 200 is not cut off within a predetermined time since the vehicle ignition switch was turned off last time, the data is recorded from the EEPROM 215 to the RAM 213a. The stopped position data is used in steps S124 to S220 as the operating position data of the output shaft 127. And when the ignition switch of the vehicle is turned on, if the power supply to the electric control circuit 200 has been cut off within a predetermined time since the last time the ignition switch of the vehicle was turned off, the output shaft 127 is set to the predetermined value. The DC motor 110 is controlled so as to return to the origin position, and the position data corresponding to the origin position is recorded in the RAM 213a, and the recorded position data corresponding to the origin position is recorded as the operation position of the output shaft 127. Data may be used in steps S124 to S220.

また、EEPROM215中の現在位置データをRAM213aに記録した後、直流モータ110を作動させる前に、EEPROM215中の現在位置データを消去する。このようにすることで、ステップS124以降で出力軸127の作動位置が変化した後、何らかの原因で定電圧回路211からの印加電圧が低下してCPU213がリセットおよび再起動された場合でも、現状に適合しないEEPROM215中の現在位置データがRAM213aに記録されることがない。   In addition, after the current position data in the EEPROM 215 is recorded in the RAM 213a, the current position data in the EEPROM 215 is erased before the DC motor 110 is operated. By doing in this way, even if the applied voltage from the constant voltage circuit 211 is lowered for some reason and the CPU 213 is reset and restarted after the operating position of the output shaft 127 is changed after step S124, the current state is maintained. The current position data in the incompatible EEPROM 215 is not recorded in the RAM 213a.

なお、ステップS124以降で出力軸127の作動位置が変化する度に、その変化に追従して、RAM213a中の現在位置データをEEPROM215に記録するようになっていてもよい。ただしその場合は、そうしない場合に比べて、EEPROM215への記録回数が非常に多くなる。   Each time the operating position of the output shaft 127 changes after step S124, the current position data in the RAM 213a may be recorded in the EEPROM 215 following the change. However, in that case, the number of times of recording in the EEPROM 215 becomes very large as compared to the case where it does not.

ステップS122に続くステップS124では、CPU213は、IGスイッチがオンであるかオフとなったかを判定し、オンであれば続いてステップS130を実行し、オフであればIGオフ処理を実行する。   In step S124 following step S122, the CPU 213 determines whether the IG switch is on or off. If it is on, the CPU 213 executes step S130. If it is off, the CPU 213 executes IG off processing.

ステップS130では、目標値を設定する。目標値とは、エアミックスドア1の目標位置に基づいて決定される、原点位置からの相対的なパルスカウントの値である。エアミックスドア1の目標位置とパルスカウントの目標値との対応関係の情報は、あらかじめ電気制御回路200のメモリ中に記録されていてもよい。その場合は、CPU230が、その対応関係の情報に基づいて、エアミックスドア1の目標位置から、パルスカウントの目標値を特定する。   In step S130, a target value is set. The target value is a relative pulse count value from the origin position, which is determined based on the target position of the air mix door 1. Information on the correspondence between the target position of the air mix door 1 and the target value of the pulse count may be recorded in advance in the memory of the electric control circuit 200. In that case, the CPU 230 specifies the target value of the pulse count from the target position of the air mix door 1 based on the information on the correspondence relationship.

続いてステップS140では、パルスカウントの目標値と現在相対値とを比較し、合致しているか否かを判定する。ここで、現在相対値とは、パルスカウントの現在値から、パルスカウントの原点値を差し引いた値をいう。合致していれば続いてステップS150でモータ駆動回路214を制御して直流モータ110を停止させ、その後ステップS124に戻る。   Subsequently, in step S140, the target value of the pulse count is compared with the current relative value to determine whether or not they match. Here, the current relative value is a value obtained by subtracting the origin value of the pulse count from the current value of the pulse count. If they match, the motor drive circuit 214 is controlled in step S150 to stop the DC motor 110, and then the process returns to step S124.

ステップS140で合致していないと判定した場合、続いてステップS160で、モータ駆動回路214を制御して、直流モータ110を回転させる。具体的には、現在位置が目標位置に近づく方向にパターンプレート153が回転するよう、直流モータ110を回転させる。そして、パルス信号検知回路216からA相、B相の信号の組み合わせの変化に基づいて、RAM213a中のパルスカウントの現在値を変化させる。具体的には、正回転パターンでA相、B相の信号の組み合わせが1回変化すると、パルスカウントの現在値を1カウント増加させ、逆回転パターンでA相、B相の信号の組み合わせが1回変化すると、パルスカウントの現在値を1カウント減少させる。   If it is determined in step S140 that they do not match, then in step S160, the motor drive circuit 214 is controlled to rotate the DC motor 110. Specifically, the DC motor 110 is rotated so that the pattern plate 153 rotates in a direction in which the current position approaches the target position. The current value of the pulse count in the RAM 213a is changed based on the change in the combination of the A-phase and B-phase signals from the pulse signal detection circuit 216. Specifically, when the combination of A-phase and B-phase signals changes once in the forward rotation pattern, the current value of the pulse count is increased by 1 count, and the combination of A-phase and B-phase signals in the reverse rotation pattern becomes 1. When the number of times changes, the current value of the pulse count is decreased by one count.

続いてステップS170では、パルス信号検知回路216が検出する2相のパルスに変化があるか否かを判定し、変化がある場合(すなわち、出力軸127が回転している場合)続いてステップS180に進み、変化がない場合(すなわち、出力軸127が回転していない場合)、続いてステップS200に進む。   Subsequently, in step S170, it is determined whether or not there is a change in the two-phase pulse detected by the pulse signal detection circuit 216. If there is a change (that is, the output shaft 127 is rotating), then step S180 is performed. When there is no change (that is, when the output shaft 127 is not rotating), the process proceeds to step S200.

ステップ200を実行する場合は、直流モータ110に駆動電流が通電されているにもかかわらず、パルス信号の変化が停止している場合である。このような場合は、パターンプレート153の回転に異常が発生している可能性が高い。したがって、続いてステップS200で、駆動制御開始後にパルス信号の変化が停止している期間が所定時間を超えたか否かを判定し、超えていない場合はステップS124に戻る。そして、超えていれば続いてステップS210でパルス信号に異常が発生したものと判定して、モータ駆動回路214を制御して駆動電流の通電を停止して直流モータ110を停止し、さらにステップS220で、パルス信号の変化が停止したことを意味するパルス停止フラグをEEPROM215に記録する。ステップS220の後、再度ステップS124を実行する。   When step 200 is executed, the change of the pulse signal is stopped despite the drive current being supplied to the DC motor 110. In such a case, there is a high possibility that an abnormality has occurred in the rotation of the pattern plate 153. Therefore, subsequently, in step S200, it is determined whether or not the period during which the change of the pulse signal has stopped after the start of drive control has exceeded a predetermined time. If not, the process returns to step S124. If it has exceeded, it is determined in step S210 that an abnormality has occurred in the pulse signal, the motor drive circuit 214 is controlled to stop energization of the drive current, the DC motor 110 is stopped, and step S220. Then, a pulse stop flag indicating that the change of the pulse signal is stopped is recorded in the EEPROM 215. After step S220, step S124 is executed again.

また、直流モータ110に駆動電流が通電されており、かつ、パルス信号が変化している場合に実行されるステップS180では、パルス信号検知回路216が検出するパルス波形(図9参照)に乱れが発生せずにパルス信号が規則正しく順序通り発生しているか否か、つまりパルス飛びが発生していないか等を判定する。パルス飛び等が発生していないときには、S124に戻る。パルス飛びが発生している場合、続いてステップS190でパルス飛び等が発生していることを意味するパルス飛びフラグをEEPROM215に記録する。ステップS190の後、再度ステップS124を実行する。   Further, in step S180, which is executed when the DC motor 110 is energized and the pulse signal changes, the pulse waveform detected by the pulse signal detection circuit 216 (see FIG. 9) is disturbed. It is determined whether or not pulse signals are generated in a regular order without generation, that is, whether or not pulse skipping has occurred. When no pulse skipping has occurred, the process returns to S124. If a pulse skip has occurred, a pulse skip flag indicating that a pulse skip has occurred is recorded in the EEPROM 215 in step S190. After step S190, step S124 is executed again.

このように、パルス停止があった場合にEEPROM215にパルス停止フラグを記録し、パルス飛びがあった場合にEEPROM215にパルス飛びフラグを記録することで、イグニッションスイッチが遮断された後、図12のIGオフ処理において、両方の場合に、初期値設定を行うことができる。   In this way, when the pulse is stopped, the pulse stop flag is recorded in the EEPROM 215, and when the pulse is skipped, the pulse skip flag is recorded in the EEPROM 215. In both cases, the initial value can be set in the off process.

このように、ステップS140、S150、160の処理により、目標値のパルスカウント(具体的には、原点基準値に対する相対的なパルスカウント)に現在相対値が合致するまで直流モータ110が駆動され、合致した時点で、直流モータ110の駆動が停止される。   In this way, the DC motor 110 is driven by the processing of steps S140, S150, and 160 until the current relative value matches the pulse count of the target value (specifically, the relative pulse count with respect to the reference value of the origin) When they match, the driving of the DC motor 110 is stopped.

このように、電気制御回路200は、接点ブラシ155、156の導体パターンへの接触と非接触の組み合わせの変化を検出することで、エアミックスドア1の位置に相当するパターンプレート153(または直流モータ110)を検出することができ、検出した現在値と原点値との差を目標値に合わせるよう、直流モータ110をフィードバック制御することができる。   In this way, the electric control circuit 200 detects a change in the combination of contact and non-contact of the contact brushes 155 and 156 with the conductor pattern, thereby the pattern plate 153 (or DC motor) corresponding to the position of the air mix door 1. 110), and the DC motor 110 can be feedback-controlled so that the difference between the detected current value and the origin value matches the target value.

以上、本発明の実施形態について説明したが、本発明の範囲は、上記実施形態のみに限定されるものではなく、本発明の各発明特定事項の機能を実現し得る種々の形態を包含するものである。   As mentioned above, although embodiment of this invention was described, the scope of the present invention is not limited only to the said embodiment, The various form which can implement | achieve the function of each invention specific matter of this invention is included. It is.

本発明の実施形態に係るモータアクチュエータの適用例となる車両用空調装置の模式図である。It is a schematic diagram of the vehicle air conditioner used as the application example of the motor actuator which concerns on embodiment of this invention. モータアクチュエータ100の外観図である。1 is an external view of a motor actuator 100. FIG. モータアクチュエータ100の内部構成の模式図である。2 is a schematic diagram of an internal configuration of a motor actuator 100. FIG. (a)はパターンプレート153の正面図であり、(b)は(a)の側面図である。(A) is a front view of the pattern plate 153, (b) is a side view of (a). 図3のA−A断面図である。It is AA sectional drawing of FIG. パターンプレート153の拡大図である。4 is an enlarged view of a pattern plate 153. FIG. 電気制御回路200を示す模式図である。2 is a schematic diagram showing an electrical control circuit 200. FIG. 定電圧回路211からの印加電圧50、リセット判定回路212からCPU213へのリセット信号51、およびCPU213の作動モード52の変化を示すタイミング図である。FIG. 11 is a timing chart showing changes in applied voltage 50 from constant voltage circuit 211, reset signal 51 from reset determination circuit 212 to CPU 213, and operation mode 52 of CPU 213. 回転検出領域300において回転角度を検出するために出力されるパルス信号のパターンを示す図である。FIG. 6 is a diagram showing a pattern of a pulse signal output for detecting a rotation angle in the rotation detection region 300. 初期化領域301において出力されるパルス信号のパターンを示すチャートである。6 is a chart showing a pattern of pulse signals output in the initialization region 301. 起動後に電気制御回路200のCPU213が実行するモータ制御処理のフローチャートである。It is a flowchart of the motor control process which CPU213 of the electric control circuit 200 performs after starting. IGオフ時に電気制御回路200のCPU213が実行するモータ制御処理のフローチャートである。It is a flowchart of the motor control process which CPU213 of the electric control circuit 200 performs at the time of IG OFF.

符号の説明Explanation of symbols

1 エアミックスドア
100 モータアクチュエータ
110 直流モータ
127 出力軸
151a、152a、154a 導電部
151b、152b、154b 非導電部
153 パターンプレート
155、156、157 接点ブラシ
158 パルス出力部
200 電気制御回路
211 定電圧回路
212 リセット判定回路
213 CPU
213a RAM
214 モータ駆動回路
215 EEPROM
216 パルス信号検知回路
300 回転検出領域
301 初期化領域
DESCRIPTION OF SYMBOLS 1 Air mix door 100 Motor actuator 110 DC motor 127 Output shaft 151a, 152a, 154a Conductive part 151b, 152b, 154b Non-conductive part 153 Pattern plate 155, 156, 157 Contact brush 158 Pulse output part 200 Electric control circuit 211 Constant voltage circuit 212 Reset determination circuit 213 CPU
213a RAM
214 Motor drive circuit 215 EEPROM
216 Pulse signal detection circuit 300 Rotation detection area 301 Initialization area

Claims (3)

車両に搭載されるモータアクチュエータであって、
モータ(110)と、
前記モータ(110)の回転に伴って回転する出力軸(127)と、
前記出力軸(127)の回転に伴って変化するパルス信号を出力するパルス出力部(158)と、
前記パルス出力部(158)からのパルス信号の変化に基づいて、前記出力軸(127)の回転角に相当する作動位置を検出する検出部(213)と、
記憶している情報を電力の供給を受けることなく保持できる不揮発性記憶媒体(215)と、を備え、
前記検出部(213)は、当該検出部(213)への印加電圧が所定のレベルを下回った場合に、記憶している情報を保持できなくなる揮発性記憶媒体(213a)を有し、
さらに前記検出部(213)は、検出した作動位置の変化に応じて、前記揮発性記憶媒体(213a)中の作動位置のデータを更新し、
さらに前記検出部(213)は、前記車両のイグニッションスイッチがオフになったことに基づいて、前記揮発性記憶媒体(213a)中の前記作動位置のデータを、停止位置データとして、前記不揮発性記憶媒体(215)に記録し、
さらに前記検出部(213)は、前記車両のイグニッションスイッチがオンになったことに基づいて、前記不揮発性記憶媒体(215)に記録されている前記停止位置データを、前記出力軸(127)の作動位置のデータとして、前記揮発性記憶媒体(213a)に記録することを特徴とするモータアクチュエータ。
A motor actuator mounted on a vehicle,
A motor (110);
An output shaft (127) that rotates as the motor (110) rotates;
A pulse output unit (158) for outputting a pulse signal that changes with rotation of the output shaft (127);
A detection unit (213) for detecting an operating position corresponding to a rotation angle of the output shaft (127) based on a change in a pulse signal from the pulse output unit (158);
A non-volatile storage medium (215) capable of holding stored information without receiving power supply,
The detection unit (213) includes a volatile storage medium (213a) that cannot retain stored information when a voltage applied to the detection unit (213) falls below a predetermined level.
Further, the detection unit (213) updates the data of the operation position in the volatile storage medium (213a) according to the detected change of the operation position,
Furthermore, the detection unit (213) uses the operation position data in the volatile storage medium (213a) as stop position data based on the fact that the ignition switch of the vehicle is turned off as the nonvolatile storage. Recorded on the medium (215),
Further, the detection unit (213) detects the stop position data recorded in the nonvolatile storage medium (215) based on the ignition switch of the vehicle being turned on, on the output shaft (127). A motor actuator, wherein the data is recorded in the volatile storage medium (213a) as operating position data.
前記検出部(213)は、前記車両のイグニッションスイッチがオンになった後、前記出力軸(127)が回転する前に、前記不揮発性記憶媒体(215)に記録されている前記停止位置データを、前記出力軸(127)の作動位置のデータとして、前記揮発性記憶媒体(213a)に記録することを特徴とする請求項1に記載のモータアクチュエータ。   The detection unit (213) reads the stop position data recorded in the non-volatile storage medium (215) before the output shaft (127) rotates after the ignition switch of the vehicle is turned on. The motor actuator according to claim 1, wherein the data is recorded in the volatile storage medium (213a) as data of an operating position of the output shaft (127). 前記検出部(213)は、前記車両のイグニッションスイッチがオンになったとき、最後に前記車両のイグニッションスイッチがオフになってから所定時間以内に前記検出部(213)への電力供給が絶たれていなかった場合は、前記不揮発性記憶媒体(215)から前記揮発性記憶媒体(213a)に記録された停止位置のデータを、前記出力軸(127)の作動位置のデータとして用い、
また、前記検出部(213)は、前記車両のイグニッションスイッチがオンになったとき、最後に前記車両のイグニッションスイッチがオフになってから所定時間以内に前記検出部(213)への電力供給が絶たれていた場合は、前記出力軸(127)を所定の原点位置に戻すよう前記モータ(110)を制御し、当該原点位置に対応する位置のデータを、前記揮発性記憶媒体(213a)に記録し、その記録した当該原点位置に対応する位置のデータを、前記出力軸(127)の作動位置のデータとして用いることを特徴とする請求項1または2に記載のモータアクチュエータ。
When the ignition switch of the vehicle is turned on, the detection unit (213) cuts off the power supply to the detection unit (213) within a predetermined time after the ignition switch of the vehicle is finally turned off. If not, the stop position data recorded from the nonvolatile storage medium (215) to the volatile storage medium (213a) is used as the operating position data of the output shaft (127),
In addition, when the ignition switch of the vehicle is turned on, the detection unit (213) supplies power to the detection unit (213) within a predetermined time after the ignition switch of the vehicle is finally turned off. If it is disconnected, the motor (110) is controlled to return the output shaft (127) to a predetermined origin position, and the data of the position corresponding to the origin position is stored in the volatile storage medium (213a). The motor actuator according to claim 1 or 2, wherein the motor actuator is recorded and data of a position corresponding to the recorded origin position is used as data of an operating position of the output shaft (127).
JP2008277773A 2008-10-29 2008-10-29 Motor actuator Withdrawn JP2010110078A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008277773A JP2010110078A (en) 2008-10-29 2008-10-29 Motor actuator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008277773A JP2010110078A (en) 2008-10-29 2008-10-29 Motor actuator

Publications (1)

Publication Number Publication Date
JP2010110078A true JP2010110078A (en) 2010-05-13

Family

ID=42298970

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008277773A Withdrawn JP2010110078A (en) 2008-10-29 2008-10-29 Motor actuator

Country Status (1)

Country Link
JP (1) JP2010110078A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865906A (en) * 2019-11-05 2020-03-06 中国第一汽车股份有限公司 Motor initial position angle storage method and device, vehicle and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865906A (en) * 2019-11-05 2020-03-06 中国第一汽车股份有限公司 Motor initial position angle storage method and device, vehicle and storage medium

Similar Documents

Publication Publication Date Title
JP4379053B2 (en) Electric actuator system
JP4450015B2 (en) Fault detection device for automatic door opening / closing switch for vehicles
JP2011132896A (en) Control device and control method
JP5888101B2 (en) Control device
US20110175563A1 (en) Motor controlling device
JP4269878B2 (en) Electronic control unit
JP2010110078A (en) Motor actuator
JP4277484B2 (en) Electric actuator system
JP6507963B2 (en) Shift range switching control device
JP2009067275A (en) Vehicular wiper device
JP5459345B2 (en) Electric actuator system
JP3807352B2 (en) Electric actuator system
JP3885777B2 (en) Electric actuator system
JP5003208B2 (en) Drive control device, vehicle control system, and program
JP4356447B2 (en) Electric actuator system and vehicle air conditioner.
JP6702227B2 (en) Vehicle cooling fan motor controller
JP2006298170A (en) Electric actuator system, and vehicular air-conditioner
JP5267058B2 (en) Motor actuator
JP2006262641A (en) Servomotor and servomotor driving device
JP2008019829A (en) Engine control unit for vehicle
JP2006298089A (en) Actuator control device and control method thereof
JP4483526B2 (en) Electric actuator
JP2006234486A (en) Failure diagnosis method for on-vehicle solar radiation sensor and failure diagnosis device
JP3941725B2 (en) Electric actuator system
JP2018050432A (en) Electric actuator system and air conditioner

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20120110