CN114500854B - Camera module, control method of camera module and camera communication system - Google Patents

Camera module, control method of camera module and camera communication system Download PDF

Info

Publication number
CN114500854B
CN114500854B CN202210183679.7A CN202210183679A CN114500854B CN 114500854 B CN114500854 B CN 114500854B CN 202210183679 A CN202210183679 A CN 202210183679A CN 114500854 B CN114500854 B CN 114500854B
Authority
CN
China
Prior art keywords
processor
analog
communication
camera module
video
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
CN202210183679.7A
Other languages
Chinese (zh)
Other versions
CN114500854A (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 Crystal Optech Co Ltd
Original Assignee
Zhejiang Crystal Optech 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 Crystal Optech Co Ltd filed Critical Zhejiang Crystal Optech Co Ltd
Priority to CN202210183679.7A priority Critical patent/CN114500854B/en
Publication of CN114500854A publication Critical patent/CN114500854A/en
Application granted granted Critical
Publication of CN114500854B publication Critical patent/CN114500854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • 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/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus

Landscapes

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

Abstract

The application provides a camera module, a control method of the camera module and a camera communication system, and relates to the technical field of circuits. Comprising the following steps: the device comprises a processor, a video amplifying chip, an analog switch, a communication detection module and an analog video interface; the output end of the video amplifying chip is connected with an analog video interface through an analog switch; the analog video interface is also connected with the processor through the communication detection module; the processor is also connected with the control end of the analog switch, so that when the external equipment is detected as the communication equipment, the channel state of the analog switch is controlled, the processor performs digital communication through the analog video interface, and when the external equipment is detected as the video equipment, the channel state of the analog switch is controlled, and the video amplifying chip performs analog video transmission through the analog video interface. Not only can the analog video transmission be realized, but also the digital communication can be conveniently and flexibly realized, and the user experience is improved.

Description

Camera module, control method of camera module and camera communication system
Technical Field
The application relates to the technical field of circuits, in particular to a camera module, a control method of the camera module and a camera communication system.
Background
With the progress of scientific technology, the imaging technology has also been rapidly developed. The camera module is used as an electronic device which is important for capturing images, is widely applied to scenes such as face recognition, video conference, monitoring equipment, advertising machines, object recognition, medical equipment, teaching equipment and the like, and can be used for directly throwing, storing, compressing, calculating and recognizing video pictures.
In the related art, the analog camera module can output analog video, including: the video processor, the video amplifying chip and the analog video interface are connected in sequence; the video processor processes the electric signals corresponding to the acquired pictures to obtain analog videos, the analog videos are amplified by the video amplifying chip and then transmitted to the analog video interface, and the analog videos are transmitted to video equipment connected with the analog video interface.
However, in the related art, the analog camera module can only transmit analog video, digital communication cannot be performed, and user experience is reduced.
Disclosure of Invention
The application aims to overcome the defects in the prior art, and provides a camera module, a control method of the camera module and a camera communication system, so as to solve the problems that in the related art, an analog camera module can only transmit analog video, digital communication cannot be performed and user experience is reduced.
In order to achieve the above purpose, the technical scheme adopted by the embodiment of the application is as follows:
in a first aspect, an embodiment of the present application provides a camera module, including: the device comprises a processor, a video amplifying chip, an analog switch, a communication detection module and an analog video interface;
the output end of the video amplifying chip is connected with the analog video interface through the analog switch; the analog video interface is also connected with the processor through the communication detection module, so that whether the external equipment connected with the analog video interface is communication equipment or video equipment is judged based on the electric signal output by the communication detection module;
the processor is further connected with the control end of the analog switch, so that when the external equipment is detected to be communication equipment, the on-off state of the analog switch is controlled, the processor is enabled to conduct digital communication through the analog video interface, and when the external equipment is detected to be video equipment, the on-off state of the analog switch is controlled, and the video amplifying chip is enabled to conduct analog video transmission through the analog video interface.
Optionally, the camera module further includes: matching the resistor;
the analog switch is connected with the analog video interface through the matching resistor.
Optionally, the communication detection module comprises a zener diode and a switching device;
the cathode of the voltage stabilizing diode is connected with the analog video interface, the anode of the voltage stabilizing diode is connected with the control end of the switching device, the power end of the switching device is connected with a preset power supply, and the detection end of the switching device is connected with the processor;
the detection end of the switching device is used for sending a first electric signal to the processor when the zener diode is conducted so as to indicate that the external equipment is the communication equipment; and when the voltage stabilizing diode is disconnected, sending a second electric signal to the processor to indicate that the external equipment is the video equipment.
Optionally, the switching device includes: triode and first resistance, switching element's control end is the base of triode, switching element's power end passes through the resistance connection predetermine the power, switching element's power end is first resistance connection predetermine the one end of power, switching element's detection end is the collecting electrode of triode, the projecting pole ground connection of triode.
Optionally, the communication detection module further includes: and the control end of the switching device is connected with the anode of the zener diode through the second resistor.
Optionally, the method further comprises: and the single-wire communication circuit is used for connecting the processor with the analog switch.
Optionally, the data transmitting end of the processor is connected with the analog switch through the single-wire communication circuit, and the data receiving end of the processor is directly connected with the analog switch.
Optionally, the single-wire communication circuit includes: a diode;
the data transmitting end of the processor is connected with the anode of the diode, and the cathode of the diode is connected with the analog switch.
In a second aspect, an embodiment of the present application further provides a method for controlling a camera module, where the camera module is any one of the camera modules in the first aspect, and the method includes:
the processor acquires an electric signal output by the communication detection module;
the processor determines whether the external equipment connected with the analog video interface is communication equipment or video equipment according to the electric signals;
if the external equipment is communication equipment, the processor controls the on-off state of the analog switch, so that the processor performs digital communication through the analog video interface;
if the external equipment is video equipment, the processor controls the on-off state of the analog switch, so that the video amplified video is transmitted through the analog video interface.
In a third aspect, an embodiment of the present application further provides a camera communication system, including: an external device and the camera module according to any one of the first aspects;
the external equipment is connected with the analog video interface of the camera module through a plug;
when the external equipment is communication equipment, the communication equipment is used for carrying out digital communication with a processor in the camera module through the analog video interface;
when the external device is a video device, the communication device is used for transmitting analog video through the analog video interface and a video amplifying chip in the camera module.
The beneficial effects of the application are as follows: the embodiment of the application provides a camera module, which comprises: the device comprises a processor, a video amplifying chip, an analog switch, a communication detection module and an analog video interface; the output end of the video amplifying chip is connected with an analog video interface through an analog switch; the analog video interface is also connected with the processor through the communication detection module, so that the external equipment connected with the analog video interface is judged to be communication equipment or video equipment based on the electric signal output by the communication detection module; the processor is also connected with the control end of the analog switch, so that when the external equipment is detected as the communication equipment, the on-off state of the analog switch is controlled, the processor performs digital communication through the analog video interface, and when the external equipment is detected as the video equipment, the on-off state of the analog switch is controlled, and the video amplifying chip performs analog video transmission through the analog video interface. The internal circuit of the camera module is changed, devices such as an analog switch and a communication detection module are added, if the analog video interface determines that the video equipment is connected, the on-off state of the analog switch is changed to carry out analog video transmission, if the analog video interface determines that the communication equipment is connected, the on-off state of the analog switch is changed to carry out digital communication, so that the analog video transmission can be realized, the digital communication can be conveniently and flexibly realized, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a camera module according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a camera module according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a camera module according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a camera module according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a single-wire communication circuit according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a camera communication system according to an embodiment of the present application;
fig. 7 is a flow chart of a control method of a camera module according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a control device of a camera module according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a processor according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application.
Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the description of the present application, it should be noted that, if the terms "upper", "lower", and the like indicate an azimuth or a positional relationship based on the azimuth or the positional relationship shown in the drawings, or an azimuth or the positional relationship conventionally put in use of the product of the application, it is merely for convenience of describing the present application and simplifying the description, and it is not indicated or implied that the apparatus or element referred to must have a specific azimuth, be configured and operated in a specific azimuth, and thus should not be construed as limiting the present application.
Furthermore, the terms first, second and the like in the description and in the claims and in the above-described figures, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the features of the embodiments of the present application may be combined with each other without conflict.
With the progress of scientific technology, the imaging technology has also been rapidly developed. The camera module is used as an electronic device which is important for capturing images, is widely applied to scenes such as face recognition, video conference, monitoring equipment, advertising machines, object recognition, medical equipment, teaching equipment and the like, and can be used for directly throwing captured video pictures on a screen.
In the related art, the analog camera module may output an analog video, and the analog camera module may include: the processor, the video amplifying chip and the analog video interface are connected in sequence; the processor processes the electric signals corresponding to the acquired pictures to obtain analog videos, the analog videos are amplified by the video amplifying chip and then transmitted to the analog video interface, and the analog videos are transmitted to video equipment connected with the analog video interface.
However, in the related art, the analog camera module can only transmit analog video, digital communication cannot be performed, if digital communication is required, the analog camera module needs to be disassembled, and the processor and the communication equipment perform digital communication, so that the structure of the analog camera module is damaged, the operation is inconvenient, and the user experience is reduced.
Aiming at the technical problems in the related art, the embodiment of the application provides a camera module, which is added with devices such as an analog switch, a communication detection module and the like, wherein an analog video interface can be connected with communication equipment or video equipment; the processor can determine whether the analog video interface is connected with the communication equipment or the video equipment according to the electric signal output by the communication detection module, if the analog video interface determines that the analog video interface is connected with the video equipment, the on-off state of the analog switch is changed to carry out analog video transmission, and if the analog video interface determines that the analog video interface is connected with the communication equipment, the on-off state of the analog switch is changed to carry out digital communication. The internal circuit of the camera module is changed, so that not only can analog video transmission be realized, but also digital communication can be conveniently and flexibly realized, and the user experience is improved.
The following explains a camera module provided by the embodiment of the application.
Fig. 1 is a schematic structural diagram of a camera module according to an embodiment of the present application, as shown in fig. 1, the camera module may include: a processor 101, a video amplifying chip 102, an analog switch 103, a communication detection module 104, and an analog video interface 105.
The output end of the video amplifying chip 102 is connected with the analog video interface 105 through the analog switch 103; the analog video interface 105 is further connected to the processor 101 through the communication detection module 104, so that whether the external device connected to the analog video interface 105 is a communication device or a video device is judged based on the electric signal output by the communication detection module 104;
in addition, the processor 101 is further connected to a control end of the analog switch 103, so as to control the on-off state of the analog switch 103 when detecting that the external device is a communication device, so that the processor 101 performs digital communication through the analog video interface 105, and control the on-off state of the analog switch 103 when detecting that the external device is a video device, so that the video amplifying chip 102 performs transmission of analog video through the analog video interface 105.
In some embodiments, the analog video interface 105 may be connected to a communication device, and the communication detection module 104 may output a first electrical signal to the processor 101 based on the voltage value transmitted by the analog video interface 105; the processor 101 may receive the first electrical signal and control the on-off state of the analog switch 103 such that the processor 101, the analog switch 103, and the analog video interface 105 form a pathway based on which digital communication with the communication device may be performed.
It should be noted that, controlling the on-off state of the analog switch 103 may be understood as controlling the channel state of the analog switch 103, where the channel state of the analog switch 103 may be switched between the digital communication channel and the analog video channel; when the external device is detected to be a communication device, controlling the channel state of the switching analog switch 103 to be a digital communication channel; when the external device is detected as a video device, the channel state of the changeover analog switch 103 is controlled to be an analog video channel.
Alternatively, when the analog video interface 105 is connected to the communication device, the voltage value transmitted by the analog video interface 105 is greater than the preset voltage threshold, and the first electrical signal may be a low-level signal.
In other embodiments, the analog video interface 105 may be connected to a video device, and the communication detection module 104 may output a second electrical signal to the processor 101 based on the voltage value transmitted by the analog video interface 105; the processor 101 may receive the second electrical signal and control the on-off state of the analog switch 103, so that the processor 101, the video amplifying chip 102, the analog switch 103 and the analog video interface 105 form a channel, and based on the channel, analog video may be transmitted with the video device.
The video amplifying chip 102 amplifies the analog video output by the processor 101, and the amplified analog video is sequentially transmitted to the analog video through the analog switch 103 and the analog video interface 105.
Alternatively, when the analog video interface 105 is connected to a video device, the voltage value transmitted by the analog video interface 105 is smaller than the preset voltage threshold, and the second electrical signal may be a high level signal.
It should be noted that the camera module may further include: the lens and the sensor are connected with the processor 101, the lens can collect optical signals, the sensor converts the optical signals into electric signals and transmits the electric signals to the processor 101, and the processor 101 processes the electric signals to obtain analog videos.
In addition, the video amplifying chip 102 may be the video amplifying chip 102 of a preset magnification, for example, the preset magnification may be 6db (decibel).
In embodiments of the present application, digital communication may include reading data in the processor 101 and/or upgrading programs in the processor 101, etc.
In summary, an embodiment of the present application provides a camera module, including: the device comprises a processor, a video amplifying chip, an analog switch, a communication detection module and an analog video interface; the output end of the video amplifying chip is connected with an analog video interface through an analog switch; the analog video interface is also connected with the processor through the communication detection module, so that the external equipment connected with the analog video interface is judged to be communication equipment or video equipment based on the electric signal output by the communication detection module; the processor is also connected with the control end of the analog switch, so that when the external equipment is detected as the communication equipment, the on-off state of the analog switch is controlled, the processor performs digital communication through the analog video interface, and when the external equipment is detected as the video equipment, the on-off state of the analog switch is controlled, and the video amplifying chip performs analog video transmission through the analog video interface. The internal circuit of the camera module is changed, devices such as an analog switch and a communication detection module are added, if the analog video interface determines that the video equipment is connected, the on-off state of the analog switch is changed to carry out analog video transmission, if the analog video interface determines that the communication equipment is connected, the on-off state of the analog switch is changed to carry out digital communication, so that the analog video transmission can be realized, the digital communication can be conveniently and flexibly realized, and the user experience is improved.
Further, depending on the external device to which the analog video interface 105 is connected, it is possible to automatically and dynamically switch the state of the analog switch 103, to transmit an analog video to a video device, or to perform digital communication with a communication device.
In addition, the processor 101 may be an MCU (Microcontroller Unit, micro control unit).
Optionally, fig. 2 is a schematic structural diagram of a camera module according to an embodiment of the present application, as shown in fig. 2, and as shown in fig. 2, the camera module further includes: a matching resistor 106;
wherein the analog switch 103 is connected with the analog video interface 105 through the matching resistor 106.
In the embodiment of the application, the matching resistor 106 and the resistor in the video equipment form resistance matching, so that the amplitude of the analog video can be ensured not to be attenuated. Wherein the video device may include: a plug, a resistor and a video processing chip connected in sequence, wherein the plug can be plugged with the analog video interface 105.
In practical applications, the matching resistor 106 may have a value of 75 ohms, although the resistor in the video device may also have a value of 75 ohms.
Optionally, fig. 3 is a schematic structural diagram of a camera module according to an embodiment of the present application, and as shown in fig. 3, the communication detection module 104 may include a zener diode 1041 and a switching device 1042.
The cathode of the zener diode 1041 is connected to the analog video interface 105, the anode of the zener diode 1041 is connected to the control end of the switching device 1042, the power end of the switching device 1042 is connected to the preset power supply 1043, and the detection end of the switching device 1042 is connected to the processor 101;
in addition, the detection end of the switching device 1042 is used for sending a first electrical signal to the processor 101 when the zener diode 1041 is turned on, so as to indicate that the external device is a communication device; when the zener diode 1041 is turned off, a second electrical signal is sent to the processor 101 to indicate that the external device is a video device.
The voltage stabilizing point of the zener diode 1041 may be a preset voltage threshold, for example, the voltage stabilizing point may be 2 volts.
It should be noted that, if the analog video interface 105 is connected to a video device, the voltage (for example, may be 1 volt) transmitted by the analog video interface 105 is smaller than the regulated voltage point, and the zener diode 1041 is disconnected; if the analog video interface 105 is connected to a communication device, the voltage (e.g., 5 volts or 3.3 volts) transmitted by the analog video interface 105 is greater than the regulated voltage point, and the zener diode 1041 is turned on.
In some embodiments, if the analog video interface 105 is connected to a video device, the zener diode 1041 is turned off, the switching device 1042 is not turned on, the switching device 1042 sends a first electrical signal to the processor 101, and the processor 101 receives the first electrical signal to determine that the external device is a video device.
In other embodiments, if the analog video interface 105 is connected to a communication device, the zener diode 1041 is turned on, the switching device 1042 is also turned on, the switching device 1042 sends a second electrical signal to the processor 101, and the processor 101 receives the second electrical signal to determine that the external device is a communication device.
Optionally, fig. 4 is a schematic structural diagram of a camera module according to an embodiment of the present application, as shown in fig. 4, a switching device 1042 may include: transistor T1 and first resistor R1.
The control end of the switching device 1042 is the base of the triode T1, the power end of the switching device 1042 is connected to the preset power supply 1043 through the first resistor R1, the power end of the switching device 1042 is one end of the first resistor R1 connected to the preset power supply 1043, the detection end of the switching device 1042 is the collector of the triode T1, and the emitter of the triode T1 is grounded.
In some embodiments, if the analog video interface 105 is connected to a video device, the zener diode 1041 is turned off, the transistor T1 is also turned off, and a high level signal (first electrical signal) is sent to the processor 101 through the collector of the transistor T1, and the processor 101 receives the high level signal, so as to determine that the external device is a video device.
In some embodiments, if the analog video interface 105 is connected to a communication device, the zener diode 1041 is turned on, the triode T1 is turned on, and a low level signal (second electrical signal) is sent to the processor 101 through the emitter of the triode T1, and the processor 101 receives the low level signal, so as to determine that the external device is the communication device.
Optionally, as shown in fig. 4, the communication detection module 104 further includes: the control terminal of the switching device 1042 is connected to the anode of the zener diode 1041 through the second resistor R2.
In the embodiment of the application, both the first resistor R1 and the second resistor R2 can be used for current limiting. The first resistor R1 and the second resistor R2 may be set according to actual requirements, which is not specifically limited in the embodiment of the present application.
In some embodiments, the communication detection module 104 may include a comparator or a circuit with a comparison function, where a detection end of the comparator is connected to the analog video interface 105, a voltage input end of the comparator is connected to a reference power supply, so that the reference power supply inputs a reference voltage to the comparator, a power supply end of the comparator is connected to a preset power supply, a ground of the comparator is grounded, and an output end of the comparator outputs an electrical signal to the processor 101, so that the processor 101 determines whether an external device connected to the analog video interface is a communication device or a video device according to the electrical signal.
Optionally, as shown in fig. 2, the camera module may further include: single wire communication circuit 107, processor 101 may be connected to analog switch 103 through single wire communication circuit 107.
The communication circuit is used for isolating the receiving path from the transmitting path, so as to avoid mutual interference of the processor 101 in the process of transmitting data and receiving data.
Alternatively, as shown in fig. 4, the data transmitting terminal TX of the processor 101 is connected to the analog switch 103 through a single-wire communication circuit 107, and the data receiving terminal RX of the processor 101 is directly connected to the analog switch 103.
Alternatively, as shown in fig. 4, the single-wire communication circuit 107 may include: a diode D1;
the data transmitting end of the processor 101 is connected to the anode of the diode D1, and the cathode of the diode D1 is connected to the analog switch 103.
In the embodiment of the present application, when the processor 101 receives data, the data transmitting end of the processor 101 may be set to an disabled state (low level); when the processor 101 transmits data, the data receiving end of the processor 101 may be set to an disabled state (low level) to isolate the receive path from the transmit path.
Optionally, fig. 5 is a schematic structural diagram of a single-wire communication circuit 107 according to an embodiment of the present application, as shown in fig. 5, a TX in the single-wire communication circuit 107 is connected to a transmitting end of the processor 101, an RX in the single-wire communication circuit 107 is connected to a receiving end of the processor 101, and an RX/TX in the single-wire communication circuit 107 is connected to the analog switch 103.
Wherein, still include in the single line communication circuit: the third resistor R3, the fourth resistor R4 and the second triode T2, wherein the third resistor R3 is connected between the transmitting end of the processor 101 and the base electrode of the second triode T2, the collector electrode of the second triode T2 is connected with the power VCC through the fourth resistor R4, the collector electrode of the second triode T2 is also connected with the analog switch 103 through the diode D2, the emitter electrode of the second triode T2 is grounded, and the collector electrode of the third triode T3 is connected with the analog switch 103.
The communication circuit further includes: the fifth resistor R5, the sixth resistor R6 and the third triode T3, wherein the fifth resistor R5 is connected between the analog switch 103 and the base electrode of the third triode T3, the collector electrode of the third triode T3 is connected with the power VCC through the sixth resistor R6, the emitter electrode of the third triode T3 is grounded, and the collector electrode of the third triode T3 is connected with the receiving end of the processor 101.
It should be noted that the single-wire communication circuit 107 provided in fig. 5 may also implement isolation between the receive path and the transmit path. The embodiment of the present application is not particularly limited with respect to the specific form of the single-wire communication circuit 107.
In summary, an embodiment of the present application provides a camera module, including: the device comprises a processor, a video amplifying chip, an analog switch, a communication detection module and an analog video interface; the output end of the video amplifying chip is connected with an analog video interface through an analog switch; the analog video interface is also connected with the processor through the communication detection module, so that the external equipment connected with the analog video interface is judged to be communication equipment or video equipment based on the electric signal output by the communication detection module; the processor is also connected with the control end of the analog switch, so that when the external equipment is detected as the communication equipment, the on-off state of the analog switch is controlled, the processor performs digital communication through the analog video interface, and when the external equipment is detected as the video equipment, the on-off state of the analog switch is controlled, and the video amplifying chip performs analog video transmission through the analog video interface. The internal circuit of the camera module is changed, devices such as an analog switch and a communication detection module are added, if the analog video interface determines that the video equipment is connected, the on-off state of the analog switch is changed to carry out analog video transmission, if the analog video interface determines that the communication equipment is connected, the on-off state of the analog switch is changed to carry out digital communication, so that the analog video transmission can be realized, the digital communication can be conveniently and flexibly realized, and the user experience is improved.
In addition, in the related art, if the camera module is a waterproof camera module, the disassembling machine can damage the waterproof function of the camera module. Compared with the prior art, the digital communication can be realized by plugging the communication equipment on the analog video interface, the disassembly is not needed, and the waterproof function of the waterproof camera module is not damaged.
Fig. 6 is a schematic structural diagram of a camera communication system according to an embodiment of the present application, as shown in fig. 6, including: the external device 601 and the camera module 602 shown in any one of fig. 1 to 5, wherein the external device 601 is connected with an analog video interface of the camera module 602 through a plug;
when the external device 601 is a communication device, the communication device is configured to perform digital communication with the processor in the camera module 602 through the analog video interface;
in addition, when the external device 601 is a video device, the communication device is used for transmitting analog video with the video amplifying chip in the camera module 602 through the analog video interface.
Fig. 7 is a flow chart of a control method of a camera module according to an embodiment of the present application, where the camera module is any one of the camera modules shown in fig. 1 to 5, and as shown in fig. 7, the method may include:
s701, the processor acquires the electric signal output by the communication detection module.
S702, the processor determines whether the external device connected with the analog video interface is a communication device or a video device according to the electric signal.
S703, if the external device is a communication device, the processor controls the on-off state of the analog switch, so that the processor performs digital communication through the analog video interface.
S704, if the external equipment is video equipment, the processor controls the on-off state of the analog switch, so that the video amplified video is transmitted through the analog video interface.
It should be noted that, the implementation process of S701 to S704 may refer to the related description of the above camera module, which is not described herein in detail.
The following describes a control method device, a processor, a storage medium, etc. for executing the control method of a camera module provided by the present application, and specific implementation processes and technical effects thereof refer to relevant contents of the control method of a camera module, which are not described in detail below.
Fig. 8 is a schematic structural diagram of a control device for a camera module according to an embodiment of the present application, where the camera module is any one of the camera modules shown in fig. 1 to 5, and as shown in fig. 8, the device may include:
the acquisition module 801 is configured to acquire an electrical signal output by the communication detection module.
A determining module 802, configured to determine, according to the electrical signal, whether the external device connected to the analog video interface is a communication device or a video device.
The control module 803 is configured to control, if the external device is a communication device, the on-off state of the analog switch by the processor, so that the processor performs digital communication through the analog video interface; if the external equipment is video equipment, the processor controls the on-off state of the analog switch, so that the video amplified video is transmitted through the analog video interface.
The foregoing apparatus is used for executing the method provided in the foregoing embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
The above modules may be one or more integrated circuits configured to implement the above methods, for example: one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), or one or more microprocessors (digital singnal processor, abbreviated as DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, abbreviated as FPGA), or the like. For another example, when a module above is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processor that may invoke the program code. For another example, the modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 9 is a schematic structural diagram of a processor according to an embodiment of the present application, and as shown in fig. 9, a memory 902 is connected to the processor 901.
The memory 902 is used for storing a program, and the processor 901 calls the program stored in the memory 902 to execute the above method embodiment. The specific implementation manner and the technical effect are similar, and are not repeated here.
Optionally, the present application also provides a program product, such as a computer readable storage medium, comprising a program for performing the above-described method embodiments when being executed by a processor.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform some of the steps of the methods according to the embodiments of the application. And the aforementioned storage medium includes: u disk, mobile hard disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
The above is only a preferred embodiment 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 spirit and principle of the present application should be included in the protection scope of the present application.

Claims (9)

1. A camera module, comprising: the device comprises a processor, a video amplifying chip, an analog switch, a communication detection module and an analog video interface;
the output end of the video amplifying chip is connected with the analog video interface through the analog switch; the analog video interface is also connected with the processor through the communication detection module, so that whether the external equipment connected with the analog video interface is communication equipment or video equipment is judged based on the electric signal output by the communication detection module;
the processor is further connected with a control end of the analog switch, so that when the external equipment is detected to be communication equipment, the on-off state of the analog switch is controlled, the processor performs digital communication through the analog video interface, and when the external equipment is detected to be video equipment, the on-off state of the analog switch is controlled, and the video amplifying chip performs analog video transmission through the analog video interface;
the communication detection module comprises a zener diode and a switching device;
the cathode of the voltage stabilizing diode is connected with the analog video interface, the anode of the voltage stabilizing diode is connected with the control end of the switching device, the power end of the switching device is connected with a preset power supply, and the detection end of the switching device is connected with the processor;
the detection end of the switching device is used for sending a first electric signal to the processor when the zener diode is conducted so as to indicate that the external equipment is the communication equipment; and when the voltage stabilizing diode is disconnected, sending a second electric signal to the processor to indicate that the external equipment is the video equipment.
2. The camera module of claim 1, wherein the camera module further comprises: matching the resistor;
the analog switch is connected with the analog video interface through the matching resistor.
3. The camera module of claim 1, wherein the switching device comprises: triode and first resistance, switching element's control end is the base of triode, switching element's power end passes through first resistance is connected predetermine the power, switching element's power end is first resistance is connected predetermine the one end of power, switching element's detection end is the collecting electrode of triode, the projecting pole ground connection of triode.
4. The camera module of claim 1, wherein the communication detection module further comprises: and the control end of the switching device is connected with the anode of the zener diode through the second resistor.
5. The camera module of claim 1, further comprising: and the single-wire communication circuit is used for connecting the processor with the analog switch.
6. The camera module of claim 5, wherein the data transmitting end of the processor is connected to the analog switch through the single wire communication circuit, and the data receiving end of the processor is directly connected to the analog switch.
7. The camera module of claim 6, wherein the single wire communication circuit comprises: a diode;
the data transmitting end of the processor is connected with the anode of the diode, and the cathode of the diode is connected with the analog switch.
8. A control method of a camera module, wherein the camera module is the camera module according to any one of claims 1 to 7, the method comprising:
the processor acquires an electric signal output by the communication detection module;
the processor determines whether the external equipment connected with the analog video interface is communication equipment or video equipment according to the electric signals;
if the external equipment is communication equipment, the processor controls the on-off state of the analog switch, so that the processor performs digital communication through the analog video interface;
if the external equipment is video equipment, the processor controls the on-off state of the analog switch, so that the video amplified video is transmitted through the analog video interface.
9. A camera communication system, comprising: external equipment and the camera module according to any one of claims 1 to 7;
the external equipment is connected with the analog video interface of the camera module through a plug;
when the external equipment is communication equipment, the communication equipment is used for carrying out digital communication with a processor in the camera module through the analog video interface;
when the external device is a video device, the communication device is used for transmitting analog video through the analog video interface and a video amplifying chip in the camera module.
CN202210183679.7A 2022-02-28 2022-02-28 Camera module, control method of camera module and camera communication system Active CN114500854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210183679.7A CN114500854B (en) 2022-02-28 2022-02-28 Camera module, control method of camera module and camera communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210183679.7A CN114500854B (en) 2022-02-28 2022-02-28 Camera module, control method of camera module and camera communication system

Publications (2)

Publication Number Publication Date
CN114500854A CN114500854A (en) 2022-05-13
CN114500854B true CN114500854B (en) 2023-11-28

Family

ID=81483968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210183679.7A Active CN114500854B (en) 2022-02-28 2022-02-28 Camera module, control method of camera module and camera communication system

Country Status (1)

Country Link
CN (1) CN114500854B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0746526A (en) * 1993-07-29 1995-02-14 Konica Corp Digital still camera
JPH1056585A (en) * 1996-08-12 1998-02-24 Fuji Photo Optical Co Ltd Lens device for telecamera
JPH10257363A (en) * 1997-03-12 1998-09-25 Sony Corp Camera device and recording and reproducing device
JPH11288030A (en) * 1998-04-03 1999-10-19 Canon Inc Lens device
JP2005244709A (en) * 2004-02-27 2005-09-08 Matsushita Electric Ind Co Ltd Video image signal processing unit
CN101452433A (en) * 2007-11-30 2009-06-10 中兴通讯股份有限公司 Diplex interface recognition device and method
CN101521804A (en) * 2008-12-22 2009-09-02 深圳市佳信捷电子有限公司 Method for transmitting analog video signals and digital communication signals by sharing coaxial cable
CN104243905A (en) * 2013-06-05 2014-12-24 现代自动车株式会社 Apparatus and method for processing image signal
CN204349964U (en) * 2014-08-26 2015-05-20 深圳市景新浩科技有限公司 A kind of adaptive interface circuit based on tone frequency channel wire transfer instruction
CN109922293A (en) * 2017-12-12 2019-06-21 杭州海康威视数字技术股份有限公司 The conduction method of EDID equipment and EDID information transfer channel
CN210804388U (en) * 2019-12-27 2020-06-19 纽福克斯光电科技(上海)有限公司 Hot plug detection circuit and electronic equipment
CN212005114U (en) * 2020-01-15 2020-11-24 上海摩象网络科技有限公司 Hand-held cloud platform
CN112351153A (en) * 2020-09-30 2021-02-09 济南浪潮高新科技投资发展有限公司 Analog camera system, processing method and processing equipment
WO2021227635A1 (en) * 2020-05-11 2021-11-18 百富计算机技术(深圳)有限公司 Usb interface switching apparatus, usb interface switching method, and terminal device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060078309A1 (en) * 2004-10-12 2006-04-13 Chen Shan J Home monitoring digital video recorder (DVR)
CN201503689U (en) * 2009-08-21 2010-06-09 鸿富锦精密工业(深圳)有限公司 Video equipment

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0746526A (en) * 1993-07-29 1995-02-14 Konica Corp Digital still camera
JPH1056585A (en) * 1996-08-12 1998-02-24 Fuji Photo Optical Co Ltd Lens device for telecamera
JPH10257363A (en) * 1997-03-12 1998-09-25 Sony Corp Camera device and recording and reproducing device
JPH11288030A (en) * 1998-04-03 1999-10-19 Canon Inc Lens device
JP2005244709A (en) * 2004-02-27 2005-09-08 Matsushita Electric Ind Co Ltd Video image signal processing unit
CN101452433A (en) * 2007-11-30 2009-06-10 中兴通讯股份有限公司 Diplex interface recognition device and method
CN101521804A (en) * 2008-12-22 2009-09-02 深圳市佳信捷电子有限公司 Method for transmitting analog video signals and digital communication signals by sharing coaxial cable
CN104243905A (en) * 2013-06-05 2014-12-24 现代自动车株式会社 Apparatus and method for processing image signal
CN204349964U (en) * 2014-08-26 2015-05-20 深圳市景新浩科技有限公司 A kind of adaptive interface circuit based on tone frequency channel wire transfer instruction
CN109922293A (en) * 2017-12-12 2019-06-21 杭州海康威视数字技术股份有限公司 The conduction method of EDID equipment and EDID information transfer channel
CN210804388U (en) * 2019-12-27 2020-06-19 纽福克斯光电科技(上海)有限公司 Hot plug detection circuit and electronic equipment
CN212005114U (en) * 2020-01-15 2020-11-24 上海摩象网络科技有限公司 Hand-held cloud platform
WO2021227635A1 (en) * 2020-05-11 2021-11-18 百富计算机技术(深圳)有限公司 Usb interface switching apparatus, usb interface switching method, and terminal device
CN112351153A (en) * 2020-09-30 2021-02-09 济南浪潮高新科技投资发展有限公司 Analog camera system, processing method and processing equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于模拟与数字相结合的视频监控系统在水务的应用;李晓梅;;北京水务(04);全文 *

Also Published As

Publication number Publication date
CN114500854A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
US8095714B2 (en) Electronic device capable of automatically switching between a master mode and a slave mode
CN102263904B (en) Method and system for controlling double cameras and electronic equipment with double cameras
US10833518B2 (en) Charge control method and device, and electronic device
KR102124188B1 (en) Electronic device and method for processing image
CN105049416A (en) Method and apparatus for accessing to wifi network
CN105207851A (en) Fault detection method, device, system and terminal and intelligent device
WO2016006721A1 (en) Electronic device group paging method and electronic device thereof
CN105045690A (en) Terminal test method and apparatus
CN102692986A (en) Electronic appliance, connecting appliance, electronic appliance system and method
CN109254210B (en) Electronic equipment port type detection method and device, detection circuit and electronic equipment
CN111526068B (en) Fault reporting method and terminal
US11853247B2 (en) Interface switching apparatus, communication device, and interface switching method
CN114500854B (en) Camera module, control method of camera module and camera communication system
CN111131612A (en) Screen color temperature control method and device, storage medium and mobile terminal
CN107333073B (en) Prevent external image information source interface circuit of halting
CN110908643A (en) Configuration method, device and system of software development kit
US11729566B2 (en) Judging circuit for positive and negative terminals of mic of earphone and method thereof, and eletronic device
CN104850203A (en) Electronic apparatus reset method and electronic apparatus
CN106294246B (en) Mobile equipment and method using identity information acquisition component as peripheral equipment
CN206060923U (en) A kind of intelligent instructor in broadcasting's equipment
CN109871816A (en) Image rapid identification method and device based on Internet of Things
CN104739446A (en) Ultrasonic wave scanning system and method
CN210807463U (en) Video camera
CN221081409U (en) Circuit and device for measuring current of camera module
CN219420925U (en) On-off control device of network module and on-off control system of network module

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