CN113014860B - Camera system - Google Patents

Camera system Download PDF

Info

Publication number
CN113014860B
CN113014860B CN201911330565.5A CN201911330565A CN113014860B CN 113014860 B CN113014860 B CN 113014860B CN 201911330565 A CN201911330565 A CN 201911330565A CN 113014860 B CN113014860 B CN 113014860B
Authority
CN
China
Prior art keywords
alarm
circuit
signal
chip
conversion circuit
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
CN201911330565.5A
Other languages
Chinese (zh)
Other versions
CN113014860A (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201911330565.5A priority Critical patent/CN113014860B/en
Publication of CN113014860A publication Critical patent/CN113014860A/en
Application granted granted Critical
Publication of CN113014860B publication Critical patent/CN113014860B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
    • G08B13/19617Surveillance camera constructional details

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Alarm Systems (AREA)
  • Studio Devices (AREA)

Abstract

The present application provides a camera system, comprising: the network camera comprises a processor and at least one alarm box, wherein the alarm box comprises an alarm input circuit, an alarm output circuit, a main control circuit and a second signal conversion circuit, the first signal conversion circuit is used for converting a first signal format and a second signal format, and the second signal conversion circuit is used for converting the second signal format and a third signal format; the main control circuit is used for reading the CAN bus address of the alarm box and sending the CAN bus address to the processor; the processor is used for acquiring alarm information of the alarm box through the CAN bus address and/or sending an alarm instruction to the alarm box. The flexibility of adjusting the number of the alarm input and output of the network camera is improved.

Description

Camera system
Technical Field
The application relates to the technical field of alarm monitoring, in particular to a camera system.
Background
The Internet Protocol (IP) camera (IPC) is a new generation camera combining traditional camera and internet video technology, which can transmit images to remote end through internet, and the remote end viewer can monitor the images only by using standard internet browser.
At present, the number of alarm inputs and outputs of the IPC is fixed, users cannot change the number, resource waste can be caused when the IPC is not suitable for the alarm inputs and outputs of clients, and for users expecting to expand the number of the alarm inputs and outputs, circuit boards specially customized to support the number required by the clients are usually adopted, and hardware development work and software development work are increased to expand the number of the alarm inputs and outputs.
However, by specifically customizing the number of circuit boards supporting the number required by the customer, hardware development work and software development work are increased to expand the number of alarm inputs and outputs, and flexibility is low.
Disclosure of Invention
The application provides a camera system to improve the flexibility of adjusting the number of alarm inputs and outputs of a network camera.
In a first aspect, an embodiment of the present application provides a camera system, including: a webcam and at least one alarm box, wherein,
the Network camera comprises a processor and a first signal conversion circuit, wherein the first signal conversion circuit is respectively connected with a Universal Asynchronous Receiver/Transmitter (UART) pin of the processor and a Controller Area Network (CAN) bus;
the alarm box comprises an alarm input circuit, an alarm output circuit, a main control circuit and a second signal conversion circuit, wherein the main control circuit is respectively connected with the alarm input circuit, the alarm output circuit and the second signal conversion circuit, and the second signal conversion circuit is also connected with the CAN bus;
the first signal conversion circuit is used for converting a first signal format and a second signal format, the second signal conversion circuit is used for converting the second signal format and a third signal format, the first signal format is a signal format supported by a network camera, the second signal format is a signal format supported by a CAN bus, and the third signal format is a signal format supported by an alarm box;
the main control circuit is used for reading the CAN bus address of the alarm box and sending the CAN bus address to the processor; and the processor is used for acquiring alarm information of the alarm box through the CAN bus address and/or sending an alarm instruction to the alarm box.
In the embodiment of the application, the network camera is connected with at least one alarm box, so that the flexibility of adjusting the number of alarm input and output of the network camera is improved; in addition, the network camera comprises a first signal conversion circuit for converting between a signal format supported by the network camera and a signal format supported by a CAN bus, and the alarm box comprises a signal conversion circuit for converting between a signal format supported by the alarm box and a signal format supported by the CAN bus, so that the network camera is connected with at least one alarm box through the CAN bus, and the transmission distance of alarm information is greatly increased; furthermore, a processor in the network camera acquires alarm information of the alarm box through a CAN bus address and/or sends an alarm instruction to the alarm box, so that control over at least one alarm box is realized.
In one possible implementation, the camera system provided by the embodiment of the application,
the first signal conversion circuit comprises a first chip and a second chip, wherein 4 pins of the first chip and 5 pins of the first chip are respectively connected with a UART pin, 11 pins of the first chip are connected with 2 pins of the second chip, 12 pins of the first chip are connected with 1 pin of the second chip, and the 1 pin of the second chip and the 2 pins of the second chip are respectively connected with a CAN bus.
In one possible implementation, the camera system provided by the embodiment of the application,
the second signal conversion circuit comprises a third chip and a fourth chip, wherein pins 4 and 5 of the third chip are respectively connected with the main control circuit, pins 11 and 2 of the third chip are connected with pins 2 and 12 of the fourth chip, and the pins 1 and 2 of the fourth chip are respectively connected with the CAN bus.
In one possible embodiment, the alarm input circuit includes: a diode, an RC circuit, a pull-up resistor,
the cathode of the diode is used for being connected with the monitoring equipment, the anode of the diode is respectively connected with the pull-up resistor and the RC circuit, the pull-up resistor is further connected with the power supply voltage of the alarm input circuit, and the RC circuit is further connected with the main control circuit.
In one possible embodiment, the alarm input circuit is used for receiving an alarm signal sent by the monitoring device and sending a first level signal to the main control circuit according to the alarm signal, wherein,
if the alarm signal indicates alarm, the first level signal is a first low level signal;
if the alarm signal indicates no alarm, the first level signal is a first high level signal.
In one possible embodiment, the alarm output circuit includes: a triode, a relay, a voltage stabilizing circuit and a surge suppression circuit,
the base electrode of the triode is connected with the main control circuit, the emitting electrode of the triode is grounded, the collector electrode of the triode is respectively connected with the relay and the voltage stabilizing circuit, the voltage stabilizing circuit is also connected with the relay, the relay is also connected with the surge suppression circuit, and the surge suppression circuit is connected with the alarm device;
the voltage stabilizing circuit is used for stabilizing the voltage output by the collector of the triode, and the surge suppression circuit is used for suppressing surge;
the main control circuit is specifically used for outputting a second level signal according to the alarm signal, and the triode is used for being switched on or switched off according to the second level signal so as to control whether the alarm device acts or not through the relay.
In one possible embodiment, the alarm information comprises a first level signal; when the alarm information is a first high level signal, the processor sends a first alarm instruction to the alarm box, and the first alarm instruction is used for controlling the main control circuit to output a second high level signal.
In a possible implementation manner, when the alarm information is a first low level signal, the processor sends a second alarm instruction to the alarm box, and the second alarm instruction is used for controlling the main control circuit to output a second low level signal.
In a possible implementation manner, the camera system provided in the embodiment of the present application further includes: a first voltage conversion circuit for converting a first voltage into a second voltage,
one end of the first voltage conversion circuit is connected with the power supply, the other end of the first voltage conversion circuit is connected with the alarm input circuit, and the first voltage conversion circuit is used for converting the voltage of the power supply into the working voltage of the alarm input circuit.
In a possible implementation manner, the camera system provided in the embodiment of the present application further includes: a second voltage conversion circuit for converting the second voltage into a second voltage,
one end of the second voltage conversion circuit is connected with the power supply, the other end of the second voltage conversion circuit is connected with the alarm output circuit, and the second voltage conversion circuit is used for converting the voltage of the power supply into the working voltage of the alarm output circuit.
The present application provides a camera system, comprising: the network camera comprises a processor and a first signal conversion circuit, wherein the first signal conversion circuit is respectively connected with a UART pin of the processor and a CAN bus; the alarm box comprises an alarm input circuit, an alarm output circuit, a main control circuit and a second signal conversion circuit, wherein the main control circuit is respectively connected with the alarm input circuit, the alarm output circuit and the second signal conversion circuit, and the second signal conversion circuit is also connected with a CAN bus; the first signal conversion circuit is used for converting a first signal format and a second signal format, the second signal conversion circuit is used for converting the second signal format and a third signal format, the first signal format is a signal format supported by a network camera, the second signal format is a signal format supported by a CAN bus, and the third signal format is a signal format supported by an alarm box; the main control circuit is used for reading the CAN bus address of the alarm box and sending the CAN bus address to the processor; the processor is used for acquiring alarm information of the alarm box through the CAN bus address and/or sending an alarm instruction to the alarm box. The network camera is connected with at least one alarm box, so that the flexibility of adjusting the number of alarm input and output of the network camera is improved; in addition, the network camera comprises a first signal conversion circuit for converting between a signal format supported by the network camera and a signal format supported by a CAN bus, and the alarm box comprises a signal conversion circuit for converting between a signal format supported by the alarm box and a signal format supported by the CAN bus, so that the network camera is connected with at least one alarm box through the CAN bus, and the transmission distance of alarm information is greatly increased; furthermore, a processor in the network camera acquires alarm information of the alarm box through a CAN bus address and/or sends an alarm instruction to the alarm box, so that control over at least one alarm box is realized.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a schematic view of a camera system provided by an embodiment of the present application;
FIG. 2 is a schematic view of a camera system provided in accordance with yet another embodiment of the present application;
fig. 3 is a schematic structural diagram of the network camera in fig. 2 according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a main control circuit and a second signal conversion circuit in fig. 2 according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of the alarm input circuit of FIG. 2 provided herein;
fig. 6 is a schematic diagram of the alarm output circuit of fig. 2 provided in the present application;
fig. 7 is a schematic structural diagram of a camera system according to still another embodiment of the present application;
FIG. 8 is a schematic diagram of a first voltage converting circuit shown in FIG. 7 according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of the second voltage converting circuit in fig. 7 according to the embodiment of the present application.
Description of reference numerals:
11: a network camera;
12: a CAN bus;
13: an alarm box;
21: an alarm input circuit;
22: a master control circuit;
23: an alarm output circuit;
24: a second signal conversion circuit;
25: a first signal conversion circuit;
26: a processor;
27: a first voltage conversion circuit;
28: a power source;
29: a second voltage conversion circuit.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, 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 application described herein are, for example, capable of operation 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.
IPC consists of a new generation of cameras, which combines traditional cameras with web-based video technology, and can transmit images to a remote site via a network, and a remote browser can monitor the images with a standard web browser. At present, the number of alarm inputs and outputs of the IPC is fixed, and for users who expect to expand the number of alarm inputs and outputs, circuit boards which are specially customized to support the number of the alarm inputs and outputs and are required by customers are usually adopted, hardware development work and software development work are increased, so that the number of the alarm inputs and outputs is expanded, and the flexibility is low. The camera system provided by the embodiment of the application is connected with at least one alarm box through the network camera, a user CAN flexibly adjust the input and the output of the network camera by controlling the number of the alarm boxes connected, because the signal formats supported by the network camera and the alarm boxes are usually serial port signal formats, and the signal format supported by the CAN bus is usually differential signal formats, in order to realize the connection of the alarm boxes and the network camera through the CAN bus and improve the transmission distance of alarm information, a first signal conversion circuit for the conversion between the signal format supported by the network camera and the signal format supported by the CAN bus is arranged in the network camera, and a signal conversion circuit comprising the signal format supported by the alarm box and the signal format supported by the CAN bus is arranged in the alarm box, so that the network camera is connected with at least one alarm box through the CAN bus, the transmission distance of the alarm information is greatly improved, theoretically, and the alarm reliability CAN be 10 Kilometers (KM), and because the CAN bus adopts differential mode transmission, the alarm reliability is greatly improved. Furthermore, a processor in the network camera acquires alarm information of the alarm box through a CAN bus address and/or sends an alarm instruction to the alarm box, so that control over at least one alarm box is realized.
Fig. 1 is a schematic diagram of a camera system according to an embodiment of the present disclosure, and as shown in fig. 1, in the camera system according to the embodiment of the present disclosure, at least one alarm box 13 may be connected to a network camera 11 through a CAN bus 12, and the network camera 11 is connected to any of a plurality of alarm boxes 13, so that flexible setting of the number of inputs and outputs of the network camera 11 is achieved, communication is performed through the CAN bus, and reliability of alarm may be improved. The number of the alarm boxes is not limited in the embodiment of the application.
The following description will take an example in which the network camera is connected to an alarm box.
Fig. 2 is a schematic diagram of a camera system provided in another embodiment of the present application, and as shown in fig. 2, the camera system provided in the embodiment of the present application may include a network camera 11 and at least one alarm box 13.
The network camera 11 comprises a processor 26 and a first signal conversion circuit 25, wherein the first signal conversion circuit 25 is respectively connected with a UART pin of the processor 26 and the CAN bus 12; the alarm box 13 comprises an alarm input circuit 21, an alarm output circuit 23, a main control circuit 22 and a second signal conversion circuit 24, wherein the main control circuit 22 is respectively connected with the alarm input circuit 21, the alarm output circuit 23 and the second signal conversion circuit 24, and the second signal conversion circuit 24 is also connected with the CAN bus 12; the first signal conversion circuit 25 is used for converting between a first signal format and a second signal format, the second signal conversion circuit 24 is used for converting between the second signal format and a third signal format, the first signal format is a signal format supported by the network camera 11, the second signal format is a signal format supported by the CAN bus 12, and the third signal format is a signal format supported by the alarm box 13; the main control circuit 22 is configured to read a CAN bus address of the alarm box 13, and send the CAN bus address to the processor 26; the processor 26 is configured to obtain the alarm information of the alarm box 13 through the CAN bus address, and/or send an alarm instruction to the alarm box 13.
When the first signal format supported by the network camera 11 is the same as the third signal format supported by the alarm box 13, the first signal conversion circuit 25 in the network camera 11 may have the same structure as the second signal conversion circuit 24 in the alarm box 13, and the first signal conversion circuit 25 may also be different from the second signal conversion circuit 24.
In a possible implementation manner, fig. 3 is a schematic structural diagram of the network camera in fig. 2 provided in an embodiment of the present application, and as shown in fig. 3, the first signal conversion circuit includes a first chip and a second chip, pins 4 of the first chip and pins 5 of the first chip are respectively connected to UART pins, pins 11 of the first chip are connected to pins 2 of the second chip, pins 12 of the first chip are connected to pins 1 of the second chip, and pins 1 of the second chip and pins 2 of the second chip are respectively connected to a CAN bus.
The functions of other devices in the first signal conversion circuit can refer to the following contents, wherein R1 and R2 are used for adjusting signal waveform overshoot and impedance matching; r3 is a pull-up resistor, and a chip working mode is set; r4 is a termination resistor, a bus topology requirement. For other pins in the first signal conversion circuit, reference may be made to the description in fig. 3, and no further description is given.
In a possible implementation manner, the specific structures of the main control circuit and the second signal conversion circuit are not limited in this embodiment, fig. 4 is a schematic diagram of the main control circuit and the second signal conversion circuit in fig. 2 implemented according to this embodiment, as shown in fig. 4, the second signal conversion circuit includes a UART-to-CAN chip, the UART-to-CAN chip includes a third chip U1 and a fourth chip JP18, a pin 4 of the third chip is connected to a pin 5 of the third chip and the main control circuit, a pin 11 of the third chip is connected to a pin 2 of the fourth chip, a pin 12 of the third chip is connected to a pin 1 of the fourth chip, and a pin 1 of the fourth chip and a pin 2 of the fourth chip are respectively connected to a CAN bus.
As shown in fig. 4, a PA0-WKUP pin of the main control circuit provided in this embodiment of the present application is connected to an output end of the alarm input circuit, and is configured to receive a first level signal sent by the alarm input circuit, a PA09 pin of the main control circuit is connected to a 5 pin of the third chip, the main control circuit outputs the alarm information to the second signal conversion circuit through the PA09 pin, the second signal conversion circuit converts a signal format of the alarm information from a signal format supported by the alarm box into a signal format supported by a CAN bus, and outputs the signal format to the fourth chip JP18 through a pin 11 and a pin 12 of the second signal conversion circuit 24, a pin 1 of the fourth chip JP18 and a pin 2 of the fourth chip are respectively connected to the CAN bus, the alarm information is input to the first signal conversion circuit of the network camera through the CAN bus, and the first signal conversion circuit converts the signal format of the alarm information from the signal format supported by the CAN bus into a signal format supported by the network camera.
The network camera sends an alarm instruction to the alarm box through the CAN bus according to the alarm information, the second signal conversion circuit receives the alarm instruction sent by the network camera through pins 1 and 2 of the fourth chip, the third chip converts the format of the alarm instruction from the signal format supported by the CAN bus into the signal format supported by the alarm box, the signal format is output to a pin PA10 of the main control circuit through pins 5 of the third chip, and the main control circuit outputs a second level signal to the alarm output circuit according to the alarm instruction.
Optionally, the PA9 pin of the control chip is connected with the 5 pin of the UART-to-CAN chip through two resistors, the two resistors are in impedance matching for solving the overshoot problem of the signal in the later test, the PA10 pin of the control chip is connected with the 4 pin of the UART-to-CAN chip through two resistors, and the two resistors are in impedance matching for solving the overshoot problem of the signal in the later test.
Illustratively, table 1 is a table of reference numbers and functional descriptions of the pins of the main control circuit. The functional description of each pin of the main control circuit is shown in table 1:
Figure GDA0002508940900000081
Figure GDA0002508940900000091
Figure GDA0002508940900000101
in order to realize the control of the network camera on at least one alarm box, each alarm box has a corresponding CAN bus address, when the alarm box starts to work, the master control circuit reads the CAN bus address of the alarm box and sends the CAN bus address to a processor in the network camera, the embodiment of the application does not limit the way of the master control circuit reading the CAN bus address of the alarm box and the way of sending the CAN bus address to the processor in the network camera, in a possible implementation mode, the acquisition of the CAN bus addresses corresponding to the alarm boxes CAN be realized by a dial switch, if the network camera is connected with only one alarm box, the binary code from ID7 to ID0 of the dial switch is 00000001, if the network camera is connected with two alarm boxes, the binary systems of the first alarm box and the second alarm box are 00000010 respectively, and 255 combination CAN exist by adjusting the dial switch ID7 to ID 0. The embodiments of the present application are not limited thereto. Data transmission between the network camera and the alarm box is realized through messages, wherein the messages are data units exchanged and transmitted in the network, namely data blocks to be sent by the station at one time. The message contains the complete data information to be sent. In one possible embodiment, the messages corresponding to the CAN bus are as follows:
wrapping heads: was fixed at 0x55,0xaa. CAN _ BUS address: one byte, 255 relay boxes can be accessed by default. CAN _ CMD: at present, two commands are supported, a certain path of alarm input state is obtained, the corresponding CAN _ CMD is 0xfe, the corresponding alarm output is turned on, and the corresponding CAN _ CMD is 0xfe. And (4) checking codes: a byte check code detects whether the message is in error. And (4) wrapping the tail: fixed to 0x1f,0xf1. After the corresponding message is defined, when the network camera needs to communicate with a certain alarm box, the alarm information of the alarm box is obtained through the CAN bus address, and/or an alarm instruction is sent to the alarm box. The alarm instruction is used for indicating whether the alarm device alarms or not. The embodiment of the present application does not limit this.
The present application provides a camera system, comprising: the network camera comprises a processor and a first signal conversion circuit, wherein the first signal conversion circuit is respectively connected with a UART pin of the processor and a CAN bus; the alarm box comprises an alarm input circuit, an alarm output circuit, a main control circuit and a second signal conversion circuit, wherein the main control circuit is respectively connected with the alarm input circuit, the alarm output circuit and the second signal conversion circuit, and the second signal conversion circuit is also connected with the CAN bus; the first signal conversion circuit is used for converting a first signal format and a second signal format, the second signal conversion circuit is used for converting the second signal format and a third signal format, the first signal format is a signal format supported by a network camera, the second signal format is a signal format supported by a CAN bus, and the third signal format is a signal format supported by an alarm box; the main control circuit is used for reading the CAN bus address of the alarm box and sending the CAN bus address to the processor; the processor is used for acquiring alarm information of the alarm box through the CAN bus address and/or sending an alarm instruction to the alarm box. The network camera is connected with at least one alarm box, so that the flexibility of adjusting the number of alarm input and output of the network camera is improved; in addition, the network camera comprises a first signal conversion circuit for converting between a signal format supported by the network camera and a signal format supported by a CAN bus, and the alarm box comprises a signal conversion circuit for converting between a signal format supported by the alarm box and a signal format supported by the CAN bus, so that the network camera is connected with at least one alarm box through the CAN bus, and the transmission distance of alarm information is greatly increased; furthermore, a processor in the network camera acquires alarm information of the alarm box through a CAN bus address and/or sends an alarm instruction to the alarm box, so that control over at least one alarm box is realized.
In a possible implementation, fig. 5 is a schematic structural diagram of the alarm input circuit in fig. 2 provided in the present application, and as shown in fig. 5, the alarm input circuit may include: a diode D6, an RC circuit, a pull-up resistor R421,
the cathode of the diode D6 is used for being connected with monitoring equipment, the anode of the diode D6 is respectively connected with a pull-up resistor and an RC circuit, the pull-up resistor is further connected with the power supply voltage of the alarm input circuit, and the RC circuit is further connected with the main control circuit.
An ALARM signal is input to a diode D6 through an input end ALARM-IN0 of the ALARM input circuit, the anode of the diode D6 is pulled up to a 3.3V power supply through a pull-up resistor 421, if the level signal of the ALARM signal is greater than the voltage input by a voltage input end of the ALARM input voltage, the diode is not conducted, and a first level signal output by an output end ALARM-IN110 of the ALARM input circuit is a first high level signal; if the level signal of the ALARM signal is smaller than the voltage input by the voltage input end of the ALARM input voltage, the diode is conducted, and the first level signal output by the output end ALARM IN1 of the ALARM input circuit is a first low level signal, so that the ALARM input circuit can output different first level signals by controlling the level signal of the ALARM signal. The RC circuit includes R420 and C90 to make the alarm signal edges relatively flat.
Referring to the circuit diagram shown in fig. 5 where the connection relation of the diode D6 is not detailed, in the circuit diagram shown in fig. 5, PT4 is a surge protection device, which protects the alarm input circuit from being damaged by external overvoltage or static electricity, the capacitor C91 suppresses a malfunction glitch signal, and the resistor R421 is a pull-up resistor, so that the alarm input signal is in an invalid state.
In a possible implementation manner, the alarm input circuit is configured to receive an alarm signal sent by the monitoring device, and send a first level signal to the main control circuit according to the alarm signal, where if the alarm signal indicates an alarm, the first level signal is a first low level signal; if the alarm signal indicates no alarm, the first level signal is a first high level signal.
Illustratively, the input voltage of the voltage input terminal of the alarm input circuit is 3.3 volts, if the alarm signal indicates an alarm, the alarm signal may be a low level signal, and optionally, the alarm signal for indicating an alarm may be a level signal lower than 0.7 volts, and the first level signal output by the alarm input circuit at this time is a first low level signal.
The alarm signal may be a high level signal if the alarm signal indicates no alarm, and optionally the alarm signal for indicating an alarm may be a level signal between 3.3 volts and 12 volts. The embodiment of the present application does not limit this. At this time, the first level signal output by the alarm input circuit is a first high level signal.
In a possible implementation, fig. 6 is a schematic structural diagram of the alarm output circuit in fig. 2 provided in the present application, and as shown in fig. 6, the alarm output circuit includes: the device comprises a triode Q23, a relay OP2, a voltage stabilizing circuit and a surge suppression circuit, wherein the base electrode of the triode Q23 is connected with a main control circuit, the emitting electrode of the triode Q23 is grounded, the collector electrode of the triode Q23 is respectively connected with the relay OP2 and the voltage stabilizing circuit, the voltage stabilizing circuit is also connected with the relay OP2, the relay OP2 is also connected with the surge suppression circuit, and the surge suppression circuit is connected with an alarm device; the voltage stabilizing circuit is used for stabilizing the voltage output by the collector of the triode Q23, and the surge suppression circuit is used for surge suppression; the main control circuit is specifically used for outputting a second level signal according to the alarm signal, and the triode Q23 is used for being switched on or switched off according to the second level signal so as to control whether the alarm device acts or not through the relay OP 2.
Referring to fig. 6, in the present embodiment, the main control circuit is connected to the base 1 of the transistor Q23, the collector 3 of the transistor Q23 is connected to the 5 pin of the relay OP2, and the emitter 2 of the transistor Q23 is grounded. The 4-pin of the relay OP2 is connected to a reference voltage of 5 volts, the 1-pin of the relay OP2 is connected to the output terminal OUT1B, and the 3-pin of the relay OP2 is connected to the output terminal OUT 1A. The voltage stabilizing circuit comprises a capacitor C332 and a diode D1 and is used for inhibiting an overvoltage signal generated at the moment of switching off the triode and providing a follow current loop for the coil induced voltage at the moment of switching off the triode. The surge suppression circuit of the OUT1B comprises a capacitor C331 and a surge protection device U89, and the surge suppression circuit of the OUT1A comprises a capacitor C952 and a surge protection device U116.
Optionally, in the circuit diagram shown in fig. 6, the resistor R720 is a current-limiting resistor of the transistor Q23, the resistor R721 is configured to provide an initial level signal to the base 1 of the transistor Q23, the resistance value of the initial level signal may be 4.7k Ω, and the capacitor C950 filters an abnormal glitch signal. The circuit diagram shown in fig. 6 is not detailed about the connection relationship between the transistor Q23 and the relay OP2, and is not described here.
After acquiring alarm information of an alarm box, a processor in the network camera sends an alarm instruction to the alarm box, wherein the alarm information comprises a first level signal in a possible implementation mode; when the alarm information is a first high-level signal, the processor sends a first alarm instruction to the alarm box, and the first alarm instruction is used for controlling the main control circuit to output a second high-level signal. At this time, the triode Q23 is turned on under the action of the second high level signal, the pins 1 and 3 in the relay OP2 are turned on, the alarm device is turned on, and the alarm device acts.
In another possible implementation manner, when the alarm information is a first low level signal, the processor sends a second alarm instruction to the alarm box, and the second alarm instruction is used for controlling the main control circuit to output a second low level signal. At this time, the triode Q23 is turned off by the second low level signal, no current flows through one end of the coil of the relay, the relay contact is not operated, and the alarm device is not operated.
In order to ensure the normal operation of the alarm box, in a possible implementation manner, fig. 7 is a schematic structural diagram of a camera system provided in another embodiment of the present application, as shown in fig. 7, the camera system provided in the embodiment of the present application further includes: a first voltage conversion circuit (27) for converting a first voltage,
one end of the first voltage conversion circuit 27 is connected to the power supply 28, the other end of the first voltage conversion circuit 27 is connected to the alarm input circuit, and the first voltage conversion circuit 27 is configured to convert the voltage of the power supply 28 into the operating voltage of the alarm input circuit.
In another possible implementation manner, as shown in fig. 7, the camera system provided in this embodiment of the present application further includes: a second voltage conversion circuit 29 for converting the second voltage,
one end of the second voltage conversion circuit 29 is connected to the power supply 28, the other end of the second voltage conversion circuit 29 is connected to the alarm output circuit, and the second voltage conversion circuit 29 is configured to convert the voltage of the power supply 28 into the operating voltage of the alarm output circuit.
Fig. 8 is a schematic structural diagram of the first voltage conversion circuit in fig. 7 of the present application, and fig. 9 is a schematic structural diagram of the second voltage conversion circuit in fig. 7 of the present application, as shown in fig. 8 and 9, the first voltage conversion circuit may be implemented by UV14, and the second voltage conversion circuit may be implemented by UV 1.
As shown in fig. 8 and 9, pin 2 of the chip UV1 and the chip UV14 is used for inputting a 12V power supply voltage, pin 7 of the chip UV1 and the chip UV14 is used for supplying power inside the chip, a 0.1uf filter needs to be externally connected, pin 1 of the chip UV1 and the chip UV14 is used for setting a chip working mode, and the pin is suspended here and set by default, pin 6 of the chip UV1 and the chip UV14 is used for enabling the chip, logic inside the chip can be opened by pulling up to the input power, pin 4 of the chip UV1 and the chip UV14 is used for grounding, pin 8 of the chip UV1 and the chip UV14 is used for monitoring the output voltage in real time, so that the output voltage is ensured to be 5V and 3.3V by adjusting the resistances of RV3, RV61 and RV41 and RV 40. Pins 3 and 5 of the chip UV1 and the chip UV14 are high-end Metal-Oxide-Semiconductor Field Effect Transistor (MOSFET) driven bootstrap circuits, and the function is boosting, so that the high-end MOSFET integrated by the chip UV1 and the chip UV14 is driven to be turned on.
In the first voltage conversion circuit shown in fig. 8, CV70, CV71, and CV73 are guaranteed to be input filter capacitors for ensuring the stability of the input voltage, CV69 is an external filter capacitor of the LDO inside the chip, and R388 and RV39 are used for setting the chip start-up time, specifically, calculating through the RC charging time. RV41 and RV40 are voltage dividing resistors, and are made equal to internal VREF by setting resistance values. CV66, CV67, LV8 form an LC filter mechanism, RV42, CV88 are bootstrap boost circuits, driving internal high side mosfets, rv38, RV41, and RV40 together with inductor LV8 and output capacitance determine the loop stability of the system.
In the second voltage conversion circuit shown in fig. 9, CV2, CV3, and CV4 are guaranteed as input filter capacitors for ensuring the stability of the input voltage, and CV7 is an external filter capacitor of the LDO in the chip, RW13, and CV8 are used for setting the chip start time, specifically, calculating the chip start time through the RC charging time. RV3 and RV61 are voltage dividing resistors, and are made to be equal to internal VREF by setting resistance values. CV5, CV6, LV1 form an LC filter mechanism, RV2, CV1 are bootstrap boost circuits, driving internal high side MOSFETs. RV4, RV3 and RV61 together with inductor LV1 and output capacitance determine the loop stability of the system.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A camera system, comprising: a webcam and at least one alarm box, wherein,
the network camera comprises a processor and a first signal conversion circuit, wherein the first signal conversion circuit is respectively connected with a Universal Asynchronous Receiver Transmitter (UART) pin of the processor and a Controller Area Network (CAN) bus;
the alarm box comprises an alarm input circuit, an alarm output circuit, a main control circuit and a second signal conversion circuit, wherein the main control circuit is respectively connected with the alarm input circuit, the alarm output circuit and the second signal conversion circuit, and the second signal conversion circuit is also connected with the CAN bus;
the first signal conversion circuit is used for converting a first signal format and a second signal format, the second signal conversion circuit is used for converting the second signal format and a third signal format, the first signal format is a signal format supported by the network camera, the second signal format is a signal format supported by the CAN bus, and the third signal format is a signal format supported by the alarm box;
the master control circuit is used for reading a CAN bus address of the alarm box and sending the CAN bus address to the processor; the processor is used for acquiring alarm information of the alarm box through the CAN bus address and/or sending an alarm instruction to the alarm box;
the alarm input circuit is used for receiving an alarm signal sent by monitoring equipment and sending a first level signal to the main control circuit according to the alarm signal, and the first level signal is used for the processor to send the alarm instruction to the alarm box according to the first level signal.
2. The camera system of claim 1,
the first signal conversion circuit comprises a first chip and a second chip, wherein 4 pins of the first chip and 5 pins of the first chip are respectively connected with the UART pins, 11 pins of the first chip are connected with 2 pins of the second chip, 12 pins of the first chip are connected with 1 pin of the second chip, and 1 pin of the second chip and 2 pins of the second chip are respectively connected with the CAN bus.
3. The camera system according to claim 1 or 2,
the second signal conversion circuit comprises a third chip and a fourth chip, wherein pins 4 of the third chip and pins 5 of the third chip are respectively connected with the main control circuit, pins 11 of the third chip are connected with pins 2 of the fourth chip, pins 12 of the third chip are connected with pins 1 of the fourth chip, and pins 1 of the fourth chip and pins 2 of the fourth chip are respectively connected with the CAN bus.
4. The camera system of claim 1, wherein the alarm input circuit comprises: a diode, an RC circuit, a pull-up resistor,
the negative pole of diode is used for being connected with monitoring facilities, the positive pole of diode respectively with pull-up resistance with RC circuit connection, pull-up resistance still with alarm input circuit's power supply voltage is connected, the RC circuit still with master control circuit is connected.
5. The camera system according to claim 1,
if the alarm signal indicates alarm, the first level signal is a first low level signal;
and if the alarm signal indicates that no alarm is given, the first level signal is a first high level signal.
6. The camera system according to claim 1, wherein the alarm output circuit comprises: a triode, a relay, a voltage stabilizing circuit and a surge suppression circuit,
the base electrode of the triode is connected with the main control circuit, the emitting electrode of the triode is grounded, the collector electrode of the triode is respectively connected with the relay and the voltage stabilizing circuit, the voltage stabilizing circuit is also connected with the relay, the relay is also connected with the surge suppression circuit, and the surge suppression circuit is connected with the alarm device;
the voltage stabilizing circuit is used for stabilizing the voltage output by the collector of the triode, and the surge suppression circuit is used for surge suppression;
the main control circuit is specifically used for outputting a second level signal according to the alarm signal, and the triode is used for being switched on or switched off according to the second level signal so as to control whether the alarm device acts or not through the relay.
7. A camera system, comprising: a webcam and at least one alarm box, wherein,
the network camera comprises a processor and a first signal conversion circuit, wherein the first signal conversion circuit is respectively connected with a Universal Asynchronous Receiver Transmitter (UART) pin of the processor and a Controller Area Network (CAN) bus;
the alarm box comprises an alarm input circuit, an alarm output circuit, a main control circuit and a second signal conversion circuit, wherein the main control circuit is respectively connected with the alarm input circuit, the alarm output circuit and the second signal conversion circuit, and the second signal conversion circuit is also connected with the CAN bus;
the first signal conversion circuit is used for converting a first signal format and a second signal format, the second signal conversion circuit is used for converting the second signal format and a third signal format, the first signal format is a signal format supported by the network camera, the second signal format is a signal format supported by the CAN bus, and the third signal format is a signal format supported by the alarm box;
the master control circuit is used for reading a CAN bus address of the alarm box and sending the CAN bus address to the processor;
the processor is used for sending a first alarm instruction to the alarm box when a first high-level signal of the alarm box is obtained through the CAN bus address, and the first alarm instruction is used for controlling the main control circuit to output a second high-level signal so as to enable the alarm box to be conducted and execute alarm.
8. The camera system of claim 7,
the processor is further configured to send a second alarm instruction to the alarm box when the first low level signal of the alarm box is acquired via the CAN bus address, where the second alarm instruction is used to control the main control circuit to output a second low level signal.
9. The camera system of claim 7, further comprising: a first voltage conversion circuit for converting a first voltage into a second voltage,
one end of the first voltage conversion circuit is connected with a power supply, the other end of the first voltage conversion circuit is connected with the alarm input circuit, and the first voltage conversion circuit is used for converting the voltage of the power supply into the working voltage of the alarm input circuit.
10. The camera system of claim 7, further comprising: a second voltage conversion circuit for converting the second voltage into a second voltage,
one end of the second voltage conversion circuit is connected with a power supply, the other end of the second voltage conversion circuit is connected with the alarm output circuit, and the second voltage conversion circuit is used for converting the voltage of the power supply into the working voltage of the alarm output circuit.
CN201911330565.5A 2019-12-20 2019-12-20 Camera system Active CN113014860B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911330565.5A CN113014860B (en) 2019-12-20 2019-12-20 Camera system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911330565.5A CN113014860B (en) 2019-12-20 2019-12-20 Camera system

Publications (2)

Publication Number Publication Date
CN113014860A CN113014860A (en) 2021-06-22
CN113014860B true CN113014860B (en) 2023-03-14

Family

ID=76382391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911330565.5A Active CN113014860B (en) 2019-12-20 2019-12-20 Camera system

Country Status (1)

Country Link
CN (1) CN113014860B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201345705Y (en) * 2008-12-25 2009-11-11 山东申普汽车控制技术有限公司 Video monitoring alarm system based on CAN network transmission control
CN101662601A (en) * 2009-05-06 2010-03-03 青岛海信电器股份有限公司 Video device based on CAN bus and control system with same
CN202068510U (en) * 2011-05-13 2011-12-07 沈阳大学 Self-adaption vehicular night vision system
CN202435526U (en) * 2012-01-10 2012-09-12 武汉英康铁路电气设备工程有限公司 Video acquisition device based on CMOS (Complementary Metal-Oxide Semiconductor) image sensor
CN108501959A (en) * 2018-03-26 2018-09-07 奇瑞汽车股份有限公司 A kind of Lane Departure Warning System and its control method
JP2019179974A (en) * 2018-03-30 2019-10-17 株式会社トプコン Imaging device, signal processing method, and measuring device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887630B (en) * 2010-07-16 2012-08-22 杭州海康威视数字技术股份有限公司 Method and device for realizing alarm inputs and outputs
ITMI20120491A1 (en) * 2012-03-27 2013-09-28 Videotec Spa INTERFACE DEVICE FOR CAMERAS
CN105489063B (en) * 2016-01-13 2018-04-13 吉林航盛电子有限公司 A kind of new-energy automobile pedestrian's sound alarming device with active forewarning
US20180173666A1 (en) * 2016-12-16 2018-06-21 Intel Corporation APPARATUSES AND METHODS TO COUPLE AN EMBEDDED UNIVERSAL SERIAL BUS (eUSB) CIRCUIT TO A UNIVERSAL SERIAL BUS (USB) TRANSCEIVER INTERFACE CIRCUIT

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201345705Y (en) * 2008-12-25 2009-11-11 山东申普汽车控制技术有限公司 Video monitoring alarm system based on CAN network transmission control
CN101662601A (en) * 2009-05-06 2010-03-03 青岛海信电器股份有限公司 Video device based on CAN bus and control system with same
CN202068510U (en) * 2011-05-13 2011-12-07 沈阳大学 Self-adaption vehicular night vision system
CN202435526U (en) * 2012-01-10 2012-09-12 武汉英康铁路电气设备工程有限公司 Video acquisition device based on CMOS (Complementary Metal-Oxide Semiconductor) image sensor
CN108501959A (en) * 2018-03-26 2018-09-07 奇瑞汽车股份有限公司 A kind of Lane Departure Warning System and its control method
JP2019179974A (en) * 2018-03-30 2019-10-17 株式会社トプコン Imaging device, signal processing method, and measuring device

Also Published As

Publication number Publication date
CN113014860A (en) 2021-06-22

Similar Documents

Publication Publication Date Title
CN103607676B (en) A kind of wire-controlled apparatus for earphone and earphone
CN105094969A (en) External device used for mobile terminal
CN108933627A (en) A kind of optical module and optical network system
CN103888871B (en) Wire control device used for earphone and earphone
CN113014860B (en) Camera system
CN105578278A (en) Display equipment and method for realizing incoming-call on-function on MHL source
CN203608336U (en) Drive-by-wire device used for earphone and earphone
CN214754581U (en) Concentrator and data transmission system
CN213484903U (en) Switch with knob
CN114168514A (en) Communication isolation circuit and device
CN209402541U (en) Data transmission device and equipment
CN110168468B (en) Communication equipment of power supply
CN220711511U (en) Control circuit of video processor and video processor
CN207720118U (en) Data transmission circuit and device
US9780686B1 (en) Power supplying apparatus and method
TW470905B (en) Composite image processing device with serial bus switching function
CN205453784U (en) Network communication interface equipment
CN216286248U (en) Single-channel digital voltage regulating station and controller
CN203933868U (en) Multiplexed signals line is realized the module TV of system communication
CN217655451U (en) Control circuit for realizing communication switching and illumination control system
CN210744728U (en) Power supply control circuit of signal switcher
CN117978934B (en) Light supplementing synchronous signal circuit and electronic equipment thereof
CN214409630U (en) Control device
CN202587252U (en) Digital television all-in-one machine
CN216527159U (en) Communication isolation circuit and device

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