The invention provides a pulse width modulation automatic power control method and a system of a luminous device. The method includes: setting the preset pulse width of the light-emitting driving input signal through the pulse width modulation module; transmitting the light-emitting driving input signal to the light-emitting driving module; the output signal of the light-emitting driving module drives the light-emitting module to light up; the pulse width modulation module detects the light-emitting time of the light-emitting module, and the light-emitting driving module drives the light-emitting when the light-emitting time reaches the preset pulse width The light module stops emitting. The invention adopts a pulse width modulation module to adjust the pulse width of the input signal input to the light-emitting drive module, so that the pulse width of the output signal of the light-emitting drive module is no longer determined by the pulse width of the input signal, which can not only effectively compensate the distortion of the optical drive signal caused by the external environment (such as temperature), but also realize automatic power control without changing the current of the light-emitting device, so as to avoid The influence of power change on ranging accuracy is avoided.
【技术实现步骤摘要】
一种脉宽调制的发光器自动功率控制方法及系统
本专利技术涉及发光器
,具体涉及一种脉宽调制的发光器自动功率控制方法及系统。
技术介绍
近些年来对于中短距离的高精度测距的需求越来越大,包括人脸识别,3D建模,安防监控,甚至是无人飞机或汽车的自动驾驶等等应用场景下,都需要用到高速高精度的距离测量。目前主流的测距方案如图1所示,大都是通过主动发光打到障碍物上并接收反射回来的光束,通过对发射光和反射光的某些特性进行比对,例如时间差,相位差等信息,从而换算得到距离信息。另外通过持续高速精确探测距离信息,还能实现对探测目标的识别,跟踪,速度监测甚至移动轨迹预判等人工智能化的操作。随着光学测距的民用需求越来越广,发光器的输出功率变得越来越高,应用环境也越来越苛刻,因此对发光器的抗干扰以及对人眼安全的要求也变得越来越高。越来越多的方案里尝试采用自动功率控制。现有的功率控制通常是调节驱动发光器的电流大小。但由于发光器本身以及发光驱动芯片对不同电流大小的响应速度很难做到完全一致,而这种不一致也会导致发光驱动芯片无法在所有功率挡位都满足测距精度的要求,因而需要矫正,而模组校正需要的时间成本很高。
技术实现思路
本专利技术所要解决的技术问题是,提供一种脉宽调制的发光器自动功率控制方法能补偿外界环境对光驱动信号的畸变,在不改变发光器电流的情况下实现自动功率控制,从而避免了功率改变对测距精度的影响,提高了测量精度。为了解决上述问题,本专利技术提供了一种脉宽调制的发光器自动功率控制方法,所述方法包括步骤:< ...
【技术保护点】
1.一种脉宽调制的发光器自动功率控制方法,其特征在于,所述方法包括步骤:/n通过脉宽调制模块设置发光驱动输入信号的预设脉宽;/n将所述发光驱动输入信号传输给发光驱动模块;/n所述发光驱动模块的输出信号驱动发光模块发光;/n所述脉宽调制模块检测发光模块发光的时间,当发光的时间达到预设脉宽时,发光驱动模块驱动发光模块停止发光。/n
【技术特征摘要】
1.一种脉宽调制的发光器自动功率控制方法,其特征在于,所述方法包括步骤:
通过脉宽调制模块设置发光驱动输入信号的预设脉宽;
将所述发光驱动输入信号传输给发光驱动模块;
所述发光驱动模块的输出信号驱动发光模块发光;
所述脉宽调制模块检测发光模块发光的时间,当发光的时间达到预设脉宽时,发光驱动模块驱动发光模块停止发光。
2.如权利要求1所述的脉宽调制的发光器自动功率控制方法,其特征在于,所述方法还包括步骤:
所述脉宽调制模块实时检测所述发光驱动模块的输出信号,使得所述发光驱动信号的输出信号的脉宽等于所述脉宽调制模块设置的预设脉宽。
3.如权利要求1所述的脉宽调制的发光器自动功率控制方法,其特征在于,所述方法还包括:
判断发光模块的输出光功率是否大于预设值,若是,则通过脉宽调制模块调节脉宽。
4.如权利要求2所述的脉宽调制的发光器自动功率控制方法,其特征在于,所述脉宽的开始时间由时钟系统产生的电压或者电流产生。
5.如权利要求4所述的脉宽调制的发光器自动功率控制方法,其特征在于,所述时钟系统包括锁相环或延时锁定回路。
...
【专利技术属性】
技术研发人员:潘扬,李丹,郭淦,严冬勤,
申请(专利权)人:炬佑智能科技苏州有限公司,
类型:发明
国别省市:江苏;32
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。