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

JP6563315B2 - LED controller - Google Patents

LED controller Download PDF

Info

Publication number
JP6563315B2
JP6563315B2 JP2015224545A JP2015224545A JP6563315B2 JP 6563315 B2 JP6563315 B2 JP 6563315B2 JP 2015224545 A JP2015224545 A JP 2015224545A JP 2015224545 A JP2015224545 A JP 2015224545A JP 6563315 B2 JP6563315 B2 JP 6563315B2
Authority
JP
Japan
Prior art keywords
value
control device
resistance
setting signal
duty
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
JP2015224545A
Other languages
Japanese (ja)
Other versions
JP2017092404A (en
Inventor
藤原 宗
宗 藤原
堅次 武渕
堅次 武渕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New Japan Radio Co Ltd
Original Assignee
New Japan Radio Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New Japan Radio Co Ltd filed Critical New Japan Radio Co Ltd
Priority to JP2015224545A priority Critical patent/JP6563315B2/en
Publication of JP2017092404A publication Critical patent/JP2017092404A/en
Application granted granted Critical
Publication of JP6563315B2 publication Critical patent/JP6563315B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Led Devices (AREA)

Description

本発明は、LEDの点灯状態を制御するLED制御装置に関する。   The present invention relates to an LED control device that controls the lighting state of an LED.

LEDの点灯状態を制御する方法として、PWM信号のデューティ比を変えて行うPWM調光が広く用いられている(例えば、特許文献1)。図3に従来のLED制御装置の要部の構成を示す。このLED制御装置では、図示しないLEDを制御するシステム回路10Aに対して、コントロール装置20Aを1本のケーブル30Aを使用して接続している。コントロール装置20Aには、電圧VDDの電源が装備され、操作部21に給電を行っている。操作部21における操作内容を示す信号は、単線ケーブル30Aを介してシステム回路10Aの抵抗R1に電圧Vcを発生させ、この電圧VcがAD変換器11でアナログ信号からデジタル信号に変換されて、変換値(設定信号)としてLED制御部(図示せず)に入力され、LEDを調光制御するPWM信号のデューティ比が設定され、あるいはLEDの点灯/消灯等が制御される。   As a method for controlling the lighting state of the LED, PWM dimming performed by changing the duty ratio of the PWM signal is widely used (for example, Patent Document 1). FIG. 3 shows a configuration of a main part of a conventional LED control device. In this LED control device, a control device 20A is connected to a system circuit 10A that controls an LED (not shown) using a single cable 30A. The control device 20A is equipped with a power supply of voltage VDD and supplies power to the operation unit 21. A signal indicating the operation content in the operation unit 21 generates a voltage Vc at the resistor R1 of the system circuit 10A via the single-wire cable 30A, and this voltage Vc is converted from an analog signal to a digital signal by the AD converter 11, and converted. A value (setting signal) is input to an LED control unit (not shown), a duty ratio of a PWM signal for dimming control of the LED is set, or lighting / extinguishing of the LED is controlled.

図4に従来の別の例のLED制御装置の要部の構成を示す。このLED制御装置では、システム回路10Aに対して、コントロール装置20Bをケーブル31、32からなる2本のケーブル30を使用して接続している。コントロール装置20Bには、システム回路10Aの内部電源の電圧VDDの電源がケーブル31を介して給電される。また、このコントロール装置20Bには可変抵抗R5が装備される。可変抵抗R5の抵抗値を調整した信号は、ケーブル32を介してシステム回路10Aの抵抗R1に電圧Vcを発生させ、この電圧VcがAD変換器11でアナログ信号からデジタル信号に変換されて変換値(設定信号)としてLED制御部(図示せず)に入力され、LEDを調光制御するPWM信号のデューティ比が設定され、あるいはLEDの点灯/消灯等が制御される。   FIG. 4 shows a configuration of a main part of another conventional LED control device. In this LED control device, the control device 20B is connected to the system circuit 10A using two cables 30 including cables 31 and 32. The control device 20B is supplied with power from the internal power supply voltage VDD of the system circuit 10A via the cable 31. The control device 20B is equipped with a variable resistor R5. The signal in which the resistance value of the variable resistor R5 is adjusted generates a voltage Vc at the resistor R1 of the system circuit 10A via the cable 32. This voltage Vc is converted from an analog signal to a digital signal by the AD converter 11, and the converted value is obtained. (Setting signal) is input to an LED control unit (not shown), a duty ratio of a PWM signal for dimming control of the LED is set, or lighting / extinguishing of the LED is controlled.

特願2012−164746号公報Japanese Patent Application No. 2012-164746

ところが、図3で説明したLED制御装置では、ケーブル30Aが1本で済む利点があるが、コントロール装置20Aに電圧VDDの電源を装備させる必要があり、商用電源を入力して整流平滑する電源回路が特別に必要となる。また、システム回路10Aへの制御電圧Vcにノイズが含まれると、AD変換器11から出力する変換値が変動し、LEDを正確に制御できない場合が生じる。   However, the LED control device described with reference to FIG. 3 has the advantage that only one cable 30A is required, but it is necessary to equip the control device 20A with a power supply of the voltage VDD. Is required specially. If the control voltage Vc to the system circuit 10A includes noise, the conversion value output from the AD converter 11 may fluctuate, and the LED may not be accurately controlled.

また、図4で説明したLED制御装置では、コントロール装置20Bに電源を装備させる必要がない利点があるが、システム回路10Aへの制御電圧Vcにノイズが含まれると、AD変換器11から出力する変換値が変動し、図3で説明したLED制御装置と同様に、LEDを正確に制御できない場合が生じる。   In addition, the LED control device described with reference to FIG. 4 has an advantage that it is not necessary to equip the control device 20B with a power supply. However, if noise is included in the control voltage Vc to the system circuit 10A, it is output from the AD converter 11. There are cases where the conversion value fluctuates and the LED cannot be accurately controlled, as in the LED control device described with reference to FIG.

本発明の目的は、ノイズに対して強く、さらに多コマンド化を実現できるようにしたLED制御装置を提供することである。   An object of the present invention is to provide an LED control device that is strong against noise and that can realize multiple commands.

上記目的を達成するために、請求項1にかかる発明のLED制御装置は、LEDに対して所定のデューティのPWM信号を出力して前記LEDの輝度を設定するLED制御装置において、内部電源、分圧用の第1の抵抗、及び該第1の抵抗に発生した制御電圧に対応する設定信号を複数の比較基準値と照合して得られた判定結果に基づき前記デューティを決めるための指令を出力する比較手段を有するシステム回路と、抵抗切替手段を備えたコントロール装置と、を備え、前記コントロール装置の前記抵抗切替手段の出力側を前記システム回路の前記第1の抵抗に接続し、前記第1の抵抗に発生する前記制御電圧に対応する前記設定信号を前記複数の比較基準値と照合する際、前記複数の前記比較基準値は、それぞれ所定の範囲をもつことを特徴とする。   In order to achieve the above object, an LED control device according to a first aspect of the present invention is an LED control device that sets a brightness of the LED by outputting a PWM signal with a predetermined duty to the LED. A command for determining the duty is output based on a determination result obtained by comparing a first resistance for pressure and a setting signal corresponding to a control voltage generated in the first resistance with a plurality of comparison reference values. A system circuit having a comparison means; and a control device having a resistance switching means; and connecting an output side of the resistance switching means of the control device to the first resistance of the system circuit, When the setting signal corresponding to the control voltage generated in the resistor is collated with the plurality of comparison reference values, each of the plurality of comparison reference values has a predetermined range. And butterflies.

請求項2にかかる発明は、請求項1に記載のLED制御装置において、前記システム回路は、前記コントロール装置の前記抵抗切替手段で設定された抵抗値と前記第1の抵抗の抵抗値とによって得られる前記内部電源の電圧を分圧した制御電圧に対応して、前記設定信号を生成することを特徴とする。   According to a second aspect of the present invention, in the LED control device according to the first aspect, the system circuit is obtained by a resistance value set by the resistance switching unit of the control device and a resistance value of the first resistor. The setting signal is generated in response to a control voltage obtained by dividing the voltage of the internal power supply.

請求項3にかかる発明は、請求項1又は2に記載のLED制御装置において、前記システム回路の前記比較手段は、前記設定信号が第1の値のとき前記デューティの現状維持の指令を、前記設定信号が第2の値のとき前記デューティを1ステップだけアップする指令を、前記設定信号が第3の値のとき前記デューティを1ステップだけダウンする指令を、前記設定信号が第4の値のとき前記デューティを第1の特定値に設定する指令を、前記設定信号が第5の値のとき前記デューティを第2の特定値に設定する指令を、それぞれ判定結果として出力することを特徴とする。   According to a third aspect of the present invention, in the LED control device according to the first or second aspect, the comparing means of the system circuit issues a command for maintaining the current state of the duty when the setting signal is a first value. A command to increase the duty by one step when the setting signal is a second value, a command to decrease the duty by one step when the setting signal is a third value, and a setting signal that has a fourth value A command for setting the duty to a first specific value, and a command for setting the duty to a second specific value when the setting signal is a fifth value, respectively, as a determination result. .

請求項4にかかる発明は、請求項3に記載のLED制御装置において、前記システム回路はカウンタを備え、該カウンタは、前記比較手段の判定結果が前記1ステップだけアップする指令のときはカウント値を1だけカウントアップし、前記比較手段の判定結果が前記1ステップだけダウンする指令のときはカウント値を1だけカウントダウンし、前記カウンタのカウント値が前記PWM信号のデューティとなるようにしたことを特徴とする。   According to a fourth aspect of the present invention, in the LED control device according to the third aspect, the system circuit includes a counter, and the counter is a count value when the determination result of the comparing means is a command to increase by one step. Is incremented by 1, and when the determination result of the comparing means is a command to decrease by 1 step, the count value is decremented by 1 so that the count value of the counter becomes the duty of the PWM signal. Features.

請求項5にかかる発明は、請求項3又は4に記載のLED制御装置において、前記システム回路の前記第1の抵抗は固定抵抗であり、前記コントロール装置の前記抵抗切替手段は固定抵抗である第2の抵抗、可変抵抗である第3及び第4の抵抗を備え、前記コントロール装置の前記抵抗切替手段において、前記第2の抵抗を選択することで、前記設定信号が前記第1の値になるように切り替えられ、前記コントロール装置の前記抵抗切替手段において、前記第2及び第3の抵抗を選択し且つ前記第3の抵抗を第1の抵抗値に調整することで、前記設定信号が前記第2の値になるように切り替えられ、前記コントロール装置の前記抵抗切替手段において、前記第4の抵抗を選択して第3の抵抗値に調整することで、前記設定信号が前記第3の値になるように切り替えられ、前記コントロール装置の前記抵抗切替手段において、前記第2の抵抗及び第4の抵抗を選択し且つ前記第4の抵抗を第4の抵抗値に調整することで、前記設定信号が前記第4の値となるように切り替えられ、前記コントロール装置の前記抵抗切替手段において、前記第4の抵抗を選択して第5の抵抗値に調整することで、前記設定信号が前記第5の値になるように切り替えられる、ことを特徴とする。   The invention according to claim 5 is the LED control device according to claim 3 or 4, wherein the first resistor of the system circuit is a fixed resistor, and the resistance switching means of the control device is a fixed resistor. 2 and a third and fourth resistors that are variable resistors, and the setting signal becomes the first value by selecting the second resistor in the resistance switching means of the control device. In the resistance switching unit of the control device, the second and third resistors are selected and the third resistor is adjusted to a first resistance value, so that the setting signal is changed to the first resistance value. The setting signal is switched to the third value by selecting the fourth resistance and adjusting it to the third resistance value in the resistance switching means of the control device. In the resistance switching means of the control device, the setting signal is selected by selecting the second resistance and the fourth resistance and adjusting the fourth resistance to a fourth resistance value. Is switched to be the fourth value, and the resistance switching means of the control device selects the fourth resistor and adjusts it to the fifth resistance value, so that the setting signal becomes the fifth value. It is possible to switch to a value of.

本発明によれば、複数の比較基準値はそれぞれ所定の範囲をもつので、コントロール装置の操作によって発生する制御電圧にフラツキやノイズが発生しても誤った判定が行われることを防止できる。つまり、ノイズ耐量が大きくなる。   According to the present invention, since each of the plurality of comparison reference values has a predetermined range, it is possible to prevent an erroneous determination from being made even if a fluctuation or noise occurs in the control voltage generated by the operation of the control device. That is, the noise tolerance is increased.

また、内部電源の電圧範囲を複数に区分けして利用することによって、設定信号の種類を多くすることができるので、デューティをアップしたりダウンしたりするLEDの通常のPWM信号調光制御の他に、LEDを消灯したり、最大輝度に設定したり、別の特定の輝度に設定する特別な操作を行うことも可能となる。   Also, by dividing and using the voltage range of the internal power supply, the number of types of setting signals can be increased. Therefore, in addition to the normal PWM signal dimming control for LEDs that increase or decrease the duty In addition, it is possible to perform a special operation of turning off the LED, setting the maximum brightness, or setting another specific brightness.

本発明の実施例のLED制御装置の要部のブロック図である。It is a block diagram of the principal part of the LED control apparatus of the Example of this invention. 本発明の実施例のLED制御装置の制御内容の説明図である。It is explanatory drawing of the control content of the LED control apparatus of the Example of this invention. 従来のLED制御装置の要部のブロック図である。It is a block diagram of the principal part of the conventional LED control apparatus. 従来の別のLED制御装置の要部のブロック図である。It is a block diagram of the principal part of another conventional LED control apparatus.

図1に本発明の1つの実施例のLED制御装置の要部の構成を示す。10はシステム回路、20はコントロール装置、30はシステム回路10とコントロール装置20とを接続する2線式ケーブルである。   FIG. 1 shows a configuration of a main part of an LED control device according to one embodiment of the present invention. Reference numeral 10 denotes a system circuit, 20 denotes a control device, and 30 denotes a two-wire cable connecting the system circuit 10 and the control device 20.

システム回路10は、制御電圧Vcを生成する固定抵抗R1と、その制御電圧Vcをアナログ信号から所定ビット数のデジタルの設定信号に変換するAD変換器11と、所定の範囲をもつ複数の比較基準値を格納したメモリ12と、AD変換器11から出力する設定信号をメモリ12に格納された複数の比較基準値と照合して判定し、その判定結果として変換値あるいはコマンドを出力する比較器13と、比較器13の判定結果が変換値のときそれをカウントして最終変換値として出力するカウンタ14とを有する。   The system circuit 10 includes a fixed resistor R1 that generates a control voltage Vc, an AD converter 11 that converts the control voltage Vc from an analog signal into a digital setting signal having a predetermined number of bits, and a plurality of comparison references having a predetermined range. The memory 12 storing the value and the setting signal output from the AD converter 11 are checked against a plurality of comparison reference values stored in the memory 12, and the comparator 13 outputs the converted value or command as the determination result. And a counter 14 that counts and outputs a final converted value when the determination result of the comparator 13 is a converted value.

コントロール装置20は、1入力2出力型のスイッチS1,S2と、スイッチS1の接点bに接続された可変抵抗R3と、スイッチS2の接点aに接続された固定抵抗R2と、スイッチS2の接点bに接続された可変抵抗R4とを備える。抵抗R2の抵抗値は抵抗R1の抵抗値と同じである。   The control device 20 includes one-input two-output switches S1 and S2, a variable resistor R3 connected to the contact b of the switch S1, a fixed resistor R2 connected to the contact a of the switch S2, and a contact b of the switch S2. And a variable resistor R4 connected to the. The resistance value of the resistor R2 is the same as the resistance value of the resistor R1.

2線ケーブル30は、システム回路10内の電圧VDDの電源をコントロール装置20のスイッチS1,S2の接点cに給電するたケーブル31と、システム回路10の抵抗R1の非接地側とコントロール装置20の抵抗R2,R3,R4の共通接続点との間を接続するケーブル32とを有する。   The two-wire cable 30 includes a cable 31 for supplying the power supply of the voltage VDD in the system circuit 10 to the contact c of the switches S1 and S2 of the control device 20, the non-grounded side of the resistor R1 of the system circuit 10, and the control device 20 And a cable 32 connecting the common connection points of the resistors R2, R3, and R4.

さて、システム回路10のメモリ12に格納する複数の比較基準値として、電源電圧をVDDとするとき、0、0.25VDD、0.5VDD、0.75VDD、VDDの5種類に対応したデータを使用する。比較器13は、制御電圧Vcに対応してAD変換器11から出力する設定信号が、その5種類の比較基準値の何れに該当するかを照合によって判定する。   As the plurality of comparison reference values stored in the memory 12 of the system circuit 10, data corresponding to five types of 0, 0.25 VDD, 0.5 VDD, 0.75 VDD, and VDD are used when the power supply voltage is VDD. To do. The comparator 13 determines by collation which of the five types of comparison reference values the setting signal output from the AD converter 11 corresponding to the control voltage Vc corresponds to.

図2に制御内容を示す。(1)スイッチS1,S2を接点aにそれぞれ切り替えると、内部電源の電圧VDDが、抵抗R1,R2により分圧されて、制御電圧Vcが0.5VDDに設定される。この電圧Vcに対応する設定信号が、比較器13においてメモリ12に格納された複数の比較基準値と照合され、0.5VDDに対応する比較基準値に該当することで、その「判定結果」は現状維持となる。つまり、コマンド、変換値ともに現状から変化せず、PWM信号のデューティは変化しない通常の状態となる。このように、通常ではスイッチS1,S2が接点aにそれぞれ切り替えられた状態にある。   FIG. 2 shows the control contents. (1) When the switches S1 and S2 are respectively switched to the contact point a, the voltage VDD of the internal power supply is divided by the resistors R1 and R2, and the control voltage Vc is set to 0.5 VDD. The setting signal corresponding to the voltage Vc is collated with a plurality of comparison reference values stored in the memory 12 in the comparator 13 and corresponds to the comparison reference value corresponding to 0.5 VDD. The current status will be maintained. That is, neither the command nor the conversion value changes from the current state, and the duty of the PWM signal is in a normal state where it does not change. As described above, the switches S1 and S2 are normally switched to the contact a.

(2)スイッチS1を接点bに、スイッチS2を接点aにそれぞれ切り替え、且つ可変抵抗R3の値を0.5R2の値に設定すると、システム回路10の内部電源の電圧VDDが、抵抗R3と抵抗R2の並列接続抵抗値と抵抗R1により分圧されて、制御電圧Vcが0.75VDDに設定される。この電圧Vcに対応する設定信号が、比較器13においてメモリ12に格納された複数の比較基準値と照合され、0.75VDDに対応する比較基準値に該当することで、その「判定結果」はアップとなる。このときは、カウンタ14が1だけアップカウントされて、変換値が1%だけアップする。これによって、例えば、現在のPWM信号のデューティが80%のときは、81%のデューティに増大する。   (2) When the switch S1 is switched to the contact b, the switch S2 is switched to the contact a, and the value of the variable resistor R3 is set to 0.5R2, the voltage VDD of the internal power supply of the system circuit 10 is changed between the resistor R3 and the resistor R3. The control voltage Vc is set to 0.75 VDD by dividing by the parallel connection resistance value of R2 and the resistance R1. The setting signal corresponding to the voltage Vc is collated with a plurality of comparison reference values stored in the memory 12 in the comparator 13 and corresponds to the comparison reference value corresponding to 0.75 VDD. It will be up. At this time, the counter 14 is incremented by 1, and the conversion value is incremented by 1%. Thereby, for example, when the duty of the current PWM signal is 80%, the duty is increased to 81%.

そして、この後、スイッチS2を接点aに切り替えたままでスイッチS1を接点aに復帰させると、上記の(1)の状態に戻って制御電圧Vcが0.5VDDとなるので、この後に再度スイッチS1を接点bに切り替えると、再度制御電圧Vcが0.75VDDに設定される。このため、「判定結果」は再度アップとなり、PWM信号のデューティが81%から82%にさらに1%だけアップする。以下、同様の動作を繰り返すことにより、変換値が1づつアップしてPWM信号のデューティが1%づつアップする。   After that, when the switch S1 is returned to the contact a while the switch S2 is switched to the contact a, the state returns to the state (1) and the control voltage Vc becomes 0.5 VDD. Is switched to the contact b, the control voltage Vc is set to 0.75 VDD again. For this reason, the “determination result” is increased again, and the duty of the PWM signal is further increased by 1% from 81% to 82%. Thereafter, by repeating the same operation, the conversion value is increased by 1 and the duty of the PWM signal is increased by 1%.

(3)スイッチS1を接点aに、スイッチS2を接点bにそれぞれ切り替え、且つ可変抵抗R4の値を3R1の値に設定すると、システム回路10の内部電源の電圧VDDが、抵抗R4と抵抗R1により分圧されて、制御電圧Vcが0.25VDDに設定される。この電圧Vcに対応する設定信号が、比較器13においてメモリ12に格納された複数の基準値と照合され、0.25VDDに対応する比較基準値に該当することで、その「判定結果」はダウンとなる。このときは、カウンタ14が1だけダウンカウントされて、変換値が1%だけダウンする。これによって、例えば、現在のPWM信号のデューティが80%のときは、79%のデューティにダウンする。   (3) When the switch S1 is switched to the contact a, the switch S2 is switched to the contact b, and the value of the variable resistor R4 is set to the value 3R1, the voltage VDD of the internal power supply of the system circuit 10 is changed by the resistor R4 and the resistor R1. The voltage is divided to set the control voltage Vc to 0.25 VDD. The setting signal corresponding to the voltage Vc is compared with a plurality of reference values stored in the memory 12 in the comparator 13 and corresponds to the comparison reference value corresponding to 0.25 VDD, so that the “judgment result” is reduced. It becomes. At this time, the counter 14 is counted down by 1, and the conversion value is decreased by 1%. Thereby, for example, when the duty of the current PWM signal is 80%, the duty is reduced to 79%.

そして、この後、スイッチS1を接点aに切り替えたままでスイッチS2を接点aに復帰させると、上記の(1)の状態に戻って制御電圧Vcが0.5VDDとなるので、この後に再度スイッチS2を接点bに切り替えると、再度制御電圧Vcが0.25VDDに設定される。このため、「判定結果」は再度ダウンとなり、PWM信号のデューティが79%から78%に1%だけダウンする。以下、同様の動作を繰り返すことにより、変換値が1づつダウンしてPWM信号のデューティが1%づつダウンする。   Thereafter, when the switch S2 is returned to the contact a while the switch S1 is switched to the contact a, the state returns to the state (1) and the control voltage Vc becomes 0.5 VDD. Is switched to the contact b, the control voltage Vc is set to 0.25 VDD again. For this reason, the “determination result” is again decreased, and the duty of the PWM signal is decreased by 1% from 79% to 78%. Thereafter, by repeating the same operation, the conversion value is decreased by 1 and the duty of the PWM signal is decreased by 1%.

(4)スイッチS1を接点bに、スイッチS2を接点aにそれぞれ切り替え、且つ可変抵抗R3の抵抗値を0の値に設定すると、システム回路10の内部電源の電圧VDDが、抵抗R1に直接印加して、制御電圧VcがVDDに設定される。この電圧Vcに対応する設定信号が、比較器13においてメモリ12に格納された複数の基準値と照合され、VDDに対応する比較基準値に該当することで、その「判定結果」はコマンド1となる。このときは、例えば、このコマンド1にPWM信号のデューティを100%に設定するコマンドを付与しておくと、現在のPWM信号のデューティがどのような値であっても、そのデューティが直ちに100%に変更され、LEDは最大輝度となる。   (4) When the switch S1 is switched to the contact b and the switch S2 is switched to the contact a, and the resistance value of the variable resistor R3 is set to 0, the voltage VDD of the internal power supply of the system circuit 10 is directly applied to the resistor R1. Thus, the control voltage Vc is set to VDD. The setting signal corresponding to the voltage Vc is compared with a plurality of reference values stored in the memory 12 in the comparator 13 and corresponds to the comparison reference value corresponding to VDD. Become. At this time, for example, if a command for setting the duty of the PWM signal to 100% is given to the command 1, whatever the value of the duty of the current PWM signal is, the duty immediately becomes 100%. The LED has the maximum brightness.

そして、この後、例えば、スイッチS1を接点aに切り替え、スイッチS2を接点bにそれぞれ切り替え、且つ可変抵抗R4の抵抗値を3R1に切り替えると、上記の(3)のように電圧Vcが0.25VDDに設定される。このため、その「判定結果」はダウンとなり、PMWのデューティが100%から99%に1%だけダウンする。   Thereafter, for example, when the switch S1 is switched to the contact point a, the switch S2 is switched to the contact point b, and the resistance value of the variable resistor R4 is switched to 3R1, the voltage Vc becomes 0. Set to 25 VDD. Therefore, the “determination result” is down, and the PMW duty is reduced by 1% from 100% to 99%.

(5)スイッチS1を接点aに、スイッチS2を接点bにそれぞれ切り替え、且つ可変抵抗R4の抵抗値を最大値(例えば∞、R4>>R1)に設定すると、システム回路10の内部電源の電圧VDDが、抵抗R4に直接印加して、制御電圧Vcが0に設定される。この電圧Vcに対応する設定信号が、比較器13においてメモリ12に格納された複数の基準値と照合され、0に対応する比較基準値に該当することで、その「判定結果」はコマンド2となる。このときは、例えば、このコマンド2にPWM信号のデューティを0%に設定するコマンドを付与しておくと、現在のPWM信号のデューティがどのような値であっても、そのデューティが直ちに0%に変更され、LEDは消灯する。   (5) When the switch S1 is switched to the contact a and the switch S2 is switched to the contact b, and the resistance value of the variable resistor R4 is set to the maximum value (for example, ∞, R4 >> R1), the voltage of the internal power supply of the system circuit 10 VDD is directly applied to the resistor R4, and the control voltage Vc is set to zero. The setting signal corresponding to the voltage Vc is compared with a plurality of reference values stored in the memory 12 in the comparator 13 and corresponds to the comparison reference value corresponding to 0, so that the “determination result” is the command 2 Become. In this case, for example, if a command for setting the duty of the PWM signal to 0% is given to the command 2, whatever the value of the duty of the current PWM signal is immediately 0% The LED is turned off.

そして、この後、例えば、スイッチS1を接点bに切り替え、スイッチS2を接点aにそれぞれ切り替え、且つ可変抵抗R3の抵抗値を0.5R2に切り替えると、上記の(2)のように電圧Vcが0.75VDDに設定される。このため、比較器13の「判定」はアップとなり、PMWのデューティが0%から1%にアップする。   Then, for example, when the switch S1 is switched to the contact b, the switch S2 is switched to the contact a, and the resistance value of the variable resistor R3 is switched to 0.5R2, the voltage Vc is changed as shown in (2) above. Set to 0.75 VDD. For this reason, the “determination” of the comparator 13 is up, and the duty of the PMW is increased from 0% to 1%.

なお、以上説明した例では、「判定結果」がアップになるときの比較基準値を、0.75VDDに対応する値が含まれる範囲の値としたが、この比較基準値は0.5VDD<Vc<VDDの範囲のいずれかに対応すればよい。また、以上説明した例では、「判定結果」がダウンになるときの比較基準値を、0.25VDDに対応する値が含まれる範囲の値としたが、この比較基準値は0<Vc<0.5VDDの範囲のいずれかに対応すればよい。   In the example described above, the comparison reference value when the “determination result” is up is set to a value in a range including a value corresponding to 0.75 VDD. The comparison reference value is 0.5VDD <Vc. Any one of the ranges of <VDD may be supported. In the example described above, the comparison reference value when the “judgment result” is down is a value in a range including a value corresponding to 0.25VDD. The comparison reference value is 0 <Vc <0. Any one of the ranges of .5VDD may be supported.

さらに、アップとダウンは逆であってもよい。つまり、「判定結果」がダウンになるときの比較基準値を0.5VDD<Vc<VDDの範囲のいずれかに対応する値を含む範囲の値に設定し、「判定結果」がアップになるときの比較基準値を0<Vc<0.5VDDの範囲のいずれかに対応する値を含む範囲の値に設定してもよい。   Furthermore, up and down may be reversed. That is, when the comparison reference value when the “judgment result” is down is set to a value in a range including a value corresponding to one of the ranges of 0.5VDD <Vc <VDD, and the “judgment result” is up The comparison reference value may be set to a value in a range including a value corresponding to one of the ranges of 0 <Vc <0.5VDD.

さらに、以上ではコマンドを、電圧VcがVDDのコマンド1、電圧Vcが0のコマンド2の2個としたが、コントロール装置20の可変抵抗R3,R4の抵抗値を上記した値と異なる値に適宜設定することで、上記したアップ(=0.75VDD)、ダウン(=0.25VDD)、現状維持(=0.5VDD)、コマンド1(=VDD)、コマンド2(=0)のいずれとも重ならない電圧範囲に制御電圧Vcが得られるようにすれば、3個以上のコマンドを設定することができる。これにより、例えば消灯や最大輝度の他に、任意の複数の輝度を設定することができる。   Further, in the above description, the command is two commands, ie, the command 1 with the voltage Vc of VDD and the command 2 with the voltage Vc of 0, but the resistance values of the variable resistors R3 and R4 of the control device 20 are appropriately set to values different from the above values. By setting, it does not overlap any of the above-mentioned up (= 0.75 VDD), down (= 0.25 VDD), current status maintenance (= 0.5 VDD), command 1 (= VDD), command 2 (= 0) If the control voltage Vc is obtained in the voltage range, three or more commands can be set. As a result, for example, a plurality of arbitrary luminances can be set in addition to turning off and maximum luminance.

上記本実施例のLED制御装置によれば、2線式のケーブル30を使用してシステム回路10の内部電源の電圧VDDをコントロール装置20に給電するので、コントロール装置20に内部電源が不要となって、コントロール装置20の回路規模を小さくすることができる。なお、コントロール装置20に内部電源を備える構成としてもよい。   According to the LED control device of the present embodiment, since the voltage VDD of the internal power supply of the system circuit 10 is supplied to the control device 20 using the two-wire cable 30, no internal power supply is required for the control device 20. Thus, the circuit scale of the control device 20 can be reduced. Note that the control device 20 may include an internal power supply.

また、メモリ12に格納される複数の比較基準値がそれぞれ所定の範囲をもつので、制御電圧Vcに対応する設定信号が当該の比較基準値の範囲内に含まれれば対応する判定結果を出せるため、コントロール装置20の操作によって生成される制御電圧Vcにフラツキやノイズが発生しても、誤った判定が行われることを防止できる。つまり、ノイズ耐量が大きくなる。   Further, since the plurality of comparison reference values stored in the memory 12 each have a predetermined range, if the setting signal corresponding to the control voltage Vc is included in the range of the comparison reference value, a corresponding determination result can be output. Even if a fluctuation or noise occurs in the control voltage Vc generated by the operation of the control device 20, it is possible to prevent erroneous determination. That is, the noise tolerance is increased.

さらに、内部電源の電圧VDDの範囲を複数に区分けして利用することによって、設定信号の種類を多くすることができるので、デューティをアップしたりダウンしたりするLEDの通常のPWM調光制御の他に、LEDを消灯したり、最大輝度に設定したり、別の特定の輝度に設定する特別な操作を行うことも可能となる。   Furthermore, since the range of the voltage VDD of the internal power supply is divided into a plurality and used, the types of setting signals can be increased, so that the normal PWM dimming control of the LED that increases or decreases the duty can be performed. In addition, it is possible to perform a special operation for turning off the LED, setting the maximum brightness, or setting another specific brightness.

10,10A:システム回路、11:AD変換器、12:メモリ、13:比較器、14:カウンタ
20,20A,20B:コントロール装置、21:操作部
30:2線式ケーブル,30A:単線ケーブル、31、32:ケーブル
10, 10A: System circuit, 11: AD converter, 12: Memory, 13: Comparator, 14: Counter 20, 20A, 20B: Control device, 21: Operation unit 30: Two-wire cable, 30A: Single wire cable, 31, 32: Cable

Claims (5)

LEDに対して所定のデューティのPWM信号を出力して前記LEDの輝度を設定するLED制御装置において、
内部電源、分圧用の第1の抵抗、及び該第1の抵抗に発生した制御電圧に対応する設定信号を複数の比較基準値と照合して得られた判定結果に基づき前記デューティを決めるための指令を出力する比較手段を有するシステム回路と、
抵抗切替手段を備えたコントロール装置と、を備え、
前記コントロール装置の前記抵抗切替手段の出力側を前記システム回路の前記第1の抵抗に接続し、前記第1の抵抗に発生する前記制御電圧に対応する前記設定信号を前記複数の比較基準値と照合する際、
前記複数の前記比較基準値は、それぞれ所定の範囲をもつことを特徴とするLED制御装置。
In an LED control device for setting a luminance of the LED by outputting a PWM signal having a predetermined duty to the LED,
For determining the duty based on a determination result obtained by comparing a setting signal corresponding to an internal power source, a first resistor for voltage division, and a control voltage generated in the first resistor with a plurality of comparison reference values A system circuit having comparison means for outputting a command;
A control device comprising a resistance switching means,
An output side of the resistance switching unit of the control device is connected to the first resistor of the system circuit, and the setting signal corresponding to the control voltage generated in the first resistor is connected to the plurality of comparison reference values. When matching
The plurality of comparison reference values each have a predetermined range.
請求項1に記載のLED制御装置において、
前記システム回路は、前記コントロール装置の前記抵抗切替手段で設定された抵抗値と前記第1の抵抗の抵抗値とによって得られる前記内部電源の電圧を分圧した制御電圧に対応して、前記設定信号を生成することを特徴とするLED制御装置。
The LED control device according to claim 1,
The system circuit corresponds to the control voltage obtained by dividing the voltage of the internal power source obtained by the resistance value set by the resistance switching unit of the control device and the resistance value of the first resistor. An LED control device that generates a signal.
請求項1又は2に記載のLED制御装置において、
前記システム回路の前記比較手段は、前記設定信号が第1の値のとき前記デューティの現状維持の指令を、前記設定信号が第2の値のとき前記デューティを1ステップだけアップする指令を、前記設定信号が第3の値のとき前記デューティを1ステップだけダウンする指令を、前記設定信号が第4の値のとき前記デューティを第1の特定値に設定する指令を、前記設定信号が第5の値のとき前記デューティを第2の特定値に設定する指令を、それぞれ判定結果として出力することを特徴とするLED制御装置。
The LED control device according to claim 1 or 2,
The comparing means of the system circuit provides a command for maintaining the current state of the duty when the setting signal is a first value, and a command for increasing the duty by one step when the setting signal is a second value, When the setting signal is a third value, a command to decrease the duty by one step, when the setting signal is a fourth value, a command to set the duty to the first specific value, the setting signal is the fifth An LED control device that outputs a command to set the duty to a second specific value as a determination result when the value is
請求項3に記載のLED制御装置において、
前記システム回路はカウンタを備え、該カウンタは、前記比較手段の判定結果が前記1ステップだけアップする指令のときはカウント値を1だけカウントアップし、前記比較手段の判定結果が前記1ステップだけダウンする指令のときはカウント値を1だけカウントダウンし、前記カウンタのカウント値が前記PWM信号のデューティとなるようにしたことを特徴とするLED制御装置。
The LED control device according to claim 3,
The system circuit includes a counter, and the counter increments the count value by 1 when the determination result of the comparison unit is an instruction to increase by one step, and the determination result of the comparison unit decreases by the one step. The LED control device according to claim 1, wherein the count value is counted down by 1 when the command is issued, and the count value of the counter becomes the duty of the PWM signal.
請求項3又は4に記載のLED制御装置において、
前記システム回路の前記第1の抵抗は固定抵抗であり、前記コントロール装置の前記抵抗切替手段は固定抵抗である第2の抵抗、可変抵抗である第3及び第4の抵抗を備え、
前記コントロール装置の前記抵抗切替手段において、前記第2の抵抗を選択することで、前記設定信号が前記第1の値になるように切り替えられ、
前記コントロール装置の前記抵抗切替手段において、前記第2及び第3の抵抗を選択し且つ前記第3の抵抗を第1の抵抗値に調整することで、前記設定信号が前記第2の値になるように切り替えられ、
前記コントロール装置の前記抵抗切替手段において、前記第4の抵抗を選択して第3の抵抗値に調整することで、前記設定信号が前記第3の値になるように切り替えられ、
前記コントロール装置の前記抵抗切替手段において、前記第2の抵抗及び第4の抵抗を選択し且つ前記第4の抵抗を第4の抵抗値に調整することで、前記設定信号が前記第4の値となるように切り替えられ、
前記コントロール装置の前記抵抗切替手段において、前記第4の抵抗を選択して第5の抵抗値に調整することで、前記設定信号が前記第5の値になるように切り替えられる、
ことを特徴とするLED制御装置。
The LED control device according to claim 3 or 4,
The first resistor of the system circuit is a fixed resistor, and the resistance switching means of the control device includes a second resistor that is a fixed resistor, and third and fourth resistors that are variable resistors,
In the resistance switching means of the control device, the setting signal is switched to be the first value by selecting the second resistance,
In the resistance switching means of the control device, the setting signal becomes the second value by selecting the second and third resistors and adjusting the third resistance to the first resistance value. Switched to
In the resistance switching means of the control device, the setting signal is switched to become the third value by selecting the fourth resistance and adjusting to the third resistance value,
In the resistance switching means of the control device, the setting signal is set to the fourth value by selecting the second resistance and the fourth resistance and adjusting the fourth resistance to a fourth resistance value. Switched to be
In the resistance switching means of the control device, the setting signal is switched to become the fifth value by selecting the fourth resistance and adjusting it to the fifth resistance value.
An LED control device.
JP2015224545A 2015-11-17 2015-11-17 LED controller Active JP6563315B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015224545A JP6563315B2 (en) 2015-11-17 2015-11-17 LED controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015224545A JP6563315B2 (en) 2015-11-17 2015-11-17 LED controller

Publications (2)

Publication Number Publication Date
JP2017092404A JP2017092404A (en) 2017-05-25
JP6563315B2 true JP6563315B2 (en) 2019-08-21

Family

ID=58769013

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015224545A Active JP6563315B2 (en) 2015-11-17 2015-11-17 LED controller

Country Status (1)

Country Link
JP (1) JP6563315B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0525696U (en) * 1991-09-11 1993-04-02 日本精機株式会社 Dimmer
JPH08222377A (en) * 1995-02-13 1996-08-30 Yazaki Corp Dimmer
JP5189261B2 (en) * 2006-08-28 2013-04-24 矢崎総業株式会社 LED drive device
JP5169858B2 (en) * 2009-01-16 2013-03-27 株式会社デンソー LED drive device for vehicle
JP5645200B2 (en) * 2010-04-26 2014-12-24 シャープ株式会社 Lighting device
JP5666268B2 (en) * 2010-11-26 2015-02-12 ルネサスエレクトロニクス株式会社 Semiconductor integrated circuit and operation method thereof
JP2013258003A (en) * 2012-06-12 2013-12-26 Koito Mfg Co Ltd Semiconductor light source control device
CN104936332A (en) * 2014-03-20 2015-09-23 东林科技股份有限公司 Method for driving light emitting diode chip

Also Published As

Publication number Publication date
JP2017092404A (en) 2017-05-25

Similar Documents

Publication Publication Date Title
JP5334372B2 (en) Light emitting device
US8552710B2 (en) Calibration apparatus and method thereof, multi-channel driving circuit and current balancing method
US10439390B1 (en) Multi-port power supply apparatus and operation method thereof
US8853960B2 (en) Dimming control circuit and method for generating analog and digital signals according to one analog control signal
US9241386B2 (en) Lighting apparatus and illumination system using the same
AU2015331860A1 (en) Systems for setting the address of a module
US9473097B2 (en) Resistive ladder
CN107667570B (en) vehicle lighting
CN105189206A (en) Vehicle power supply control device
US9713218B2 (en) Dimming control circuit and dimming control method thereof
JP6563315B2 (en) LED controller
KR102076824B1 (en) Protection Circuit, Circuit Protection Method Using the same and Display Device
EP3095301B1 (en) A circuit arrangement for operating led strings
KR20160074422A (en) Adaptive direct current (dc) to dc (dc-to-dc) light emitting diode (led) driver for dynamic loads
KR101416470B1 (en) Control circuit of a rear combination lamp for vehicle
JP6511322B2 (en) LED drive circuit
CN113285600A (en) Voltage self-adaptation circuit and PLC controller
JP4150009B2 (en) Standby voltage setting circuit, standby voltage setting method, power supply apparatus, power supply control method, and power supply system
JP7812315B2 (en) Power System
US12484127B2 (en) Lighting device
KR20250019473A (en) Power control device
JP6579479B2 (en) Input/Output Modules
US9772637B2 (en) Voltage regulation circuits and power supply devices using the same
JP6581883B2 (en) Ship lighting device
JP7006866B2 (en) LED drive circuit

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20180626

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181002

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

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190717

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190724

R150 Certificate of patent or registration of utility model

Ref document number: 6563315

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250