CN112019817B - Monitoring equipment control method and system, storage medium and electronic device - Google Patents

Monitoring equipment control method and system, storage medium and electronic device Download PDF

Info

Publication number
CN112019817B
CN112019817B CN202010918024.0A CN202010918024A CN112019817B CN 112019817 B CN112019817 B CN 112019817B CN 202010918024 A CN202010918024 A CN 202010918024A CN 112019817 B CN112019817 B CN 112019817B
Authority
CN
China
Prior art keywords
exposure
time
sensor
warning lamp
condition
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
CN202010918024.0A
Other languages
Chinese (zh)
Other versions
CN112019817A (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202010918024.0A priority Critical patent/CN112019817B/en
Publication of CN112019817A publication Critical patent/CN112019817A/en
Application granted granted Critical
Publication of CN112019817B publication Critical patent/CN112019817B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B5/00Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied
    • G08B5/22Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission
    • G08B5/36Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission using visible light sources
    • G08B5/38Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission using visible light sources using flashing light

Abstract

The application provides a monitoring equipment control method and system, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring exposure parameters of a sensor in monitoring equipment; and under the condition that the relation between the driving parameter of the warning lamp and the exposure parameter of the sensor in the monitoring equipment meets the preset condition, controlling the monitoring equipment to output an image meeting the target condition, wherein the driving parameter of the warning lamp at least comprises one of the following components: flicker frequency, on time. According to the application, the problem that the image monitoring is affected due to the flicker of the monitoring image caused by the flicker of the warning lamp is solved, and a good image monitoring effect is achieved.

Description

Monitoring equipment control method and system, storage medium and electronic device
Technical Field
The embodiment of the application relates to the technical field of camera monitoring, in particular to a monitoring equipment control method and system, a storage medium and an electronic device.
Background
Cameras typically have a sensor, warning lights, and a controller.
The warning lamp of the camera is used for enabling the human eyes to see flickering when the warning lamp alarms, and the flickering frequency of the lamp is not very high and is generally between 1HZ and 100 HZ. But the light rays of the low-frequency warning lamp can be captured by the sensor after being reflected when the warning lamp flashes, so that the warning lamp flashes synchronously on the image when the warning lamp flashes, and the monitoring effect of the image is affected.
Aiming at the problem that in the related art, the image monitoring is influenced due to the flicker of the monitoring image caused by the flicker of the warning lamp, no effective solution exists at present.
Disclosure of Invention
The embodiment of the application provides a control method and a control system of monitoring equipment, a storage medium and an electronic device, which at least solve the problem that the image monitoring is affected due to the flickering of a monitoring image caused by flickering of a warning lamp in the related art.
According to an embodiment of the present application, there is provided a control device control method including: acquiring exposure parameters of a sensor in monitoring equipment; and under the condition that the relation between the driving parameter of the warning lamp and the exposure parameter of the sensor in the monitoring equipment meets the preset condition, controlling the monitoring equipment to output an image meeting the target condition, wherein the driving parameter of the warning lamp at least comprises one of the following components: flicker frequency, on time.
According to another embodiment of the present application, there is provided a control device control system including: the LED driving circuit comprises a sensor, an alarm and a controller, and is characterized in that the controller is respectively connected with the sensor and the alarm, the controller is used for inputting a control signal into a first pin of the sensor, the controller is used for inputting a pulse width modulation signal into a second pin of an LED driving chip of the alarm, and the controller is used for controlling the LED driving chip of the alarm according to the same frame rate of the control signal and the preset duty ratio of the pulse width modulation signal, wherein the control signal is used for controlling the output of image data and the output frame rate of the image data, and the preset duty ratio of the pulse width modulation signal is used for controlling the opening time of an LED.
According to a further embodiment of the application, there is also provided a computer readable storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the application, there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to the application, as the exposure parameters of the sensor in the monitoring equipment are obtained, the monitoring equipment is controlled to output the image conforming to the target condition under the condition that the relation between the driving parameters of the warning lamp in the monitoring equipment and the exposure parameters of the sensor meets the preset condition. Therefore, the problem that the image monitoring is affected due to the fact that the monitoring image flashes when the warning lamp flashes can be solved, and a good image monitoring effect is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a hardware configuration block diagram of an image pickup apparatus of a monitoring apparatus control method according to an embodiment of the present application;
FIG. 2 is a flow chart of a monitoring device control method according to an embodiment of the present application;
FIG. 3 is a block diagram of a monitoring device control apparatus according to an embodiment of the present application;
FIGS. 4 (a) -4 (b) are schematic diagrams illustrating the principle of the sensor in the Global shift exposure mode according to the embodiment of the present application;
FIGS. 5 (a) -5 (b) are schematic diagrams of the sensor in Global shift exposure mode according to alternative embodiments of the present application;
FIG. 6 is a schematic diagram of the operational timing of a sensor according to an alternative embodiment of the application;
FIG. 7 is a schematic diagram of a sensor exposure implementation in accordance with an alternative embodiment of the application;
FIG. 8 is a schematic diagram of the operation of a sensor in a Rolling shift mode according to an alternative embodiment of the present application;
FIG. 9 is a schematic diagram of the operation of a sensor in a Rolling shift mode according to an alternative embodiment of the present application;
FIG. 10 is a schematic diagram of the operation of a sensor in the Rolling shift mode according to an alternative embodiment of the present application.
Detailed Description
The application will be described in detail hereinafter with reference to the drawings in conjunction with embodiments. It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
Example 1
The method embodiments provided in the embodiments of the present application may be performed in an image capturing apparatus or a similar monitoring apparatus. Taking an example of operation on an image pickup apparatus, fig. 1 is a hardware block diagram of an image pickup apparatus of a monitoring apparatus control method according to an embodiment of the present application.
The main control chip controls the output of image data through an EFSYNC pin, and determines the frame rate of the image output. The main control chip provides a Main Clock (MCLK) to the Sensor, and triggers an EFSYNC signal of the Sensor through GPIO1, so that the Sensor synchronously outputs bare DATA (RAW DATA). The main control chip triggers frame readout through EFSYNC signals, and GPIO2 and GPIO3 give the DIM/EN pins of the LED driving chip through PWM pulse width modulation signals.
In this embodiment, a method for controlling a monitoring device operating in the above hardware structure is provided, and fig. 2 is a flowchart of a monitoring device control according to an embodiment of the present application, as shown in fig. 2, where the flowchart includes the following steps:
step S202, acquiring exposure parameters of a sensor in monitoring equipment;
step S204, controlling the monitoring device to output an image meeting the target condition when the relation between the driving parameter of the warning lamp and the exposure parameter of the sensor in the monitoring device meets the preset condition, wherein the driving parameter of the warning lamp at least comprises one of the following: flicker frequency, on time.
Under the condition that the flicker frequency or the starting time of the driving parameters of the warning lamp in the monitoring equipment and the exposure parameters of the sensor meet the preset conditions, the monitoring equipment can be controlled to output images meeting the target conditions, namely, images meeting the image requirements. Therefore, when the warning lamp flashes, the image output in the corresponding monitoring equipment does not flash, and a good image monitoring effect can be ensured.
In the specific implementation, the main control chip triggers frame readout through EFSYNC signals, and GPIO2 and GPIO3 give the DIM/EN pins of the LED driving chip of the warning lamp with PWM signals of the same frequency so as to ensure that the sensor exposure is synchronous with the LED driving lighting of the warning lamp, and the main controller inputs the DIM/EN pins of the LED driving chip of the warning lamp through PWM duty ratio to realize the on and off of the warning lamp.
Through the steps, as the exposure parameters of the sensor in the monitoring equipment are obtained, under the condition that the relation between the driving parameters of the warning lamp in the monitoring equipment and the exposure parameters of the sensor meets the preset conditions, the monitoring equipment is controlled to output the image meeting the target conditions. Therefore, the problem that the image monitoring is affected due to the fact that the monitoring image flashes when the warning lamp flashes can be solved, and a good image monitoring effect is achieved.
Preferably, the method further comprises: under the condition that the flicker frequency of the warning lamp is regulated according to a monitoring scene, synchronously starting a driving signal in driving parameters of the warning lamp and the image output of the sensor, wherein the frequency of the driving signal is the same as the frequency of the image output; or under the condition that the flicker frequency of the warning lamp is adjusted according to the monitoring scene, the driving signal in the driving parameters of the warning lamp and the image output of the sensor are synchronously started, and the frequency of the driving signal is an integral multiple of the frequency of the image output. The flicker frequency of the warning lamp of the monitoring equipment is adjustable according to the requirement of a monitoring scene, and the driving of the warning LED and the image output of the sensor are required to be synchronous, and the frequency is the same or integral one-half times.
Preferably, the method further comprises: under the condition that the starting time in the driving parameters of the warning lamp is regulated according to the monitoring scene, the relation between the exposure time in the exposure parameters of the sensor and the starting time is regulated; or under the condition that the starting time in the driving parameters of the warning lamp is adjusted according to the monitoring scene, the relation between the non-exposure time in the exposure parameters of the sensor and the starting time is adjusted. The turn-on time of the warning lamp of the monitoring device is adjustable according to the requirement of a monitoring scene, and the turn-on time of the warning LED drive is required to be ensured to be smaller than or equal to the exposure time or the non-exposure time of the sensor.
Specifically, the alarm lamp of the camera is driven to be started and synchronous with the image output of the Sensor, the starting frequency is the same as or an integral multiple of the image output frame rate of the Sensor, the starting time is less than or equal to the Sensor exposure time or the non-exposure time, and the problem that the corresponding image output of the common camera flickers after the alarm lamp is started is solved.
In addition, the non-exposure time of the sensor is started through the driving of the warning lamp of the camera, the corresponding image output does not have the color of the warning lamp to enter the sensor, so that the white balance is more real and accurate, and the problems of color cast, poor color reproducibility and the like of the image are solved.
Optionally, the exposure parameters of the sensor include: the first exposure mode, where when the relation between the driving parameter of the warning lamp and the exposure parameter of the sensor in the monitoring device meets the preset condition, controlling the monitoring device to output an image meeting the target condition includes: the exposure parameters of the sensor include: a first exposure mode for controlling the monitoring device to output an image conforming to a target condition when the light supplementing on time driven by the light supplementing device in the driving parameters of the warning lamp in the monitoring device is not more than the exposure time in the first exposure mode of the sensor; and/or controlling the monitoring equipment to output an image meeting a target condition under the condition that the light supplementing on time driven by the light supplementing equipment in the driving parameters of the warning lamp in the monitoring equipment is not the exposure time in the first exposure mode of the sensor. That is, in the first exposure mode, the light-compensating on time of the light-compensating device in the driving parameters of the warning light in the monitoring device needs to be no more than the exposure time in the first exposure mode of the sensor, and then the monitoring device is controlled to output an image meeting the target condition. In the first exposure mode, the light supplementing on time of the light supplementing device in the driving parameters of the warning lamp in the monitoring device needs to be smaller than or equal to the non-exposure time in the first exposure mode of the sensor, and the monitoring device is controlled to output an image meeting the target condition.
In the specific implementation, when the sensor is in a Global shift exposure mode, the whole picture is exposed at the same time. All pixels in the sensor are simultaneously exposed at the same time by sensing light. The same picture at the same time is read out by the sensor. Global exposure is achieved by the Global router, and mainly, a storage unit is added to each pixel by the Global router, so that all pixels can be exposed at the same time.
Since the exposure time of a general Global timer sensor is 200uS-2mS, when the frame rate of the sensor is the same as the driving frequency of the warning LED lamp or several times of an integer, the light-compensating device in the driving parameters of the warning lamp drives the light-compensating device to turn on the light for a time equal to or shorter than the exposure time of the sensor, as shown in fig. 4 (a) and 4 (b), wherein the sensor image is output for a period of 25 frames and 40mS, and the exposure time is 2 mS. If the light of the warning lamp is captured by the sensor for the second time, the light is optimized by a white balance compensation mode. Alternatively, when the sensor non-exposure time period is on, the white balance can be ensured to be accurate under the condition that the image does not flicker as shown in fig. 5 (a) and 5 (b), wherein the sensor image output 25 frames and the 40ms period exposure time 2ms are taken as an example.
Optionally, when the relation between the driving parameter of the warning lamp and the exposure parameter of the sensor in the monitoring device meets a preset condition, controlling the warning lamp to output an image meeting a target condition through the monitoring device in a working state includes: the exposure parameters of the sensor include: a second exposure mode, wherein the monitoring equipment is controlled to output an image conforming to a target condition under the condition that the light supplementing on time driven by the light supplementing equipment in the driving parameters of the warning lamp in the monitoring equipment is not more than the exposure superposition time in the second exposure mode of the sensor; and controlling the monitoring device to output an image conforming to a target condition under the condition that the light supplementing on time driven by the light supplementing device in the driving parameters of the warning light in the monitoring device is not the exposure time (exposure idle time) in the second exposure mode of the sensor. That is, in the second exposure mode, the light-compensating on time of the light-compensating device in the driving parameters of the warning light in the monitoring device needs to be not more than the exposure overlapping time in the second exposure mode of the sensor, and the monitoring device is controlled to output an image meeting the target condition. In the second exposure mode, the light supplementing device in the driving parameters of the warning lamps in the monitoring device drives the light supplementing on time which is equal to or smaller than the non-exposure time (exposure idle time) in the second exposure mode of the sensor, and the monitoring device is controlled to output the image meeting the target condition.
In specific implementation, when the sensor is in a Rolling shift exposure mode, the sensor is subjected to line-by-line exposure. At the beginning of the exposure, the sensor scans the line by line until all pixels are exposed and all actions are completed in a very short time. The exposure time of the pixels of different rows is the same.
As shown in fig. 6, which shows a workflow of Rolling Shutter Sensor exposure, when the sensor is operating in the Slave Mode, the main control chip controls the output of image data through the EFSYNC pin, and determines the image frame rate accordingly.
Step S1, when a sensor works in a Slave Mode, a chip automatically enters an Active State and waits for EFSYNC triggering;
step S2, the EFSYNC triggers the rising edge to be effective, and the duration of the high level of the EFSYNC is not less than 4 EXTCLK cycles;
step S3, after the EFSYNC is triggered, the chip enters RB Rows, wherein RB Rows is waiting time before effective data is read out, and the waiting time is controlled by a register to be in a row unit;
step S4, active Rows reads out chip image data, and the chip image data is controlled by a register to be in a row unit;
step S5, blanking Rows is blanking time after reading chip image data, and is controlled by a register to be in row units;
step S6, the Active State is that the chip waits for the next EFSYNC trigger, and the Active State is required to be as small as possible and is suggested to be 0;
in step S7, the EFSYNC rising edge interval is a frame time, and the EFSYNC rising edge interval allows a 40ns deviation.
Further, as shown in FIG. 7,
step S1, a Row Reset starts an exposure operation, and the exposure operation is finished before a Row Readout starts, wherein the exposure comprises Active State Time;
step S2, VTS represents a frame length, vts=rb rows+active rows+blank Rows; (Extra Delays and Active State may be ignored);
step S3, when the Active State is started, the chip stops outputting and stops the Row reset operation, as shown in FIG. 7, the Row of one frame of images Row 1-Row is larger than the exposure time of Row (e+1) to Row n, the excessive time is Active State time, and in order to avoid the exposure difference, the external accurate control of EFSYNC is required, so that the Active State is controlled within 40ns, and the exposure time of each Row in one frame is basically consistent;
in step S4, when RB Rows is greater than the exposure time, the case of inconsistent exposure time in the frame will not occur, and the exposure time in each line in one frame is consistent.
Fig. 8 shows that the exposure start time of the last line is smaller than the exposure end time of the first line, fig. 9 shows that the exposure time of the last line is equal to the exposure end time of the first line, and fig. 10 shows that the exposure time of the last line is smaller than the exposure end time of the first line. One cell in fig. 8, 9, and 10 represents one line time=1/FPS/VTS, and FPS is an image frame rate.
One row exposure time = exposure register value × one row time/half row time;
adjacent two rows exposure interval = one row time;
interval from effective first line exposure to last line exposure = (effective VTS-1) ×one line time;
one frame exposure coincidence time = one line exposure time-interval from the effective first line exposure to the last line exposure time;
one frame has a coincidence time that must satisfy (effective VTS-1) one line time < one line exposure time;
one frame time = 1/FPS;
one frame idle coincidence time = one frame time-interval from first line exposure to last line exposure-one line exposure time;
to satisfy a frame idle coincidence time greater than zero, one line exposure time + the interval from the first line exposure to the last line exposure time < one frame time must be satisfied.
In practice, to meet a frame idle coincidence time greater than zero, a specific register setting of 2 megapixel sensor (SC 2239) is illustrated for ease of understanding.
Where sensor frame length= {16' h320e [6:0],16' h320f }, default value 16' h0465, maximum value 7FFF, decimal 62767. Line length= {16' h320c [6:0],16' h320d }, default value 16' h0a50, maximum value 7FFF, decimal 62767. Exposure time = {16' h3e00[3:0],16' h3e01[7:0],16' h3e02[3:0] }, default min=0, max=2 x frame length-8, because the SC2239 MIPI interface supports 8/10bit,1lane serial output, transmission rate is recommended to be no greater than 1.0Gbps. The transmission rate of mipi=frame length×line length×frame rate×number of bits/lane number/2, and thus there is a limit requirement for frame length and line length, because the pixel array of SC2239 is: 1928h 1088v, 4rows Active Border each up and down, 4cols Active Border each left and right, the effective array is 1928h 1088v.
The table data that can be achieved are given below as table 1 below.
Table 1 above is described by taking total frame length=1500 and total line length=1980 as examples:
one line time=1/frame rate/frame length=1/40/1500=26.67 us;
maximum exposure time (register value) =2 x frame length-8=2 x 1500-8=2992;
theoretical maximum exposure time = line time x maximum exposure time (register value)/2 = 26.67 x 2992/2 = 39.90ms;
actual maximum exposure time = theoretical maximum exposure time x effective line length/total line length = 39.90 x 1928/1980 = 38.85ms
Idle time = 1/frame rate-actual maximum exposure time = 1/25-38.85 = 1.15ms.
Delay time= (effective VTS-1) one line time= (1088-1) 26.67= 28.99ms;
coincidence time = theoretical maximum exposure time-delay time = 39.90-28.99 = 10.91ms.
The idle time and the overlapping time exist through calculating the sensor exposure, so that the frame rate of the image output of the sensor is the same as the driving frequency of the warning LED (or is an integral multiple), and the starting time is smaller than or equal to the overlapping time of the sensor exposure or smaller than or equal to the non-exposure time of the sensor, namely the idle time, so that the image output of the camera is ensured not to flicker when the warning lamp flickers.
In summary, no matter the sensor is Global timer or Rolling timer, as long as the image output of the sensor is synchronous with the start of the warning LED drive and the frequency is the same (or integral multiple), the start time is less than or equal to the exposure coincidence time of the sensor or the non-exposure idle time, so that the camera can be ensured not to flash on the actual image when the warning flash is started, and good image effect is ensured.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
Example 2
In this embodiment, a monitoring device control system is further provided, and the system is used to implement the foregoing embodiments and preferred embodiments, and will not be described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 3 is a block diagram of a control system of a monitoring device according to an embodiment of the present application, as shown in fig. 3, the device includes a sensor 32, an alarm 36, and a controller 34, where the controller is connected to the sensor and the alarm, respectively, the controller is configured to input a control signal to a first pin of the sensor, the controller is configured to input a pulse width modulation signal to a second pin of an LED driving chip of the alarm, and the controller is configured to control the LED driving chip of the alarm according to a same frame rate as the control signal and a preset duty cycle of the pulse width modulation signal, where the control signal is configured to control an output of image data and an output frame rate of the image data, and the preset duty cycle of the pulse width modulation signal is configured to control an on time of an LED. The controller provides a Master Clock (MCLK) to the sensor and triggers an EFSYNC signal of the sensor through GPIO1, and the sensor synchronously outputs the bare DATA (RAW DATA). The controller triggers frame readout through EFSYNC signals, and GPIO2 and GPIO3 send PWM signals with the same frequency (or a multiple of an integer) to the DIM/EN pin of the LED driving chip of the alarm, so that the synchronization of sensor exposure and the LED driving of the alarm is achieved.
Optionally, the first pin includes: an outer synchronization control pin, the second pin comprising: a brightness control pin or a switch control pin. The controller inputs the DIM/EN pin of the LED driving chip through the PWM duty ratio to realize the on and off of the warning lamp.
Optionally, the controller is further configured to obtain an exposure parameter of a sensor in the monitoring device; and under the condition that the relation between the driving parameter of the warning lamp and the exposure parameter of the sensor in the monitoring equipment meets the preset condition, controlling the monitoring equipment to output an image meeting the target condition, wherein the driving parameter of the warning lamp at least comprises one of the following components: flicker frequency, on time.
Under the condition that the flicker frequency or the starting time of the driving parameters of the warning lamp in the monitoring equipment and the exposure parameters of the sensor meet the preset conditions, the monitoring equipment can be controlled to output images meeting the target conditions, namely, images meeting the image requirements. Therefore, when the warning lamp flashes, the image output in the corresponding monitoring equipment does not flash, and a good image monitoring effect can be ensured.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
An embodiment of the application also provides a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store a computer program for performing the steps of:
s1, acquiring exposure parameters of a sensor in monitoring equipment;
s2, under the condition that the relation between the driving parameters of the warning lamp and the exposure parameters of the sensor in the monitoring equipment meets the preset condition, controlling the monitoring equipment to output an image meeting the target condition, wherein the driving parameters of the warning lamp at least comprise one of the following: flicker frequency, on time.
Optionally, the storage medium is further arranged to store a computer program for performing the steps of:
s1, under the condition that the flicker frequency of the warning lamp is regulated according to a monitoring scene, synchronously starting a driving signal in driving parameters of the warning lamp and the image output of the sensor, wherein the frequency of the driving signal is the same as the frequency of the image output;
s2, under the condition that the flicker frequency of the warning lamp is adjusted according to a monitoring scene, a driving signal in driving parameters of the warning lamp and the image output of the sensor are synchronously started, and the frequency of the driving signal is integral one-half times of the frequency of the image output.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the application also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, acquiring exposure parameters of a sensor in monitoring equipment;
s2, under the condition that the relation between the driving parameters of the warning lamp and the exposure parameters of the sensor in the monitoring equipment meets the preset condition, controlling the monitoring equipment to output an image meeting the target condition, wherein the driving parameters of the warning lamp at least comprise one of the following: flicker frequency, on time.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application should be included in the protection scope of the present application.

Claims (7)

1. A monitoring device control method, characterized by comprising:
acquiring exposure parameters of a sensor in monitoring equipment;
and under the condition that the relation between the driving parameters of the warning lamp and the exposure parameters of the sensor in the monitoring equipment meets the preset condition, controlling the monitoring equipment to output an image meeting the target condition, wherein the driving parameters of the warning lamp comprise: flicker frequency and on time;
the method further comprises the steps of:
under the condition that the flicker frequency of the warning lamp is regulated according to a monitoring scene, synchronously starting a driving signal in driving parameters of the warning lamp and the image output of the sensor, wherein the frequency of the driving signal is the same as the frequency of the image output; or alternatively, the process may be performed,
under the condition that the flicker frequency of the warning lamp is regulated according to a monitoring scene, synchronously starting a driving signal in driving parameters of the warning lamp and the image output of the sensor, wherein the frequency of the driving signal is an integral half of the frequency of the image output;
the exposure parameters of the sensor include: the second exposure mode, where when the relation between the driving parameter of the warning lamp in the monitoring device and the exposure parameter of the sensor meets the preset condition, controlling the warning lamp to output an image meeting the target condition through the monitoring device in the working state includes:
controlling the monitoring device to output an image conforming to the target condition under the condition that the sensor is in a Rolling shift exposure mode and the on time of the warning lamp is less than or equal to the non-exposure idle time of the sensor, wherein in the Rolling shift exposure mode, the sensor is arranged at the beginning of exposure, and the line exposure is scanned line by line until all pixel points are exposed, the non-exposure idle time is one frame of idle superposition time, the one frame of idle superposition time is greater than zero, and the one frame of idle superposition time is the time except one line exposure time and the interval from the beginning of exposure of the first line to the last line exposure in one frame of time; or alternatively
And controlling the monitoring equipment to output an image conforming to the target condition under the condition that the sensor is in a Rolling shift exposure mode and the turn-on time of the warning lamp is smaller than or equal to the exposure coincidence time of the sensor, wherein in the Rolling shift exposure mode, the sensor is arranged at the beginning of exposure, and the line exposure is scanned line by line until all pixels are exposed, the exposure coincidence time is one-frame exposure coincidence time, the one-frame exposure coincidence time is larger than zero, and the one-frame exposure coincidence time is the time interval from the beginning of the effective last line exposure to the end of the effective first line exposure.
2. The method of claim 1, further comprising,
under the condition that the starting time in the driving parameters of the warning lamp is regulated according to the monitoring scene, the relation between the exposure time in the exposure parameters of the sensor and the starting time is regulated;
or under the condition that the starting time in the driving parameters of the warning lamp is adjusted according to the monitoring scene, the relation between the non-exposure time in the exposure parameters of the sensor and the starting time is adjusted.
3. The method according to claim 1 or 2, wherein the exposure parameters of the sensor comprise: the first exposure mode, where when the relation between the driving parameter of the warning lamp and the exposure parameter of the sensor in the monitoring device meets the preset condition, controlling the monitoring device to output an image meeting the target condition includes:
controlling the monitoring equipment to output an image conforming to a target condition under the condition that the light supplementing on time driven by the light supplementing equipment in the driving parameters of the warning lamp in the monitoring equipment is not longer than the exposure time in the first exposure mode of the sensor;
and/or;
and controlling the monitoring equipment to output an image meeting a target condition under the condition that the light supplementing on time driven by the light supplementing equipment in the driving parameters of the warning lamp in the monitoring equipment is not the exposure time in the first exposure mode of the sensor.
4. The monitoring equipment control system comprises a sensor, an alarm and a controller, and is characterized in that the controller is respectively connected with the sensor and the alarm, is used for inputting a control signal into a first pin of the sensor, is used for inputting a pulse width modulation signal into a second pin of an LED driving chip of the alarm,
the controller is used for controlling the LED driving chip of the alarm according to the same frame rate as the control signal and the preset duty ratio of the pulse width modulation signal, wherein the control signal is used for controlling the output of the image data and the output frame rate of the image data, and the preset duty ratio of the pulse width modulation signal is used for controlling the opening time of the LED;
the controller is also used for acquiring exposure parameters of the sensor in the monitoring equipment; and under the condition that the relation between the driving parameters of the warning lamp and the exposure parameters of the sensor in the monitoring equipment meets the preset condition, controlling the monitoring equipment to output an image meeting the target condition, wherein the driving parameters of the warning lamp comprise: flicker frequency and on time;
the controller is further configured to start a driving signal in a driving parameter of the warning lamp and an image output of the sensor synchronously under a condition that a flicker frequency of the warning lamp is adjusted according to a monitoring scene, where the frequency of the driving signal is the same as the frequency of the image output; or under the condition that the flicker frequency of the warning lamp is regulated according to a monitoring scene, synchronously starting a driving signal in driving parameters of the warning lamp and the image output of the sensor, wherein the frequency of the driving signal is an integral half of the frequency of the image output;
the exposure parameters of the sensor include: the second exposure mode is that, under the condition that the relation between the driving parameter of the warning lamp and the exposure parameter of the sensor in the monitoring equipment meets the preset condition, the controller is further used for controlling the warning lamp to output an image meeting the target condition through the monitoring equipment in the working state by the following modes:
controlling the monitoring device to output an image conforming to the target condition under the condition that the sensor is in a Rolling shift exposure mode and the on time of the warning lamp is less than or equal to the non-exposure idle time of the sensor, wherein in the Rolling shift exposure mode, the sensor is arranged at the beginning of exposure, and the line exposure is scanned line by line until all pixel points are exposed, the non-exposure idle time is one frame of idle superposition time, the one frame of idle superposition time is greater than zero, and the one frame of idle superposition time is the time except one line exposure time and the interval from the beginning of exposure of the first line to the last line exposure in one frame of time; or alternatively
And controlling the monitoring equipment to output an image conforming to the target condition under the condition that the sensor is in a Rolling shift exposure mode and the turn-on time of the warning lamp is smaller than or equal to the exposure coincidence time of the sensor, wherein in the Rolling shift exposure mode, the sensor is arranged at the beginning of exposure, and the line exposure is scanned line by line until all pixels are exposed, the exposure coincidence time is one-frame exposure coincidence time, the one-frame exposure coincidence time is larger than zero, and the one-frame exposure coincidence time is the time interval from the beginning of the effective last line exposure to the end of the effective first line exposure.
5. The system of claim 4, wherein the first pin comprises: an outer synchronization control pin, the second pin comprising: a brightness control pin or a switch control pin.
6. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program, wherein the computer program is arranged to perform the method of any of the claims 1 to 3 when run.
7. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of any of the claims 1 to 3.
CN202010918024.0A 2020-09-03 2020-09-03 Monitoring equipment control method and system, storage medium and electronic device Active CN112019817B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010918024.0A CN112019817B (en) 2020-09-03 2020-09-03 Monitoring equipment control method and system, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010918024.0A CN112019817B (en) 2020-09-03 2020-09-03 Monitoring equipment control method and system, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN112019817A CN112019817A (en) 2020-12-01
CN112019817B true CN112019817B (en) 2023-09-19

Family

ID=73515755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010918024.0A Active CN112019817B (en) 2020-09-03 2020-09-03 Monitoring equipment control method and system, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112019817B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112672009B (en) * 2020-12-14 2022-09-02 浙江大华技术股份有限公司 Video processing method, device, equipment and storage medium
CN113345191B (en) * 2021-04-23 2022-08-09 浙江大华技术股份有限公司 Camera monitoring method, electronic equipment and computer storage medium
CN113301220B (en) * 2021-04-27 2024-01-05 上海欧菲智能车联科技有限公司 Synchronization method of vehicle-mounted camera and car lamp and FPGA chip
CN113225876B (en) * 2021-05-28 2022-11-29 浙江大华技术股份有限公司 Light supplementing method and device for monitoring equipment, storage medium and electronic equipment
CN113438393B (en) * 2021-05-31 2023-02-24 浙江大华技术股份有限公司 Control method of monitoring device, computer device, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103093420A (en) * 2011-11-02 2013-05-08 原相科技股份有限公司 Image system and interference elimination method thereof
CN105911799A (en) * 2016-05-18 2016-08-31 广州科易光电技术有限公司 Rail transit contact network monitoring and light supplementing system and method
CN106847845A (en) * 2015-12-04 2017-06-13 佳能株式会社 The driving method of picture pick-up device, camera system and picture pick-up device
CN109151256A (en) * 2018-08-31 2019-01-04 惠州华阳通用电子有限公司 A kind of camera flashing removing method and device based on sensor detection
CN110661982A (en) * 2019-09-27 2020-01-07 思特威(上海)电子科技有限公司 LED stroboscopic suppression method in imaging of image sensor
CN111107247A (en) * 2020-02-26 2020-05-05 上海富瀚微电子股份有限公司 Exposure method, image system and method for cooperative work of image system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9591230B2 (en) * 2009-12-23 2017-03-07 Honeywell International Inc. Systems and methods for reduced image flicker
JP6570918B2 (en) * 2015-08-19 2019-09-04 オリンパス株式会社 Imaging apparatus and imaging method
KR102615091B1 (en) * 2016-01-13 2023-12-19 삼성전자주식회사 Photographing apparatus and method for operating thereof
US11012634B2 (en) * 2018-06-29 2021-05-18 Canon Kabushiki Kaisha Image pickup apparatus capable of performing image pickup with reduced flicker influence, method for controlling the same, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103093420A (en) * 2011-11-02 2013-05-08 原相科技股份有限公司 Image system and interference elimination method thereof
CN106847845A (en) * 2015-12-04 2017-06-13 佳能株式会社 The driving method of picture pick-up device, camera system and picture pick-up device
CN105911799A (en) * 2016-05-18 2016-08-31 广州科易光电技术有限公司 Rail transit contact network monitoring and light supplementing system and method
CN109151256A (en) * 2018-08-31 2019-01-04 惠州华阳通用电子有限公司 A kind of camera flashing removing method and device based on sensor detection
CN110661982A (en) * 2019-09-27 2020-01-07 思特威(上海)电子科技有限公司 LED stroboscopic suppression method in imaging of image sensor
CN111107247A (en) * 2020-02-26 2020-05-05 上海富瀚微电子股份有限公司 Exposure method, image system and method for cooperative work of image system

Also Published As

Publication number Publication date
CN112019817A (en) 2020-12-01

Similar Documents

Publication Publication Date Title
CN112019817B (en) Monitoring equipment control method and system, storage medium and electronic device
US7209652B2 (en) Lighting control apparatus with a plurality of lighting devices
US10412332B2 (en) Image-capturing device for generating image-capture data
EP1576805B1 (en) Illumination apparatus and illumination method for an imaging apparatus
CN110381244B (en) Camera and method for improving image quality under low illumination
US9307600B2 (en) Synchronized light source for rolling shutter imagers
CN112672009B (en) Video processing method, device, equipment and storage medium
KR100607467B1 (en) Frame grabber
JP2001215579A (en) Image pickup device and stroboscope control method thereof
WO2019084806A1 (en) Flashlight brightness compensation method, unmanned aerial vehicle and storage medium
US6069659A (en) Strobe device that prevents the flicker of flashlight and flashing method thereof
US11445123B2 (en) System and method for PWM control of a video display screen
CN113114926B (en) Image processing method and device and camera
JP2000278597A (en) Digital camera
KR20090059043A (en) Photographing apparatus and photographing method
JP2003066519A (en) Camera device, and method for controlling emission of light in camera device
US10992874B2 (en) Camera system and camera fill light method
JP2003084341A (en) Image pickup device with flash device, and light emitting method of light emission part and program of the image pickup device
JP2006201766A (en) Imaging apparatus and its electronic flash control method
JP2007047544A (en) Strobe apparatus
CN113873101B (en) Method and device for controlling warning lamp, storage medium and electronic device
CN113438393B (en) Control method of monitoring device, computer device, and storage medium
JPH1048708A (en) Led illuminator
JP2995805B2 (en) Color parameter setting device
JP2022178952A (en) Imaging apparatus, and control method thereof

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