CN114500854A - 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
CN114500854A
CN114500854A CN202210183679.7A CN202210183679A CN114500854A CN 114500854 A CN114500854 A CN 114500854A CN 202210183679 A CN202210183679 A CN 202210183679A CN 114500854 A CN114500854 A CN 114500854A
Authority
CN
China
Prior art keywords
processor
analog
communication
equipment
camera module
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
CN202210183679.7A
Other languages
Chinese (zh)
Other versions
CN114500854B (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

Images

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

Abstract

The invention provides a camera module, a control method of the camera module and a camera communication system, and relates to the technical field of circuits. The method comprises the following steps: the device comprises a processor, a video amplification chip, an analog switch, a communication detection module and an analog video interface; the output end of the video amplification chip is connected with the analog video interface through the analog switch; the analog video interface is also connected with the processor through a communication detection module; the processor is also connected with the control end of the analog switch, so that when the external equipment is detected to be 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 to be video equipment, the channel state of the analog switch is controlled, and the video amplification chip performs analog video transmission through the analog video interface. The method and the device can realize analog video transmission, can also conveniently and flexibly realize digital communication, and improve user experience.

Description

Camera module, control method of camera module and camera communication system
Technical Field
The invention 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 science and technology, the imaging technology is also rapidly developed. The camera module is an electronic device which is crucial to image capture, is widely applied to scenes such as face recognition, video conferences, monitoring equipment, advertising machines, object recognition, medical equipment, teaching equipment and the like, and can be directly put in, stored, compressed, calculated and used for recognizing video pictures.
In the related art, the analog camera module may output an analog video, and includes: the video processor, the video amplification chip and the analog video interface are connected in sequence; the video processor processes the electric signals corresponding to the collected pictures to obtain analog videos, the analog videos are amplified by the video amplification chip and then transmitted to the analog video interface, and the analog videos are transmitted to the video equipment connected with the analog video interface.
However, in the related art, the analog camera module can only transmit analog video, and cannot perform digital communication, thereby reducing user experience.
Disclosure of Invention
The present invention aims to provide a camera module, a camera module control method, and a camera communication system, so as to solve the problem that in the related art, an analog camera module can only transmit analog video, cannot perform digital communication, and reduces user experience.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a camera module, including: the device comprises a processor, a video amplification chip, an analog switch, a communication detection module and an analog video interface;
the output end of the video amplification 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 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 amplification chip performs analog video transmission through the analog video interface.
Optionally, the camera module further comprises: matching a resistor;
the analog switch is connected with the analog video interface through the matching resistor.
Optionally, the communication detection module includes 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 voltage stabilizing 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: the control end of the switch device is the base electrode of the triode, the power end of the switch device is connected with the preset power source through the resistor, the power end of the switch device is connected with one end of the preset power source through the first resistor, the detection end of the switch device is the collector electrode of the triode, and the emitting electrode of the triode is grounded.
Optionally, the communication detection module further includes: and the control end of the switching device is connected with the anode of the voltage stabilizing diode through the second resistor.
Optionally, the method further includes: the processor is connected with the analog switch through the single-wire communication circuit.
Optionally, 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.
Optionally, the single-wire communication circuit includes: a diode;
and the data sending 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 invention further provides a method for controlling a camera module, where the camera module is the camera module in any one of the first aspects, 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 signal;
if the external equipment is communication equipment, the processor controls the on-off state of an analog switch so that the processor performs digital communication through the analog video interface;
and if the external equipment is video equipment, the processor controls the on-off state of the analog switch, so that the amplified video is transmitted to the analog video through the analog video interface.
In a third aspect, an embodiment of the present invention further provides a camera communication system, including: an external device and the camera module of any one of the first aspect;
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;
and when the external equipment is video equipment, the communication equipment is used for transmitting analog video with a video amplification chip in the camera module through the analog video interface.
The invention has the beneficial effects that: the embodiment of the invention provides a camera module, which comprises: the device comprises a processor, a video amplification chip, an analog switch, a communication detection module and an analog video interface; the output end of the video amplification 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 also 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 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 amplification 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 perform analog video transmission, and if the analog video interface determines that the communication equipment is connected, the on-off state of the analog switch is changed to perform digital communication, so that not only can analog video transmission be realized, but also digital communication can be realized conveniently and flexibly, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of a camera module according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a camera module according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a camera module according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a camera module according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a single-wire communication circuit according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a camera communication system according to an embodiment of the present invention;
fig. 7 is a schematic flowchart of a control method for a camera module according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a control device of a camera module according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a processor according to an embodiment of the present invention.
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.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it should be noted that if the terms "upper", "lower", etc. are used for indicating the orientation or positional relationship based on the orientation or positional relationship shown in the drawings or the orientation or positional relationship which is usually arranged when the product of the application is used, the description is only for convenience of describing the application and simplifying the description, but the indication or suggestion that the referred device or element must have a specific orientation, be constructed in a specific orientation and operation, and thus, cannot be understood as the limitation of the application.
Furthermore, the terms "first," "second," and the like in the description and in the claims, as well as in the drawings, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or 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 science and technology, the imaging technology is also rapidly developed. The camera module is an electronic device which is crucial to image capture, is widely applied to scenes such as face recognition, video conferences, monitoring equipment, advertising machines, object recognition, medical equipment, teaching equipment and the like, and can directly put 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 amplification chip and the analog video interface are connected in sequence; the processor processes the electric signals corresponding to the collected pictures to obtain analog videos, the analog videos are amplified by the video amplification chip and then transmitted to the analog video interface, and the analog videos are transmitted to the video equipment connected with the analog video interface.
However, in the related art, the analog camera module can only transmit analog video, and digital communication cannot be performed, if digital communication is required, the analog camera module needs to be disassembled, and the processor and the communication device perform digital communication, so that the structure of the analog camera module is damaged, the operation is inconvenient, and the user experience is reduced.
In view of the above technical problems in the related art, the embodiments of the present application provide a camera module, in which devices such as an analog switch and a communication detection module are added, and an analog video interface can be connected to a communication device or a video device; 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 video equipment is connected, 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 communication equipment is connected, 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 in an embodiment of the present application.
Fig. 1 is a schematic structural diagram of a camera module according to an embodiment of the present invention, and as shown in fig. 1, the camera module may include: the device comprises a processor 101, a video amplification chip 102, an analog switch 103, a communication detection module 104 and an analog video interface 105.
Wherein, the output end of the video amplifying chip 102 is connected to the analog video interface 105 through the analog switch 103; the analog video interface 105 is also 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 determined based on the electrical signal output by the communication detection module 104;
in addition, the processor 101 is further connected to the control terminal 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 amplification chip 102 performs analog video transmission 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 path over 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, and the channel state of the analog switch 103 may be switched between a digital communication channel and an analog video channel; when detecting that the external device is a communication device, controlling to switch the channel state of the analog switch 103 to be a digital communication channel; when the external device is detected to be a video device, the channel state of the analog switch 103 is controlled to be switched to an analog video channel.
Optionally, when the analog video interface 105 is connected to a 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 amplification chip 102, the analog switch 103, and the analog video interface 105 form a path based on which the transmission of analog video with the video device is possible.
The video amplifier chip 102 amplifies the analog video output by the processor 101, and the amplified analog video is transmitted to the analog video through the analog switch 103 and the analog video interface 105 in sequence.
Optionally, 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 camera comprises a lens and a sensor, wherein the sensor is 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 amplifier chip 102 may be a video amplifier chip 102 with a preset amplification factor, for example, the preset amplification factor may be 6db (decibel).
In the embodiment of the present application, the digital communication may include reading data in the processor 101, and/or upgrading a program in the processor 101, and the like.
In summary, an embodiment of the present invention provides a camera module, including: the device comprises a processor, a video amplification chip, an analog switch, a communication detection module and an analog video interface; the output end of the video amplification 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 also 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 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 amplification 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 perform analog video transmission, and if the analog video interface determines that the communication equipment is connected, the on-off state of the analog switch is changed to perform digital communication, so that not only can analog video transmission be realized, but also digital communication can be realized conveniently and flexibly, 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 realize automatic and dynamic switching of the state of the analog switch 103, transmission of analog video to a video device, or digital communication with a communication device.
In addition, the processor 101 may be an MCU (micro controller Unit).
Optionally, fig. 2 is a schematic structural diagram of a camera module according to an embodiment of the present invention, as shown in fig. 2, and as shown in fig. 2, the camera module further includes: a matching resistor 106;
the analog switch 103 is connected to the analog video interface 105 through a matching resistor 106.
In the embodiment of the present application, the matching resistor 106 and the resistor in the video device form a resistor matching, which can ensure that the amplitude of the analog video is not attenuated. Wherein, the video device may include: a plug, a resistor and a video processing chip which are connected in sequence, wherein the plug can be plugged with the analog video interface 105.
In practical applications, the value of the matching resistor 106 may be 75 ohms, although the value of the matching resistor in a video device may also be 75 ohms.
Optionally, fig. 3 is a schematic structural diagram of a camera module according to an embodiment of the present invention, and as shown in fig. 3, the communication detection module 104 may include a zener diode 1041 and a switch device 1042.
Wherein, 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 terminal of the switching device 1042, the power source terminal of the switching device 1042 is connected to the preset power supply 1043, and the detection terminal of the switching device 1042 is connected to the processor 101;
in addition, the detection end of the switch device 1042 is configured to send 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 zener diode 1041 is off, a second electrical signal is sent to 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 v) transmitted by the analog video interface 105 is less than the voltage-stabilizing point, and the voltage-stabilizing diode 1041 is disconnected; if the analog video interface 105 is connected to a communication device, the voltage (for example, 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 switch device 1042 is also turned off, the switch 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 invention, and as shown in fig. 4, the switch device 1042 may include: a transistor T1 and a first resistor R1.
The control end of the switch device 1042 is a base of a transistor T1, the power end of the switch device 1042 is connected to a preset power supply 1043 through a first resistor R1, the power end of the switch device 1042 is the end of the first resistor R1 connected to the preset power supply 1043, the detection end of the switch device 1042 is a collector of the transistor T1, and an emitter of the transistor 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, a high level signal (a 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 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 transistor T1 is turned on, and a low level signal (a second electrical signal) is sent to the processor 101 through the emitter of the transistor T1, and the processor 101 receives the low level signal to determine that the external device is a 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 a second resistor R2, as a second resistor R2.
In the embodiment of the present 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, a detection terminal of the comparator is connected to the analog video interface 105, a voltage input terminal of the comparator is connected to a reference power source, so that the reference power source inputs a reference voltage to the comparator, a power terminal of the comparator is connected to a preset power source, a ground terminal of the comparator is grounded, and an output terminal 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: the processor 101 may be connected to the analog switch 103 via the single-wire communication circuit 107.
The communication circuit is used for isolating the receiving path from the transmitting path, and avoiding mutual interference between the processor 101 in the data transmitting and receiving processes.
Alternatively, as shown in fig. 4, the data transmitting terminal TX of the processor 101 is connected to the analog switch 103 through the 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 this embodiment, when the processor 101 receives data, the data sending end of the processor 101 may be set to an disabled state (low level); the processor 101 may set the data receiving end of the processor 101 to an disabled state (low level) to isolate the receive path from the transmit path when transmitting data.
Optionally, fig. 5 is a schematic structural diagram of a single-wire communication circuit 107 according to an embodiment of the present invention, and 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-wire communication circuit: the circuit comprises a third resistor R3, a fourth resistor R4 and a second triode T2, wherein the third resistor R3 is connected between the transmitting end of the processor 101 and the base of the second triode T2, the collector of the second triode T2 is connected with a power supply VCC through the fourth resistor R4, the collector of the second triode T2 is further connected with an analog switch 103 through a diode D2, the emitter of the second triode T2 is grounded, and the collector of the third triode T3 is connected with the analog switch 103.
In addition, the communication circuit further includes: a fifth resistor R5, a sixth resistor R6, and a third triode T3, wherein the fifth resistor R5 is connected between the analog switch 103 and the base of the third triode T3, the collector of the third triode T3 is connected to the power VCC through the sixth resistor R6, the emitter of the third triode T3 is grounded, and the collector of the third triode T3 is connected to the receiving terminal of the processor 101.
It should be noted that the single-wire communication circuit 107 provided in fig. 5 can also realize isolation of the reception path and the transmission path. The embodiment of the present application does not specifically limit the specific form of the single-wire communication circuit 107.
In summary, an embodiment of the present invention provides a camera module, including: the device comprises a processor, a video amplification chip, an analog switch, a communication detection module and an analog video interface; the output end of the video amplification 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 also connected with the control end of the analog switch, so that the on-off state of the analog switch is controlled when the external equipment is detected to be communication equipment, the processor performs digital communication through the analog video interface, and the on-off state of the analog switch is controlled when the external equipment is detected to be video equipment, so that the video amplification chip performs analog video transmission through the analog video interface. The internal circuit of the camera module is changed, devices such as the analog switch and the 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 perform analog video transmission, and if the analog video interface determines that the communication equipment is connected, the on-off state of the analog switch is changed to perform digital communication, so that not only can analog video transmission be realized, but also digital communication can be realized conveniently and flexibly, and the user experience is improved.
Moreover, in the related art, if the camera module is a waterproof camera module, the disassembly machine can also destroy the waterproof function of the camera module. Compared with the related art, the digital communication can be realized by inserting the communication equipment on the analog video interface without disassembling the camera and damaging the waterproof function of the waterproof camera module.
Fig. 6 is a schematic structural diagram of a camera communication system according to an embodiment of the present invention, as shown in fig. 6, including: the external device 601 and the camera module 602 described in any one of fig. 1 to 5, the external device 601 is connected to the 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 a processor in the camera module 602 through an analog video interface;
in addition, when the external device 601 is a video device, the communication device is configured to perform analog video transmission with a video amplifier chip in the camera module 602 through an analog video interface.
Fig. 7 is a schematic flowchart of a control method of a camera module according to an embodiment of the present invention, where the camera module is the camera module shown in any one of 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 equipment connected with the analog video interface is communication equipment or video equipment according to the electric signals.
And S703, if the external equipment is communication equipment, controlling the on-off state of the analog switch by the processor, so that the processor performs digital communication through the analog video interface.
And S704, if the external equipment is video equipment, controlling the on-off state of the analog switch by the processor, so that the amplified video is transmitted to the analog video through the analog video interface.
It should be noted that, for the implementation process from S701 to S704, reference may be made to the related description of the camera module, and details are not repeated here.
The following describes a control method device, a processor, a storage medium, and the like of a camera module for executing the control method of the camera module provided in the present application, and specific implementation processes and technical effects thereof refer to relevant contents of the control method of the camera module, and are not described in detail below.
Fig. 8 is a schematic structural diagram of a control device of a camera module according to an embodiment of the present invention, where the camera module is the camera module shown in any one of fig. 1 to 5, and as shown in fig. 8, the device may include:
an obtaining module 801, configured to obtain the electrical signal output by the communication detecting module.
A determining module 802, configured to determine whether the external device connected to the analog video interface is a communication device or a video device according to the electrical signal.
A control module 803, configured to control the on-off state of the analog switch by the processor if the external device is a communication device, 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 amplified video is transmitted through the analog video interface.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules 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 (CPU) or other processor capable of calling program code. For another example, these 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 invention, and as shown in fig. 9, the processor 901 is connected to a memory 902.
Wherein, the memory 902 is used for storing programs, and the processor 901 calls the programs stored in the memory 902 to execute the above method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the invention also provides a program product, for example a computer-readable storage medium, comprising a program which, when being executed by a processor, is adapted to carry out the above-mentioned method embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. The utility model provides a camera module which characterized in that includes: the device comprises a processor, a video amplification chip, an analog switch, a communication detection module and an analog video interface;
the output end of the video amplification 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 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 amplification chip performs analog video transmission through the analog video interface.
2. The camera module of claim 1, further comprising: matching a resistor;
the analog switch is connected with the analog video interface through the matching resistor.
3. The camera module according to claim 1, wherein 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 voltage stabilizing 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.
4. The camera module of claim 3, wherein the switching device comprises: the control end of the switch device is the base electrode of the triode, the power end of the switch device is connected with the preset power source through the first resistor, the power end of the switch device is the end, connected with the preset power source, of the first resistor, the detection end of the switch device is the collector electrode of the triode, and the emitting electrode of the triode is grounded.
5. The camera module of claim 3, wherein the communication detection module further comprises: and the control end of the switching device is connected with the anode of the voltage stabilizing diode through the second resistor.
6. The camera module of claim 1, further comprising: the processor is connected with the analog switch through the single-wire communication circuit.
7. The camera module according to claim 6, wherein a data transmitting end of the processor is connected to the analog switch via the single-wire communication circuit, and a data receiving end of the processor is directly connected to the analog switch.
8. The camera module of claim 7, wherein the single wire communication circuit comprises: a diode;
and the data sending end of the processor is connected with the anode of the diode, and the cathode of the diode is connected with the analog switch.
9. A method for controlling a camera module according to any one of claims 1 to 8, 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 signal;
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;
and if the external equipment is video equipment, the processor controls the on-off state of the analog switch, so that the amplified video is transmitted to the analog video through the analog video interface.
10. A camera communication system, comprising: an external device and the camera module of any one of claims 1-8;
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;
and when the external equipment is video equipment, the communication equipment is used for transmitting analog video with a video amplification chip in the camera module through the analog video interface.
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 true CN114500854A (en) 2022-05-13
CN114500854B 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 (16)

* 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
US20060078309A1 (en) * 2004-10-12 2006-04-13 Chen Shan J Home monitoring digital video recorder (DVR)
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
US20110043703A1 (en) * 2009-08-21 2011-02-24 Hon Hai Precision Industry Co., Ltd. Video device capable of detecting connection to display devices
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

Patent Citations (16)

* 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
US20060078309A1 (en) * 2004-10-12 2006-04-13 Chen Shan J Home monitoring digital video recorder (DVR)
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
US20110043703A1 (en) * 2009-08-21 2011-02-24 Hon Hai Precision Industry Co., Ltd. Video device capable of detecting connection to display devices
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
李晓梅;: "基于模拟与数字相结合的视频监控系统在水务的应用", 北京水务, no. 04 *

Also Published As

Publication number Publication date
CN114500854B (en) 2023-11-28

Similar Documents

Publication Publication Date Title
US8095714B2 (en) Electronic device capable of automatically switching between a master mode and a slave mode
CN103259999B (en) HPD signal output control method, HDMI receiving device and system
CN102692986B (en) Electronic appliance, connecting appliance, electronic appliance system and method
CN111212242B (en) Exposure method and electronic apparatus
CN110851387A (en) Interface function configuration method and electronic equipment
CN103533281B (en) MHL (mobile high-definition link) recognition control circuit with enhanced compatibility
CN203933930U (en) Earphone interface circuit and portable electron device
US20210120607A1 (en) Method for establishing communication connection and related products
WO2014146510A1 (en) Method and terminal for automatically identifying pluggable audio devices
CN111414885A (en) Intelligent household equipment, server and image processing method
CN101860658B (en) Device for linkage between ON/OFF of set-top box and television
CN109286220B (en) Charging circuit, charging processing method, electronic device, and storage medium
KR20190087419A (en) Power supply control method, device and multi-tab
CN114500854A (en) Camera module, control method of camera module and camera communication system
WO2021060943A1 (en) Electronic device for identifying external electronic device and method of operating same
CN106856289B (en) Electronic equipment and circuit thereof, switching equipment and circuit thereof and signal processing system
CN105846223A (en) USB interface plug and USB interface plug control method and device
CN109936708A (en) A kind of VGA video switching device, method and system
EP3910354A1 (en) Power supply on-off detection circuit, method, apparatus and storage medium
CN113941994A (en) Demonstrator control method and device, storage medium and demonstrator
CN107656720B (en) Circuit for automatically identifying coaxial audio line access
CN106385547A (en) System for switching analog high definition video
US6975312B2 (en) Computer system having network connector and method of checking connection state of network cable therefor
CN206060923U (en) A kind of intelligent instructor in broadcasting's equipment
CN106776424B (en) Connector, control method and control device thereof, and electronic equipment

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