JP7323175B2 - Lighting device and lighting system using the lighting device - Google Patents

Lighting device and lighting system using the lighting device Download PDF

Info

Publication number
JP7323175B2
JP7323175B2 JP2019207399A JP2019207399A JP7323175B2 JP 7323175 B2 JP7323175 B2 JP 7323175B2 JP 2019207399 A JP2019207399 A JP 2019207399A JP 2019207399 A JP2019207399 A JP 2019207399A JP 7323175 B2 JP7323175 B2 JP 7323175B2
Authority
JP
Japan
Prior art keywords
led
value
cpu
command
illuminance
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.)
Active
Application number
JP2019207399A
Other languages
Japanese (ja)
Other versions
JP2021082434A (en
Inventor
進志 廣瀬
恒行 斎藤
Original Assignee
レボックス株式会社
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 レボックス株式会社 filed Critical レボックス株式会社
Priority to JP2019207399A priority Critical patent/JP7323175B2/en
Publication of JP2021082434A publication Critical patent/JP2021082434A/en
Priority to JP2023118561A priority patent/JP2023129537A/en
Application granted granted Critical
Publication of JP7323175B2 publication Critical patent/JP7323175B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Description

本発明は、製品検査等に用いられる照明装置及び照明装置を用いた照明システムに関する。 The present invention relates to a lighting device used for product inspection and the like and a lighting system using the lighting device.

一般に、照明装置は、光源と、第1レンズ(ロッドレンズ)と、拡散レンズとを主に備えている。第1レンズは、光源から発せられた光を集光するものである。拡散レンズは、第1レンズにより集光された光を拡散して照射するものである。そして、照射された光をラインセンサカメラで撮像し、ラインセンサカメラによって各種機器の欠陥(例えば、傷等の表面欠陥)の有無を検出する。 In general, an illumination device mainly includes a light source, a first lens (rod lens), and a diffusing lens. The first lens condenses light emitted from the light source. The diffusing lens diffuses and irradiates the light condensed by the first lens. A line sensor camera captures an image of the irradiated light, and the line sensor camera detects the presence or absence of defects (for example, surface defects such as scratches) in various devices.

特開2010-203923号公報JP 2010-203923 A

しかしながら、従来の照明装置は、ケーブルと照明装置を接続する向きが定められているため、検査場における検査装置のレイアウト(配置)に制限がかかってしまうという問題がある。 However, the conventional lighting device has a problem that the layout (arrangement) of the inspection device in the inspection field is restricted because the direction of connecting the cable and the lighting device is determined.

そこで、本発明は、上記事情に鑑みてなされたものであり、ケーブルとの接続の自由度を高め、検査場における検査装置のレイアウト(配置)の自由度を高めることができる照明装置を提供することを目的とする。 Therefore, the present invention has been made in view of the above circumstances, and provides an illumination device that can increase the degree of freedom in connection with cables and the degree of freedom in the layout (arrangement) of inspection devices in an inspection field. for the purpose.

本発明による照明装置の特徴は、
複数の光源制御基板を有する照明装置であって、
前記複数の光源制御基板の各々は、
所定の明るさの光を発する光源と、
前記光源から発せられる光の明るさに対応する制御値を記憶する記憶部と、
前記制御値を読み出し、読み出した制御値に基づいて駆動信号を生成して前記光源に供給する制御部と、
を備え、
前記複数の光源制御基板の各々の制御部は、他の光源制御基板を識別するための識別情報を生成することができ
前記複数の光源制御基板の各々は、前記識別情報の送受信を制御するための通信ポートを更に備え、
前記複数の光源制御基板は、第1の光源制御基板及び第2の光源制御基板を含み、
前記第1の光源制御基板の制御部は、前記通信ポートを介して、前記第2の光源制御基板を、前記識別情報の受信ができる受信許可状態にし、
前記複数の光源制御基板の各々は、前記通信ポートとは別に、コマンドラインに通信可能に接続され、
前記第2の光源制御基板の制御部は、前記受信許可状態にされたことを契機に、前記コマンドラインを介して前記識別情報を受信することである。
The lighting device according to the invention is characterized by:
A lighting device having a plurality of light source control boards,
Each of the plurality of light source control boards,
a light source that emits light with a predetermined brightness;
a storage unit that stores a control value corresponding to the brightness of light emitted from the light source;
a control unit that reads the control value, generates a drive signal based on the read control value, and supplies the drive signal to the light source;
with
each control unit of the plurality of light source control boards can generate identification information for identifying other light source control boards ;
each of the plurality of light source control boards further comprises a communication port for controlling transmission and reception of the identification information;
The plurality of light source control boards includes a first light source control board and a second light source control board,
The control unit of the first light source control board puts the second light source control board into a reception permission state in which the identification information can be received via the communication port,
each of the plurality of light source control boards is communicably connected to a command line separately from the communication port;
The control unit of the second light source control board receives the identification information via the command line, triggered by the reception permission state.

本発明によれば、検査場における検査装置のレイアウト(配置)に合わせて照明装置とケーブルとを容易に接続することができる。 According to the present invention, the lighting device and the cable can be easily connected according to the layout (arrangement) of the inspection devices in the inspection field.

本実施形態による検査装置の照明システムを示すブロック図である。It is a block diagram showing an illumination system of the inspection device according to the present embodiment. 本実施形態における照明装置の外観図である。1 is an external view of a lighting device according to this embodiment; FIG. 本実施形態による照明装置の全体構成を示す斜視図である。BRIEF DESCRIPTION OF THE DRAWINGS It is a perspective view which shows the whole structure of the illuminating device by this embodiment. 本実施形態による照明装置の長手方向の光の進行状態を示す概略図である。FIG. 4 is a schematic diagram showing how light travels in the longitudinal direction of the lighting device according to the present embodiment; 本実施形態による照明システムの全体の回路の構成の概略を示すブロック図である。1 is a block diagram showing an outline of the overall circuit configuration of a lighting system according to this embodiment; FIG. 本実施形態によるLED群による照明のタイミングチャートである。4 is a timing chart of illumination by the LED group according to the present embodiment; 本実施形態による電源装置制御処理のフローチャートである。4 is a flowchart of power supply control processing according to the embodiment; 本実施形態による照明制御処理のフローチャートである。4 is a flowchart of lighting control processing according to the embodiment; 本実施形態によるアドレス割り振り処理に用いる電気構成の概略図である。FIG. 4 is a schematic diagram of an electrical configuration used for address allocation processing according to the present embodiment; 本実施形態によるアドレス割り振り処理のフローチャートである。4 is a flowchart of address allocation processing according to the present embodiment; 本実施形態による照度検出システムのブロック図(a)と、本実施形態による照明装置と照明検出部の外観斜視図(b)とである。It is a block diagram (a) of the illuminance detection system by this embodiment, and the external perspective view (b) of the illuminating device by this embodiment, and an illumination detection part. 本実施形態による100%用設定処理の具体例を示す図である。It is a figure which shows the specific example of the setting process for 100% by this embodiment. 本実施形態による50%用設定処理の具体例を示す図である。It is a figure which shows the specific example of the setting process for 50% by this embodiment. 本実施形態による1%用設定処理の具体例を示す図である。It is a figure which shows the specific example of the setting process for 1% by this embodiment. 本実施形態によるPC側制御処理のフローチャートである。4 is a flowchart of PC-side control processing according to the present embodiment; 本実施形態による100%用設定処理のフローチャート(a)と、本実施形態による50%用設定処理のフローチャート(b)と、本実施形態による1%用設定処理のフローチャート(c)とである。10 is a flowchart (a) of 100% setting processing according to this embodiment, a flowchart (b) of 50% setting processing according to this embodiment, and a flowchart (c) of 1% setting processing according to this embodiment. 本実施形態による電源側調光調整処理のフローチャートである。5 is a flowchart of power supply side dimming adjustment processing according to the present embodiment; 本実施形態による照明側調光調整処理のフローチャートである。6 is a flowchart of illumination-side dimming adjustment processing according to the embodiment; 本実施形態による調光調整完了時の登録イメージ図の一例である。It is an example of the registration image figure at the time of the completion of light control adjustment by this embodiment. 本実施形態による全照度モードの概略図と(a)、本実施形態による低照度モード、中照度モード、高照度モードの概略図と(b)である。It is the schematic of the full illumination mode by this embodiment, (a), and the schematic of the low illumination intensity mode by this embodiment, the medium illumination intensity mode, and the high illumination intensity mode, and (b). 本実施形態によるエラーチェック処理のフローチャートである。4 is a flowchart of error check processing according to the embodiment;

<<<照明システムの概要>>>
照明システムは、主に、検査対象物に欠陥が存在するか否かの検査に用いるシステムであり、検査用の光を検査対象物に照明するシステムである。操作者(例えば、検査者)が電源装置等を操作することにより光の明るさの設定を行い、照明装置が明るさの設定に応じた光を照射することにより検査対象物の欠陥の種類に応じた検査を行う。
<<<Outline of Lighting System>>>
The illumination system is mainly used for inspecting whether or not defects exist in an inspection object, and is a system that illuminates the inspection object with inspection light. An operator (for example, an inspector) sets the brightness of the light by operating the power supply, etc., and the illumination device irradiates the light according to the brightness setting, thereby identifying the type of defects in the inspection object. Conduct appropriate inspections.

<<<<本実施の形態の概要>>>>
本実施の形態の照明装置は、複数のLED基板を有し、1のLED基板には複数のLED(LED群)を有し、LED群の各々を識別するための識別情報を電源投入時に割り当てることで、必要に応じて、複数のLED群の各々を別個に制御することが可能となる。本実施の形態の照明装置は、低輝度(低照度)から高輝度(高照度)に至るまで、複数のLED基板のLED群から発する光の輝度(照度)を均一に近づけて制御するために、3点(明暗度が1%、50%、100%)におけるLED群の光の輝度(照度)を均一にし、全体としても均一化された光を照射することを可能としている。
<<<<outline of the present embodiment>>>>
The lighting device of the present embodiment has a plurality of LED boards, a plurality of LEDs (LED group) on one LED board, and identification information for identifying each LED group is assigned when power is turned on. This allows each of the multiple LED groups to be controlled separately, if desired. In the lighting device of the present embodiment, from low luminance (low illuminance) to high luminance (high illuminance), in order to control the luminance (illuminance) of light emitted from LED groups of a plurality of LED substrates to be nearly uniform. , 3 points (intensity of 1%, 50%, and 100%) of the light from the LED group is made uniform, and uniform light can be emitted as a whole.

<第1の実施の態様>
第1の実施の態様の照明装置は、
所定の明るさの光を発する光源と、
前記光源から発せられる光の明るさに対応する制御値(DAC値)を記憶する記憶部と、
制御コマンドを送受信するための通信ポートと、
前記制御値を読み出し、読み出した制御値に基づいて駆動信号を生成して前記光源に供給し、前記通信ポートの第1ポートが第1値(LOWレベル)のときは、制御コマンドを受信する一方、前記第1ポートが第2値(HIGHレベル)のときは、制御コマンドを受信しない制御部と、
を備え、
前記制御部は、前記第1ポートが第1値のときに制御コマンドを受信することにより、識別情報を記憶するように構成されている、照明装置である。
<First Embodiment>
The lighting device of the first embodiment includes:
a light source that emits light with a predetermined brightness;
a storage unit that stores a control value (DAC value) corresponding to the brightness of light emitted from the light source;
a communication port for sending and receiving control commands;
reading the control value, generating a drive signal based on the read control value and supplying it to the light source, and receiving a control command when the first port of the communication ports is at a first value (LOW level); a control unit that does not receive a control command when the first port is at a second value (HIGH level);
with
The control unit is a lighting device configured to store identification information by receiving a control command when the first port has a first value.

第1の実施の態様の照明装置は、光源と記憶部と通信ポートと制御部を備える。光源は、所定の明るさの光を発する。明るさは、光源から発せられる光の明るさを直接的又は間接的に示すものであればよく、例えば、照度や輝度や光度などにすることができる。照度は、物体の表面を照らす光の明るさであり、光源からの距離に左右される。輝度は、光源の明るさであり、光源からの距離に左右されない。明るさとして、照度を採用した場合には、光源からの距離を一定の距離にすることで、光源の明るさを示すことができる。光度は、光源からある方向に放射された単位立体角当たりの光の明るさである。光源から発せられた光は、検査対象物を照明する。検査対象となる欠陥は、凸状の欠陥やスジ状の欠陥や凹状の欠陥や打痕のほかにゴミなどであり、これらの欠陥は、検査対象物の表面等に存在する。検査対象物を照明することによって、これらの欠陥を検出することができる。 A lighting device according to a first embodiment includes a light source, a storage section, a communication port, and a control section. The light source emits light with a predetermined brightness. Brightness may directly or indirectly indicate the brightness of light emitted from a light source, and may be, for example, illuminance, luminance, or luminosity. Illuminance is the brightness of the light that illuminates the surface of an object, and depends on the distance from the light source. Luminance is the brightness of a light source and does not depend on the distance from the light source. When illuminance is used as the brightness, the brightness of the light source can be indicated by keeping the distance from the light source constant. Luminous intensity is the brightness of light per unit solid angle emitted in a direction from a light source. Light emitted from the light source illuminates the inspection object. Defects to be inspected include convex defects, streak defects, concave defects, dents, dust, and the like, and these defects exist on the surface of the inspection object. By illuminating the inspection object, these defects can be detected.

LED基板350のCPU351は、I/Oポート(通信ポート)で制御コマンドを受信可能となっている。LED基板350のCPU351が送受信するコマンドをまとめて制御コマンドと称し、ここでは、制御コマンドには、識別情報(アドレス番号)を記憶するために用いるアドレス割り振りコマンドが含まれる。識別情報は、制御部(LED基板350など)を識別するための情報である。なお、後述するLEDの点灯制御等では、制御コマンドには、後述する入力値に関するコマンドが含まれる。 The CPU 351 of the LED board 350 can receive control commands through an I/O port (communication port). Commands sent and received by the CPU 351 of the LED board 350 are collectively referred to as control commands. Here, the control commands include an address allocation command used for storing identification information (address number). The identification information is information for identifying the control unit (LED board 350, etc.). In addition, in the lighting control of an LED, etc., which will be described later, the control command includes a command related to an input value, which will be described later.

図9に示すように、LED基板350-1では、I/Oポート359-1(通信ポート)のポート1は端部基板310と接続されているためLOWレベルとなっている。LED基板350-1のCPU351-1は、I/Oポート359-1のポート1がLOWレベルであるため、電源装置200のCPU201から送信されたアドレス割り振りコマンドを受信する。このとき、LED基板350-2では、I/Oポート359-2のポート1が、制御電圧によりHIGHレベルとなっている。LED基板350-2のCPU351-2は、I/Oポート359-2のポート1がHIGHレベルであるため、アドレス割り振りコマンドを受信しない。 As shown in FIG. 9, in the LED board 350-1, the port 1 of the I/O port 359-1 (communication port) is connected to the end board 310 and is at the LOW level. CPU 351 - 1 of LED board 350 - 1 receives the address allocation command sent from CPU 201 of power supply 200 because port 1 of I/O port 359 - 1 is at the LOW level. At this time, in the LED board 350-2, the port 1 of the I/O port 359-2 is at HIGH level by the control voltage. The CPU 351-2 of the LED board 350-2 does not receive the address allocation command because port 1 of the I/O port 359-2 is at HIGH level.

このように、LED基板350-1のCPU351-1は、複数のLED基板350のCPU351のなかで、最初にアドレス割り振りコマンドを受信し、アドレス番号を記憶する。 Thus, the CPU 351-1 of the LED board 350-1 is the first among the CPUs 351 of the plurality of LED boards 350 to receive the address allocation command and store the address number.

<第2の実施の態様>
第2の実施の態様の照明装置は、第1の実施の態様において、
前記通信ポートは、前記第1ポートとは異なる第2ポートと、を備え、
前記制御部は、前記識別情報を記憶した後、前記第2ポートを第2値から第1値に変更する照明装置である。
<Second Embodiment>
In the lighting device of the second embodiment, in the first embodiment,
the communication port comprises a second port different from the first port;
The controller is a lighting device that changes the second port from a second value to a first value after storing the identification information.

図9及び図10に示す通り、I/Oポート(通信ポート)は、少なくともポート1とポート2とを備えており、アドレス割り振りコマンドを受信したCPUは、アドレス番号を記憶した後、ポート2をHIGHレベルからLOWレベルに変更する。 As shown in FIGS. 9 and 10, the I/O ports (communication ports) include at least port 1 and port 2. Upon receiving the address allocation command, the CPU stores the address number and then selects port 2. Change from HIGH level to LOW level.

図9に示すように、LED基板350(例えば、LED基板350-1)のI/Oポート359(例えば、I/Oポート359-1)のポート2は隣り合うLED基板350(例えば、LED基板350-2)のI/Oポート359(例えば、I/Oポート359-2)のポート1と接続される。このため、CPU351(例えば、CPU351-1)が、ポート2をLOWレベルに変更することで、次のLED基板350(例えば、LED基板350-2)のI/Oポート359のポート1がLOWレベルとなり、次のLED基板350のCPU351(例えば、CPU351-2)がアドレス割り振りコマンドを受信することが可能となる。このように、識別情報が既に割り振られているLED基板350-1が、識別情報が未だに割り振られていない隣りのLED基板350-2の第1ポートの値を第2値から第1値に変更することによって、LED基板350-2を、識別情報を次に割り振る対象にすることができる。言い換えれば、第1ポートの値が第2値であるLED基板350は、識別情報の割り振りが禁止されている状態であり、第1ポートの値が第1値であるLED基板350は、識別情報の割り振りが許可された状態である。 As shown in FIG. 9, port 2 of the I/O port 359 (eg, I/O port 359-1) of the LED board 350 (eg, LED board 350-1) is connected to the adjacent LED board 350 (eg, LED board 350-1). 350-2) is connected to port 1 of the I/O port 359 (eg, I/O port 359-2). Therefore, when the CPU 351 (for example, CPU 351-1) changes the port 2 to LOW level, the port 1 of the I/O port 359 of the next LED board 350 (for example, LED board 350-2) becomes LOW level. As a result, the CPU 351 (for example, CPU 351-2) of the next LED board 350 can receive the address allocation command. In this way, the LED board 350-1 to which the identification information has already been assigned changes the value of the first port of the adjacent LED board 350-2 to which the identification information has not yet been assigned from the second value to the first value. By doing so, the LED board 350-2 can be the target to which the identification information is to be allocated next. In other words, the LED board 350 whose first port value is the second value is in a state in which allocation of identification information is prohibited, and the LED board 350 whose first port value is the first value is in a state where the identification information allocation is allowed.

<第3の実施の態様>
第3の実施の態様の照明装置は、第1の実施の態様又は第2の実施の態様において、
前記制御部は、複数の光源の少なくとも一部を一括して制御することが可能に構成され、前記識別情報を記憶した後、前記識別情報を更新するように構成されている照明装置である。
<Third Embodiment>
In the lighting device of the third embodiment, in the first embodiment or the second embodiment,
The control unit is a lighting device configured to collectively control at least some of the plurality of light sources, and configured to update the identification information after storing the identification information.

LED基板350のCPU351(例えば、LED基板350-1のCPU351-1)は、LED基板350に搭載された26個のLEDのうち、第1の13個分のLED群(例えば、LED-a356a)と第2の13個分のLED群(例えば、LED-b356b)を制御することが可能となっている。つまり、LED基板350のCPU351は、第1の13個分のLED群に対応する制御値にて第1の13個分のLED群を制御し、第2の13個分のLED群に対応する制御値にて第2の13分のLED群を制御する。なお、LED基板350のCPU351は、26個のLEDを別個に制御しても、26個のLEDの全てを一括して制御してもよい。 The CPU 351 of the LED board 350 (for example, the CPU 351-1 of the LED board 350-1) selects the first 13 of the 26 LEDs mounted on the LED board 350 (for example, the LED-a 356a). and a second group of 13 LEDs (for example, LED-b 356b) can be controlled. That is, the CPU 351 of the LED board 350 controls the first 13 LED groups with the control values corresponding to the first 13 LED groups, and controls the second 13 LED groups. The control value controls the second group of 13 minute LEDs. Note that the CPU 351 of the LED board 350 may control the 26 LEDs individually or collectively control all the 26 LEDs.

アドレス番号は、照明装置300におけるLED群の番号を示す。CPU351は、アドレス割り振りコマンドを受信してアドレス番号を記憶すると、LED群の数に応じてアドレス番号を更新する。 The address number indicates the number of the LED group in lighting device 300 . When the CPU 351 receives the address allocation command and stores the address number, the CPU 351 updates the address number according to the number of LED groups.

このように、アドレス番号は1のLED群に対応して定められるよう構成されている。 Thus, the address number is configured to be determined corresponding to one LED group.

<第4の実施の態様>
第4の実施の態様の照明システムは、
第1の実施の態様乃至第3の実施の態様に記載のいずれかの照明装置と、
前記照明装置と別体に構成され、前記照明装置へ電力を供給する電源装置と、
を有し、
前記電源装置の制御部は、前記照明装置へ制御コマンドを送信し、
前記照明装置の制御部は、前記識別情報を記憶した後、第2ポートが第1値のとき、前記識別情報を記憶した旨を示すコマンドを送信するように構成されている照明システムである。
<Fourth Embodiment>
The lighting system of the fourth embodiment comprises:
any lighting device according to the first embodiment to the third embodiment;
a power supply device configured separately from the lighting device and supplying power to the lighting device;
has
The control unit of the power supply device transmits a control command to the lighting device,
In the lighting system, the control unit of the lighting device is configured to transmit a command indicating that the identification information has been stored when the second port has a first value after storing the identification information.

図1、図7及び図9に示す通り、電源装置200と照明装置300は別体であり、電源装置200が送信するアドレス番号割り振りコマンドに基づいて、LED基板350のCPU351は、アドレス番号を割り振り、記憶するように構成されている。なお、電源装置200と照明装置300は有線で接続されても無線で接続されてもよい。 As shown in FIGS. 1, 7 and 9, the power supply device 200 and the lighting device 300 are separate units, and the CPU 351 of the LED board 350 assigns an address number based on the address number assignment command transmitted by the power supply device 200. , is configured to store. Note that the power supply device 200 and the lighting device 300 may be connected by wire or wirelessly.

このように、電源装置200と照明装置300が接続(例えば、ケーブル等で接続)され、電源装置200から照明装置300へ電源(電力)が供給されると、電源装置200からアドレス番号割り振りコマンドが照明装置300へ送信され、照明装置300のLED基板350のCPU351は、受信した順番にアドレス番号を割り振って記憶する。照明装置300の全てのLED基板350のCPU351がアドレス番号の割り振り処理を終えると、最後のLED基板のCPUは、電源装置200へアドレス割り振り処理の終了コマンドを送信する。これにより、電源装置200は、照明装置300でのアドレス番号割り振り処理が正常に終了していることを認識でき、電源装置200側から照明装置300の制御に関する操作を行うことができるようになる。 In this way, when the power supply device 200 and the lighting device 300 are connected (for example, by a cable or the like) and power (electric power) is supplied from the power supply device 200 to the lighting device 300, an address number allocation command is issued from the power supply device 200. It is transmitted to the illumination device 300, and the CPU 351 of the LED board 350 of the illumination device 300 assigns and stores address numbers in order of reception. When the CPUs 351 of all the LED boards 350 of the illumination device 300 finish the address number allocation process, the CPU of the last LED board transmits an address allocation process end command to the power supply device 200 . As a result, the power supply device 200 can recognize that the address number assignment processing in the lighting device 300 has been completed normally, and the power supply device 200 can perform operations related to control of the lighting device 300 .

前述したように、LED基板350の第1ポートの値を第2値から第1値に変更することで、識別情報の割り振り禁止状態から割り振り許可状態に変更する。割り振り許可状態に変更されたLED基板350が、識別情報を示すコマンドを受信すると、その識別情報がLED基板350に割り振られる。すなわち、第1ポートの値が第2値である割り振り禁止状態のLED基板350が、識別情報を示すコマンドを受信しても、そのLED基板350に、識別情報が割り振られることはない。 As described above, by changing the value of the first port of the LED board 350 from the second value to the first value, the identification information allocation prohibited state is changed to the allocation permitted state. When the LED board 350 changed to the allocation-permitted state receives a command indicating identification information, the identification information is allocated to the LED board 350 . That is, even if the LED board 350 in the allocation prohibited state whose first port value is the second value receives the command indicating the identification information, the LED board 350 is not allocated the identification information.

<<<<本実施の形態>>>>
以下、図面を参照しながら、本発明の本実施の形態(以下、本実施形態と称する)について説明する。本明細書及び図面においては、同一の符号が付された構成要素は、実質的に同一の構造または機能を有するものとする。
<<<<this embodiment>>>>
BEST MODE FOR CARRYING OUT THE INVENTION The present embodiment of the present invention (hereinafter referred to as the present embodiment) will be described below with reference to the drawings. In this specification and drawings, components with the same reference numerals have substantially the same structure or function.

<<<照明システムの構成>>>
図1を参照しながら、本実施形態に係る照明システムについて説明する。本実施形態に係る照明システムは、パーソナルコンピュータ等を含む外部機器100と電源装置200と照明装置300とを有する。外部機器100と電源装置200とは、ケーブル等(コマンドラインCL、制御信号ラインPL)で接続され、外部機器100と電源装置200との間で、コマンドや信号の送受信を行うことができる。電源装置200と照明装置300とは、ケーブル等(コマンドラインCL、制御信号ラインPL、電源ラインEL)で接続され、電源装置200と照明装置300との間で、コマンドや信号の送受信を行うことができる。このように構成することで、明るさの設定に応じた光を照明装置300から発することができる。
<<<Lighting system configuration>>>
A lighting system according to the present embodiment will be described with reference to FIG. The lighting system according to this embodiment includes an external device 100 including a personal computer or the like, a power supply device 200 and a lighting device 300 . The external device 100 and the power supply device 200 are connected by a cable (command line CL, control signal line PL) or the like, and commands and signals can be transmitted and received between the external device 100 and the power supply device 200 . The power supply device 200 and the lighting device 300 are connected by a cable or the like (command line CL, control signal line PL, power line EL), and commands and signals are transmitted and received between the power supply device 200 and the lighting device 300. can be done. By configuring in this way, the lighting device 300 can emit light according to the brightness setting.

<<外部機器100>>
外部機器100は、検査対象物を検査するための検査装置(図示せず)の一部をなす。外部機器100は、操作者が操作可能である。外部機器100は、パルス信号を出力する。パルス信号は、制御信号ラインPLを介して、後述する外部機器100から電源装置200に供給され、電源装置200から照明装置300に供給される。パルス信号は、照明装置300のLEDの点灯制御や消灯制御に用いられる。操作者は、外部機器100を操作することで、パルス信号の周期などを設定することができる。
<<external device 100>>
The external device 100 forms part of an inspection device (not shown) for inspecting an inspection object. The external device 100 can be operated by an operator. The external device 100 outputs a pulse signal. The pulse signal is supplied from an external device 100 (to be described later) to the power supply device 200 via the control signal line PL, and is supplied from the power supply device 200 to the lighting device 300 . The pulse signal is used for lighting control and extinguishing control of the LEDs of the lighting device 300 . The operator can set the cycle of the pulse signal by operating the external device 100 .

<<電源装置200>>
電源装置200は、CPU201と、ROM202と、RAM203と、EEPROM(登録商標)204と、通信インターフェース205と、ディスプレイ206と、操作部207(ボリューム270A、スイッチ270B)と、I/Oポート208とを主に備え、電源ラインELを介して、後述する端部基板310、端部基板320及びLED基板350(LED基板350-1、LED基板350-2、LED基板350-3、LED基板350-4)へ電源電圧(例えば、35V~45V)を供給する。電源装置200は、コマンドラインCLを介して、制御コマンドを照明装置300に送信するとともに、制御信号ラインPLを介して、外部機器100から出力されたパルス信号も照明装置300に出力する。電源装置200は、外部機器100から出力された外部パルス信号をそのまま出力しても、波形整形などの信号処理を施してから出力してもよい。なお、電源装置200は、図示しない外部電源に接続されて電源電圧が供給される。
<<power supply device 200>>
Power supply device 200 includes CPU 201, ROM 202, RAM 203, EEPROM (registered trademark) 204, communication interface 205, display 206, operation unit 207 (volume 270A, switch 270B), and I/O port 208. Mainly, an end substrate 310, an end substrate 320, and an LED substrate 350 (LED substrate 350-1, LED substrate 350-2, LED substrate 350-3, LED substrate 350-4, which will be described later) are connected via the power supply line EL. ) with a power supply voltage (eg, 35 V to 45 V). The power supply device 200 transmits a control command to the lighting device 300 via the command line CL, and also outputs a pulse signal output from the external device 100 to the lighting device 300 via the control signal line PL. The power supply device 200 may output the external pulse signal output from the external device 100 as it is, or may output the signal after performing signal processing such as waveform shaping. The power supply device 200 is connected to an external power supply (not shown) and supplied with power supply voltage.

<<照明装置300>>
照明装置300は、端部基板310、端部基板320及び複数の、例えば4個のLED基板350(350-1、350-2、350-3、350-4)を主に備えている。図1では、LED基板350-2及びLED基板350-3を省略して示した。4個のLED基板(350-1、350-2、350-3、350-4)は、端部基板310と端部基板320の間に、並列に接続されている。以下の説明で4個のLED基板(350-1、350-2、350-3、350-4)を区別する必要がない場合には、単に、LED基板350と称する。電源装置200のCPU201から送信された制御コマンドは、コマンドラインCLを介して、LED基板350-1、LED基板350-2、LED基板350-3、LED基板350-4に入力される。後述するように、複数のLED基板350の各々は、同様の構成を有し、26個のLEDが搭載されている。照明装置300の全体構成については図2及び図3を用いて後述する。
<<Lighting Device 300>>
The illumination device 300 mainly includes an edge substrate 310, an edge substrate 320 and a plurality of, eg, four LED substrates 350 (350-1, 350-2, 350-3, 350-4). In FIG. 1, the LED board 350-2 and the LED board 350-3 are omitted. Four LED boards (350-1, 350-2, 350-3, 350-4) are connected in parallel between the end board 310 and the end board 320. FIG. Unless it is necessary to distinguish between the four LED boards (350-1, 350-2, 350-3, 350-4) in the following description, they are simply referred to as LED boards 350. FIG. Control commands transmitted from the CPU 201 of the power supply device 200 are input to the LED boards 350-1, 350-2, 350-3, and 350-4 via the command line CL. As will be described later, each of the plurality of LED boards 350 has a similar configuration and 26 LEDs are mounted thereon. The overall configuration of the illumination device 300 will be described later with reference to FIGS. 2 and 3. FIG.

<端部基板310>
端部基板310は、電源装置200のCPU201から送信された制御コマンドを照明装置300のLED基板350へ送信する際の中継基板として及び照明装置300のLED基板350から送信された制御コマンドを電源装置200のCPU201へ送信する際の中継基板として機能する。端部基板310には、コマンドラインCL、制御信号ラインPLなどのケーブルを中継するためのコネクタ(図示せず)が設けられている。また、端部基板310には、コンデンサーなどの受動素子等が備えられていてもよい。例えば、受動素子等によってノイズフィルター等を構成することができる。
<End substrate 310>
The end substrate 310 serves as a relay substrate when transmitting a control command transmitted from the CPU 201 of the power supply device 200 to the LED substrate 350 of the lighting device 300, and transmits a control command transmitted from the LED substrate 350 of the lighting device 300 to the power supply device. It functions as a relay board for transmission to the CPU 201 of the 200 . The end substrate 310 is provided with connectors (not shown) for relaying cables such as the command line CL and the control signal line PL. Also, the end substrate 310 may be provided with a passive element such as a capacitor. For example, a noise filter or the like can be configured by a passive element or the like.

<LED基板350(350-1、350-2、350-3、350-4)>
LED基板350は、CPUと、ROMと、RAMと、EEPROMと、DAC-aと、DAC-bと、LED-aと、LED-bと、I/Oポートとを主に備える。4個のLED基板350のCPU(351-1、351-2、351-3、351-4)を区別する必要がない場合には、単に、CPU351と称する。4個のLED基板350のROM(352-1、352-2、352-3、352-4)を区別する必要がない場合には、単に、ROM352と称する。4個のLED基板350のRAM(353-1、353-2、353-3、353-4)を区別する必要がない場合には、RAM353と称する。4個のLED基板350のEEPROM(354-1、354-2、354-3、354-4)を区別する必要がない場合には、EEPROM354と称する。4個のLED基板350のDAC-a(355a-1、355a-2、355a-3、355a-4)を区別する必要がない場合には、DAC-a355aと称する。4個のLED基板350のDAC-b(355b-1、355b-2、355b-3、355b-4)を区別する必要がない場合には、DAC-b355bと称する。4個のLED基板350のLED-a(356a-1、356a-2、356a-3、356a-4)を区別する必要がない場合には、LED-a356aと称する。4個のLED基板350のLED-b356b(356b-1、356b-2、356b-3、356b-4)を区別する必要がない場合には、LED-b356bと称する。4個のLED基板350のI/Oポート(359-1、359-2、359-3、359-4)を区別する必要がない場合には、I/Oポート359と称する。
<LED substrate 350 (350-1, 350-2, 350-3, 350-4)>
The LED board 350 mainly includes a CPU, ROM, RAM, EEPROM, DAC-a, DAC-b, LED-a, LED-b, and an I/O port. When there is no need to distinguish between the CPUs (351-1, 351-2, 351-3, 351-4) of the four LED boards 350, they are simply referred to as CPUs 351. FIG. The ROMs (352-1, 352-2, 352-3, 352-4) of the four LED boards 350 are simply referred to as ROMs 352 when there is no need to distinguish them. The RAMs (353-1, 353-2, 353-3, 353-4) of the four LED boards 350 are referred to as RAMs 353 when there is no need to distinguish them. The EEPROMs (354-1, 354-2, 354-3, 354-4) of the four LED boards 350 are referred to as EEPROMs 354 when there is no need to distinguish them. The DAC-a (355a-1, 355a-2, 355a-3, 355a-4) of the four LED boards 350 are referred to as DAC-a 355a when there is no need to distinguish them. The DAC-b (355b-1, 355b-2, 355b-3, 355b-4) of the four LED boards 350 are referred to as DAC-b 355b when there is no need to distinguish them. When there is no need to distinguish the LED-a (356a-1, 356a-2, 356a-3, 356a-4) of the four LED boards 350, they are referred to as LED-a 356a. When there is no need to distinguish the LED-b 356b (356b-1, 356b-2, 356b-3, 356b-4) of the four LED boards 350, they are referred to as LED-b 356b. The I/O ports (359-1, 359-2, 359-3, 359-4) of the four LED boards 350 are referred to as I/O ports 359 when there is no need to distinguish them.

LED基板350には、26個のLEDが搭載されている。本実施形態では、LED基板350は、26個のLEDを半分に分割して制御する。すなわち、LED基板350は、26個のLEDのうちの第1の13個分のLED群(LED-a356aと称する)と、残りの第2の13個分のLED群(LED-b356bと称する)との各々を制御する。26個のLEDは、LED基板350で直線状に配置されている。26個のLEDのうち、第1~第13番目のLEDがLED-a356aに属し、第14~第26番目のLEDがLED-b356bに属する。 26 LEDs are mounted on the LED board 350 . In this embodiment, the LED board 350 divides the 26 LEDs in half and controls them. That is, the LED board 350 includes a first group of 13 LEDs (referred to as LED-a 356a) of the 26 LEDs and a second group of 13 LEDs (referred to as LED-b 356b). and control each of the The 26 LEDs are linearly arranged on the LED substrate 350 . Of the 26 LEDs, the 1st to 13th LEDs belong to LED-a 356a, and the 14th to 26th LEDs belong to LED-b 356b.

DAC-a355a(DAC-b355b)は、D/Aコンバータであり、LED-a356a(LED-b356b)の制御を行うために用いられ、デジタル信号をアナログ信号に変換する回路を備える。このDAC-a355a(DAC-b355b)により、後述するように、CPU351から出力されるデジタル信号をアナログ信号に変換することができる。CPU351から出力されるデジタル信号はDAC値(0~4095)を示し、DAC値は、DAC-a355a(DAC-b355b)によってアナログ信号の電圧値に変換される。 The DAC-a 355a (DAC-b 355b) is a D/A converter, used to control the LED-a 356a (LED-b 356b), and has a circuit that converts a digital signal into an analog signal. The DAC-a 355a (DAC-b 355b) can convert a digital signal output from the CPU 351 into an analog signal, as will be described later. A digital signal output from the CPU 351 indicates a DAC value (0 to 4095), and the DAC value is converted to an analog signal voltage value by the DAC-a 355a (DAC-b 355b).

照明装置300に備えられるLED基板350の数は、検査対象物の幅(長さなど)や操作者が必要とする照明装置300の長さに応じて適宜変更可能である。 The number of LED boards 350 provided in the illumination device 300 can be changed as appropriate according to the width (length, etc.) of the inspection object and the length of the illumination device 300 required by the operator.

<端部基板320>
端部基板320は、電源装置200のCPU201から送信された制御コマンドを照明装置300のLED基板350へ送信する際の中継基板として及び照明装置300のLED基板350から送信された制御コマンドを電源装置200のCPU201へ送信する際の中継基板として機能する。端部基板320には、コマンドラインCL、制御信号ラインPLなどのケーブルを中継するためのコネクタ(図示せず)が設けられている。また、端部基板320には、コンデンサーなどの受動素子等が備えられていてもよい。例えば、受動素子等によってノイズフィルター等を構成することができる。
<End substrate 320>
The end substrate 320 serves as a relay substrate when transmitting control commands transmitted from the CPU 201 of the power supply device 200 to the LED substrate 350 of the lighting device 300, and transmits control commands transmitted from the LED substrate 350 of the lighting device 300 to the power supply device. It functions as a relay board for transmission to the CPU 201 of the 200 . The end substrate 320 is provided with connectors (not shown) for relaying cables such as the command line CL and the control signal line PL. Also, the end substrate 320 may be provided with a passive element such as a capacitor. For example, a noise filter or the like can be configured by a passive element or the like.

<コマンドラインCL、制御信号ラインPL、電源ラインEL>
外部機器100と電源装置200とはケーブル等により接続される。電源装置200と照明装置300とはケーブル等により接続される。図1に示す通り、照明装置300では、端部基板310とLED基板350-1、LED基板350-1とLED基板350-2、LED基板350-2とLED基板350-3、LED基板350-3とLED基板350-4、LED基板350-4と端部基板320とが、ケーブル等により接続されている。このように接続されることで、外部機器100、電源装置200及び照明装置300との間で制御コマンドの送受信が可能となるコマンドラインCLが構成され、外部機器100から発信された制御信号(パルス信号)を電源装置200及びLED基板350へ入力するための制御信号ラインPLが構成され、電源装置200及びLED基板350が電気的に接続される電源ラインELが構成される。
<Command line CL, control signal line PL, power supply line EL>
The external device 100 and the power supply device 200 are connected by a cable or the like. The power supply device 200 and the lighting device 300 are connected by a cable or the like. As shown in FIG. 1, in lighting device 300, end substrate 310 and LED substrate 350-1, LED substrate 350-1 and LED substrate 350-2, LED substrate 350-2 and LED substrate 350-3, and LED substrate 350- 3 and the LED board 350-4, and the LED board 350-4 and the end board 320 are connected by cables or the like. By being connected in this way, a command line CL is configured that enables transmission and reception of control commands between the external device 100, the power supply device 200, and the lighting device 300, and the control signal (pulse signal) transmitted from the external device 100 is configured. signal) to the power supply device 200 and the LED substrate 350, and a power supply line EL to which the power supply device 200 and the LED substrate 350 are electrically connected.

<<<照明装置300の全体構成>>>
次に、図2は、照明装置300の外観図である。照明装置300の側面にコネクタ20(レセプタクル)及びコネクタ21(レセプタクル)が設けられている。コネクタ20又はコネクタ21は、電源装置200のコネクタとケーブル等により接続される。このように接続されることにより、電源装置200から照明装置300に電源(電力)が供給され、電源装置200と照明装置300との間で制御コマンドを送受信することできる。
<<<Overall Configuration of Lighting Device 300>>>
Next, FIG. 2 is an external view of the illumination device 300. As shown in FIG. A connector 20 (receptacle) and a connector 21 (receptacle) are provided on the side surface of the lighting device 300 . The connector 20 or the connector 21 is connected to a connector of the power supply device 200 by a cable or the like. By being connected in this manner, power (power) is supplied from the power supply device 200 to the lighting device 300 , and control commands can be transmitted and received between the power supply device 200 and the lighting device 300 .

コネクタ20は、端部基板310に電気的に接続され、コネクタ21は、端部基板320に電気的に接続される。 Connector 20 is electrically connected to end substrate 310 and connector 21 is electrically connected to end substrate 320 .

本明細書において、説明の便宜上、電源装置200のCPU201が照明装置300へコマンドを送信すると記載したり、照明装置300が電源装置200のCPU201へコマンドを送信すると記載したりする場合があるが、詳細には、電源装置200のCPU201が送信するコマンドは、LED基板350のCPU351へ送信されることを意味し、LED基板350のCPU351が送信するコマンドは、電源装置200のCPU201へ送信されることを意味する。 In this specification, for convenience of explanation, it may be described that the CPU 201 of the power supply device 200 transmits a command to the lighting device 300, or that the lighting device 300 transmits a command to the CPU 201 of the power supply device 200. Specifically, commands transmitted by the CPU 201 of the power supply device 200 are transmitted to the CPU 351 of the LED board 350 , and commands transmitted by the CPU 351 of the LED board 350 are transmitted to the CPU 201 of the power supply device 200 . means

照明装置300には、開口部である照射部10が形成されており、LEDから発せられた光は、照射部10から射出される。 The lighting device 300 is formed with an irradiation section 10 that is an opening, and the light emitted from the LED is emitted from the irradiation section 10 .

次に、図3を参照しながら照明装置300の全体構成を説明する。照明装置300は、筐体30と、複数のLED基板350と、複数のLEDと、ロッドレンズ40と、ディフューザレンズ50とを主に備える。詳細には、照明装置300は、4枚のLED基板を備え、1枚のLED基板には、26個のLEDが搭載されている。
<筐体30>
筐体30は、照明装置300の部品を収納し、おおよその外形を画定する。筐体30は、アルミ製であり、押し出し成形によって形成されている。
Next, the overall configuration of the illumination device 300 will be described with reference to FIG. The lighting device 300 mainly includes a housing 30 , a plurality of LED boards 350 , a plurality of LEDs, a rod lens 40 and a diffuser lens 50 . Specifically, lighting device 300 includes four LED boards, and 26 LEDs are mounted on one LED board.
<Case 30>
The housing 30 houses the components of the lighting device 300 and roughly defines the outer shape. The housing 30 is made of aluminum and formed by extrusion molding.

筐体30は、長手方向に長尺な溝状の形状を有する。筐体30は、底面部31と、底面部31を挟んで互いに向かい合う2つの側面部(32、33)を有する。底面部31及び2つの側面部は、長手方向に長尺で平坦な形状を有する。2つの側面部は、同じ大きさ及び形状を有し、底面部31に対して高さ方向に沿って立設され、互いに平行になるように配置されている。 The housing 30 has a groove-like shape elongated in the longitudinal direction. The housing 30 has a bottom portion 31 and two side portions (32, 33) facing each other with the bottom portion 31 therebetween. The bottom portion 31 and the two side portions are elongated in the longitudinal direction and have a flat shape. The two side portions have the same size and shape, stand upright along the height direction with respect to the bottom portion 31, and are arranged parallel to each other.

2つの側面部の各々は、底面部31から最も離隔した最上部に、底面部31と平行に形成された天面部(34、35)を有する。 Each of the two side surface portions has a top surface portion (34, 35) formed parallel to the bottom surface portion 31 at the top most distant from the bottom surface portion 31. As shown in FIG.

<LED基板350>
LED基板350の各々には複数のLEDが搭載されており、LED基板350は複数のLEDへ、発光させるための電源(電力)を供給するとともに、CPU351により複数のLEDの点灯及び消灯の制御が行われる。
<LED board 350>
A plurality of LEDs are mounted on each of the LED substrates 350, and the LED substrates 350 supply power (power) for causing the plurality of LEDs to emit light, and a CPU 351 controls the lighting and extinguishing of the plurality of LEDs. done.

LED基板350は、アルミ基板によって構成され、薄板状の長方形状の形状を有する。LED基板350の各々には、26個のLEDが搭載されている。26個のLEDは、LED基板350の長手方向に沿って直線状に配置されている。 The LED substrate 350 is made of an aluminum substrate and has a thin rectangular shape. Twenty-six LEDs are mounted on each of the LED boards 350 . The 26 LEDs are linearly arranged along the longitudinal direction of the LED substrate 350 .

LED基板350は、LEDが上向き(Z方向)に向くように取り付けられている。筐体30には複数枚のLED基板350が搭載されている。複数枚のLED基板350は、筐体30の長手方向(Y方向)に沿って、互いに隣り合うLED基板350が密着するように配置仮想直線L1上に沿って配置されている。 The LED board 350 is attached so that the LEDs face upward (in the Z direction). A plurality of LED boards 350 are mounted on the housing 30 . The plurality of LED boards 350 are arranged along the longitudinal direction (Y direction) of the housing 30 along the virtual arrangement line L1 so that the LED boards 350 adjacent to each other are in close contact with each other.

<LED>
LEDは、照明装置300から光を発するための光源である。前述したように、26個のLEDが、LED基板350に搭載されている。LED基板350の26個のLEDは、Z方向(上向き)に向かって光を発する。
<LED>
The LED is a light source for emitting light from lighting device 300 . As mentioned above, 26 LEDs are mounted on the LED board 350 . The 26 LEDs of the LED board 350 emit light in the Z direction (upward).

<ロッドレンズ40>
ロッドレンズ40は、LEDから発せられた光を集光する。ロッドレンズ40は、アクリル製で、長尺な円筒状の形状を有する。
<Rod lens 40>
A rod lens 40 collects the light emitted from the LED. The rod lens 40 is made of acrylic and has an elongated cylindrical shape.

ロッドレンズ40は、LEDから離隔した上方に、かつ、LEDの配置仮想直線L1とロッドレンズ40の中心軸線L2とが平行になるように配置されている。 The rod lens 40 is arranged above and separated from the LEDs so that the LED arrangement imaginary straight line L1 and the central axis line L2 of the rod lenses 40 are parallel.

ロッドレンズ40は、レンズステイ(不図示)によって左右から挟持され、4本のレンズステイを介して筐体30に固定されている。 The rod lens 40 is sandwiched from the left and right by lens stays (not shown) and fixed to the housing 30 via four lens stays.

<ディフューザレンズ50>
ディフューザレンズ50は、ロッドレンズ40を透過する光を拡散させるための拡散板である。
<Diffuser lens 50>
The diffuser lens 50 is a diffuser plate for diffusing the light passing through the rod lens 40 .

ディフューザレンズ50は、ロッドレンズ40の長手方向に沿って配置されている。具体的には、ディフューザレンズ50が、ロッドレンズ40から離隔した上方に、かつ、ディフューザレンズ50の中心軸線L3がロッドレンズ40の中心軸線L2と平行になるように配置されている。 The diffuser lens 50 is arranged along the longitudinal direction of the rod lens 40 . Specifically, the diffuser lens 50 is arranged above and separated from the rod lens 40 such that the central axis L3 of the diffuser lens 50 is parallel to the central axis L2 of the rod lens 40 .

ディフューザレンズ50の表面には、微小なレンズアレイが形成されている。ディフューザレンズ50の表面には、長尺な溝状の領域と長尺な畝状の領域とが、隣り合うように交互に形成されている。溝状の領域の長手方向及び畝状の領域の長手方向は、おおよそ幅方向である。溝状の領域と畝状の領域とによって、微小でランダムな凹凸が繰り返され、微小な凹凸は、微小なレンズアレイとして機能する。 A minute lens array is formed on the surface of the diffuser lens 50 . On the surface of the diffuser lens 50, long groove-like regions and long ridge-like regions are alternately formed adjacent to each other. The longitudinal direction of the grooved regions and the longitudinal direction of the ridged regions are approximately the width direction. The groove-shaped area and the ridge-shaped area repeat fine and random unevenness, and the fine unevenness functions as a fine lens array.

ディフューザレンズ50は、レンズアレイの拡散機能により、入射した光を所望する拡散角(配光角)で光を屈折させて拡散整形する。ディフューザレンズ50は、一定の方向の拡散を他の方向よりも強く拡散する楕円拡散する。具体的には、ディフューザレンズ50は、長さ方向(長手方向)の拡散は、幅方向(短手方向)よりも強く拡散する。 The diffuser lens 50 refracts the incident light at a desired diffusion angle (light distribution angle) by the diffusion function of the lens array to diffuse and shape the light. The diffuser lens 50 provides elliptical diffusion that diffuses more strongly in certain directions than in other directions. Specifically, the diffuser lens 50 diffuses more strongly in the length direction (longitudinal direction) than in the width direction (lateral direction).

<<<光の進行状態>>>
LEDから発せられた光は、ロッドレンズ40を通過した後、ディフューザレンズ50によって拡散されて照明装置300から出射される。以下では、幅方向(短手方向)成分の光と、長さ方向(長手方向)成分の光とについて、光の進行を説明する。
<<<Progress of light>>>
After passing through the rod lens 40 , the light emitted from the LED is diffused by the diffuser lens 50 and emitted from the illumination device 300 . In the following, the traveling of the light in the width direction (lateral direction) and the light in the length direction (longitudinal direction) will be described.

<幅方向(短手方向)成分の光の進行>
LEDから発せられた光は、広がりつつロッドレンズ40に入射する。ロッドレンズ40に入射した光は、ロッドレンズ40の屈折率に応じて屈折して、ロッドレンズ40の内部を進行する。ロッドレンズ40の内部を進行した光は、ロッドレンズ40の屈折率に応じて屈折してロッドレンズ40から出射する。光の進行方向は、ロッドレンズ40に入射した箇所の入射角により定まり、ロッドレンズ40は、幅方向(短手方向)成分については、凸レンズとして機能し、ロッドレンズ40に入射した光を集光する。LEDから発せられた光は、ロッドレンズ40によって集光されて、ロッドレンズ40から出射する。
<Advancement of Light in Width Direction (Transverse Direction)>
The light emitted from the LED enters the rod lens 40 while spreading. The light incident on the rod lens 40 is refracted according to the refractive index of the rod lens 40 and travels inside the rod lens 40 . The light traveling inside the rod lens 40 is refracted according to the refractive index of the rod lens 40 and emitted from the rod lens 40 . The direction in which light travels is determined by the angle of incidence of light incident on the rod lens 40, and the rod lens 40 functions as a convex lens with respect to the width direction (transverse direction) component, condensing the light incident on the rod lens 40. do. Light emitted from the LED is condensed by the rod lens 40 and emitted from the rod lens 40 .

ロッドレンズ40によって集光された光は、ディフューザレンズ50に入射する。ディフューザレンズ50は、長さ方向(長手方向)の拡散は、幅方向(短手方向)よりも強く拡散する。したがって、幅方向(短手方向)については、光はあまり拡散されずにディフューザレンズ50から出射される。すなわち、幅方向(短手方向)の成分については、ロッドレンズ40によって集光された光が照明装置300から出射される。 Light condensed by the rod lens 40 enters the diffuser lens 50 . The diffuser lens 50 diffuses more strongly in the length direction (longitudinal direction) than in the width direction (lateral direction). Therefore, the light is emitted from the diffuser lens 50 without much diffusion in the width direction (lateral direction). That is, the light condensed by the rod lens 40 is emitted from the illumination device 300 with respect to the width direction (transverse direction) component.

<長さ方向(長手方向)成分の光の進行>
図4は、長さ方向(長手方向)成分に関する光の進行を示す概略図である。LEDから発せられた光は、広がりつつロッドレンズ40に入射する。ロッドレンズ40に入射した光は、ロッドレンズ40の屈折率に応じて屈折して、ロッドレンズ40の内部を進行し、ロッドレンズ40の屈折率に応じて屈折してロッドレンズ40から出射する。長さ方向(長手方向)成分については、ロッドレンズ40は、集光機能を有さず、LEDから発せられた光は、平行な板ガラスと同様の屈折の過程を経て、ロッドレンズ40から出射する。
<Progress of light in the length direction (longitudinal direction) component>
FIG. 4 is a schematic diagram showing light traveling with respect to the length direction (longitudinal direction) component. The light emitted from the LED enters the rod lens 40 while spreading. Light incident on the rod lens 40 is refracted according to the refractive index of the rod lens 40 , travels inside the rod lens 40 , is refracted according to the refractive index of the rod lens 40 , and exits the rod lens 40 . Regarding the longitudinal direction (longitudinal direction) component, the rod lens 40 does not have a light condensing function, and the light emitted from the LED goes through the same refraction process as parallel plate glass and is emitted from the rod lens 40. .

ロッドレンズ40によって集光された光は、ディフューザレンズ50に入射する。ディフューザレンズ50は、長さ方向(長手方向)の拡散は、幅方向(短手方向)よりも強く拡散する。したがって、図4に示すように、長さ方向(長手方向)成分の光は、ディフューザレンズ50の表面に形成されたレンズアレイの形状や大きさに応じて拡散され、ディフューザレンズ50から出射される。すなわち、幅方向(短手方向)の成分については、ロッドレンズ40によって集光された光が照明装置300から出射される。 Light condensed by the rod lens 40 enters the diffuser lens 50 . The diffuser lens 50 diffuses more strongly in the length direction (longitudinal direction) than in the width direction (lateral direction). Therefore, as shown in FIG. 4, the light in the longitudinal direction (longitudinal direction) is diffused according to the shape and size of the lens array formed on the surface of the diffuser lens 50 and emitted from the diffuser lens 50. . That is, the light condensed by the rod lens 40 is emitted from the illumination device 300 with respect to the width direction (transverse direction) component.

このように、幅方向(短手方向)成分は、ロッドレンズ40によって集光された光となり、長さ方向(長手方向)成分は、ディフューザレンズ50によって拡散された光となり、照明装置300から出射される。 In this way, the width direction (short direction) component becomes light condensed by the rod lens 40, and the length direction (longitudinal direction) component becomes light diffused by the diffuser lens 50, and is emitted from the illumination device 300. be done.

<<<回路図>>>
図5は、照明システムの全体の回路の構成の概略を示すブロック図である。簡便のため、図5では、代表的にLED基板350-1とLED基板350-2を照明装置300に示し、外部機器100は省略した。なお、前述したように、LED基板350-1及びLED基板350-2は、同じ構成を有するが、図5では、LED基板350-2については、I/Oポート359-2のみを示し、他の構成は省いた。LED基板350には、CPU351と、DAC-a355aと、DAC-b355bと、LED-a356a、LED-b356bと、I/Oポート359と、フォトダイオード(PD)と、サーミスタ(TH1、TH2、TH3)と、A/Dコンバータと、定電流回路と、電流増幅回路とが搭載されている。電流増幅回路は、レンジ切替部を有する。
<<<circuit diagram>>>
FIG. 5 is a block diagram showing an outline of the overall circuit configuration of the lighting system. For the sake of simplicity, FIG. 5 representatively shows LED board 350-1 and LED board 350-2 in illumination device 300, and external device 100 is omitted. As described above, the LED boards 350-1 and 350-2 have the same configuration, but FIG. 5 shows only the I/O port 359-2 of the LED board 350-2, configuration has been omitted. The LED board 350 includes a CPU 351, a DAC-a 355a, a DAC-b 355b, an LED-a 356a, an LED-b 356b, an I/O port 359, a photodiode (PD), and a thermistor (TH1, TH2, TH3). , an A/D converter, a constant current circuit, and a current amplifier circuit are mounted. The current amplifier circuit has a range switching section.

電源装置200から出力された制御信号(パルス信号)はLED基板350-1へ入力される。LED基板350-1には、オンオフスイッチ360-1(アナログスイッチ)が設けられている。本実施形態では、電源装置200から出力された制御信号(パルス信号)は、LED基板350-1のCPU351-1へ入力されると共に、LED基板350-1のオンオフスイッチ360-1へも供給される。制御信号(パルス信号)がハイレベルのときにはオンオフスイッチ360-1が導通状態になり、DAC(DAC-a355a-1、DAC-b355b-1)によって変換された電圧信号が定電流回路へと入力される。制御信号(パルス信号)がローレベルのときにはオンオフスイッチ360-1が非導通状態(遮断状態)になり、DAC(DAC-a355a-1、DAC-b355b-1)によって変換された電圧信号は定電流回路へ入力されない。 A control signal (pulse signal) output from the power supply device 200 is input to the LED substrate 350-1. An on/off switch 360-1 (analog switch) is provided on the LED board 350-1. In this embodiment, the control signal (pulse signal) output from the power supply device 200 is input to the CPU 351-1 of the LED board 350-1 and also supplied to the on/off switch 360-1 of the LED board 350-1. be. When the control signal (pulse signal) is at high level, the on/off switch 360-1 is turned on, and the voltage signal converted by the DAC (DAC-a355a-1, DAC-b355b-1) is input to the constant current circuit. be. When the control signal (pulse signal) is at a low level, the on/off switch 360-1 is in a non-conducting state (blocking state), and the voltage signal converted by the DAC (DAC-a 355a-1, DAC-b 355b-1) is a constant current. No input to the circuit.

電源装置200のCPU201から送信された制御コマンドは、端部基板310又は端部基板320を介してLED基板350-1へ入力される。制御コマンドは、LED基板350-1のI/Oポート359-1を介してCPU351-1へ入力される。制御コマンドは、照明装置300のLEDの発光の明るさを制御するため入力値や、LEDを点灯させるための点灯コマンドなどの各種の値やコマンドを含む。操作者は、電源装置200の操作部207を操作して、LEDから発する光の明るさを調整することができる。LEDから発する光の明るさの調整に用いる値を入力値という。操作者が操作部207を操作することで、電源装置200のCPU201に入力値を入力することができる。入力値は制御コマンドに含まれ、電源装置200からCPU351(351-1、351-2、351-3、351-4)へ入力される。 A control command transmitted from the CPU 201 of the power supply device 200 is input to the LED board 350-1 via the end board 310 or the end board 320. FIG. A control command is input to the CPU 351-1 through the I/O port 359-1 of the LED board 350-1. The control command includes various values and commands such as an input value for controlling the brightness of light emitted from the LED of the illumination device 300 and a lighting command for lighting the LED. The operator can operate the operation unit 207 of the power supply device 200 to adjust the brightness of the light emitted from the LED. A value used to adjust the brightness of the light emitted from the LED is called an input value. An operator can input an input value to the CPU 201 of the power supply device 200 by operating the operation unit 207 . The input values are included in the control command and input from the power supply device 200 to the CPUs 351 (351-1, 351-2, 351-3, 351-4).

LED基板350-1のCPU350-1は、受信した入力値をDAC値(デジタル値)に変換する(詳細は後述する)。DAC値を示すデジタル信号は、DAC(DAC-a355a-1、DAC-b355b-1)へ出力される。DAC(DAC-a355a-1、DAC-b355b-1)は、DAC値を示すデジタル信号を、DAC値を示すアナログ信号に変換する。 CPU 350-1 of LED board 350-1 converts the received input value into a DAC value (digital value) (details will be described later). A digital signal representing the DAC value is output to the DACs (DAC-a 355a-1, DAC-b 355b-1). The DACs (DAC-a 355a-1, DAC-b 355b-1) convert digital signals representing DAC values into analog signals representing DAC values.

DAC-a355a-1は、LED基板350-1に搭載されている26個のLEDのうちの第1の13個分のLED群のLED-a356a-1を制御するためのDAC値(デジタル信号)を電圧値(DAC値を示すアナログ信号)に変換し、DAC-b355b-1は、LED基板350-1に搭載されている26個のLEDのうちの第2の13個分のLED群のLED-b356b-1を制御するためのDAC値(デジタル信号)を電圧値(DAC値を示すアナログ信号)に変換する。 The DAC-a355a-1 is a DAC value (digital signal) for controlling the LED-a356a-1 of the first 13 LED group out of the 26 LEDs mounted on the LED board 350-1. to a voltage value (an analog signal indicating a DAC value), and the DAC-b 355b-1 converts the second 13 LEDs of the 26 LEDs mounted on the LED board 350-1 to LED -Converts the DAC value (digital signal) for controlling b356b-1 into a voltage value (analog signal indicating the DAC value).

このように、電源装置200から各LED基板350のCPU359へ単一の値の入力値が送信される。後述するように各LED基板350に搭載されたLED群には個体差によって発光の明るさにバラつきがあるため、各LED基板350のCPU359は、このバラつきを軽減するために後述するような一次関数(式1、式2参照)に基づいてDAC値を算出する。つまり、入力値は、単一の値であるが、各LED基板350で算出されるDAC値は、各LED基板350に搭載されたLED群の電気的特性や光学的特性に応じた値となる。電気的特性や光学的特性に応じたDAC値を用いてLEDを発光させることで、各LED基板350のLEDから発する光の明るさを均一にすることができる。そして、各LED基板350のCPU359は、DAC値を示すデジタル信号をDAC(DAC-a355a、DAC-b355b)へ出力し、LED群を発光させるために、DACにより、DAC値を示すデジタル信号が、DAC値を示すアナログ信号に変換される。具体的には、DAC値を示すアナログの電圧信号(以下、DAC値を示す電圧信号)に変換される。 Thus, a single input value is sent from the power supply 200 to the CPU 359 of each LED board 350 . As will be described later, the LED groups mounted on each LED board 350 have variations in the brightness of light emission due to individual differences. A DAC value is calculated based on (see formulas 1 and 2). In other words, the input value is a single value, but the DAC value calculated by each LED board 350 is a value according to the electrical characteristics and optical characteristics of the LED group mounted on each LED board 350. . By causing the LEDs to emit light using the DAC values corresponding to the electrical characteristics and optical characteristics, the brightness of the light emitted from the LEDs of each LED substrate 350 can be made uniform. Then, the CPU 359 of each LED board 350 outputs a digital signal indicating the DAC value to the DAC (DAC-a 355a, DAC-b 355b). It is converted to an analog signal representing the DAC value. Specifically, it is converted into an analog voltage signal indicating a DAC value (hereinafter referred to as a voltage signal indicating a DAC value).

DAC(DAC-a355a-1、DAC-b355b-1)から出力されたDAC値を示す電圧信号は、定電流回路へ入力されて、電流に変換される。定電流回路は、例えば、オペアンプ(演算増幅器)や抵抗などの素子からなり、抵抗値で定まる増幅率で電圧信号を電流信号に変換する。つまり、定電流回路は、DAC値を示す電圧信号を、DAC値に対応する電流に変換する。定電流回路から出力された電流は、電流増幅回路へ入力されて増幅される。電流増幅回路は、トランジスタやFETなどの増幅素子からなり、定電流回路から出力された電流を所望する増幅率で増幅する。電流増幅回路によって増幅された電流は、LEDを駆動するための駆動電流としてLED群(LED-a356a-1、LED-b356b-1)へ入力される。LED群(LED-a356a-1、LED-b356b-1)は、駆動電流に応じた明るさで発光する。 A voltage signal indicating a DAC value output from the DACs (DAC-a355a-1, DAC-b355b-1) is input to a constant current circuit and converted into current. The constant current circuit is composed of elements such as an operational amplifier (operational amplifier) and resistors, and converts a voltage signal into a current signal with an amplification factor determined by a resistance value. That is, the constant current circuit converts the voltage signal indicating the DAC value into a current corresponding to the DAC value. The current output from the constant current circuit is input to the current amplifier circuit and amplified. The current amplifying circuit is composed of amplifying elements such as transistors and FETs, and amplifies the current output from the constant current circuit with a desired amplification factor. The current amplified by the current amplifier circuit is input to the LED group (LED-a 356a-1, LED-b 356b-1) as drive current for driving the LEDs. The LED group (LED-a 356a-1, LED-b 356b-1) emits light with brightness according to the drive current.

LED群の第1の端部FTは、電源装置200に接続されている。LED群の第2の端部STは、電流増幅回路に接続されており、前述したように、電流増幅回路からLED群に駆動電流が供給される。LED群の第1の端部FTは、電源電圧監視回路に接続されている。 A first end FT of the LED group is connected to the power supply 200 . A second end ST of the group of LEDs is connected to a current amplifier circuit from which drive current is supplied to the group of LEDs, as described above. A first end FT of the LED group is connected to a power supply voltage monitoring circuit.

LED基板350-1には、A/Dコンバータが設けられている。A/Dコンバータは、アナログ信号をデジタル信号に変換する。A/Dコンバータは、LED基板350-1のCPU351-1と接続されている。A/Dコンバータによって変換されたデジタル信号は、CPU351-1に入力される。A/Dコンバータには、電源電圧監視回路と、フォトダイオードPD(LED群から発せられた光の照度を検出する)と、サーミスタTH1(第1の13個分のLED群(LED-a356a-1)の温度を検出する)と、サーミスタTH2(第2の13個分のLED群(LED-b356b-1)の温度を検出する)とが、接続されている。電源電圧監視回路は、抵抗値の大きい抵抗などから構成され、LED群に供給される駆動電流の電流値を、所定の電圧範囲内に含まれる電圧値に変換して、A/Dコンバータに出力する。これにより、電源装置200から出力される電源電圧が適切なものであるか否かを判断することができる。フォトダイオードPDは、LED群から発せられた光の照度が適切であるか否かを判断することができる。サーミスタTH1及びサーミスタTH2は、LED群の温度が適切であるか否かを判断することができる。 An A/D converter is provided on the LED board 350-1. An A/D converter converts an analog signal into a digital signal. The A/D converter is connected to the CPU 351-1 of the LED board 350-1. A digital signal converted by the A/D converter is input to the CPU 351-1. The A/D converter includes a power supply voltage monitoring circuit, a photodiode PD (which detects the illuminance of light emitted from the LED group), and a thermistor TH1 (the first group of 13 LEDs (LED-a356a-1 )) and the thermistor TH2 (which detects the temperature of the second group of 13 LEDs (LED-b356b-1)) are connected. The power supply voltage monitoring circuit consists of a resistor with a large resistance value, etc., converts the current value of the drive current supplied to the LED group into a voltage value within a predetermined voltage range, and outputs it to the A/D converter. do. Accordingly, it can be determined whether the power supply voltage output from the power supply device 200 is appropriate. A photodiode PD can determine whether the illuminance of the light emitted from the LED group is appropriate. Thermistor TH1 and thermistor TH2 can determine whether the temperature of the LED group is suitable.

電圧電流交換回路は、I/Oポート359-1を介してLED基板350-1のCPU351-1に接続されており、オープンエラー等の検出が可能となっている。 The voltage-current exchange circuit is connected to the CPU 351-1 of the LED board 350-1 via the I/O port 359-1, and is capable of detecting an open error or the like.

サーミスタTH3(LED基板の温度を検出する)は、I/Oポート359-1を介してLED基板350-1のCPU351-1に接続されている。 Thermistor TH3 (which detects the temperature of the LED board) is connected to CPU 351-1 of LED board 350-1 via I/O port 359-1.

レンジ切替回路は、選択可能な複数の抵抗を有しており、選択する抵抗の組合せに応じて抵抗値を切り替えて駆動電流の電流範囲を切り替えることで、LED群の照度の範囲(照度レンジ)を変更可能に構成されている。例えば、複数の抵抗を直列や並列に接続して、選択する抵抗の組合せを変更することで、駆動電流の電流範囲を切り替えて、LED群の照度の範囲(照度レンジ)を変更することができる。照度レンジは、操作者が電源装置200の操作部207(例えば、ボリューム270A、スイッチ270B)を操作することで切り替えることができる。 The range switching circuit has a plurality of selectable resistors, and switches the current range of the drive current by switching the resistance value according to the combination of resistors to be selected, thereby changing the illuminance range of the LED group (illuminance range). is configured to be changeable. For example, by connecting multiple resistors in series or in parallel and changing the combination of resistors to be selected, it is possible to switch the current range of the drive current and change the illuminance range (illuminance range) of the LED group. . The illuminance range can be switched by the operator operating the operation unit 207 (for example, the volume 270A and the switch 270B) of the power supply device 200. FIG.

I/Oポート359-1は、次のLED基板350-2のI/Oポート359-2と接続されており、後述するアドレス割り振りコマンドの送信の際に用いる。 The I/O port 359-1 is connected to the I/O port 359-2 of the next LED board 350-2, and is used when transmitting an address allocation command, which will be described later.

<<<照明モード>>>
図6は、照明装置300におけるLED群による照明のタイミングチャートである。図6に示すタイムチャートの横軸は時間(時刻)Tであり、縦軸はLEDから発せられる光の照度である。照明装置300は、検査中は常にLED群を点灯するよう構成されており、図6に示す例では、0から最大値の間の一定の照度で連続して点灯していることを示している。操作者は、電源装置200の操作部207(例えば、ボリューム270A)を操作することによって、所望する発光の明るさを設定することが可能であり、照明装置300は、操作者により設定された入力値に応じた明るさでLED群を常時点灯する。LEDの点灯時の明るさ(照度)の制御は、電源装置200のCPU201から送信される制御コマンドによって行われる。
<<<Lighting Mode>>>
FIG. 6 is a timing chart of lighting by the LED group in lighting device 300 . The horizontal axis of the time chart shown in FIG. 6 is time (time) T, and the vertical axis is the illuminance of light emitted from the LED. The illumination device 300 is configured to always light the group of LEDs during inspection, and the example shown in FIG. . The operator can set the desired light emission brightness by operating the operation unit 207 (for example, the volume 270A) of the power supply device 200, and the illumination device 300 can be set according to the input set by the operator. The LED group is always lit with the brightness corresponding to the value. The brightness (illuminance) of the LED when it is lit is controlled by a control command sent from the CPU 201 of the power supply device 200 .

照明モードは、操作者により電源装置200で設定された入力値に応じてDAC値を算出し、DAC値に対応する明るさ(照度)の光を照明装置300のLED群が常に出力するモードである。照明モードでは、電源装置200のCPU201から送信される制御コマンドのみによって照明装置300のLED群が制御される。照明モードで用いる制御コマンドは、LED群から発する光の明るさ(照度)に対応する入力値(全照度モードでは0~3000、その他の照度モードでは0~1000)を含み、当該コマンドに含まれる入力値はEEPROM354に記憶される。 The lighting mode is a mode in which a DAC value is calculated according to an input value set by the operator in the power supply device 200, and the LED group of the lighting device 300 always outputs light with brightness (illuminance) corresponding to the DAC value. be. In the lighting mode, the LED group of lighting device 300 is controlled only by control commands transmitted from CPU 201 of power supply device 200 . The control command used in the lighting mode includes an input value corresponding to the brightness (illuminance) of light emitted from the LED group (0 to 3000 in full illumination mode, 0 to 1000 in other illumination modes), and is included in the command. Input values are stored in EEPROM 354 .

具体的には、操作者が電源装置200の操作部207(例えば、ボリューム207A)を操作することによって入力値を設定すると、設定された入力値を含むコマンドが電源装置200のCPU201から照明装置300のLED基板350のCPU351へ送信される。LED基板350のCPU351は、受信したコマンドに含まれる入力値をEEPROM354に記憶する。CPU351により入力値に基づいてLEDの光学的特性などに合わせたDAC値を算出し、DAC値に対応する駆動電流によってLEDを駆動することによって、入力値に対応する均一な明るさでLED群から光が発せられる。 Specifically, when an operator sets an input value by operating the operation unit 207 (for example, volume 207A) of the power supply device 200, a command including the set input value is transmitted from the CPU 201 of the power supply device 200 to the lighting device 300. is transmitted to the CPU 351 of the LED board 350 of the . The CPU 351 of the LED board 350 stores the input value included in the received command in the EEPROM 354 . Based on the input value, the CPU 351 calculates a DAC value that matches the optical characteristics of the LED, and drives the LED with a drive current corresponding to the DAC value. light is emitted.

電源装置200のCPU201から送信されたコマンドは、照明装置300の複数のLED基板350(350-1、350-2、350-3、350-4)へ並列に、言い換えると、同時に入力される。そのため、複数のLED基板350のCPU351は、同じタイミングでLED群の出力制御を行うことができる。 Commands transmitted from the CPU 201 of the power supply device 200 are input to the plurality of LED boards 350 (350-1, 350-2, 350-3, 350-4) of the lighting device 300 in parallel, in other words, simultaneously. Therefore, the CPUs 351 of the plurality of LED boards 350 can perform output control of the LED groups at the same timing.

<<<電源装置200の制御処理>>>
図7は、電源装置200における電源装置制御処理のフローチャートである。まず、電源装置200のCPU201は、ステップ702で、初期化するか否かを判定する。
<<<control processing of power supply device 200>>>
FIG. 7 is a flowchart of power supply control processing in power supply 200 . First, in step 702, the CPU 201 of the power supply device 200 determines whether or not to initialize.

操作者が操作部207を操作することにより初期化することが決定されると、初期化が実行される。例えば、後述するメニュー設定処理が呼び出されて、初期化が実行されることを決定することができる。 When the operator operates the operation unit 207 to decide to initialize, the initialization is executed. For example, it can be determined that a menu setting process, which will be described later, is called to perform initialization.

ステップ702でYesの場合、ステップ704で、電源装置200のCPU201は、初期化処理を行う。ステップ702でNoの場合、ステップ706の処理へ移行する。 In the case of Yes in step 702, in step 704, the CPU 201 of the power supply device 200 performs initialization processing. If No in step 702 , the process proceeds to step 706 .

初期化処理(ステップ704)では、電源装置200のCPU201は、RAM203の記憶情報を初期化する。具体的には、後述するアドレス割り振り処理の終了コマンドを受信したことを示す情報(例えば、受信フラグ)等を初期化(デフォルトに戻す)し、照明装置300のLED基板350のCPU351へ初期化コマンドを送信する。 In initialization processing (step 704 ), the CPU 201 of the power supply device 200 initializes information stored in the RAM 203 . Specifically, it initializes (restores to default) information (for example, a reception flag) indicating that an end command of the address allocation process described later has been received, and sends the initialization command to the CPU 351 of the LED board 350 of the lighting device 300. to send.

次に、ステップ706で、電源装置200のCPU201は、LED基板350のCPU351のアドレス割り振り処理が終了していることを記憶しているか否かを判定する。 Next, in step 706, the CPU 201 of the power supply device 200 determines whether or not it stores that the CPU 351 of the LED board 350 has completed the address allocation process.

ステップ706でNoの場合、つまり、LED基板350のCPU351のアドレス割り振り処理が終了していない場合、ステップ708で、電源装置200のCPU201は、LED基板350のCPU351がアドレス番号を記憶するためのアドレス番号割り振りコマンドを照明装置300へ送信する。 If No in step 706, that is, if the address allocation process of the CPU 351 of the LED board 350 has not ended, in step 708, the CPU 201 of the power supply device 200 determines the address for the CPU 351 of the LED board 350 to store the address number. A number allocation command is transmitted to the lighting device 300 .

ステップ706でYesの場合、つまり、LED基板350のCPU351のアドレス割り振り処理が終了している場合、ステップ710の処理へ移行する。 If Yes in step 706 , that is, if the address allocation process of the CPU 351 of the LED board 350 has been completed, the process proceeds to step 710 .

次に、ステップ710で、電源装置200のCPU201は、LED基板350のうちの最後のLED基板のCPU(例えば、LED基板350-4のCPU351-4)からアドレス割り振り処理の終了コマンドを受信済みであるか否かを判定する。 Next, in step 710, the CPU 201 of the power supply device 200 has already received an address allocation processing end command from the CPU of the last LED board among the LED boards 350 (for example, the CPU 351-4 of the LED board 350-4). Determine whether or not there is

ステップ710でNoの場合、つまり、全てのLED基板350のCPU351のアドレス割り振り処理が終了していない場合は、ステップ710の処理を繰り返し、全てのLED基板350のCPU351のアドレス割り振り処理が終了するまで待機する。 In the case of No in step 710, that is, when the address allocation processing of the CPUs 351 of all the LED boards 350 has not been completed, the processing of step 710 is repeated until the address allocation processing of the CPUs 351 of all the LED boards 350 is completed. stand by.

ステップ710でYesの場合、つまり、全てのLED基板350のCPU351のアドレス割り振り処理が終了した場合は、ステップ712の処理へ移行する。 In the case of Yes in step 710 , that is, when the address allocation processing of the CPUs 351 of all the LED boards 350 is completed, the process proceeds to step 712 .

次に、ステップ712で、電源装置200のCPU201は、操作者によってメニュー操作が行われたか否かを判定する。 Next, at step 712, the CPU 201 of the power supply device 200 determines whether or not the operator has performed a menu operation.

ステップ712でYesの場合、ステップ714で、電源装置200のCPU201は、メニュー設定処理を行う。ステップ712でNoの場合、ステップ716の処理へ移行する。 In the case of Yes in step 712, in step 714, the CPU 201 of the power supply device 200 performs menu setting processing. If No in step 712 , the process proceeds to step 716 .

メニュー設定処理では、電源装置200のCPU201は、操作者の電源装置200の操作結果をEEPROM204に記憶する。具体的には、操作者による操作には、入力値の変更、照度レンジの切り替え、調光調整開始等があり、これらの操作結果をEEPROM204に記憶する。メニュー設定に関する情報を電源装置側(EEPROM204)で記憶しておくことで、電源立ち上げの際に照明装置300を前回の設定状況で復帰させることができる。 In the menu setting process, the CPU 201 of the power supply device 200 stores the operation result of the power supply device 200 by the operator in the EEPROM 204 . Specifically, the operator's operations include changing an input value, switching an illuminance range, and starting dimming adjustment, and the results of these operations are stored in the EEPROM 204 . By storing information about menu settings on the power supply side (EEPROM 204), the illumination device 300 can be restored to the previous settings when the power is turned on.

操作者により検査停止や検査一時停止等のメニュー操作が行われた場合は、当該メニュー設定処理で照明装置300へその旨を示すコマンド(検査停止コマンド、検査一時停止コマンド等)を送信する。 When the operator performs a menu operation such as inspection stop or inspection suspension, a command indicating that effect (inspection stop command, inspection suspension command, etc.) is transmitted to the illumination device 300 in the menu setting process.

操作者が外部機器100により検査停止の操作を行った場合は、外部機器100から電源装置200へ検査停止コマンドが送信され、電源装置200のCPU201は、当該メニュー設定処理で検査停止コマンドを照明装置300へ送信する。 When the operator operates the external device 100 to stop the inspection, the external device 100 transmits an inspection stop command to the power supply device 200, and the CPU 201 of the power supply device 200 sends the inspection stop command to the lighting device in the menu setting process. 300.

次に、ステップ716で、電源装置200のCPU201は、メニュー操作が行われ、調光調整開始の操作が行われたか否かを判定する。 Next, in step 716, the CPU 201 of the power supply device 200 determines whether or not a menu operation has been performed and an operation to start dimming adjustment has been performed.

ステップ716でYesの場合、ステップ1800で、電源装置200のCPU201は、後述する電源側調光調整処理を実行する。 In the case of Yes in step 716, in step 1800, the CPU 201 of the power supply device 200 executes power supply side dimming adjustment processing, which will be described later.

ステップ716でNoの場合、ステップ720の処理へ移行する。 If No in step 716 , the process proceeds to step 720 .

次に、ステップ720で、電源装置200のCPU201は、メニュー操作が行われ、照度の変更(入力値の変更)が行われたか否かを判定する。 Next, in step 720, the CPU 201 of the power supply device 200 determines whether or not a menu operation has been performed to change the illuminance (change the input value).

ステップ720でYesの場合、ステップ722で、電源装置200のCPU201は、照明装置300へ後述する照度コマンドを送信する。 In the case of Yes at step 720 , at step 722 , the CPU 201 of the power supply device 200 transmits an illuminance command, which will be described later, to the illumination device 300 .

ステップ720でNoの場合、ステップ724の処理へ移行する。照度コマンドは、入力値や明るさや明暗度を示すが、いずれの照度レンジであるかを含めたコマンドとしてもよい。 If No in step 720 , the process proceeds to step 724 . The illuminance command indicates an input value, brightness, and intensity, but may be a command including which illuminance range it is.

次に、ステップ724で、電源装置200のCPU201は、メニュー操作が行われ、照度レンジの切り替えが行われたか否かを判定する。 Next, in step 724, the CPU 201 of the power supply device 200 determines whether or not a menu operation has been performed to switch the illuminance range.

ステップ724でYesの場合、ステップ726で、電源装置200のCPU201は、照明装置300へ変更後の照度レンジ(後述する全照度モード、低照度モード、中照度モード、高照度モード)を示す照度レンジコマンドを送信する。 In the case of Yes in step 724, in step 726, the CPU 201 of the power supply device 200 changes the illuminance range to the lighting device 300 (full illuminance mode, low illuminance mode, medium illuminance mode, high illuminance mode, which will be described later). Send command.

ステップ724でNoの場合、ステップ728の処理へ移行する。 If No in step 724 , the process proceeds to step 728 .

操作者は照度レンジを切り替えることで、照明装置300のLED群が所望する照度範囲内で光を発するように設定することができる。 By switching the illuminance range, the operator can set the LED group of the lighting device 300 to emit light within a desired illuminance range.

次に、ステップ728で、電源装置200のCPU201は、コマンド受信処理を行い、ステップ730の処理へ移行する。 Next, at step 728 , the CPU 201 of the power supply device 200 performs command reception processing, and proceeds to the processing of step 730 .

コマンド受信処理では、電源装置200のCPU201は、外部機器100又は照明装置300から送信されたコマンドを受信し、受信したコマンドに基づいてRAM203又はEEPROM204に情報を記憶する。 In the command reception process, the CPU 201 of the power supply device 200 receives a command transmitted from the external device 100 or lighting device 300, and stores information in the RAM 203 or EEPROM 204 based on the received command.

次に、ステップ730で、電源装置200のCPU201は、エラーチェック処理を行う。 Next, in step 730, the CPU 201 of the power supply device 200 performs error check processing.

エラーチェック処理(ステップ730)では、電源装置200のCPU201は、照明装置300の各CPUとの通信チェック、電源装置200内の通信異常(電源異常)チェック等を行う。 In the error check process (step 730), the CPU 201 of the power supply device 200 checks communication with each CPU of the lighting device 300, checks for communication abnormality (power supply abnormality) in the power supply device 200, and the like.

次に、ステップ732で、電源装置200のCPU201は、ディスプレイ表示処理を行い、ステップ732の処理が終了すると、ステップ702の処理へ戻る。 Next, in step 732, the CPU 201 of the power supply device 200 performs display display processing, and returns to the processing of step 702 when the processing of step 732 ends.

ディスプレイ表示処理では、電源装置200のCPU201は、ディスプレイ206に各種の情報を表示するための処理を行う。具体的には、メニュー設定処理の操作結果に基づいて照明モード、入力値や明暗度等の表示、その他にLED基板温度、エラー(LED温度異常、オープンエラー、通信異常等)の表示等を行う。 In the display display processing, the CPU 201 of the power supply device 200 performs processing for displaying various information on the display 206 . Specifically, based on the operation result of the menu setting process, it displays the lighting mode, input value, intensity, etc., LED substrate temperature, error (LED temperature abnormality, open error, communication abnormality, etc.), etc. .

<<<照明装置300の制御処理>>>
<<照明制御処理>>
図8は、照明装置300における照明制御処理のフローチャートである。まず、ステップ902で、LED基板350のCPU351は、後述するアドレス割り振り処理が終了済みではないか否かを判定する。
<<<Control Processing of Lighting Device 300>>>
<<Lighting control processing>>
FIG. 8 is a flowchart of lighting control processing in lighting device 300 . First, in step 902, the CPU 351 of the LED board 350 determines whether or not address allocation processing, which will be described later, has been completed.

ステップ902でYesの場合、つまり、アドレス割り振り処理がまだ行われていない場合には、ステップ1100で、LED基板350のCPU351は、アドレス割り振り処理を行う。 If Yes in step 902 , that is, if the address allocation process has not yet been performed, in step 1100 the CPU 351 of the LED board 350 performs the address allocation process.

ステップ902でNoの場合、つまり、アドレス割り振り処理が既に行われている場合には、ステップ904の処理へ移行する。 If No in step 902 , that is, if the address allocation process has already been performed, the process proceeds to step 904 .

次に、ステップ904で、LED基板350のCPU351は、調光調整済みではないか否か、つまり、後述する照明側調光調整処理が終了済みではないか否かを判定する。 Next, in step 904, the CPU 351 of the LED board 350 determines whether or not the dimming adjustment has been completed, that is, whether or not the lighting side dimming adjustment processing described later has been completed.

ステップ904でYesの場合、ステップ1900で、LED基板350のCPU351は、照明側調光調整処理を行う。 In the case of Yes in step 904, in step 1900, the CPU 351 of the LED board 350 performs illumination-side dimming adjustment processing.

ステップ1900の処理が終了すると、ステップ906の処理へ移行する。 When the process of step 1900 ends, the process proceeds to step 906 .

ステップ904でNoの場合、つまり、照明側調光調整処理が既に行われている場合には、ステップ906の処理へ移行する。 If No in step 904 , that is, if lighting-side dimming adjustment processing has already been performed, the process proceeds to step 906 .

次に、ステップ906で、照明装置300のLED基板350のCPU351は、コマンド受信処理を行う。 Next, in step 906, the CPU 351 of the LED board 350 of the illumination device 300 performs command reception processing.

コマンド受信処理では、LED基板350のCPU351は、電源装置200のCPU201から送信されたコマンドを受信する。例えば、LED基板350-1のCPU351-1やLED基板350-2のCPU351-2は、電源装置200のCPU201から送信されたコマンドを受信する。操作者が外部機器100又は電源装置200により、検査の停止操作や一時停止の操作を行うと、外部機器100又は電源装置200のCPU201から検査停止コマンドや検査一時停止コマンドが送信され、LED基板350のCPU351は、検査停止コマンドを受信した場合には、検査を停止又は一時停止する処理を行う。例えば、LEDの消灯等を行う。 In the command reception process, CPU 351 of LED board 350 receives a command transmitted from CPU 201 of power supply device 200 . For example, the CPU 351 - 1 of the LED board 350 - 1 and the CPU 351 - 2 of the LED board 350 - 2 receive commands transmitted from the CPU 201 of the power supply device 200 . When the operator performs an inspection stop operation or an inspection suspension operation using the external device 100 or the power supply device 200 , the CPU 201 of the external device 100 or the power supply device 200 transmits an inspection stop command or an inspection suspension command, and the LED board 350 When the CPU 351 receives the inspection stop command, the CPU 351 performs a process of stopping or suspending the inspection. For example, the LED is turned off.

次に、ステップ908で、LED基板350のCPU351は、初期化するか否か、言い換えると、コマンド受信処理により初期化コマンドを受信したか否かを判定する。 Next, at step 908, the CPU 351 of the LED board 350 determines whether or not to initialize, in other words, whether or not an initialization command has been received by the command reception process.

ステップ908でYesの場合、ステップ910で、LED基板350のCPU351は、後述する初期化処理を行う。ステップ908でNoの場合、ステップ914の処理へ移行する。 In the case of Yes in step 908, in step 910, the CPU 351 of the LED board 350 performs initialization processing, which will be described later. If No in step 908 , the process proceeds to step 914 .

初期化処理(ステップ910)では、LED基板350のCPU351は、RAM353の記憶情報を初期化する。具体的には、アドレス割り振り処理におけるアドレス番号等を初期化する。 In the initialization process (step 910 ), the CPU 351 of the LED board 350 initializes information stored in the RAM 353 . Specifically, the address numbers and the like in the address allocation process are initialized.

次に、ステップ914で、LED基板350のCPU351は、照度コマンドを受信したか否か、言い換えると、照度の変更(明るさの設定)が行われたか否かを判定する。 Next, in step 914, the CPU 351 of the LED board 350 determines whether or not an illuminance command has been received, in other words, whether or not the illuminance has been changed (brightness setting).

ステップ914でYesの場合、ステップ916で、LED基板350のCPU351は、照度コマンドに基づいてEEPROM354の照度記憶テーブルに入力値を記憶する。より詳細には、照度レンジに応じて入力値を記憶する。 If Yes at step 914, at step 916, the CPU 351 of the LED board 350 stores the input value in the illuminance storage table of the EEPROM 354 based on the illuminance command. More specifically, the input value is stored according to the illuminance range.

ステップ914でNoの場合、ステップ918の処理へ移行する。 If No in step 914 , the process proceeds to step 918 .

次に、ステップ918で、LED基板350のCPU351は、照度レンジコマンドを受信したか否か、言い換えると、照度レンジの変更が行われたか否かを判定する。 Next, at step 918, the CPU 351 of the LED board 350 determines whether or not an illuminance range command has been received, in other words, whether or not the illuminance range has been changed.

ステップ918でYesの場合、ステップ920で、LED基板350のCPU351は、後述する照度レンジ切替処理を行い、ステップ922の処理へ移行する。ステップ918でNoの場合、ステップ922の処理へ移行する。 If Yes at step 918 , at step 920 , the CPU 351 of the LED board 350 performs illuminance range switching processing, which will be described later, and proceeds to step 922 . If No in step 918 , the process proceeds to step 922 .

照度レンジ切替処理では、LED基板350のCPU351は、コマンド受信処理で受信した照度レンジコマンドが全照度モードを示すコマンドであれば、照度レンジを全照度モードに変更し、コマンド受信処理で受信した照度レンジコマンドが低照度モードを示すコマンドであれば、照度レンジを低照度モードに変更し、コマンド受信処理で受信した照度レンジコマンドが中照度モードを示すコマンドであれば、照度レンジを中照度モードに変更し、コマンド受信処理で受信した照度レンジコマンドが高照度モードを示すコマンドであれば、照度レンジを高照度モードに変更する。 In the illuminance range switching process, if the illuminance range command received in the command reception process is a command indicating the full illuminance mode, the CPU 351 of the LED board 350 changes the illuminance range to the full illuminance mode. If the range command is a command indicating low illumination mode, change the illumination range to low illumination mode, and if the illumination range command received in the command reception process indicates medium illumination mode, change the illumination range to medium illumination mode. If the illuminance range command received in the command reception process indicates the high illuminance mode, the illuminance range is changed to the high illuminance mode.

次に、ステップ921で、後述するDAC値算出処理を実行する。DAC値算出処理では、設定された照度レンジに対応する入力値を用いてDAC値を算出する。なお、前述した通り、全照度モードにおける入力値の範囲(0~3000)と、他の照明モード(低照度モード、中照度モード、高照度モード)における入力値の範囲(0~1000)とは異なっている。このため、全照度モードから他の照明モードに変更された場合のデフォルトの入力値は、全照度モードで設定していた入力値の1/3とする。反対に、他の照明モードから全照度モードに変更された場合のデフォルト入力値は、他の照明モードで設定していた入力値の3倍とする。 Next, in step 921, DAC value calculation processing, which will be described later, is executed. In the DAC value calculation process, the DAC value is calculated using the input value corresponding to the set illuminance range. As described above, the input value range (0 to 3000) in full illumination mode and the input value range (0 to 1000) in other illumination modes (low illumination mode, medium illumination mode, high illumination mode) different. Therefore, the default input value when the full illumination mode is changed to another illumination mode is set to ⅓ of the input value set in the full illumination mode. Conversely, the default input value when changing from another illumination mode to the full illumination mode is three times the input value set in the other illumination mode.

このようにすることで、全照度モードと他の照明モードで入力値の範囲が異なる場合であっても、ボリューム207Aの回転可能な範囲を一定にすることができる。 By doing so, even if the range of input values differs between the full illumination mode and the other lighting modes, the rotatable range of the volume 207A can be kept constant.

次に、ステップ922で、LED基板350のCPU351は、EPPROM354の記憶情報を読み出して、LEDの出力処理(照射制御)を行う。 Next, in step 922, the CPU 351 of the LED board 350 reads the information stored in the EPPROM 354 and performs LED output processing (irradiation control).

次に、ステップ2400で、LED基板350のCPU351は、後述するエラーチェック処理を行う。 Next, at step 2400, the CPU 351 of the LED board 350 performs error check processing, which will be described later.

次に、ステップ924で、LED基板350のCPU351は、電源装置200のCPU201へコマンドを送信するためのコマンド送信処理を実行する。例えば、LED温度エラー情報等を送信する。 Next, at step 924 , CPU 351 of LED board 350 executes command transmission processing for transmitting a command to CPU 201 of power supply device 200 . For example, LED temperature error information or the like is transmitted.

次に、ステップ926で、LED基板350のCPU351は、検査終了とするか否か、つまり、操作者が外部機器100や電源装置200を操作して検査を終了する操作をしたか否か又は全ての検査対象物の検査が終了したか否かを判定する。 Next, in step 926, the CPU 351 of the LED board 350 determines whether or not to end the inspection, that is, whether or not the operator has operated the external device 100 or the power supply device 200 to end the inspection. It is determined whether or not the inspection of the object to be inspected has been completed.

ステップ926でYesの場合、ステップ928で、LED基板350のCPU351は、検査終了処理(例えば、LEDを消灯する等)を実行し、検査を終了する。 In the case of Yes in step 926, in step 928, the CPU 351 of the LED board 350 executes inspection termination processing (for example, turning off the LED, etc.) and terminates the inspection.

ステップ926でNoの場合、ステップ906の処理へ移行する。 If No in step 926 , the process proceeds to step 906 .

<<アドレス割り振り処理の概要>>
次に、図9を用いてアドレス割り振り処理の概要を説明する。アドレス割り振り処理は、照明装置300のLED基板350に搭載されたLED群を識別するためにそれぞれ何番目のLED群であるのかを、それぞれのLED群が搭載されたLED基板350のCPU351が登録(記憶)するための処理である。アドレス割り振り処理は、電源装置200及び照明装置300の起動毎に開始する。電源装置200は、電源が投入されると、照明装置300がアドレス割り振り処理を開始するためのアドレス番号割り振りコマンドを照明装置300に送信する。照明装置300のLED基板350のCPU351は、アドレス番号割り振りコマンドを受信するとアドレス割り振り処理を実行する。照明装置300の複数のLED基板のCPUは、所定の順番でアドレス割り振りコマンドを受信し、所定の順番でアドレス割り振り処理を実行するように構成されている。
<<Overview of Address Allocation Process>>
Next, an outline of address allocation processing will be described with reference to FIG. In order to identify the LED groups mounted on the LED board 350 of the lighting device 300, the address allocation process is performed by the CPU 351 of the LED board 350 on which the respective LED groups are mounted to register ( memory). The address allocation process starts each time the power supply device 200 and the lighting device 300 are activated. When powered on, the power supply device 200 transmits to the lighting device 300 an address number allocation command for the lighting device 300 to start address allocation processing. When the CPU 351 of the LED board 350 of the illumination device 300 receives the address number allocation command, it executes the address allocation process. The CPUs of the plurality of LED boards of the illumination device 300 are configured to receive address allocation commands in a predetermined order and execute address allocation processing in a predetermined order.

照明装置300にはコマンドラインCLが設けられており、図示していないが電源装置200のCPU201から送信されたコマンドは、コマンドラインCLにより端部基板(310、320)を介してLED基板350のCPU351に入力可能である。LED基板350のCPU351はコマンドラインCLによりコマンドを送信可能である。図5に示したように、制御信号(パルス信号)ラインPLが設けられており、電源装置200のCPU201から出力された制御信号は、制御信号ラインPLにより端部基板(310、320)を介してLED基板350のCPU351に入力される。制御信号ラインPLには、波形整形回路(例えば、シュミットバッファ)が設けられ、制御信号の波形が安定するように構成されてもよい。 The illumination device 300 is provided with a command line CL, and a command transmitted from the CPU 201 of the power supply device 200 (not shown) is sent to the LED substrate 350 via the end substrates (310, 320) by the command line CL. It can be input to the CPU 351 . The CPU 351 of the LED board 350 can send commands through the command line CL. As shown in FIG. 5, a control signal (pulse signal) line PL is provided, and the control signal output from the CPU 201 of the power supply device 200 is transmitted through the end substrates (310, 320) by the control signal line PL. is input to the CPU 351 of the LED board 350 . A waveform shaping circuit (for example, a Schmidt buffer) may be provided on the control signal line PL to stabilize the waveform of the control signal.

隣り合うLED基板350のI/Oポート359のポート1とポート2とが接続されている。例えば、LED基板350-1のI/Oポート359-1のポート2は、LED基板350-2のI/Oポート359-2のポート1に接続されている。 Ports 1 and 2 of the I/O ports 359 of adjacent LED boards 350 are connected. For example, port 2 of I/O port 359-1 on LED board 350-1 is connected to port 1 of I/O port 359-2 on LED board 350-2.

LED基板350のI/Oポート359のポート2は、起動時には、入力ポートとして機能する。LED基板350のI/Oポート359のポート2は、アドレス番号割り振りコマンドを受信した後は、出力ポートとして機能する。 Port 2 of the I/O port 359 of the LED board 350 functions as an input port at startup. Port 2 of the I/O port 359 of the LED board 350 functions as an output port after receiving the address number allocation command.

コマンドラインCLは、LED基板350-1~LED基板350-4に並列に接続されており、電源装置200から送信されたコマンドは、LED基板350-1~LED基板350-4のCPU351は、ほぼ同時に受信することが可能となっているが、アドレス割り振りコマンドについては、LED基板350のI/Oポート359のポート1がLOWレベルとなっているLED基板350のCPU351のみが受信する。 The command line CL is connected in parallel to the LED boards 350-1 to 350-4. Although it is possible to receive them at the same time, only the CPU 351 of the LED board 350 whose port 1 of the I/O port 359 of the LED board 350 is at LOW level receives the address allocation command.

LED基板350-1のCPU351-1はアドレス割り振りコマンドを受信した後、アドレス割り振りコマンドを更新してコマンドラインCLへ出力する。出力されたアドレス割り振りコマンドは、ポート1がLOWレベルとなっていると判断した他のLED基板のCPU(LED基板350-1のCPU351-1とは異なるLED基板のCPU)が受信する。例えば、LED基板350-2のCPU351-2が、ポート1がLOWレベルとなっていると判断した場合、LED基板350-2のCPU351-2はアドレス割り振りコマンドを受信する。LED基板350-2のCPU351-2はアドレス割り振りコマンドを受信した後、アドレス割り振りコマンドを更新してコマンドラインCLへ出力する。以降のLED基板のCPUについても同様である。 After receiving the address allocation command, the CPU 351-1 of the LED board 350-1 updates the address allocation command and outputs it to the command line CL. The output address allocation command is received by the CPU of another LED board (the CPU of the LED board different from the CPU 351-1 of the LED board 350-1) that has determined that the port 1 is at the LOW level. For example, when the CPU 351-2 of the LED board 350-2 determines that the port 1 is at LOW level, the CPU 351-2 of the LED board 350-2 receives the address allocation command. After receiving the address allocation command, the CPU 351-2 of the LED board 350-2 updates the address allocation command and outputs it to the command line CL. The same applies to the CPUs of the subsequent LED substrates.

つまり、電源装置200から送信されたアドレス割り振りコマンドは、未受信の1のLED基板のCPUが受信し、アドレス割り振りコマンドを受信したLED基板のCPUは、アドレス割り振りコマンドを記憶して更新した後、別の未受信の1のLED基板のCPUが受信可能なようにアドレス割り振りコマンドをコマンドラインへ出力する。 In other words, the address allocation command transmitted from the power supply device 200 is received by the CPU of the LED board that has not yet received the command, and the CPU of the LED board that received the address allocation command stores and updates the address allocation command, and then An address allocation command is output to the command line so that the CPU of another LED board that has not yet received one can receive it.

具体的には、起動時には、LED基板350-1のI/Oポート359-1のポート1は端部基板310に接続されて、ポート1は、LOWレベルとなっているため、アドレス割り振りコマンドを受信可能となっている。 Specifically, at startup, the port 1 of the I/O port 359-1 of the LED board 350-1 is connected to the end board 310, and the port 1 is at the LOW level. Receivable.

その他のLED基板(350-2、350-3、350-4)のI/Oポート(359-2、359-3、359-4)のポート1は、一つ前のLED基板のI/Oポート(359-1、359-2、359-3)のポート2と接続されているが、制御電圧(例:5V)によりHIGHレベルとなっているため、アドレス割り振りコマンドを受信不可能となっている。 Port 1 of the I/O ports (359-2, 359-3, 359-4) of the other LED boards (350-2, 350-3, 350-4) is the I/O port of the previous LED board. It is connected to port 2 of ports (359-1, 359-2, 359-3), but since it is at HIGH level due to the control voltage (example: 5V), it is unable to receive the address allocation command. there is

このように、起動時には、端部基板310に接続されているLED基板350-1のCPU351-1が電源装置200のCPU201からコマンドラインCLで送信されたアドレス番号割り振りコマンドを必ず最初に受信するように構成されている。 In this way, when starting up, the CPU 351-1 of the LED board 350-1 connected to the end board 310 must first receive the address number allocation command transmitted from the CPU 201 of the power supply 200 via the command line CL. is configured to

LED基板350-1のCPU351-1は、アドレス番号割り振りコマンドを受信すると、アドレス番号割り振りコマンドの初期値のアドレス(例えば、0)から、LED基板350-1を構成するLED群の数(例えば、2つ)に応じてアドレスを登録(例えば、0、1を登録)し、LED群の数に応じてアドレスの初期値を加算(例えば、+2)して、アドレスの初期値が更新された(例えば、初期値が2となった)アドレス番号割り振りコマンドを送信する。 When the CPU 351-1 of the LED board 350-1 receives the address number allocation command, the CPU 351-1 of the LED board 350-1 calculates the number of LED groups (such as 2), the address is registered (for example, 0, 1 is registered), the initial value of the address is added (for example, +2) according to the number of LED groups, and the initial value of the address is updated ( For example, an address number allocation command with an initial value of 2 is transmitted.

LED基板350-1のCPU351-1は、アドレスを登録すると、I/Oポート359-1のポート2をHIGHレベルからLOWレベルに変更してからアドレスを加算(例えば、+2)して、アドレス番号割り振りコマンドを次のLED基板350-2のCPU351-2へ送信する。 When the address is registered, the CPU 351-1 of the LED board 350-1 changes the port 2 of the I/O port 359-1 from HIGH level to LOW level and then adds the address (for example, +2) to obtain the address number. An allocation command is sent to the CPU 351-2 of the next LED board 350-2.

LED基板350-1のCPU351-1がI/Oポート359-1のポート2をHIGHレベルからLOWレベルに変更することにより、LED基板350-2のI/Oポート359-2のポート1がLOWレベルとなるため、LED基板350-2のCPU351-2は次にアドレス番号割り振りコマンドを受信可能となる。 When the CPU 351-1 of the LED board 350-1 changes the port 2 of the I/O port 359-1 from HIGH level to LOW level, the port 1 of the I/O port 359-2 of the LED board 350-2 goes LOW. Since the level is reached, the CPU 351-2 of the LED board 350-2 can receive the next address number allocation command.

同様にして、LED基板350-2のCPU351-2、LED基板350-3のCPU351-3、LED基板350-4のCPU351-4がアドレス番号を登録する。最後のLED基板のCPUであるLED基板350-4のCPU351-4は、アドレス番号の登録を完了した場合、LED基板350-4のI/Oポート359-4のポート2は端部基板320に接続されているため、初めからLOWレベルになっており、HIGHレベルからLOWレベルに変更することができない。 Similarly, the CPU 351-2 of the LED board 350-2, the CPU 351-3 of the LED board 350-3, and the CPU 351-4 of the LED board 350-4 register the address numbers. When the CPU 351-4 of the LED board 350-4, which is the CPU of the last LED board, completes the registration of the address number, the port 2 of the I/O port 359-4 of the LED board 350-4 is connected to the end board 320. Since it is connected, it is at LOW level from the beginning and cannot be changed from HIGH level to LOW level.

つまり、端部基板320に接続されているLED基板350-4のCPU351-4は、以降にLED基板350が接続されていないことを認識することができ、アドレス割り振り処理の終了コマンドを電源装置200へ送信する。 In other words, the CPU 351-4 of the LED board 350-4 connected to the end board 320 can recognize that the LED board 350 is no longer connected, and sends the end command of the address allocation process to the power supply device 200. Send to

このように、電源装置200と照明装置300との接続向きに関わらず、つまり、照明装置300のコネクタ20と電源装置200が接続されるか、それとも、照明装置300のコネクタ21と電源装置200が接続されるかに関わらず、LED基板350-1を最初のLED基板350とし、LED基板350-4が最後のLED基板350としてLED群を制御することが可能となる。これにより、配線数を減らすことができ、ケーブルを細くすることもできる。さらに、照明装置300内の配線の取り回しを容易にすることができる。 In this way, regardless of the connection direction between the power supply device 200 and the lighting device 300, that is, whether the connector 20 of the lighting device 300 and the power supply device 200 are connected or the connector 21 of the lighting device 300 and the power supply device 200 are connected. Whether or not they are connected, LED board 350-1 can be the first LED board 350 and LED board 350-4 can be the last LED board 350 to control a group of LEDs. As a result, the number of wires can be reduced, and the cables can be thinner. Furthermore, wiring in lighting device 300 can be easily routed.

加算する数値は、LED基板350に搭載されているLED群の数に応じて変更してもよく、例えば、LED基板350に3つのLED群が搭載されている場合には加算する数値を3にしてもよい。 The numerical value to be added may be changed according to the number of LED groups mounted on the LED board 350. For example, when three LED groups are mounted on the LED board 350, the numerical value to be added is set to 3. may

<<アドレス割り振り処理>>
次に、図10はアドレス割り振り処理のフローチャートである。まず、ステップ1102で、LED基板350のCPU351は、アドレス番号割り振りコマンドを受信する。
<<Address allocation process>>
Next, FIG. 10 is a flowchart of address allocation processing. First, at step 1102, the CPU 351 of the LED board 350 receives an address number allocation command.

次に、ステップ1104で、LED基板350のCPU351は、I/Oポート359のポート1がLOWレベルであるか否かを判定する。ステップ1104でNoの場合、再度ステップ1102の処理となる。 Next, at step 1104, the CPU 351 of the LED board 350 determines whether port 1 of the I/O port 359 is at LOW level. If No in step 1104, the processing of step 1102 is performed again.

ステップ1104でYesの場合、ステップ1106で、LED基板350のCPU351は、アドレス番号割り振りコマンドが示すアドレス番号の初期値から当該LED基板350のLED群のアドレス番号としてRAM353に記憶する。 If Yes at step 1104 , at step 1106 , the CPU 351 of the LED board 350 stores the initial value of the address number indicated by the address number allocation command in the RAM 353 as the address number of the LED group of the LED board 350 .

LED基板350のCPU351は、アドレス番号をRAM353に記憶するため、電源断により、記憶したアドレス番号はクリアされる。つまり、LED基板350のCPU351は、起動する毎に、アドレス番号をRAM353に記憶する。 Since the CPU 351 of the LED board 350 stores the address number in the RAM 353, the stored address number is cleared when the power is turned off. That is, the CPU 351 of the LED board 350 stores the address number in the RAM 353 each time it is activated.

したがって、いずれかのLED基板350が故障し、故障したLED基板350を交換した場合でも、起動時にはアドレス番号が記憶されるので、故障したLED基板350のみを容易に交換することができる。また、DAC値も照明装置300側で記憶するよう構成しているため、電源装置200を交換しても照明装置300側のデータ(アドレス番号、DAC値等)は変更されず、電源装置200を交換する場合であっても、交換作業を簡便にかつ迅速に行うことができる。 Therefore, even if one of the LED boards 350 fails and the failed LED board 350 is replaced, only the failed LED board 350 can be easily replaced because the address number is stored at startup. Further, since the DAC value is also stored on the lighting device 300 side, even if the power supply device 200 is replaced, the data (address number, DAC value, etc.) on the lighting device 300 side is not changed, and the power supply device 200 can be replaced. Even in the case of replacement, the replacement work can be performed simply and quickly.

次に、ステップ1108で、LED基板350のCPU351は、I/Oポート359のポート2がHIGHレベルであるか否かを判定する。 Next, at step 1108, the CPU 351 of the LED board 350 determines whether port 2 of the I/O port 359 is at HIGH level.

ステップ1108でYesの場合、ステップ1110で、LED基板350のCPU351は、I/Oポート359のポート2をLOWレベルに変更する。 If Yes at step 1108, at step 1110, the CPU 351 of the LED board 350 changes the port 2 of the I/O port 359 to LOW level.

次に、ステップ1112で、LED基板350のCPU351は、アドレス番号割り振りコマンドのアドレス番号の初期値を加算してアドレス番号割り振りコマンドを送信する。 Next, in step 1112, the CPU 351 of the LED board 350 adds the initial value of the address number of the address number allocation command and transmits the address number allocation command.

前述した通り、ステップ1112で加算される数はLED群の数に基づくように構成することができる。例えば、1つのLED基板350に2つのLED群(例えば、LED-a、LED-b)が設けられている場合には+2となり、1つのLED基板350に3つのLED群(例えば、LED-a、LED-b、LED-c)が設けられている場合には+3となる。 As previously mentioned, the number added in step 1112 can be configured to be based on the number of LED groups. For example, when two LED groups (eg, LED-a and LED-b) are provided on one LED board 350, +2 is provided, and one LED board 350 has three LED groups (eg, LED-a , LED-b, and LED-c) are provided, +3.

ステップ1108でNoの場合、ステップ1114で、LED基板350のCPU351は、アドレス割り振り処理が終了したことを示す終了コマンドを電源装置200のCPU201へ送信する。 If No at step 1108 , at step 1114 , the CPU 351 of the LED board 350 transmits an end command indicating that the address allocation process has ended to the CPU 201 of the power supply device 200 .

ステップ1112、ステップ1114の処理が終了すると呼び出し元に戻る。 When the processing of steps 1112 and 1114 ends, the process returns to the caller.

なお、上述したように、ステップ1100のアドレス割り振り処理において、各LED基板のCPUは、ポート1がLOWレベルであると判断した場合にアドレス割り振りコマンドを受信する構成としたが、この構成に限られない。例えば、各LED基板のCPUは、出力されたアドレス割り振りコマンドを受信し、ポート1がLOWレベルのときにのみ受信したアドレス割り振りコマンドを用いてアドレス番号を更新する処理を行う構成としてもよい。 As described above, in the address allocation process of step 1100, the CPU of each LED board is configured to receive the address allocation command when it determines that port 1 is at the LOW level. do not have. For example, the CPU of each LED board may be configured to receive the output address allocation command and update the address number using the received address allocation command only when the port 1 is at LOW level.

<<アドレス割り振り処理のまとめ>>
<コマンドラインCLの並列接続>
照明装置300のコマンドラインCLは、各LED基板350に対して並列に接続されている。このため、LED基板350の全ては、コマンドラインCLを介して、電源装置200から発せられたコマンドを同時に受信することができる。
<<Summary of address allocation processing>>
<Parallel connection of command line CL>
A command line CL of the illumination device 300 is connected in parallel to each LED board 350 . Therefore, all of the LED boards 350 can simultaneously receive commands issued from the power supply device 200 via the command line CL.

<ポートの接続による直列接続>
また、照明装置300において、複数のLED基板350の隣り合う2つのLED基板350の一方のLED基板350のポート1と他方のLED基板350のポート2とを接続することで、複数のLED基板が直列に接続されている。
<Series connection by connecting ports>
Further, in the lighting device 300, by connecting the port 1 of one LED board 350 and the port 2 of the other LED board 350 of two adjacent LED boards 350 among the plurality of LED boards 350, the plurality of LED boards connected in series.

<アドレス番号の割り振り>
ポート1がLOWレベルである第1のLED基板350(割り振り許可状態のLED基板)のCPUは、アドレス割り振りコマンドを受信すると、第1のLED基板350(自分自身)にアドレス番号を割り振る。次いで、第1のLED基板350のCPUは、ポート2をLOWレベルに変更するとともに、LED群の数に応じてアドレス番号を更新して、更新したアドレス番号を示すアドレス割り振りコマンドをコマンドラインCLへ出力する。第1のLED基板350のポート2をLOWレベルに変更することで、ポート同士が接続されて隣り合う第2のLED基板350のポート1をLOWレベルに変更する。すなわち、第2のLED基板350は、割り振り禁止状態から割り振り許可状態に変更される。このため、第2のLED基板350は、第1のLED基板350からコマンドラインCLへ出力されたアドレス割り振りコマンドを受信すると、第2のLED基板350にアドレスを割り振る。
<Allocation of address numbers>
When receiving the address allocation command, the CPU of the first LED board 350 (allocation permitted state LED board) whose port 1 is at LOW level allocates an address number to the first LED board 350 (self). Next, the CPU of the first LED board 350 changes the port 2 to LOW level, updates the address number according to the number of LED groups, and sends an address allocation command indicating the updated address number to the command line CL. Output. By changing the port 2 of the first LED board 350 to LOW level, the port 1 of the second LED board 350, which is connected to the adjacent ports, is changed to LOW level. That is, the second LED board 350 is changed from the allocation prohibited state to the allocation permitted state. Therefore, the second LED board 350 allocates an address to the second LED board 350 when receiving the address allocation command output from the first LED board 350 to the command line CL.

第2のLED基板350は、同様に、ポート2をLOWレベルに変更するとともに、LED群の数に応じてアドレス番号を更新して、更新したアドレス番号を示すアドレス割り振りコマンドをコマンドラインCLへ出力する。このようにすることで、ポート同士が接続されて隣り合う第3のLED基板350に、更新されたアドレス番号を割り振ることができる。 The second LED board 350 similarly changes the port 2 to LOW level, updates the address number according to the number of LED groups, and outputs an address allocation command indicating the updated address number to the command line CL. do. By doing so, the updated address numbers can be assigned to the third LED boards 350 that are adjacent to each other by connecting the ports.

このように、割り振り許可状態のLED基板350は、ポート同士が接続されている割り振り禁止状態のLED基板350を割り振り許可状態にするとともに、アドレス番号を更新してコマンドラインCLへ出力する。割り振り許可状態となったLED基板350が、アドレス番号を受信すると、そのアドレス番号を自分自身に割り振る。このようにして、複数のLED基板350に、順次にアドレス番号を割り振ることができる。 In this manner, the LED boards 350 in the allocation-permitted state change the allocation-prohibited LED boards 350 whose ports are connected to each other to the allocation-permitted state, update the address numbers, and output them to the command line CL. When the LED board 350 in allocation permission state receives the address number, it allocates the address number to itself. In this manner, address numbers can be sequentially assigned to the plurality of LED boards 350 .

次に、同様にポート1がLOWレベルであるLED基板のCPUがアドレス割り振りコマンドを受信することとなる。なお、ポート1がLOWレベルであるLED基板とは、前述した通りアドレス割り振りコマンドを出力したLED基板のポート2と接続されているポート1を有するLED基板である。したがって、各LED基板のポート1は順番にLOWレベルに変更され、各LED群に対するアドレス番号が割り振られることとなる。 Next, the CPU of the LED board whose port 1 is at LOW level similarly receives the address allocation command. An LED board whose port 1 is at LOW level is an LED board having port 1 connected to port 2 of the LED board that outputs the address allocation command as described above. Therefore, port 1 of each LED board is changed to LOW level in turn, and an address number is assigned to each LED group.

<<<照度検出システム>>>
次に、図11(a)を用いて照度検出システムの概略を説明する。図11(a)において、破線部は、照明装置300の側面部33側から見た一部破断側面図を示し、照度検出システム全体としては、ブロック図として示している。初めに、照度検出システムとは、照明装置300の製造者の出荷検査用の検査場などに設けられるシステムであり、照明装置300のLED群の間に生じる照度の誤差をなるべく均一にして照明装置300を出荷するために用いるシステムである。
<<<illuminance detection system>>>
Next, an outline of the illuminance detection system will be described with reference to FIG. 11(a). In FIG. 11(a), the dashed line indicates a partially broken side view of the illumination device 300 as viewed from the side 33 side, and the illuminance detection system as a whole is shown as a block diagram. First, the illuminance detection system is a system installed at an inspection site for shipment inspection of the manufacturer of the lighting device 300, and is used to make the illuminance error between the LED groups of the lighting device 300 uniform as much as possible. This is the system used to ship the 300.

照度検出システムは、PC500(例えば、パーソナルコンピュータ)と、照度検出装置600と、電源装置200と、照明装置300とを備える。 The illuminance detection system includes a PC 500 (for example, a personal computer), an illuminance detection device 600 , a power supply device 200 and an illumination device 300 .

照度検出装置600は照度検出部700を備える。照度検出部700は、照明装置300のLED群の照度を検出可能であり、LEDから照射された光を受光するための受光素子(例えば、フォトダイオード)を備えている。照度検出部700は、照明装置300の上方に配置され、照明装置300の照射部10に沿って移動可能に構成されている。照度検出部700は、照明装置300の上方の一定の高さで移動可能に構成されている。 The illuminance detection device 600 includes an illuminance detection section 700 . The illuminance detection unit 700 can detect the illuminance of the LED group of the illumination device 300, and includes a light receiving element (for example, a photodiode) for receiving light emitted from the LEDs. The illuminance detection unit 700 is arranged above the illumination device 300 and is configured to be movable along the irradiation unit 10 of the illumination device 300 . Illuminance detection unit 700 is configured to be movable at a certain height above illumination device 300 .

照度検出部700の受光素子は、照明装置300の照射部10に向かって配置されている。受光素子は、受光した光の強度を示す信号をPC500へ出力する。PC500は、受光素子が受光した光の強度を示す信号を受信することで照度検出部700の位置を特定することができる。 The light receiving element of the illuminance detection unit 700 is arranged facing the irradiation unit 10 of the illumination device 300 . The light receiving element outputs a signal indicating the intensity of the received light to the PC 500 . The PC 500 can identify the position of the illuminance detection unit 700 by receiving a signal indicating the intensity of light received by the light receiving element.

PC500は、操作者(例えば、照明装置の製造者)が操作可能であり、検査開始や検査停止の指示、照度検出部700からの検出情報の受信、照度検出装置600の制御、電源装置200とのコマンドの送受信等を行う。 The PC 500 can be operated by an operator (for example, the manufacturer of the lighting device), instructs to start or stop inspection, receives detection information from the illuminance detection unit 700, controls the illuminance detection device 600, controls the illuminance detection device 600, commands are sent and received.

電源装置200は、PC500から受信した検査に関するコマンドに対応するコマンドの照明装置300への送信、照明装置300から受信したコマンドに対応するコマンドのPC500への送信等を行う。 The power supply device 200 transmits to the lighting device 300 commands corresponding to commands related to inspection received from the PC 500 , and transmits commands corresponding to commands received from the lighting device 300 to the PC 500 .

照明装置300のLED基板350のCPU351は、電源装置200から受信したコマンドに応じたLED群(LED-a356a、LED-b356b)の発光制御、所定の発光の明るさに対応するDAC値の登録等を行う。 The CPU 351 of the LED board 350 of the lighting device 300 controls the light emission of the LED group (LED-a 356a, LED-b 356b) according to the command received from the power supply device 200, registers the DAC value corresponding to the predetermined light emission brightness, and the like. I do.

照度検出装置600は、PC500の指示に基づいて制御される。 Illuminance detection device 600 is controlled based on instructions from PC 500 .

<<照度検出システム斜視図>>
次に、図11(b)を用いて、照度検出システムにおける照明装置300と照度検出部700の関係について説明する。
<< Illuminance detection system perspective view >>
Next, the relationship between the lighting device 300 and the illuminance detection unit 700 in the illuminance detection system will be described with reference to FIG. 11(b).

照度検出部700は、照明装置300の長手方向と平行に配置されている。 The illuminance detection unit 700 is arranged parallel to the longitudinal direction of the illumination device 300 .

照明装置300は、LEDから発せられた光を垂直方向に照射部10から照射する。 The illumination device 300 irradiates the light emitted from the LED from the irradiation unit 10 in the vertical direction.

前述した通り、照度検出部700は、照明装置300の長手方向に平行移動可能である。平行移動することにより、照明装置300のLEDから発せられた光を受光する。照度検出部700は、照度検出装置600において、照明装置300のLEDから発せられた光を受光し易い位置(照明装置300から所定距離離れた位置)に配置される。 As described above, the illuminance detection unit 700 can be translated in the longitudinal direction of the illumination device 300 . Light emitted from the LED of the illumination device 300 is received by moving in parallel. The illuminance detection unit 700 is arranged in the illuminance detection device 600 at a position where light emitted from the LED of the lighting device 300 is easily received (at a predetermined distance from the lighting device 300).

<<<照度の均一化の概要>>>
LED基板350のCPU351が、LED群に対して所定のDAC値(例えば、4095)で発光するように指示して単に発光させた場合には、LEDの個体差によって照度はバラつく。そこで、個体差を吸収して照度がなるべく均一になるように、本実施形態では、LED基板350のCPU351は、明暗度100%(例えば、設定の基準にするための照度や輝度の値(以下、基準照度値と称する)が30000)、明暗度50%(例えば、基準照度値が15000)、明暗度1%(例えば、基準照度値が300)となるDAC値をEEPROM354に記憶し、その他の明暗度に対応するDAC値は、これらの値を基にした関数を用いて算出する。なお、ここでは、LEDから発する光の明るさの明暗度を0~100%の割合で示した。
<<<Overview of equalization of illuminance>>>
If the CPU 351 of the LED board 350 instructs the LED group to emit light with a predetermined DAC value (for example, 4095) and simply causes the LED group to emit light, the illuminance varies due to individual differences in the LEDs. Therefore, in this embodiment, the CPU 351 of the LED board 350 sets the brightness to 100% (for example, the illuminance and brightness values (hereinafter referred to as , referred to as the reference illumination value) is 30000), the intensity is 50% (for example, the reference illumination value is 15000), and the intensity is 1% (for example, the reference illumination value is 300). A DAC value corresponding to intensity is calculated using a function based on these values. Here, the intensity of the brightness of the light emitted from the LED is shown as a ratio of 0 to 100%.

基準照度値の単位は、lx(ルクス)やcd(カンデラ)など適宜定められるものであってよい。DAC値は、デジタル値であり、例えば、0~4095等の値である。明暗度100%に対応するDAC値は、LED群のLEDの光学的特性などによって異なる場合があり、或るLED群では、明暗度100%に対応するDAC値が4095であり、別のLED群では、明暗度100%に対応するDAC値が4094である場合がある。入力値(0~1000)を1000にすると、全てのLED群が明暗度100%で出力するよう構成されている。なお、前述したように、照度レンジに応じた入力値の範囲は異なってもよく、本実施形態では、全照度モードでは入力値の範囲が0~3000、低照度モード・中照度モード・高照度モードでは入力値の範囲が0~1000となっている。 The unit of the reference illuminance value may be determined as appropriate, such as lx (lux) or cd (candela). The DAC value is a digital value, for example, a value such as 0-4095. The DAC value corresponding to 100% intensity may differ depending on the optical characteristics of the LEDs in the LED group, etc. In one LED group, the DAC value corresponding to 100% intensity is 4095, and in another LED group , the DAC value corresponding to 100% intensity may be 4094. When the input value (0 to 1000) is set to 1000, all the LED groups are configured to output at 100% intensity. As described above, the range of input values may vary depending on the illuminance range. In mode, the range of input values is 0-1000.

<<100%用設定処理の具体例>>
次に、図12は、照明装置300を明暗度100%(基準照度値が30000)で発光させる場合のために、LED基板350のCPU351が、LED基板350のLED群(LED-a356a、LED-b356b)の明暗度100%(基準照度値が30000)となるDAC値をEEPROM354に記憶する処理の具体例である。
<<Specific example of setting process for 100%>>
Next, FIG. 12 shows that the CPU 351 of the LED board 350 controls the LED group (LED-a 356a, LED-a 356a, LED- b356b) is a specific example of the process of storing in the EEPROM 354 the DAC value at which the intensity is 100% (the reference illuminance value is 30000).

図12(a)は、PC500が、照明装置300に対して、DAC値4095(MAX値)で発光するよう指示した場合に、照度検出部700が検出したLED基板350のLED群(LED-a356a、LED-b356b)の照度(検出値)を示している。 FIG. 12A shows an LED group (LED-a 356a , LED-b 356b).

照度検出部700の検出値は、LED基板350-1のLED-a356a-1は30030、LED基板350-1のLED-b356b-1は30010、LED基板350-2のLED-a356a-2は30000、LED基板350-2のLED-b356b-2は30050、LED基板350-3のLED-a356a-3は30040、LED基板350-3のLED-b356b-3は30030である。このように、DAC値4095で発光するように指示して単に発光させた場合には、LEDの個体差等により照度はバラつく。LED基板350-4のLED-a356a-4、LED-b356b-4については図示を省略している。以降においても同様にLED基板350-4のLED-a356a-4、LED-b356b-4については図示を省略している。 The detection value of the illuminance detection unit 700 is 30030 for the LED-a356a-1 on the LED board 350-1, 30010 for the LED-b356b-1 on the LED board 350-1, and 30000 for the LED-a356a-2 on the LED board 350-2. , the LED-b 356b-2 of the LED board 350-2 is 30050, the LED-a 356a-3 of the LED board 350-3 is 30040, and the LED-b 356b-3 of the LED board 350-3 is 30030. In this way, when the LED is simply caused to emit light by instructing it to emit light with a DAC value of 4095, the illuminance varies due to individual differences in the LEDs. The LED-a 356a-4 and LED-b 356b-4 of the LED board 350-4 are omitted from the illustration. Similarly, the LED-a 356a-4 and the LED-b 356b-4 of the LED board 350-4 are omitted from the following description.

PC500は、LED基板350のLED群の照度(照度検出部700の検出値)を比較し、最低値(ここでは30000)を照度100%の基準照度値として記憶する。そして、最低値であったLED群(ここではLED基板350-2のLED-a356a-2)を制御するLED基板のCPU(CPU351-2)が明暗度100%を発光するためのDAC値として、現在のDAC値(4095)を登録するよう登録コマンドを送信し、登録コマンドを受信したCPU(CPU351-2)は、明暗度100%に対応するDAC値として4095を登録する。 The PC 500 compares the illuminance of the LED group on the LED board 350 (the value detected by the illuminance detection unit 700) and stores the lowest value (here, 30000) as the reference illuminance value of 100% illuminance. Then, as the DAC value for the CPU (CPU 351-2) of the LED board that controls the LED group (here, LED-a 356a-2 of LED board 350-2) with the lowest value to emit light at 100% intensity, A registration command is transmitted to register the current DAC value (4095), and the CPU (CPU 351-2) that receives the registration command registers 4095 as the DAC value corresponding to 100% brightness.

次に、最低値であったLED群(ここではLED基板350-2のLED-a356a-2)以外の明暗度100%のDAC値を登録するために、PC500はDAC値を1減算してLED群を発光させるようDAC値コマンドを送信する。 Next, in order to register the DAC value of 100% brightness other than the LED group with the lowest value (here, LED-a356a-2 of LED board 350-2), PC500 subtracts 1 from the DAC value and LED Send a DAC value command to light the group.

図12(b)は、PC500が、照明装置300に対して、DAC値4094で発光するよう指示した場合に、照度検出部700が検出したLED基板350のLED群(LED-a356a、LED-b356b)の照度(検出値)を示している。 FIG. 12B shows an LED group (LED-a 356a, LED-b 356b ) shows the illuminance (detected value).

照度検出部700の検出値は、LED基板350-1のLED-a356a-1は30000、LED基板350-1のLED-b356b-1は29980、LED基板350-2のLED-a356a-2は29970、LED基板350-2のLED-b356b-2は30020、LED基板350-3のLED-a356a-3は30010、LED基板350-3のLED-b356b-3は30000である。 The detection value of the illuminance detection unit 700 is 30000 for the LED-a356a-1 on the LED board 350-1, 29980 for the LED-b356b-1 on the LED board 350-1, and 29970 for the LED-a356a-2 on the LED board 350-2. , the LED-b 356b-2 of the LED board 350-2 is 30020, the LED-a 356a-3 of the LED board 350-3 is 30010, and the LED-b 356b-3 of the LED board 350-3 is 30000.

PC500は、基準照度値として記憶した30000と同一又は下回ったLED群があるか否かを判定する。ここでは、LED基板350-1のLED-a356a-1、LED基板350-1のLED-b356b-1、LED基板350-3のLED-b356b-3、の3つが基準照度値と同一又は基準照度値を下回ったため、CPU351-1へLED-a356a-3とLED-b356b-3の明暗度100%のDAC値として、CPU351-3へLED-b356b-3の明暗度100%のDAC値として、現在のDAC値を登録するための登録コマンドを送信し、登録コマンドを受信したCPUは、100%のDAC値として4094を登録する。 The PC 500 determines whether or not there is an LED group whose illuminance is equal to or lower than 30000 stored as the reference illuminance value. Here, three LED-a 356a-1 on the LED board 350-1, LED-b 356b-1 on the LED board 350-1, and LED-b 356b-3 on the LED board 350-3 are the same as the reference illuminance value or the reference illuminance Since it fell below the value, the current , and the CPU that receives the registration command registers 4094 as the 100% DAC value.

図12(c)は、PC500が、照明装置300に対して、DAC値4093で発光するよう指示した場合に、照度検出部700が検出したLED基板350のLED群(LED-a356a、LED-b356b)の照度を示している。 FIG. 12C shows the LED group (LED-a 356a, LED-b 356b ).

照度検出部700の検出値は、LED基板350-1のLED-a356a-1は29950、LED基板350-1のLED-b356b-1は29960、LED基板350-2のLED-a356a-2は29950、LED基板350-2のLED-b356b-2は29990、LED基板350-3のLED-a356a-3は29980、LED基板350-3のLED-b356b-3は29970である。 The detection value of the illuminance detection unit 700 is 29950 for the LED-a356a-1 on the LED board 350-1, 29960 for the LED-b356b-1 on the LED board 350-1, and 29950 for the LED-a356a-2 on the LED board 350-2. , the LED-b 356b-2 of the LED board 350-2 is 29990, the LED-a 356a-3 of the LED board 350-3 is 29980, and the LED-b 356b-3 of the LED board 350-3 is 29970.

PC500は、基準照度値として記憶した30000と同一又は下回ったLED群があるか否かを判定する。ここでは、LED基板350-2のLED-b356b-2、LED基板350-3のLED-a356a-3、の2つが基準照度値を下回ったため、CPU351-2へLED-b356b-2の明暗度100%のDAC値として、CPU351-3へLED-a356a-3の明暗度100%のDAC値として、現在のDAC値を登録するための登録コマンドを送信し、登録コマンドを受信したCPUは、100%のDAC値として4093を登録する。 The PC 500 determines whether or not there is an LED group whose illuminance is equal to or lower than 30000 stored as the reference illuminance value. Here, since two of the LED-b356b-2 of the LED board 350-2 and the LED-a356a-3 of the LED board 350-3 are below the reference illuminance value, the brightness of the LED-b356b-2 is sent to the CPU 351-2 As a DAC value of 100%, a registration command for registering the current DAC value of LED-a 356a-3 as a DAC value of 100% intensity of LED-a 356a-3 is transmitted to CPU 351-3. 4093 is registered as the DAC value of .

このようにして、DAC値を1ずつ減算していき、全てのLED基板350のLED群(LED-a356a、LED-b356b)においてEEPROM354に明暗度100%のDAC値が登録されると100%用設定処理は完了となる。 In this way, the DAC value is decremented by 1, and when the DAC value of 100% intensity is registered in the EEPROM 354 for all the LED groups (LED-a 356a, LED-b 356b) of the LED board 350, the DAC value for 100% is registered. The setting process is completed.

<<50%用設定処理の具体例>>
次に、図13は、照明装置300を明暗度50%(基準照度値が15000)で発光させる場合のために、LED基板350のCPU351が、LED基板350のLED群(LED-a356a、LED-b356b)の明暗度50%(基準照度値が15000)となるDAC値をEEPROM354に記憶する処理の具体例である。
<<Specific example of setting process for 50%>>
Next, FIG. 13 shows that the CPU 351 of the LED board 350 controls the LED group (LED-a 356a, LED-a 356a, LED- b356b) is a specific example of the process of storing in the EEPROM 354 the DAC value at which the intensity is 50% (the reference illuminance value is 15000).

50%用設定処理では、100%用設定処理の基準値30000の半分の値である15000を基準照度値とする。50%用設定処理では、最大値となるDAC値4095の半分より少し上のDAC値(ここではDAC値2050)から照度の検出を開始する。このようにすることで、LEDの個体差により照度の誤差があったとしても適切に照度を検出してDAC値を登録することができる。 In the 50% setting process, 15000, which is half the reference value of 30000 in the 100% setting process, is set as the reference illuminance value. In the 50% setting process, illuminance detection is started from a DAC value (here, DAC value 2050) slightly above half of the maximum DAC value 4095. FIG. By doing so, even if there is an error in the illuminance due to individual differences in the LEDs, the illuminance can be appropriately detected and the DAC value can be registered.

図13(a)は、PC500が、照明装置300に対して、DAC値2050で発光するよう指示した場合に、照度検出部700が検出したLED基板350のLED群(LED-a356a、LED-b356b)の照度を示している。 FIG. 13A shows an LED group (LED-a 356a, LED-b 356b ).

照度検出部700の検出値は、LED基板350-1のLED-a356a-1は15120、LED基板350-1のLED-b356b-1は15070、LED基板350-2のLED-a356a-2は15090、LED基板350-2のLED-b356b-2は15140、LED基板350-3のLED-a356a-3は15120、LED基板350-3のLED-b356b-3は15130である。 The detection value of the illuminance detection unit 700 is 15120 for the LED-a356a-1 on the LED board 350-1, 15070 for the LED-b356b-1 on the LED board 350-1, and 15090 for the LED-a356a-2 on the LED board 350-2. , the LED-b 356b-2 of the LED board 350-2 is 15140, the LED-a 356a-3 of the LED board 350-3 is 15120, and the LED-b 356b-3 of the LED board 350-3 is 15130.

PC500は、明暗度50%の基準照度値(ここでは15000)と同一又は基準照度値を下回ったLED群があるか否かを判定する。ここでは、いずれも基準照度値と同一又は下回っていないため、いずれのLED基板350のCPU351もDAC値を登録しない。 The PC 500 determines whether or not there is a group of LEDs whose brightness is equal to or lower than the reference illuminance value (here, 15000) of 50% brightness. Here, since none of them are equal to or less than the reference illuminance value, the CPU 351 of none of the LED boards 350 does not register the DAC value.

次に、PC500はDAC値を1減算して発光するようDAC値コマンドを送信する。 Next, the PC 500 transmits a DAC value command to decrement the DAC value by 1 and emit light.

図13(b)は、PC500が、照明装置300に対して、DAC値2049で発光するよう指示した場合に、照度検出部700が検出したLED基板350のLED群(LED-a356a、LED-b356b)の照度を示している。 FIG. 13B shows an LED group (LED-a 356a, LED-b 356b ).

照度検出部700の検出値は、LED基板350-1のLED-a356a-1は15090、LED基板350-1のLED-b356b-1は15030、LED基板350-2のLED-a356a-2は15060、LED基板350-2のLED-b356b-2は15110、LED基板350-3のLED-a356a-3は15100、LED基板350-3のLED-b356b-3は15110である。 The detection value of the illuminance detection unit 700 is 15090 for the LED-a356a-1 on the LED board 350-1, 15030 for the LED-b356b-1 on the LED board 350-1, and 15060 for the LED-a356a-2 on the LED board 350-2. , the LED-b 356b-2 of the LED board 350-2 is 15110, the LED-a 356a-3 of the LED board 350-3 is 15100, and the LED-b 356b-3 of the LED board 350-3 is 15110.

PC500は、基準照度値として記憶した15000と同一又は下回ったLED群があるか否かを判定する。ここでは、未だいずれも基準照度値と同一又は下回っていないため、いずれのLED基板350のCPU351もDAC値を登録しない。 The PC 500 determines whether or not there is an LED group whose illuminance value is equal to or lower than 15000 stored as the reference illuminance value. Here, since none of them are equal to or less than the reference illuminance value, neither the CPU 351 of any of the LED boards 350 registers the DAC value.

図13(c)は、PC500が、照明装置300に対して、DAC値2048で発光するよう指示した場合に、照度検出部700が検出したLED基板350のLED群(LED-a356a、LED-b356b)の照度を示している。 FIG. 13C shows the LED group (LED-a 356a, LED-b 356b ).

照度検出部700の検出値は、LED基板350-1のLED-a356a-1は15060、LED基板350-1のLED-b356b-1は15000、LED基板350-2のLED-a356a-2は15030、LED基板350-2のLED-b356b-2は15080、LED基板350-3のLED-a356a-3は15070、LED基板350-3のLED-b356b-3は15080である。 The detection value of the illuminance detection unit 700 is 15060 for the LED-a356a-1 on the LED board 350-1, 15000 for the LED-b356b-1 on the LED board 350-1, and 15030 for the LED-a356a-2 on the LED board 350-2. , the LED-b 356b-2 of the LED board 350-2 is 15080, the LED-a 356a-3 of the LED board 350-3 is 15070, and the LED-b 356b-3 of the LED board 350-3 is 15080.

PC500は、基準照度値として記憶した15000と同一又は下回ったLED群があるか否かを判定する。ここでは、LED基板350-1のLED-b356b-1が基準照度値と同一となったため、CPU351-1へLED-b356b-1の明暗度50%のDAC値として、現在のDAC値を登録するための登録コマンドを送信し、登録コマンドを受信したCPUは、50%のDAC値として2048を登録する。 The PC 500 determines whether or not there is an LED group whose illuminance value is equal to or lower than 15000 stored as the reference illuminance value. Here, since the LED-b356b-1 of the LED board 350-1 is the same as the reference illuminance value, the current DAC value is registered in the CPU 351-1 as the DAC value of the brightness of LED-b356b-1 at 50%. The CPU that has received the registration command registers 2048 as the 50% DAC value.

図13(d)は、PC500が、照明装置300に対して、DAC値2047で発光するよう指示した場合に、照度検出部700が検出したLED基板350のLED群(LED-a356a、LED-b356b)の照度を示している。 FIG. 13D shows the LED group (LED-a 356a, LED-b 356b ).

照度検出部700の検出値は、LED基板350-1のLED-a356a-1は15030、LED基板350-1のLED-b356b-1は14970、LED基板350-2のLED-a356a-2は15000、LED基板350-2のLED-b356b-2は15050、LED基板350-3のLED-a356a-3は15040、LED基板350-3のLED-b356b-3は15050である。 The detection value of the illuminance detection unit 700 is 15030 for the LED-a356a-1 on the LED board 350-1, 14970 for the LED-b356b-1 on the LED board 350-1, and 15000 for the LED-a356a-2 on the LED board 350-2. , the LED-b 356b-2 of the LED board 350-2 is 15050, the LED-a 356a-3 of the LED board 350-3 is 15040, and the LED-b 356b-3 of the LED board 350-3 is 15050.

PC500は、基準照度値として記憶した15000と同一又は下回ったLED群があるか否かを判定する。ここでは、LED基板350-2のLED-a356a-2が基準照度値と同一となったため、CPU351-2へLED-a356a-2の明暗度50%のDAC値として、現在のDAC値を登録するための登録コマンドを送信し、登録コマンドを受信したCPUは、50%のDAC値として2047を登録する。 The PC 500 determines whether or not there is an LED group whose illuminance value is equal to or lower than 15000 stored as the reference illuminance value. Here, since the LED-a 356a-2 of the LED board 350-2 is the same as the reference illuminance value, the current DAC value is registered in the CPU 351-2 as the DAC value of the brightness of LED-a 356a-2 of 50%. The CPU that has received the registration command registers 2047 as the 50% DAC value.

このようにして、DAC値を1ずつ減算していき、全てのLED基板350のLED群(LED-a356a、LED-b356b)においてEEPROM354に50%のDAC値が登録されると50%用設定処理は完了となる。 In this way, the DAC value is decremented by 1, and when the DAC value of 50% is registered in the EEPROM 354 for all the LED groups (LED-a 356a, LED-b 356b) of the LED board 350, setting processing for 50% is performed. is completed.

<<1%用設定処理の具体例>>
次に、図14は、照明装置300を明暗度1%(基準照度値が300)で発光させる場合のために、LED基板350のCPU351が、LED基板350のLED群(LED-a356a、LED-b356b)の明暗度1%(基準照度値が300)となるDAC値をEEPROM354に記憶する処理の具体例である。
<<Specific example of setting process for 1%>>
Next, in FIG. 14, the CPU 351 of the LED board 350 controls the LED group (LED-a 356a, LED-a 356a, LED- b356b) is a specific example of the process of storing in the EEPROM 354 the DAC value at which the intensity is 1% (the reference illuminance value is 300).

1%用設定処理では、100%設定の基準照度値30000の1%の値である300を基準照度値とする。1%設定では、最大値となるDAC値4095の1%より少し上のDAC値(ここではDAC値44)から照度の検出を開始する。このようにすることで、LEDの個体差により照度の誤差があったとしても適切に照度を検出してDAC値を登録することができる。 In the 1% setting process, 300, which is 1% of the 100% set reference illuminance value 30000, is set as the reference illuminance value. With the 1% setting, the detection of illuminance is started from a DAC value slightly above 1% of the maximum DAC value 4095 (DAC value 44 here). By doing so, even if there is an error in the illuminance due to individual differences in the LEDs, the illuminance can be appropriately detected and the DAC value can be registered.

図14(a)は、PC500が、照明装置300に対して、DAC値44で発光するよう指示した場合に、照度検出部700が検出したLED基板350のLED群(LED-a356a、LED-b356b)の照度を示している。 FIG. 14A shows an LED group (LED-a 356a, LED-b 356b ).

照度検出部700の検出値は、LED基板350-1のLED-a356a-1は410、LED基板350-1のLED-b356b-1は380、LED基板350-2のLED-a356a-2は390、LED基板350-2のLED-b356b-2は430、LED基板350-3のLED-a356a-3は440、LED基板350-3のLED-b356b-3は380である。 The detection value of the illuminance detection unit 700 is 410 for the LED-a356a-1 on the LED board 350-1, 380 for the LED-b356b-1 on the LED board 350-1, and 390 for the LED-a356a-2 on the LED board 350-2. , the LED-b 356b-2 of the LED board 350-2 is 430, the LED-a 356a-3 of the LED board 350-3 is 440, and the LED-b 356b-3 of the LED board 350-3 is 380.

PC500は、明暗度1%の基準照度値(ここでは300)と同一又は基準照度値を下回ったLED群があるか否かを判定する。ここでは、いずれも基準照度値と同一又は下回っていないため、いずれのLED基板350のCPU351もDAC値を登録しない。 The PC 500 determines whether or not there is a group of LEDs whose brightness is equal to or lower than the reference illumination value (here, 300) of 1% brightness. Here, since none of them are equal to or less than the reference illuminance value, the CPU 351 of none of the LED boards 350 does not register the DAC value.

次に、PC500はDAC値を1減算して発光するようDAC値コマンドを送信する。 Next, the PC 500 transmits a DAC value command to decrement the DAC value by 1 and emit light.

図14(b)は、PC500が、照明装置300に対して、DAC値43で発光するよう指示した場合に、照度検出部700が検出したLED基板350のLED群(LED-a356a、LED-b356b)の照度を示している。 FIG. 14B shows the LED group (LED-a 356a, LED-b 356b ).

照度検出部700の検出値は、LED基板350-1のLED-a356a-1は380、LED基板350-1のLED-b356b-1は350、LED基板350-2のLED-a356a-2は360、LED基板350-2のLED-b356b-2は400、LED基板350-3のLED-a356a-3は410、LED基板350-3のLED-b356b-3は350である。 The detection value of the illuminance detection unit 700 is 380 for the LED-a356a-1 of the LED board 350-1, 350 for the LED-b356b-1 of the LED board 350-1, and 360 for the LED-a356a-2 of the LED board 350-2. , the LED-b 356b-2 of the LED board 350-2 is 400, the LED-a 356a-3 of the LED board 350-3 is 410, and the LED-b 356b-3 of the LED board 350-3 is 350.

PC500は、明暗度1%の基準照度値(ここでは300)と同一又は基準照度値を下回ったLED群があるか否かを判定する。ここでは、未だいずれも基準照度値と同一又は下回っていないため、いずれのLED基板350のCPU351もDAC値を登録しない。 The PC 500 determines whether or not there is a group of LEDs whose brightness is equal to or lower than the reference illumination value (here, 300) of 1% brightness. Here, since none of them are equal to or less than the reference illuminance value, neither the CPU 351 of any of the LED boards 350 registers the DAC value.

次に、PC500はDAC値を1減算して発光するようDAC値コマンドを送信する。 Next, the PC 500 transmits a DAC value command to decrement the DAC value by 1 and emit light.

図14(c)は、PC500が、照明装置300に対して、DAC値42で発光するよう指示した場合に、照度検出部700が検出したLED基板350のLED群(LED-a356a、LED-b356b)の照度を示している。 FIG. 14C shows an LED group (LED-a 356a, LED-b 356b ).

照度検出部700の検出値は、LED基板350-1のLED-a356a-1は350、LED基板350-1のLED-b356b-1は320、LED基板350-2のLED-a356a-2は330、LED基板350-2のLED-b356b-2は370、LED基板350-3のLED-a356a-3は380、LED基板350-3のLED-b356b-3は320である。 The detection value of the illuminance detection unit 700 is 350 for the LED-a356a-1 on the LED board 350-1, 320 for the LED-b356b-1 on the LED board 350-1, and 330 for the LED-a356a-2 on the LED board 350-2. , LED-b 356b-2 of the LED board 350-2 is 370, LED-a 356a-3 of the LED board 350-3 is 380, and LED-b 356b-3 of the LED board 350-3 is 320.

PC500は、明暗度1%の基準照度値(ここでは300)と同一又は基準照度値を下回ったLED群があるか否かを判定する。ここでは、未だいずれも基準照度値と同一又は下回っていないため、いずれのLED基板350のCPU351もDAC値を登録しない。 The PC 500 determines whether or not there is a group of LEDs whose brightness is equal to or lower than the reference illumination value (here, 300) of 1% brightness. Here, since none of them are equal to or less than the reference illuminance value, neither the CPU 351 of any of the LED boards 350 registers the DAC value.

次に、PC500はDAC値を1減算して発光するようDAC値コマンドを送信する。 Next, the PC 500 transmits a DAC value command to decrement the DAC value by 1 and emit light.

図14(d)は、PC500が、照明装置300に対して、DAC値41で発光するよう指示した場合に、照度検出部700が検出したLED基板350のLED群(LED-a356a、LED-b356b)の照度を示している。 FIG. 14D shows an LED group (LED-a 356a, LED-b 356b ).

照度検出部700の検出値は、LED基板350-1のLED-a356a-1は320、LED基板350-1のLED-b356b-1は290、LED基板350-2のLED-a356a-2は300、LED基板350-2のLED-b356b-2は340、LED基板350-3のLED-a356a-3は350、LED基板350-3のLED-b356b-3は290である。 The detection value of the illuminance detection unit 700 is 320 for the LED-a356a-1 on the LED board 350-1, 290 for the LED-b356b-1 on the LED board 350-1, and 300 for the LED-a356a-2 on the LED board 350-2. , the LED-b 356b-2 of the LED board 350-2 is 340, the LED-a 356a-3 of the LED board 350-3 is 350, and the LED-b 356b-3 of the LED board 350-3 is 290.

PC500は、明暗度1%の基準照度値(ここでは300)と同一又は基準照度値を下回ったLED群があるか否かを判定する。ここでは、LED基板350-1のLED-b356b-1、LED基板350-2のLED-a356a-2、LED基板350-3のLED-b356b-3、が基準照度値と同一又は下回ったため、CPU351-1へLED-b356b-1の明暗度1%のDAC値として、CPU351-2へLED-a356a-2の明暗度1%のDAC値として、CPU351-3へLED-b356b-3の明暗度1%のDAC値として、現在のDAC値を登録するための登録コマンドを送信し、登録コマンドを受信したCPUは、明暗度1%のDAC値として41を登録する。 The PC 500 determines whether or not there is a group of LEDs whose brightness is equal to or lower than the reference illumination value (here, 300) of 1% brightness. Here, since the LED-b 356b-1 of the LED board 350-1, the LED-a 356a-2 of the LED board 350-2, and the LED-b 356b-3 of the LED board 350-3 are equal to or less than the reference illuminance value, the CPU 351 -1 to LED-b 356b-1 as a DAC value of 1% intensity, to CPU 351-2 as a DAC value of LED-a 356a-2 to 1% intensity, to CPU 351-3 LED-b 356b-3 intensity of 1 A registration command for registering the current DAC value as the DAC value of 1% is transmitted, and the CPU that receives the registration command registers 41 as the DAC value of 1% brightness.

このようにして、DAC値を1ずつ減算していき、全てのLED基板350のLED群(LED-a356a、LED-b356b)においてEEPROM354に1%のDAC値が登録されると1%用設定処理が完了となる。 In this way, the DAC value is decremented by 1, and when the DAC value of 1% is registered in the EEPROM 354 for all the LED groups (LED-a 356a, LED-b 356b) of the LED board 350, setting processing for 1% is performed. is completed.

<<<PC側制御処理(PC500の制御処理)>>>
次に、図15は、PC500が行うPC側制御処理のフローチャートである。まず、ステップ1602で、PC500は、照度検出の開始操作が行われると、照度検出に関する開始処理を実行する。具体的には、PC500のRAMの初期化、電源装置200へLEDをDAC値の最大値(本例では、4095)で発光させるためのコマンドの送信等の処理を行う。
<<<PC side control processing (control processing of PC 500) >>>
Next, FIG. 15 is a flowchart of PC-side control processing performed by the PC 500. As shown in FIG. First, in step 1602, the PC 500 executes start processing related to illuminance detection when an operation to start illuminance detection is performed. Specifically, processing such as initialization of the RAM of the PC 500 and transmission of a command for causing the LED to emit light with the maximum DAC value (4095 in this example) to the power supply device 200 is performed.

次に、ステップ1604で、PC500は、照度検出部700を移動させる照度検出部移動制御処理を実行する。つまり、所定の1のDAC値における全てのLED群の照度を検出するために照度検出部700を移動させる。照度検出部700の移動距離は、予め定められた距離であって、1つのLED群の長さであってもよい。移動速度は、1つのLED群の照度を検出可能であればよい。1回の移動制御において全てのLED群の照度を検出するよう構成し、1回の移動のうち、往路で照度を検出し、復路は初期位置に戻るのみとしてもよい。 Next, at step 1604 , the PC 500 executes illuminance detection unit movement control processing for moving the illuminance detection unit 700 . That is, the illuminance detector 700 is moved to detect the illuminance of all the LED groups at a predetermined DAC value of 1. The movement distance of the illuminance detection unit 700 is a predetermined distance, and may be the length of one LED group. The moving speed is sufficient as long as the illuminance of one LED group can be detected. It may be configured such that the illuminance of all the LED groups is detected in one movement control, the illuminance is detected in the forward trip, and only the return trip returns to the initial position in one movement.

次に、ステップ1606で、PC500は、コマンド受信処理を実行する。 Next, at step 1606, the PC 500 executes command reception processing.

コマンド受信処理では、照度検出部700から各LED群の照度を示す検出値コマンドの受信、電源装置200から後述する100%調整完了コマンド、50%調整完了コマンド、1%調整完了コマンド等の受信等を行う。100%調整完了コマンド、50%調整完了コマンド、1%調整完了コマンドは、LED基板350のCPU351が各調整段階(本例では、100%、50%、1%)におけるDAC値の登録が完了した際に送信するコマンドである。 In the command reception process, a detection value command indicating the illuminance of each LED group is received from the illuminance detection unit 700, a 100% adjustment completion command, a 50% adjustment completion command, a 1% adjustment completion command, etc., which will be described later, are received from the power supply device 200. I do. A 100% adjustment complete command, a 50% adjustment complete command, and a 1% adjustment complete command are completed when the CPU 351 of the LED board 350 completes registration of the DAC values in each adjustment stage (100%, 50%, and 1% in this example). This is the command to send when

次に、ステップ1608で、PC500は、受信した検出値コマンドが示す照度をRAMに記憶する。 Next, at step 1608, the PC 500 stores the illuminance indicated by the received detection value command in the RAM.

次に、ステップ1610で、PC500は、1のDAC値における照度の記憶が完了したか否かを判定する。より詳細には、所定の1のDAC値における全てのLED群の照度をRAMに記憶したか否かを判定する。ステップ1610でNoの場合、ステップ1604に戻る。つまり、ステップ1604~ステップ1610の処理により、1のDAC値における照明装置300が備えるLED基板に搭載された全てのLED群の照度を検出することができる。 Next, at step 1610, the PC 500 determines whether or not the storage of the illuminance at the DAC value of 1 has been completed. More specifically, it is determined whether or not the illuminance of all LED groups at a predetermined DAC value of 1 has been stored in the RAM. If No in step 1610 , return to step 1604 . In other words, by the processing of steps 1604 to 1610, the illuminance of all the LED groups mounted on the LED board of lighting device 300 at a DAC value of 1 can be detected.

ステップ1610でYesの場合、ステップ1612で、PC500は、LED基板350のCPU351が各LED群の100%DAC値を登録済みであるか否かを判定する。言い換えると、PC500は、各LED基板のCPU(351-1、351-2、351-3、351-4)から各LED群に対応する100%調整完了コマンドを受信したか否かを判定する。 If Yes at step 1610, at step 1612, the PC 500 determines whether the CPU 351 of the LED board 350 has registered 100% DAC values for each LED group. In other words, the PC 500 determines whether or not a 100% adjustment completion command corresponding to each LED group has been received from the CPU (351-1, 351-2, 351-3, 351-4) of each LED board.

ステップ1612でNoの場合、ステップ1710で、PC500は、後述する100%用設定処理を実行する。 If No in step 1612, in step 1710, the PC 500 executes 100% setting processing, which will be described later.

ステップ1710の処理が終了すると、ステップ1624で、PC500は、現在のDAC値を1減算して新たなDAC値とする。 When the processing of step 1710 ends, in step 1624, the PC 500 subtracts 1 from the current DAC value to obtain a new DAC value.

次に、ステップ1626で、PC500は、新たなDAC値を示すDAC値コマンドを電源装置200へ送信する。詳細は後述するが、電源装置200はDAC値コマンドを照明装置300へ送信する。 Next, at step 1626, PC 500 transmits to power supply 200 a DAC value command indicating the new DAC value. Although details will be described later, the power supply device 200 transmits a DAC value command to the lighting device 300 .

ステップ1626の処理が終了すると、ステップ1604の処理へ戻る。 When the process of step 1626 ends, the process returns to step 1604 .

このように、新たなDAC値による照度を検出するために、ステップ1604~ステップ1610を繰り返し、1のDAC値に対して全てのLED群の照度の検出が完了してPC500が1のDAC値に対して全てのLED群の照度を記憶すると、ステップ1612へと移行する。全てのLED基板350のCPU351が各LED群の100%DAC値の登録を終えていなければ、DAC値を-1する。これらの処理を繰り返すことで、全てのLED基板350のCPU351が各LED群の100%DAC値を登録することができる。 In this way, in order to detect the illuminance based on the new DAC value, steps 1604 to 1610 are repeated until the detection of the illuminance of all the LED groups is completed for the DAC value of 1, and the PC 500 reaches the DAC value of 1. On the other hand, when the illuminance of all LED groups is stored, the process proceeds to step 1612 . If the CPUs 351 of all the LED boards 350 have not finished registering the 100% DAC value of each LED group, the DAC value is decremented by -1. By repeating these processes, the CPUs 351 of all the LED boards 350 can register the 100% DAC value of each LED group.

次に、ステップ1612でYesの場合、ステップ1614で、PC500は、LED基板350のCPU351が各LED群の50%DAC値を登録済みであるか否かを判定する。言い換えると、PC500は、各LED基板のCPU(351-1、351-2、351-3、351-4)から各LED群に対応する50%調整完了コマンドを受信したか否かを判定する。 Next, if Yes at step 1612, at step 1614, the PC 500 determines whether the CPU 351 of the LED board 350 has registered the 50% DAC value of each LED group. In other words, the PC 500 determines whether or not a 50% adjustment completion command corresponding to each LED group has been received from the CPU (351-1, 351-2, 351-3, 351-4) of each LED board.

ステップ1614でNoの場合、ステップ1720で、PC500は、後述する50%用設定処理を実行する。 If No at step 1614, at step 1720, the PC 500 executes a 50% setting process, which will be described later.

ステップ1720の処理が終了すると、100%用設定処理の後と同様にステップ1624で、PC500は、現在のDAC値を-1して新たなDAC値とし、ステップ1626で、PC500は、新たなDAC値を示すDAC値コマンドを電源装置200へ送信し、ステップ1604の処理へ戻る。 When the process of step 1720 is completed, in step 1624, PC 500 subtracts 1 from the current DAC value to make it a new DAC value, and in step 1626, PC 500 sets the new DAC value to A DAC value command indicating the value is sent to power supply 200, and the process returns to step 1604. FIG.

このように、新たなDAC値による照度を検出するために、ステップ1604~ステップ1610を繰り返し、1のDAC値に対して全てのLED群の照度の検出が完了してPC500が1のDAC値に対して全てのLED群の照度を記憶すると、ステップ1612へと移行する。全てのLED基板350のCPU351が各LED群の100%DAC値を登録済みであればステップ1614へ移行し、全てのLED基板350のCPU351が各LED群の50%DAC値の登録を終えていなければ、ステップ1720の50%設定処理を行い、DAC値を-1し、ステップ1604へ戻る。これらの処理を繰り返すことで、全てのLED基板350のCPU351が各LED群の50%DAC値を登録することができる。 In this way, in order to detect the illuminance based on the new DAC value, steps 1604 to 1610 are repeated until the detection of the illuminance of all the LED groups is completed for the DAC value of 1, and the PC 500 reaches the DAC value of 1. On the other hand, when the illuminance of all LED groups is stored, the process proceeds to step 1612 . If the CPUs 351 of all the LED boards 350 have already registered the 100% DAC values of each LED group, the process proceeds to step 1614, and the CPUs 351 of all the LED boards 350 must have finished registering the 50% DAC values of each LED group. If so, the 50% setting process of step 1720 is performed, the DAC value is decremented by 1, and the process returns to step 1604 . By repeating these processes, the CPUs 351 of all the LED boards 350 can register the 50% DAC value of each LED group.

次に、ステップ1614でYesの場合、ステップ1616で、PC500は、LED基板350のCPU351が各LED群の1%DAC値を登録済みであるか否かを判定する。言い換えると、PC500は、各LED基板のCPU(351-1、351-2、351-3、351-4)から各LED群に対応する1%調整完了コマンドを受信したか否かを判定する。 Next, if Yes at step 1614, at step 1616, the PC 500 determines whether the CPU 351 of the LED board 350 has registered the 1% DAC value of each LED group. In other words, the PC 500 determines whether a 1% adjustment completion command corresponding to each LED group has been received from the CPU (351-1, 351-2, 351-3, 351-4) of each LED board.

ステップ1616でNoの場合、ステップ1730で、PC500は、後述する1%用設定処理を実行する。 If No at step 1616, at step 1730, the PC 500 executes a 1% setting process, which will be described later.

ステップ1730の処理が終了すると、100%用設定処理(ステップ1710)及び50%用設定処理(ステップ1720)の後と同様にステップ1624で、PC500は、現在のDAC値を1減算して新たなDAC値とし、ステップ1626で、PC500は、新たなDAC値を示すDAC値コマンドを電源装置200へ送信し、ステップ1604の処理へ戻る。 When the process of step 1730 ends, the PC 500 subtracts 1 from the current DAC value to create a new DAC value, in step 1626 PC 500 transmits a DAC value command indicating the new DAC value to power supply device 200 and returns to the process of step 1604 .

このように、新たなDAC値による照度を検出するために、ステップ1604~ステップ1610を繰り返し、1のDAC値に対して全てのLED群の照度の検出が完了してPC500が1のDAC値に対して全てのLED群の照度を記憶すると、ステップ1612へと移行する。全てのLED基板350のCPU351が各LED群の100%DAC値、50%DAC値を登録済みであればステップ1616へ移行し、全てのLED基板350のCPU351が各LED群の1%DAC値の登録を終えていなければ、ステップ1730の1%設定処理を行い、DAC値を-1する。これらの処理を繰り返すことで、全てのLED基板350のCPU351が各LED群の1%DAC値を登録することができる。 In this way, in order to detect the illuminance based on the new DAC value, steps 1604 to 1610 are repeated until the detection of the illuminance of all the LED groups is completed for the DAC value of 1, and the PC 500 reaches the DAC value of 1. On the other hand, when the illuminance of all LED groups is stored, the process proceeds to step 1612 . If the CPUs 351 of all the LED boards 350 have already registered the 100% DAC value and the 50% DAC value of each LED group, the process proceeds to step 1616, and the CPUs 351 of all the LED boards 350 register the 1% DAC value of each LED group. If the registration has not been completed, the 1% setting process of step 1730 is performed and the DAC value is decremented by -1. By repeating these processes, the CPUs 351 of all the LED boards 350 can register the 1% DAC value of each LED group.

次に、ステップ1616でYesの場合、ステップ1618で、PC500は、後述する照度レンジ確認処理を実行する。 Next, if Yes at step 1616, at step 1618, the PC 500 executes illuminance range confirmation processing, which will be described later.

照度レンジ確認処理は、PC500がDAC値を登録し終えた照度レンジを確認して、次にDAC値を登録する照度レンジを全照度モード→高照度モード→中照度モード→低照度モードの順に切り替える処理である。つまり、各照度レンジにおいて100%DAC値、50%DAC値、1%DAC値が登録されると、次の照度レンジにおける100%DAC値、50%DAC値、1%DAC値を登録するようにDAC値を登録する照度レンジを切り替える。 In the illuminance range confirmation process, the PC 500 confirms the illuminance range in which the DAC value has been registered, and then switches the illuminance range for registering the DAC value in the order of full illuminance mode→high illuminance mode→medium illuminance mode→low illuminance mode. processing. That is, when the 100% DAC value, 50% DAC value, and 1% DAC value are registered in each illuminance range, the 100% DAC value, 50% DAC value, and 1% DAC value in the next illuminance range are registered. Switch the illuminance range for registering the DAC value.

PC500は、照度レンジを切り替える場合には、電源装置200へ対応する照度レンジ変更コマンドを送信するため、電源装置200(及び照明装置300)は照度レンジ変更コマンドにより照度レンジを切り替える旨を把握することが可能となっている。 When the illuminance range is switched, the PC 500 transmits a corresponding illuminance range change command to the power supply device 200, so the power supply device 200 (and the lighting device 300) must understand that the illuminance range is switched by the illuminance range change command. is possible.

次に、ステップ1620で、PC500は、全てのLED群の調整完了コマンドを受信済みであるか否かを判定する。 Next, at step 1620, the PC 500 determines whether or not the adjustment completion command for all LED groups has been received.

ステップ1620でNoの場合、ステップ1604へ移行する。 If No in step 1620 , go to step 1604 .

ステップ1620でYesの場合、ステップ1622で、終了処理を実行し、PC側制御処理は終了となる。終了処理では、具体的には、照度検出部700を初期位置に戻す、LEDを消灯する等の処理を行う。 If Yes in step 1620, end processing is executed in step 1622, and the PC side control processing ends. Specifically, in the end processing, processing such as returning the illuminance detection unit 700 to the initial position and turning off the LED is performed.

なお、本例では、1のDAC値における全てのLED群の照度を、1回の照度検出部700の移動制御により検出する構成を示したが、検出方法はこれに限られない。例えば、隣り合うLED群の光を検出しないようにするために、1つのLED群ごとに照度を検出するようにしてもよい。つまり、1つのLED群の照度を検出する際には、照度を検出する一のLED群のみを点灯させ、他のLED群は消灯するようにし、迷光が生じない状態で照度を検出するようにしてもよい。 In this example, the illuminance of all the LED groups at a DAC value of 1 is detected by controlling the movement of the illuminance detection unit 700 once, but the detection method is not limited to this. For example, the illuminance may be detected for each LED group so as not to detect light from adjacent LED groups. In other words, when detecting the illuminance of one LED group, only one LED group that detects the illuminance is turned on, and the other LED groups are turned off, so that the illuminance is detected in a state where stray light does not occur. may

次に、図16は、100%用設定処理、50%用設定処理、1%用設定処理のフローチャートである。 Next, FIG. 16 is a flowchart of 100% setting processing, 50% setting processing, and 1% setting processing.

<100%用設定処理>
図16(a)は、図15の100%用設定処理(ステップ1710)のサブルーチンである。まず、ステップ1712で、PC500は、100%用のLEDの出力を開始しているか否か、言い換えると、100%用設定処理のDAC値コマンド(ここでは最大DAC値の4095)を送信済みであるか否かを判定する。
<Setting processing for 100%>
FIG. 16(a) is a subroutine of the 100% setting process (step 1710) in FIG. First, at step 1712, the PC 500 determines whether or not the 100% LED output has started, in other words, whether the DAC value command for the 100% setting process (here, the maximum DAC value of 4095) has been transmitted. Determine whether or not

ステップ1712でNoの場合、ステップ1714で、PC500は、最大DAC値(4095)とするためのDAC値(ステップ1624でDAC値が-1されるためここではDAC値4096)をセットする。 If No at step 1712, at step 1714, the PC 500 sets a DAC value (here, DAC value 4096 because the DAC value is decremented by -1 at step 1624) for the maximum DAC value (4095).

ステップ1712でYesの場合、ステップ1716へ移行する。 If Yes in step 1712 , go to step 1716 .

次に、ステップ1716で、PC500は、照度が基準値に到達したLED群があるか否かを判定する。具体的には、照度検出部700から受信した検出値コマンドに基づいてRAMに記憶した各LED群の照度の検出値が、基準値に到達したか否かを判定する。 Next, at step 1716, the PC 500 determines whether or not there is an LED group whose illuminance has reached the reference value. Specifically, based on the detection value command received from the illuminance detection unit 700, it is determined whether or not the illuminance detection value of each LED group stored in the RAM has reached a reference value.

ステップ1716でYesの場合、ステップ1718で、PC500は、基準値に到達したLED群のCPUが現在のDAC値を登録するための登録指示コマンドを送信する。 If Yes at step 1716, at step 1718, the PC 500 transmits a registration instruction command for registering the current DAC value by the CPU of the LED group that has reached the reference value.

ステップ1718の終了後又はステップ1716でNoの場合、呼び出し元へ復帰する。 After step 1718 or if No in step 1716, return to the caller.

<50%用設定処理>
図16(b)は、図15の50%用設定処理(ステップ1720)のサブルーチンである。まず、ステップ1722で、PC500は、50%用のLEDの出力を開始しているか否か、言い換えると、50%用設定処理のDAC値コマンドを送信済みであるか否かを判定する。
<Setting processing for 50%>
FIG. 16(b) is a subroutine of the 50% setting process (step 1720) of FIG. First, at step 1722, the PC 500 determines whether or not the 50% LED output has started, in other words, whether or not the DAC value command for the 50% setting process has been transmitted.

ステップ1722でNoの場合、ステップ1724で、PC500は、最大DAC値(ここでは4095)の半分よりやや上のDAC値(ステップ1624でDAC値が-1されるためここではDAC値2051)をセットする。 If No in step 1722, in step 1724 the PC 500 sets a DAC value slightly above half of the maximum DAC value (here 4095) (here DAC value 2051 because step 1624 decrements the DAC value by -1). do.

ステップ1722でYesの場合、ステップ1726へ移行する。 If Yes at step 1722 , go to step 1726 .

次に、ステップ1726で、PC500は、照度が基準値に到達したLED群があるか否かを判定する。 Next, at step 1726, the PC 500 determines whether there is an LED group whose illuminance has reached the reference value.

ステップ1726でYesの場合、ステップ1728で、PC500は、基準値に到達したLED群のCPUが現在のDAC値を登録するための登録指示コマンドを送信する。 If Yes at step 1726, at step 1728, the PC 500 transmits a registration instruction command for registering the current DAC value by the CPU of the LED group that has reached the reference value.

ステップ1728の終了後又はステップ1726でNoの場合、呼び出し元へ復帰する。 After step 1728 or if No in step 1726, return to the caller.

<1%用設定処理>
図16(c)は、図15の1%用設定処理(ステップ1730)のサブルーチンである。まず、ステップ1732で、PC500は、1%用のLEDの出力を開始しているか否か、言い換えると、1%用設定処理のDAC値コマンドを送信済みであるか否かを判定する。
<Setting processing for 1%>
FIG. 16(c) is a subroutine of the 1% setting process (step 1730) of FIG. First, at step 1732, the PC 500 determines whether or not the 1% LED output has started, in other words, whether or not the DAC value command for the 1% setting process has been transmitted.

ステップ1732でNoの場合、ステップ1734で、PC500は、最大DAC値の1%よりやや上のDAC値(ステップ1624でDAC値が-1されるためここではDAC値44)をセットする。 If No at step 1732, at step 1734, PC 500 sets a DAC value slightly above 1% of the maximum DAC value (here DAC value 44 because step 1624 subtracts the DAC value from -1).

ステップ1732でYesの場合、ステップ1736へ移行する。 If Yes at step 1732 , go to step 1736 .

次に、ステップ1736で、PC500は、照度が基準値に到達したLED群があるか否かを判定する。 Next, at step 1736, the PC 500 determines whether there is an LED group whose illuminance has reached the reference value.

ステップ1736でYesの場合、ステップ1738で、PC500は、基準値に到達したLED群のCPUが現在のDAC値を登録するための登録指示コマンドを送信する。 If Yes at step 1736, at step 1738, the PC 500 transmits a registration instruction command for registering the current DAC value by the CPU of the LED group that has reached the reference value.

ステップ1738の終了後又はステップ1736でNoの場合、呼び出し元へ復帰する。 After step 1738 or if No in step 1736, return to the caller.

<<<電源側調光調整処理>>>
次に、図17は、図7の電源側調光調整処理(ステップ1800)のサブルーチンである。まず、ステップ1802で、電源装置200のCPU201は、コマンド受信処理を実行する。
<<<Power supply side dimming adjustment process>>>
Next, FIG. 17 is a subroutine of the power supply side dimming adjustment process (step 1800) of FIG. First, in step 1802, the CPU 201 of the power supply 200 executes command reception processing.

コマンド受信処理では、電源装置200のCPU201は、DAC値コマンド、登録指示コマンド、100%調整完了コマンド、50%調整完了コマンド、1%調整完了コマンド、調整完了コマンド、照度レンジ変更コマンド等を受信する。 In the command reception process, the CPU 201 of the power supply device 200 receives a DAC value command, a registration instruction command, a 100% adjustment completion command, a 50% adjustment completion command, a 1% adjustment completion command, an adjustment completion command, an illuminance range change command, and the like. .

次に、ステップ1804で、電源装置200のCPU201は、コマンド送信処理を実行する。具体的には、以降の通りである。 Next, in step 1804, the CPU 201 of the power supply 200 executes command transmission processing. Specifically, it is as follows.

<PCから受信して照明装置へ送信するコマンド>
電源装置200のCPU201は、PC500からDAC値コマンドを受信していた場合、照明装置300へDAC値コマンドを送信する。
<Command received from PC and sent to lighting device>
When receiving the DAC value command from the PC 500 , the CPU 201 of the power supply device 200 transmits the DAC value command to the lighting device 300 .

電源装置200のCPU201は、PC500から登録指示コマンド(100%用、50%用、1%用)を受信していた場合、照明装置300へ登録指示コマンド(100%用、50%用、1%用)を送信する。つまり、照度が基準値に達したLED群があり、PC500から現在のDAC値を登録するための登録指示コマンドを受信している場合には、登録指示コマンドに対応するLED基板のCPUへ登録指示コマンドを送信する。 When the CPU 201 of the power supply device 200 receives the registration instruction commands (for 100%, 50%, 1%) from the PC 500, the CPU 201 of the power supply device 200 sends the registration instruction commands (for 100%, 50%, 1%) to the lighting device 300. for use). That is, when there is an LED group whose illuminance has reached the reference value and a registration instruction command for registering the current DAC value is received from the PC 500, a registration instruction is sent to the CPU of the LED board corresponding to the registration instruction command. Send command.

このとき送信する登録指示コマンドは、
(1)いずれのLED基板のCPUがDAC値を登録するのか
(2)いずれの明るさにおけるDAC値として登録するのか
(3)いずれのLED群のDAC値として登録するのか
を認識可能となっている。
The registration instruction command sent at this time is
(1) Which LED board's CPU registers the DAC value (2) Which brightness is registered as the DAC value (3) Which LED group's DAC value is registered can be recognized. there is

例えば、いずれの明るさにおけるDAC値として登録するかは、100%用登録指示コマンド、50%用登録指示コマンド、1%用登録指示コマンドとして認識可能となっている。 For example, which brightness is to be registered as a DAC value can be recognized as a registration instruction command for 100%, a registration instruction command for 50%, and a registration instruction command for 1%.

電源装置200のCPU201は、PC500から照度レンジ変更コマンドを受信していた場合、照明装置300へ照度レンジ変更コマンドを送信する。 When the CPU 201 of the power supply device 200 receives the illumination range change command from the PC 500 , the CPU 201 transmits the illumination range change command to the lighting device 300 .

<照明装置から受信してPCへ送信するコマンド>
電源装置200のCPU201は、LED基板350のCPU351から100%調整完了コマンドを受信していた場合、PC500へ100%調整完了コマンドを送信する。100%調整完了コマンドは、いずれのLED基板350のLED群における100%調整完了コマンドであるかが認識可能となっている。
<Command received from lighting device and sent to PC>
When the CPU 201 of the power supply device 200 receives the 100% adjustment completion command from the CPU 351 of the LED board 350 , it transmits the 100% adjustment completion command to the PC 500 . The 100% adjustment completion command can be recognized for which LED group of the LED board 350 the 100% adjustment completion command is.

電源装置200のCPU201は、LED基板350のCPU351から50%調整完了コマンドを受信していた場合、PC500へ50%調整完了コマンドを送信する。50%調整完了コマンドは、いずれのLED基板350のLED群における50%調整完了コマンドであるかが認識可能となっている。 When receiving the 50% adjustment completion command from the CPU 351 of the LED board 350 , the CPU 201 of the power supply device 200 transmits the 50% adjustment completion command to the PC 500 . The 50% adjustment completion command can be recognized for which LED group of the LED board 350 the 50% adjustment completion command is.

電源装置200のCPU201は、LED基板350のCPU351から1%調整完了コマンドを受信していた場合、PC500へ1%調整完了コマンドを送信する。1%調整完了コマンドは、いずれのLED基板350のLED群における1%調整完了コマンドであるかが認識可能となっている。 When receiving the 1% adjustment completion command from the CPU 351 of the LED board 350 , the CPU 201 of the power supply device 200 transmits the 1% adjustment completion command to the PC 500 . The 1% adjustment completion command can be recognized for which LED group of the LED board 350 the 1% adjustment completion command is.

電源装置200のCPU201は、LED基板350のCPU351から調整完了コマンドを受信していた場合、PC500へ調整完了コマンドを送信する。調整完了コマンドは、いずれのLED基板350のCPU351における調整完了コマンドであるかが認識可能となっている。 When receiving the adjustment completion command from the CPU 351 of the LED board 350 , the CPU 201 of the power supply device 200 transmits the adjustment completion command to the PC 500 . It is possible to recognize the adjustment completion command in which CPU 351 of the LED board 350 the adjustment completion command is.

フローチャートに戻り、ステップ1804の処理の終了後、ステップ1806で、電源装置200のCPU201は、全てのLED群についての調整完了コマンドを受信したか否かを判定する。 Returning to the flowchart, after the processing of step 1804 is completed, in step 1806, the CPU 201 of the power supply device 200 determines whether or not adjustment completion commands for all LED groups have been received.

ステップ1806でNoの場合、つまり、全てのLED群について各照度におけるDAC値の登録が完了していない場合は、ステップ1802の処理へ戻る。 If No in step 1806 , that is, if the registration of the DAC value for each illuminance has not been completed for all LED groups, the process returns to step 1802 .

ステップ1806でYesの場合、呼び出し元へ復帰する。 If Yes in step 1806, return to the caller.

<<<照明側調光調整処理>>>
次に、図18は、図8の照明側調光調整処理(ステップ1900)のサブルーチンである。まず、ステップ1902で、LED基板350のCPU351(各LED基板のCPU(351-1、351-2、351-3、351-4))は、コマンド受信処理を実行する。
<<<Lighting side dimming adjustment process>>>
Next, FIG. 18 is a subroutine of the illumination-side dimming adjustment process (step 1900) of FIG. First, in step 1902, the CPU 351 of the LED board 350 (CPUs (351-1, 351-2, 351-3, 351-4) of each LED board) executes command reception processing.

コマンド受信処理では、LED基板350のCPU351は、DAC値コマンド、100%登録指示コマンド、50%登録指示コマンド、1%登録指示コマンド、照度レンジ変更コマンド、等を受信してRAM353に記憶する。 In the command reception process, the CPU 351 of the LED board 350 receives a DAC value command, a 100% registration instruction command, a 50% registration instruction command, a 1% registration instruction command, an illuminance range change command, etc., and stores them in the RAM 353 .

LED基板350のCPU351は、照度レンジ変更コマンドを受信した場合、対応する照度レンジにおけるDAC値の登録を行うためにRAM353の記憶領域を変更する。 When receiving the illumination range change command, the CPU 351 of the LED board 350 changes the storage area of the RAM 353 in order to register the DAC value in the corresponding illumination range.

次に、ステップ1904で、LED基板350のCPU351は、RAM353に記憶されたDAC値(電源装置200から受信したDAC値コマンド)に従って、LED群ごとに出力処理を実行する。 Next, in step 1904, the CPU 351 of the LED board 350 executes output processing for each LED group according to the DAC value stored in the RAM 353 (DAC value command received from the power supply device 200).

次に、ステップ1906で、LED基板350のCPU351は、100%用登録指示コマンドを受信済みであるか否かを判定する。 Next, at step 1906, the CPU 351 of the LED board 350 determines whether or not the 100% registration instruction command has been received.

ステップ1906でYesの場合、ステップ1908で、LED基板350のCPU351は、100%用登録指示コマンドが示すLED群において、現在のDAC値をEEPROM354に登録し、登録したLED群についての100%調整完了コマンドを電源装置200のCPU201へ送信する。 If Yes at step 1906, at step 1908, the CPU 351 of the LED board 350 registers the current DAC values in the EEPROM 354 for the LED group indicated by the 100% registration instruction command, and completes 100% adjustment for the registered LED group. The command is transmitted to the CPU 201 of the power supply device 200 .

ステップ1906でNoの場合、ステップ1910の処理へ移行する。 If No in step 1906 , the process proceeds to step 1910 .

次に、ステップ1910で、LED基板350のCPU351は、50%用登録指示コマンドを受信済みであるか否かを判定する。 Next, at step 1910, the CPU 351 of the LED board 350 determines whether or not the 50% registration instruction command has been received.

ステップ1910でYesの場合、ステップ1912で、LED基板350のCPU351は、50%用登録指示コマンドが示すLED群において、現在のDAC値をEEPROM354に登録し、登録したLED群についての50%調整完了コマンドを電源装置200のCPU201へ送信する。 If Yes at step 1910, at step 1912, the CPU 351 of the LED board 350 registers the current DAC values in the EEPROM 354 for the LED group indicated by the 50% registration instruction command, and completes the 50% adjustment for the registered LED group. The command is transmitted to the CPU 201 of the power supply device 200 .

ステップ1910でNoの場合、ステップ1914の処理へ移行する。 If No in step 1910 , the process proceeds to step 1914 .

次に、ステップ1914で、LED基板350のCPU351は、1%用登録指示コマンドを受信済みであるか否かを判定する。 Next, at step 1914, the CPU 351 of the LED board 350 determines whether or not the 1% registration instruction command has been received.

ステップ1914でYesの場合、ステップ1916で、LED基板350のCPU351は、1%用登録指示コマンドが示すLED群において、現在のDAC値をEEPROM354に登録し、登録したLED群についての1%調整完了コマンドを電源装置200のCPU201へ送信する。 If Yes at step 1914, at step 1916, the CPU 351 of the LED board 350 registers the current DAC values in the EEPROM 354 for the LED group indicated by the 1% registration instruction command, and completes the 1% adjustment for the registered LED group. The command is transmitted to the CPU 201 of the power supply device 200 .

ステップ1914でNoの場合、ステップ1918の処理へ移行する。 If No in step 1914 , the process proceeds to step 1918 .

次に、ステップ1918で、LED基板350のCPU351は、EEPROM354に現在の照度レンジにおける全ての明るさ(100%、50%、1%)についてのDAC値の登録が完了したか否かを判定する。 Next, in step 1918, the CPU 351 of the LED board 350 determines whether the registration of the DAC values for all brightnesses (100%, 50%, 1%) in the current illuminance range in the EEPROM 354 has been completed. .

ステップ1918でNoの場合、ステップ1902の処理へ戻る。 If No in step 1918 , the process returns to step 1902 .

ステップ1918でYesの場合、ステップ1920で、LED基板350のCPU351は、EEPROM354に全ての照度レンジにおける全ての明暗度(100%、50%、1%)についてのDAC値の登録が完了したか否かを判定する。 In the case of Yes in step 1918, in step 1920, the CPU 351 of the LED board 350 determines whether the registration of the DAC values for all brightness levels (100%, 50%, 1%) in all illuminance ranges in the EEPROM 354 has been completed. determine whether

ステップ1920でNoの場合、ステップ1902の処理へ戻る。 If No in step 1920 , the process returns to step 1902 .

ステップ1920でYesの場合、ステップ1922で、LED基板350のCPU351は、電源装置200のCPU201へ調整完了コマンドを送信し、呼び出し元へ復帰する。 If Yes at step 1920, at step 1922, the CPU 351 of the LED board 350 transmits an adjustment completion command to the CPU 201 of the power supply 200, and returns to the caller.

<<調光調整完了時の登録イメージ図>>
次に、図19は、調光調整が完了したときのイメージ図である。LED基板350-2、LED基板350-3において登録されたDAC値は省略する。
<<Registration image diagram when dimming adjustment is completed>>
Next, FIG. 19 is an image diagram when the dimming adjustment is completed. The DAC values registered in the LED boards 350-2 and 350-3 are omitted.

<全照度モード>
全照度モードにおけるLED基板350-1のLED-a356a-1、LED-b356b-1のDAC値は、
[100%のとき]
(1)LED-a356a-1:4094
(2)LED-b356b-1:4094
[50%のとき]
(1)LED-a356a-1:2046
(2)LED-b356b-1:2048
[1%のとき]
(1)LED-a356a-1:40
(2)LED-b356b-1:40
となっている。
<Full illumination mode>
The DAC values of LED-a356a-1 and LED-b356b-1 of LED board 350-1 in full illumination mode are
[When 100%]
(1) LED-a356a-1: 4094
(2) LED-b356b-1: 4094
[When 50%]
(1) LED-a356a-1: 2046
(2) LED-b356b-1: 2048
[When 1%]
(1) LED-a356a-1:40
(2) LED-b356b-1:40
It has become.

LED基板350-4におけるLED-a356a-4、LED-b356b-4のDAC値は、
[100%のとき]
(1)LED-a356a-4:4094
(2)LED-b356b-4:4094
[50%のとき]
(1)LED-a356a-4:2047
(2)LED-b356b-4:2047
[1%のとき]
(1)LED-a356a-4:39
(2)LED-b356b-4:39
となっている。
The DAC values of LED-a 356a-4 and LED-b 356b-4 on the LED board 350-4 are
[When 100%]
(1) LED-a356a-4: 4094
(2) LED-b356b-4: 4094
[When 50%]
(1) LED-a356a-4: 2047
(2) LED-b356b-4: 2047
[When 1%]
(1) LED-a356a-4:39
(2) LED-b356b-4:39
It has become.

<高照度モード>
高照度モードにおけるLED基板350-1のLED-a356a-1、LED-b356b-1のDAC値は、
[100%のとき]
(1)LED-a356a-1:4094
(2)LED-b356b-1:4094
[50%のとき]
(1)LED-a356a-1:2046
(2)LED-b356b-1:2048
[1%のとき]
(1)LED-a356a-1:40
(2)LED-b356b-1:40
となっている。
<High illumination mode>
The DAC values of the LED-a356a-1 and LED-b356b-1 of the LED board 350-1 in the high illumination mode are
[When 100%]
(1) LED-a356a-1: 4094
(2) LED-b356b-1: 4094
[When 50%]
(1) LED-a356a-1: 2046
(2) LED-b356b-1: 2048
[When 1%]
(1) LED-a356a-1:40
(2) LED-b356b-1:40
It has become.

LED基板350-4におけるLED-a356a-4、LED-b356b-4のDAC値は、
[100%のとき]
(1)LED-a356a-4:4094
(2)LED-b356b-4:4094
[50%のとき]
(1)LED-a356a-4:2047
(2)LED-b356b-4:2047
[1%のとき]
(1)LED-a356a-4:39
(2)LED-b356b-4:39
となっている。
The DAC values of LED-a 356a-4 and LED-b 356b-4 on the LED board 350-4 are
[When 100%]
(1) LED-a356a-4: 4094
(2) LED-b356b-4: 4094
[When 50%]
(1) LED-a356a-4: 2047
(2) LED-b356b-4: 2047
[When 1%]
(1) LED-a356a-4:39
(2) LED-b356b-4:39
It has become.

<中照度モード>
中照度モードにおけるLED基板350-1のLED-a356a-1、LED-b356b-1のDAC値は、
[100%のとき]
(1)LED-a356a-1:2730
(2)LED-b356b-1:2730
[50%のとき]
(1)LED-a356a-1:1365
(2)LED-b356b-1:1364
[1%のとき]
(1)LED-a356a-1:26
(2)LED-b356b-1:27
となっている。
<Medium illumination mode>
The DAC values of LED-a356a-1 and LED-b356b-1 of the LED board 350-1 in the medium illumination mode are
[When 100%]
(1) LED-a356a-1: 2730
(2) LED-b356b-1: 2730
[When 50%]
(1) LED-a356a-1: 1365
(2) LED-b356b-1: 1364
[When 1%]
(1) LED-a356a-1:26
(2) LED-b356b-1:27
It has become.

LED基板350-4におけるLED-a356a-4、LED-b356b-4のDAC値は、
[100%のとき]
(1)LED-a356a-4:2730
(2)LED-b356b-4:2730
[50%のとき]
(1)LED-a356a-4:1364
(2)LED-b356b-4:1364
[1%のとき]
(1)LED-a356a-4:27
(2)LED-b356b-4:26
となっている。
The DAC values of LED-a 356a-4 and LED-b 356b-4 on the LED board 350-4 are
[When 100%]
(1) LED-a356a-4: 2730
(2) LED-b356b-4: 2730
[When 50%]
(1) LED-a356a-4: 1364
(2) LED-b356b-4: 1364
[When 1%]
(1) LED-a356a-4:27
(2) LED-b356b-4:26
It has become.

<低照度モード>
低照度モードにおけるLED基板350-1のLED-a356a-1、LED-b356b-1のDAC値は、
[100%のとき]
(1)LED-a356a-1:1365
(2)LED-b356b-1:1365
[50%のとき]
(1)LED-a356a-1:682
(2)LED-b356b-1:681
[1%のとき]
(1)LED-a356a-1:13
(2)LED-b356b-1:14
となっている。
<Low illumination mode>
The DAC values of the LED-a356a-1 and LED-b356b-1 of the LED board 350-1 in the low illumination mode are
[When 100%]
(1) LED-a356a-1: 1365
(2) LED-b356b-1: 1365
[When 50%]
(1) LED-a356a-1: 682
(2) LED-b356b-1: 681
[When 1%]
(1) LED-a356a-1:13
(2) LED-b356b-1:14
It has become.

LED基板350-4におけるLED-a356a-4、LED-b356b-4のDAC値は、
[100%のとき]
(1)LED-a356a-4:1364
(2)LED-b356b-4:1365
[50%のとき]
(1)LED-a356a-4:681
(2)LED-b356b-4:681
[1%のとき]
(1)LED-a356a-4:14
(2)LED-b356b-4:14
となっている。
The DAC values of LED-a 356a-4 and LED-b 356b-4 on the LED board 350-4 are
[When 100%]
(1) LED-a356a-4: 1364
(2) LED-b356b-4: 1365
[When 50%]
(1) LED-a356a-4: 681
(2) LED-b356b-4: 681
[When 1%]
(1) LED-a356a-4:14
(2) LED-b356b-4:14
It has become.

このようにすることで、100%、50%、1%として出力する各LED群の照度を揃えて発光させることができる。 By doing so, the illuminance of each LED group outputting as 100%, 50%, and 1% can be uniformed to emit light.

<<照度レンジ>>
前述したように、LED基板350は、レンジ切替回路を有しており(図5参照)、照度の範囲(明暗の範囲)を適宜に切り替えることができる。照度レンジ(照度の範囲)を切り替えることで、検査対象物の材質の表面の状態(粗さや被覆体の有無や種類など)や、欠陥の種類や大きさや形状などに応じて、照度の範囲を切り替え、適切な照度を決定して検査対象物を照明することができる。
<<Illuminance Range>>
As described above, the LED board 350 has a range switching circuit (see FIG. 5), and can appropriately switch the range of illuminance (range of light and dark). By switching the illuminance range (range of illuminance), the illuminance range can be adjusted according to the surface condition of the material of the object to be inspected (roughness, existence and type of coating, etc.) and the type, size, and shape of defects. It can be switched to determine the appropriate illuminance to illuminate the inspection object.

<全照度モード>
図20(a)は、全照度モードを示す概略図である。操作者が電源装置200の操作部207を操作することにより、入力値を変更して照度を調整可能となっている。ここでは、入力値が3000のとき、明暗度が100%の高照度となっている。
<Full illumination mode>
FIG. 20(a) is a schematic diagram showing the full illumination mode. By operating the operation unit 207 of the power supply device 200, the operator can change the input value to adjust the illuminance. Here, when the input value is 3000, the intensity is 100% and the illuminance is high.

<低照度モード>
図20(b)は、低照度モード、中照度モード及び高照度モードを示す概略図である。低照度モードでは、操作者が電源装置200の操作部207を操作することにより入力値を変更して照度を調整可能となっている。ここでは、入力値が1000のとき、明暗度が100%の低照度となっている。低照度モードにおける明暗度100%は、全照度モード及び/又は高照度モードにおける最大照度の約1/3程度の照度となっている。
<Low illumination mode>
FIG. 20(b) is a schematic diagram showing the low illumination mode, medium illumination mode, and high illumination mode. In the low illuminance mode, the operator can change the input value by operating the operation unit 207 of the power supply device 200 to adjust the illuminance. Here, when the input value is 1000, the brightness is 100% and the illuminance is low. The brightness of 100% in the low illumination mode is about 1/3 of the maximum illumination in the full illumination mode and/or the high illumination mode.

<中照度モード>
中照度モードでは、操作者が電源装置200の操作部207を操作することにより、入力値を変更して照度を調整可能となっている。ここでは、入力値が1000のとき、明暗度が100%の中照度となっている。中照度モードにおける明暗度100%は、全照度モード及び/又は高照度モードにおける最大照度の約2/3程度の照度となっている。
<Medium illumination mode>
In the middle illuminance mode, the operator can change the input value and adjust the illuminance by operating the operation unit 207 of the power supply device 200 . Here, when the input value is 1000, the brightness is 100%, which is medium illuminance. The brightness of 100% in the middle illumination mode is about 2/3 of the maximum illumination in the full illumination mode and/or the high illumination mode.

<高照度モード>
高照度モードでは、操作者が電源装置200の操作部207を操作することにより、入力値を変更して照度を調整可能となっている。ここでは、入力値が1000のとき、明暗度が100%の高照度となっている。高照度モードにおける明暗度100%は、全照度モードにおける最大照度と同じであるが、全照度モードと比較すると、細かな調整ができず、大まかな照度の調整が可能となっている。
<High illumination mode>
In the high illuminance mode, the operator can change the input value to adjust the illuminance by operating the operation unit 207 of the power supply device 200 . Here, when the input value is 1000, the brightness is 100% and the illuminance is high. Brightness 100% in the high illuminance mode is the same as the maximum illuminance in the full illuminance mode, but compared to the full illuminance mode, fine adjustment is not possible and rough illuminance adjustment is possible.

<<照度レンジのまとめ>>
低照度モード、中照度モード、高照度モードの3つのモードでは、最大照度が異なっているが、照度に対応する入力値の範囲(0~1000)は同一となっている。他方、全照度モードでは、最大照度は高照度モードにおける最大照度と同一であるが、入力値の範囲は他の3つのモードの入力値の範囲よりも広くなっている(0~3000)。
<<Summary of illumination range>>
The three modes of low illumination intensity mode, medium illumination intensity mode, and high illumination intensity mode differ in maximum illumination intensity, but the input value range (0 to 1000) corresponding to the illumination intensity is the same. On the other hand, in full illumination mode, the maximum illumination is the same as in high illumination mode, but the range of input values is wider than that of the other three modes (0-3000).

このように構成することで、検査対象物や欠陥に応じて、照度の範囲を切り替えて、適切な照度の光を検査対象物に照明し易くすることができる。 By configuring in this way, it is possible to switch the range of illuminance according to the inspection object and the defect, and make it easier to illuminate the inspection object with light of appropriate illuminance.

前述した通り、照度レンジの切り替えは、図5における定電流回路が備える抵抗(センス抵抗)の組み合わせを切り替えることで行われる。このように構成することで、組み合わせたセンス抵抗の抵抗値に応じて、LEDに供給できる最大の電流値を変更することができる。すなわち、必要となる照度に応じて、LEDに供給可能な電流値の範囲を切り替えることによって、照度レンジを切り替えて使用することができ、必要とする照度レンジにおける電流を安定させことができるため、照度も安定させることができる。特に、高照度の照度レンジよりも、低照度の照度レンジの分解能を高めることができ、低照度の照度を安定させることができる。また、照度レンジの切り替えによって、必要とする照度レンジのみを使用すればよく、作業を容易かつ簡便にすることができる。 As described above, the switching of the illuminance range is performed by switching the combination of resistors (sense resistors) included in the constant current circuit in FIG. With this configuration, the maximum current value that can be supplied to the LED can be changed according to the combined resistance value of the sense resistors. That is, by switching the range of the current value that can be supplied to the LED according to the required illuminance, the illuminance range can be switched and used, and the current in the required illuminance range can be stabilized. Illuminance can also be stabilized. In particular, the resolution of the illuminance range of low illuminance can be made higher than that of the illuminance range of high illuminance, and the illuminance of low illuminance can be stabilized. Moreover, by switching the illuminance range, only the required illuminance range can be used, and the work can be made easy and simple.

<<DAC値算出処理>>
次に、ステップ921のDAC値生成処理について説明する。各LED基板350のCPU351は、照明側調光調整処理で記憶した各LED群の100%DAC値、50%DAC値、1%DAC値を用いて、入力値に対応する各LED群におけるDAC値を算出する。
<<DAC value calculation processing>>
Next, the DAC value generation processing in step 921 will be described. The CPU 351 of each LED board 350 uses the 100% DAC value, 50% DAC value, and 1% DAC value of each LED group stored in the illumination-side dimming adjustment process to determine the DAC value of each LED group corresponding to the input value. Calculate

例えば、図12~図14及び図19を参照すると、LED基板350-1のLED-a356a-1は、高照度モードにおいて、入力値1000(明暗度100%)のときDAC値4094であり、入力値500(明暗度50%)のときDAC値2046、入力値10(明暗度1%)のときDAC値40であったとする。 For example, referring to FIGS. 12-14 and 19, LED-a 356a-1 on LED board 350-1 has a DAC value of 4094 at an input value of 1000 (100% intensity) in high illumination mode, and an input Assume that the DAC value is 2046 when the value is 500 (50% brightness), and the DAC value is 40 when the input value is 10 (1% brightness).

入力値とDAC値との関係から、入力値をX、DAC値をYとした場合、1%=(10、40)、50%=(500、2046)の2点を通る直線は、
[式1]
となる。
From the relationship between the input value and the DAC value, when the input value is X and the DAC value is Y, the straight line passing through the two points 1% = (10, 40) and 50% = (500, 2046) is
[Formula 1]
becomes.

これを用いると、例えば、入力値が1~500のうちの250のときは、DAC値は1,022.530612244898(≒1022)となる。 Using this, for example, when the input value is 250 out of 1 to 500, the DAC value is 1,022.530612244898 (≈1022).

同様に、50%=(500、2046)、100%=(1000、4094)の2点を通る直線の式は、
[式2]
となる。
Similarly, the equation for a straight line through two points 50% = (500, 2046) and 100% = (1000, 4094) is
[Formula 2]
becomes.

これを用いると、例えば、入力値が500~1000のうちの700のときは、DAC値は2,865.2(≒2865)となる。 Using this, for example, when the input value is 700 out of 500-1000, the DAC value is 2,865.2 (≈2865).

このように、式1及び式2を作成し、式1又は式2を用いることで、他の入力値の場合のDAC値を算出することができる。 Thus, by creating Equations 1 and 2 and using Equation 1 or Equation 2, it is possible to calculate the DAC value for other input values.

このように、LED群(例えば、LED-a356a、LED-b356b等)ごとに入力値に対応するDAC値を算出することで、LED基板350のCPU351は、操作者が所望する明暗度になるDAC値でLEDの出力を制御することができる。 In this way, by calculating the DAC value corresponding to the input value for each LED group (for example, LED-a 356a, LED-b 356b, etc.), the CPU 351 of the LED board 350 can set the DAC to the brightness desired by the operator. A value can control the output of the LED.

なお、1%のときの照度は、MINの照度である。したがって、各LED群は、1%以下の照度で発光することはない。例えば、LED-a356a-1は、高照度モードにおいて、入力値として1~9が入力された場合であっても発光することはない。つまり、入力値が10となって初めて発光することとなる。このように、MINを定めることによって、低照度での照度が、LED群ごとにばらつくことを防止することができる。なお、1%のときの照度をMINの照度に対応させずに、他の割合(3%や5%や10%など)の照度をMINの照度に対応させてもよい。必要とする最低の照度に応じて、割合とMINの照度とを対応付ければよい。 The illuminance at 1% is the MIN illuminance. Therefore, each LED group never emits light with an illuminance of 1% or less. For example, the LED-a 356a-1 does not emit light even when 1 to 9 are input as input values in the high illumination mode. In other words, light is emitted only when the input value becomes 10. By setting the MIN in this way, it is possible to prevent the illuminance at low illuminance from varying among the LED groups. The illuminance at 1% may not be associated with the MIN illuminance, and the illuminance at other ratios (3%, 5%, 10%, etc.) may be associated with the MIN illuminance. The ratio and the MIN illuminance may be associated according to the required minimum illuminance.

<<エラーチェック処理>>
図21は、図8におけるエラーチェック処理(ステップ2400)のサブルーチンである。まず、ステップ2402で、LED基板350のCPU351は、サーミスタが検出したLED温度を示すLED温度コマンドを電源装置200のCPU201へ送信する。
<<Error check processing>>
FIG. 21 is a subroutine of the error check process (step 2400) in FIG. First, at step 2402 , CPU 351 of LED board 350 transmits an LED temperature command indicating the LED temperature detected by the thermistor to CPU 201 of power supply device 200 .

次に、ステップ2404で、LED基板350のCPU351は、LED温度が基準値以上であるか否かを判定する。 Next, at step 2404, the CPU 351 of the LED board 350 determines whether the LED temperature is equal to or higher than the reference value.

ステップ2404でYesの場合、ステップ2406で、LED基板350のCPU351は、LED照度低下処理を行う。具体的には、強制的にLEDを消灯させる。電源装置200のメニュー操作によってLEDを点灯させる操作を行うことで、再度LEDは点灯する。 In the case of Yes in step 2404, in step 2406, the CPU 351 of the LED board 350 performs LED illuminance reduction processing. Specifically, the LED is forcibly turned off. By performing an operation to turn on the LED through the menu operation of the power supply device 200, the LED is turned on again.

次に、ステップ2408で、LED基板350のCPU351は、LED温度エラー情報(コマンド)を電源装置200のCPU201へ送信する。 Next, in step 2408 , CPU 351 of LED board 350 transmits LED temperature error information (command) to CPU 201 of power supply 200 .

ステップ2404でNoの場合、ステップ2410の処理へ移行する。 If No in step 2404 , the process proceeds to step 2410 .

次に、ステップ2410で、LED基板350のCPU351は、オープンエラーが発生しているか否かを判定する。 Next, at step 2410, the CPU 351 of the LED board 350 determines whether or not an open error has occurred.

具体的には、LED基板350のCPU351は、LEDに電流を供給するための電流回路の不具合、例えば、回路の断線が発生しているか否かを判定する。 Specifically, the CPU 351 of the LED board 350 determines whether or not there is a defect in the current circuit for supplying current to the LEDs, for example, whether or not the circuit is disconnected.

ステップ2410でYesの場合、ステップ2412で、LED基板350のCPU351は、オープンエラー情報(コマンド)を電源装置200のCPU201へ送信する。 If Yes in step 2410 , CPU 351 of LED board 350 transmits open error information (command) to CPU 201 of power supply 200 in step 2412 .

次に、ステップ2414で、LED基板350のCPU351は、LED基板温度情報(コマンド)を電源装置200のCPU201へ送信する。 Next, at step 2414 , the CPU 351 of the LED board 350 transmits the LED board temperature information (command) to the CPU 201 of the power supply device 200 .

次に、ステップ2416で、LED基板350のCPU351は、LED基板温度エラーが発生したか否かを判定する。 Next, at step 2416, the CPU 351 of the LED board 350 determines whether or not an LED board temperature error has occurred.

ステップ2416でYesの場合、ステップ2418で、LED基板350のCPU351は、LED基板温度エラー情報(コマンド)を電源装置200のCPU201へ送信し、呼び出し元へ復帰する。ステップ2416でNoの場合も、呼び出し元へ復帰する。 If Yes at step 2416, at step 2418, the CPU 351 of the LED board 350 transmits the LED board temperature error information (command) to the CPU 201 of the power supply 200, and returns to the calling source. If No in step 2416, the process returns to the caller.

エラーチェック処理で行うエラー判定は、これらに限定されるものではない。 Error determination performed in the error check process is not limited to these.

前述した各種のエラーをチェックすることで、良好な状態を維持して、適切な発光状態で、検査対象物を照明することができる。 By checking for the various errors described above, it is possible to maintain a good condition and illuminate the inspection object with an appropriate light emission condition.

<<変更例>>
本実施形態では、端部基板310(端部基板320)は、中継基板として機能する構成とした。変更例では、端部基板310(端部基板320)に、CPU、ROM、RAM、EEPROM、DAC(DAC-a、DAC-b)を備え、LED基板に、定電流回路、電流増幅回路、LEDを備える構成とすることで、端部基板310(端部基板320)からLED基板350のLEDの発光の制御を行う構成としてもよい。
<<Change example>>
In this embodiment, the end substrate 310 (end substrate 320) is configured to function as a relay substrate. In the modified example, the end substrate 310 (end substrate 320) is equipped with a CPU, ROM, RAM, EEPROM, and DAC (DAC-a, DAC-b), and the LED substrate is equipped with a constant current circuit, a current amplifier circuit, an LED , the light emission of the LEDs of the LED substrate 350 may be controlled from the end substrate 310 (end substrate 320).

このように端部基板310(端部基板320)にLEDの発光の制御機能をまとめる構成とすることで、LED基板350が少ない(例えば、2枚等)場合等に、LED基板350を縮小することができ、照明装置300の縮小化等を図ることができる。 By combining the light emission control function of the LEDs in the end substrate 310 (end substrate 320) in this way, the number of LED substrates 350 can be reduced when the number of LED substrates 350 is small (for example, two substrates). It is possible to reduce the size of the illumination device 300 and the like.

また、本実施形態では、一次関数(直線近似)を用いて、入力値からDAC値を算出する例を示したが、使用するLEDの電気的特性や光学的特性や処理速度や精度などに応じて、多項式近似や各種の関数を用いて、DAC値を算出してもよい。
<<本実施形態のまとめ>>
本実施形態における第1の特徴は、LED基板のCPUは、電源装置との接続の向きによらずに予め定められた順番で、LED群のアドレスを記憶することができる点である。これにより、操作者が電源装置を操作することによって照明装置の出力を制御することを容易にすることができる。いずれか1つのLED基板のLED群に故障が生じたとしても照明装置を別の照明装置に変更する必要がない。具体的には、故障したLED基板を変更すると、変更後のLED基板のCPUは、変更前のLED基板のCPUと同じアドレスを記憶することができ、部分的な交換も容易である。本実施形態における第2の特徴は、LED群の照度を均一化しているため、検査の精度を高めることができる点である。
Further, in this embodiment, an example of calculating a DAC value from an input value using a linear function (linear approximation) was shown, but depending on the electrical characteristics, optical characteristics, processing speed, accuracy, etc. of the LED used, Alternatively, the DAC value may be calculated using polynomial approximation or various functions.
<<Summary of this embodiment>>
A first feature of this embodiment is that the CPU of the LED board can store the addresses of the LED groups in a predetermined order regardless of the direction of connection with the power supply device. This makes it easier for the operator to control the output of the lighting device by operating the power supply device. Even if a failure occurs in the LED group of any one of the LED boards, there is no need to change the lighting device to another lighting device. Specifically, when a failed LED board is replaced, the CPU of the LED board after replacement can store the same address as the CPU of the LED board before replacement, and partial replacement is easy. A second feature of this embodiment is that the illuminance of the LED group is made uniform, so that the accuracy of inspection can be improved.

本実施形態では、各LED基板のCPUは、入力値を含むコマンド(制御コマンド)を受信すると入力値に対応するDAC値を算出するようにしたが、各LED基板のCPUは、電源立ち上げ時に各入力値に対応するDAC値を算出して各LED基板のEEPROMに記憶するようにしてもよい。この場合、操作者が電源装置200の操作部207を操作して入力値を設定した際、各LED基板のCPUは、入力値を含むコマンド(制御コマンド)を受信するとEEPROMを参照して入力値に対応するDAC値を読み出し、DACにDAC値を出力することとなる。 In this embodiment, when the CPU of each LED board receives a command (control command) including an input value, it calculates the DAC value corresponding to the input value. A DAC value corresponding to each input value may be calculated and stored in the EEPROM of each LED board. In this case, when the operator operates the operation unit 207 of the power supply device 200 to set an input value, the CPU of each LED board, upon receiving a command (control command) including the input value, refers to the EEPROM to set the input value. , and outputs the DAC value to the DAC.

このように構成することにより、入力値を変更する際のCPUの処理負担を軽減することができる。 By configuring in this way, the processing load on the CPU when changing the input value can be reduced.

<<本実施形態における別の照明装置>>
本実施形態における別の照明装置である照明装置1は、
光を発する少なくとも一つの光源を有する発光部と、
前記発光部から発する所定の明るさ(例えば、明暗度1%、明暗度50%、明暗度100%)に対応する制御値を記憶する記憶部と、
制御値と光の明るさを調整するための調整値(例えば、入力値)とを関連づけた対応関係に基づいて、前記記憶部から読み出した制御値から駆動信号を生成して前記発光部に供給する制御部と、を備え、
前記記憶部は、
第1の明るさ(例えば、明暗度1%)に対応する第1制御値(例えば、1%DAC値)と、
第2の明るさ(例えば、明暗度50%)に対応する第2制御値(例えば、50%DAC値)と、
第3の明るさ(例えば、明暗度100%)に対応する第3制御値(例えば、100%DAC値)と、
を記憶し、
前記制御部は、
調整値が、第1調整値(例えば、明暗度1%に対応する入力値)以上でかつ前記第1調整値より大きい第2調整値(例えば、明暗度50%に対応する入力値)より小さいときには、前記第1調整値及び前記第1制御値と、前記第2調整値及び前記第2制御値とから得られる第1の対応関係から駆動信号を生成し、
調整値が、第2調整値(例えば、明暗度50%に対応する入力値)以上でかつ前記第2調整値より大きい第3調整値(例えば、明暗度100%に対応する入力値)以下のときには、
前記第2調整値及び前記第2制御値と、前記第3調整値及び前記第3制御値とから得られる第2の対応関係から駆動信号を生成する照明装置である。
<<Another lighting device in this embodiment>>
The lighting device 1, which is another lighting device in this embodiment,
a light emitting unit having at least one light source that emits light;
a storage unit that stores control values corresponding to predetermined brightness (e.g., intensity of 1%, intensity of 50%, intensity of 100%) emitted from the light emitting unit;
A driving signal is generated from the control value read from the storage unit and supplied to the light emitting unit based on a correspondence relationship that associates the control value with an adjustment value (for example, an input value) for adjusting the brightness of light. and a control unit for
The storage unit
a first control value (e.g., 1% DAC value) corresponding to a first brightness (e.g., 1% intensity);
a second control value (eg, 50% DAC value) corresponding to a second brightness (eg, 50% intensity);
a third control value (eg, 100% DAC value) corresponding to a third brightness (eg, 100% intensity);
remember the
The control unit
The adjustment value is greater than or equal to a first adjustment value (e.g., an input value corresponding to 1% intensity) and smaller than a second adjustment value (e.g., an input value corresponding to 50% intensity) that is greater than the first adjustment value. sometimes generating a drive signal from a first correspondence obtained from the first adjustment value and the first control value and the second adjustment value and the second control value;
The adjustment value is greater than or equal to a second adjustment value (e.g., an input value corresponding to 50% intensity) and less than or equal to a third adjustment value (e.g., an input value corresponding to 100% intensity) that is greater than the second adjustment value. sometimes,
The lighting device generates a drive signal from a second correspondence obtained from the second adjustment value and the second control value, and the third adjustment value and the third control value.

本実施形態における別の照明装置である照明装置2は、さらに、
前記発光部を複数備え(例えば、LED-a356a-1、LED-b356b-1)、
前記記憶部は、複数の発光部の各々から発する光の明るさに対応する制御値を複数の発光部毎に記憶し、
前記制御部は、駆動信号を複数の発光部毎に生成する照明装置1に記載の照明装置である。
The illumination device 2, which is another illumination device in this embodiment, further includes:
A plurality of the light emitting units (for example, LED-a356a-1, LED-b356b-1),
the storage unit stores a control value corresponding to the brightness of light emitted from each of the plurality of light emitting units for each of the plurality of light emitting units;
The control unit is the lighting device according to the lighting device 1 that generates a drive signal for each of the plurality of light emitting units.

本実施形態における別の照明装置である照明装置3は、
光を発する少なくとも一つの光源を有する複数の発光部(例えば、LED-a356a-1、LED-b356b-1、LED-a356a-2、LED-b356b-2、LED-a356a-3、LED-b356b-3、LED-a356a-4、LED-b356b-4)と、
複数の発光部から発する光の明るさに対応する制御値を記憶する複数の記憶部(例えば、EEPROM354-1、EEPROM354-2、EEPROM354-3、EEPROM354-4)と、
制御値と光の明るさを調整するための調整値(例えば、入力値)とを関連づけた対応関係に基づいて、複数の記憶部から読み出した制御値から駆動信号を生成して発光部に供給する複数の制御部(例えば、CPU351-1、CPU351-2、CPU351-3、CPU351-4)と
を備え、
複数の記憶部のそれぞれは、
複数の発光部のうちの少なくとも一つの発光部と対応付けられており、対応付けられた発光部から発する光の明るさに対応する制御値として、
第1の明るさ(例えば、明暗度1%)に対応する第1制御値(例えば、1%DAC値)と、
第2の明るさ(例えば、明暗度50%)に対応する第2制御値(例えば、50%DAC値)と、
第3の明るさ(例えば、明暗度100%)に対応する第3制御値(例えば、100%DAC値)と、
を記憶し、
前記複数の制御部の各々が、前記複数の発光部のいずれかに対応付けられ、
前記複数の制御部の各々が、前記複数の記憶部のいずれかに対応付けられ、
前記複数の制御部の各々は、制御値と光の明るさを調整するための調整値(例えば、入力値)とを関連づけた対応関係に基づいて、対応付けられた記憶部から読み出した制御値から駆動信号を生成して対応付けられた発光部に供給し、
調整値が、第1調整値(例えば、明暗度1%に対応する入力値)以上でかつ第1調整値より大きい第2調整値(例えば、明暗度50%に対応する入力値)より小さいときには、第1調整値及び前記第1制御値と、第2調整値及び第2制御値とから得られる第1の対応関係から駆動信号を生成し、
調整値が、第2調整値(例えば、明暗度50%に対応する入力値)以上でかつ第2調整値より大きい第3調整値(例えば、明暗度100%に対応する入力値)以下のときには、
第2調整値及び前記第2制御値と、第3調整値及び第3制御値とから得られる第2の対応関係から駆動信号を生成する照明装置である。
The lighting device 3, which is another lighting device in this embodiment,
A plurality of light emitting units having at least one light source that emits light (for example, LED-a356a-1, LED-b356b-1, LED-a356a-2, LED-b356b-2, LED-a356a-3, LED-b356b- 3, LED-a356a-4, LED-b356b-4) and
a plurality of storage units (eg, EEPROM 354-1, EEPROM 354-2, EEPROM 354-3, EEPROM 354-4) storing control values corresponding to the brightness of light emitted from the plurality of light emitting units;
A drive signal is generated from control values read from a plurality of storage units and supplied to the light emitting unit based on a correspondence relationship that associates the control value with an adjustment value (for example, an input value) for adjusting the brightness of light. A plurality of control units (for example, CPU 351-1, CPU 351-2, CPU 351-3, CPU 351-4) are provided,
Each of the plurality of storage units
As a control value associated with at least one light emitting unit among a plurality of light emitting units and corresponding to the brightness of light emitted from the associated light emitting unit,
a first control value (e.g., 1% DAC value) corresponding to a first brightness (e.g., 1% intensity);
a second control value (eg, 50% DAC value) corresponding to a second brightness (eg, 50% intensity);
a third control value (eg, 100% DAC value) corresponding to a third brightness (eg, 100% intensity);
remember the
each of the plurality of control units is associated with one of the plurality of light emitting units;
each of the plurality of control units is associated with one of the plurality of storage units,
Each of the plurality of control units reads a control value read from the associated storage unit based on a correspondence relationship that associates a control value with an adjustment value (e.g., an input value) for adjusting the brightness of light. to generate a drive signal from and supply it to the associated light emitting unit,
When the adjustment value is greater than or equal to the first adjustment value (e.g., the input value corresponding to 1% intensity) and smaller than the second adjustment value (e.g., the input value corresponding to 50% intensity) that is greater than the first adjustment value , generating a drive signal from a first correspondence obtained from the first adjustment value and the first control value and the second adjustment value and the second control value;
When the adjustment value is greater than or equal to the second adjustment value (e.g., the input value corresponding to 50% intensity) and less than or equal to the third adjustment value (e.g., the input value corresponding to 100% intensity) that is greater than the second adjustment value ,
The lighting device generates a drive signal from a second correspondence obtained from a second adjustment value and the second control value, and a third adjustment value and the third control value.

本実施形態における別の照明装置である照明装置4は、
前記調整値を操作者の操作により一括して設定可能(例えば、ボリューム207Aにより調整値を設定可能)であり、
前記複数の制御部は、
操作者の操作により設定される調整値に応じて、前記第1の対応関係又は第2の対応関係から駆動信号を生成する照明装置3に記載の照明装置である。
The lighting device 4, which is another lighting device in this embodiment,
The adjustment values can be collectively set by an operator's operation (for example, the adjustment values can be set by the volume 207A),
The plurality of control units are
The lighting device according to the lighting device 3, which generates a drive signal from the first correspondence or the second correspondence according to an adjustment value set by an operator's operation.

本実施形態における照明装置1は、言い換えると、
光を発する光源と、
前記光源から発する光の第1の明るさ(例えば、明暗度1%)に対応する第1制御値(例えば、1%DAC値)と、前記光源から発する光の第2の明るさ(例えば、明暗度50%)に対応する第2制御値(例えば、50%DAC値)と、前記光源から発する光の第3の明るさ(例えば、明暗度50%)に対応する第3制御値(例えば、100%DAC値)と、を記憶する記憶部と、
制御値と光の明るさを調整するための調整値(例えば、入力値)とを関連づけた対応関係に基づいて、前記記憶部から読み出した制御値から駆動信号を生成して前記光源に供給する制御部であって、
調整値が、第1調整値(例えば、明暗度1%に対応する入力値)以上でかつ前記第1調整値より大きい第2調整値(例えば、明暗度50%に対応する入力値)より小さいときには、前記第1照度及び前記第1制御値と、前記第2照度及び前記第2制御値とから得られる第1の対応関係から駆動信号を生成し、
調整値が、第2調整値以上でかつ前記第2調整値より大きい第3調整値(例えば、明暗度100%に対応する入力値)以下のときには、前記第2調整値及び前記第2制御値と、前記第3調整値及び前記第3制御値とから得られる第2の対応関係から駆動信号を生成する制御部と、を備える照明装置であるともいえる。
In other words, the illumination device 1 according to the present embodiment is
a light source that emits light;
A first control value (e.g., 1% DAC value) corresponding to a first brightness (e.g., 1% intensity) of light emitted from the light source and a second brightness of light emitted from the light source (e.g., a second control value (e.g. 50% DAC value) corresponding to 50% intensity) and a third control value (e.g. 50% intensity) corresponding to a third brightness of the light emitted from the light source (e.g. , 100% DAC value);
A drive signal is generated from the control value read from the storage unit and supplied to the light source based on a correspondence relationship that associates the control value with an adjustment value (for example, an input value) for adjusting the brightness of light. a control unit,
The adjustment value is greater than or equal to a first adjustment value (e.g., an input value corresponding to 1% intensity) and smaller than a second adjustment value (e.g., an input value corresponding to 50% intensity) that is greater than the first adjustment value. sometimes generating a drive signal from a first correspondence obtained from the first illuminance and the first control value and the second illuminance and the second control value;
When the adjustment value is greater than or equal to the second adjustment value and less than or equal to a third adjustment value (for example, an input value corresponding to 100% intensity) that is greater than the second adjustment value, the second adjustment value and the second control value and a control unit that generates a drive signal from a second correspondence obtained from the third adjustment value and the third control value.

また、本実施形態における照明装置1は、
光を発する光源と、
前記光源から発する光の第1の明るさ(例えば、明暗度1%)に対応する第1制御値(例えば、1%DAC値)と、前記光源から発する光の第2の明るさ(例えば、明暗度50%)に対応する第2制御値(例えば、50%DAC値)と、前記光源から発する光の第3の明るさ(例えば、明暗度100%)に対応する第3制御値(例えば、100%DAC値)と、を記憶する記憶部と、
制御値と光の明るさを調整するための調整値(例えば、入力値)とを関連づけた対応関係に基づいて、前記記憶部から読み出した制御値から駆動信号を生成して前記光源に供給する制御部であって、
前記第1調整値(例えば、明暗度1%に対応する入力値)、前記第1制御値、前記第2調整値(例えば、明暗度50%に対応する入力値)及び前記第2制御値とから得られる第1の対応関係、又は前記第2調整値、前記第2制御値、前記第3調整値(例えば、明暗度100%に対応する入力値)及び前記第3制御値とから得られる第2の対応関係から駆動信号を生成する制御部と、を備える照明装置であるともいえる。
Further, the lighting device 1 in this embodiment is
a light source that emits light;
A first control value (e.g., 1% DAC value) corresponding to a first brightness (e.g., 1% intensity) of light emitted from the light source and a second brightness of light emitted from the light source (e.g., a second control value (e.g. 50% DAC value) corresponding to 50% intensity) and a third control value (e.g. 100% intensity) corresponding to a third brightness of the light emitted from the light source (e.g. , 100% DAC value);
A drive signal is generated from the control value read from the storage unit and supplied to the light source based on a correspondence relationship that associates the control value with an adjustment value (for example, an input value) for adjusting the brightness of light. a control unit,
the first adjustment value (for example, an input value corresponding to 1% intensity), the first control value, the second adjustment value (for example, an input value corresponding to 50% intensity), and the second control value; or obtained from the second adjustment value, the second control value, the third adjustment value (e.g., the input value corresponding to 100% intensity) and the third control value and a control unit that generates a drive signal from the second correspondence relationship.

200 電源装置
300 照明装置
350 LED基板
30 筐体
40 ロッドレンズ
50 ディフューザレンズ



200 power supply device 300 lighting device 350 LED substrate 30 housing 40 rod lens 50 diffuser lens



Claims (5)

複数の光源制御基板を有する照明装置であって、
前記複数の光源制御基板の各々は、
所定の明るさの光を発する光源と、
前記光源から発せられる光の明るさに対応する制御値を記憶する記憶部と、
前記制御値を読み出し、読み出した制御値に基づいて駆動信号を生成して前記光源に供給する制御部と、
を備え、
前記複数の光源制御基板の各々の制御部は、他の光源制御基板を識別するための識別情報を生成することができ
前記複数の光源制御基板の各々は、前記識別情報の送受信を制御するための通信ポートを更に備え、
前記複数の光源制御基板は、第1の光源制御基板及び第2の光源制御基板を含み、
前記第1の光源制御基板の制御部は、前記通信ポートを介して、前記第2の光源制御基板を、前記識別情報の受信ができる受信許可状態にし、
前記複数の光源制御基板の各々は、前記通信ポートとは別に、コマンドラインに通信可能に接続され、
前記第2の光源制御基板の制御部は、前記受信許可状態にされたことを契機に、前記コマンドラインを介して前記識別情報を受信する、照明装置。
A lighting device having a plurality of light source control boards,
Each of the plurality of light source control boards,
a light source that emits light with a predetermined brightness;
a storage unit that stores a control value corresponding to the brightness of light emitted from the light source;
a control unit that reads the control value, generates a drive signal based on the read control value, and supplies the drive signal to the light source;
with
each control unit of the plurality of light source control boards can generate identification information for identifying other light source control boards ;
each of the plurality of light source control boards further comprises a communication port for controlling transmission and reception of the identification information;
The plurality of light source control boards includes a first light source control board and a second light source control board,
The control unit of the first light source control board puts the second light source control board into a reception permission state in which the identification information can be received via the communication port,
each of the plurality of light source control boards is communicably connected to a command line separately from the communication port;
The lighting device, wherein the control unit of the second light source control board receives the identification information via the command line when the reception permission state is set.
前記第1の光源制御基板の制御部は、前記第1の光源制御基板を識別する識別情報に基づいて、前記第2の光源制御基板を識別する識別情報を生成する、請求項に記載の照明装置。 2. The controller of the first light source control board according to claim 1, wherein the control unit of the first light source control board generates identification information for identifying the second light source control board based on identification information for identifying the first light source control board. lighting device. 前記複数の光源制御基板の各々は、前記通信ポートの状態に応じて、識別情報の受信を許可する許可状態又は識別情報の受信を禁止する禁止状態のいずれかとなる、請求項に記載の照明装置。 2. The lighting system according to claim 1 , wherein each of said plurality of light source control boards is in either a permitted state for permitting reception of identification information or a prohibited state for prohibiting reception of identification information according to the state of said communication port. Device. 前記複数の光源制御基板の各々を制御する主制御装置を更に備え、
前記主制御装置は、前記識別情報の初期情報を含む制御コマンドを前記コマンドラインを介して光源制御基板に送信する、請求項に記載の照明装置。
further comprising a main controller that controls each of the plurality of light source control boards;
The lighting device according to claim 1 , wherein said main controller transmits a control command including initial information of said identification information to said light source control board via said command line.
前記主制御装置は、光の明るさの調整に用いる入力値を含む前記制御コマンドを前記コマンドラインを介して光源制御基板に送信し、
前記複数の光源制御基板の各々の制御部は、前記入力値に応じて前記制御値を決定する、請求項に記載の照明装置。
The main controller transmits the control command including the input value used for adjusting the brightness of the light to the light source control board via the command line,
5. The lighting device according to claim 4 , wherein each control unit of said plurality of light source control boards determines said control value according to said input value.
JP2019207399A 2019-11-15 2019-11-15 Lighting device and lighting system using the lighting device Active JP7323175B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2019207399A JP7323175B2 (en) 2019-11-15 2019-11-15 Lighting device and lighting system using the lighting device
JP2023118561A JP2023129537A (en) 2019-11-15 2023-07-20 Lighting device and lighting system using lighting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019207399A JP7323175B2 (en) 2019-11-15 2019-11-15 Lighting device and lighting system using the lighting device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2023118561A Division JP2023129537A (en) 2019-11-15 2023-07-20 Lighting device and lighting system using lighting device

Publications (2)

Publication Number Publication Date
JP2021082434A JP2021082434A (en) 2021-05-27
JP7323175B2 true JP7323175B2 (en) 2023-08-08

Family

ID=75965834

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2019207399A Active JP7323175B2 (en) 2019-11-15 2019-11-15 Lighting device and lighting system using the lighting device
JP2023118561A Pending JP2023129537A (en) 2019-11-15 2023-07-20 Lighting device and lighting system using lighting device

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2023118561A Pending JP2023129537A (en) 2019-11-15 2023-07-20 Lighting device and lighting system using lighting device

Country Status (1)

Country Link
JP (2) JP7323175B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000286061A (en) 1999-03-31 2000-10-13 Matsushita Electric Works Ltd Load controller
WO2014091533A1 (en) 2012-12-10 2014-06-19 パイオニア株式会社 Light-emitting device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000286061A (en) 1999-03-31 2000-10-13 Matsushita Electric Works Ltd Load controller
WO2014091533A1 (en) 2012-12-10 2014-06-19 パイオニア株式会社 Light-emitting device

Also Published As

Publication number Publication date
JP2021082434A (en) 2021-05-27
JP2023129537A (en) 2023-09-14

Similar Documents

Publication Publication Date Title
JP5606981B2 (en) Light quantity stabilization light source device
US7599049B2 (en) Apparatus for testing light transmission through lens
JP4750389B2 (en) Light-emitting diode illuminating device for optical observation device such as stereo microscope or stereo surgical microscope
TWI263791B (en) Method of generating image and illumination device for inspecting substrate
EP1969327A1 (en) Color sensor
JPH05126748A (en) Optical inspecting device
US8344652B2 (en) Optical measuring apparatus
JP6108150B2 (en) Lighting control system
CN101547543A (en) Illumination instruments
EP2986957B1 (en) Imaging assembly for emitted light
JP6258947B2 (en) Calibration of light sensor
JP7323175B2 (en) Lighting device and lighting system using the lighting device
JP2006234744A (en) Granular material selector
JP7239206B2 (en) Lighting device and lighting system using the lighting device
JP7426690B2 (en) Lighting devices and lighting systems using lighting devices
JP2005055895A (en) Raster microscope
JP2005091049A (en) Light irradiator for image processing and light irradiation method for image processing
JP2010511277A (en) Lighting system
CN109540899A (en) Check device and inspection method
JP5652144B2 (en) Lighting control system
JP7140732B2 (en) Appearance inspection device for crimp terminals
JP2005347645A (en) Light volume control unit and light irradiation equipment
JP2008089599A (en) Multi-spectral imaging device, multi-spectral lighting system
JP2020205144A (en) Illumination apparatus
JP2002267571A (en) Inspection device for optical characteristic

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210728

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220531

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20220729

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220921

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221227

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20230227

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230307

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230720

R150 Certificate of patent or registration of utility model

Ref document number: 7323175

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150