Disclosure of Invention
In order to solve the problems in the prior art, an embodiment of the present invention provides an electronic control infrared emitter adaptive driving device, where the electronic control infrared emitter adaptive driving device includes an input end, a logic controller, a memory, an output end, and a parameter acquisition execution terminal;
the parameter acquisition execution terminal comprises a temperature sensor, a voltage regulator, a current regulator, a frequency regulator, a voltage generator and a waveform generator;
the logic controller controls the electric control infrared emitter to adjust the output driving parameters from the driving device to the parameter acquisition execution terminal through the input control information.
As a further improvement of the embodiment of the present invention, the driving device is configured to receive control of the processor to drive the electrically controlled infrared light emitter to switch to any one of a frosted state, a half frosted state and a transparent state.
On one hand, the embodiment of the invention further discloses an infrared structure module which is applied to a 3D camera and comprises an electric control infrared transmitter, an infrared receiver and a processor of the electric control infrared transmitter self-adaptive driving device; the electronic control infrared light emitter comprises an infrared emitter and a battery pack;
the electric control infrared light emitter is used for outputting an infrared light image;
the infrared receiver is used for receiving an infrared light image;
the processor is used for controlling the opening or closing of the electric control infrared light emitter and the infrared receiver, and the processor is used for preprocessing the infrared light image and generating a 3D image through a preset algorithm.
On the other hand, the embodiment of the invention discloses a 3D camera which comprises the infrared structure module.
As a further improvement of the embodiment of the invention, the 3D camera is provided with a multipoint temperature sensor for sensing and collecting the temperature of the object to be shot, and determining whether the object to be shot is a living body together with the infrared light image.
In another aspect, an embodiment of the present invention further discloses an adaptive driving method for an electrically controlled infrared light emitter driving device, where the driving method includes the following steps:
s1, outputting an infrared light image by the electric control infrared light emitter;
s2, receiving the infrared light image by the infrared receiver;
s3, the processor analyzes the received infrared light image to generate infrared light image information and outputs control information to the logic controller;
and S4, the logic controller controls the electric control infrared light emitter driving device to adjust the output driving parameters to the execution terminal through the input control information.
As a further improvement of the embodiment of the present invention, the image information is infrared light image brightness information;
and the processor automatically adjusts the power of the electric control infrared light emitter according to the brightness information of the infrared light image.
As a further improvement of the embodiment of the present invention, the image information is infrared light image definition information;
and the processor automatically adjusts the haze of the electric control infrared light emitter according to the infrared light image definition information.
In another aspect, the invention further discloses a working method of the infrared structure module, the working method includes a self-driving method of the above-mentioned electrically-controlled infrared emitter driving device, and the processor controls the electrically-controlled infrared emitter driving device to drive the electrically-controlled infrared emitter to switch to a frosted state, a semi-frosted state or a transparent state.
As a further improvement of the embodiment of the invention, when the processor controls the electronic control infrared emitter driving device to be started to switch the electronic control infrared emitter into a frosted state or a semi-frosted state, the processor controls the electronic control infrared emitter to output a low-power infrared image;
when the processor controls the electric control infrared emitter driving device to switch the electric control infrared emitter into a transparent state, the processor controls the electric control infrared emitter to output a high-power infrared image.
As a further improvement of the embodiment of the invention, after the processor controls the electric control infrared emitter driving device to switch the electric control infrared emitter into a frosted state or a half frosted state, the processor controls to close the electric control infrared emitter driving device;
and after the processor preprocesses the received infrared light image, the processor starts the electric control infrared light emitter driving device again.
As a further improvement of the embodiment of the present invention, after the processor controls to turn off the electronic control infrared light emitter and the infrared receiver, the processor processes the infrared light image, and the 3D image is obtained through algorithm processing.
As a further improvement of the embodiment of the present invention, the infrared structural module is applied to a 3D camera; the 3D camera is provided with a multipoint temperature sensor and is used for sensing and collecting the temperature of a shot living body.
As a further improvement of the embodiment of the present invention, the infrared structural module is applied to a 3D camera; the 3D camera collects real-time temperatures of a plurality of temperature induction points for a plurality of times through a multipoint temperature sensor and calculates the average temperature T of a shot objectAverageWill calculate the resulting TAverageComparing with a preset living body temperature standard value in the system to obtain an absolute value of a difference value, and then comparing with a preset standard difference value delta TStandard of meritFor comparison, the calculation formula may be:
ΔT=|Taverage-TLiving body preset|
When Delta T is less than or equal to Delta TStandard of meritWhen the temperature is high, the shot object is regarded as a living body from the temperature judgment level; further combining the infrared light image for identification;
when Δ T > Δ TStandard of meritWhen the subject is not a living body, the subject is considered.
Used for sensing and acquiring the temperature of the photographed living body.
The invention has the following beneficial effects:
1. the module in the prior art adopts a mode of infrared light emitter + floodlight + RGB camera + infrared camera, and the emitter + floodlight device has higher cost, complex structure and larger size;
2. compared with the prior art, the technical scheme of the invention realizes high integration of TX drive and Cell drive, and the TXC drive can be realized by using one chip, so that the structure is simpler, the miniaturization and the low-cost application are facilitated, and the introduction of the TXC self-adaptive drive control method ensures that the application scene of the module is more flexible;
3. the novel infrared light structure module related in the embodiment of the invention optimizes optical components, saves a plurality of components on hardware, but the electric control infrared light emitter is driven by adopting a TX and Cell separation method, is not suitable for miniaturization application, does not form a closed loop with RX on control, and is not flexible to adjust after application scene changes.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides an electric control infrared light emitter self-adaptive driving device, which comprises an input end, a logic controller, a memory, an output end and a parameter acquisition execution terminal, wherein the input end is connected with the logic controller;
the parameter acquisition execution terminal comprises a temperature sensor, a voltage regulator, a current regulator, a frequency regulator, a voltage generator and a waveform generator;
the logic controller controls the electric control infrared emitter driving device to adjust the output driving parameters to the parameter acquisition execution terminal through the input control information.
And further, the driving device is used for receiving the control of the processor to drive the electric control infrared light emitter to be switched to any one of a frosted state, a half frosted state and a transparent state.
The output driving parameters can be flexibly adjusted through the control information input by the processor. The driving device has high integration level and complete functions, and meets various application requirements of TXC (electrically controlled infrared light emitter) driving.
The device is applied to a self-adaptive driving method of an infrared module, wherein after the TXC emits infrared light, the RX receives an infrared light image, and then the processor can automatically adjust the TXC power according to information such as image brightness and the like and can also automatically adjust the TXC haze according to information such as image definition and the like, so that the application scene is more flexible.
The embodiment of the invention further discloses an infrared structure module which is applied to a 3D camera and comprises an electric control infrared transmitter, an infrared receiver and a processor of the electric control infrared transmitter self-adaptive driving device; the electric control infrared light emitter comprises an infrared emitter and a battery pack;
the electronic control infrared light emitter is used for outputting an infrared light image;
an infrared receiver for receiving an infrared light image;
the processor is used for controlling the opening or closing of the electric control infrared light emitter and the electric control infrared receiver, and the processor is used for preprocessing the infrared light image and generating a 3D image through a preset algorithm.
On the other hand, the embodiment of the invention discloses a 3D camera which comprises the infrared structure module.
The 3D camera is provided with a multipoint temperature sensor and is used for sensing and collecting the temperature of a shot object and judging whether the shot object is a living body or not by combining an infrared light image.
In another aspect, an embodiment of the present invention further discloses a driving method for an electrically controlled infrared light emitter adaptive driving apparatus, where the driving method includes the following steps:
s1, outputting an infrared light image by the electric control infrared light emitter;
s2, receiving the infrared light image by the infrared receiver;
s3, the processor analyzes the received infrared light image to generate infrared light image information and outputs control information to the logic controller;
and S4, the logic controller controls the electric control infrared light emitter driving device to adjust the output driving parameters to the execution terminal through the input control information.
Wherein, the image information is the brightness information of the infrared light image;
the processor automatically adjusts the power of the electric control infrared light emitter according to the brightness information of the infrared light image.
Optionally, the image information is infrared light image definition information;
and the processor automatically adjusts the haze of the electric control infrared light emitter according to the definition information of the infrared light image.
In another aspect, the invention further discloses a working method of the infrared structure module, the working method includes a self-driving method of the electric control infrared emitter driving device, and the processor controls the electric control infrared emitter driving device to drive the electric control infrared emitter to be switched to a frosted state, a semi-frosted state or a transparent state.
Specifically, when the processor controls the electric control infrared light emitter driving device to be started to switch the electric control infrared light emitter into a frosted state or a semi-frosted state, the processor controls the electric control infrared light emitter to output a low-power infrared light image;
when the processor controls the electric control infrared emitter driving device to switch the electric control infrared emitter into a transparent state, the processor controls the electric control infrared emitter to output a high-power infrared image.
Or after the processor controls the electric control infrared emitter driving device to switch the electric control infrared emitter into a frosted state or a half frosted state, the processor controls the electric control infrared emitter driving device to be closed;
and after the processor preprocesses the received infrared light image, the processor starts the electric control infrared light emitter driving device again. The preprocessing includes filtering, binarization, noise reduction, and other operations, which are not described in detail herein.
And then after the processor controls to close the electric control infrared light emitter and the infrared receiver, the processor processes the infrared light image, and the 3D image is obtained through algorithm processing.
Optionally, the infrared structure module is applied to a 3D camera; in the embodiment of the invention, the 3D camera is provided with a multipoint temperature sensor which is used for sensing and collecting the temperature of a shot object and judging whether the shot object is a living body or not by combining an infrared light image; the multipoint acquisition ensures the accuracy and objectivity of temperature acquisition, a plurality of induction points can be uniformly distributed around the camera, specifically, the number of the induction points can be 10, and the acquisition of the induction points can be repeated, for example, 3 times, so as to obtain 30 temperature data;
the controller of the 3D camera is also provided with an average temperature calculation module and a temperature judgment module which are matched with the multipoint temperature sensor, and the calculation formula of the average temperature calculation module can be as follows:
the temperature judgment module calculates the obtained TAverageComparing with preset living body temperature standard value or living body temperature standard range in the system to obtain absolute value of difference value, and comparing with preset standard difference value delta TStandard of meritBy comparison, in the present embodiment, Δ TStandard of meritMay be set to 37.0; this standard deviation is, for example, 3 ℃ and the living body temperature standard range is 36.3 to 37.2; the specific calculation formula may be:
ΔT=|Taverage-TLiving body preset|
When Delta T is less than or equal to Delta TStandard of meritWhen the temperature is high, the shot object is regarded as a living body from the temperature judgment level; further combining the infrared light image for identification;
when Δ T > Δ TStandard of meritWhen the subject is not a living body, the subject is considered.
The electric control infrared emitter driving device provided by the embodiment of the invention integrates TX (infrared emitter) driving and Cell (battery pack) driving together to form a chip, so that the electric control infrared emitter driving device is easier to miniaturize and apply. In addition, the driving device enables the TXC (electrically controlled infrared transmitter) to be driven more flexibly, and the power and the haze of the TXC (electrically controlled infrared transmitter) can be flexibly controlled by the processor in combination with an RX (infrared receiver) image, so that the driving device can be automatically adjusted to be suitable for various application scenes.
The embodiments of the present invention include the following specific examples:
specific example 1, TXC Haze (Haze) was adjusted.
In the embodiment of the invention, the TXC Haze value is adjustable from 0% to 100%, for example, to obtain a speckle pattern, the gear 1 can be set so that the Haze is less than 1%, for example, to obtain a flood pattern, the gears 18 to 22 can be set so that the Haze is between 50% and 100%.
Gear 1
|
Gear 2
|
Gear 3
|
Gear 4
|
Gear 5
|
0%~1%
|
1%~2%
|
2%~3%
|
3%~4%
|
4%~5%
|
Gear 6
|
Gear 7
|
Gear 8
|
Gear 9
|
Gear 10
|
5%~6%
|
6%~7%
|
7%~8%
|
8%~9%
|
9%~10%
|
Gear 11
|
Gear 12
|
Gear 13
|
Gear 14
|
Gear 15
|
10%~15%
|
15%~20%
|
20%~25%
|
25%~30%
|
30%~35%
|
Gear 16
|
Gear 17
|
Gear 18
|
Gear 19
|
Gear 20
|
35%~40%
|
40%~50%
|
50%~60%
|
60%~70%
|
70%~80%
|
Gear 21
|
Gear position 22
|
|
|
|
80%~90%
|
90%~100%
|
|
|
|
Specific example 2, TXC transmission power is adjustable.
If the TXC power range is adjustable between 0.1A and 2A, taking the light and dark condition as an example, the low-power section can be selected under the light condition, and the medium-high power section can be selected under the dark condition; taking distance as an example, a high power section may be selected at a far distance, while a low power section may be selected at a near distance.
Specific example 3 relates to an adaptive adjustment driving method.
Taking the speckle pattern obtained under a certain condition as an example, setting a TXC haze gear 1 and the emission power as 1A, after an image is obtained by an RX, judging whether the brightness and the like meet requirements, if the image does not meet the requirements for generating the depth map due to factors such as a relatively long distance, automatically adjusting the TXC emission power to 1.5A, and then obtaining the image again by the RX, thus automatically adjusting to obtain the required image.
Taking the example of obtaining a floodlight image under a certain condition, setting a TXC haze gear 22 and emission power to be 0.5A, after an RX obtains the image, judging whether the definition and the like meet requirements by a processor, if the image does not meet the requirements, automatically adjusting the TXC haze gear 20, and then obtaining the image again by the RX, thus automatically adjusting to obtain the required image.
The invention has the following beneficial effects:
1. the module in the prior art adopts a mode of infrared light emitter + floodlight + RGB camera + infrared camera, and the emitter + floodlight device has higher cost, complex structure and larger size;
2. compared with the prior art, the technical scheme of the invention realizes high integration of TX drive and Cell drive, and the TXC drive can be realized by using one chip, so that the structure is simpler, the miniaturization and the low-cost application are facilitated, and the introduction of the TXC self-adaptive drive control method ensures that the application scene of the module is more flexible;
3. the novel infrared light structure module related in the embodiment of the invention optimizes optical components, saves a plurality of components on hardware, but the electric control infrared light emitter is driven by adopting a TX and Cell separation method, is not suitable for miniaturization application, does not form a closed loop with RX on control, and is not flexible to adjust after application scene changes.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.