JP4255408B2 - Vehicle lighting device - Google Patents

Vehicle lighting device Download PDF

Info

Publication number
JP4255408B2
JP4255408B2 JP2004139411A JP2004139411A JP4255408B2 JP 4255408 B2 JP4255408 B2 JP 4255408B2 JP 2004139411 A JP2004139411 A JP 2004139411A JP 2004139411 A JP2004139411 A JP 2004139411A JP 4255408 B2 JP4255408 B2 JP 4255408B2
Authority
JP
Japan
Prior art keywords
signal
motor
state
output
drive 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.)
Expired - Fee Related
Application number
JP2004139411A
Other languages
Japanese (ja)
Other versions
JP2005319885A (en
Inventor
寿文 速水
秀樹 内田
一弘 鈴木
哲也 石田
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.)
Koito Manufacturing Co Ltd
Original Assignee
Koito Manufacturing 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 Koito Manufacturing Co Ltd filed Critical Koito Manufacturing Co Ltd
Priority to JP2004139411A priority Critical patent/JP4255408B2/en
Publication of JP2005319885A publication Critical patent/JP2005319885A/en
Application granted granted Critical
Publication of JP4255408B2 publication Critical patent/JP4255408B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To precisely detect a rotating direction and a rotating position of a motor by eliminating noise effect superimposed on a signal from a detecting element detecting the rotating position of the motor. <P>SOLUTION: The lighting device for the vehicle is equipped with a driving motor 42 for a light axis deflecting means for deflecting the lighting device provided on the vehicle, detecting elements H1 to H3 outputting the signal for detecting the rotating position of the driving motor, and a motor control means 433 for controlling a rotating operation of the driving motor based on the detected rotating position. The lighting device is equipped with a means 434 which detects abnormality of the signals P1 to P3 from the detecting elements and detects the rotating position of the driving motor by correcting the abnormal signal based on the normal signal when detecting the abnormality. When the rotating position and/or rotating direction of the motor cannot be normally detected because the noise is superimposed on the signal outputted from the detecting element, the correction is performed based on the normal signal obtained around the time, and the rotating direction and the rotating position of the motor can be precisely detected. <P>COPYRIGHT: (C)2006,JPO&amp;NCIPI

Description

本発明は自動車等の車両の走行状況に対応して前照灯等のランプの照射方向や照射範囲を偏向動作させる配光制御手段、例えば適応型照明システム(以下、AFS(Adaptive Front-lighting System))を備える車両用照明装置に関し、特に偏向動作を行う駆動源としてのモータ駆動装置に関するものである。   The present invention relates to a light distribution control means for deflecting an irradiation direction and an irradiation range of a lamp such as a headlamp in accordance with a traveling state of a vehicle such as an automobile, for example, an adaptive lighting system (hereinafter referred to as an AFS (Adaptive Front-lighting System)). In particular, the present invention relates to a motor drive device as a drive source for performing a deflection operation.

自動車の走行安全性を高めるために提案されているAFSとして、本出願人により提案されている特許文献1に記載の技術がある。このAFSは、図1に概念図を示すように、自動車CARにステアリング装置での操舵角を検出するステアリングセンサ1Aや車速を検出する車速センサ1Bを設けておき、これらセンサ1A,1Bの検出出力を電子制御ユニット(以下、ECU(Electronic Control Unit ))2に入力し、ECU2は入力された検出出力に基づいて自動車の前部の左右にそれぞれ装備された前照灯3(スイブルランプ3R,3L)の照射範囲、例えば照射方向を左右方向に偏向制御してその配光特性を変化させている。このAFSによれば、自動車がカーブした道路を走行する際には、当該自動車の操舵角に対応してスイブルランプの照射方向を偏向制御してカーブ前方の道路を照明することが可能になり、走行安全性を高める上で有効になる。
特開2002−160581号公報
As an AFS proposed for improving the driving safety of an automobile, there is a technique described in Patent Document 1 proposed by the present applicant. As shown in the conceptual diagram of FIG. 1, the AFS is provided with a steering sensor 1A for detecting a steering angle in a steering device and a vehicle speed sensor 1B for detecting a vehicle speed in an automobile CAR, and detection outputs of these sensors 1A and 1B. Is input to an electronic control unit (hereinafter referred to as an ECU (Electronic Control Unit)) 2, and the ECU 2 is connected to headlights 3 (swive lamps 3R, 3L) mounted on the left and right of the front of the vehicle based on the input detection output. ), For example, the irradiation direction is deflected to the left and right to change its light distribution characteristics. According to this AFS, when the vehicle travels on a curved road, it becomes possible to illuminate the road ahead of the curve by controlling the deflection direction of the swivel lamp according to the steering angle of the vehicle, This is effective for improving driving safety.
JP 2002-160581 A

このようなAFSにおいては、左右のスイブルランプの駆動源としてモータを設け、このモータの回転出力を減速歯車列により減速してスイブルランプの偏向中心となる回転軸を回転し、各スイブルランプの偏向動作を行うように構成しており、偏向制御はこのモータの回転位置を制御することで各スイブルランプの照射方向を所定の方向に設定している。モータの回転位置を制御するためには、モータ回転位置センサによりモータの回転位置を検出し、検出した回転位置と設定しようとする目標回転位置とを比較して両者の差を求め、この差を零にするようにモータ駆動回路においてフィードバック制御する構成がとられている。通常、モータにブラシレスモータを用いた場合には、当該ブラシレスモータの回転位置を検出するにはブラシレスモータに付設されている複数個のホール素子の検出信号を利用している。このホール素子は、もともとブラシレスモータの回転方向に沿って複数個配設されており、モータのロータが回転されたときに各ホール素子における磁界が変化され、各ホール素子オン、オフ状態が変化されてロータの回転周期に対応した矩形波のパルス信号を出力し、この出力に基づいてブラシレスモータの回転動作を制御するために設けられたものである。   In such an AFS, a motor is provided as a drive source for the left and right swivel lamps, the rotation output of the motor is decelerated by a reduction gear train, and the rotation shaft that becomes the deflection center of the swivel lamp is rotated to deflect each swivel lamp. The deflection control is configured to set the irradiation direction of each swivel lamp to a predetermined direction by controlling the rotational position of the motor. In order to control the rotational position of the motor, the rotational position of the motor is detected by a motor rotational position sensor, the detected rotational position is compared with the target rotational position to be set, and the difference between the two is obtained. A configuration is adopted in which feedback control is performed in the motor drive circuit so as to be zero. Normally, when a brushless motor is used as a motor, detection signals of a plurality of Hall elements attached to the brushless motor are used to detect the rotational position of the brushless motor. A plurality of these Hall elements are originally arranged along the rotation direction of the brushless motor. When the rotor of the motor is rotated, the magnetic field in each Hall element is changed, and the ON / OFF state of each Hall element is changed. This is provided to output a rectangular wave pulse signal corresponding to the rotation cycle of the rotor and to control the rotation operation of the brushless motor based on this output.

図9はホール素子を利用した回転位置を制御する技術を説明するための図である。ここでは、図9(a)に模式的に示すように、ロータRはS極とN極とが180度の円周角で配置されており、その周囲に3個のホール素子H1,H2,H3が120度の円周角で配置されている。そのため、ロータRが回転して各ホール素子H1,H2,H3に対する磁界が変化すると、図9(b)のように、各ホール素子からは1/3周期で位相の異なる矩形波のパルス信号P1,P2,P3が出力される。そこで、各パルス信号P1,P2,P3を「1」,「0」とした3ビットのデジタル値としてこれをエンコードすることで、図9(c)のように「1H」〜「6H」の16進デジタル値に変換する。そして、これらのデジタル値をCCW方向に沿って配列すると、「5H」,「1H」,「3H」,「2H」,「6H」,「4H」の順序になる。そこで、図9(d)のように、モータを駆動制御するモータ駆動回路においては、これらの値に対応する状態をそれぞれ状態「J1」,「J2」,「J3」,「J4」,「J5」,「J6」に置き換え、この状態を検出してモータの回転方向と回転位置を検出している。すなわち、モータの回転位置は状態「J1」〜「J6」の値で判定し、モータの回転がCW方向あるいはその反対のCCW方向に正しく回転されているか否かは、状態「J1」〜「J6」がこの順序あるいはその反対の順序で検出されているか否かを検出することによって容易に判定することが可能になる。   FIG. 9 is a diagram for explaining a technique for controlling the rotational position using a Hall element. Here, as schematically shown in FIG. 9A, the rotor R has S and N poles arranged at a circumferential angle of 180 degrees, and three Hall elements H1, H2, H2 are arranged around the rotor R. H3 is arranged at a circumferential angle of 120 degrees. Therefore, when the rotor R rotates and the magnetic field applied to each of the Hall elements H1, H2, and H3 changes, as shown in FIG. 9B, the rectangular wave pulse signal P1 having a phase different from each other by 1/3 period from each Hall element. , P2, P3 are output. Therefore, by encoding each pulse signal P1, P2, P3 as a 3-bit digital value with “1” and “0”, 16 of “1H” to “6H” as shown in FIG. 9C. Convert to hexadecimal digital value. When these digital values are arranged along the CCW direction, the order is “5H”, “1H”, “3H”, “2H”, “6H”, “4H”. Therefore, as shown in FIG. 9D, in the motor drive circuit that controls the drive of the motor, the states corresponding to these values are the states “J1”, “J2”, “J3”, “J4”, “J5”, respectively. ”And“ J6 ”, and this state is detected to detect the rotational direction and rotational position of the motor. That is, the rotational position of the motor is determined by the values of the states “J1” to “J6”, and whether or not the motor is correctly rotated in the CW direction or the opposite CCW direction is determined in the states “J1” to “J6”. Can be easily determined by detecting whether or not "" is detected in this order or the reverse order.

このような回転方向の検出技術では、ホール素子の信号にノイズが重畳した場合には、得られる16進デジタル値に誤りが生じ、その結果状態「J1」〜「J6」にも誤りが生じる。例えば、図9(b)に鎖線で示すように、パルス信号P1の一部にノイズが重畳したときには、当該ノイズは図9(e)のように、16進デジタル値が「7H」となり、最終的に得られる状態が「J1」〜「J6」のいずれにも該当しない状態「JX」となる。あるいは、ノイズN2が重畳したときには、16進デジタル値が「6H」となり、最終的に得られる状態が「J5」になってしまう。その結果、これらの状態からはモータの回転方向及び回転位置を正確に検出することができなくなる。このような場合にはモータ駆動回路に異常が生じたと判定し、速やかにAFSによるモータ制御を停止し、スイブルランプを例えば直進方向に固定する等のフェイルセーフを実行する。そのため、瞬時的なノイズでは実際のAFSの動作に特に問題にはならないのにも関わらず、ノイズが生じるごとにフェイルセーフが実行されてAFSの正常な動作が損なわれてしまうという問題が生じる。   In such a rotation direction detection technique, when noise is superimposed on the Hall element signal, an error occurs in the obtained hexadecimal digital value, and as a result, errors also occur in the states “J1” to “J6”. For example, as shown by a chain line in FIG. 9B, when noise is superimposed on a part of the pulse signal P1, the noise has a hexadecimal digital value “7H” as shown in FIG. Thus, the state that can be obtained is the state “JX” that does not correspond to any of “J1” to “J6”. Alternatively, when the noise N2 is superimposed, the hexadecimal digital value becomes “6H”, and the finally obtained state becomes “J5”. As a result, the rotational direction and rotational position of the motor cannot be accurately detected from these states. In such a case, it is determined that an abnormality has occurred in the motor drive circuit, the motor control by the AFS is immediately stopped, and fail safe such as fixing the swivel lamp in a straight traveling direction is executed. Therefore, although there is no particular problem with the actual AFS operation with instantaneous noise, there is a problem that the normal operation of the AFS is impaired by fail fail being executed every time noise occurs.

本発明の目的は、ノイズの影響を無くしてモータの回転方向及び回転位置を正確に検出することを可能にしたモータ駆動手段を備える車両用照明装置を提供するものである。   An object of the present invention is to provide a vehicular illumination device including motor driving means that can accurately detect the rotation direction and rotation position of a motor without the influence of noise.

本発明は、車両に設けられた照明装置の照射光軸を偏向する光軸偏向手段を備える車両用照明装置において、光軸偏向手段の回転駆動源としての駆動モータと、駆動モータの回転位置を検出するための信号を出力する複数個の検出素子と、この検出素子により出力される信号に基づいて検出された回転位置に基づいて駆動モータの回転動作を制御するモータ制御手段とを備え、当該モータ制御手段は検出素子から順次出力される信号に基づいて生成される状態信号の隣接状態に基づいて異常を検出し、異常を検出したときに検出素子から出力される信号に基づいて次に生成される正常な状態信号に基づいて前記駆動モータの回転方向及び回転位置を演算する演算手段を備えることを特徴とする。 The present invention relates to a vehicle illumination device including an optical axis deflecting unit that deflects an irradiation optical axis of an illumination device provided in a vehicle, a drive motor as a rotational drive source of the optical axis deflection unit, and a rotational position of the drive motor. A plurality of detection elements for outputting a signal for detection, and motor control means for controlling the rotational operation of the drive motor based on the rotational position detected based on the signal output by the detection element, The motor control means detects an abnormality based on the adjacent state of the state signal generated based on the signal sequentially output from the detection element , and then generates based on the signal output from the detection element when the abnormality is detected. And a calculating means for calculating a rotation direction and a rotation position of the drive motor based on a normal state signal .

本発明によれば、演算手段においては、検出素子から順次出力される信号に基づいて生成される状態信号の隣接状態に基づいて異常を検出し、異常を検出したときに次に生成される正常な状態信号に基づいて前記駆動モータの回転方向及び回転位置を演算しているので、検出素子から出力される信号にノイズが重畳されてモータの回転位置や回転方向が正常に検出することができない場合でも、次の正常な状態信号に基づいてノイズが重畳された信号を補正し、モータの回転方向と回転位置を演算によって正確に求めることが可能になる。 According to the present invention, in the calculation means, an abnormality is detected based on the adjacent state of the state signal generated based on the signals sequentially output from the detection elements, and the normal generated next when the abnormality is detected. Since the rotation direction and rotation position of the drive motor are calculated based on the state signal, noise is superimposed on the signal output from the detection element , and the rotation position and rotation direction of the motor cannot be detected normally. Even in this case, it is possible to correct the signal on which the noise is superimposed based on the next normal state signal and to accurately obtain the rotation direction and rotation position of the motor by calculation.

本発明において、演算手段は、各検出素子からの信号をコード化して状態信号を生成し、これを順次格納する手段と、格納された状態信号の隣接状態を判定する手段と、判定した隣接状態からカウント値を増減する状態カウンタと、判定した隣接状態からエラー数をカウントするエラーカウンタと、判定した隣接状態とエラー数とに基づいて状態カウンタのカウント値を補正する補正回路とを備え、状態カウンタのカウント値に基づいて駆動モータを制御する信号を出力し、エラーカウンタのカウント値に基づいてエラー信号を出力するように構成することが好ましい。なお、請演算手段での補正は、駆動モータの±180°以内の回転内での補正を行うことが好ましい。また、駆動モータは3相ブラシレスモータであり、検出素子は当該3相に対応する3つの検出素子で構成することが好ましい。さらに、エラー信号を出力したときには駆動モータを所定の回転位置に固定するフェイルセーフを実行する信号を出力する構成とすることが好ましい。 In the present invention, the computing means encodes the signal from each detection element to generate a state signal, and sequentially stores the state signal, means for determining the adjacent state of the stored state signal, and the determined adjacent state A state counter that increases or decreases the count value from the error state, an error counter that counts the number of errors from the determined adjacent state, and a correction circuit that corrects the count value of the state counter based on the determined adjacent state and the number of errors. It is preferable that a signal for controlling the drive motor is output based on the count value of the counter, and an error signal is output based on the count value of the error counter. In addition, it is preferable to perform correction within the rotation of the drive motor within ± 180 ° for the correction by the contract calculation means. The drive motor is preferably a three-phase brushless motor, and the detection element is preferably composed of three detection elements corresponding to the three phases. Furthermore, it is preferable that when an error signal is output, a signal for executing a fail safe for fixing the drive motor at a predetermined rotational position is output.

次に、本発明の実施例を図面を参照して説明する。図2は図1で説明したAFSの構成要素のうち、照射方向を左右に偏向可能なスイブルランプの内部構造の縦断面図、図3はその主要部の部分分解斜視図である。灯具ボディ11の前部開口にはレンズ12が、後部開口には後カバー13がそれぞれ取着されて灯室14が形成されており、当該灯室14内にはプロジェクタランプ30が配設されている。前記プロジェクタランプ30はスリーブ301、リフレクタ302、レンズ303及び光源304が一体化されており、既に広く使用されているものであるので詳細な説明は省略するが、ここでは光源304には放電バルブを用いたものを使用している。前記プロジェクタランプ30は概ねコ字状をしたブラケット31に支持されている。また、前記灯具ボディ11内のプロジェクタランプ30の周囲にはレンズ12を通して内部が露呈しないようにエクステンション15が配設されている。さらに、この実施形態では、前記灯具ボディ11の底面開口に取着される下カバー16を利用してプロジェクタランプ30の放電バルブを点灯させるための点灯回路7が内装されている。   Next, embodiments of the present invention will be described with reference to the drawings. FIG. 2 is a longitudinal sectional view of the internal structure of the swivel lamp capable of deflecting the irradiation direction left and right among the components of the AFS described in FIG. 1, and FIG. 3 is a partially exploded perspective view of the main part thereof. A lens 12 is attached to the front opening of the lamp body 11, and a rear cover 13 is attached to the rear opening to form a lamp chamber 14. A projector lamp 30 is disposed in the lamp chamber 14. Yes. The projector lamp 30 includes a sleeve 301, a reflector 302, a lens 303, and a light source 304, which are already widely used. Therefore, a detailed description thereof will be omitted. I use what I used. The projector lamp 30 is supported by a bracket 31 having a generally U-shape. An extension 15 is disposed around the projector lamp 30 in the lamp body 11 so that the inside is not exposed through the lens 12. Further, in this embodiment, a lighting circuit 7 for lighting the discharge bulb of the projector lamp 30 using the lower cover 16 attached to the bottom opening of the lamp body 11 is provided.

前記プロジェクタランプ30は、前記ブラケット31の垂直板311からほぼ直角に曲げ形成された下板312と上板313との間に挟さまれた状態で支持されている。前記下板312の下側には後述するアクチュエータ4がネジ314により固定されており、当該アクチュエータ4の回転出力軸411は下板312に開口された軸穴315を通して上側に突出されている。ネジ314は下板312の下面に突出されたボス318にネジ止めされる。そして、前記プロジェクタランプ30の上面に設けられた軸部305が上板313に設けられた軸受316に嵌合され、プロジェクタランプ30の下面に設けられた連結部306が前記アクチュエータ4の回転出力軸411に嵌合して連結されており、これによりプロジェクタランプ30はブラケット31に対して左右方向に回動可能とされ、かつ後述するようにアクチュエータ4の動作によって回転出力軸411と一体に水平方向に回動動作されるようになっている。   The projector lamp 30 is supported in a state of being sandwiched between a lower plate 312 and an upper plate 313 that are bent at a right angle from the vertical plate 311 of the bracket 31. An actuator 4, which will be described later, is fixed to the lower side of the lower plate 312 with a screw 314, and the rotation output shaft 411 of the actuator 4 protrudes upward through a shaft hole 315 opened in the lower plate 312. The screw 314 is screwed to a boss 318 protruding from the lower surface of the lower plate 312. A shaft portion 305 provided on the upper surface of the projector lamp 30 is fitted into a bearing 316 provided on the upper plate 313, and a connecting portion 306 provided on the lower surface of the projector lamp 30 is a rotation output shaft of the actuator 4. Thus, the projector lamp 30 can be pivoted in the left-right direction with respect to the bracket 31, and the horizontal direction integrally with the rotation output shaft 411 by the operation of the actuator 4 as will be described later. It is designed to rotate.

ここで、前記ブラケット31は正面から見て左右の各上部にエイミングナット321,322が一体的に取着され、右側の下部にレベリング軸受323が一体的に取着されており、それぞれ灯具ボディ11に軸転可能に支持された水平エイミングスクリュ331、垂直エイミングスクリュ332が螺合され、レベリング機構5のレベリングボール51が嵌合される。そして、これら水平エイミングスクリュ331、垂直エイミングスクリュ332を軸転操作することでブラケット31を左右方向及び上下方向に回動することが可能となる。また、レベリング機構5によりレベリングポール51を軸方向に前後移動することで、ブラケット31を上下方向に回動することが可能となる。これにより、プロジェクタランプ30の光軸を左右方向及び上下方向に調整するためのエイミング調整、及び自動車の車高変化に伴うレベリング状態に対応してプロジェクタランプの光軸を上下方向に調整するレベリング調整が可能になる。なお、プロジェクタランプ30のリフレクタ302の下面には突起307が突出されており、またこれに対向するブラケット31の下板312には左右位置にそれぞれ一対のストッパ317が切り起こし形成されており、プロジェクタランプ30の回動に伴って突起307がいずれか一方のストッパ317に衝接することで、当該プロジェクタランプ30の回動範囲が規制されるようになっている。   Here, aiming nuts 321 and 322 are integrally attached to the left and right upper parts of the bracket 31 as viewed from the front, and leveling bearings 323 are integrally attached to the lower part of the right side. The horizontal aiming screw 331 and the vertical aiming screw 332, which are supported so as to be rotatable about the shaft, are screwed together, and the leveling ball 51 of the leveling mechanism 5 is fitted. By rotating the horizontal aiming screw 331 and the vertical aiming screw 332, the bracket 31 can be rotated in the left-right direction and the up-down direction. Further, the leveling pole 51 can be moved back and forth in the axial direction by the leveling mechanism 5, whereby the bracket 31 can be rotated in the vertical direction. Thereby, aiming adjustment for adjusting the optical axis of the projector lamp 30 in the horizontal direction and the vertical direction, and leveling adjustment for adjusting the optical axis of the projector lamp in the vertical direction in response to the leveling state accompanying the change in the vehicle height of the automobile. Is possible. A projection 307 projects from the lower surface of the reflector 302 of the projector lamp 30, and a pair of stoppers 317 are cut and raised at the left and right positions on the lower plate 312 of the bracket 31 facing the projection 307. As the lamp 30 rotates, the projection 307 comes into contact with one of the stoppers 317 so that the rotation range of the projector lamp 30 is restricted.

前記アクチュエータ4は、上下に分割される上ハーフと下ハーフとで構成される五角形に近いケース41を備えており、このケース41の両側面には支持片412,413が両側に向けて突出形成され、ケース41をブラケット31のボス318にネジ314により固定するために利用される。前記ケース41の上面にはスプライン構成をした回転出力軸411が突出されて前記プロジェクタランプ30の底面の連結部306に結合される。この回転出力軸411はアクチュエータ4内に内蔵されている後述するブラシレスモータ42によって所要の回転角範囲内で往復回転駆動されるものである。また、前記ケース41の背面には図には表れないコネクタが配設され、前記ECU2に接続された外部コネクタ21が嵌合されるようになっている。   The actuator 4 includes a case 41 that is close to a pentagon formed by an upper half and a lower half that are divided into upper and lower parts, and support pieces 412 and 413 are formed on both sides of the case 41 so as to protrude toward both sides. The case 41 is used to fix the case 41 to the boss 318 of the bracket 31 with a screw 314. A rotation output shaft 411 having a spline configuration protrudes from the upper surface of the case 41 and is coupled to the connecting portion 306 on the bottom surface of the projector lamp 30. The rotation output shaft 411 is reciprocatingly driven within a required rotation angle range by a brushless motor 42 described later built in the actuator 4. Further, a connector not shown in the drawing is disposed on the back surface of the case 41, and the external connector 21 connected to the ECU 2 is fitted therein.

図4は前記ECU2及びアクチュエータ4を含む照明装置の電気回路構成を示すブロック回路図である。なお、アクチュエータ4は自動車の左右のスイブルランプ3R,3Lに装備されたものであり、ECU2との間で双方向通信が可能とされている。前記ECU2内には前記ステアリングセンサ1A及び車速センサ1Bで検出された操舵角と車速とにより所定のアルゴリズムでの処理を行なって所要の制御信号C0を出力するメイン制御回路としてのメインCPU201と、当該メインCPU201と前記アクチュエータ4との間で前記制御信号C0を入出力するためのインターフェース(以下、I/Fと称する)回路202とを備えている。ここでは前記制御信号C0は、アクチュエータ4に対してスイブルランプ3R,3Lの光軸偏向角度を制御するための左右偏向角度信号である。   FIG. 4 is a block circuit diagram showing an electric circuit configuration of a lighting device including the ECU 2 and the actuator 4. The actuator 4 is mounted on the left and right swivel lamps 3R, 3L of the automobile, and is capable of bidirectional communication with the ECU 2. In the ECU 2, a main CPU 201 as a main control circuit that performs processing according to a predetermined algorithm based on the steering angle and vehicle speed detected by the steering sensor 1 </ b> A and the vehicle speed sensor 1 </ b> B and outputs a required control signal C <b> 0, An interface (hereinafter referred to as I / F) circuit 202 for inputting / outputting the control signal C0 between the main CPU 201 and the actuator 4 is provided. Here, the control signal C0 is a left / right deflection angle signal for controlling the optical axis deflection angle of the swivel lamps 3R, 3L with respect to the actuator 4.

また、自動車の左右の各スイブルランプ3R,3Lにそれぞれ設けられた前記アクチュエータ4内に内装されている制御回路43は、前記ECU2との間の信号を入出力するためのI/F回路432と、前記I/F回路432から入力される信号に基づいて所定のアルゴリズムでの処理を行うサブCPU431と、回転駆動手段として前記ブラシレスモータ42を回転駆動するためのモータドライブ回路433とを備えている。ここで、前記ECU2からは前記制御信号C0の一部としてスイブルランプ3R,3Lの左右偏向角度信号が出力され前記アクチュエータ4に入力される。また、前記スイブルランプ3R,3Lを点灯するための点灯回路7は前記メインCPU201により点灯制御される。   Further, a control circuit 43 built in the actuator 4 provided in each of the right and left swivel lamps 3R and 3L of the automobile has an I / F circuit 432 for inputting / outputting a signal to / from the ECU 2. , A sub CPU 431 that performs processing based on a predetermined algorithm based on a signal input from the I / F circuit 432, and a motor drive circuit 433 that rotationally drives the brushless motor 42 as a rotational driving means. . Here, the ECU 2 outputs the left and right deflection angle signals of the swivel lamps 3R and 3L as a part of the control signal C0 and inputs them to the actuator 4. The lighting circuit 7 for lighting the swivel lamps 3R and 3L is controlled to be turned on by the main CPU 201.

以上の構成のAFSによれば、自動車CARに配設されたステアリングセンサ1AからはステアリングホイールSWの回転角度、すなわち自動車の操舵角の信号と、車速センサ1Bからの自動車の車速の信号がそれぞれ検出されてECU2に入力される。ECU2は入力された検出出力に基づいてメインCPU201で演算を行い、自動車のスイブルランプ3R,3Lにおけるプロジェクタランプ30の左右偏向角度信号C0を算出し両スイブルランプ3R,3Lの各アクチュエータ4に入力する。アクチュエータ4では入力された左右偏向角度信号C0によりサブCPU431が演算を行い、当該左右偏向角度信号C0に対応した信号を算出してモータドライブ回路433に出力しモータ42を回転駆動する。モータ42の回転駆動力は減速されて回転出力軸411に伝達され、回転出力軸411に連結されているプロジェクタランプ30が水平方向に回動し、スイブルランプ3R,3Lの照射方向(光軸方向)が左右に偏向される。   According to the AFS configured as described above, the steering sensor 1A disposed in the car CAR detects the rotation angle of the steering wheel SW, that is, the car steering angle signal and the car speed signal from the car speed sensor 1B. And input to the ECU 2. The ECU 2 calculates the left and right deflection angle signals C0 of the projector lamp 30 in the swivel lamps 3R and 3L of the automobile based on the input detection output, and inputs them to the actuators 4 of the swivel lamps 3R and 3L. . In the actuator 4, the sub CPU 431 performs calculation based on the input left / right deflection angle signal C 0, calculates a signal corresponding to the left / right deflection angle signal C 0, outputs the signal to the motor drive circuit 433, and rotationally drives the motor 42. The rotational driving force of the motor 42 is decelerated and transmitted to the rotational output shaft 411, the projector lamp 30 connected to the rotational output shaft 411 rotates in the horizontal direction, and the irradiation direction (optical axis direction) of the swivel lamps 3R and 3L. ) Is deflected left and right.

前記ブラシレスモータ42は、図5に一部を破断した斜視図に示すように、アクチュエータ4のケース41内に立設された中空ボス414に図外のスラスト軸受及びスリーブ軸受によって回転シャフト423が軸転可能に支持されている。また、前記中空ボス414には円周方向に等配された3対のコイルを含むステータコイル424が固定的に支持されており、当該ステータコイル424は前記ケース41内に配設されたプリント基板45に電気接続されて給電されるようになっている。ここではステータコイル424はコアベース425と一体的に組み立てられており、このコアベース425に設けられたターミナル425aを利用して前記プリント基板45に対して電気接続する構成がとられている。そして、前記回転シャフト423の上端部には前記ステータコイル424を覆うように円筒容器状のロータ426が固定的に取着され、さらに上端には前記第1歯車441が一体的に取着されている。前記ロータ426は樹脂成形された円筒容器型のヨーク427と、このヨーク427の内周面に取着されて円周方向にS極、N極が交互に着磁された円環状のロータマグネット428とで構成されている。   As shown in the perspective view in which a part of the brushless motor 42 is broken in FIG. 5, a rotary shaft 423 is provided on a hollow boss 414 erected in the case 41 of the actuator 4 by a thrust bearing and a sleeve bearing outside the figure. It is supported so that it can roll. A stator coil 424 including three pairs of coils equally distributed in the circumferential direction is fixedly supported on the hollow boss 414, and the stator coil 424 is a printed circuit board disposed in the case 41. 45 is electrically connected to supply power. Here, the stator coil 424 is integrally assembled with the core base 425, and is configured to be electrically connected to the printed circuit board 45 using a terminal 425 a provided on the core base 425. A cylindrical container-like rotor 426 is fixedly attached to the upper end of the rotating shaft 423 so as to cover the stator coil 424, and the first gear 441 is integrally attached to the upper end. Yes. The rotor 426 includes a resin-molded cylindrical container type yoke 427 and an annular rotor magnet 428 attached to the inner peripheral surface of the yoke 427 and alternately magnetized with S and N poles in the circumferential direction. It consists of and.

さらに、前記プリント基板45には前記ロータ426の円周方向に沿って所要の間隔で並んだ複数個、ここでは3個のホール素子H1,H2,H3が配列支持されており、前記ロータ426と共にロータマグネット428が回転されたときに各ホール素子H1,H2,H3における磁界が変化され、各ホール素子H1,H2,H3のオン、オフ状態が変化されてロータ426の回転周期に対応した矩形波のパルス信号Pを出力するように構成されている。   Further, a plurality of, in this case, three Hall elements H1, H2, and H3, which are arranged at a predetermined interval along the circumferential direction of the rotor 426, are arrayed and supported on the printed circuit board 45, together with the rotor 426. When the rotor magnet 428 is rotated, the magnetic field in each of the hall elements H1, H2, and H3 is changed, and the on / off states of the hall elements H1, H2, and H3 are changed to change the rectangular wave corresponding to the rotation period of the rotor 426. The pulse signal P is output.

図6に前記ブラシレスモータ42及びモータドライブ回路433のブロック回路図を示すように、前記モータドライブ回路433には前記サブCPU431からモータの目標となる回転位置に対応したモータ回転制御信号R1が入力される。このモータドライブ回路433は、モータ回転制御部434とマトリクス回路435と出力回路436とを備えている。前記モータ回転制御部434は、前記3つのホール素子H1,H2,H3からのパルス信号P(P1,P2,P3)に基づいてブラシレスモータ42の回転方向と回転位置を検出し、その検出値に基づいて所要の制御信号D1をマトリクス回路435に出力する。マトリクス回路435は前記モータ回転制御信号R1と前記制御信号D1に基づいてモータ駆動制御信号C1を出力する。出力回路436はこのモータ駆動制御信号C1に基づいて前記ブラシレスモータ42の前記ステータコイル424の3つのコイルに対して位相の異なるU,V,Wの交流を供給し、これにより前記ロータマグネット428との間の磁力方向を変化させ、前記ロータ426及び回転シャフト423を回転駆動させる。   As shown in a block circuit diagram of the brushless motor 42 and the motor drive circuit 433 in FIG. 6, the motor drive circuit 433 receives a motor rotation control signal R1 corresponding to the target rotation position of the motor from the sub CPU 431. The The motor drive circuit 433 includes a motor rotation control unit 434, a matrix circuit 435, and an output circuit 436. The motor rotation control unit 434 detects the rotation direction and the rotation position of the brushless motor 42 based on the pulse signals P (P1, P2, P3) from the three hall elements H1, H2, and H3, and uses the detected value as a detection value. Based on this, a required control signal D1 is output to the matrix circuit 435. The matrix circuit 435 outputs a motor drive control signal C1 based on the motor rotation control signal R1 and the control signal D1. The output circuit 436 supplies U, V, and W alternating currents having different phases to the three coils of the stator coil 424 of the brushless motor 42 based on the motor drive control signal C1, and thereby the rotor magnet 428 and The rotor 426 and the rotating shaft 423 are rotated.

前記モータ回転制御部434は、図7に示すように、前記パルス信号P1,P2,P3を検出して「1H」〜「6H」の16進デジタル値を演算するエンコーダ4341と、前記エンコーダの出力を状態「J1」〜「J6」に変換する状態検出部4342と、この状態検出部から出力される状態「J1」〜「J6」に基づいてブラシレスモータ42の回転方向と回転位置を演算して前記制御信号D1を出力する回転演算部4343とを備えている。本実施例ではこの回転演算部4343はモータ回転制御部434を構成するICの一部として構成されているが、前記サブCPU431の一部を利用して構成することも可能である。   As shown in FIG. 7, the motor rotation control unit 434 detects the pulse signals P1, P2, and P3 and calculates a hexadecimal digital value of “1H” to “6H”, and an output of the encoder Is converted to states "J1" to "J6", and the rotational direction and rotational position of the brushless motor 42 are calculated based on the states "J1" to "J6" output from the state detection unit. A rotation calculation unit 4343 for outputting the control signal D1. In this embodiment, the rotation calculation unit 4343 is configured as a part of an IC constituting the motor rotation control unit 434. However, the rotation calculation unit 4343 may be configured using a part of the sub CPU 431.

前記エンコーダ4341は、図9(b)に示したように、各ホール素子H1,H2,H3から出力されるパルス信号P1,P2,P3のそれぞれの立ち上がり、立ち下りエッジで各パルス信号のレベルを「1」,「0」とした3ビットのデジタル値としてこれをエンコードすることで、「1H」〜「6H」の16進デジタル値に変換する。なお、パルス信号の立ち上がり及び立ち下がりエッジが検出されないモータの回転停止時合には、予め設定した時間(例えば、10ms)毎に各パルス信号のレベルを検出してエンコードを実行する。前記状態検出部4342は、図10(c)に示したように、エンコーダ4341からのデジタル値をCW方向に沿って配列した値「5H」,「1H」,「3H」,「2H」,「6H」,「4H」をそれぞれ状態「J1」,「J2」,「J3」,「J4」,「J5」,「J6」に変換して出力する。   As shown in FIG. 9B, the encoder 4341 sets the level of each pulse signal at the rising and falling edges of the pulse signals P1, P2, and P3 output from the Hall elements H1, H2, and H3. By encoding this as a 3-bit digital value of “1” and “0”, it is converted into a hexadecimal digital value of “1H” to “6H”. Note that, when the rotation of the motor is stopped when the rising and falling edges of the pulse signal are not detected, the level of each pulse signal is detected every preset time (for example, 10 ms) and encoding is executed. As shown in FIG. 10 (c), the state detection unit 4342 has values “5H”, “1H”, “3H”, “2H”, “2H” obtained by arranging digital values from the encoder 4341 along the CW direction. “6H” and “4H” are converted to the states “J1”, “J2”, “J3”, “J4”, “J5”, and “J6”, respectively, and output.

前記回転演算部4343は、図7を再度参照すると、エンコーダにおいてパルス信号P1〜P3に基づいてタイミング信号を出力するタイミング信号発生器4344と、このタイミング信号発生器4344で発生されるタイミング信号に同期して状態検出部4342からの状態信号「J1」〜「J6」を順次格納するシフトレジスタ4345と、シフトレジスタ4345に格納された状態信号のうち隣接する状態信号を比較する隣接判定器4346と、隣接判定器4346での比較結果に基づいてカウント値を増減する状態カウンタ4347と、隣接判定器4346の比較結果に基づいて前記状態カウンタ4347のカウント値を補正する補正回路4348と、隣接判定器4346の比較結果に基づいてエラー数をカウントするエラーカウンタ4349とを備えている。そして、前記状態カウンタ4347から前記制御信号D1を出力し、前記エラーカウンタ4349から後述するエラー信号E1を出力するようになっている。   Referring to FIG. 7 again, the rotation calculation unit 4343 is synchronized with a timing signal generator 4344 that outputs a timing signal based on the pulse signals P1 to P3 in the encoder, and a timing signal generated by the timing signal generator 4344. Then, a shift register 4345 that sequentially stores the state signals “J1” to “J6” from the state detection unit 4342, an adjacent determination unit 4346 that compares adjacent state signals among the state signals stored in the shift register 4345, A state counter 4347 for increasing / decreasing the count value based on the comparison result of the adjacent determination unit 4346, a correction circuit 4348 for correcting the count value of the state counter 4347 based on the comparison result of the adjacent determination unit 4346, and the adjacent determination unit 4346 Error count that counts the number of errors based on comparison results And a 4349. Then, the control signal D1 is output from the state counter 4347, and an error signal E1 described later is output from the error counter 4349.

前記回転演算部4343の動作を、図8のフローチャートに基づいて説明する。先ず、エンコーダ4341ではパルス信号P1〜P3が入力されると16進デジタル値を生成し、状態検出部4342ではこの16進デジタル値を状態信号「J1」〜「J6」に変換する。回転演算部4343では、パルス信号P1〜P3に基づいてタイミング信号発生器4344からタイミング信号を発生し、このタイミング信号に同期して状態検出部4342から順次出力されてくる状態信号をシフトレジスタ4345に格納する(S101)。次いで、隣接判定器4346はシフトレジスタ4345に格納された状態信号のうち隣接する状態信号を取り込む(S102)。そして、この比較した状態信号が「J1」〜「J6」の順序、あるいはこの逆の順次で並んで隣接されているか否かを判定する(S103)。順序通りに並んでいる場合には、その順序に基づいて回転方向を判定し、CW方向の場合には状態カウンタ4347に「+1」を出力し、CCW方向の場合には状態カウンタ4347に「−1」を出力する(S104)。これにより、状態カウンタ4347のカウント値が「1」だけ増加、あるいは減少されるため、このカウント値がモータの回転位置を示すカウント値となり、前述のようにマトリクス回路435に制御信号D1として出力される。   The operation of the rotation calculation unit 4343 will be described based on the flowchart of FIG. First, the encoder 4341 generates a hexadecimal digital value when the pulse signals P1 to P3 are input, and the state detection unit 4342 converts the hexadecimal digital value into state signals “J1” to “J6”. The rotation calculation unit 4343 generates a timing signal from the timing signal generator 4344 based on the pulse signals P1 to P3, and the state signal sequentially output from the state detection unit 4342 to the shift register 4345 in synchronization with the timing signal. Store (S101). Next, the adjacency determination device 4346 takes in the adjacent state signal among the state signals stored in the shift register 4345 (S102). Then, it is determined whether or not the compared status signals are adjacent in the order of “J1” to “J6” or the reverse order (S103). If they are arranged in order, the rotational direction is determined based on the order, and “+1” is output to the state counter 4347 in the CW direction, and “−” is output to the state counter 4347 in the CCW direction. 1 "is output (S104). As a result, the count value of the state counter 4347 is incremented or decremented by “1”, so this count value becomes a count value indicating the rotational position of the motor and is output to the matrix circuit 435 as the control signal D1 as described above. The

一方、隣接判定器4346でのステップS103において隣接する状態信号が正しい順序に並んでいないことが判定されたときには、状態カウンタ4347のカウント値をそのままのカウント値に保持し(S105)、その上でエラーカウンタ4349のカウント値を「1」にする(S106)。そして、隣接判定器4346はシフトレジスタ4345に次に格納されている状態信号を取込み(S107)、取り込んだ次に隣接する状態信号を比較する(S108)。この比較において隣接する状態信号が順序通りに並んでいる場合には、その順序に基づいて回転方向を判定する。また、これと同時に補正処理を行う(S109)。この補正処理S109では、補正回路4348はエラーカウンタ4349のカウント値「1」を読み出し、CW方向の場合には「+1」にエラーカウンタ4349のカウント値「1」を加えて「+2」を状態カウンタ4347に出力し、CCW方向の場合には「−1」にエラーカウンタ4349のカウント値「1」だけ減算して状態カウンタ4347に「−2」を出力する。したがって、図9(b)に示したようにノイズが重畳して状態信号に異常が生じた場合でも、その次のノイズが重畳されていない状態信号により回転方向と回転位置を補正し、正しい制御信号D1を出力することが可能になる。その後はステップS105以降のフローを実行する。   On the other hand, when it is determined in step S103 by the adjacency determination device 4346 that the adjacent state signals are not arranged in the correct order, the count value of the state counter 4347 is held as it is (S105). The count value of the error counter 4349 is set to “1” (S106). Then, the adjacency determination device 4346 fetches the next status signal stored in the shift register 4345 (S107), and compares the fetched next adjacent status signal (S108). In this comparison, when adjacent state signals are arranged in order, the rotation direction is determined based on the order. At the same time, correction processing is performed (S109). In this correction processing S109, the correction circuit 4348 reads the count value “1” of the error counter 4349, and in the case of the CW direction, adds the count value “1” of the error counter 4349 to “+1” and adds “+2” to the status counter. In the CCW direction, the count value “1” of the error counter 4349 is subtracted from “−1” and “−2” is output to the state counter 4347. Therefore, as shown in FIG. 9B, even when noise is superimposed and abnormality occurs in the state signal, the rotation direction and the rotation position are corrected by the state signal in which the next noise is not superimposed, and correct control is performed. It becomes possible to output the signal D1. After that, the flow after step S105 is executed.

他方、ステップS108においても隣接する状態信号が順序通りに並んでいないと判定されたときには補正不可能処理を行う(S110)。この補正不可能処理は、状態カウンタ4347のカウント値をそのままのカウント値に保持したまま、エラーカウンタ4349のカウント値を「+1」して「2」に増加する。そして、エラーカウンタ4349のカウント値を所定値「a」と比較し、「a」よりも小さい場合には再びステップS105以降のフローを実行する(S111)。すなわち、隣接判定器4346はシフトレジスタ4345において更に次に格納された状態信号について隣接する状態信号を比較することになる。この比較において隣接する状態信号が順序通りに並んでいる場合には、その順序に基づいて回転方向を判定する。また、これと同時に補正回路4348はエラーカウンタ4349のカウント値「2」を読み出し、CW方向の場合には「+1」にエラーカウンタ4349のカウント値「2」を加えて「+3」を状態カウンタ4347に出力し、CCW方向の場合には「−1」にエラーカウンタ4349のカウント値「2」を減算して状態カウンタ4347に「−3」を出力する。したがって、2つの状態信号に異常が生じた場合でも、さらにその次のノイズが重畳されていない状態信号により回転方向と回転位置を補正し、正しい制御信号D1を出力することが可能になる。   On the other hand, when it is determined in step S108 that adjacent state signals are not arranged in order, the uncorrectable process is performed (S110). In this uncorrectable processing, the count value of the error counter 4349 is incremented by “+1” and increased to “2” while the count value of the state counter 4347 is held as it is. Then, the count value of the error counter 4349 is compared with a predetermined value “a”, and if it is smaller than “a”, the flow after step S105 is executed again (S111). That is, the adjacent determination unit 4346 compares adjacent state signals with respect to the state signal stored next in the shift register 4345. In this comparison, when adjacent state signals are arranged in order, the rotation direction is determined based on the order. At the same time, the correction circuit 4348 reads the count value “2” of the error counter 4349. In the case of the CW direction, the count value “2” of the error counter 4349 is added to “+1” and “+3” is added to the status counter 4347. In the CCW direction, the count value “2” of the error counter 4349 is subtracted from “−1” and “−3” is output to the state counter 4347. Therefore, even when an abnormality occurs in the two status signals, it is possible to correct the rotational direction and the rotational position with the status signal in which the next noise is not superimposed and output the correct control signal D1.

このようにして状態信号「J1」〜「J6」を順次比較し、状態信号に異常が生じた場合でも隣接する状態信号が正しく並んでいる状態を検出することで、回転方向と回転位置を補正することが可能になる。ただし、本実施例では6個の状態信号「J1」〜「J6」であるため、異常信号が3つ以上続いて生じた場合、あるいは1つ置きに3回生じた場合には、隣接する状態信号の並び方向を判定することができなくなり、補正回路4348での補正ができなくなる。すなわち、前記演算手段での補正は、ブラシレスモータ42の±180°以内の回転内での補正を行うことになる。   In this way, the state signals “J1” to “J6” are sequentially compared, and even when an abnormality occurs in the state signal, the state in which adjacent state signals are correctly aligned is detected, thereby correcting the rotation direction and the rotation position. It becomes possible to do. However, since there are six status signals “J1” to “J6” in the present embodiment, when three or more abnormal signals are generated continuously, or when every other signal is generated three times, the adjacent status signals The signal alignment direction cannot be determined, and correction by the correction circuit 4348 cannot be performed. That is, the correction by the calculation means is performed within the rotation of the brushless motor 42 within ± 180 °.

したがって、回転方向を正確に判定することができず、かつ回転位置を正確に判定することができなくなる。そこで、本実施例ではエラーカウンタ4349のカウント値が所定数「a」以上、ここではカウント値が「3」をカウントしたときにはエラーカウンタ4349からエラー信号E1を出力し、このエラー信号E1に基づいてサブCPU431においてフェイルセーフを実行する。このフェイルセーフでは、例えばスイブルランプの光軸を自動車の直進方向に固定する位置にブラシレスモータ42の回転位置を固定する制御を行う。   Therefore, the rotational direction cannot be accurately determined, and the rotational position cannot be accurately determined. Therefore, in this embodiment, when the count value of the error counter 4349 is equal to or larger than the predetermined number “a”, here, the count value is “3”, the error signal E1 is output from the error counter 4349, and based on the error signal E1. The sub CPU 431 executes fail safe. In this fail safe, for example, control is performed to fix the rotational position of the brushless motor 42 at a position where the optical axis of the swivel lamp is fixed in the straight direction of the automobile.

以上のように本実施例では、ノイズが限られた範囲で重畳されている場合には、迅速に補正を行って回転方向や回転位置を判定し、正常な動作が確保される。これにより、瞬時的なノイズによってフェイルセーフが実行され、AFSの正常な動作が損なわれてしまうという問題が解消できる。   As described above, in this embodiment, when noise is superimposed in a limited range, the correction is performed quickly to determine the rotation direction and the rotation position, and normal operation is ensured. As a result, the problem that the fail safe is executed by instantaneous noise and the normal operation of the AFS is impaired can be solved.

なお、前記実施例では、AFSをスイブルランプを構成しているプロジェクタランプを左右方向に偏向して照射光軸を変化させる前照灯に適用した例を示したが、本発明は、リフレクタのみを偏向動作させる構成、あるいは主リフレクタと独立して設けた補助リフレクタを偏向動作させることで実質的な照射範囲を変化させるようにした前照灯に適用してもよい。   In the above embodiment, the AFS is applied to a headlamp that changes the irradiation optical axis by deflecting the projector lamp constituting the swivel lamp in the left-right direction. You may apply to the headlamp which changed the substantial irradiation range by carrying out the deflection | deviation operation of the structure which carries out a deflection | deviation operation | movement, or the auxiliary reflector provided independently of the main reflector.

AFSの概念構成を示す図である。It is a figure which shows the conceptual structure of AFS. スイブルランプの縦断面図である。It is a longitudinal cross-sectional view of a swivel lamp. スイブルランプの内部構造の主要部の分解斜視図である。It is a disassembled perspective view of the principal part of the internal structure of a swivel lamp. AFSの回路構成を示すブロック回路図である。It is a block circuit diagram which shows the circuit structure of AFS. ブラシレスモータの一部を破断した分解斜視図である。It is the disassembled perspective view which fractured | ruptured a part of brushless motor. ブラシレスモータ、モータドライブ回路のブロック回路図である。It is a block circuit diagram of a brushless motor and a motor drive circuit. モータドライブ回路の内部構成を示すブロック回路図である。It is a block circuit diagram which shows the internal structure of a motor drive circuit. 本発明の回転演算部の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the rotation calculating part of this invention. パルス信号から得られる16進デジタル値と状態を説明するための図である。It is a figure for demonstrating the hexadecimal digital value and state which are obtained from a pulse signal.

符号の説明Explanation of symbols

1A ステアリングセンサ
1B 車速センサ
2 ECU
3 前照灯
3R 右スイブルランプ
3L 左スイブルランプ
4 アクチュエータ
30 プロジェクタランプ
42 スイブルモータ
43 制御回路
201 メインCPU
431 サブCPU
433 モータドライブ回路
434 モータ回転制御部
435 マトリクス回路
436 出力回路
4341 エンコーダ
4342 状態検出部
4343 回転演算部
H1,H2,H3 ホール素子

1A Steering sensor 1B Vehicle speed sensor 2 ECU
3 Headlamp 3R Right swivel lamp 3L Left swivel lamp 4 Actuator 30 Projector lamp 42 Swivel motor 43 Control circuit 201 Main CPU
431 Sub CPU
433 Motor drive circuit 434 Motor rotation control unit 435 Matrix circuit 436 Output circuit 4341 Encoder 4342 State detection unit 4343 Rotation calculation unit H1, H2, H3 Hall element

Claims (5)

車両に設けられた照明装置の照射光軸を偏向する光軸偏向手段を備える車両用照明装置において、前記光軸偏向手段の回転駆動源としての駆動モータと、前記駆動モータの回転位置を検出するための信号を出力する複数個の検出素子と、前記検出素子により出力される信号に基づいて検出された回転位置に基づいて前記駆動モータの回転動作を制御するモータ制御手段とを備え、前記モータ制御手段は、前記検出素子から順次出力される信号に基づいて生成される状態信号の隣接状態に基づいて異常を検出し、異常を検出したときに前記検出素子から出力される信号に基づいて次に生成される正常な状態信号に基づいて前記駆動モータの回転方向及び回転位置を演算する演算手段を備えることを特徴とする車両用照明装置。 In a vehicle illumination device including an optical axis deflection unit that deflects an irradiation optical axis of an illumination device provided in a vehicle, a drive motor as a rotational drive source of the optical axis deflection unit and a rotational position of the drive motor are detected A plurality of detection elements for outputting a signal for the control, and motor control means for controlling the rotational operation of the drive motor based on a rotational position detected based on the signal output by the detection element, the motor The control means detects an abnormality based on an adjacent state of a state signal generated based on a signal sequentially output from the detection element, and performs the next operation based on a signal output from the detection element when the abnormality is detected. A vehicle lighting device, comprising: a calculation means for calculating a rotation direction and a rotation position of the drive motor based on a normal state signal generated by the vehicle. 前記演算手段は、前記各検出素子からの信号をコード化して状態信号を生成し、これを順次格納する手段と、格納された状態信号の隣接状態を判定する手段と、判定した隣接状態からカウント値を増減する状態カウンタと、判定した隣接状態からエラー数をカウントするエラーカウンタと、判定した隣接状態と前記エラー数とに基づいて状態カウンタのカウント値を補正する補正回路とを備え、前記状態カウンタのカウント値に基づいて前記駆動モータを制御する信号を出力し、前記エラーカウンタのカウント値に基づいてエラー信号を出力するように構成したことを特徴とする請求項1に記載の車両用照明装置。The arithmetic means encodes signals from the detection elements to generate state signals, sequentially stores the state signals, means for determining adjacent states of the stored state signals, and counting from the determined adjacent states A state counter that increases or decreases a value, an error counter that counts the number of errors from the determined adjacent state, and a correction circuit that corrects the count value of the state counter based on the determined adjacent state and the number of errors. 2. The vehicular illumination according to claim 1, wherein a signal for controlling the drive motor is output based on a count value of a counter, and an error signal is output based on a count value of the error counter. apparatus. 前記演算手段での補正は、前記駆動モータの±180°以内の回転内での補正を行うことを特徴とする請求項2に記載の車両用照明装置。   The vehicle lighting device according to claim 2, wherein the correction by the calculation means is performed within a rotation of ± 180 ° of the drive motor. 前記駆動モータは3相ブラシレスモータであり、前記検出素子は各相に対応した3つの検出素子で構成されることを特徴とする請求項2または3に記載の車両用照明装置。4. The vehicular lighting device according to claim 2, wherein the drive motor is a three-phase brushless motor, and the detection element includes three detection elements corresponding to each phase. 前記エラー信号を出力したときには前記駆動モータを所定の回転位置に固定するフェイルセーフを実行する手段を備えることを特徴とする請求項2ないし4のいずれかに記載の車両用照明装置。 5. The vehicular illumination device according to claim 2, further comprising: a fail-safe unit that fixes the drive motor at a predetermined rotational position when the error signal is output.
JP2004139411A 2004-05-10 2004-05-10 Vehicle lighting device Expired - Fee Related JP4255408B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004139411A JP4255408B2 (en) 2004-05-10 2004-05-10 Vehicle lighting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004139411A JP4255408B2 (en) 2004-05-10 2004-05-10 Vehicle lighting device

Publications (2)

Publication Number Publication Date
JP2005319885A JP2005319885A (en) 2005-11-17
JP4255408B2 true JP4255408B2 (en) 2009-04-15

Family

ID=35467476

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004139411A Expired - Fee Related JP4255408B2 (en) 2004-05-10 2004-05-10 Vehicle lighting device

Country Status (1)

Country Link
JP (1) JP4255408B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019054091A1 (en) * 2017-09-14 2019-03-21 日本電産株式会社 Motor driving device, motor, electric power steering device, motor driving method and storage medium
WO2019054089A1 (en) * 2017-09-14 2019-03-21 日本電産株式会社 Motor drive device, motor, and electric power steering device

Also Published As

Publication number Publication date
JP2005319885A (en) 2005-11-17

Similar Documents

Publication Publication Date Title
JP3996038B2 (en) Vehicle headlamp device
US7036964B2 (en) Vehicle headlamp apparatus and method of setting optical axis position thereof
JP4087201B2 (en) Optical axis position setting method for vehicle headlamp device
US6623147B2 (en) Vehicle lighting apparatus
US6761473B2 (en) Vehicle lighting apparatus
US6634773B2 (en) Vehicle lighting apparatus
JP2003260980A (en) Lighting system for vehicle
US7057504B2 (en) Vehicle headlamp apparatus
US6726349B2 (en) Vehicle lighting apparatus
US7121706B2 (en) Vehicle headlamp unit
JP4255408B2 (en) Vehicle lighting device
US6652110B2 (en) Vehicle lighting apparatus
JP2004098851A (en) Vehicle front-lighting system
JP4255370B2 (en) Vehicle lighting device
JP4350586B2 (en) Vehicle lighting device
JP2004222463A (en) Brushless motor
JP4255369B2 (en) Vehicle lighting device
JP4130353B2 (en) Vehicle headlamp device
JP4451720B2 (en) Motorcycle headlamp device
JP2004222464A (en) Brushless motor
WO2020067274A1 (en) Motor
WO2020067276A1 (en) Motor and method for manufacturing motor
JP4333562B2 (en) Vehicle headlamp device
JP2004034769A (en) Vehicle headlamp system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070327

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080522

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080703

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080825

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090127

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090127

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120206

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4255408

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130206

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140206

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees