CN108882432B - Light supplement lamp control system and method - Google Patents

Light supplement lamp control system and method Download PDF

Info

Publication number
CN108882432B
CN108882432B CN201710542732.7A CN201710542732A CN108882432B CN 108882432 B CN108882432 B CN 108882432B CN 201710542732 A CN201710542732 A CN 201710542732A CN 108882432 B CN108882432 B CN 108882432B
Authority
CN
China
Prior art keywords
fill
light supplement
light
lamp
pin
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
CN201710542732.7A
Other languages
Chinese (zh)
Other versions
CN108882432A (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.)
Beijing Kuangshi Technology Co Ltd
Beijing Megvii Technology Co Ltd
Original Assignee
Beijing Kuangshi Technology Co Ltd
Beijing Megvii Technology 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 Beijing Kuangshi Technology Co Ltd, Beijing Megvii Technology Co Ltd filed Critical Beijing Kuangshi Technology Co Ltd
Priority to CN201710542732.7A priority Critical patent/CN108882432B/en
Publication of CN108882432A publication Critical patent/CN108882432A/en
Application granted granted Critical
Publication of CN108882432B publication Critical patent/CN108882432B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/37Converter circuits

Abstract

The invention provides a light supplement lamp control system and a method, wherein the light supplement lamp control system comprises: the device comprises two light supplement lamp driving devices, a controller and a controller, wherein the two light supplement lamp driving devices are used for driving two types of light supplement lamps; the control device is used for controlling the output of the two light supplement lamp driving devices by complementarily controlling the ground resistance of the setting pins of the two light supplement lamp driving devices so as to ensure that the overall brightness of all light supplement lamps is basically unchanged; and the switching device is used for forbidding the driving device of the other type of the light supplementing lamp when one of the two types of the light supplementing lamps reaches the preset brightness so as to switch the two types of the light supplementing lamps. According to the light supplement lamp control system and method provided by the embodiment of the invention, the brightness of the shot image can be kept uniform under the alternate light supplement of the two types of light supplement lamps, and the algorithm analysis and processing based on the shot image in the later period are facilitated.

Description

Light supplement lamp control system and method
Technical Field
The invention relates to the technical field of security monitoring, in particular to a system and a method for controlling a light supplement lamp.
Background
At present, a fill-in light is often used in the field of security monitoring, for example, a near-infrared fill-in light with a wavelength of 850 nm is used, and the purpose is to convert an image into black and white when the brightness of visible light is insufficient, and to use the characteristic that an image sensor can sense light in a near-infrared band to fill in near-infrared light to enhance the brightness of a black and white image.
When the fill-in light is used, more than one wavelength may be used, for example, the fill-in light is used for near-infrared light with a wavelength of 850 nm or 940 nm. The dual-wavelength or multi-wavelength supplementary light can enhance the brightness of black and white images, and in addition, the purpose of living body detection can be achieved by back-end algorithm analysis by utilizing different characteristics of dual-wavelength or multi-wavelength imaging, namely, distinguishing whether a real person or simulation (a photo, a mask and the like).
However, in the living body detection, different characteristics of imaging with different wavelengths need to be utilized, that is, the fill-in lights with different wavelengths need to be switched to alternately fill in light, and in the switching process, for example, when the fill-in light with the wavelength a is switched to the fill-in light with the wavelength B, if the fill-in light with the wavelength a is turned off first and then the fill-in light with the wavelength B is turned on, an image between the switching processes is suddenly darkened; on the contrary, if the light supplement lamp with the wavelength B is turned on first and then the light supplement lamp with the wavelength a is turned off, the image between the switching operations is suddenly lightened, which is not favorable for the later-stage algorithm to perform the living body detection or other algorithm analysis processing.
Disclosure of Invention
The present invention has been made to solve the above problems. According to an aspect of the present invention, there is provided a fill-in light control system, including: the device comprises two light supplement lamp driving devices, a controller and a controller, wherein the two light supplement lamp driving devices are used for driving two types of light supplement lamps; the control device is used for controlling the output of the two light supplement lamp driving devices by complementarily controlling the ground resistance of the setting pins of the two light supplement lamp driving devices so as to ensure that the overall brightness of all light supplement lamps is basically unchanged; and the switching device is used for forbidding the driving device of the other type of the light supplementing lamp when one of the two types of the light supplementing lamps reaches the preset brightness so as to switch the two types of the light supplementing lamps.
In an embodiment of the invention, the fill-in light driving device is a constant-current LED driving chip, the control device is a programmable resistor, an output pin of the programmable resistor is connected to a current setting pin of the constant-current LED driving chip, and a ground resistance of the current setting pin determines an output current of the constant-current LED driving chip.
In one embodiment of the present invention, a first output pin of the programmable resistor is connected to a current setting pin of a first fill-in lamp driving device, a second output pin of the programmable resistor is connected to a current setting pin of a second fill-in lamp driving device, a resistance between the first output pin and the second output pin is constant, and a resistance to ground of the first output pin plus a resistance to ground of the second output pin is equal to a resistance between the first output pin and the second output pin.
In an embodiment of the invention, an output pin of the first fill-in light driving device is connected with a predetermined number of LED lights, and an output pin of the second fill-in light driving device is connected with a predetermined number of LED lights.
In an embodiment of the invention, the switching device controls enabling and disabling of the fill-up lamp driving device through an enable pin, the enable pin of the first fill-up lamp driving device is connected to a first enable signal of the switching device, and the enable pin of the second fill-up lamp driving device is connected to a second enable signal of the switching device.
In one embodiment of the invention, a clock pin and a data input/output pin of the programmable resistor are connected to an IIC bus, data are written into the programmable resistor through the IIC bus so as to control the programmable resistor to output a corresponding ground resistance value, and the range of the written data depends on the range of the outputtable current of the constant current LED driving chip.
In one embodiment of the present invention, the different types of fill lamps include fill lamps emitting light of different wavelengths.
In an embodiment of the invention, the fill-in light driving device and the control device respectively include a decoupling capacitor, one end of the decoupling capacitor is grounded, and the other end of the decoupling capacitor is connected to a pull-up level.
According to another aspect of the present invention, a fill-in light control method is provided, where the fill-in light control method includes: providing two light supplement lamp driving devices to drive two types of light supplement lamps, wherein each light supplement lamp driving device is used for driving one type of light supplement lamp; complementary control is carried out on the ground resistors of the setting pins of the two light supplement lamp driving devices to control the output of the two light supplement lamp driving devices, so that the overall brightness of all light supplement lamps is basically unchanged; and when one of the two types of light supplement lamps reaches the preset brightness, forbidding a driving device of the other type of light supplement lamp to switch the two types of light supplement lamps.
In an embodiment of the present invention, the complementarily controlling the ground resistances of the setting pins of the two fill-in lamp driving devices includes: controlling the ground resistance of a setting pin of a first light supplement lamp driving device to gradually decrease, and controlling the ground resistance of a setting pin of a second light supplement lamp driving device to gradually increase so as to realize that the overall brightness of all light supplement lamps is basically unchanged during the switching period from the first type light supplement lamp to the second type light supplement lamp; or the ground resistance of the setting pin of the second light supplement lamp driving device is controlled to be gradually reduced, and the ground resistance of the setting pin of the first light supplement lamp driving device is controlled to be gradually increased, so that the overall brightness of all light supplement lamps is basically unchanged during the switching period from the second type light supplement lamp to the first type light supplement lamp.
In an embodiment of the present invention, under the irradiation of different types of fill-in lamps controlled by the fill-in lamp control method, images are respectively collected for a same object, and features in the images are extracted for performing living body detection on the object.
According to the light supplement lamp control system and method provided by the embodiment of the invention, the brightness of the shot image can be kept uniform under the alternate light supplement of the two types of light supplement lamps, and the algorithm analysis and processing based on the shot image in the later period are facilitated.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent by describing in more detail embodiments of the present invention with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 is a schematic block diagram of a fill-light control system according to an embodiment of the present invention;
FIG. 2 shows a schematic circuit implementation of a fill light control system according to an embodiment of the present invention; and
fig. 3 shows a schematic flow chart of a fill light control method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, exemplary embodiments according to the present invention will be described in detail below with reference to the accompanying drawings. It is to be understood that the described embodiments are merely a subset of embodiments of the invention and not all embodiments of the invention, with the understanding that the invention is not limited to the example embodiments described herein. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the invention described herein without inventive step, shall fall within the scope of protection of the invention.
First, a fill light control system 100 according to an embodiment of the present invention is described with reference to fig. 1.
As shown in fig. 1, the fill-in lamp control system 100 includes a first fill-in lamp driving device 110, a second fill-in lamp driving device 120, and a control device 130 respectively connected to the first fill-in lamp driving device and the second fill-in lamp driving device. The first fill-in lamp driving device 110 is connected to the first type fill-in lamp 140, and is configured to drive the first type fill-in lamp 140. The second fill-in lamp driving device 120 is connected to the second type fill-in lamp 150, and is configured to drive the second type fill-in lamp 150. The control device 130 is configured to control the first fill-in lamp driving device 110 and the second fill-in lamp driving device 120, so that the first type fill-in lamp 140 driven by the first fill-in lamp driving device 110 and the first type fill-in lamp 150 driven by the second fill-in lamp driving device 120 alternately operate, and the overall brightness of all fill-in lamps is kept substantially unchanged during the alternate switching period of the first type fill-in lamp 140 and the second type fill-in lamp 150.
In one embodiment, the first and second types of fill lamps 140 and 150 may be fill lamps emitting light of different wavelengths. For example, the first type fill-in lamp 140 may be a fill-in lamp emitting light of a first wavelength. The second type fill-in lamp 150 may be a fill-in lamp emitting light of a second wavelength. For example, the first and second types of fill lamps 140 and 140 may be near-infrared fill lamps. For example, the first type fill light 140 may be a fill light emitting light of 850 nm, and the second type fill light may be a fill light emitting light of 940 nm. In other embodiments, the first and second types of fill lamps 140 and 150 may be other types of fill lamps having different characteristics.
In one embodiment, the control device 130 controls the power of the first and second types of fill lamps 140 and 150 to be changed during the alternate switching by controlling the outputs of the first and second fill lamp driving devices 110 and 120, so as to keep the overall brightness of all fill lamps substantially constant. For example, when switching from the first type fill-in lamp 140 to the second type fill-in lamp 150, the control device 130 may control the power of the first type fill-in lamp 140 to gradually decrease, and control the second type fill-in lamp 150 to gradually increase. In this way, when switching from the first type fill light 140 to the second type fill light 150, the overall brightness of all fill lights can be kept substantially unchanged. Similarly, when switching from the second type fill light 150 to the first type fill light 140, the control device 130 may control the power of the second type fill light 150 to gradually decrease, and control the first type fill light 140 to gradually increase, so as to keep the overall brightness of all fill lights substantially unchanged.
Here, the meaning of "substantially constant" should be clearly understood by those skilled in the art, because as long as the overall brightness of all fill lamps is kept substantially the same during the switching of fill lamps, the uniformity of the brightness of the captured image in the environment can be ensured, without necessarily making the overall brightness of all fill lamps completely constant during the switching process, and of course, if the overall brightness can be controlled to be "completely constant", the effect will be better.
Referring to fig. 1, as shown in fig. 1, the fill-in light control system 100 may further include a switching device 160, where the switching device 160 is configured to disable a driving device of one fill-in light of the two types of fill-in lights when the other fill-in light reaches a predetermined brightness, so as to switch the two types of fill-in lights.
In one embodiment, the switching device 160 may be implemented by a Central Processing Unit (CPU) or other control device. For example, the first fill light driving device 110 and the second fill light driving device 120 may be connected to a bus through an enable pin, and the switching device 160 may control the switching through the bus.
For example, when the first type fill light 140 is switched to the second type fill light 150, and when the second type fill light 150 reaches a predetermined brightness, the switching device 160 may transmit a first enable signal to the enable pin of the first fill light driving device 110 through the bus, so as to completely turn off the first type fill light 140, so as to avoid that the first type fill light 140 affects the back-end algorithm analysis due to the existence of leakage current. Similarly, when the second type fill-in lamp 150 is switched to the first type fill-in lamp 140, and when the first type fill-in lamp 140 reaches a predetermined brightness, the switching device 160 may also transmit a second enable signal to the enable pin of the second fill-in lamp driving device 120 through the bus, so as to completely turn off the second type fill-in lamp 150.
Here, the number of the fill lamps included in each of the first type fill lamp 140 and the second type fill lamp 150 is not limited, and may be set as needed.
In addition, for simplicity of description, only two fill light driving devices, i.e., the first fill light driving device 110 and the second fill light driving device 120, are shown in fig. 1, however, it is understood that the fill light control system 100 may include more fill light driving devices. For example, the fill light control system 100 may further include a third fill light driving device (not shown in fig. 1) connected to a third type fill light (not shown in fig. 1) for driving the third type fill light. At this time, the control device 130 may control the first fill-in lamp driving device 110, the second fill-in lamp driving device 120, and the third fill-in lamp driving device, so that the first type fill-in lamp 140, the second type fill-in lamp 150, and the third type fill-in lamp respectively work alternately, and the switching process is as described above. In addition, the control device 130 may also control the first fill-in lamp driving device 110, the second fill-in lamp driving device 120, and the third fill-in lamp driving device, so that any two of the first type fill-in lamp 140, the second type fill-in lamp 150, and the third type fill-in lamp are combined to alternately operate with the other one, and the switching process is as described above.
Having described the schematic structural components and the working process of the fill-in lamp control system 100 according to the embodiment of the present invention in detail, a schematic circuit implementation of the fill-in lamp control system 100 according to the embodiment of the present invention is described below with reference to fig. 2.
In an embodiment, the fill-in light driving device may be a constant current LED (light emitting diode) driving chip. For example, the first fill-light driving device 110 and the second fill-light driving device 120 may be both voltage-adjustable constant current LED driving chips a703EFT SOP-EP-8, and for distinguishing them, as shown in fig. 2, they are respectively referred to as a first driving chip 210 and a second driving chip 220. The first driver chip 210 and the second driver chip 220 may be connected with enable signals EN1 and EN2 through their EN pins and EN' pins, respectively, as shown in fig. 2, to control whether they operate or not. In this embodiment, the enable signals EN1 and EN2 may be a first enable signal and a second enable signal of the switching device 160 (not shown in fig. 2), and the switching device 160 controls enabling and disabling of the first driver chip 210 and the second driver chip 220 by controlling enable pins of the first driver chip 210 and the second driver chip 220.
With continued reference to fig. 2, the output pins (shown as OUT1 pin and OUT2 pin in fig. 2) of the first driving chip 210 are connected to a first type of fill-in lamp (e.g., a fill-in lamp emitting light with a wavelength of 850 nanometers), and the fill-in lamp shown as the first type in fig. 2 includes 8 fill-in lamps, which is merely exemplary, and the output pins of the first driving chip 210 may be connected to a predetermined number of fill-in lamps (e.g., LED lamps). The output pins (shown as OUT1 'pin and OUT 2' pin in fig. 2) of the second driving chip 220 are connected to a second type of fill-in lamp (e.g., a fill-in lamp emitting light with a wavelength of 940 nm), which is shown in fig. 2 as 8 fill-in lamps, which is merely exemplary, and the output pins of the second driving chip 220 may be connected to a predetermined number of fill-in lamps (e.g., LED lamps).
In one embodiment, the control device 130 may be a programmable resistor, and an output pin of the programmable resistor is connected to a current setting pin of the constant current LED driving chip. For example, as shown in FIG. 2, control device 130 is a digital programmable resistor 230, such as a tapped-line digital divider/potentiometer TPL 0102-EP-100. As shown in fig. 2, the HA pin of the digital programmable resistor 230 (also shown in fig. 2 as the first output pin 1 of the digital programmable resistor 230) is connected to the current setting pin (ISET pin) of the first driver chip 210, and the LA pin of the digital programmable resistor 230 (also shown in fig. 2 as the second output pin 2 of the digital programmable resistor 230) is connected to the ISET' pin of the second driver chip 220. The WA pin of digital programmable resistor 230 (also shown in fig. 2 as pin 3 of digital programmable resistor 230) is connected to ground.
Since the first driver chip 210 and the second driver chip 220 are constant current outputs, the magnitude of their respective output currents is controlled by the magnitude of their respective resistances of the ISET pin (or ISET' pin) to ground. Therefore, the magnitude of the output current of the first driver chip 210 depends on the resistance R1 of the ISET pin of the first driver chip 210 to ground, and the magnitude of the output current of the second driver chip 220 depends on the resistance R2 of the ISET' pin of the second driver chip 220 to ground. In one example, the output current Iout1 of the first driving chip 210 may be expressed as Iout1=1.2 × 180/R1, and the output current Iout2 of the second driving chip 220 may be expressed as Iout =1.2 × 180/R2.
Since the ISET pin of the first driver chip 210 is connected to the HA pin of the digital programmable resistor 230 (also shown as pin 1 of the digital programmable resistor 230 in fig. 2), the ISET' pin of the second driver chip 220 is connected to the LA pin of the digital programmable resistor 230 (also shown as pin 2 of the digital programmable resistor 230 in fig. 2), and the WA pin of the digital programmable resistor 230 (also shown as pin 3 of the digital programmable resistor 230 in fig. 2) is grounded, the resistance R13 from pin 1 to pin 3 of the digital programmable resistor 230 corresponds to the aforementioned resistance R1, and the resistance R23 from pin 2 to pin 3 of the digital programmable resistor 230 corresponds to the aforementioned resistance R2.
With continued reference to fig. 2, the digital programmable resistor 230 is used to control the first driving chip 210 and the second driving chip 220, so that the power variation trend of the first type of fill-in lamp driven by the first driving chip 210 is opposite to the power variation trend of the second type of fill-in lamp driven by the second driving chip 220, that is, the variation trend of the output current of the first driving chip 210 is opposite to the variation trend of the output current of the second driving chip 220. The magnitude of the output current of the first driver chip 210 is determined by the resistor R1 (i.e., R13), and the magnitude of the output current of the second driver chip 220 is determined by the resistor R2 (i.e., R23). For the digital programmable resistor 230, the resistance R12 of pin 1 to pin 2 is constant, and R12= R13+ R23, so that R23 becomes smaller when R13 becomes larger, and vice versa. Based on this, the power of one type of fill-in lamp can be gradually reduced while the power of the other type of fill-in lamp is gradually increased, so that the overall brightness of all fill-in lamps can be kept basically unchanged during the alternate switching period of the fill-in lamps.
In one embodiment, the range of data that should be input to the digital programmable resistor 230 depends on the range of currents that can be output from the first driver chip 210 and the second driver chip 220. With continued reference to fig. 2, the clock pin SCL and the data input/output pin SDA of the digital programmable resistor 230 may be connected to an IIC bus (not shown in fig. 2), through which data is written to the programmable resistor 230 to control the programmable resistor 230 to output a corresponding value of resistance to ground, and in particular, to control the magnitude of the resistance of the HA pin to the WA pin (i.e., R13), thereby controlling the magnitude of the resistance of the LA pin to the WA pin (i.e., R23). In one embodiment, digital programmable resistor 230 is controllable in 256 steps, i.e., it can be written with values of 0 to 255. In one embodiment, R12 is a constant value of 100 kilo-ohms, and when a0 is written to the digital programmable resistor 230, R13 is 100 kilo-ohms and R23 is zero. The first driving chip 210 and the second driving chip 220 are both constant current LED driving chips, the maximum output current of the constant current LED driving chips is 150 milliamperes, the corresponding resistance value is 1.44 kiloohms, and when the resistance to ground is 100 kiloohms, the output current is 2.16 milliamperes. Based on this, the corresponding input value of the digital programmable resistor 230 may be set, the minimum input value may be set to 4, and the corresponding resistance may be 1.56 kilo-ohms, and similarly, the maximum input value may be set to 252, and the corresponding resistance value may be 98.44 kilo-ohms, and the range of resistance corresponds to the output current range of the first driver chip 210 and the second driver chip 220 being 2 milliamperes to 138 milliamperes. The input-output numerical ranges of the first driving chip 210, the second driving chip 220, and the digital programmable resistor 230 are shown above, and it should be noted that they are merely exemplary.
In one embodiment, the first driver chip 210, the second driver chip 220, and the digital programmable resistor 230 may respectively include decoupling capacitors, such as C1, C2, and C3 shown in fig. 2, which have one end connected to ground and the other end connected to a pull-up level, as shown in fig. 2.
The circuit implementation of the fill light control system according to the embodiment of the present invention is exemplarily shown in fig. 2, and in fig. 2, some pins (such as a2, a1, a0, HB, WB, LB, PGND1, PGND2, AGND, PAD, VCC, VDD, GND, VSS) and the like are not described because they do not relate to the main technical content of the present invention, and the functions and working modes of these pins can be understood by those skilled in the art, and are not described herein again.
Based on the above description, the fill-in light control system according to the embodiment of the invention can keep the brightness of the captured image uniform under the alternate fill-in lights of multiple types of fill-in lights, and is beneficial to later-stage algorithm analysis and processing (for example, for living body detection, which will be described later) implemented based on the captured image.
A method for controlling a fill-in lamp according to another aspect of the present invention is described below with reference to fig. 3. Fig. 3 shows a schematic flow chart of a fill light control method 300 according to an embodiment of the invention. As shown in fig. 3, the fill-in light control method 300 may include the following steps:
in step S310, two light supplement lamp driving devices are provided to drive two types of light supplement lamps, and each light supplement lamp driving device is used to drive one type of light supplement lamp.
In step S320, complementary control is performed on the ground resistors of the setting pins of the two fill-in lamp driving devices to control the outputs of the two fill-in lamp driving devices, so that the overall brightness of all fill-in lamps is substantially unchanged.
In step S330, when one of the two types of fill-in lamps reaches a predetermined brightness, the driving device of the other type of fill-in lamp is disabled to switch the two types of fill-in lamps.
In the embodiment of the present invention, the complementarily controlling the ground resistances of the setting pins of the two fill light lamp driving devices in step S320 may include: controlling the ground resistance of a setting pin of a first light supplement lamp driving device to gradually decrease, and controlling the ground resistance of a setting pin of a second light supplement lamp driving device to gradually increase so as to realize that the overall brightness of all light supplement lamps is basically unchanged during the switching period from the first type light supplement lamp to the second type light supplement lamp; or the ground resistance of the setting pin of the second light supplement lamp driving device is controlled to be gradually reduced, and the ground resistance of the setting pin of the first light supplement lamp driving device is controlled to be gradually increased, so that the overall brightness of all light supplement lamps is basically unchanged during the switching period from the second type light supplement lamp to the first type light supplement lamp.
A person skilled in the art can understand the operation and principle of the fill-light lamp control method 300 according to the embodiment of the present invention with reference to the fill-light lamp control system according to the embodiment of the present invention described above with reference to fig. 1 and fig. 2, and details are not described herein for brevity.
In the embodiment of the invention, under the irradiation of different types of fill-in lamps controlled by the fill-in lamp control method, images are respectively collected for the same object, and features in the images are extracted, so that the method can be used for performing living body detection on the object. Here, since different types (e.g., different wavelengths) of fill-in lamps have different characteristics, the features extracted from images acquired for the same subject under their respective illumination are different, and the subject can be detected in vivo based on these features.
Based on the above description, the light supplement lamp control method according to the embodiment of the invention can keep the brightness of the shot image uniform under the alternate light supplement of the two types of light supplement lamps, and is beneficial to the algorithm analysis and processing implemented based on the shot image in the later period.
Although the illustrative embodiments have been described herein with reference to the accompanying drawings, it is to be understood that the foregoing illustrative embodiments are merely exemplary and are not intended to limit the scope of the invention thereto. Various changes and modifications may be effected therein by one of ordinary skill in the pertinent art without departing from the scope or spirit of the present invention. All such changes and modifications are intended to be included within the scope of the present invention as set forth in the appended claims.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another device, or some features may be omitted, or not executed.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the method of the present invention should not be construed to reflect the intent: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
It will be understood by those skilled in the art that all of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where such features are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some of the modules in an item analysis apparatus according to embodiments of the present invention. The present invention may also be embodied as apparatus programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The above description is only for the specific embodiment of the present invention or the description thereof, and the protection scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the protection scope of the present invention. The protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (11)

1. The utility model provides a light filling lamp control system which characterized in that, light filling lamp control system includes:
the device comprises two light supplement lamp driving devices, a controller and a controller, wherein the two light supplement lamp driving devices are used for driving two types of light supplement lamps;
the control device is used for controlling the output of the two light supplement lamp driving devices by complementarily controlling the ground resistance of the setting pins of the two light supplement lamp driving devices so as to ensure that the overall brightness of all light supplement lamps is basically unchanged; and
and the switching device is used for forbidding the driving device of the other type of the light supplement lamp when one of the two types of the light supplement lamps reaches the preset brightness so as to switch the two types of the light supplement lamps.
2. A fill-in light lamp control system according to claim 1, wherein the fill-in light lamp driving device is a constant current LED driving chip, the control device is a programmable resistor, an output pin of the programmable resistor is connected to a current setting pin of the constant current LED driving chip, and a ground resistance of the current setting pin determines an output current of the constant current LED driving chip.
3. The fill-in lamp control system according to claim 2, wherein a first output pin of the programmable resistor is connected to a current setting pin of a first fill-in lamp driving device, a second output pin of the programmable resistor is connected to a current setting pin of a second fill-in lamp driving device, a resistance between the first output pin and the second output pin is constant, and a resistance to ground of the first output pin plus a resistance to ground of the second output pin is equal to a resistance between the first output pin and the second output pin.
4. A fill-in light control system according to claim 3, wherein an output pin of the first fill-in light driving device is connected to a predetermined number of LED lights, and an output pin of the second fill-in light driving device is connected to a predetermined number of LED lights.
5. The fill-up lamp control system according to claim 3, wherein the switching device controls enabling and disabling of the fill-up lamp driving device through an enable pin, the enable pin of the first fill-up lamp driving device is connected to a first enable signal of the switching device, and the enable pin of the second fill-up lamp driving device is connected to a second enable signal of the switching device.
6. The fill-in lamp control system according to claim 2, wherein a clock pin and a data input/output pin of the programmable resistor are connected to an IIC bus, data is written to the programmable resistor through the IIC bus to control the programmable resistor to output a corresponding ground resistance value, and a range of the written data depends on an outputable current range of the constant current LED driving chip.
7. A fill-in lamp control system according to any of claims 1-6, wherein the two types of fill-in lamps each emit light of a different wavelength.
8. A fill-in light control system as claimed in claim 7, wherein the fill-in light driving device and the control device respectively comprise a decoupling capacitor, one end of the decoupling capacitor is grounded, and the other end is connected to a pull-up level.
9. A light supplement lamp control method is characterized by comprising the following steps:
providing two light supplement lamp driving devices to drive two types of light supplement lamps, wherein each light supplement lamp driving device is used for driving one type of light supplement lamp;
complementary control is carried out on the ground resistors of the setting pins of the two light supplement lamp driving devices to control the output of the two light supplement lamp driving devices, so that the overall brightness of all light supplement lamps is basically unchanged; and
and when one of the two types of light supplement lamps reaches the preset brightness, the driving device of the other type of light supplement lamp is forbidden to switch the two types of light supplement lamps.
10. A method for controlling a fill-in lamp according to claim 9, wherein complementarily controlling the ground resistances of the setting pins of the two fill-in lamp driving devices comprises:
controlling the ground resistance of a setting pin of a first light supplement lamp driving device to gradually decrease, and controlling the ground resistance of a setting pin of a second light supplement lamp driving device to gradually increase so as to realize that the overall brightness of all light supplement lamps is basically unchanged during the switching period from the first type light supplement lamp to the second type light supplement lamp; or
And controlling the ground resistance of the setting pin of the second light supplement lamp driving device to gradually decrease, and controlling the ground resistance of the setting pin of the first light supplement lamp driving device to gradually increase, so that the overall brightness of all light supplement lamps is basically unchanged during the switching period from the second type light supplement lamp to the first type light supplement lamp.
11. A fill-in light control method according to claim 9 or 10, wherein under the irradiation of different types of fill-in lights controlled by the fill-in light control method, images are respectively collected for a same object, and features in the images are extracted for in vivo detection of the object.
CN201710542732.7A 2017-07-05 2017-07-05 Light supplement lamp control system and method Active CN108882432B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710542732.7A CN108882432B (en) 2017-07-05 2017-07-05 Light supplement lamp control system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710542732.7A CN108882432B (en) 2017-07-05 2017-07-05 Light supplement lamp control system and method

Publications (2)

Publication Number Publication Date
CN108882432A CN108882432A (en) 2018-11-23
CN108882432B true CN108882432B (en) 2020-03-13

Family

ID=64325409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710542732.7A Active CN108882432B (en) 2017-07-05 2017-07-05 Light supplement lamp control system and method

Country Status (1)

Country Link
CN (1) CN108882432B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917990B (en) * 2019-05-08 2022-02-01 杭州海康威视数字技术股份有限公司 Video camera
CN112730430A (en) * 2020-12-23 2021-04-30 南京市晨枭软件技术有限公司 Bridge flaw detection system based on image learning and detection method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011092606A1 (en) * 2010-02-01 2011-08-04 Koninklijke Philips Electronics N.V. Apparatus for enabling smooth start-up of solid-state lighting unit
CN103702038A (en) * 2013-12-31 2014-04-02 浙江宇视科技有限公司 Dynamic threshold value-based method and device for performing automatic day and night switching
CN104301623A (en) * 2014-10-28 2015-01-21 浙江宇视科技有限公司 Mixed light supplementing method and device
CN205158195U (en) * 2015-09-18 2016-04-13 南京信息工程大学 Program -controlled constant -current source circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011092606A1 (en) * 2010-02-01 2011-08-04 Koninklijke Philips Electronics N.V. Apparatus for enabling smooth start-up of solid-state lighting unit
CN103702038A (en) * 2013-12-31 2014-04-02 浙江宇视科技有限公司 Dynamic threshold value-based method and device for performing automatic day and night switching
CN104301623A (en) * 2014-10-28 2015-01-21 浙江宇视科技有限公司 Mixed light supplementing method and device
CN205158195U (en) * 2015-09-18 2016-04-13 南京信息工程大学 Program -controlled constant -current source circuit

Also Published As

Publication number Publication date
CN108882432A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN103344563B (en) A kind of self-adaptation toning light modulation machine vision light source pick-up unit and method
CN102958241B (en) Lighting control systems and methods,handheld device
CN108882432B (en) Light supplement lamp control system and method
US9198252B2 (en) System and method for controlling lighting
CN104280979B (en) Camera apparatus and flash lamp control method
CN109314751B (en) Light supplementing method, light supplementing device and electronic equipment
CN110966531B (en) Street lamp device, street lamp system and operation method thereof
CN105474299A (en) Using wavelength information for an ambient light environment to adjust display brightness and content
CN109564462A (en) Electronic tracking equipment, Third-party Logistics and electronic tracking method
JP2015519698A (en) Full- and non-perfect radiator dimming of solid state light sources
US9386647B2 (en) Digital control method for low output dimming of light emitting diode (LED) drivers
CN108426186B (en) Lamp color calibration method and device and electronic equipment
CN107533827A (en) Backlight circuit, electronic equipment and backlight adjusting method
US10552961B2 (en) Method, device, and non-transitory computer readable storage medium for object tracking
CN110708794A (en) LED dimming method and device and LED lighting lamp
US20200196407A1 (en) Lighting control device, lighting control method, and computer readable medium
US8604802B2 (en) Checking circuit for serial port connectors
DE102013224760A1 (en) Driver circuit and method for operating a dimmable LED track in a dimming area with two areas
CN114490755A (en) Lamp color calibration method and device and computer equipment
CN108919090A (en) Circuit board and booting adjustment method for the debugging that is switched on
CN109041339B (en) A kind of illumination uniformity adjusting method of LED multi-path
TWI703895B (en) Street lamp control device and street lamp control method
CN209247323U (en) The device of the automatic light sensation test of LED
CN106941747A (en) A kind of LED circuit and LED drive circuit
JP2020167109A (en) Lighting system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant