CN112601011A - Automatic shooting control method and control device thereof - Google Patents

Automatic shooting control method and control device thereof Download PDF

Info

Publication number
CN112601011A
CN112601011A CN202011418176.0A CN202011418176A CN112601011A CN 112601011 A CN112601011 A CN 112601011A CN 202011418176 A CN202011418176 A CN 202011418176A CN 112601011 A CN112601011 A CN 112601011A
Authority
CN
China
Prior art keywords
circuit
camera
single chip
control device
unit
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.)
Granted
Application number
CN202011418176.0A
Other languages
Chinese (zh)
Other versions
CN112601011B (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.)
Guangdong Planning and Designing Institute of Telecommunications Co Ltd
Original Assignee
Guangdong Planning and Designing Institute of Telecommunications 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 Guangdong Planning and Designing Institute of Telecommunications Co Ltd filed Critical Guangdong Planning and Designing Institute of Telecommunications Co Ltd
Priority to CN202011418176.0A priority Critical patent/CN112601011B/en
Publication of CN112601011A publication Critical patent/CN112601011A/en
Application granted granted Critical
Publication of CN112601011B publication Critical patent/CN112601011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Focusing (AREA)
  • Studio Devices (AREA)

Abstract

The invention provides an automatic shooting control method and a control device thereof, which judge whether the acquired periodic signal meets the requirement of a focusing signal or not by carrying out multiple times of calculation analysis on the acquired periodic signal. Because the digital camera focusing signal is in the voice frequency band and is easily interfered by external voice, only when a plurality of continuous periodic signals are determined to meet the requirement of the focusing signal, the camera shutter release is triggered to finish the automatic shooting operation of the camera; any one of the periodic signals does not meet the requirement of a focusing signal, and the camera shutter release cannot be triggered, so that the automatic shooting operation of the camera is prevented from being influenced by external noise interference. In addition, the control device only comprises six parts, so that automatic shooting operation of the digital camera can be realized, the response is rapid, the structure is simple, the device cost is low, the digital camera does not need to be changed by any software and hardware and any setting is carried out on the control device, the camera only needs to be simply set, automatic shooting can be realized, and the operation is simple and convenient.

Description

Automatic shooting control method and control device thereof
Technical Field
The invention relates to the technical field of photographic camera equipment, in particular to an automatic shooting control method and a control device thereof.
Background
A digital camera, also called a digital camera, is an electronic photographing apparatus that converts an optical image into electronic data using an electronic sensor, and is also a product integrating optics, mechanics, and electronics. The digital image capturing device integrates components of image information conversion, storage, transmission and the like, and has the characteristics of digital access mode, interactive processing with a computer, real-time shooting and the like. The digital camera mainly comprises three functional modules: an imaging module (CMOS or CCD), a focusing module (contrast focusing or phase focusing), and a shutter assembly (electronic shutter or mechanical shutter).
The trend of digital cameras is to move to higher pixels, higher image quality, faster continuous shooting speed and faster focusing speed, and the above elements basically determine the level of a camera (entry level, quasi-professional level and professional level). In some special use occasions, such as news reporters working process, wild animal (such as birds) shooting, macro shooting, automatic monitoring and other use scenes, the response speed of the digital camera is slow by manually pressing the shutter, so that the problems that shooting targets are missed or manually shot photos are not clear due to inaccurate focusing and the like easily occur.
Therefore, how to solve the problem of automatic shooting of digital cameras has become a technical problem to be solved urgently in the industry.
Disclosure of Invention
In view of the above technical problems, the present invention provides an automatic shooting control method and a control device thereof, wherein the automatic shooting control method has the characteristics of fast response speed and short processing time, and the control device has the characteristics of few components, low cost, low power consumption and simple and convenient operation.
An automatic shooting control method is characterized by comprising the following steps:
acquiring a periodic signal, and judging whether the pulse width of the periodic signal is within a preset range;
when the pulse width of the periodic signal is within a preset range, calculating and analyzing the periodic signal, and judging whether the analysis result of the periodic signal meets the requirement of a focusing signal;
when the analysis result of the periodic signal meets the requirement of the focusing signal, the effective counter is + 1;
judging whether the effective counter reaches a threshold value;
and when the effective counter reaches the threshold value, triggering a camera shutter release, delaying for 1S, and performing idle operation for 2S.
Further, the determining whether the pulse width of the periodic signal is within a preset range includes:
when detecting the high level of the port, the timer 0 is cleared and starts to count;
then when detecting the low level of the port, the overflow flag of the timer 0 is 1;
and then when the high level of the port is detected, recording the count value of the timer 0, storing the count value into a buffer, and simultaneously resetting the count value of the timer 0 again.
Further, still include:
when the analysis result of the periodic signal meets the requirement of the focusing signal, an effective counter +1 is used, and whether the error code flag bit is 0 or not is judged;
if yes, judging whether the effective counter reaches the threshold value;
if not, the threshold value is +3, and whether the effective counter reaches the threshold value is judged.
Further, still include:
and when the analysis result of the periodic signal does not meet the requirement of the focused signal, setting the error code flag bit to be 1, and acquiring the periodic signal again.
Based on the same design idea, the invention also provides a control device which comprises a single chip microcomputer, a power management unit, a work indicator lamp unit, a focusing signal processing unit, a half-pressing shutter circuit unit and a full-pressing shutter circuit unit, wherein the power management unit, the work indicator lamp unit, the focusing signal processing unit, the half-pressing shutter circuit unit and the full-pressing shutter circuit unit are all embedded in an EPROM storage area of the single chip microcomputer;
the single chip microcomputer is used for executing the automatic shooting control method, the single chip microcomputer comprises a high-precision oscillator circuit, a power-on reset circuit, a timer circuit and an under-voltage detection circuit, and the single chip microcomputer is used for controlling execution and operation of programs.
Further, the power management unit is electrically connected with the single chip microcomputer, the power management unit comprises a power charging management chip, a linear power chip and a power electronic switch, and the power management unit is used for controlling safe charging and discharging of a power supply.
Further, work pilot lamp unit with the singlechip electricity is connected, work pilot lamp unit includes the LED lamp, the LED lamp is through different stroboflash come instruction controlling means's different operating condition.
Furthermore, the focus signal processing unit is electrically connected with the single chip microcomputer, the focus signal processing unit comprises a sound pickup, a mobile phone interference suppression circuit, a filter circuit, an amplifying circuit and a shaping circuit, the sound pickup is used for being connected with an earphone jack of the camera so as to collect focus signals of the camera, and the focus signal processing unit is used for filtering noise and ensuring that the focus signals collected by the sound pickup are high in precision.
Further, the half-press shutter circuit unit is electrically connected with the single chip microcomputer, the half-press shutter release circuit unit comprises a PMOS tube and a clamping diode, when a shutter of the camera is pressed half, the PMOS tube is conducted, the control device enters a working state, and the clamping diode is used for preventing static electricity from being introduced to damage a shutter circuit.
Further, the full-press shutter release circuit unit is electrically connected with the single chip microcomputer, the full-press shutter release circuit unit comprises an electronic shutter release, the electronic shutter release comprises an NPN type triode, the electronic shutter release is used for being connected with a shutter release interface of the camera, and when a focusing signal is detected, the single chip microcomputer triggers the electronic shutter release to enable the camera to enter a shooting state.
According to the automatic shooting control method provided by the invention, the acquired periodic signal is subjected to multiple times of calculation and analysis, so that whether the periodic signal meets the requirement of a focusing signal is judged. Because the digital camera focusing signal is in the voice frequency band and is easily interfered by external voice, only when a plurality of continuous periodic signals are determined to meet the requirement of the focusing signal, the camera shutter release is triggered to finish the automatic shooting operation of the camera; any one of the periodic signals does not meet the requirement of a focusing signal, and the camera shutter release cannot be triggered, so that the automatic shooting operation of the camera is prevented from being influenced by external noise interference. The automatic shooting control method has the advantages that the calculated processing time is only 1.5ms. and is 0.75ms at the fastest, the response speed is high, and the processing time is short, so that the digital camera can complete quick and clear automatic shooting operation.
The control device provided by the invention comprises a single chip microcomputer, a power supply management unit, a work indicator lamp unit, a focusing signal processing unit, a half-pressing shutter circuit unit and a full-pressing shutter circuit unit, wherein the power supply management unit, the work indicator lamp unit, the focusing signal processing unit, the half-pressing shutter circuit unit and the full-pressing shutter circuit unit are electrically connected with the single chip microcomputer. The single chip is used as a central processing unit of the control device, is a control core for program execution and operation of the automatic shooting control method, is also a final execution unit for information processing and program operation, and respectively controls different units electrically connected with the single chip to complete different work of each part. In some special use occasions, the condition that the response speed of the digital camera is low due to the fact that the shutter is pressed manually is easy to occur, in the scheme of the invention, the digital camera can finish quick and clear automatic shooting operation through an automatic shooting control method of a single chip microcomputer under the control of the control device only by adding a focusing signal sensor outside the digital camera without changing software and hardware. The method specifically comprises the following steps: when the dynamic shot object enters the preset focus range of the digital camera, the shutter of the digital camera is automatically released immediately under the control of the control device, so that the instant image of the dynamic shot object is recorded, and the rapid and clear automatic shooting operation is completed.
Compared with the prior art, the control device of the invention at least has the following beneficial effects:
the control device only consists of six parts, can realize the automatic shooting operation of the digital camera, and has quick response, simple structure, few components and low device cost;
secondly, the power management unit has the functions of current limiting and voltage limiting, so that the overall power consumption of the control device is low, and the overall power consumption is less than 0.5mA/3.7 v;
and thirdly, the digital camera is not required to be changed in any software and hardware and any setting is carried out on the control device, and automatic shooting can be realized only by simply setting the camera, so that the operation is simple and convenient.
Drawings
Fig. 1 is a block diagram of a procedure of an automatic photographing control method of the present invention;
FIG. 2 is a schematic diagram of the components of the control device of the present invention;
FIG. 3 is a schematic view of the connection of the control device of the present invention;
FIG. 4 is a schematic diagram of the composition of the single-chip microcomputer of the present invention;
FIG. 5 is a schematic diagram of the power management unit of the present invention;
FIG. 6 is a schematic diagram of the construction of the work indicator light unit of the present invention;
FIG. 7 is a schematic diagram of the composition of the in-focus signal processing unit of the present invention;
FIG. 8 is a schematic diagram of the components of a half-shutter circuit unit of the present invention;
FIG. 9 is a schematic diagram of the composition of a full push shutter release circuit unit of the present invention;
FIG. 10 is a flow chart of the operation of the control apparatus of the present invention;
description of reference numerals: 1. a control device; 2. a single chip microcomputer; 201. a high-precision oscillator circuit; 202. a power-on reset circuit; 203. a timer circuit; 204. an undervoltage detection circuit; 3. a power management unit; 301. a power supply charging management chip; 302. a linear power supply chip; 303. a power electronic switch; 4. a work indicator light unit; 401. an LED lamp; 5. a focus signal processing unit; 501. a sound pickup; 502. a mobile phone interference suppression circuit; 503. a filter circuit; 504. an amplifying circuit; 505. a shaping circuit; 6. a half-press shutter line unit; 601. a PMOS tube; 602. a clamping diode; 7. a shutter release circuit unit is fully pressed; 701. NPN type triode.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments 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 drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
According to an embodiment of the present invention, an automatic photographing control method includes the steps of:
101. acquiring a periodic signal, and judging whether the pulse width of the periodic signal is within a preset range;
102. when the pulse width of the periodic signal is within a preset range, calculating and analyzing the periodic signal, and judging whether the analysis result of the periodic signal meets the requirement of a focusing signal;
103. when the analysis result of the periodic signal meets the requirement of the focusing signal, the effective counter is + 1;
104. judging whether the effective counter reaches a threshold value;
105. and when the effective counter reaches the threshold value, triggering a camera shutter release, delaying for 1S, and performing idle operation for 2S.
See fig. 1, in which:
steps S0 to S9 are the above step 101, the single chip microcomputer 2 is initially in a sleep state, and when a plurality of focusing periodic signals are obtained by detection, the single chip microcomputer 2 is interrupted and awakened, so that it is determined whether the pulse width of the periodic signal is within the preset range of the user.
Steps S10 to S11 are the step 102, step S12 is the step 103, step S15 is the step 104, and step S16 is the step 105. when it is determined that the pulse width of a certain periodic signal is within the preset range of the user, the periodic signal is calculated and analyzed, and if the periodic signal meets the requirement of the focusing signal, the effective counter +1 is determined. Repeating the steps, when the plurality of periodic signals all meet the requirement of the focusing signal, the effective counter is increased until the effective counter reaches a threshold value, the fact that the plurality of focusing periodic signals of the part all meet the requirement of the focusing signal is indicated, no noise signal which is not required exists, the camera shutter release is triggered at the moment, automatic shooting operation is completed, specifically, the time delay is 1S, the idle operation is 2S, namely, the shooting time of the camera lasts 1S, and after shooting is finished, the camera waits for 2S, and then enters the next cycle again.
Further, the above-mentioned "101. judging whether the pulse width of the periodic signal is within the preset range" specifically includes:
when detecting the high level of the port, the timer 0 is cleared and starts to count;
then when detecting the low level of the port, the overflow flag of the timer 0 is 1;
and then when the high level of the port is detected, recording the count value of the timer 0, storing the count value into a buffer, and simultaneously resetting the count value of the timer 0 again.
Specifically, referring to steps S0-S9 shown in fig. 1, the pulse width or duration of each detected periodic signal is calculated by the timer 0 of the single chip microcomputer 2, and only the periodic signals whose pulse width or duration is within the preset upper limit value and lower limit value can be stored in the buffer and enter step S10, that is, the step of calculating and analyzing the periodic signals.
Furthermore, when the analysis result of the periodic signal meets the requirement of the focusing signal, the effective counter +1 judges whether the error code flag bit is 0;
if yes, judging whether the effective counter reaches a threshold value;
if not, the threshold value is +3, and whether the effective counter reaches the threshold value is judged.
Specifically, in steps S11-S15 shown in fig. 1, whether a plurality of periodic signals of a certain portion meet the requirement of the focused signal is sequentially detected, and when the periodic signals meet the requirement of the focused signal, it is determined whether the error flag bit is 0. If yes, the effective counter is +1, repeating the steps, and when the periodic signals all meet the requirement of the focusing signal, the effective counter is increased until the effective counter reaches a threshold value, which shows that a plurality of focusing periodic signals of the part all meet the requirement of the focusing signal and no unsatisfactory noise signal exists, and at the moment, the camera shutter release is triggered to finish the automatic shooting operation. If not, the periodic signal is indicated to be an external noise signal, and at the moment, the preset threshold value is +3, so that the accuracy of the periodic signal detection is increased, and the detection error rate is reduced.
Preferably, when the analysis result of the periodic signal does not meet the requirement of the in-focus signal, the error flag bit is set to 1, and the periodic signal is acquired again. Specifically, in steps S11-S17 shown in fig. 1, it is sequentially detected whether a certain portion of the periodic signals meets the requirement of the focused signal, when the periodic signals do not meet the requirement of the focused signal, it indicates that the signals are undesirable noise signals, the error flag is set to 1, and the step S2 is returned, that is, the periodic signals are obtained through re-detection.
Referring to fig. 2, according to an embodiment of the present invention, the control device 1 includes a single chip microcomputer 2, a power management unit 3, an operation indicator lamp unit 4, a focusing signal processing unit 5, a half-press shutter circuit unit 6, and a full-press shutter circuit unit 7, and the power management unit 3, the operation indicator lamp unit 4, the focusing signal processing unit 5, the half-press shutter circuit unit 6, and the full-press shutter circuit unit 7 are electrically connected to the single chip microcomputer 2. The single chip 2 is used as a central processing unit of the control device 1, is a control core for program execution and operation, is also a final execution unit for information processing and program operation, and respectively controls a power management unit 3, a work indicator lamp unit 4, a focusing signal processing unit 5, a half-press shutter circuit unit 6 and a full-press shutter circuit unit 7 which are electrically connected with the single chip to complete different work of each part.
Referring to fig. 3, in one embodiment, the single chip microcomputer 2 includes a high-precision oscillator circuit 201, a power-on reset circuit 202, a timer circuit 203, and an under-voltage detection circuit 204, and the single chip microcomputer 2 is used for executing and operating a control program. Specifically, the high-precision oscillator circuit 201 provides a basic clock signal for the system of the single chip microcomputer 2, and provides working signal pulses, thereby controlling the rhythm of program operation. The power-on reset circuit 202 is used for controlling the open circuit and the short circuit of the capacitor, so as to control the power-on reset operation of the single chip microcomputer 2, specifically: at the power-on moment of the singlechip 2, the charging current of the capacitor is the maximum, the capacitor is equivalent to a short circuit, and the RST end is at a high level and is automatically reset; when the voltage at the two ends of the capacitor reaches the power supply voltage, the charging current of the capacitor is zero, the capacitor is equivalent to an open circuit, the RST end is at a low level, and the program runs normally. The timer circuit 203 is also called a watchdog circuit, and is configured to periodically check the internal condition of the single chip microcomputer 2, and send a restart signal to the single chip microcomputer 2 when an error occurs, where the signal instructs that the highest priority is provided during program interruption. The undervoltage detection circuit 204 is used for detecting whether the single chip microcomputer 2 has a power failure fault in the operation process, and when the power failure fault occurs, the protection circuit of the single chip microcomputer 2 can actively adopt a power failure protection mode to protect the single chip microcomputer 2. In addition, the single chip microcomputer 2 does not need an external crystal oscillator circuit, and the high-precision oscillator circuit 201 is integrated and arranged in a storage area of the single chip microcomputer 2 to provide working signal pulses for the single chip microcomputer 2, so that more stable frequency is obtained.
In summary, the response speed of the digital camera is slow due to manual shutter pressing, so that the problems that a shooting target is missed or a manually shot picture is not clear due to inaccurate focusing and the like easily occur. Therefore, in the scheme of the invention, the digital camera can complete quick and clear automatic shooting operation by adding a focusing signal sensor (used for detecting a dynamic object signal) outside the digital camera and using a program algorithm of the singlechip 2 under the control of the control device 1 without changing any software and hardware. When a dynamic shot object enters a preset focus range of the digital camera, the shutter of the digital camera is automatically released immediately under the control of the control device 1, so that an instant image of the dynamic shot object is recorded, the rapid and clear automatic shooting operation is completed, and the problem that the digital camera in the prior art cannot automatically shoot, so that the digital camera is difficult to adapt to special use occasions is thoroughly solved.
Referring to fig. 4, in an alternative embodiment of the present invention, the power management unit 3 is electrically connected to the single chip microcomputer 2, the power management unit 3 includes a power charging management chip 301, a linear power chip 302 and a power electronic switch 303, and the power management unit 3 is configured to control safe charging and discharging of a power supply. In this specific scheme, the control device adopts a 100mAH lithium battery to supply power, and the power supply charging management chip 301 is used for controlling the charging operation of the power supply, so as to ensure the rapid and safe charging of the lithium battery. The linear power supply chip 302 is a low-power-consumption low-voltage-difference linear power supply chip, and can play a good role in limiting current and voltage, and prevent the lithium battery from being damaged due to the fact that the current and voltage exceed a preset value. The power electronic switch 303 is specifically a PMOS transistor, the power electronic switch 303 is used for controlling the on and off operations of charging and discharging of the lithium battery, when the PMOS transistor is turned on, the lithium battery can send the power to other units such as the single chip microcomputer 2, and the whole control device 1 enters a working state. Generally speaking, the single chip microcomputer 2 is electrically connected with the power management unit 3, so as to control the power management unit 3 to realize the safe charging and discharging control operation of the lithium battery.
Referring to fig. 5, in another alternative embodiment of the present invention, the operation indicator lamp unit 4 is electrically connected to the single chip microcomputer 2, the operation indicator lamp unit 4 includes an LED lamp 401, and the LED lamp 401 indicates different operation states of the control device 1 through different stroboflash. In this embodiment, the LED lamp 401 can adjust its flashing frequency according to different operating states of the control device 1, so that the respective operating states of the control device are intuitively displayed to the user. In the prior art, the indicating function of the working state is realized by a plurality of lamp groups, but the function can be realized by one LED lamp 401, so that the hardware volume can be reduced, and the pin requirement of the singlechip 2 is reduced. Generally speaking, the single chip microcomputer 2 is electrically connected with the work indicator lamp unit 4, so as to control the LED lamp 401 to realize the operation of adjusting the flicker frequency.
Referring to fig. 6, in another alternative embodiment of the present invention, the focusing signal processing unit 5 is electrically connected to the single chip microcomputer 2, the focusing signal processing unit 5 includes a sound pickup 501, and the sound pickup 501 is used to connect with an earphone jack of the camera, so as to collect a focusing signal of the camera. In this embodiment, when the control device 1 is used, the pickup 501 is inserted into the camera from the headphone hole of the camera, and the in-focus signal is extracted from the digital camera. In general, the single chip microcomputer 2 is electrically connected to the focusing signal processing unit 5, so as to control the sound pickup 501 to extract the focusing signal and filter out external noise.
Further, the focusing signal processing unit 5 further includes a mobile phone interference suppression circuit 502, a filter circuit 503, an amplification circuit 504 and a shaping circuit 505, and the focusing signal processing unit 5 is configured to filter out noise, so as to ensure that the focusing signal acquired by the sound pickup 501 has high precision. Specifically, the focusing signal processing unit 5 formed by combining the mobile phone interference suppression circuit 502, the filter circuit 503, the amplification circuit 504 and the shaping circuit 505 can filter out ripples in the rectified output voltage, so as to play a role in eliminating external noise, ensure that corresponding measures are taken in software and hardware, and ensure that the digital camera is not interfered by external voice in a voice frequency band to cause false triggering.
Referring to fig. 7, in another alternative embodiment of the present invention, the half-press shutter release circuit unit 6 is electrically connected to the single chip microcomputer 2, the half-press shutter release circuit unit 6 includes a PMOS transistor 601, and when the shutter of the camera is half-pressed, the PMOS transistor 601 is turned on, and the control device 1 enters an operating state. Specifically, when the digital camera half-presses the shutter, the line changes from high 3.3 volts to low <0.3 volts. The circuit is connected to the G pole of the PMOS transistor 601, and when the G pole is applied with a low level, the PMOS transistor 601 is turned on, so that power is supplied to other units such as the single chip microcomputer 2, and the entire control device 1 enters a working state. Generally speaking, the single chip microcomputer 2 is electrically connected with the half-press shutter release circuit unit 6, so as to control whether the PMOS tube 601 is conducted or not, and control of the working state of the control device 1 is completed.
Further, the half-press shutter release circuit unit 6 further includes a clamp diode 602, and the clamp diode 602 limits a potential voltage in the half-press shutter release circuit unit 6, thereby preventing static electricity from being introduced and damaging the shutter circuit.
Referring to fig. 8, in another alternative embodiment of the present invention, the full-press shutter release circuit unit 7 is electrically connected to the single chip microcomputer 2, the full-press shutter release circuit unit 7 includes an electronic shutter release including an NPN type triode 701, the electronic shutter release is used to connect to a shutter release interface of the camera, and when a focusing signal is detected, the single chip microcomputer 2 triggers the electronic shutter release to enable the camera to enter a shooting state. Specifically, the NPN type triode 701 plays a role in current amplification and electronic switching, and since the electronic shutter release is connected with the shutter release interface of the camera, when a focusing signal is detected, the single chip microcomputer 2 triggers the electronic shutter release, and the NPN type triode 701 is turned on, so that the camera enters a shooting state. The single chip microcomputer 2 is electrically connected with the full-push shutter release circuit unit 7, so that the on-off state of the NPN type triode 701 is controlled, and the shooting state of the camera is controlled.
Referring to fig. 9, in a further embodiment of the present invention, the single chip microcomputer 2 is a single chip microcomputer, the power management unit 3, the operation indicator lamp unit 4, the focusing signal processing unit 5, the half-press shutter circuit unit 6, and the full-press shutter circuit unit 7 are all embedded in an EPROM storage area of the single chip microcomputer, when a programming program is started, data is written into the EPROM storage area row by row, and the data can be retained after power failure, so that the functions of program execution and operation are performed, and each unit is controlled to complete different operations of each part.
Referring to fig. 10, in combination with the above-described embodiments, the control device 1 provided by the present invention specifically includes the following working procedures:
s101, setting various parameters (such as modes, voice prompt functions, the number of continuous shooting at each time or each second and the like) of the digital camera, putting a sound pickup 501 of the device into the camera from an earphone jack of the digital camera, and connecting an electronic shutter release of the device with a shutter release interface of the digital camera;
s102, aiming the focus of the digital camera at a target or a position where the target may appear, adjusting the camera by adopting an automatic or manual method until the camera emits two focusing prompt tones of beep, which indicate that the camera has adjusted the distance from the target, and then changing AF (automatic focusing) on a lens or a camera body into MF (manual focusing). In addition, different focusing modes can be set according to the size of the shot target;
s103, when a shutter key of the digital camera is half pressed or a power switch of the device is closed, the device enters a working state. The device adopts an interruption mode to detect a focusing signal, and when the focusing signal is detected, the device triggers the electronic shutter release to enable the camera to enter a shooting state, and the shooting time lasts for 1 second. After shooting is finished, waiting for 2 seconds, and entering next circulation again;
s104, when the power switch of the device is switched off or the half-press shutter key of the camera is released, the device loses power and stops working.
Of course, the above is a preferred embodiment of the present invention. It should be noted that, for a person skilled in the art, several modifications and refinements can be made without departing from the basic principle of the invention, and these modifications and refinements are also considered to be within the protective scope of the invention.
Of course, the above is a preferred embodiment of the present invention. It should be noted that, for a person skilled in the art, several modifications and refinements can be made without departing from the basic principle of the invention, and these modifications and refinements are also considered to be within the protective scope of the invention.

Claims (10)

1. An automatic shooting control method is characterized by comprising the following steps:
acquiring a periodic signal, and judging whether the pulse width of the periodic signal is within a preset range;
when the pulse width of the periodic signal is within a preset range, calculating and analyzing the periodic signal, and judging whether the analysis result of the periodic signal meets the requirement of a focusing signal;
when the analysis result of the periodic signal meets the requirement of the focusing signal, the effective counter is + 1;
judging whether the effective counter reaches a threshold value;
and when the effective counter reaches the threshold value, triggering a camera shutter release, delaying for 1S, and performing idle operation for 2S.
2. The automatic shooting control method according to claim 1, wherein the determining whether the pulse width of the periodic signal is within a preset range includes:
when detecting the high level of the port, the timer 0 is cleared and starts to count;
then when detecting the low level of the port, the overflow flag of the timer 0 is 1;
and then when the high level of the port is detected, recording the count value of the timer 0, storing the count value into a buffer, and simultaneously resetting the count value of the timer 0 again.
3. The automatic photographing control method according to claim 2, further comprising:
when the analysis result of the periodic signal meets the requirement of the focusing signal, an effective counter +1 is used, and whether the error code flag bit is 0 or not is judged;
if yes, judging whether the effective counter reaches the threshold value;
if not, the threshold value is +3, and whether the effective counter reaches the threshold value is judged.
4. The automatic photographing control method according to claim 3, further comprising:
and when the analysis result of the periodic signal does not meet the requirement of the focused signal, setting the error code flag bit to be 1, and acquiring the periodic signal again.
5. A control device is characterized by comprising a single chip microcomputer, a power supply management unit, a working indicator lamp unit, a focusing signal processing unit, a half-pressing shutter circuit unit and a full-pressing shutter circuit unit, wherein the power supply management unit, the working indicator lamp unit, the focusing signal processing unit, the half-pressing shutter circuit unit and the full-pressing shutter circuit unit are all arranged in an EPROM storage area of the single chip microcomputer in an embedded mode;
the single chip microcomputer is used for executing the automatic shooting control method according to any one of claims 1 to 4, and comprises a high-precision oscillator circuit, a power-on reset circuit, a timer circuit and an undervoltage detection circuit, and the single chip microcomputer is used for controlling execution and operation of programs.
6. The control device of claim 5, wherein the power management unit is electrically connected to the single chip, the power management unit comprises a power charging management chip, a linear power chip and a power electronic switch, and the power management unit is used for controlling safe charging and discharging of a power supply.
7. The control device of claim 5, wherein the work indicator light unit is electrically connected with the single chip microcomputer, the work indicator light unit comprises an LED lamp, and the LED lamp indicates different work states of the control device through different stroboflash.
8. The control device of claim 5, wherein the focusing signal processing unit is electrically connected to the single chip microcomputer, the focusing signal processing unit includes a sound pickup, a mobile phone interference suppression circuit, a filter circuit, an amplification circuit and a shaping circuit, the sound pickup is used for being connected to an earphone jack of the camera so as to collect a focusing signal of the camera, and the focusing signal processing unit is used for filtering noise and ensuring that the focusing signal collected by the sound pickup has high precision.
9. The control device of claim 5, wherein the half-press shutter circuit unit is electrically connected to the single chip microcomputer, the half-press shutter circuit unit comprises a PMOS (P-channel metal oxide semiconductor) transistor and a clamping diode, the PMOS transistor is conducted when a shutter of the camera is half-pressed, the control device enters an operating state, and the clamping diode is used for preventing static electricity from being introduced to damage the shutter circuit.
10. The control device of claim 5, wherein the full-press shutter release unit is electrically connected to the single chip, the full-press shutter release unit comprises an electronic shutter release including an NPN triode, the electronic shutter release is used for being connected to a shutter release interface of the camera, and when a focusing signal is detected, the single chip triggers the electronic shutter release to enable the camera to enter a shooting state.
CN202011418176.0A 2020-12-07 2020-12-07 Automatic shooting control method and control device thereof Active CN112601011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011418176.0A CN112601011B (en) 2020-12-07 2020-12-07 Automatic shooting control method and control device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011418176.0A CN112601011B (en) 2020-12-07 2020-12-07 Automatic shooting control method and control device thereof

Publications (2)

Publication Number Publication Date
CN112601011A true CN112601011A (en) 2021-04-02
CN112601011B CN112601011B (en) 2022-12-02

Family

ID=75189016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011418176.0A Active CN112601011B (en) 2020-12-07 2020-12-07 Automatic shooting control method and control device thereof

Country Status (1)

Country Link
CN (1) CN112601011B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113543410A (en) * 2021-07-31 2021-10-22 深圳宇凡微电子有限公司 Intelligent driving method and device for multicolor LED lamp and electronic equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60159732A (en) * 1984-01-30 1985-08-21 Seiko Koki Kk Automatic shutter release device by focus signal of camera
US4853732A (en) * 1987-02-03 1989-08-01 Asahi Kogaku Kogyo K.K. Automatic focusing camera
JP2007189384A (en) * 2006-01-12 2007-07-26 Seiko Epson Corp Imaging apparatus, control method, and control program
US20100157132A1 (en) * 2008-12-24 2010-06-24 Samsung Digital Imaging Co., Ltd. Digital image processing apparatus and method of controlling the same
CN101931744A (en) * 2009-06-17 2010-12-29 Hoya株式会社 Use the imager of rolling shutter photographic images
CN201789556U (en) * 2010-09-02 2011-04-06 广州市晶华光学电子有限公司 Camera capable of automatically sensing and photographing
CN102801915A (en) * 2012-08-28 2012-11-28 广东欧珀移动通信有限公司 Automatic photo-taking method of handheld device
CN103108127A (en) * 2013-02-17 2013-05-15 华为终端有限公司 Method for shooting pictures through portable device and portable device
WO2014013907A1 (en) * 2012-07-20 2014-01-23 ソニー株式会社 Image processing device and method, and program
CN205334022U (en) * 2016-02-02 2016-06-22 陈锡俊 Single opposition machine shutter timer control device
CN105763811A (en) * 2016-03-31 2016-07-13 努比亚技术有限公司 Shooting control device and method
JP2018107560A (en) * 2016-12-26 2018-07-05 キヤノン株式会社 Imaging apparatus
CN109257577A (en) * 2018-11-20 2019-01-22 深圳合和汇通实业有限公司 A kind of monitoring capture apparatus of automatic trigger shutter and light filling

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60159732A (en) * 1984-01-30 1985-08-21 Seiko Koki Kk Automatic shutter release device by focus signal of camera
US4853732A (en) * 1987-02-03 1989-08-01 Asahi Kogaku Kogyo K.K. Automatic focusing camera
JP2007189384A (en) * 2006-01-12 2007-07-26 Seiko Epson Corp Imaging apparatus, control method, and control program
US20100157132A1 (en) * 2008-12-24 2010-06-24 Samsung Digital Imaging Co., Ltd. Digital image processing apparatus and method of controlling the same
CN101931744A (en) * 2009-06-17 2010-12-29 Hoya株式会社 Use the imager of rolling shutter photographic images
CN201789556U (en) * 2010-09-02 2011-04-06 广州市晶华光学电子有限公司 Camera capable of automatically sensing and photographing
WO2014013907A1 (en) * 2012-07-20 2014-01-23 ソニー株式会社 Image processing device and method, and program
CN102801915A (en) * 2012-08-28 2012-11-28 广东欧珀移动通信有限公司 Automatic photo-taking method of handheld device
CN103108127A (en) * 2013-02-17 2013-05-15 华为终端有限公司 Method for shooting pictures through portable device and portable device
CN205334022U (en) * 2016-02-02 2016-06-22 陈锡俊 Single opposition machine shutter timer control device
CN105763811A (en) * 2016-03-31 2016-07-13 努比亚技术有限公司 Shooting control device and method
JP2018107560A (en) * 2016-12-26 2018-07-05 キヤノン株式会社 Imaging apparatus
CN109257577A (en) * 2018-11-20 2019-01-22 深圳合和汇通实业有限公司 A kind of monitoring capture apparatus of automatic trigger shutter and light filling

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113543410A (en) * 2021-07-31 2021-10-22 深圳宇凡微电子有限公司 Intelligent driving method and device for multicolor LED lamp and electronic equipment
CN113543410B (en) * 2021-07-31 2024-05-28 深圳宇凡微电子有限公司 Intelligent driving method and device for multicolor LED lamp and electronic equipment

Also Published As

Publication number Publication date
CN112601011B (en) 2022-12-02

Similar Documents

Publication Publication Date Title
CN103428416B (en) Automatic terminal focusing mode switching method and terminal
US20070030381A1 (en) Digital camera
JP2005352487A (en) Autofocus after capturing image
US8089554B2 (en) Image capturing apparatus, control method therefor, and program
EP3062513B1 (en) Video apparatus and photography method thereof
US9674496B2 (en) Method for selecting metering mode and image capturing device thereof
KR20100013701A (en) Apparatus and mthod for self timer image capture by checking the number of person
JP4098940B2 (en) Digital camera
JP2005184508A (en) Imaging device and control method therefor
CN112601011B (en) Automatic shooting control method and control device thereof
US20080049134A1 (en) Camera system and method for controlling display during focus operation
JP4532819B2 (en) Imaging device
JP2006084556A (en) Focus detecting device
JP5332160B2 (en) Imaging apparatus, control method thereof, and program
JP2007166187A (en) Imaging device and method
JP5073602B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
US7760999B2 (en) Image capturing apparatus, control method thereof, program, and storage medium
CN213586006U (en) Automatic shooting control device
CN107257437B (en) Method and device for accelerating AEC convergence and terminal equipment
JP7511387B2 (en) Imaging device, control method and program
JP2010028605A (en) Image capturing apparatus and method of controlling the same
JP2004117845A (en) Imaging device
JP2009182880A (en) Imaging apparatus and its program
JP6232690B2 (en) Imaging apparatus, illumination control method, and program
JP2003121721A (en) Imaging device and its focusing control method, and program

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