LIGHTING CONTROL DEVICE, LIGHTING DEVICE, AND VEHICLE
20230164892 · 2023-05-25
Assignee
Inventors
Cpc classification
H05B45/14
ELECTRICITY
B60Q2300/05
PERFORMING OPERATIONS; TRANSPORTING
International classification
Abstract
A lighting control device switches an input voltage to generate an output voltage and supplies a driving current based on the output voltage to a lighting unit. A raw control signal is generated to specify a lighting period and an extinction period alternately, and a corrected control signal is generated by correcting the raw control signal based on the current through the lighting unit. A switching controller performs the switching of the input voltage during the lighting period specified by the corrected control signal and suspends the switching of the input voltage during the extinction period specified by the corrected control signal.
Claims
1. A lighting control device that generates an output voltage by switching of an input voltage and that supplies a driving current based on the output voltage to a lighting unit to light the lighting unit, comprising: a control signal generator configured to generate as a raw control signal a control signal that specifies alternately a lighting period in which to keep the lighting unit lit and a extinction period in which to keep the lighting unit extinguished; a lighting unit current sensor configured to sense a current flowing through the lighting unit; a control signal corrector configured to generate a corrected control signal by correcting, based on a current state signal based on a result of sensing by the lighting unit current sensor, the raw control signal in a direction in which the lighting period is extended; and a switching controller configured to perform the switching of the input voltage during the lighting period specified by the corrected control signal and suspend the switching of the input voltage during the extinction period specified by the corrected control signal.
2. The lighting control device according to claim 1, wherein in each of the raw control signal and the corrected control signal, the lighting period and the extinction period are specified alternately at a predetermined cycle, and in each cycle, the lighting period in the corrected control signal is extended compared with the lighting period in the raw control signal by correction by the control signal corrector.
3. The lighting control device according to claim 1, wherein the control signal corrector is configured to generate the corrected control signal by, while keeping a start timing of the lighting period same before and after correction, correcting the raw control signal in the direction in which the lighting period is extended by a time required, after a start of the lighting period, for the current flowing through the lighting unit to reach a predetermined judgement current.
4. The lighting control device according to claim 3, further comprising a current state signal generator configured to generate the current state signal, wherein the current state signal generator is configured such that, after a start of the switching of the input voltage, when the output voltage has risen until the current flowing through the lighting unit reaches the judgement current, the current state signal generator switches the current state signal from a first state to a second state, and the control signal corrector is configured to correct the raw control signal in the direction in which the lighting period is extended by the time after a start of the lighting period until the current state signal turns from the first state to the second state.
5. The lighting control device according to claim 4, wherein the control signal corrector is configured to perform a first measurement process to measure a first time after the start of the lighting period until the current state signal turns from the first state to the second state, perform a second measurement process to measure a time lapse after a timing of a transition from the lighting period to the extinction period in the raw control signal, and switch a period specified by the current state signal from the lighting period to the extinction period when, after the first measurement process, the time lapse in the second measurement process reaches the first time.
6. The lighting control device according to claim 5, wherein the control signal corrector includes an up/down counter and is configured to perform the Filed first and second measurement processes using the up/down counter.
7. The lighting control device according to claim 6, wherein the up/down counter is configured such that after the start of the lighting period until the current state signal turns from the first state to the second state, synchronously with a predetermined clock signal, the up/down counter changes a count value, starting at a predetermined initial value, in a first direction and then, after the timing of the transition from the lighting period to the extinction period in the raw control signal until the count value returns to the initial value, the up/down counter changes, synchronously with the clock signal, the count value in a second direction opposite to the first direction, the first measurement process is achieved by the count value being changed in the first direction and the second measurement process is achieved by the count value being changed in the second direction, and the control signal corrector is configured to switch the period specified by the corrected control signal from the lighting period to the extinction period when the count value has returned to the initial value in the second measurement process.
8. The lighting control device according to claim 1, wherein the lighting unit includes one or more light-emitting elements that emit light by being supplied with a current.
9. A lighting device, comprising: the lighting control device according to claim 1; and a lighting unit configured to be supplied with a driving current under control of the lighting control device.
10. A vehicle, comprising: the lighting device according to claim 9 as a vehicle-mounted lighting apparatus; a voltage source configured to supply the lighting device with an input voltage; and a body in which the lighting apparatus is installed.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
DESCRIPTION OF EMBODIMENTS
[0039] Hereinafter, examples of implementing the present disclosure will be described specifically with reference to the accompanying drawings. Among the diagrams referred to in the course, the same parts are identified by the same reference signs, and in principle no overlapping description of the same parts will be repeated. In the present description, for the sake of simplicity, symbols and reference signs referring to information, signals, physical quantities, elements, parts, and the like are occasionally used with omission or abbreviation of the names of the information, signals, physical quantities, elements, parts, and the like corresponding to those symbols and reference signs. For example, the control signal described later and identified by the reference sign “CNT1” (see
[0040] First, some of the terms used to describe embodiments of the present disclosure will be defined. “Level” denotes the level of a potential, and for any signal or voltage, “high level” has a higher potential than “low level”. For any signal or voltage, its being at high level means its level being equal to high level, and its being at low level means its level being equal to low level. A level of a signal is occasionally referred to as a signal level, and a level of a voltage is occasionally referred to as a voltage level.
[0041] For any signal or voltage, a transition from low level to high level is termed an up edge, and the timing of a transition from low level to high level is termed an up-edge timing. Likewise, for any signal or voltage, a transition from high level to low level is termed a down edge, and the timing of a transition from high level to low level is termed a down-edge timing.
[0042] For any transistor configured as an FET (field-effect transistor), which can be a MOSFET, “on state” refers to a state where the drain-source channel of the transistor is conducting, and “off state” refers to a state where the drain-source channel of the transistor is not conducting (cut off). Similar definitions apply to any transistor that is not classified as an FET. Unless otherwise stated, any MOSFET can be understood to be an enhancement MOSFET. “MOSFET” is an abbreviation of “metal-oxide-semiconductor field-effect transistor”.
[0043] Any switch can be configured with one or more FETs (field-effect transistors). When a given switch is in the on state, the switch conducts across its terminals; when a given switch is in the off state, the switch does not conduct across its terminals.
[0044] For any transistor or switch, its being in the on or off state is occasionally expressed simply as its being on or off respectively. For any transistor or switch, its switching from the off state to the on state is expressed as a turning-on, and its switching from the on state to the off state is expressed as a turning-off. For any transistor or switch, a period in which it is in the on state is occasionally referred to as an on period, and a period in which it is in the off state is occasionally referred to as an off period. For any signal that takes as its signal level high level or low level, a period in which the signal is at high level is referred to as a high-level period and a period in which the signal is at low level is referred to as a low-level period. The same applies to any voltage that takes as its voltage level high level or low level.
First Embodiment
[0045] A first embodiment of the present disclosure will be described.
[0046] The lighting control device 10 is a control device that operates by being supplied with a positive direct-current input voltage V.sub.IN and that switches the state of light-emitting elements constituting the lighting unit 20 between a lit state and an extinguished state. The lighting control device 10 is an electronic component (semiconductor device) as shown in
[0047] The lighting unit 20 is composed of one or more light-emitting elements that emit light by being supplied with a current. The lighting unit 20 is composed of a plurality of light-emitting diodes connected in series. The lighting unit 20 is provided between terminals 20P and 20N. In
[0048] The lighting device 1 includes a ground GND1 as one electrically conductive part at a reference potential (i.e., a reference potential part), and also includes a ground GND2 as another electrically conductive part at a reference potential (i.e., a reference potential part). While there can be timings at which the potentials of the grounds GND1 and GND2 are equal, so long as the positive input voltage V.sub.IN is fed to the lighting device 1 and the switching driving of the output transistor M1 is performed, the grounds GND1 and GND2 have different potentials.
[0049] In the lighting device 1, the input voltage V.sub.IN applied to an input terminal IN can be bucked (stepped down) to generate an output voltage V.sub.OUT at an output terminal OUT. The input voltage V.sub.IN is a positive direct-current voltage with reference to the ground GND1. That is, the input voltage V.sub.IN is applied to the input terminal IN with reference to the potential of the ground GND1. In other words, the input voltage V.sub.IN is applied between the ground GND1 and the input terminal IN with the potential of the ground GND1 on the negative side. On the other hand, the output voltage V.sub.OUT is a positive direct-current voltage with reference to the ground GND2. That is, the output voltage V.sub.OUT is applied to the output terminal OUT with reference to the potential of the ground GND2. In other words, the output voltage V.sub.OUT is applied between the ground GND2 and the output terminal OUT with the potential of the ground GND2 on the negative side. In the lighting device 1, the output terminal OUT is connected to the ground GND1.
[0050] A description will now be given of the interconnection between the discrete components and the lighting control device 10 or the lighting unit 20, all provided in the lighting device 1.
[0051] One terminal of the resistor R1 is connected to the input terminal IN and also to the terminal CSH. The other terminal of the resistor R1 is connected to the drain of the output transistor M1 and also to the terminal CSL. The gate of the output transistor M1 is connected to the terminal GH.
[0052] The source of the output transistor M1 is connected to a node NDsw and also to the terminal SW. To the node NDsw, one terminal of the inductor L1 and the cathode of the diode D1 are both connected, and the node NDsw is connected also via the capacitor C2 to the terminal BOOT. The other terminal of the inductor L1 is connected to the output terminal OUT, and is also connected via the capacitor C1 to the ground GND2. The anode of the diode D1 is connected to the ground GND2. The terminals PGND and GND_TM are connected to the ground GND2. The terminal 20P is connected to the output terminal OUT, and the terminal 20N is connected via the resistor R2 to the ground GND2. The connection node between the resistor R2 and the terminal 20N is connected to the terminal SNSP, and the connection node between the resistor R2 and the ground GND2 is connected to the terminal SNSN. The circuits within the lighting control device 10 operate with reference to the potential at the terminal GND_TM (i.e., the potential of the ground GND2).
[0053] The output transistor M1, the diode D1, the inductor L1, and the capacitor C1 constitute a DC-DC converter (buck converter) that bucks the input voltage V.sub.IN to generate the output voltage V.sub.OUT. Such blocks that control the switching of the output transistor M1 (i.e., a switching controller 150 and an amplifier 130, which will be described later) are included among the elements constituting the DC-DC converter.
[0054] The terminal IN_TM is connected to the input terminal IN. The terminal VREFA is connected via the capacitor C11 to the ground GND2. The input terminal IN is connected to one terminal of the resistor R11, and the other terminal of the resistor R11 is connected via the resistor R12 to the ground GND1. The connection node between the resistors R11 and R12 is connected to the terminal EN. The terminal VREFB is connected to one terminal of the resistor R13, and the other terminal of the resistor R13 is connected via the resistor R14 to the ground GND2. The connection node between the resistors R13 and R14 is connected to the terminal DSET. The terminal RT is connected via the resistor R15 to the ground GND2. The terminal COMP is connected to one terminal of the resistor R16, and the other terminal of the resistor R16 is connected via the capacitor C12 to the ground GND2.
[0055] In the following description, the current flowing through the inductor L1 will occasionally be referred to as the inductor current and identified by the symbol “I.sub.L”. The inductor current I.sub.L flows from the node NDsw to the output terminal OUT. The current flowing through the lighting unit 20 will occasionally be referred to as the driving current and identified by the symbol “I.sub.LED”. The driving current LED flows from the output terminal OUT to the ground GND2.
[0056] In the present description, the state of the lighting unit 20 or the light-emitting elements where they are not emitting light will be referred to as their being unlit or extinguished. As the contrary term, the state of the lighting unit 20 or the light-emitting elements where they are emitting light will sometimes be referred to as their being lit; for the lighting unit 20 or the light-emitting elements, their emitting light is synonymous with their being lit. Strictly speaking, even when a very low current is flowing through the lighting unit 20 or the light-emitting elements, they can emit light at a very low luminance; in the following description, however, it is assumed that, when a driving current I.sub.LED of a predetermined threshold value or more is flowing in the lighting unit 20 or the light-emitting elements, they are lit (in a lit state) and that, when a driving current I.sub.LED of a predetermined threshold value or more is not flowing in the lighting unit 20 or the light-emitting elements, they are extinguished (in an extinguished state).
[0057] Next, the internal configuration of the lighting control device 10 will be described. The lighting control device 10 includes a control signal generator 110, a control signal corrector 120, an amplifier 130, a comparator 140, a switching controller 150, and blocks identified by the reference signs 171 to 175.
[0058] The control signal generator 110 generates a control signal CNT1 based on a dimming signal DIM fed in via the terminal DSET. In the lighting device 1, the lighting unit 20 is PWM-driven. PWM is short for pulse width modulation. The control signal CNT1 corresponds to a pulse width modulation signal in PWM driving. The control signal CNT1, and also the control signal CNT2 described later, is a binary signal that takes as its signal level either high or low level.
[0059] Referring to
[0060] The control signal CNT1 specifies, within each unit period, a lighting period and an extinction period. The lighting period is a period in which the lighting unit 20 is supposed to be lit; the extinction period is a period in which the lighting unit 20 is supposed to be extinguished. Each unit period comprises a combination of one lighting period and one extinction period, and the control signal CNT1 specifies the lighting period and the extinction period alternately at a cycle corresponding to the reciprocal of the frequency f.sub.PWM. While it is here assumed that the start timing of the unit period coincides with the start timing of the lighting period, a modification is possible where they do not coincide.
[0061] The control signal corrector 120 corrects the control signal CNT1 based on a current state signal SG, which will be described later, and outputs the control signal CNT1 having undergone correction as a control signal CNT2. The control signals CNT1 and CNT2 can be called a raw control signal and a corrected control signal respectively.
[0062] In each unit period, the start timing of the lighting period specified by the control signal CNT1 coincides with the start timing of the lighting period specified by the control signal CNT2. However, in each unit period, the lighting period in the control signal CNT2 is longer than the lighting period in the control signal CNT1. That is, the control signal CNT1 is corrected in a direction in which the lighting period is extended, and thereby the control signal CNT2 is generated.
[0063] In
[0064] Suppose that, in each unit period, the lighting unit 20 is lit for time T.sub.ON1 and is extinguished for time T.sub.OFF1. Then the ratio T.sub.ON1/(T.sub.ON1+T.sub.OFF1) represents the duty of lighting in the lighting unit 20. Suppose that, in each unit period, the lighting unit 20 is lit for time T.sub.ON2 and is extinguished for time T.sub.OFF2. Then the ratio T.sub.ON2/(T.sub.ON2+T.sub.OFF2) represents the duty of lighting in the lighting unit 20.
[0065] The amplifier 130 is an example of a lighting unit current sensor that senses the driving current I.sub.LED that flows through the lighting unit 20. The resistor R2 may be understood to be included among the elements constituting the lighting unit current sensor. Specifically, a voltage proportional to the driving current I.sub.LED appears across the resistor R2 as a voltage drop across it (i.e., the terminal-to-terminal voltage across the resistor R2), and the voltage drop across the resistor R2 is fed via the terminals SNSP and SNSN to the amplifier 130. The amplifier 130 amplifies the signal reflecting the voltage drop across the resistor R2, and outputs the result of the amplification as a voltage signal V.sub.SNS. The voltage signal V.sub.SNS has a voltage value proportional to the driving current I.sub.LED. In the following description, the voltage signal V.sub.SNS will occasionally be referred to also as the sense voltage V.sub.SNS. The sense voltage V.sub.SNS has a potential with reference to the ground GND2, and increases as the driving current I.sub.LED increases.
[0066] The comparator 140 is an example of a current state signal generator. The comparator 140 is fed with the sense voltage V.sub.SNS from the amplifier 130 and, based on the sense voltage V.sub.SNS, generates and outputs a current state signal SG commensurate with the driving current I.sub.LED. Specifically, the non-inverting input terminal of the comparator 140 is fed with the sense voltage V.sub.SNS from the amplifier 130, and the inverting input terminal of the comparator 140 is fed with a predetermined judgment voltage V.sub.LED_SG. The judgment voltage V.sub.LED_SG has a predetermined potential higher than the ground GND2.
[0067] For the driving current I.sub.LED that flows through the lighting unit 20 in the lighting period, a target current I.sub.TG is set (see
[0068]
[0069] The switching controller 150 performs the switching driving of the output transistor M1 during the lighting period specified by the control signal CNT2. Through the switching driving of the output transistor M1, the input voltage V.sub.IN is switched to generate the output voltage V.sub.OUT sufficiently high to light the lighting unit 20. The switching controller 150 suspends the switching driving of the output transistor M1 during the extinction period specified by the control signal CNT2. Suspending the switching driving of the output transistor M1 is equivalent to keeping the output transistor M1 in the off state, and thus to suspending the switching of the input voltage Vin. When the switching driving of the output transistor M1 is suspended, the supply of electric power from the input terminal IN to the output terminal OUT is suspended, and thus the lighting unit 20 is extinguished, though, for a while after a switch from the lighting period to the extinction period, the lighting unit 20 may keep lighting based on the electric charge stored in the capacitor C1.
[0070] In the configuration example shown in
[0071] The slope voltage generator 151 is fed with the voltage drop across the resistor R1 (i.e., the terminal-to-terminal voltage across the resistor R1) via the terminals CSH and CSL, thereby to sense the current flowing through the output transistor M1 (in other words, the inductor current I.sub.L), and generates a slope voltage V.sub.SLP commensurate with the current that flows through the output transistor M1 (in other words, the inductor current I.sub.L) during its on period. The slope voltage V.sub.SLP increases as the voltage drop across the resistor R1 increases.
[0072] The adder 152 adds a predetermined positive voltage V.sub.SFT (e.g., 200 mV) to the voltage V.sub.SNS from the amplifier 130, and outputs the resulting sum voltage (V.sub.SNS+V.sub.SFT).
[0073] The error amplifier 153 is a conductance amplifier. The inverting terminal of the error amplifier 153 is fed with the voltage (V.sub.SNS+V.sub.SFT), and the non-inverting input terminal of the error amplifier 153 is fed with a predetermined positive reference voltage V.sub.REF. The output terminal of the error amplifier 153 is connected to a conductor 157. The error amplifier 153 lets pass, in and out between its output terminal and the conductor 157, a current commensurate with the error between the voltage (V.sub.SNS+V.sub.SFT) and the reference voltage V.sub.REF. The output terminal of the error amplifier 153 is connected via the conductor 157 to the terminal COMP, and an error voltage V.sub.ERR commensurate with the error between the voltage (V.sub.SNS+V.sub.SFT) and the reference voltage V.sub.REF appears on the conductor 157. The resistor R16 and the capacitor C12 compensate the phase of the error voltage V.sub.ERR. The error amplifier 153, when V.sub.SNS V.sub.SFT<V.sub.REF, outputs a current to the conductor 157 so as to raise the error voltage V.sub.ERR and, when V.sub.SNS V.sub.SFT>V.sub.REF, draws in a current from the conductor 157 so as to lower the error voltage V.sub.ERR.
[0074] The oscillator 154 generates and outputs a signal SET of which the signal level changes between low and high levels cyclically. The frequency f.sub.SW of the signal SET corresponds to the switching frequency of the output transistor M1. The frequency f.sub.SW is significantly higher than the frequency f.sub.PWM of the control signals CNT1 and CNT2. For example, whereas the frequency f.sub.PWM is about several hundred hertz, the frequency f.sub.SW is several tens of kilohertz to several hundred kilohertz. The frequency f.sub.SW is set variably according to the resistance value of the resistor R15 connected to the terminal RT, though the frequency f.sub.SW may be a fixed frequency.
[0075] The non-inverting input terminal and the inverting input terminal of the comparator 155 are fed with the error voltage V.sub.ERR and the slope voltage V.sub.SLP respectively. The comparator 155 compares the error voltage V.sub.ERR and the slope voltage V.sub.SLP and outputs a signal RST according to their magnitude relationship. When V.sub.ERR>V.sub.SLP, the signal RST is at high level, and when V.sub.ERR<V.sub.SLP, the signal RST is at low level. When V.sub.ERR=V.sub.SLP, the signal RST is at either high or low level.
[0076] The driver 156 is fed with the signals SET and RST and the control signal CNT2. During the high-level period of the control signal CNT2 (i.e., the lighting period specified by the control signal CNT2), based on the signals SET and RST the driver 156 controls the gate potential of the output transistor M1 and thereby performs the switching driving of the output transistor M1. When the gate potential of the output transistor M1 is at high level, the output transistor M1 is in the on state; when the gate potential of the output transistor M1 is at low level, the output transistor M1 is in the off state. Accordingly, in the switching driving of the output transistor M1, synchronously with an up edge (a transition from low level to high level) in the signal SET, the gate potential of the output transistor M1 is turned from low level to high level and thereby the output transistor M1 is turned on; thereafter, synchronously with a down edge (a transition from high level to low level) in the signal RST, the gate potential of the output transistor M1 is turned from high level to low level and thereby the output transistor M1 is turned off. The signal SET is a rectangular-wave signal of the frequency f.sub.SW, and thus, during the high-level period of the control signal CNT2, the output transistor M1 is subjected to switching driving at the frequency f.sub.SW.
[0077] Through the switching driving of the output transistor M1, the input voltage V.sub.IN is switched so that a voltage with a rectangular waveform appears at the node NDsw. The inductor L1 and the capacitor C1 constitute a rectifying-smoothing circuit that rectifies and smooths the voltage with a rectangular waveform appearing at the node NDsw to generate the output voltage V.sub.OUT.
[0078] According to the reference voltage V.sub.REF fed to the error amplifier 153, the target current I.sub.TG is set, and feedback control is performed such that, during the high-level period of the control signal CNT2, the driving current I.sub.LED is equal to the target current I.sub.TG.
[0079] For the inductor current I.sub.L, a limit current I.sub.OCL is set as an upper-limit current. When, with the output transistor M1 in the on state, the voltage drop across the resistor R1 (i.e., the terminal-to-terminal voltage across the resistor R1) reaches a predetermined voltage that corresponds to the resistance value of the resistor R1 multiplied by the limit current I.sub.OCL, the driver 156 turns off the output transistor M1 regardless of the level of the signal RST. The driver 156 is connected to the terminal GH as well as to the terminals BOOT and SW and, by operating a bootstrap circuit configured to include the capacitor C2, acquires a voltage with which to turn on the output transistor M1.
[0080] During the low-level period of the control signal CNT2 (i.e., the extinction period specified by the control signal CNT2), the driver 156 keeps the gate potential of the output transistor M1 at low level regardless of the signals SET and RST and thereby holds the output transistor M1 in the off state (i.e., suspends the switching driving of the output transistor M1). As a result, the switching of the input voltage V.sub.IN is suspended. During the low-level period of the control signal CNT2, once the output transistor M1 in the off state for certain, the operation of the switching controller 150 may be suspended.
[0081] In the lighting control device 10 in
[0082]
[0083] In
[0084] Immediately before timing T.sub.A1, the control signals CNT1 and CNT2 are at low level, the output transistor M1 is kept in the off state (i.e., the operation of the DC-DC converter is kept off), and the driving current I.sub.LED is substantially zero. At timing T.sub.A1, the control signal CNT1 turns from low level to high level; thus, at timing T.sub.A1, the control signal CNT2 too turns from low level to high level. In response to the control signal CNT2 turning to high level, the switching controller 150 starts to perform the switching driving of the output transistor M1 (i.e., the operation of the DC-DC converter is turned on). As a result, at timing T.sub.A1, the output voltage V.sub.OUT starts to rise.
[0085] When the output voltage V.sub.OUT has risen to a certain point, the driving current I.sub.LED starts to increase; when at timing T.sub.A2 the driving current I.sub.LED reaches the target current I.sub.TG, feedback control acts in a direction to reduce the on duty of the output transistor M1. Through this feedback control, until the control signal CNT2 thereafter turns to low level (until timing T.sub.A4 mentioned later), the driving current I.sub.LED is kept around the target current I.sub.TG and the output voltage V.sub.OUT is kept around a voltage suited to keep I.sub.LED=I.sub.TG. During the rise of the output voltage V.sub.OUT between timings T.sub.A1 and T.sub.A2, the inductor current I.sub.L remains approximately equal to the limit current I.sub.OCL (precisely, as a pulsating current of the frequency f.sub.SW); when the feedback control that tends to reduce the on duty of the output transistor M1 acts, the inductor current I.sub.L becomes lower than the limit current I.sub.OCL under the feedback control.
[0086] After timing T.sub.A2, at timing T.sub.A3, the control signal CNT1 turns from high level to low level; at this timing, the control signal CNT2 is kept at high level. After timing T.sub.A3, at timing T.sub.A4, the control signal CNT2 turns from high level to low level. In response to the control signal CNT2 turning to low level, the switching controller 150 suspends the switching driving of the output transistor M1 (i.e., the operation of the DC-DC converter is turned off). Thus, at timing T.sub.A4, the output voltage V.sub.OUT and the driving current I.sub.LED start to fall. After timing T.sub.A4, owing to the electric charge stored in the capacitor C1, the driving current I.sub.LED flows for a length of time while decreasing until eventually becoming substantially equal to zero. After timing T.sub.A4, the output voltage V.sub.OUT falls to a potential higher than the ground GND2 by a voltage Vf.sub.20. The voltage Vf.sub.20 is the forward voltage across the lighting unit 20 with a minute current (e.g., 1 μA) flowing through it. After timing T.sub.A4, at timing T.sub.A5, the control signals CNT1 and CNT2 turn back to high level. The operation during the unit period starting at timing T.sub.A5 is the same as the operation during the unit period starting at timing TAL
[0087] For the sake of discussion, if after timing T.sub.A4 the control signal CNT2 is kept at low level for a sufficiently long time, the output voltage V.sub.OUT will eventually fall to the potential of the ground GND2. Here, however, it is assumed that the capacitor C1 has a sufficient capacitance to keep the output voltage V.sub.OUT from falling below the voltage Vf.sub.20.
[0088] Let the difference between the output voltage V.sub.OUT between timings T.sub.A2 and T.sub.A4 and the voltage Vf.sub.20 be ΔV.sub.OUT. Then, the time lag between timings T.sub.A1 and T.sub.A2 is given by (C1×ΔV.sub.OUT)/(I.sub.OCL×DUTY.sub.OFF). Here, DUTY.sub.OFF represents the off duty of the output transistor M1 between timings T.sub.A1 and T.sub.A2 (the proportion of the off period of the output transistor M1 in the sum of the on and off periods of the output transistor M1).
[0089] At a particular timing after timing T.sub.A1 but before timing T.sub.A2, the driving current I.sub.LED in the process of rising reaches a predetermined judgment current I.sub.LED_SG. The time from timing T.sub.A1 to that particular timing is referred to as the delay time t.sub.D. The control signal corrector 120 generates the control signal CNT2 such that timing T.sub.A4, at which the control signal CNT2 turns from high level to low level, is delayed by the delay time t.sub.D from timing T.sub.A3, at which the control signal CNT1 turns from high level to low level. That is, the control signal CNT2 is generated by correcting, in each of the cycles recurring at the frequency f.sub.PWM, the control signal CNT1 in a direction in which the lighting period is extended by the time (t.sub.D) after the start of the lighting period (after an up edge in the control signals CNT1 and CNT2) until the driving current I.sub.LED reaches the predetermined judgment current I.sub.LED_SG.
[0090] In this way, the light emission time of the lighting unit 20 becomes substantially equal to the time specified by the control signal CNT1 (the length of the high-level period of the control signal CNT1), and this makes it possible to achieve dimming as set by the dimming signal DIM.
[0091]
[0092] The EXOR circuit 121 has a first input terminal, a second input terminal, and an output terminal, and outputs via the output terminal a signal Sig121. The first and second input terminals of the EXOR circuit 121 are fed with the control signal CNT1 and the current state signal SG respectively. The EXOR circuit 121 outputs a low-level signal Sig121 if the control signal CNT1 and the current state signal SG are both at high level or if the control signal CNT1 and the current state signal SG are both at low level. The EXOR circuit 121 outputs a high-level signal Sig121 if, of the control signal CNT1 and the current state signal SG, one is at high level and the other is at low level.
[0093] The AND circuit 122 has a first input terminal, a second input terminal, and an output terminal, and outputs via the output terminal a signal Sig122. The first and second input terminals of the AND circuit 122 are fed with the signal Sig121 and a clock signal CLK respectively. The clock signal CLK is a rectangular-wave signal of which the signal level changes between low and high levels cyclically, and is generated by a clock signal generator (not shown) incorporated in the lighting control device 10. The clock signal CLK has a frequency f.sub.CLK significantly higher than the frequency f.sub.PWM of the control signals CNT1 and CNT2. For example, whereas the frequency f.sub.PWM is about several hundred hertz, the frequency f.sub.CLK is several tens of kilohertz to several hundred kilohertz. The signal SET generated in the oscillator 154 may be used as the clock signal CLK. The AND circuit 122 outputs a high-level signal Sig122 only if the signal Sig121 and the clock signal CLK are both at high level, and otherwise keeps the signal Sig121 at low level.
[0094] The FF 123 has a set terminal, a reset terminal, and an inverting output terminal, and outputs via the inverting output terminal a signal Sig123. The set terminal and reset terminal of the FF 123 are fed with a signal Sig125 and the control signal CNT1 respectively. The FF 123 holds the logical value “1” if the signal Sig125 is at high level and in addition the control signal CNT1 is at low level, and holds the logical value “0” if the signal Sig125 is at low level and in addition the control signal CNT1 is at high level. The FF 123 does not change the logical value it holds if the signal Sig125 is at low level and in addition the control signal CNT 1 is at low level. When holding the logical value “1”, the FF 123 outputs a low-level signal Sig123 and, when holding the logical value “0”, the FF 123 outputs a high-level signal Sig123. In the configuration in
[0095] The OR circuit 124 has a first input terminal, a second input terminal, and an output terminal, and outputs via the output terminal the control signal CNT2. The first and second input terminals of the OR circuit 124 are fed with the control signal CNT1 and the signal Sig123 respectively. The OR circuit 124 keeps the control signal CNT2 at high level if at least one of the control signal CNT1 and the signal Sig123 is at high level, and keeps the control signal CNT2 at low level only if the control signal CNT1 and the signal Sig123 are both at low level.
[0096] The counter 125 has input terminals 125a, 125b, and 125c and an output terminal 125d. The input terminals 125a, 125b, and 125c are fed with the control signal CNT1, the signal Sig122, and the signal Sig123 respectively, and from the output terminal 125d, the signal Sig125 is output.
[0097] The counter 125 has the function of counting upward or downward a count value VAL.sub.CNT it manages. The count value VAL.sub.CNT has an initial value of zero.
[0098] In the high-level period of the signal Sig123, the counter 125 performs upward counting if the control signal CNT1 is at high level and performs downward counting if the control signal CNT1 is at low level. The counter 125, in upward counting, increments the count value VAL.sub.CNT by one every time an up edge occurs in the signal Sig122 and, in downward counting, decrements the count value VAL.sub.CNT by one every time an up edge occurs in the signal Sig122. The counter 125 may instead, in upward counting, increment the count value VAL.sub.CNT by one every time a down edge occurs in the signal Sig122 and, in downward counting, decrement the count value VAL.sub.CNT by one every time a down edge occurs in the signal Sig122. The lower limit of the count value VAL.sub.CNT is zero, and it does not occur that the count value VAL.sub.CNT falls below zero.
[0099] During the low-level period of the signal Sig123, the counter 125 performs neither upward nor downward counting, and keeps the count value VAL.sub.CNT unchanged.
[0100] Moreover, the counter 125, if the count value VAL.sub.CNT is zero, keeps the signal Sig125 at high level and, if the count value VAL.sub.CNT is not zero (hence when VAL.sub.CNT>0), keeps the signal Sig125 at low level.
[0101]
[0102] At timing T.sub.B1, an up edge occurs in the control signal CNT1. Immediately before timing T.sub.B1, the driving current km equals substantially zero, and thus, immediately before and at timing T.sub.B1, the current state signal SG is at low level. Accordingly, the EXOR circuit 121 so operates that, synchronously with the up edge in the control signal CNT1 at timing T.sub.B1, an up edge occurs in the signal Sig121. After the signal Sig121 turns to high level at timing T.sub.B1, until the signal Sig121 turns to low level, a signal identical with the clock signal CLK appears as the signal Sig122. On the other hand, the FF 123 and the OR circuit 124 so operate that, synchronously with an up edge in the control signal CNT1 at timing T.sub.B1, an up edge occurs also in the signal Sig123 and in the control signal CNT2. At timing T.sub.B1, the signal Sig123 turns to high level, and this enables the above-mentioned upward or downward counting. From timing T.sub.B1 to timing T.sub.B2, the control signal CNT1 is at high level, and thus upward counting is performed; after upward counting is started, when VAL.sub.CNT>0, a down edge occurs in the signal Sig125.
[0103] In response to the control signal CNT2 turning to high level at timing T.sub.B1, the switching controller 150 starts the switching driving of the output transistor M1 (i.e., the operation of the DC-DC converter is turned on). Thus, at timing T.sub.B1, the output voltage V.sub.OUT starts to rise. When the output voltage V.sub.OUT has risen to a certain point, the driving current I.sub.LED starts to increase; at timing T.sub.B2, the driving current I.sub.LED reaches the judgment current I.sub.LED_so, and thus an up edge occurs in the current state signal SG. The control signal CNT1 is at high level from timing T.sub.B1 to timing T.sub.B3 after timing T.sub.B2, and thus, synchronously with the up edge in the current state signal SG at timing T.sub.B2, a down edge occurs in the signal Sig121. This causes a transition to a state where the signal Sig122 is held at low level; thus, the incrementing of the count value VAL.sub.CNT by upward counting is suspended until timing T.sub.B2.
[0104] Thereafter, at timing T.sub.B3, a down edge occurs in the control signal CNT1. After timing T.sub.B2, the driving current I.sub.LED is continuously kept higher than the judgment current I.sub.LED_SG, and thus at timing T.sub.B3 the current state signal SG is at high level. Accordingly, synchronously with the down edge in the control signal CNT1 at timing T.sub.B3, an up edge occurs in the signal Sig121. This restarts the state where a signal equivalent to the clock signal CLK appears as the signal Sig122, but here, since after timing T.sub.B3 the control signal CNT1 is at low level, from the timing T.sub.B3 downward counting is performed synchronously with the signal Sig122.
[0105] By the downward counting that starts at timing T.sub.B3, the count value VAL.sub.CNT is decremented starting with the count value VAL.sub.CNT at timing T.sub.B3 until, at timing T.sub.B4, the count value VAL.sub.CNT falls down to zero. Then, at timing T.sub.B4, an up edge occurs in the signal Sig125. In synchronization with the up edge in the signal Sig125, a down edge occurs in the signal Sig123, and, since at this timing the control signal CNT1 is at low level, at timing T.sub.B4 a down edge occurs in the control signal CNT2. In response to the down edge in the control signal CNT2 at timing T.sub.B4, the switching driving of the output transistor M1 is suspended (i.e., the operation of the DC-DC converter is turned off). Now the output voltage V.sub.OUT and the driving current I.sub.LED decreases until, when the driving current I.sub.LED falls below the judgment current I.sub.LED_SG, a down edge occurs in the current state signal SG and a down edge occurs also in the signal Sig121, causing a return to the state where the signal Sig122 is kept at low level.
[0106] Since the frequency f.sub.CLK of the clock signal CLK is fixed, the time between timings T.sub.B3 and T.sub.B4 is equal to the time between timings T.sub.B1 and T.sub.B2 (i.e., the delay time t.sub.D).
[0107] As described above, within each of the cycles recurring at the frequency f.sub.PWM, the start of the switching of the input voltage V.sub.IN causes the output voltage V.sub.OUT to rise; as the output voltage V.sub.OUT rises, when the driving current I.sub.LED flowing through the lighting unit 20 reaches the predetermined judgment current I.sub.LED_SG, the comparator 140 (current state signal generator) turns the current state signal SG from a first state (here, low level) to a second state (here, high level). Within each of the cycles recurring at the frequency f.sub.PWM, after the start of the lighting period (from timing TO until the current state signal SG is turned from the first state to the second state, the control signal corrector 120 corrects the control signal CNT1 (raw control signal) in a direction in which the lighting period is extended by the time (t.sub.D) and thereby generates the control signal CNT2 (corrected control signal).
[0108] While here the first and second states of the current state signal SG corresponding to low and high levels respectively, the correspondence may be reversed.
[0109] More specifically, within each of the cycles recurring at the frequency f.sub.PWM, the control signal corrector 120 performs a first measurement process to measure a first time (the time between timings T.sub.B1 and T.sub.B2) after the start of the lighting period (from timing TO until a current state signal turns from the first state to the second state; the control signal corrector 120 then performs a second measurement process to measure the time lapse after the timing (timing T.sub.B3) of the transition from the lighting period to the extinction period in the control signal CNT1; and, after the first measurement process, when the time lapse measured in the second measurement process reaches the first time (i.e., at timing T.sub.B4), the control signal corrector 120 changes the period specified by the control signal CNT2 from the lighting period to the extinction period (here, turns the control signal CNT2 from high level to low level).
[0110] The first measurement process described above is achieved by the upward counting between timings T.sub.B1 and T.sub.B2, and the second measurement process described above is achieved by the downward counting between timings T.sub.B3 and T.sub.B4.
[0111] In the configuration in
[0112] In a case where the first measurement process is achieved by upward counting, the first direction corresponds to the incrementing direction, and in a case where the second measurement process is achieved by downward counting, the second direction corresponds to the decrementing direction. Instead, the first measurement process may be achieved by downward counting and the second measurement process by upward counting, in which case the first direction corresponds to the decrementing direction and the second direction to the incrementing direction.
[0113] While in this embodiment the low-level period of the control signals CNT1 and CNT2 is associated with the extinction period and the high-level period of the control signals CNT1 and CNT2 is associated with the lighting period, a modification the other way around is possible where the high-level period of the control signals CNT1 and CNT2 is associated with the extinction period and the low-level period of the control signals CNT1 and CNT2 is associated with the lighting period.
Second Embodiment
[0114] A second embodiment of the present disclosure will be described. The second embodiment deals with applied technologies applicable to the first embodiment, modified technologies derived from the first embodiment, and the like.
[0115] In the configuration example in
[0116] In configuration example in
[0117]
[0118] As shown in
[0119] The present disclosure may be applied to any uses other than vehicle onboard uses. That is, the lighting device 1 or the lighting system SYS may be incorporated in any equipment other than vehicles.
[0120] The average luminance of the PWM-driven lighting unit 20 is set based on the dimming signal DIM. While in the configuration example in
[0121] The light-emitting elements constituting the lighting unit 20 may be any light-emitting elements other than light-emitting diodes, and may be, for example, light-emitting elements employing organic electroluminescence.
[0122] For any signal or voltage, the relationship between its high and low levels may be reversed so long as that can be done without departure from what has been described above.
[0123] Any of the transistors mentioned above may be of any type. For example, any of the transistors mentioned above as a MOSFET may be replaced with a junction FET, an IGBT (insulated-gate bipolar transistor), or a bipolar transistor.
[0124] Embodiments of the present disclosure can be modified in many ways as necessary without departure from the scope of the technical concepts defined in the appended claims. The embodiments described herein are merely examples of how the present disclosure can be implemented, and what is meant by any of the terms used to describe the present disclosure and its constituent elements is not limited to what is specifically mentioned above in connection with the embodiments. The specific values mentioned in the above description are merely illustrative and needless to say can be modified to different values.