WO2018113647A1 - 光源调节装置及其光源控制器和光源控制方法 - Google Patents

光源调节装置及其光源控制器和光源控制方法 Download PDF

Info

Publication number
WO2018113647A1
WO2018113647A1 PCT/CN2017/117088 CN2017117088W WO2018113647A1 WO 2018113647 A1 WO2018113647 A1 WO 2018113647A1 CN 2017117088 W CN2017117088 W CN 2017117088W WO 2018113647 A1 WO2018113647 A1 WO 2018113647A1
Authority
WO
WIPO (PCT)
Prior art keywords
light source
microcontroller
controller
operating state
digital
Prior art date
Application number
PCT/CN2017/117088
Other languages
English (en)
French (fr)
Inventor
毛海科
郭波锋
蒋文斌
Original Assignee
宁波舜宇光电信息有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201611194808.3A external-priority patent/CN108235530A/zh
Priority claimed from CN201611194807.9A external-priority patent/CN108235493B/zh
Application filed by 宁波舜宇光电信息有限公司 filed Critical 宁波舜宇光电信息有限公司
Publication of WO2018113647A1 publication Critical patent/WO2018113647A1/zh

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]
    • 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/10Controlling the intensity of the light
    • H05B45/18Controlling the intensity of the light using temperature feedback
    • 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/20Controlling the colour of the light

Definitions

  • the invention relates to the field of light source control, in particular to an output stable and high-precision light source adjusting device for LED driving.
  • the traditional light source controller mainly controls the brightness of the light source in analog and PWM (pulse width modulation) digital mode.
  • the analog mode is the manual knob mode, and the PWM mode controls the brightness of the light source by controlling the pulse duty ratio.
  • the traditional light source controller can supply power to the machine vision camera fill light, control the brightness and working state of the fill light, and can also control the light source controller strobe through signals to adapt to the application requirements and can be extended.
  • Light source life The analog dimmer can only adjust the brightness manually, and the brightness cannot be adjusted according to the image quality by the software. At the same time, the brightness cannot be quantized, the brightness accuracy is not high, and the image quality is poor.
  • the PWM digital mode can automatically adjust the brightness by software. However, due to the PWM voltage regulation method, the output voltage or current is not smooth, and the brightness is easy to fluctuate, which has a certain influence on the image quality. Conventional analog and PWM digital mode controllers are not capable of shooting multiple objects of different colors for the same camera and light source.
  • An object of the present invention is to provide a light source adjusting device, a light source controller thereof, and a light source controlling method, the light source adjusting device comprising at least one light source controller, at least one data converter of the light source controller, for example, operating state of the light source
  • the digital quantity of brightness is converted into an analog quantity, so that the adjustment of the working state of the light source can be quantized and the precision is high.
  • Another object of the present invention is to provide a light source adjusting device, a light source controller thereof, and a light source controlling method.
  • the driving chip used by at least one driver of the light source controller can directly output the voltage corresponding to the brightness value of the light source, without requiring multiple stages.
  • the capacitor is filtered while eliminating the capacitive charging at the output resulting in a response hysteresis.
  • Another object of the present invention is to provide a light source adjusting device, a light source controller thereof, and a light source controlling method, wherein at least one signal switcher of the light source controller uses a signal switching chip to control a light source to be turned off, and a high stroboscopic light can be achieved. The frequency improves the response performance of the light source controller.
  • Another object of the present invention is to provide a light source adjusting device, a light source controller thereof, and a light source controlling method, at least one computing method of the light source controller amplifying an operating state signal of the light source, such as a brightness signal, to match the driver The operating characteristics of the driver chip.
  • Another object of the present invention is to provide a light source adjusting device, a light source controller thereof, and a light source controlling method, wherein the light source controller can simultaneously control different light groups in the same light source, and realize the light source without changing the light source. Accurate changes in working conditions such as color temperature, brightness, color, and the like.
  • Another object of the present invention is to provide a light source adjusting device, a light source controller thereof, and a light source control method, which can realize separation of a power supply between a control circuit and a driving circuit to accommodate light sources of various rated voltages.
  • Another object of the present invention is to provide a light source adjusting device, a light source controller thereof and a light source controlling method capable of outputting a smooth voltage and current, and preventing the light source from operating in a high-frequency light-dark change that is unrecognizable by the human eye.
  • the present invention provides a light source adjusting device comprising: at least one light source controller and at least one light source, the light source controller controls and adjusts the light source, and the light source controller includes at least one micro And a controller and at least one channel light source module, each of the channel light source modules is connected to each of the light sources, and the microcontroller controls and adjusts an operating state of each of the light sources through each of the channel light source modules.
  • each of the channel light source modules of the light source controller further includes at least one digital to analog converter, at least one signal switch, at least one operational amplifier, at least one driver, and at least one output feedback circuit,
  • the microcontroller sends a signal of the received working state of each of the light sources to the signal switcher, and the digital-to-analog converter converts the working state of the light source into an analog quantity and outputs the signal to the signal switcher.
  • An analog quantity of the light source of the signal switcher is output to the operational amplifier, the operational amplifier proportionally amplifies an analog quantity of the light source, and the driver drives the light source according to an input signal, the output feedback A circuit is coupled in series between the driver and the light source to output an operational state of the light source to the microcontroller, the microcontroller adjusting the light source based on feedback.
  • the light source adjusting device further includes at least one light source power source, each of the light source power sources being connected to the driver and powering the driver.
  • the light source controller further includes at least one SPI bus, and the microcontroller transmits a digital quantity of an operating state of the light source to the corresponding each of the digital to analog converters through the SPI bus.
  • the light source controller further includes at least one IO module, and each of the signal switches and each of the output feedback circuits are respectively connected to the IO module.
  • the light source adjusting device further includes at least one RS232 transceiver and at least one upper computer, the RS232 transceiver is connected between the upper computer and the microcontroller, and the upper computer passes The RS232 transceiver sends a command to the microcontroller.
  • the light source adjusting device further includes at least one optocoupler isolation module and at least one external trigger source, the optocoupler isolation module being connected between the external trigger source and the micro controller.
  • the external trigger source sends a command to the microcontroller through the optocoupler isolation module.
  • the driver is further coupled to at least one light source power source that powers the driver.
  • the invention also provides a light source control method for controlling at least one light source, the light source control method comprising the following steps:
  • At least one driver of the light source controller drives the light source to operate according to an input analog quantity signal
  • At least one output feedback circuit of the light source controller outputs an operating state of the light source to the microcontroller, the microcontroller adjusting an operating state of the light source according to feedback.
  • the step (C) further comprises the step of: at least one signal switch of the light source controller outputting an analog quantity of an operating state of the light source to the operational amplifier of the light source controller.
  • the step (A) further comprises the step of: transmitting, by the at least one upper computer, digital data of an operating state of each of the light sources to the microcontroller through at least one RS232 transceiver.
  • the step (A) further includes the step of: transmitting, by the at least one external trigger source, digital data of an operating state of each of the light sources to the microcontroller through the at least one optocoupler isolation module.
  • the method further includes the step of: serial port interrupting, and the light source controller determines the type of the command.
  • the method further includes the step of: changing a light source state of the light source.
  • the method further includes the step of: the light source controller generating a light source operating state command to change the light source.
  • the method further includes the step of: setting, by the light source controller, a parameter change.
  • the method further includes the step of generating a change of the light source controller parameter command.
  • FIG. 2 is a flow chart showing a light source controller of the light source adjusting device according to the above preferred embodiment of the present invention.
  • Figure 3 is a flow chart showing the light source controller of the light source adjusting device according to the above preferred embodiment of the present invention.
  • FIG. 4 is a flow chart showing the light source controller of the light source adjusting device according to the above preferred embodiment of the present invention.
  • the term “a” is understood to mean “at least one” or “one or more”, that is, in one embodiment, the number of one element may be one, and in other embodiments, the element The number can be multiple, and the term “a” cannot be construed as limiting the quantity.
  • the digital light source adjusting device comprises a host computer 91, an external trigger source 92, a light source 94, a light source power source 93, and a light source controller 100.
  • the upper computer 91, the external trigger 92, the light source power source 93, and the light source 94 are connected to the light source controller 100.
  • the light source controller 100 adjusts the light source 94 according to the commands of the upper computer 91 and the external trigger source 92.
  • the light source controller 100 includes an RS232 transceiver 10, a microcontroller 20, a channel light source module 30, an optocoupler isolation module 40, an IO (Input/output) module 50, and a SPI (Serial Peripheral Interface) bus 60.
  • the RS232 transceiver 10 is connected to the microcontroller 20 and the host computer 91.
  • the microcontroller 20 communicates with the channel light source module 30 via the IO module 50 and the SPI bus 60.
  • the light source controller 100 of the present invention may include a plurality of the channel light source modules 30, and each of the channel light source modules 30 is connected in parallel to the IO module 50 and the SPI bus 60 to be connected to the micro control.
  • the device 20 communicates.
  • the light source adjusting device may further include a plurality of the light sources 94 corresponding to the number of the channel light source modules 30 and a plurality of the light source power sources 93, each of the light sources 94 and each of the light source power sources 93 being
  • Each of the channel light source modules 30 is connected to the light source controller 30, so that the light source controller 100 can control each of the light sources through the microcontroller 20 and each of the channel light source modules 30. For example, different groups of lamps within the same source can be controlled to achieve precise changes in color temperature, brightness, color, etc. without changing the source.
  • each of the channel light source modules 30 includes a digital to analog converter 31, a signal switcher 32, an operational amplifier 33, a driver 34, and an output feedback circuit 35.
  • the signal switcher 32 and the output feedback circuit 35 are respectively connected to the IO module 50 to facilitate communication.
  • the digital to analog converter 31 is coupled to the SPI bus 60
  • the signal switch 32 is coupled to the digital to analog converter 31
  • the operational amplifier 33 is coupled to the driver 34
  • the driver 34 Connected to the output feedback circuit 35
  • the light source 94 is coupled to the output feedback circuit 35.
  • the microcontroller 20 controls the light source brightness value and the working state of each light source 94 through each of the channel light source modules 30, and changes the brightness and working state of each light source 94 according to the commands of the upper computer 91 and the external trigger source 92. .
  • the digital-to-analog converter 31 converts the digital quantity of the light source luminance outputted by the microcontroller 20 into a luminance voltage analog quantity, so that the brightness adjustment of the light source 94 can be quantized with high precision.
  • the signal switcher 32 performs an operational state of the light source 94.
  • the operational amplifier 33 performs conversion matching of luminance voltages.
  • the driver 34 drives the light source 94 and controls the power of the output.
  • the output feedback circuit 35 acquires an operating state of the light source 94.
  • the light source power source 93 is connected to the driver 34, thus realizing the separation of the control circuit from the circuit of the drive circuit to accommodate the light source 94 of various rated voltages.
  • the driving chip used by the driver 34 can directly output the voltage corresponding to the brightness value of the light source, does not require multi-stage capacitance for filtering, and eliminates the capacitive delay of the output terminal to cause response lag.
  • the signal switcher 32 uses the signal switching chip to control the light source to be turned off, can achieve a high stroboscopic frequency, and improves the response performance of the light source controller.
  • the light source adjusting device can realize smooth output voltage and current through the light source controller 100, and prevent the light source from working in a high frequency bright and dark change that is unrecognizable by the human eye.
  • the SPI bus 60 is a high speed, full duplex, synchronous communication bus.
  • the microcontroller 20 and the respective digital to analog converters 32 of each of the channel light source modules 30 are connected to the SPI bus 60 for communication.
  • the IO module 50 is an input and output module that controls the exchange of the light source controller 100 with external information.
  • the microcontroller 20 controls one of the channel light source modules 30 as an example.
  • the microcontroller 20 loads data such as luminance values, operation modes, and the like of the light source 94 of each channel stored therein.
  • data such as the brightness value, the operating mode, and the like of the light source 94 are transmitted by the host computer 91 to the microcontroller 20 through the RS232 transceiver 10.
  • the brightness value, the operation mode, and the like of the light source 94 are externally set to the internal memory by the microcontroller 20 or externally input to the light source controller 100 by a command of the upper computer 91.
  • the microcontroller is externally set to the internal memory by the microcontroller 20 or externally input to the light source controller 100 by a command of the upper computer 91.
  • the adjustment of the operating state of the light source 94 to adjust the brightness of the light source 94 is an example, and those skilled in the art will appreciate that this aspect is by way of example only, and the present invention is not Subject to this restriction.
  • the host computer 91 sends a command to illuminate the light source 94 to the microcontroller 20 through the RS232 transceiver 10, or the external trigger source 92 will illuminate the command of the light source 94.
  • the microcontroller 20 is sent by the optocoupler isolation module 40.
  • the microcontroller 20 transmits the received signal to the signal switch 32, the signal switch 32 turns the internal electronic switch to an analog input pin, and outputs the light source luminance of the light source 94.
  • the operational amplifier 33 is given. It will be appreciated that in this preferred embodiment of the invention, the command received by the microcontroller 20 is exemplified by illuminating the light source 94, although the invention is not limited in this respect.
  • the operational amplifier 33 scales the light source luminance analog quantity of the light source 94 to match the operational needs of the driver 34.
  • driver 34 drives the light source 94 to operate in accordance with the input signal.
  • the output feedback circuit 35 is connected in series between the driver 34 and the light source 94, and outputs an operating state of the light source 94 to the microcontroller 20, the microcontroller 20 according to a feedback pair
  • the light source brightness value of the light source 94 is fine tuned.
  • the source power source 93 supplies power to the driver 34 such that the source controller 100 controls the source 94 of different voltage ratings.
  • FIGS. 2 to 4 A flowchart of the program of the light source controller 100 is shown in FIGS. 2 to 4.
  • the light source controller 100 reads the light source data of the light source 94 stored therein or inputs the set light source data through the upper computer 91.
  • the light source data may be a digital quantity of each physical information of the light source 94, such as a brightness value, a color temperature value, a light source color, and the like, as needed.
  • the light source controller 100 then performs a scan based on the light source data cycles and executes an interrupt generation command.
  • FIG. 3 when the external trigger source 92 generates an external trigger interrupt, the light source controller 100 generates an operational state command to change the light source 94.
  • FIG. 3 when the external trigger source 92 generates an external trigger interrupt, the light source controller 100 generates an operational state command to change the light source 94.
  • the light source controller 100 determines the command type of the upper computer 91 or the external trigger source 92, and according to the command type, for example, according to the light source state change command of the light source 94, Generating a light source operation state command for changing the light source 94; or generating a parameter command for changing the light source controller 100 according to the parameter change of the light source controller 100. It is to be understood by those skilled in the art that the flowchart of the program shown in FIG. 2 to FIG. 4 is merely an example, and there may be corresponding reasonable modifications in other embodiments, and the present invention is not limited in this respect.
  • the camera module can recognize objects of different shapes and colors under the condition that no one is adjusted.
  • the light source 94 may be implemented as an LED in a preferred embodiment, but may be other types of light sources in other embodiments, and the invention is not so limited.
  • a light source control method of the light source controller 100 comprising the following steps:
  • the microcontroller 20 of the light source controller 100 sends a digital quantity of the operating state of the light source 94 to the digital-to-analog converter 31 through the SPI bus 60;
  • the digital-to-analog converter 31 converts the digital quantity of the operating state of the light source 94 into an analog quantity and inputs the 32-signal switcher;
  • the output feedback circuit 35 outputs the operational state of the light source 94 to the microcontroller 20, which adjusts the operational state of the light source 94 based on feedback.
  • the step (A) further includes the step of: the microcontroller 20 reading digital data of the working state of each of the light sources 94 of each of the light source channel modules 30 that are internally accessed.
  • the step (A) further includes the step of: sending, by the host computer 91, digital data of an operating state of each of the light sources 94 to the microcontroller 20 through the RS232 transceiver 10.
  • the step (A) further includes the step of: the external trigger source 92 transmitting digital data of the working state of each of the light sources 94 to the microcontroller 20 through the optocoupler isolation module 40.
  • the method further includes the step of: serial port interrupting, and the light source controller 100 determines the command type.
  • the method further includes the step of: setting, by the light source controller 100, a parameter change, and generating a parameter command for changing the light source controller 100.

Landscapes

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

Abstract

一种光源调节装置及其光源控制器和光源控制方法,所述光源调节装置包括至少一光源控制器(100)以及至少一光源(94),所述光源控制器(100)控制并调节所述光源(94),所述光源控制器(100)包括至少一微控制器(20)以及至少一通道光源模块(30),各所述通道光源模块(30)被连接于各所述光源(94),所述微控制器(20)通过各所述通道光源模块(30)控制并调节各所述光源(94)的工作状态。能够将光源的工作状态例如亮度的数字量转换成模拟量,从而使光源的工作状态的调整可量化,精度高。能够消除输出端的电容充电导致响应迟滞,提高光源控制器的响应性能,可同时控制同一光源内的不同灯组,在不换光源的情况下,实现光源的工作状态例如色温、亮度、颜色等的精确变化。

Description

光源调节装置及其光源控制器和光源控制方法 技术领域
本发明涉及光源控制领域,尤其涉及LED驱动的一种输出稳定,高精度的光源调节装置。
背景技术
传统的光源控制器主要以模拟式和PWM(脉冲宽度调制)数字方式控制光源亮度,模拟式既手动旋钮方式,PWM方式既通过控制脉冲占空比来控制光源亮度。
在普通应用方面,传统的光源控制器可为机器视觉相机补光灯进行供电,控制补光灯的亮度和工作状态,还可通过信号控制光源控制器频闪,以适应应用需求,并且能够延长光源寿命。模拟式调光器只能通过人工调整亮度,不能通过软件根据图像质量调整亮度,同时亮度不能量化,亮度准确性不高,图像质量差。PWM数字方式可通过软件自动调节亮度,但因采用PWM调压方式,输出电压或电流不平滑,亮度易产生波动,对图像质量有一定影响。针对同一相机和光源拍摄颜色不同的多种物体,传统模拟式和PWM数字方式控制器就不能胜任。
在特殊应用当面,由于摄像模组行业不断发展,像素不断提高,模组组装、测试环节对图像采集对象的亮度、色温的准确度要求也越来越高,同时还存在同一模组需要在不同的亮度、色温情况下多次测试的要求。模拟式无法量化,较难把握亮度和色温。PWM数字方式控制光源,因输出电压或电流不平滑,易使摄像模组图像产生波纹,严重影响产品品质。
发明内容
本发明的目的在于提供一种光源调节装置及其光源控制器和光源控制方法,所述光源调节装置包括至少一光源控制器,所述光源控制器的至少一数据转换器将光源的工作状态例如亮度的数字量转换成模拟量,从而使光源的工作状态的调整可量化,精度高。
本发明的另一目的在于提供一种光源调节装置及其光源控制器和光源控制方法,所述光源控制器的至少一驱动器采用的驱动芯片可直接输出光源亮度值对应的电压,不需要多级电容进行滤波,同时消除了输出端的电容充电导致响应迟滞。
本发明的另一目的在于提供一种光源调节装置及其光源控制器和光源控制方法,所述光源控制器的至少一信号切换器采用信号切换芯片控制光源亮灭,可达到很高的频闪频率,提高了光源控制器的响应性能。
本发明的另一目的在于提供一种光源调节装置及其光源控制器和光源控制方法,所述光源控制器的至少一运算方法器将光源的工作状态信号例如亮度信号放大,以匹配所述驱动器的驱动芯片的工作特性。
本发明的另一目的在于提供一种光源调节装置及其光源控制器和光源控制方法,所述光源控制器可同时控制同一光源内的不同灯组,在不换光源的情况下,实现光源的工作状态例如色温、亮度、颜色等的精确变化。
本发明的另一目的在于提供一种光源调节装置及其光源控制器和光源控制方法,所述光源控制器能够实现控制电路与驱动电路的电源分离,以适应各种额定电压的光源。
本发明的另一目的在于提供一种光源调节装置及其光源控制器和光源控制方法,能够实现输出平滑的电压和电流,防止光源以一种人眼无法识别的高频亮暗变化中工作。
为了实现上述至少一个目的,本发明提供了一种光源调节装置,包括:至少一光源控制器以及至少一光源,所述光源控制器控制并调节所述光源,所述光源控制器包括至少一微控制器以及至少一通道光源模块,各所述通道光源模块被连接于各所述光源,所述微控制器通过各所述通道光源模块控制并调节各所述光源的工作状态。
在一些实施例中,所述光源控制器的各所述通道光源模块还包括至少一数模转换器、至少一信号切换器、至少一运算放大器、至少一驱动器以及至少一输出反馈电路,所述微控制器将接收的各所述光源的工作状态的信号发送给所述信号切换器,所述数模转换器将所述光源的工作状态数字量转换为模拟量后输出给所述信号切换器,所述信号切换器所述光源的模拟量输出给所述运算放大器,所述运算放大器将所述光源的模拟量进行比例放大,所述驱动器根据输入的信号驱动 所述光源,所述输出反馈电路被串联于所述驱动器和所述光源之间,将所述光源的工作状态输出给所述微控制器,所述微控制器根据反馈对所述光源进行调整。
在一些实施例中,所述光源调节装置还包括至少一光源电源,各所述光源电源被连接于所述驱动器,且对所述驱动器进行供电。
在一些实施例中,所述光源控制器还包括至少一SPI总线,所述微控制器将所述光源的工作状态的数字量通过所述SPI总线发送给对应的各所述数模转换器。
在一些实施例中,所述光源控制器还包括至少一IO模块,各所述信号切换器以及各所述输出反馈电路分别连接于所述IO模块。
在一些实施例中,所述光源控制器还包括至少一IO模块,各所述通道光源模块被并联连接于所述IO模块。
在一些实施例中,所述光源调节装置还包括至少一RS232收发器以及至少一上位机,所述RS232收发器被连接于所述上位机和所述微控制器之间,所述上位机通过所述RS232收发器发送命令至所述微控制器。
在一些实施例中,所述光源的工作状态的数字量由所述上位机通过所述RS232收发器发送给所述微控制器。
在一些实施例中,所述光源调节装置还包括至少一光耦隔离模块以及至少一外部触发源,所述光耦隔离模块被连接于所述外部触发源以及所述微控制器之间,所述外部触发源通过所述光耦隔离模块发送命令至所述微控制器。
在一些实施例中,所述光源的工作状态的数字量由所述外部触发源通过所述光耦隔离模块发送给所述微控制器。
根据本发明的另一方面,本发明还提供了一种光源控制器,用于控制并调节至少一光源,所述光源控制器包括至少一微控制器以及至少一通道光源模块,各所述通道光源模块被连接于各所述光源,所述微控制器通过各所述通道光源模块控制并调节各所述光源的工作状态。
在一些实施例中,所述驱动器还连接有至少一光源电源,所述光源电源对所述驱动器进行供电。
本发明还提供了一种光源控制方法,用于控制至少一光源,所述光源控制方法包括以下步骤:
(A)至少一光源控制器的至少一微控制器将所述光源的工作状态的数字量 通过至少一SPI总线发送至所述光源控制器的至少一数模转换器;
(B)所述数模转换器将所述光源的工作状态的数字量转换为模拟量;
(C)所述光源的工作状态的模拟量被输出至所述光源控制器的至少一运算放大器;
(D)所述运算放大器将所述光源的工作状态的模拟量进行比例放大;
(E)所述光源控制器的至少一驱动器根据输入的模拟量信号驱动所述光源进行工作;以及
(F)所述光源控制器的至少一输出反馈电路将所述光源的工作状态输出给所述微控制器,所述微控制器根据反馈对所述光源的工作状态进行调整。
在一些实施例中,所述步骤(C)还包括步骤:所述光源控制器的至少一信号切换器将所述光源的工作状态的模拟量输出至所述光源控制器的所述运算放大器。
在一些实施例中,所述步骤(A)还包括步骤:所述微控制器读取内部存取的各光源通道的各所述光源的工作状态的数字量的数据。
在一些实施例中,所述步骤(A)还包括步骤:至少一上位机通过至少一RS232收发器发送各所述光源的工作状态的数字量的数据至所述微控制器。
在一些实施例中,所述步骤(A)还包括步骤:至少一外部触发源通过至少一光耦隔离模块发送各所述光源的工作状态的数字量的数据至所述微控制器。
在一些实施例中,还包括步骤:串口中断,所述光源控制器判断命令类型。
在一些实施例中,还包括步骤:所述光源的光源状态变更命令.
在一些实施例中,还包括步骤:所述光源控制器生成变更所述光源的光源工作状态命令。
在一些实施例中,还包括步骤:所述光源控制器设置参数变更。
在一些实施例中,还包括步骤:生成变更所述光源控制器参数命令。
附图说明
图1是根据本发明的一个优选实施例的一光源调节装置的模块示意图。
图2是根据本发明的上述优选实施例的所述光源调节装置的一光源控制器的流程示意图。
图3是根据本发明的上述优选实施例的所述光源调节装置的所述光源控制器 的流程示意图。
图4是根据本发明的上述优选实施例的所述光源调节装置的所述光源控制器的流程示意图。
具体实施方式
以下描述用于揭露本发明以使本领域技术人员能够实现本发明。以下描述中的优选实施例只作为举例,本领域技术人员可以想到其他显而易见的变型。在以下描述中界定的本发明的基本原理可以应用于其他实施方案、变形方案、改进方案、等同方案以及没有背离本发明的精神和范围的其他技术方案。
本领域技术人员应理解的是,在本发明的揭露中,术语“纵向”、“横向”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”等指示的方位或位置关系是基于附图所示的方位或位置关系,其仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此上述术语不能理解为对本发明的限制。
可以理解的是,术语“一”应理解为“至少一”或“一个或多个”,即在一个实施例中,一个元件的数量可以为一个,而在另外的实施例中,该元件的数量可以为多个,术语“一”不能理解为对数量的限制。
参照附图中图1至图4所示,基于本发明的一优选实施例的一光源调节装置被阐释。所述数字型光源调节装置包括一上位机91、一外部触发源92、一光源94、一光源电源93以及一光源控制器100。所述上位机91、所述外部触发器92、所述光源电源93以及所述光源94被连接于所述光源控制器100。所述光源控制器100根据所述上位机91以及所述外部触发源92的命令,调节所述光源94。
进一步地,所述光源控制器100包括一RS232收发器10、一微控制器20、一通道光源模块30、一光耦隔离模块40、一IO(Input/output,输入/输出)模块50以及一SPI(Serial Peripheral Interface,串行外设接口)总线60。所述RS232收发器10被连接于所述微控制器20以及所述上位机91。所述微控制器20通过所述IO模块50以及所述SPI总线60和各所述通道光源模块30进行通信。本发明的所述光源控制器100可以包括多个所述通道光源模块30,且各所述通道光源模块30被并联连接于所述IO模块50以及所述SPI总线60,以与所述微控制器20进行通信。此外,所述光源调节装置还可以包括多个数量和所述通道光源 模块30的数量对应的所述光源94以及多个所述光源电源93,各所述光源94以及各所述光源电源93被分别连接于各所述通道光源模块30,从而所述光源控制器100能够通过所述微控制器20以及各所述所述通道光源模块30控制各所述光源。例如,可以控制同一光源内的不同灯组,在不换光源的情况下,实现色温、亮度以及颜色等的精确变化。
进一步地,各所述通道光源模块30包括一数模转换器31、一信号切换器32、一运算放大器33、一驱动器34以及一输出反馈电路35。所述信号切换器32以及所述输出反馈电路35分别连接于所述IO模块50,便于通信。所述数模转换器31被连接于所述SPI总线60,所述信号切换器32被连接于所述数模转换器31,所述运算放大器33被连接于所述驱动器34,所述驱动器34被连接于所述输出反馈电路35,所述光源94被连接于所述输出反馈电路35。
所述微控制器20通过各所述通道光源模块30控制各光源94的光源亮度值、工作状态,同时根据所述上位机91以及外部触发源92的命令来改变各光源94的亮度和工作状态。所述数模转换器31根据所述微控制器20输出的光源亮度数字量转换为亮度电压模拟量,从而使所述光源94的亮度调整可量化,精度高。所述信号切换器32执行所述光源94的工作状态.所述运算放大器33进行亮度电压的转换匹配。所述驱动器34驱动所述光源94,并控制输出的功率。所述输出反馈电路35采集所述光源94的工作状态。
值得一提的是,所述光源电源93被连接于所述驱动器34,这样实现了控制电路与驱动电路的电路分离,以适应各种额定电压的所述光源94。
值得一提的是,所述驱动器34采用的驱动芯片可直接输出光源亮度值对应的电压,不需要多级电容进行滤波,同时消除了输出端的电容充电导致响应迟滞。
值得一提的是,所述信号切换器32采用信号切换芯片控制光源亮灭,可达到很高的频闪频率,提高了光源控制器的响应性能。
值得一提的是,所述光源调节装置通过所述光源控制器100能够实现输出平滑的电压和电流,防止光源以一种人眼无法识别的高频亮暗变化中工作。
所述SPI总线60为高速的,全双工,同步的通信总线,所述微控制器20以及各所述通道光源模块30的各数模转换器32被连接于所述SPI总线60以进行通信。所述IO模块50为输入输出模块,控制所述光源控制器100与外界信息的交换。
可以理解的是,所述上位机91是相对于所述光源控制器100而言,指可以直接发出操控命令的主机。所述光源控制器100作为下位机是直接控制各所述光源94,所述上位机91发出的命令首先给所述光源控制器100,所述光源控制器100再根据此命令解释成相应时序信号直接控制相应所述光源94。所述光源控制器100读取所述光源94的状态数据(一般为模拟量),通过所述光源控制器100的所述数模转换器31转换成数字信号反馈给所述上位机91。
更具体地,以所述微控制器20控制其中一个所述通道光源模块30为例说明。首先所述微控制器20加载内部存储的各通道的所述光源94的亮度值、工作模式等数据。或者为可替代地,所述光源94的亮度值、工作模式等数据由所述上位机91通过所述RS232收发器10发送给所述微控制器20。换句话说,所述光源94的亮度值、工作模式等数据是通过所述微控制器20提前设置于内部储存器或者是通过所述上位机91的命令从外部输入给所述光源控制器100的所述微控制器的。本发明的这个优选实施例中所述光源94的工作状态的调整以调节所述光源94的亮度值为例,本领域的技术人员可以理解的是,这一方面仅仅作为举例,本发明并不受此限制。
进一步地,所述微控制器20将所述光源94的光源亮度值的数字量通过所述SPI总线40发送给对应的所述数模转换器31,所述数模转换器31将所述光源94的光源亮度值转换成模拟量后输出给所述信号切换器32,为所述光源94的被点亮做准备。
进一步地,所述上位机91将点亮所述光源94的命令通过所述RS232收发器10发送给所述微控制器20,或者,所述外部触发源92将点亮所述光源94的命令通过所述光耦隔离模块40发送给所述微控制器20。所述微控制器20将接收的信号发送给所述信号切换器32,所述信号切换器32将内部电子开关导通至模拟量输入引脚,并将所述光源94的光源亮度模拟量输出给所述运算放大器33。可以理解的是,在本发明的这个优选实施例中,所述微控制器20接收的命令是以点亮所述光源94为例,但是本发明在这一方面并不受此限制。
进一步地,所述运算放大器33将所述光源94的光源亮度模拟量进行比例放大,以匹配所述驱动器34的工作需要。
进一步地,所述驱动器34根据输入的信号驱动所述光源94进行工作。
进一步地,所述输出反馈电路35被串联于所述驱动器34和所述光源94之 间,将所述光源94的工作状态输出给所述微控制器20,所述微控制器20根据反馈对所述光源94的光源亮度值进行微调。
值得一提的是,在本发明的这个优选实施例中,所述光源电源93为所述驱动器34供电,从而使所述光源控制器100控制不同额定电压的所述光源94。
如图2至图4所示为所述光源控制器100的程序流程图。如图2所示,所述光源控制器100读取内部存储的所述光源94的光源数据或者通过所述上位机91输入设置的光源数据。这些光源数据根据需要可以是所述光源94的各物理信息的数字量,例如亮度值、色温值、光源颜色等等数据。之后所述光源控制器100根据这些光源数据循环进行扫描、执行中断生成命令。如图3所示,当所述外部触发源92产生外部触发中断,所述光源控制器100生成变更所述光源94的工作状态命令。如图4所示,当执行串口中断,所述光源控制器100判断所述上位机91或者所述外部触发源92的命令类型,根据命令类型,例如根据所述光源94的光源状态变更命令,生成变更所述光源94的光源工作状态命令;或者根据所述光源控制器100设置参数变更,生成变更所述光源控制器100参数命令。本领域的技术人员可以理解的是,图2至图4所示的程序流程图仅仅作为举例,在其他实施例中还可以有相应合理变形,本发明在这一方面并不受此限制。
值得一提的是,当所述光源调节装置被用于摄像模组时,能够实现所述摄像模组在无人为调整的情况下可对不同形状、不同颜色的物体进行识别。
可以理解的是,所述光源94在优选实施例中可以被实施例LED,但是在其他实施例中还可以是其他类型的光源,本发明并不受此限制。
根据本发明的另一方面,还提供了所述光源控制器100的一种光源控制方法,所述光源控制方法包括以下步骤:
(A)所述光源控制器100的所述微控制器20将所述光源94的工作状态的数字量通过所述SPI总线60发送至所述数模转换器31;
(B)所述数模转换器31将所述光源94的工作状态的数字量转换为模拟量后输入所述32信号切换器;
(C)所述信号切换器32将所述光源94的工作状态的模拟量输出至所述运算放大器33;
(D)所述运算放大器33将所述光源94的工作状态的模拟量进行比例放大;
(E)所述驱动器34根据输入的模拟量信号驱动所述光源94进行工作;以 及
(F)所述输出反馈电路35将所述光源94的工作状态输出给所述微控制器20,所述微控制器20根据反馈对所述光源94的工作状态进行调整。
其中,所述步骤(A)还包括步骤:所述微控制器20读取内部存取的各光源通道模块30的各所述光源94的工作状态的数字量的数据。
其中,所述步骤(A)还包括步骤:所述上位机91通过所述RS232收发器10发送各所述光源94的工作状态的数字量的数据至所述微控制器20。
其中,所述步骤(A)还包括步骤:所述外部触发源92通过所述光耦隔离模块40发送各所述光源94的工作状态的数字量的数据至所述微控制器20。
其中,还包括步骤:串口中断,所述光源控制器100判断命令类型。
其中,还包括步骤:所述光源94的光源状态变更命令,所述光源控制器100生成变更所述光源94的光源工作状态命令。
其中,还包括步骤:所述光源控制器100设置参数变更,生成变更所述光源控制器100参数命令。
本领域的技术人员应理解,上述描述及附图中所示的本发明的实施例只作为举例而并不限制本发明。本发明的目的已经完整并有效地实现。本发明的功能及结构原理已在实施例中展示和说明,在没有背离所述原理下,本发明的实施方式可以有任何变形或修改。

Claims (26)

  1. 一种光源调节装置,其特征在于,包括:至少一光源控制器以及至少一光源,所述光源控制器控制并调节所述光源,所述光源控制器包括至少一微控制器以及至少一通道光源模块,各所述通道光源模块被连接于各所述光源,所述微控制器通过各所述通道光源模块控制并调节各所述光源的工作状态。
  2. 如权利要求1所述的光源调节装置,其中所述光源控制器的各所述通道光源模块还包括至少一数模转换器、至少一信号切换器、至少一运算放大器、至少一驱动器以及至少一输出反馈电路,所述微控制器将接收的各所述光源的工作状态的信号发送给所述信号切换器,所述数模转换器将所述光源的工作状态数字量转换为模拟量后输出给所述信号切换器,所述信号切换器所述光源的模拟量输出给所述运算放大器,所述运算放大器将所述光源的模拟量进行比例放大,所述驱动器根据输入的信号驱动所述光源,所述输出反馈电路被串联于所述驱动器和所述光源之间,将所述光源的工作状态输出给所述微控制器,所述微控制器根据反馈对所述光源进行调整。
  3. 如权利要求2所述的光源调节装置,其中所述光源调节装置还包括至少一光源电源,各所述光源电源被连接于所述驱动器,且对所述驱动器进行供电。
  4. 如权利要求2所述的光源调节装置,其中所述光源控制器还包括至少一SPI总线,所述微控制器将所述光源的工作状态的数字量通过所述SPI总线发送给对应的各所述数模转换器。
  5. 如权利要求2所述的光源调节装置,其中所述光源控制器还包括至少一IO模块,各所述信号切换器以及各所述输出反馈电路分别连接于所述IO模块。
  6. 如权利要求1至4中任一所述的光源调节装置,其中所述光源控制器还包括至少一IO模块,各所述通道光源模块被并联连接于所述IO模块。
  7. 如权利要求1至4中任一所述的光源调节装置,其中所述光源调节装置还包 括至少一RS232收发器以及至少一上位机,所述RS232收发器被连接于所述上位机和所述微控制器之间,所述上位机通过所述RS232收发器发送命令至所述微控制器。
  8. 如权利要求7所述的光源调节装置,其中所述光源的工作状态的数字量由所述上位机通过所述RS232收发器发送给所述微控制器。
  9. 如权利要求1至4中任一所述的光源调节装置,其中所述光源调节装置还包括至少一光耦隔离模块以及至少一外部触发源,所述光耦隔离模块被连接于所述外部触发源以及所述微控制器之间,所述外部触发源通过所述光耦隔离模块发送命令至所述微控制器。
  10. 如权利要求9所述的光源调节装置,其中所述光源的工作状态的数字量由所述外部触发源通过所述光耦隔离模块发送给所述微控制器。
  11. 一种光源控制器,用于控制并调节至少一光源,其特征在于,所述光源控制器包括至少一微控制器以及至少一通道光源模块,各所述通道光源模块被连接于各所述光源,所述微控制器通过各所述通道光源模块控制并调节各所述光源的工作状态。
  12. 如权利要求11所述的光源控制器,其中所述光源控制器的各所述通道光源模块还包括至少一数模转换器、至少一信号切换器、至少一运算放大器、至少一驱动器以及至少一输出反馈电路,所述微控制器将接收的各所述光源的工作状态的信号发送给所述信号切换器,所述数模转换器将所述光源的工作状态数字量转换为模拟量后输出给所述信号切换器,所述信号切换器所述光源的模拟量输出给所述运算放大器,所述运算放大器将所述光源的模拟量进行比例放大,所述驱动器根据输入的信号驱动所述光源,所述输出反馈电路被串联于所述驱动器和所述光源之间,将所述光源的工作状态输出给所述微控制器,所述微控制器根据反馈对所述光源进行调整。
  13. 如权利要求12所述的光源控制器,其中所述驱动器还连接有至少一光源电源,所述光源电源对所述驱动器进行供电。
  14. 如权利要求11所述的光源控制器,其中所述光源控制器还包括至少一SPI总线,所述微控制器将所述光源的工作状态的数字量通过所述SPI总线发送给对应的各所述数模转换器。
  15. 如权利要求12所述的光源控制器,其中所述光源控制器还包括至少一IO模块,各所述信号切换器以及各所述输出反馈电路分别连接于所述IO模块。
  16. 如权利要求11至14中任一所述的光源控制器,其中所述光源控制器还包括至少一IO模块,各所述通道光源模块被并联连接于所述IO模块。
  17. 一种光源控制方法,用于控制至少一光源,其特征在于,所述光源控制方法包括以下步骤:
    (A)至少一光源控制器的至少一微控制器将所述光源的工作状态的数字量通过至少一SPI总线发送至所述光源控制器的至少一数模转换器;
    (B)所述数模转换器将所述光源的工作状态的数字量转换为模拟量;
    (C)所述光源的工作状态的模拟量被输出至所述光源控制器的至少一运算放大器;
    (D)所述运算放大器将所述光源的工作状态的模拟量进行比例放大;
    (E)所述光源控制器的至少一驱动器根据输入的模拟量信号驱动所述光源进行工作;以及
    (F)所述光源控制器的至少一输出反馈电路将所述光源的工作状态输出给所述微控制器,所述微控制器根据反馈对所述光源的工作状态进行调整。
  18. 如权利要求17所述的光源控制方法,其中所述步骤(C)还包括步骤:所述光源控制器的至少一信号切换器将所述光源的工作状态的模拟量输出至所述光源控制器的所述运算放大器。
  19. 如权利要求17所述的光源控制方法,其中所述步骤(A)还包括步骤:所述微控制器读取内部存取的各光源通道的各所述光源的工作状态的数字量的数据。
  20. 如权利要求17所述的光源控制方法,其中所述步骤(A)还包括步骤:至少一上位机通过至少一RS232收发器发送各所述光源的工作状态的数字量的数据至所述微控制器。
  21. 如权利要求17所述的光源控制方法,其中所述步骤(A)还包括步骤:至少一外部触发源通过至少一光耦隔离模块发送各所述光源的工作状态的数字量的数据至所述微控制器。
  22. 如权利要求17所述的光源控制方法,还包括步骤:串口中断,所述光源控制器判断命令类型。
  23. 如权利要求22所述的光源控制方法,还包括步骤:所述光源的光源状态变更命令。
  24. 如权利要求23所述的光源控制方法,还包括步骤:所述光源控制器生成变更所述光源的光源工作状态命令。
  25. 如权利要求22所述的光源控制方法,还包括步骤:所述光源控制器设置参数变更。
  26. 如权利要求25所述的光源控制方法,还包括步骤:生成变更所述光源控制器参数命令
PCT/CN2017/117088 2016-12-22 2017-12-19 光源调节装置及其光源控制器和光源控制方法 WO2018113647A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201611194807.9 2016-12-22
CN201611194808.3A CN108235530A (zh) 2016-12-22 2016-12-22 光源控制方法
CN201611194807.9A CN108235493B (zh) 2016-12-22 2016-12-22 光源调节装置及其光源控制器
CN201611194808.3 2016-12-22

Publications (1)

Publication Number Publication Date
WO2018113647A1 true WO2018113647A1 (zh) 2018-06-28

Family

ID=62624422

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/117088 WO2018113647A1 (zh) 2016-12-22 2017-12-19 光源调节装置及其光源控制器和光源控制方法

Country Status (1)

Country Link
WO (1) WO2018113647A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866458A (zh) * 2020-07-14 2020-10-30 深圳市瑞意博医疗设备有限公司 一种毒麻药品三期码复核装置
CN113110258A (zh) * 2021-05-21 2021-07-13 华自科技股份有限公司 一种控制系统及控制装置的冗余切换方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070102439A (ko) * 2006-04-14 2007-10-18 주식회사 필룩스 조명장치의 연색성 보정 장치 및 방법
CN101918894A (zh) * 2008-03-26 2010-12-15 半导体元件工业有限责任公司 形成用于照相机的闪光控制器的方法及其结构
CN202889708U (zh) * 2012-09-18 2013-04-17 深圳市科创新时代电子有限公司 一种基于嵌入式系统的光源控制器
CN105263212A (zh) * 2015-09-10 2016-01-20 上海卓易科技股份有限公司 一种调节手机闪光灯的方法及系统
CN205247027U (zh) * 2015-09-10 2016-05-18 上海傲蕊光电科技有限公司 灯光发生器、影像设备及影像系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070102439A (ko) * 2006-04-14 2007-10-18 주식회사 필룩스 조명장치의 연색성 보정 장치 및 방법
CN101918894A (zh) * 2008-03-26 2010-12-15 半导体元件工业有限责任公司 形成用于照相机的闪光控制器的方法及其结构
CN202889708U (zh) * 2012-09-18 2013-04-17 深圳市科创新时代电子有限公司 一种基于嵌入式系统的光源控制器
CN105263212A (zh) * 2015-09-10 2016-01-20 上海卓易科技股份有限公司 一种调节手机闪光灯的方法及系统
CN205247027U (zh) * 2015-09-10 2016-05-18 上海傲蕊光电科技有限公司 灯光发生器、影像设备及影像系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866458A (zh) * 2020-07-14 2020-10-30 深圳市瑞意博医疗设备有限公司 一种毒麻药品三期码复核装置
CN113110258A (zh) * 2021-05-21 2021-07-13 华自科技股份有限公司 一种控制系统及控制装置的冗余切换方法
CN113110258B (zh) * 2021-05-21 2022-04-05 华自科技股份有限公司 一种控制系统及控制装置的冗余切换方法

Similar Documents

Publication Publication Date Title
RU2009126568A (ru) Система и способ для управления освещением
CN104717781B (zh) 调光装置以及调光方法
CN103747576B (zh) 一种led背光源驱动电路及其驱动方法
US20200077484A1 (en) LED Dimming Method, Regulatable LED Driver, Electronic Apparatus and Readable Storage Medium
EP3310133B1 (en) Led driver, lighting device and led based lighting application
WO2018113647A1 (zh) 光源调节装置及其光源控制器和光源控制方法
WO2012055283A1 (zh) 光源控制方法、装置及系统
JP2007123277A (ja) 放電ランプの駆動装置及び駆動方法
CN209787523U (zh) Led驱动电路和led灯具
US20150296577A1 (en) Ceiling Fan Device with LED Lamp
CN101635131B (zh) 背光驱动电路及光源驱动单元
CN108064106A (zh) 基于远程控制的多路智能调光控制模块及控制方法
CN203378124U (zh) 具有单降压转换器的投影机led光源驱动模块
US10624180B1 (en) USB-powered lamp strip controller
CN101610622B (zh) 发光二极管光源系统
CN105792418B (zh) 一种智能光源控制器
CN103379713B (zh) 调光电路
CN108235493B (zh) 光源调节装置及其光源控制器
CN103533722A (zh) Led调光灯装置
US20110193485A1 (en) Poly-chromatic light-emitting diode (LED) lighting system
CN109729614A (zh) 控制器、光源驱动电路及控制光源模块的方法
KR101510834B1 (ko) 조립식 전원 공급 모듈
CN212435980U (zh) 调光驱动电路和照明装置
US9204515B2 (en) Light source module, light source module driving circuit and driving method
CN112055444A (zh) 调光驱动电路和照明装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17882402

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17882402

Country of ref document: EP

Kind code of ref document: A1