Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5117070B2 - Photoelectric flasher - Google Patents
[go: Go Back, main page]

JP5117070B2 - Photoelectric flasher - Google Patents

Photoelectric flasher Download PDF

Info

Publication number
JP5117070B2
JP5117070B2 JP2007045705A JP2007045705A JP5117070B2 JP 5117070 B2 JP5117070 B2 JP 5117070B2 JP 2007045705 A JP2007045705 A JP 2007045705A JP 2007045705 A JP2007045705 A JP 2007045705A JP 5117070 B2 JP5117070 B2 JP 5117070B2
Authority
JP
Japan
Prior art keywords
illuminance
load
control signal
turn
operating
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
JP2007045705A
Other languages
Japanese (ja)
Other versions
JP2008211473A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2007045705A priority Critical patent/JP5117070B2/en
Publication of JP2008211473A publication Critical patent/JP2008211473A/en
Application granted granted Critical
Publication of JP5117070B2 publication Critical patent/JP5117070B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)
  • Switches Operated By Changes In Physical Conditions (AREA)
  • Electronic Switches (AREA)

Description

本発明は、EEスイッチやフォトスイッチなどの所謂光電式自動点滅器に関するものである。   The present invention relates to a so-called photoelectric flasher such as an EE switch or a photo switch.

従来、外光に応じて自動的に点灯/消灯する自己制御照明装置が防犯灯や街路灯などとして用いられている。このような自己制御照明装置は、照明負荷と、この照明負荷を点灯・消灯させる自動点滅器とから構成されている。自動点滅器は、周囲の明るさ(周囲照度)を検出し、周囲照度が所定の点灯照度よりも低下したときに外部電源(交流電源)から照明負荷への給電路を閉成して照明負荷を点灯し、周囲照度が所定の消灯照度よりも上昇すると外部電源から照明負荷への給電を停止して照明負荷を消灯させる。   Conventionally, self-control lighting devices that automatically turn on / off in response to outside light have been used as security lights, street lights, and the like. Such a self-control lighting device includes an illumination load and an automatic flasher that turns on and off the illumination load. The automatic flasher detects the ambient brightness (ambient illuminance) and closes the power supply path from the external power supply (AC power supply) to the illumination load when the ambient illuminance falls below the specified lighting illuminance. Is turned on, and when the ambient illuminance rises above a predetermined extinction illuminance, power supply from the external power source to the illumination load is stopped and the illumination load is turned off.

このような自動点滅器における点灯照度/消灯照度は、図8に示すように、JIS規格にて定められている。図9は、JIS1形に対応する自動点滅器の回路図である。この自動点滅器の電源回路ブロック101は、交流電源から生成した直流電源を制御回路ブロック102及び負荷制御回路ブロック103に供給する。制御回路ブロック102は、外光による照度変化を光センサ104にて検出した検出信号を負荷制御回路ブロック103に出力する。負荷制御回路ブロック103は、検出信号に基づいてトランジスタ105をオンオフ制御する。このトランジスタ105のオフ/オンによってリレー106のコイル106aを非通電/通電とする。この結果、リレー106の接点106bがオン/オフし、負荷Lが点灯/消灯する。   Illumination illuminance / extinction illuminance in such an automatic blinker is defined by JIS standards as shown in FIG. FIG. 9 is a circuit diagram of an automatic flasher corresponding to the JIS1 type. The power circuit block 101 of the automatic flasher supplies a DC power generated from the AC power to the control circuit block 102 and the load control circuit block 103. The control circuit block 102 outputs to the load control circuit block 103 a detection signal obtained by detecting the change in illuminance due to external light by the optical sensor 104. The load control circuit block 103 performs on / off control of the transistor 105 based on the detection signal. By turning off / on the transistor 105, the coil 106a of the relay 106 is turned off / on. As a result, the contact 106b of the relay 106 is turned on / off, and the load L is turned on / off.

図10は、JIS3形に対応する自動点滅器の回路図である。この自動点滅器は、上記検出信号に基づいて負荷制御回路ブロック103aのトライアック(3端子双方向サイリスタ)TRをオンオフし、負荷Lに対する交流電源の供給/停止を制御する。尚、トライアックを用いた自動点滅器は、例えば特許文献1,特許文献2に開示されている。
特開平11−214976号公報 特許第3533921号公報
FIG. 10 is a circuit diagram of an automatic flasher corresponding to the JIS3 type. The automatic flasher turns on / off a TRIAC (3-terminal bidirectional thyristor) TR of the load control circuit block 103a based on the detection signal, and controls supply / stop of AC power to the load L. An automatic flasher using a triac is disclosed in, for example, Patent Document 1 and Patent Document 2.
JP 11-214976 A Japanese Patent No. 3533921

ところが、図10の自動点滅器に用いられるトライアックTRは、流れる電流に応じて発熱する。このトライアックTRの発熱は、他の電子素子を損傷する虞がある。このため、放熱板などのように、放熱を考慮する必要があるが、大きな放熱板は、自動点滅器全体の大きさを大きくしてしまう。このため、定格電流の大きい器具やマイクロコンピュータ等の使用温度上限の低い電子部品を使用する場合には適さない。   However, the triac TR used in the automatic flasher of FIG. 10 generates heat according to the flowing current. The heat generated by the triac TR may damage other electronic elements. For this reason, although it is necessary to consider heat dissipation like a heat sink etc., a big heat sink will enlarge the magnitude | size of the whole automatic flasher. For this reason, it is not suitable when using an electronic component with a low upper limit of operating temperature, such as a device having a large rated current or a microcomputer.

一方、図9に示す自動点滅器は、発熱の少ないリレー106を用いることにより、小型の機器でも比較的大きな電流を流すことができ、マイクロコンピュータ等の使用温度上限が低い電子部品を使用する場合に適している。しかしながら、接点106bを制御するためのコイル106aに流れる電流量が多いため、待機時の消費電流が大きくなるという問題がある。また、負荷Lが点灯する瞬間の過渡的な突入電流等のように、短時間に流れる大きな電流に対して接点106bは一般的に弱く、接点106bの溶着等が発生し易いという問題がある。このため、この自動点滅器の定格は、突入電流により制限される。例えば、リレー自体に定常電流10A(アンペア)の開閉性能があっても、300W(ワット)の白熱灯の点灯時に流れる突入電流によって、自動点滅器の定格が3A(100V)となってしまう。   On the other hand, the automatic blinker shown in FIG. 9 can use a relay 106 that generates less heat, and can flow a relatively large current even in a small device, and uses an electronic component with a low upper operating temperature, such as a microcomputer. Suitable for However, since the amount of current flowing through the coil 106a for controlling the contact 106b is large, there is a problem that current consumption during standby increases. Further, there is a problem that the contact 106b is generally weak against a large current flowing in a short time, such as a transient inrush current at the moment when the load L is lit, and the contact 106b is likely to be welded. For this reason, the rating of this automatic flasher is limited by the inrush current. For example, even if the relay itself has an opening / closing performance of a steady current of 10 A (amperes), the rating of the automatic flasher becomes 3 A (100 V) due to the inrush current that flows when an incandescent lamp of 300 W (watts) is turned on.

図9の自動点滅器における待機時の消費電流を改善するため、例えば、図11に示すように、電源回路ブロック101aにNPNトランジスタ108を用いることが考えられる。この電源回路ブロック101aは、トランジスタ108のエミッタに接続された制御回路ブロック102及び負荷制御回路ブロック103の消費電流に応じて、トランジスタ108のコレクタ−エミッタ間に電圧降下を発生させてインピーダンス調整を行う。これにより、待機時の消費電流を低減することができる。しかし、この電源回路ブロック101aは、トランジスタ108のコレクタ−エミッタ間の電圧降下に、トランジスタ108のエミッタに接続された回路の消費電流を乗じた値の損失が、このトランジスタ108において発生する。このため、トランジスタ108には、許容損失の大きなパワートランジスタを用いなければならない。また、このトランジスタ108の温度上昇は、図10に示すトライアックTRと同様に、他の電子素子を損傷する虞がある。   In order to improve the standby current consumption in the automatic flasher of FIG. 9, for example, as shown in FIG. 11, it is conceivable to use an NPN transistor 108 in the power supply circuit block 101a. The power supply circuit block 101 a performs impedance adjustment by generating a voltage drop between the collector and emitter of the transistor 108 in accordance with the current consumption of the control circuit block 102 and the load control circuit block 103 connected to the emitter of the transistor 108. . Thereby, current consumption during standby can be reduced. However, in the power supply circuit block 101a, a loss of a value obtained by multiplying the voltage drop between the collector and emitter of the transistor 108 by the current consumption of the circuit connected to the emitter of the transistor 108 occurs in the transistor 108. Therefore, a power transistor with a large allowable loss must be used as the transistor 108. Further, the increase in temperature of the transistor 108 may damage other electronic elements as in the triac TR shown in FIG.

従って、従来の自動点滅器は、定格電流や点灯照度/消灯照度等に応じてそれぞれ個別に設計及び製造される。種類毎の設計や製造は、設計時間の長期化、設計コストの上昇、製造コストの上昇、電子部品や製品の管理コストの上昇を招く。   Therefore, the conventional automatic flasher is individually designed and manufactured according to the rated current, lighting illuminance / extinction illuminance, and the like. Design and manufacture for each type leads to longer design time, higher design costs, higher manufacturing costs, and higher management costs for electronic components and products.

本発明は上記問題点を解決するためになされたものであって、その目的は、複数の種類に対応が可能な光電式自動点滅器を提供することにある。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a photoelectric automatic flasher capable of dealing with a plurality of types.

上記目的を達成するため、請求項1に記載の発明は、周囲照度を検出する照度検出手段と、複数の動作照度を記憶し、設定手段により前記複数の動作照度のうちの1つを選択し、該選択した動作照度と前記検出した周囲照度とを比較し、該比較結果に基づいて負荷を制御すべく制御信号を生成する制御手段と、前記負荷と外部電源とともに直列回路を構成し、前記制御信号に基づいてオンオフするスイッチ素子を備えた負荷制御手段と、を備えたことを特徴とする。   In order to achieve the above-mentioned object, the invention according to claim 1 stores an illuminance detection means for detecting ambient illuminance and a plurality of operating illuminances, and selects one of the plurality of operating illuminances by a setting means. A control means for comparing the selected operating illuminance with the detected ambient illuminance and generating a control signal to control the load based on the comparison result; and configuring a series circuit together with the load and an external power source, Load control means including a switching element that is turned on and off based on a control signal.

この構成によれば、複数の動作照度のそれぞれに対応する形式に光電式自動点滅器を対応させることができる。従って、複数の形式毎に光電式自動点滅器を用意する必要が無いため、製造工程が1つになり、また生産管理や回路ブロックでの在庫管理が容易になる。   According to this configuration, the photoelectric automatic blinker can be made to correspond to a format corresponding to each of the plurality of operating illuminances. Accordingly, it is not necessary to prepare a photoelectric automatic flasher for each of a plurality of formats, so that the number of manufacturing processes becomes one, and production management and inventory management in circuit blocks are facilitated.

また、請求項に記載の発明は、前記設定手段は、前記制御手段に設けられた複数の端子に対して選択的に接続される抵抗素子であり、前記制御手段は、前記複数の端子に対する前記抵抗素子の接続の有無に基づいて前記複数の動作照度のうちの1つを選択する、ことを特徴とする。 In the invention, the front Symbol setting means of claim 1 is a resistance element that is selectively connected to a plurality of terminals arranged on said control means, said plurality of terminals One of the plurality of operating illuminances is selected based on the presence or absence of connection of the resistance element with respect to.

この構成によれば、複数の端子に対する設定用の抵抗の実装/未実装により形式が判断される。従って、抵抗の実装により、容易に形式の設定が可能であり、かつ、抵抗の実装を変更することにより、形式の変更を容易に行うことができる。   According to this configuration, the format is determined by mounting / not mounting the setting resistors for the plurality of terminals. Therefore, it is possible to easily set the format by mounting the resistor, and it is possible to easily change the format by changing the mounting of the resistor.

また、請求項に記載の発明は、前記制御手段は、前記選択した動作照度に応じた複数の状態を遷移し、該遷移した状態に応じて前記制御信号を生成する、ことを特徴とする。 Further, an invention according to claim 1, before Symbol control means transitions the plurality of states corresponding to the selected operation intensity, and generates the control signal in response to the state transferred該遷, and characterized in that To do.

この構成によれば、判断した形式に対応する複数の状態を遷移する。そして、遷移した状態において、制御信号を出力するため、遷移状態に応じた制御信号を確実に出力することができる。   According to this configuration, a plurality of states corresponding to the determined format are transitioned. Since the control signal is output in the transitioned state, the control signal corresponding to the transition state can be reliably output.

また、請求項に記載の発明は、前記動作照度は、前記負荷を点灯する点灯照度と、前記負荷を消灯する消灯照度とから構成され、前記制御手段は、消灯照度が点灯照度よりも高く設定された第1の動作照度と、消灯照度が点灯照度以下に設定された第2の動作照度と、消灯照度及び点灯照度のうちの少なくとも一方が前記第1の動作照度の消灯照度及び点灯照度と異なる値に設定された第3の動作照度と、を記憶し、遷移する状態に応じて、選択された動作照度の消灯照度又は点灯照度と前記周囲照度とを比較して前記制御信号を生成する、ことを特徴とする。 Further, the invention according to claim 1, before Symbol operation illuminance, the lighting illuminance lights the load, is composed of extinguished illumination extinguished the load, said control means turns off illumination than lights illumination At least one of the first operating illuminance set to a high level, the second operating illuminance set at a turn-off illuminance equal to or lower than the lighting illuminance, and the turn-off illuminance and the turn-on illuminance is the turn-off illuminance and turn-on of the first operating illuminance The third operation illuminance set to a value different from the illuminance is stored, and the control signal is compared with the ambient illuminance with the extinction illuminance or the illumination illuminance of the selected operation illuminance depending on the transition state. It is characterized by generating.

この構成によれば、各形式の動作照度としてそれぞれ点灯照度と消灯照度が記憶されており、各形式の点灯照度又は消灯照度と、周囲照度とを比較して制御信号を生成することで、各形式に応じて設定された点灯照度と消灯照度にて負荷を制御することができる。   According to this configuration, the illumination illuminance and the extinction illuminance are stored as the operating illuminance of each type, and the control signal is generated by comparing the illumination illuminance or extinction illuminance of each format with the ambient illuminance. The load can be controlled by the illumination illuminance and the illumination illuminance set according to the format.

また、請求項に記載の発明は、前記制御手段は、前記第2の動作照度の消灯照度及び点灯照度に対して、前記点灯照度よりも高い値に設定された第1のリセット照度と、前記消灯照度よりも低い値に設定された第2のリセット照度と、を記憶し、前記第2の動作照度が選択された場合には、前記点灯照度、前記消灯照度、前記第1のリセット照度及び前記第2のリセット照度のそれぞれと前記周囲照度とを比較する状態を有し、各状態における比較結果に基づいて他の状態に遷移するとともに、前記消灯照度前記周囲照度を比較する状態と、前記点灯照度と前記周囲照度とを比較する状態とにおいて、それぞれの比較結果に基づいて前記制御信号を生成する、ことを特徴とする。 Further, the invention according to claim 1, before Symbol control means, with respect to off illumination and lighting illuminance of the second operation illuminance, a first reset illuminance is set higher than the lighting illuminance And a second reset illuminance set to a value lower than the extinction illuminance, and when the second operating illuminance is selected, the illumination illuminance, the extinction illuminance, and the first reset illuminance are stored. A state in which each of the illuminance and the second reset illuminance and the ambient illuminance are compared, and a transition is made to another state based on a comparison result in each state, and the unilluminated illuminance and the ambient illuminance are compared. The control signal is generated based on each comparison result in a state in which the lighting illuminance is compared with the ambient illuminance.

第2の動作照度は、消灯照度が点灯照度以下に設定されている。この設定では、生理的に対応する。つまり、生理的に、暗くなる変化に対する順応に時間がかかる夕刻は早く点灯し、明るくなる変化に対する順応に時間がかからない朝は早く消灯しても問題はなく、早朝は、低い照度でも明るく感じて見え方もよいからである。しかし、上記点灯照度及び消灯照度のみの設定では、照明負荷を上記のように点灯/消灯させることができない。この点、上記の構成によれば、第1リセット照度と第2リセット照度とを設定することにより、外部の照度が一旦消灯照度よりも暗くなった後に消灯照度を越えたときに負荷を消灯させることと、外部の照度が一旦点灯照度よりも明るくなった後に点灯照度より低くなったときに負荷を点灯させることを確実に行うことができる。   The second operating illuminance is set so that the extinction illuminance is less than or equal to the lighting illuminance. This setting responds physiologically. In other words, there is no problem in turning off early in the morning when it takes time to adapt to changes that become dark physiologically, and turning off early in the morning when it does not take time to adapt to changes that brighten. This is because it looks good. However, the illumination load cannot be turned on / off as described above by setting only the illumination illuminance and the illumination illuminance. In this regard, according to the above configuration, by setting the first reset illuminance and the second reset illuminance, the load is turned off when the external illuminance once becomes darker than the extinction illuminance and exceeds the extinction illuminance. In addition, when the external illuminance once becomes brighter than the lighting illuminance and then becomes lower than the lighting illuminance, the load can be reliably turned on.

本発明によれば、複数の種類に対応が可能な光電式自動点滅器を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the photoelectric type automatic flasher which can respond | correspond to several types can be provided.

(第1の実施の形態)
以下、本発明を具体化した第1の実施の形態を図1〜図5に従って説明する。
図1(a)に示すように、自動点滅器10のケース11は、下方が開口した箱状のボディ12と、上方が開口しボディ12の開口を閉塞する箱状のカバー13とで構成されており、このケース11内には、図2に示す回路を構成する電子部品が搭載されたプリント基板14が収容されている。プリント基板14は固定ねじ(図示せず)によってボディ12に固定され、カバー13は、L字状に形成された取付金具15(図1(b)参照)に組立ねじ16を螺入することによってボディ12と結合されている。そして、この取付金具15により、自動点滅器10が家屋等に取り付けられる。図1(b)に示すように、カバー13の前面には、該カバー13に形成された窓孔(図示略)を覆い外光をケース11内に導入する採光板17が取着されている。そして、自動点滅器10を電源及び負荷に接続するための複数の口出線18がケース11から延出されている。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to FIGS.
As shown in FIG. 1A, the case 11 of the automatic flasher 10 is composed of a box-shaped body 12 that is open at the bottom and a box-shaped cover 13 that is open at the top and closes the opening of the body 12. The case 11 accommodates a printed circuit board 14 on which electronic components constituting the circuit shown in FIG. 2 are mounted. The printed circuit board 14 is fixed to the body 12 by a fixing screw (not shown), and the cover 13 is formed by screwing an assembly screw 16 into a mounting bracket 15 (see FIG. 1B) formed in an L shape. Combined with the body 12. Then, the automatic flasher 10 is attached to a house or the like by the mounting bracket 15. As shown in FIG. 1B, a lighting plate 17 that covers a window hole (not shown) formed in the cover 13 and introduces external light into the case 11 is attached to the front surface of the cover 13. . A plurality of lead wires 18 for connecting the automatic flasher 10 to a power source and a load are extended from the case 11.

図2は、自動点滅器10の電気的構成を示す回路図である。
電源回路ブロック21の端子X1,X2は、交流電源ACの両端に接続されている。両端子X1はコンデンサC1と抵抗R1からなる直列回路を介してダイオードブリッジよりなる整流器DBの第1入力端子に接続され、整流器DBの第2入力端子は端子X2に接続されている。整流器DBは、交流電源ACから供給される交流電圧を全波整流した直流電圧VSを第1電源部22及び第2電源部23に出力する。
FIG. 2 is a circuit diagram showing an electrical configuration of the automatic flasher 10.
Terminals X1 and X2 of the power supply circuit block 21 are connected to both ends of the AC power supply AC. Both terminals X1 are connected to a first input terminal of a rectifier DB formed of a diode bridge via a series circuit including a capacitor C1 and a resistor R1, and a second input terminal of the rectifier DB is connected to a terminal X2. The rectifier DB outputs to the first power supply unit 22 and the second power supply unit 23 a DC voltage VS obtained by full-wave rectification of the AC voltage supplied from the AC power supply AC.

直流電圧VSは、第1電源部22の抵抗R2を介してNPNトランジスタT1のコレクタに供給される。トランジスタT1のコレクタ−ベース間には抵抗R3が接続され、トランジスタT1のベースにはツェナーダイオードZD1のカソードが接続され、そのツェナーダイオードZD1のアノードはグランドに接続されている。トランジスタT1のエミッタには平滑用のコンデンサC2と、ダイオードD1のカソードが接続されている。更に、トランジスタT1のエミッタは制御回路ブロック31に接続されている。   The DC voltage VS is supplied to the collector of the NPN transistor T1 through the resistor R2 of the first power supply unit 22. A resistor R3 is connected between the collector and base of the transistor T1, the cathode of the Zener diode ZD1 is connected to the base of the transistor T1, and the anode of the Zener diode ZD1 is connected to the ground. A smoothing capacitor C2 and a cathode of a diode D1 are connected to the emitter of the transistor T1. Further, the emitter of the transistor T1 is connected to the control circuit block 31.

この第1電源部22は、ツェナーダイオードZD1のツェナー電圧に対応した電圧であって、コンデンサC2により平滑化された直流の第1駆動電圧VCを生成し、その第1駆動電圧VCを制御回路ブロック31に供給する。また、この第1電源部22は、トランジスタT1のエミッタに接続された制御回路ブロック31の消費電流に応じて、トランジスタT1のコレクタ−エミッタ間に電圧降下を持たせてインピーダンス調整を行うことにより、消費電流の低減化が行われている。制御回路ブロック31は、後述するように、マイクロコンピュータ32と光センサ33を主な電子部品として構成されているため、第1電源部22から供給する第1駆動電圧VCにて動作する回路における消費電流が、従来例(図11参照)に比べて少ない。従って、この第1電源部22における損失は、従来例に比べて少ない。   The first power supply unit 22 generates a first DC drive voltage VC which is a voltage corresponding to the Zener voltage of the Zener diode ZD1 and is smoothed by the capacitor C2, and uses the first drive voltage VC as a control circuit block. 31. In addition, the first power supply unit 22 performs impedance adjustment by providing a voltage drop between the collector and the emitter of the transistor T1 in accordance with the current consumption of the control circuit block 31 connected to the emitter of the transistor T1. Current consumption is reduced. As will be described later, the control circuit block 31 is composed of a microcomputer 32 and an optical sensor 33 as main electronic components. Therefore, the control circuit block 31 is consumed in a circuit that operates at the first drive voltage VC supplied from the first power supply unit 22. The current is small compared to the conventional example (see FIG. 11). Therefore, the loss in the first power supply unit 22 is smaller than that in the conventional example.

上記直流電圧VSは、第2電源部23の抵抗R4を介してPNPトランジスタT2のエミッタに供給される。トランジスタT2のベースは抵抗R5を介してNPNトランジスタT3のコレクタに接続され、そのトランジスタT3のエミッタはグランドに接続されている。上記トランジスタT2のコレクタはツェナーダイオードZD2のカソードに接続され、そのツェナーダイオードZD2のアノードはグランドに接続されている。また、上記トランジスタT2のコレクタは平滑用のコンデンサC3に接続されるとともに、上記ダイオードD1のアノードに接続されている。   The DC voltage VS is supplied to the emitter of the PNP transistor T2 through the resistor R4 of the second power supply unit 23. The base of the transistor T2 is connected to the collector of the NPN transistor T3 via the resistor R5, and the emitter of the transistor T3 is connected to the ground. The collector of the transistor T2 is connected to the cathode of the Zener diode ZD2, and the anode of the Zener diode ZD2 is connected to the ground. The collector of the transistor T2 is connected to the smoothing capacitor C3 and to the anode of the diode D1.

上記トランジスタT3のベースには抵抗R6を介して制御回路ブロック31から制御信号SC1が入力される。従って、この第2電源部23は、制御信号SC1によりトランジスタT3がオンしている間、そのトランジスタT3に抵抗R5を介してベースが接続されたトランジスタT2が、ツェナーダイオードZD2のアノードにおける電圧に対して入力される直流電圧VSによりスイッチングする。この構成により、第2電源部23は、ツェナーダイオードZD2のツェナー電圧に対応する電圧であり、コンデンサC3により平滑化された直流の第2駆動電圧VRを生成する。この第2駆動電圧VRは、負荷制御回路ブロック41に供給される。   A control signal SC1 is input to the base of the transistor T3 from the control circuit block 31 via the resistor R6. Therefore, in the second power supply unit 23, while the transistor T3 is turned on by the control signal SC1, the transistor T2 whose base is connected to the transistor T3 via the resistor R5 is connected to the voltage at the anode of the Zener diode ZD2. Are switched by the DC voltage VS input. With this configuration, the second power supply unit 23 generates a second DC driving voltage VR that is a voltage corresponding to the Zener voltage of the Zener diode ZD2 and is smoothed by the capacitor C3. The second drive voltage VR is supplied to the load control circuit block 41.

第2電源部23の抵抗R5は、オンしたトランジスタT3を介してトランジスタT2に十分なベース電流が流れるように定数設定されている。従って、トランジスタT2におけるコレクタ−エミッタ間の電圧降下が少なく、損失が少ない。   The resistor R5 of the second power supply unit 23 is set to a constant so that a sufficient base current flows through the transistor T2 via the transistor T3 that is turned on. Therefore, the voltage drop between the collector and the emitter in the transistor T2 is small and the loss is small.

尚、第1電源部22のトランジスタT1は、生成した第1駆動電圧VCを供給する制御回路ブロック31の消費電流に応じてオフする場合がある。この場合、第2電源部23のコンデンサC3にアノードが接続されたダイオードD1を介して第2電源部23の第2駆動電圧VRが制御回路ブロック31に供給されるため、制御回路ブロック31の動作を継続させることができる。   The transistor T1 of the first power supply unit 22 may be turned off according to the current consumption of the control circuit block 31 that supplies the generated first drive voltage VC. In this case, since the second drive voltage VR of the second power supply unit 23 is supplied to the control circuit block 31 via the diode D1 whose anode is connected to the capacitor C3 of the second power supply unit 23, the operation of the control circuit block 31 Can be continued.

制御回路ブロック31のマイクロコンピュータ(以下、MCU)32には、第1電源部22により生成された第1駆動電圧VC、又は第2電源部23により生成された第2駆動電圧VRが駆動電圧VDとして供給される。MCU32の入力端子PI1,PI2は抵抗R11,R12によりプルアップされている。また、MCU32の入力端子PI3は駆動電圧VDが供給される光センサ33に接続されている。その光センサ33には並列に抵抗R13が接続されるとともに、光センサ33と抵抗R13との接続点が抵抗R14を介してグランドに接続されている。光センサ33は、光を電気信号に変化するフォトダイオードやフォトトランジスタなどからなり、入射光量に応じた電流が流れる。従って、光センサ33及び抵抗R13と抵抗R14との接続点の電位が入射光量に応じて変化する。MCU32は、入力端子PI3から入力される電圧をA/D変換し、その変換後の値を光センサ33における入射光量とする。   The microcomputer (hereinafter MCU) 32 of the control circuit block 31 receives the first drive voltage VC generated by the first power supply unit 22 or the second drive voltage VR generated by the second power supply unit 23 as the drive voltage VD. Supplied as The input terminals PI1 and PI2 of the MCU 32 are pulled up by resistors R11 and R12. Further, the input terminal PI3 of the MCU 32 is connected to the optical sensor 33 to which the drive voltage VD is supplied. A resistor R13 is connected in parallel to the optical sensor 33, and a connection point between the optical sensor 33 and the resistor R13 is connected to the ground via the resistor R14. The optical sensor 33 includes a photodiode, a phototransistor, or the like that changes light into an electrical signal, and a current corresponding to the amount of incident light flows. Accordingly, the potential of the connection point between the optical sensor 33 and the resistors R13 and R14 changes according to the amount of incident light. The MCU 32 performs A / D conversion on the voltage input from the input terminal PI 3, and uses the converted value as the incident light amount in the optical sensor 33.

MCU32の不揮発性メモリ32aには、図8に示す各形式に対応する動作制御プログラム及び動作照度設定値が記憶されている。MCU32は、その制御プログラムを実行し、入射光量と動作照度設定値とに基づいて、第2電源部23を制御するための制御信号SC1を出力端子PO1から出力とともに、負荷制御回路ブロック41を制御するための制御信号SC2を出力端子PO2から出力する。その制御信号SC1は第2電源部23の抵抗R6を介してトランジスタT3のベースに供給される。制御信号SC2は、負荷制御回路ブロック41の抵抗R21を介してNPNトランジスタT11のベースに供給される。   The nonvolatile memory 32a of the MCU 32 stores an operation control program and an operation illuminance setting value corresponding to each format shown in FIG. The MCU 32 executes the control program and controls the load control circuit block 41 together with the output of the control signal SC1 for controlling the second power supply unit 23 from the output terminal PO1 based on the incident light amount and the operating illuminance setting value. A control signal SC2 is output from the output terminal PO2. The control signal SC1 is supplied to the base of the transistor T3 via the resistor R6 of the second power supply unit 23. The control signal SC2 is supplied to the base of the NPN transistor T11 via the resistor R21 of the load control circuit block 41.

トランジスタT11のコレクタはリレー42のコイル42aに接続され、トランジスタT11のエミッタはグランドに接続されている。リレー42のコイル42aには第2駆動電圧VRが供給されている。リレー42の接点42bは端子X2,X3間に接続されている。端子X3と上記端子X1との間には照明負荷のような負荷Lが接続されている。上記したように、端子X1,X2間には交流電源ACが接続されている。従って、リレー42の接点42bは交流電源ACと負荷Lとの間に接続されており、その接点42bが閉路(オン)すると負荷Lに交流電源ACから電流が供給され、接点42bが開路(オフ)すると負荷Lに対する電流の供給が停止される。   The collector of the transistor T11 is connected to the coil 42a of the relay 42, and the emitter of the transistor T11 is connected to the ground. A second drive voltage VR is supplied to the coil 42 a of the relay 42. A contact 42b of the relay 42 is connected between the terminals X2 and X3. A load L such as an illumination load is connected between the terminal X3 and the terminal X1. As described above, the AC power supply AC is connected between the terminals X1 and X2. Therefore, the contact 42b of the relay 42 is connected between the AC power supply AC and the load L. When the contact 42b is closed (turned on), current is supplied to the load L from the AC power supply AC, and the contact 42b is opened (turned off). Then, the supply of current to the load L is stopped.

次に、MCU32の動作を説明する。
図2には、MCU32の端子PI1,PI2に対して抵抗素子としての設定用の抵抗R1x,R2xを接続した(実装した)状態で示しているが、両抵抗R1x,R2xは、この自動点滅器10の動作形式(タイプ)に応じて選択的に接続される。自動点滅器10の動作形式は、従来技術で述べたように、図8に示すように、JIS規格により設定されている。抵抗R1x,R2xの実装/未実装に対する動作形式の一例を図3(a)に示す。図3(a)において、「○」は抵抗の実装を示し、「×」は抵抗の未実装を示す。例えば、本実施形態の自動点滅器10の動作形式を「1形」に設定する場合、両抵抗R1x,R2xを未実装とする。
Next, the operation of the MCU 32 will be described.
FIG. 2 shows a state in which setting resistors R1x and R2x as resistance elements are connected (mounted) to terminals PI1 and PI2 of MCU 32. Both resistors R1x and R2x are connected to the automatic flashing device. It is selectively connected according to 10 operation types (types). As described in the prior art, the operation format of the automatic flasher 10 is set according to the JIS standard as shown in FIG. An example of an operation format for mounting / not mounting the resistors R1x and R2x is shown in FIG. In FIG. 3A, “◯” indicates that the resistor is mounted, and “X” indicates that the resistor is not mounted. For example, when the operation format of the automatic flasher 10 of this embodiment is set to “1 type”, both resistors R1x and R2x are not mounted.

MCU32の端子PI1,PI2は、それぞれ抵抗R11,R12によりプルアップされている。一例として、両抵抗R1x,R2xが未実装の場合、MCU32はHレベルの端子電位を検出する。従って、MCU32は、両端子PI1,PI2の電位に基づいて、動作タイプを1形と判断する。他の例として、抵抗R11に比べて小さな値の抵抗R1xを端子PI1に接続する。MCU32は、設定用の抵抗R1xが接続された端子PI1においてLレベルの端子電位を検出するとともに、抵抗が接続されていない端子PI2においてHレベルの端子電位を検出する。従って、MCU32は、両端子PI1,PI2の電位に基づいて、動作タイプ(形式)を2形と判断する。   The terminals PI1 and PI2 of the MCU 32 are pulled up by resistors R11 and R12, respectively. As an example, when both the resistors R1x and R2x are not mounted, the MCU 32 detects the terminal potential at the H level. Therefore, the MCU 32 determines that the operation type is 1 type based on the potentials of both terminals PI1 and PI2. As another example, a resistor R1x having a value smaller than that of the resistor R11 is connected to the terminal PI1. The MCU 32 detects an L-level terminal potential at the terminal PI1 to which the setting resistor R1x is connected, and detects an H-level terminal potential at the terminal PI2 to which no resistor is connected. Accordingly, the MCU 32 determines that the operation type (form) is of type 2 based on the potentials of both terminals PI1 and PI2.

尚、設定用の抵抗R1x,R2xに替えて、ジャンパ線により両端子PI1,PI2をグランドに接続してもよい。この場合、設定用の抵抗R1x,R1xに比べて端子PI1,PI2とグランド間の抵抗値が小さいため、抵抗R1x,R2xを接続した場合に比べて消費電流が増加する。従って、設定用の抵抗R1x,R2xを用いることで、消費電流の増加を抑えることができる。   Instead of the setting resistors R1x and R2x, both terminals PI1 and PI2 may be connected to the ground by jumper wires. In this case, since the resistance values between the terminals PI1, PI2 and the ground are smaller than the setting resistors R1x, R1x, the current consumption increases as compared with the case where the resistors R1x, R2x are connected. Therefore, an increase in current consumption can be suppressed by using the setting resistors R1x and R2x.

上記したように、MCU32のメモリ32aには、図3(b)に示すように、各形式に対応する動作照度設定値と、各形式に対応する状態遷移の種別が記憶されている。MCU32は、判断した動作タイプ(形式)に対応する動作照度設定及び状態遷移の種別をメモリ32aから読み出す。動作照度設定は点灯照度及び消灯照度からなる。メモリ32aには、動作タイプの「1形」及び「3形」に対して種別「B」が記憶され、動作タイプの「2形」に対して種別「A」が記憶されている。一例として、MCU32は、その時の動作タイプを「1形」と判断した場合、その形式に対応する動作照度設定として点灯照度「50lx(ルクス)」及び消灯照度「125lx」を読み出すとともに、状態遷移の種別「B」を読み出す。   As described above, the memory 32a of the MCU 32 stores the operating illuminance setting value corresponding to each format and the type of state transition corresponding to each format, as shown in FIG. The MCU 32 reads the operation illuminance setting and the type of state transition corresponding to the determined operation type (form) from the memory 32a. The operating illuminance setting includes a lighting illuminance and a lighting illuminance. In the memory 32a, the type “B” is stored for the operation types “1 type” and “3 type”, and the type “A” is stored for the operation type “2 type”. As an example, when the MCU 32 determines that the operation type at that time is “1 type”, the MCU 32 reads the illumination illuminance “50 lx (lux)” and the illumination illuminance “125 lx” as the operation illuminance setting corresponding to the format, and the state transition The type “B” is read out.

図4(a)は種別「A」の状態遷移の説明図、(b)は種別「B」の状態遷移の説明図である。これら状態遷移は、メモリ32aに記憶された動作プログラムに従って行われる。つまり、MCU32は、動作プログラムを実行し、その時々の照度と、動作照度との比較結果に基づいて動作状態を遷移させる。図2に示す光センサ33が接続された端子PI3における電圧Vin(ana)は、光センサ33に入射される光の量、即ちその時々の周囲照度に対応する。メモリ32aには、動作照度設定(点灯照度及び消灯照度)に対応する電圧値(点灯電圧及び消灯電圧)が記憶されている。   4A is an explanatory diagram of the state transition of the type “A”, and FIG. 4B is an explanatory diagram of the state transition of the type “B”. These state transitions are performed according to an operation program stored in the memory 32a. That is, the MCU 32 executes the operation program and changes the operation state based on the comparison result between the illuminance at that time and the illuminance. The voltage Vin (ana) at the terminal PI3 to which the photosensor 33 shown in FIG. 2 is connected corresponds to the amount of light incident on the photosensor 33, that is, the ambient illuminance at that time. The memory 32a stores voltage values (lighting voltage and light extinction voltage) corresponding to operating illuminance settings (lighting illuminance and light extinction illuminance).

また、メモリ32aには、所定の第1リセット照度及び第2リセット照度にそれぞれ対応する第1リセット電圧RESET_H 及び第2リセット電圧RESET_L が記憶されている。第1リセット電圧RESET_H は、2形における点灯電圧よりも高い電圧に設定され、第2リセット電圧RESET_L は2形における消灯電圧よりも低い電圧に設定されている。これは、2形の自動点滅器に対して設定された点灯照度及び消灯照度により設定されている。JIS規格では、図8に示すように、2形における点灯照度は「50〜100lx」に設定され、消灯照度は「点灯照度の1倍以下」と設定されている。つまり、照明負荷Lを点灯するときの照度以下で消灯するように設定されている。これは、生理的に、暗くなる変化に対する順応に時間がかかる夕刻は早く点灯し、明るくなる変化に対する順応に時間がかからない朝は早く消灯しても問題はなく、早朝は、低い照度でも明るく感じて見え方もよいからである。しかし、上記点灯照度及び消灯照度の設定では、照明負荷Lを点滅させてしまう。このため、外部の照度が一旦消灯照度よりも暗くなった後に消灯照度を越えたときに照明負荷Lを消灯させ、外部の照度が一旦点灯照度よりも明るくなった後に点灯照度より低くなったときに照明負荷Lを点灯させるようにするため、上記第1リセット電圧RESET_H 及び第2リセット電圧RESET_L を設定している。これらの設定により、暗いときに照明負荷Lを点灯状態に維持し、明るいときに照明負荷Lを消灯状態に維持するようにしている。   The memory 32a stores a first reset voltage RESET_H and a second reset voltage RESET_L corresponding to predetermined first reset illuminance and second reset illuminance, respectively. The first reset voltage RESET_H is set to a voltage higher than the lighting voltage in type 2, and the second reset voltage RESET_L is set to a voltage lower than the extinguishing voltage in type 2. This is set by the lighting illuminance and the extinction illuminance set for the type 2 automatic flasher. In the JIS standard, as shown in FIG. 8, the lighting illuminance in the type 2 is set to “50 to 100 lx”, and the lighting illuminance is set to “1 times or less of the lighting illuminance”. That is, the illumination load L is set to be turned off when the illumination intensity is less than or equal to the illuminance. Physiologically, it turns on early in the evening when it takes time to adapt to the darkening change, and there is no problem even if it turns off early in the morning when it does not take time to adapt to the brightening change. This is because it looks good. However, the lighting load L is blinked in the setting of the illumination illuminance and the illumination illuminance. For this reason, the illumination load L is turned off when the external illuminance is once darker than the illumination illuminance and then exceeds the illumination illuminance, and the external illumination is once lower than the illumination illuminance after becoming brighter than the illumination illuminance. The first reset voltage RESET_H and the second reset voltage RESET_L are set to turn on the illumination load L. With these settings, the illumination load L is maintained in the lit state when it is dark, and the illumination load L is maintained in the unlit state when it is bright.

次に、MCU32の状態遷移と負荷Lの制御を説明する。
図5には、各形式において、照度変化(電圧Vin(ana)の変化)に対する点灯/消灯のタイミングを示す。
Next, state transition of the MCU 32 and control of the load L will be described.
FIG. 5 shows lighting / extinguishing timing with respect to illuminance change (change in voltage Vin (ana)) in each format.

MCU32は、種別Aを読み出した場合、つまり形式が「2形」に設定されている場合、図4(a)に示すように、その動作状態を遷移させる。詳述すると、ステップ51において、MCU32は消灯状態(第1消灯状態)にある。この状態は、第1リセット電圧RESET_H を越えていない(未通過)の状態でもある。このとき、MCU32はLレベルの第1制御信号SC1及び第2制御信号SC2を出力する、つまり図2に示す第2電源部23のトランジスタT3と負荷制御回路ブロック41のトランジスタT11をオフに制御する。第2電源部23は、トランジスタT3がオフしたことにより、トランジスタT2が動作せず、第2駆動電圧VRを生成しない。そして、第2駆動電圧VRが生成されず、トランジスタT11がオフすることにより、リレー42の接点42bは開路(オフ)する。従って、負荷Lには交流電源ACから電流が供給されないため、負荷Lは消灯している。   When the type A is read out, that is, when the format is set to “2 type”, the MCU 32 changes its operation state as shown in FIG. More specifically, in step 51, the MCU 32 is in a light-off state (first light-off state). This state is also a state where the first reset voltage RESET_H is not exceeded (not passed). At this time, the MCU 32 outputs the L-level first control signal SC1 and the second control signal SC2, that is, controls the transistor T3 of the second power supply unit 23 and the transistor T11 of the load control circuit block 41 shown in FIG. . Since the transistor T3 is turned off, the second power supply unit 23 does not operate the transistor T2, and does not generate the second drive voltage VR. Then, the second drive voltage VR is not generated, and the transistor T11 is turned off, whereby the contact 42b of the relay 42 is opened (turned off). Accordingly, since no current is supplied to the load L from the AC power supply AC, the load L is turned off.

次に、ステップ51において、MCU32は、検出した電圧Vin(ana)が第1リセット電圧RESET_H を超えたことを検出すると、ステップ52の消灯状態(第2消灯状態)へ遷移する。この状態は、第1リセット電圧RESET_H を超えた(通過)状態でもある。この時、MCU32は、ステップ51と同様に、MCU32はLレベルの第1制御信号SC1及び第2制御信号SC2を出力する。従って、図2に示す第2電源部23のトランジスタT3と負荷制御回路ブロック41のトランジスタT11のオフ状態が維持され、負荷Lは消灯している。   Next, in step 51, when the MCU 32 detects that the detected voltage Vin (ana) exceeds the first reset voltage RESET_H, the MCU 32 transitions to the extinguishing state (second extinguishing state) in step 52. This state is also a state exceeding (passing) the first reset voltage RESET_H. At this time, the MCU 32 outputs the first control signal SC <b> 1 and the second control signal SC <b> 2 at the L level as in step 51. Therefore, the off state of the transistor T3 of the second power supply unit 23 and the transistor T11 of the load control circuit block 41 shown in FIG. 2 is maintained, and the load L is turned off.

次に、ステップ52において、MCU32は、検出した電圧Vin(ana)が点灯電圧より低くなったことを検出すると、ステップ53の点灯状態(第1点灯状態)へ遷移する。この状態は、第2リセット電圧RESET_L より低くなっていない(未通過)状態でもある。このとき、MCU32は、Hレベルの第1制御信号SC1及び第2制御信号SC2を出力する、つまり図2に示す第2電源部23のトランジスタT3と負荷制御回路ブロック41のトランジスタT11をオンに制御する。第2電源部23は、トランジスタT3がオンしたことにより、トランジスタT2がスイッチング動作して第2駆動電圧VRを生成する。そして、第2駆動電圧VRが生成され、トランジスタT11がオンすることにより、リレー42のコイル42aに電流が流れて接点42bが閉路(オン)する。従って、負荷Lに交流電源ACから電流が供給され、負荷Lが点灯する。   Next, in step 52, when the MCU 32 detects that the detected voltage Vin (ana) has become lower than the lighting voltage, the MCU 32 transits to the lighting state (first lighting state) in step 53. This state is also a state that is not lower (not passed) than the second reset voltage RESET_L. At this time, the MCU 32 outputs the first control signal SC1 and the second control signal SC2 at the H level, that is, controls the transistor T3 of the second power supply unit 23 and the transistor T11 of the load control circuit block 41 shown in FIG. To do. In the second power supply unit 23, when the transistor T3 is turned on, the transistor T2 performs a switching operation to generate the second drive voltage VR. Then, the second drive voltage VR is generated and the transistor T11 is turned on, whereby a current flows through the coil 42a of the relay 42 and the contact 42b is closed (turned on). Therefore, a current is supplied to the load L from the AC power supply AC, and the load L is lit.

次に、ステップ53において、MCU32は、検出した電圧Vin(ana)が第2リセット電圧RESET_L より低くなったことを検出すると、ステップ54の点灯状態(第2点灯状態)へ遷移する。この状態は、第1リセット電圧RESET_H を超えた(通過)状態でもある。この時、MCU32は、ステップ54と同様に、MCU32はHレベルの第1制御信号SC1及び第2制御信号SC2を出力する。従って、図2に示す第2電源部23のトランジスタT3と負荷制御回路ブロック41のトランジスタT11のオン状態が維持され、負荷Lは点灯している。   Next, in step 53, when the MCU 32 detects that the detected voltage Vin (ana) is lower than the second reset voltage RESET_L, the MCU 32 transitions to the lighting state of step 54 (second lighting state). This state is also a state exceeding (passing) the first reset voltage RESET_H. At this time, the MCU 32 outputs the first control signal SC <b> 1 and the second control signal SC <b> 2 at the H level as in step 54. Therefore, the on state of the transistor T3 of the second power supply unit 23 and the transistor T11 of the load control circuit block 41 shown in FIG. 2 is maintained, and the load L is lit.

次に、ステップ54において、MCU32は、検出した電圧Vin(ana)が消灯電圧より高くなったことを検出すると、ステップ51の消灯状態(第1消灯状態)へ遷移する。上記したように、MCU32は、Lレベルの第1制御信号SC1及び第2制御信号SC2を出力する、つまり図2に示す第2電源部23のトランジスタT3と負荷制御回路ブロック41のトランジスタT11をオフに制御する。従って、第2電源部23は、トランジスタT3がオフしたことにより、第2駆動電圧VRの生成が停止される。そして、トランジスタT11がオフされることにより、リレー42のコイル42aに電流が流れなくなって接点42bが開路(オフ)する。従って、負荷Lに対して交流電源ACから電流の供給が停止され、負荷Lが消灯する。   Next, in step 54, when the MCU 32 detects that the detected voltage Vin (ana) is higher than the extinguishing voltage, the MCU 32 transits to the extinguishing state (first extinguishing state) in step 51. As described above, the MCU 32 outputs the L-level first control signal SC1 and the second control signal SC2, that is, turns off the transistor T3 of the second power supply unit 23 and the transistor T11 of the load control circuit block 41 shown in FIG. To control. Therefore, the second power supply unit 23 stops generating the second drive voltage VR when the transistor T3 is turned off. When the transistor T11 is turned off, no current flows through the coil 42a of the relay 42 and the contact 42b is opened (turned off). Accordingly, the supply of current from the AC power supply AC to the load L is stopped, and the load L is turned off.

以上のように、MCU32は、検出した電圧Vin(ana)と、点灯電圧,消灯電圧,第1リセット電圧RESET_H 及び第2リセット電圧RESET_L との比較結果に基づき、ステップ51〜54の状態遷移を繰り返し実行し、負荷Lを点灯/消灯する。   As described above, the MCU 32 repeats the state transition of steps 51 to 54 based on the comparison result of the detected voltage Vin (ana) with the lighting voltage, the extinguishing voltage, the first reset voltage RESET_H, and the second reset voltage RESET_L. The load L is turned on / off.

また、MCU32は、種別Bを読み出した場合、つまり形式が「1形」又は「3形」に設定されている場合、図4(b)に示すように、その動作状態を遷移させる。詳述すると、ステップ61において、MCU32は消灯状態にある。このとき、MCU32は、上記のステップ51,52と同様に、Lレベルの第1制御信号SC1及び第2制御信号SC2を出力する。従って、図2に示す第2電源部23のトランジスタT3と負荷制御回路ブロック41のトランジスタT11がオフし、負荷Lには交流電源ACから電流が供給されないため、負荷Lは消灯している。   Further, when the type B is read out, that is, when the format is set to “1 type” or “3 type”, the MCU 32 changes the operation state as shown in FIG. More specifically, in step 61, the MCU 32 is in an extinguished state. At this time, the MCU 32 outputs the L-level first control signal SC1 and the second control signal SC2 as in the above-described steps 51 and 52. Accordingly, the transistor T3 of the second power supply unit 23 and the transistor T11 of the load control circuit block 41 shown in FIG. 2 are turned off, and no current is supplied to the load L from the AC power supply AC, so the load L is turned off.

次に、ステップ61において、MCU32は、検出した電圧Vin(ana)が点灯電圧より低くなったことを検出すると、ステップ62の点灯状態へ遷移する。このとき、MCU32は、上記のステップ53,54と同様に、Hレベルの第1制御信号SC1及び第2制御信号SC2を出力する。従って、図2に示す第2電源部23のトランジスタT3と負荷制御回路ブロック41のトランジスタT11がオンし、負荷Lは交流電源ACから供給される電流により点灯する。   Next, in step 61, when the MCU 32 detects that the detected voltage Vin (ana) has become lower than the lighting voltage, the MCU 32 transits to the lighting state in step 62. At this time, the MCU 32 outputs the first control signal SC1 and the second control signal SC2 at the H level as in the above-described steps 53 and 54. Accordingly, the transistor T3 of the second power supply unit 23 and the transistor T11 of the load control circuit block 41 shown in FIG. 2 are turned on, and the load L is lit by the current supplied from the AC power supply AC.

次に、ステップ62において、MCU32は、検出した電圧Vin(ana)が消灯電圧より高くなったことを検出すると、ステップ61の消灯状態へ遷移する。上記したように、MCU32は、Lレベルの第1制御信号SC1及び第2制御信号SC2を出力する。従って、図2に示す第2電源部23のトランジスタT3と負荷制御回路ブロック41のトランジスタT11がオフし、負荷Lには交流電源ACからの電流供給が停止され、負荷Lが消灯する。   Next, in step 62, when the MCU 32 detects that the detected voltage Vin (ana) is higher than the extinguishing voltage, the MCU 32 transits to the extinguishing state in step 61. As described above, the MCU 32 outputs the L-level first control signal SC1 and the second control signal SC2. Accordingly, the transistor T3 of the second power supply unit 23 and the transistor T11 of the load control circuit block 41 shown in FIG. 2 are turned off, supply of current from the AC power supply AC to the load L is stopped, and the load L is turned off.

以上のように、MCU32は、検出した電圧Vin(ana)と、点灯電圧,消灯電圧との比較結果に基づき、ステップ61,62の状態遷移を繰り返し実行し、負荷Lを点灯/消灯する。   As described above, the MCU 32 repeatedly executes the state transitions of steps 61 and 62 based on the comparison result between the detected voltage Vin (ana), the lighting voltage and the light-off voltage, and turns on / off the load L.

以上記述したように、本実施の形態によれば、以下の効果を奏する。
(1)MCU32の不揮発性メモリ32aには、図8に示す各形式に対応する動作制御プログラム及び動作照度設定値が記憶されている。MCU32の端子PI1,PI2は、それぞれ抵抗R11,R12によりプルアップされている。MCU32は、両抵抗R1x,R2xの実装/未実装により設定される両端子PI1,PI2の電位に基づいて、動作タイプを判断する。そして、MCU32は、メモリ32aに記憶された各形式に応じた動作照度設定(点灯照度及び消灯照度)を読み出し、光センサ33により検出した周囲照度とを比較して負荷Lに対して交流電源ACからの電流を供給又は停止するようにした。この結果、自動点滅器10を複数の形式に対応させることができる。そして、複数の形式毎に光電式自動点滅器を用意する必要が無いため、製造工程が1つになり、また生産管理や回路ブロックでの在庫管理が容易になる。
As described above, according to the present embodiment, the following effects can be obtained.
(1) The nonvolatile memory 32a of the MCU 32 stores an operation control program and an operation illuminance setting value corresponding to each format shown in FIG. The terminals PI1 and PI2 of the MCU 32 are pulled up by resistors R11 and R12, respectively. The MCU 32 determines the operation type based on the potentials of both terminals PI1, PI2 set by mounting / not mounting both resistors R1x, R2x. Then, the MCU 32 reads the operation illuminance setting (lighting illuminance and extinction illuminance) corresponding to each format stored in the memory 32a, compares the ambient illuminance detected by the optical sensor 33, and supplies the AC power supply AC to the load L. The current from is supplied or stopped. As a result, the automatic flasher 10 can be made compatible with a plurality of formats. Since there is no need to prepare a photoelectric automatic flasher for each of a plurality of formats, the number of manufacturing processes becomes one, and production management and inventory management in circuit blocks are facilitated.

(2)MCU32は、端子PI1,PI2に対する設定用の抵抗R1x,R2xの実装/未実装により設定される両端子PI1,PI2の電位に基づいて、動作タイプを判断する。従って、抵抗R1x,R2xの実装により、容易に形式の設定が可能であり、かつ、抵抗R1x,R2xの実装を変更することにより、形式の変更を容易に行うことができる。   (2) The MCU 32 determines the operation type based on the potentials of the terminals PI1 and PI2 set by mounting / not mounting the setting resistors R1x and R2x for the terminals PI1 and PI2. Therefore, the type can be easily set by mounting the resistors R1x and R2x, and the type can be easily changed by changing the mounting of the resistors R1x and R2x.

(3)MCU32は、判断した形式に対応する制御プログラムを実行し、複数の状態を遷移する。そして、遷移した状態において、制御信号SC1,SC2を出力するようにした。従って、遷移状態に応じた制御信号を確実に出力することができる。   (3) The MCU 32 executes a control program corresponding to the determined format, and transitions between a plurality of states. The control signals SC1 and SC2 are output in the transitioned state. Therefore, it is possible to reliably output a control signal corresponding to the transition state.

(4)電源回路ブロック21の第1電源部22は、整流器DBにより生成された直流電圧VSから、制御回路ブロック31に供給する第1駆動電圧VCを生成する。第2電源部23は、整流器DBにより生成された直流電圧VSから、負荷制御回路ブロック41に供給する第2駆動電圧VRを生成する。このように、それぞれの回路ブロック31,41に供給する駆動電圧VC,VRを別々に生成することで、各電源部22,23の回路構成を駆動電圧VC,VRを供給する回路ブロック31,41に応じて最適化することができ、駆動電圧VC,VRを効率よく供給することができる。   (4) The first power supply unit 22 of the power supply circuit block 21 generates the first drive voltage VC to be supplied to the control circuit block 31 from the DC voltage VS generated by the rectifier DB. The second power supply unit 23 generates a second drive voltage VR to be supplied to the load control circuit block 41 from the DC voltage VS generated by the rectifier DB. In this way, by separately generating the drive voltages VC and VR to be supplied to the respective circuit blocks 31 and 41, the circuit blocks 31 and 41 for supplying the drive voltages VC and VR to the circuit configurations of the power supply units 22 and 23 are generated. The drive voltages VC and VR can be efficiently supplied.

(5)第2電源部23は、Hレベルの制御信号SC1に基づいて第2駆動電圧VRを生成し、Lレベルの制御信号SC2に基づいて動作を停止する。この駆動電圧VRの生成と動作停止は、負荷Lの点灯/消灯に対応する。従って、負荷Lの消灯時に第2電源部23の動作を停止することで、負荷Lを駆動しない待機時における消費電流を低減することができる。   (5) The second power supply unit 23 generates the second drive voltage VR based on the H level control signal SC1, and stops the operation based on the L level control signal SC2. The generation and stop of the operation of the drive voltage VR correspond to lighting / extinguishing of the load L. Therefore, by stopping the operation of the second power supply unit 23 when the load L is extinguished, current consumption during standby when the load L is not driven can be reduced.

(6)第2電源部23を構成するPNPトランジスタT2のコレクタには直流電圧VSが供給され、そのトランジスタT2のベースは抵抗R5を介してトランジスタT3に接続され、トランジスタT3のエミッタから第2駆動電圧VRが出力される。第2電源部23の抵抗R5は、オンしたトランジスタT3を介してトランジスタT2に十分なベース電流が流れるように定数設定されている。従って、トランジスタT2におけるコレクタ−エミッタ間の電圧降下が少なく、損失を低減することができる。   (6) The DC voltage VS is supplied to the collector of the PNP transistor T2 constituting the second power supply unit 23, the base of the transistor T2 is connected to the transistor T3 via the resistor R5, and the second drive is performed from the emitter of the transistor T3. The voltage VR is output. The resistor R5 of the second power supply unit 23 is set to a constant so that a sufficient base current flows through the transistor T2 via the transistor T3 that is turned on. Therefore, the voltage drop between the collector and the emitter in the transistor T2 is small, and the loss can be reduced.

(7)MCU32のメモリ32aには、各形式の動作照度として、それぞれ点灯照度と消灯照度が記憶されており、MCU32は、各形式の点灯照度又は消灯照度と、周囲照度とを比較して制御信号SC1,SC2を生成するようにした。従って、各形式に応じて設定された点灯照度と消灯照度にて負荷Lを制御することができる。   (7) The memory 32a of the MCU 32 stores the illumination illuminance and the illumination illuminance as the operation illuminance of each format, and the MCU 32 controls the illumination illuminance or illumination illuminance of each format by comparing the ambient illumination with the ambient illumination. Signals SC1 and SC2 are generated. Therefore, the load L can be controlled by the lighting illuminance and the extinction illuminance set according to each format.

(8)2形の消灯照度はその点灯照度以下に規定されており、MCU32は、メモリ32aに記憶された第1リセット照度と第2リセット照度とを読み出す。そして、周囲照度が消灯照度よりも低い値に設定された第2のリセット照度よりも低くなった後に消灯照度を超えた場合に負荷Lを消灯し、周囲照度が点灯照度よりも高い値に設定された第1リセット照度よりも高くなった後に点灯照度よりも低くなったときに負荷Lを点灯させるようにした。従って、2形の設定に対し、確実に負荷Lを点滅させることができる。   (8) The two-type illumination illuminance is defined to be equal to or less than the illumination illuminance, and the MCU 32 reads the first reset illuminance and the second reset illuminance stored in the memory 32a. Then, when the ambient illuminance is lower than the second reset illuminance set to a value lower than the illumination illuminance and then exceeds the illumination illuminance, the load L is turned off, and the ambient illuminance is set to a value higher than the illumination illuminance. The load L is lit when it becomes lower than the lighting illuminance after it becomes higher than the first reset illuminance. Therefore, the load L can be surely blinked for the type 2 setting.

(第2の実施の形態)
以下、本発明を具体化した第2の実施の形態を図6,図7に従って説明する。
尚、説明の便宜上、第1の実施の形態と同様の構成については同一の符号を付してその説明を一部省略する。
(Second Embodiment)
A second embodiment embodying the present invention will be described below with reference to FIGS.
For convenience of explanation, the same components as those in the first embodiment are denoted by the same reference numerals, and a part of the explanation is omitted.

図6に示すように、第2電源部23aのNPNトランジスタT3のベースには抵抗R6を介してダイオードD11,D12のカソードが接続され、両ダイオードD11,D12のアノードはそれぞれ制御回路ブロック31aのマイクロコンピュータ(以下、MCU)32の出力端子PO1,PO2に接続されている。MCU32は、出力端子PO1から制御信号SC1を出力し、出力端子PO2から制御信号SC2を出力する。従って、本実施形態では、トランジスタT3のベースに第1制御信号SC1と第2制御信号SC2とを論理和演算(OR)した信号が供給される。   As shown in FIG. 6, the cathodes of the diodes D11 and D12 are connected to the base of the NPN transistor T3 of the second power supply unit 23a via the resistor R6, and the anodes of both the diodes D11 and D12 are respectively connected to the micro of the control circuit block 31a. It is connected to output terminals PO1 and PO2 of a computer (hereinafter, MCU) 32. The MCU 32 outputs a control signal SC1 from the output terminal PO1, and outputs a control signal SC2 from the output terminal PO2. Therefore, in the present embodiment, a signal obtained by ORing (ORing) the first control signal SC1 and the second control signal SC2 is supplied to the base of the transistor T3.

MCU32の入力端子PI1,PI2はそれぞれ抵抗R11,R12によりプルアップされるとともに、切換スイッチSW1の切換端子にそれぞれ接続されている。切換スイッチSW1は上記の切換端子を含めて少なくとも3つの切換端子に切換接続される固定端子を有し、該固定端子はグランドに接続されている。従って、本実施形態では、切換スイッチSW1を切り換えることにより、MCU32の入力端子PI1,PI2の端子電位が設定され、MCU32はそれら端子PI1,PI2の端子電位に基づいて設定された形式を判断する。つまり、本実施形態では、設定する形式に応じて切換スイッチSW1を切り換えるだけでよく、形式に応じて抵抗等を接続する手間がかからない。   The input terminals PI1 and PI2 of the MCU 32 are pulled up by resistors R11 and R12, respectively, and are connected to the switching terminal of the changeover switch SW1. The changeover switch SW1 has a fixed terminal that is switched and connected to at least three switching terminals including the switching terminal, and the fixed terminal is connected to the ground. Therefore, in the present embodiment, the terminal potential of the input terminals PI1 and PI2 of the MCU 32 is set by switching the changeover switch SW1, and the MCU 32 determines the set format based on the terminal potentials of the terminals PI1 and PI2. That is, in this embodiment, it is only necessary to switch the changeover switch SW1 according to the set type, and it does not take time to connect a resistor or the like according to the type.

MCU32から出力される第1制御信号SC1は、負荷制御回路ブロック41aの電子開閉部(第1開閉部)43を構成する抵抗R21を介してNPNトランジスタT12のベースに供給される。トランジスタT12のエミッタはグランドに接続され、トランジスタT11のコレクタは抵抗R23を介して発光ダイオードPDのカソードに接続され、発光ダイオードPDのアノードには第2駆動電圧VRが供給されている。従って、制御信号SC1によりトランジスタT12がオンすると、第2駆動電圧VRにより発光ダイオードPDが発光し、トランジスタT12がオフすると発光ダイオードPDの発光が停止される。   The first control signal SC1 output from the MCU 32 is supplied to the base of the NPN transistor T12 through the resistor R21 that constitutes the electronic switching unit (first switching unit) 43 of the load control circuit block 41a. The emitter of the transistor T12 is connected to the ground, the collector of the transistor T11 is connected to the cathode of the light emitting diode PD via the resistor R23, and the second drive voltage VR is supplied to the anode of the light emitting diode PD. Accordingly, when the transistor T12 is turned on by the control signal SC1, the light emitting diode PD emits light by the second drive voltage VR, and when the transistor T12 is turned off, light emission of the light emitting diode PD is stopped.

電子開閉部43には、発光ダイオードPDから発せられる光をトリガとしてオンするフォトトライアックPTが設けられている。フォトトライアックPTの第1端子は端子X2に接続され、フォトトライアックPTの第2端子は抵抗R24を介してトライアック(3端子双方向サイリスタ)TRのゲートに接続されている。そのトライアックTRは、端子X2,X3間に接続されている。これらの端子X2,X3間には、リレー42の接点42bが接続されている。従って、本実施形態では、端子X2,X3間、即ち交流電源ACと負荷Lとの間には、半導体スイッチ素子であるトライアックTRと機械的接点であるリレー42の接点42bからなる並列回路が接続されている。   The electronic open / close section 43 is provided with a phototriac PT that is turned on using light emitted from the light emitting diode PD as a trigger. The first terminal of the phototriac PT is connected to the terminal X2, and the second terminal of the phototriac PT is connected to the gate of the triac (3-terminal bidirectional thyristor) TR via the resistor R24. The triac TR is connected between the terminals X2 and X3. A contact 42b of the relay 42 is connected between these terminals X2 and X3. Therefore, in this embodiment, a parallel circuit composed of the triac TR as a semiconductor switch element and the contact 42b of the relay 42 as a mechanical contact is connected between the terminals X2 and X3, that is, between the AC power supply AC and the load L. Has been.

フォトトライアックPTは発光ダイオードPDから発せられる光によってオンし、フォトトライアックPTを介して交流電源ACからトライアックTRにゲート電流が流れる。これにより、トライアックTRがオンし、負荷Lに交流電源ACから電流が供給され、該負荷Lが点灯する。   The phototriac PT is turned on by light emitted from the light emitting diode PD, and a gate current flows from the AC power supply AC to the triac TR via the phototriac PT. As a result, the triac TR is turned on, a current is supplied to the load L from the AC power supply AC, and the load L is lit.

制御信号SC1によりトランジスタT12がオフすると、発光ダイオードPDの発光が停止し、フォトトライアックPTがオフ状態となる。すると、トライアックTRにゲート電流が流れなくなり、トライアックTRがオフする。これにより、負荷Lに対する交流電源ACからの電流供給が停止さあれ、負荷Lが消灯する。   When the transistor T12 is turned off by the control signal SC1, the light emission of the light emitting diode PD is stopped, and the phototriac PT is turned off. Then, the gate current does not flow through the triac TR, and the triac TR is turned off. As a result, the supply of current from the AC power supply AC to the load L is stopped, and the load L is turned off.

MCU32から出力される第2制御信号SC2は、第1の実施の形態と同様に、負荷制御回路ブロック41aの抵抗R21を介してNPNトランジスタT11のベースに供給される。そのトランジスタT11のコレクタはリレー42のコイル42aに接続されている。従って、リレー42の接点42bは、制御信号SC2により開閉する。即ち、リレー42及びトランジスタT11は、制御信号SC2により開閉する機械式の接点42bを有する第2開閉部を構成する。そして、接点42bが閉路(オン)すると負荷Lに交流電源ACから電流が供給されてその負荷Lが点灯し、接点42bが開路(オフ)すると負荷Lに対する電流供給が停止されて負荷Lが消灯する。   Similar to the first embodiment, the second control signal SC2 output from the MCU 32 is supplied to the base of the NPN transistor T11 via the resistor R21 of the load control circuit block 41a. The collector of the transistor T11 is connected to the coil 42a of the relay 42. Therefore, the contact 42b of the relay 42 is opened and closed by the control signal SC2. That is, the relay 42 and the transistor T11 constitute a second opening / closing portion having a mechanical contact 42b that is opened / closed by the control signal SC2. When the contact 42b is closed (turned on), a current is supplied to the load L from the AC power supply AC, and the load L is turned on. When the contact 42b is opened (turned off), the current supply to the load L is stopped and the load L is turned off. To do.

即ち、本実施形態では、制御信号SC1及び制御信号SC2が、第2電源部23aを制御するための制御信号としてMCU32から出力されるとともに、負荷制御回路ブロック41aを制御するための制御信号として同MCU32から出力される。そして、並列接続されたリレー42(接点42b)及びトライアックTRの少なくとも一方がオンすることにより負荷Lに交流電源ACから電流が供給されてその負荷Lが点灯する。一方、リレー42(接点42b)及びトライアックTRがともにオフすることにより負荷Lに対する電流供給が停止されて負荷Lが消灯する。   That is, in the present embodiment, the control signal SC1 and the control signal SC2 are output from the MCU 32 as control signals for controlling the second power supply unit 23a, and are the same as control signals for controlling the load control circuit block 41a. Output from the MCU 32. When at least one of the relay 42 (contact 42b) and the triac TR connected in parallel is turned on, a current is supplied to the load L from the AC power source AC, and the load L is lit. On the other hand, when both the relay 42 (contact 42b) and the triac TR are turned off, the current supply to the load L is stopped and the load L is turned off.

MCU32は、制御信号SC1と制御信号SC2とを出力するタイミングを設定している。先ず、負荷Lを点灯するときのタイミングについて説明する。図7に示すように、MCU32は、先ず、Hレベルの制御信号SC1を出力する。この制御信号SC1により第2電源部23aにて第2駆動電圧VRが生成され、負荷制御回路ブロック41aの電子開閉部43を構成するトライアックTRがオンする。これにより、負荷Lに交流電源ACから電流が供給され、該負荷Lが点灯する。   The MCU 32 sets the timing for outputting the control signal SC1 and the control signal SC2. First, the timing when the load L is turned on will be described. As shown in FIG. 7, the MCU 32 first outputs an H level control signal SC1. The second drive voltage VR is generated in the second power supply unit 23a by the control signal SC1, and the triac TR configuring the electronic switching unit 43 of the load control circuit block 41a is turned on. Thereby, a current is supplied to the load L from the AC power supply AC, and the load L is lit.

次いで、MCU32は、Hレベルの制御信号SC1を出力してから所定の待機時間(例えば、数10ms(ミリ秒))経過すると、Hレベルの制御信号SC2を出力する。この制御信号SC2により、負荷制御回路ブロック41aを構成するリレー42の接点42bがオンする。この時、負荷Lに対して交流電源ACから電流が供給されており、オンしているトライアックTRに並列接続された接点42bがオンするため、この接点42bには大きな突入電流が流れない。このため、大きな突入電流に耐えうるリレーを使用する必要が無く、小型のリレーを使用することができるため、自動点滅器10を小型化することができる。また、接点42bにおけるアークの発生が防止され、アークの発生にともなう接点の溶着が防止される。   Next, the MCU 32 outputs an H level control signal SC2 when a predetermined waiting time (for example, several tens of milliseconds (milliseconds)) elapses after outputting the H level control signal SC1. By this control signal SC2, the contact 42b of the relay 42 constituting the load control circuit block 41a is turned on. At this time, a current is supplied from the AC power supply AC to the load L, and the contact 42b connected in parallel to the triac TR that is turned on is turned on, so that a large inrush current does not flow through the contact 42b. For this reason, it is not necessary to use a relay that can withstand a large inrush current, and a small relay can be used. Therefore, the automatic flasher 10 can be downsized. Further, the generation of an arc at the contact 42b is prevented, and the welding of the contact accompanying the generation of the arc is prevented.

次いで、MCU32は、Lレベルの制御信号SC1を出力する。この制御信号SC2によりトライアックTRがオフする。この時、第2電源部23aのトランジスタT3は制御信号SC2によりオン状態を継続するため、第2駆動電圧VRが継続的に生成される。また、リレー42の接点42bはオンしているため、負荷Lには交流電源ACからの電流が継続して供給される。   Next, the MCU 32 outputs an L level control signal SC1. The triac TR is turned off by the control signal SC2. At this time, since the transistor T3 of the second power supply unit 23a is kept on by the control signal SC2, the second drive voltage VR is continuously generated. Further, since the contact 42b of the relay 42 is on, the current from the AC power source AC is continuously supplied to the load L.

そして、MCU32は、リレー42の接点42bをオンした後にトライアックTRをオフしている。このトライアックTRがオンしている期間は、長くても数100msであるため、トライアックTRの発熱が抑えられ、熱容量の小さい小型のトライアックTRを使用することができる。また、発熱が抑えられるため、大きな放熱板を使用する必要が無い、または放熱板を省略することができる。従って、自動点滅器10を小型化することができる。   The MCU 32 turns off the triac TR after turning on the contact 42b of the relay 42. The period during which the triac TR is on is several hundreds ms at the longest, so that the heat generation of the triac TR can be suppressed and a small triac TR having a small heat capacity can be used. Moreover, since heat generation is suppressed, it is not necessary to use a large heat sink or the heat sink can be omitted. Therefore, the automatic flasher 10 can be reduced in size.

次に、負荷Lを消灯する場合について説明する。
先ず、MCU32は、Hレベルの制御信号SC1を出力してトライアックTRをオンする。次いで、MCU32は、Lレベルの制御信号SC2を出力してリレー42の接点42bをオフする。この時、接点42bに並列接続されたトライアックTRがオンしているため、負荷Lを点灯する場合と同様に、この接点42bにおけるアークの発生が防止され、アークの発生にともなう接点の消耗が低減される。
Next, a case where the load L is turned off will be described.
First, the MCU 32 outputs an H level control signal SC1 to turn on the triac TR. Next, the MCU 32 outputs an L level control signal SC2 to turn off the contact 42b of the relay 42. At this time, since the triac TR connected in parallel to the contact 42b is turned on, similarly to the case where the load L is lit, the generation of an arc at the contact 42b is prevented, and the consumption of the contact due to the occurrence of the arc is reduced. Is done.

次いで、MCU32は、Lレベルの制御信号SC1を出力してトライアックTRをオフする。トライアックTRがオンしている期間は、負荷Lを点灯するときと同様であるため、トライアックTRの発熱が抑えられ、熱容量の小さい小型のトライアックTRを使用することができる。   Next, the MCU 32 outputs an L level control signal SC1 to turn off the triac TR. Since the period when the triac TR is on is the same as when the load L is lit, heat generation of the triac TR is suppressed, and a small triac TR having a small heat capacity can be used.

以上記述したように、本実施の形態によれば、以下の効果を奏する。
(1)本実施形態の自動点滅器は、トライアックTRとリレー42の接点42bが並列に接続されている。MCU32は、第1制御信号SC1によりトライアックTRをオンした後、第2制御信号SC2によりリレー42の接点42bをオンするようにした。従って、この接点42bには大きな突入電流が流れない。このため、大きな突入電流に耐えうるリレーを使用する必要が無く、小型のリレーを使用することができるため、自動点滅器10を小型化することができる。また、接点42bにおけるアークの発生が防止され、アークの発生にともなう接点の溶着が防止される。
As described above, according to the present embodiment, the following effects can be obtained.
(1) In the automatic flasher of this embodiment, the triac TR and the contact 42b of the relay 42 are connected in parallel. The MCU 32 turns on the triac TR by the first control signal SC1 and then turns on the contact 42b of the relay 42 by the second control signal SC2. Therefore, a large inrush current does not flow through the contact 42b. For this reason, it is not necessary to use a relay that can withstand a large inrush current, and a small relay can be used. Therefore, the automatic flasher 10 can be downsized. Further, the generation of an arc at the contact 42b is prevented, and the welding of the contact accompanying the generation of the arc is prevented.

(2)MCU32は、第2制御信号SC2によりリレー42の接点42bをオンした後、第1制御信号SC1によりトライアックTRをオフするようにした。このトライアックTRがオンしている時間を短くすることで、トライアックTRの発熱が抑えられ、熱容量の小さい小型のトライアックTRを使用することができる。また、発熱が抑えられるため、大きな放熱板を使用する必要が無い、または放熱板を省略することができる。従って、自動点滅器10を小型化することができる。   (2) The MCU 32 turns off the triac TR by the first control signal SC1 after turning on the contact 42b of the relay 42 by the second control signal SC2. By shortening the time during which the triac TR is turned on, heat generation of the triac TR can be suppressed, and a small triac TR having a small heat capacity can be used. Moreover, since heat generation is suppressed, it is not necessary to use a large heat sink or the heat sink can be omitted. Therefore, the automatic flasher 10 can be reduced in size.

(3)第2電源部23aのトランジスタT3のベースには、ダイオードD11,D12を介してそれぞれ第1制御信号SC1と第2制御信号SC2が供給される。ダイオードD11,D12のカソードを互いに接続することで、第1制御信号SC1と第2制御信号SC2とを論理和演算した結果の信号がトランジスタT3のベースに供給される。そして、Hレベルの第1制御信号SC1によりトライアックTRがオンし、Hレベルの第2制御信号SC2によりリレー42の接点42bがオンする。従って、トライアックTR又は接点42bがオンしている間、確実に第2電源部23aが動作し、第2駆動電圧VRを生成してそれを負荷制御回路ブロック41aに供給することができる。   (3) The first control signal SC1 and the second control signal SC2 are supplied to the base of the transistor T3 of the second power supply unit 23a via the diodes D11 and D12, respectively. By connecting the cathodes of the diodes D11 and D12 to each other, a signal obtained by performing an OR operation on the first control signal SC1 and the second control signal SC2 is supplied to the base of the transistor T3. The triac TR is turned on by the first control signal SC1 at the H level, and the contact 42b of the relay 42 is turned on by the second control signal SC2 at the H level. Therefore, while the triac TR or the contact 42b is on, the second power supply unit 23a operates reliably, and the second drive voltage VR can be generated and supplied to the load control circuit block 41a.

尚、上記各実施の形態は、以下の態様で実施してもよい。
・第1の実施の形態では、MCU32の入力端子PI1,PI2を抵抗R11,R12によりプルアップしたが、端子PI1,PI2をプルダウンしてもよい。この場合、設定用の抵抗R1x,R2xは選択的に端子PI1,PI2に接続されるとともに駆動電圧VDが供給されるようにする。MCU32は、端子PI1,PI2の電位がLレベルの場合に設定用の抵抗が未実装であると判断し、Hレベルの場合に設定用の抵抗が実装されていると判断する。同様に、第2の実施形態において、スイッチSW1の固定端子に駆動電圧VDが供給されるように接続を変更してもよい。
In addition, you may implement each said embodiment in the following aspects.
In the first embodiment, the input terminals PI1 and PI2 of the MCU 32 are pulled up by the resistors R11 and R12, but the terminals PI1 and PI2 may be pulled down. In this case, the setting resistors R1x and R2x are selectively connected to the terminals PI1 and PI2 and supplied with the drive voltage VD. The MCU 32 determines that the setting resistor is not mounted when the potentials of the terminals PI1 and PI2 are L level, and determines that the setting resistor is mounted when the potential of the terminals PI1 and PI2 is H level. Similarly, in the second embodiment, the connection may be changed so that the drive voltage VD is supplied to the fixed terminal of the switch SW1.

・第2の実施の形態において、負荷Lを消灯する場合に、トライアックTRをオンすることなくリレー42の接点42bをオフするようにしてもよい。
・第2の実施の形態において、固定端子を複数の切換端子に対して選択的に接続する切換スイッチSW1を備えたが、MCU32の各端子PI1,PI2にそれぞれ接続された複数のスイッチ(例えばDIPスイッチ)を備える構成としてもよい。
In the second embodiment, when the load L is turned off, the contact 42b of the relay 42 may be turned off without turning on the triac TR.
In the second embodiment, the changeover switch SW1 that selectively connects the fixed terminal to the plurality of changeover terminals is provided. However, a plurality of switches (for example, DIP) respectively connected to the terminals PI1 and PI2 of the MCU 32 are provided. It is good also as a structure provided with a switch.

(a)は自動点滅器の正面図、(b)は自動点滅器の側面図。(A) is a front view of an automatic flasher, (b) is a side view of an automatic flasher. 第1実施形態の自動点滅器の回路図。The circuit diagram of the automatic flasher of 1st Embodiment. (a)(b)は自動点滅器の動作説明図。(A) (b) is operation | movement explanatory drawing of an automatic blinker. (a)(b)は自動点滅器の状態遷移を示すフロー図。(A) (b) is a flowchart which shows the state transition of an automatic blinker. 自動点滅器の動作波形図。Operation waveform diagram of automatic flasher. 第2実施形態の自動点滅器の回路図。The circuit diagram of the automatic flasher of 2nd Embodiment. 自動点滅器の動作波形図。Operation waveform diagram of automatic flasher. 自動点滅器の規格を示す説明図。Explanatory drawing which shows the specification of an automatic blinker. 従来の自動点滅器の回路図。The circuit diagram of the conventional automatic blinker. 従来の自動点滅器の回路図。The circuit diagram of the conventional automatic blinker. 従来の自動点滅器の回路図。The circuit diagram of the conventional automatic blinker.

符号の説明Explanation of symbols

21,21a…電源回路ブロック、22…第1電源部、23,23a…第2電源部、31,31a…制御回路ブロック、32…MCU、32a…メモリ、33…光センサ、41,41a…負荷制御回路ブロック、42…リレー、42b…接点、TR…トライアック、L…負荷、AC…交流電源、DB…整流器、R1x,R2x…抵抗、T2…PNPトランジスタ、VC…第1駆動電圧、VR…第2駆動電圧、VS…直流電圧、PI1,PI2,PI3…端子、SC1…第1制御信号、SC2…第2制御信号、SW1…スイッチ。   21, 21 a ... power supply circuit block, 22 ... first power supply unit, 23, 23 a ... second power supply unit, 31, 31 a ... control circuit block, 32 ... MCU, 32 a ... memory, 33 ... optical sensor, 41, 41 a ... load Control circuit block, 42 ... relay, 42b ... contact, TR ... triac, L ... load, AC ... AC power supply, DB ... rectifier, R1x, R2x ... resistance, T2 ... PNP transistor, VC ... first drive voltage, VR ... first 2 drive voltage, VS ... DC voltage, PI1, PI2, PI3 ... terminal, SC1 ... first control signal, SC2 ... second control signal, SW1 ... switch.

Claims (1)

周囲照度を検出する照度検出手段と、
複数の動作照度を記憶し、設定手段により前記複数の動作照度のうちの1つを選択し、該選択した動作照度と前記検出した周囲照度とを比較し、該比較結果に基づいて負荷を制御すべく制御信号を生成する制御手段と、
前記負荷と外部電源とともに直列回路を構成し、前記制御信号に基づいてオンオフするスイッチ素子を備えた負荷制御手段と、
を備え、
前記設定手段は、前記制御手段に設けられた複数の端子に対して選択的に接続される抵抗素子であり、
前記制御手段は、前記複数の端子に対する前記抵抗素子の接続の有無に基づいて前記複数の動作照度のうちの1つを選択し、
前記制御手段は、前記選択した動作照度に応じた複数の状態を遷移し、該遷移した状態に応じて前記制御信号を生成し、
前記動作照度は、前記負荷を点灯する点灯照度と、前記負荷を消灯する消灯照度とから構成され、
前記制御手段は、
消灯照度が点灯照度よりも高く設定された第1の動作照度と、
消灯照度が点灯照度以下に設定された第2の動作照度と、
消灯照度及び点灯照度のうちの少なくとも一方が前記第1の動作照度の消灯照度及び点灯照度と異なる値に設定された第3の動作照度と、を記憶し、
遷移する状態に応じて、選択された動作照度の消灯照度又は点灯照度と前記周囲照度とを比較して前記制御信号を生成し、
前記制御手段は、
前記第2の動作照度の消灯照度及び点灯照度に対して、前記点灯照度よりも高い値に設定された第1のリセット照度と、前記消灯照度よりも低い値に設定された第2のリセット照度と、を記憶し、
前記第2の動作照度が選択された場合には、前記点灯照度、前記消灯照度、前記第1のリセット照度及び前記第2のリセット照度のそれぞれと前記周囲照度とを比較する状態を有し、各状態における比較結果に基づいて他の状態に遷移するとともに、前記消灯照度と前記周囲照度を比較する状態と、前記点灯照度と前記周囲照度とを比較する状態とにおいて、それぞれの比較結果に基づいて前記制御信号を生成する、
ことを特徴とする光電式自動点滅器。
Illuminance detection means for detecting ambient illuminance;
A plurality of operating illuminances are stored, one of the plurality of operating illuminances is selected by setting means, the selected operating illuminance is compared with the detected ambient illuminance, and the load is controlled based on the comparison result Control means for generating a control signal,
A load control means comprising a switch element that configures a series circuit together with the load and an external power supply and is turned on and off based on the control signal;
With
The setting means is a resistance element selectively connected to a plurality of terminals provided in the control means,
The control means selects one of the plurality of operating illuminances based on whether or not the resistance element is connected to the plurality of terminals ,
The control means transitions a plurality of states according to the selected operating illuminance, generates the control signal according to the transitioned state,
The operating illuminance includes a lighting illuminance for turning on the load and a lighting illuminance for turning off the load.
The control means includes
A first operating illuminance in which the illumination illuminance is set higher than the illumination illuminance;
A second operating illuminance in which the illumination illuminance is set to be equal to or less than the illumination illuminance;
Storing at least one of the turn-off illuminance and the turn-on illuminance and the third operation illuminance set to a value different from the turn-off illuminance and the turn-on illuminance of the first operation illuminance;
According to the transition state, the control signal is generated by comparing the ambient illuminance with the turn-off illuminance or lighting illuminance of the selected operating illuminance,
The control means includes
The first reset illuminance set to a value higher than the turn-on illuminance and the second reset illuminance set to a value lower than the turn-off illuminance with respect to the turn-off illuminance and the turn-on illuminance of the second operating illuminance And remember
When the second operating illuminance is selected, each of the lighting illuminance, the extinction illuminance, the first reset illuminance, and the second reset illuminance is compared with the ambient illuminance. Based on the comparison results in the state in which the turn-off illuminance and the ambient illuminance are compared and the state in which the turn-on illuminance is compared with the ambient illuminance, while transitioning to another state based on the comparison result in each state Generating the control signal
A photoelectric flasher characterized by that.
JP2007045705A 2007-02-26 2007-02-26 Photoelectric flasher Expired - Fee Related JP5117070B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007045705A JP5117070B2 (en) 2007-02-26 2007-02-26 Photoelectric flasher

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007045705A JP5117070B2 (en) 2007-02-26 2007-02-26 Photoelectric flasher

Publications (2)

Publication Number Publication Date
JP2008211473A JP2008211473A (en) 2008-09-11
JP5117070B2 true JP5117070B2 (en) 2013-01-09

Family

ID=39787409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007045705A Expired - Fee Related JP5117070B2 (en) 2007-02-26 2007-02-26 Photoelectric flasher

Country Status (1)

Country Link
JP (1) JP5117070B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103293473B (en) * 2013-06-06 2015-10-14 深圳博用科技有限公司 A kind of electronic switch testing circuit be applied in LED illumination lamp
JP6384773B2 (en) * 2013-11-29 2018-09-05 パナソニックIpマネジメント株式会社 Flasher
JP6481925B2 (en) * 2014-07-18 2019-03-13 パナソニックIpマネジメント株式会社 Switch device
CN114666955A (en) * 2022-04-11 2022-06-24 同辉电子科技股份有限公司 Off-line control circuit of a street lamp pole

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08255670A (en) * 1995-03-20 1996-10-01 Juki Corp Electric heater drive
JPH09237682A (en) * 1996-02-29 1997-09-09 Toshiba Lighting & Technol Corp Lighting control device and lighting control system
JP3948093B2 (en) * 1998-01-30 2007-07-25 松下電工株式会社 Hybrid relay
JP2001143876A (en) * 1999-11-18 2001-05-25 Matsushita Electric Works Ltd Lighting device
JP2001307889A (en) * 2000-04-25 2001-11-02 Matsushita Electric Works Ltd Automatic photoelectric type on-off switch
JP2004022525A (en) * 2002-06-20 2004-01-22 Sumitomo Electric Ind Ltd DC circuit breaker
JP4696590B2 (en) * 2005-02-23 2011-06-08 パナソニック電工株式会社 Lighting device

Also Published As

Publication number Publication date
JP2008211473A (en) 2008-09-11

Similar Documents

Publication Publication Date Title
JP2008210638A (en) Switch and photoelectric flasher
JP4791794B2 (en) LED lighting attachment
US20110057564A1 (en) Led lighting device and illumination apparatus
JP5937328B2 (en) Dimmable LED lighting fixture
JP2005011739A (en) Dimming malfunction prevention circuit and lighting device
JP2009010100A (en) Power supply device and lighting device
KR20110092156A (en) LED lighting control system
KR101657474B1 (en) A LED Unit for Automatic Control of Intensity of Illumination
JP5117070B2 (en) Photoelectric flasher
JP5834235B2 (en) Solid-state light source lighting device and lighting apparatus and lighting system using the same
JPH11307815A (en) Collective led lamp for ac power source
JP2014002867A (en) Lighting device and illuminating fixture
JP5094462B2 (en) Control circuit, discharge lamp lighting device and lighting fixture
WO2018206009A1 (en) Smart light bulb
JP2013201010A (en) Illuminating device
JP6827199B2 (en) Dimming control device, lighting equipment, and control method
JP2000306683A (en) LED lighting circuit
CN102204411B (en) Fluorescent lamp appliance, and lighting control apparatus of fluorescent lamp appliance
JP2011029094A (en) Lighting device, and illumination fixture and illumination device using it
CN109379809B (en) Intelligent full-automatic LED lamp control circuit
CN223246750U (en) A light-controlled lamp control circuit
JP3850535B2 (en) Delay switch with status display function
CN223885357U (en) DOB light source device and LED lamp
JP5977411B1 (en) Lighting control device
JP4552849B2 (en) 2-wire electronic switch

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090727

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120110

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20120111

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120309

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120626

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120829

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20120906

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: 20121010

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: 20121017

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5117070

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20151026

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees