CN112235549A - Embedded USB image acquisition and remote transmission system and method - Google Patents

Embedded USB image acquisition and remote transmission system and method Download PDF

Info

Publication number
CN112235549A
CN112235549A CN202011302187.2A CN202011302187A CN112235549A CN 112235549 A CN112235549 A CN 112235549A CN 202011302187 A CN202011302187 A CN 202011302187A CN 112235549 A CN112235549 A CN 112235549A
Authority
CN
China
Prior art keywords
pin
capacitor
chip
gnd
network interface
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
CN202011302187.2A
Other languages
Chinese (zh)
Other versions
CN112235549B (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.)
Shanghai Jiaotong University
Original Assignee
Shanghai Jiaotong University
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 Shanghai Jiaotong University filed Critical Shanghai Jiaotong University
Priority to CN202011302187.2A priority Critical patent/CN112235549B/en
Publication of CN112235549A publication Critical patent/CN112235549A/en
Application granted granted Critical
Publication of CN112235549B publication Critical patent/CN112235549B/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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

The invention provides an embedded USB image acquisition and remote transmission system and method. Wherein: the power supply circuit provides required working voltage for the microcontroller circuit, the USB interface circuit and the network interface circuit. The microcontroller circuit is respectively connected with the USB interface chip and the network interface chip through the SPI synchronous serial port. The USB interface chip works in the HOST mode, is connected with the USB binocular camera and is used for collecting image data. The network interface chip is connected with an external router, a 4G wireless network router or AP and the like and is used for transmitting the USB image into controllers such as a remote PC (personal computer), a JetSON (JetSON) and the like.

Description

Embedded USB image acquisition and remote transmission system and method
Technical Field
The invention relates to the technical field of electronics, in particular to an embedded USB image acquisition and remote transmission system and method.
Background
Image acquisition and transmission are important technical means for realizing the monitoring function. At present, the image transmission generally adopts a wired network transmission form, and the precision is generally low. The slightly remote transmission generally adopts a point-to-point single-point high-frequency transmission mode, and is difficult to access a controller for operating an AI control algorithm. In the fields of unmanned ships, unmanned vehicles and the like, high-precision images acquired by a binocular camera with a USB interface are remotely transmitted to a main controller for intelligent processing and analysis, and the method is a large-scene application in the field of AI artificial intelligence. However, the USB binocular camera generally needs to be accessed into a computer or a board card running operating systems such as Windows or Linux, and then connected to a dedicated remote transmission device or a 4G wireless router, and the implementation method is mature in technology and high in cost.
Through literature search of the prior art, the inventor finds that the 'ARM-based embedded USB HOST system design' published by Zhongweifeng, Liquanli and Xujun et al in Harbin university of Physician university (2010, volume 15, No. 6, pages 42-46) adopts a method of designing a USB HOST system by using an SL811HS USB HOST chip and an S3C44B0X ARM7TDMI chip. The defects are as follows: the embedded USB host system based on ARM can only realize the acquisition of the USB camera images, and the network and remote transmission of the images cannot be realized because no network interface chip exists. An image processing apparatus that uses a USB host interface, a USB device interface, and a LAN interface and performs various processes on an input image is proposed in the invention patent "image processing apparatus and control method thereof" (application No. CN200580023036.0, publication No. CN1981510B), but the network interface functions to input a file access command requesting access to a memory card connected to a USB host interface, and is mainly used in MFP occasions such as printers, scanners, and the like; the invention relates to an image acquisition method of a camera device based on an embedded system (application number: CN200610114445.8, publication number: CN200610114445.8), which designs a camera Z301P image acquisition system by using an MX21 microprocessor, a USB-OTG module and a USB interface connector, but has no network transmission function; the invention discloses a laser three-dimensional inner carving machine with a USB master-slave dual-mode function (application number: CN200910047708.1, publication number: CN101837514A), which designs a laser three-dimensional inner carving machine control system by using an ATmega128 AVR 8-bit MCU and a USB interface chip CH375, and has no network interface communication function.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide an embedded USB image acquisition and remote transmission system and method.
The invention provides an embedded USB image acquisition and remote transmission system, which comprises a power circuit, a microcontroller circuit, a USB interface circuit and a network interface circuit, wherein:
the power supply circuit provides required working voltage for the microcontroller circuit, the USB interface circuit and the network interface circuit;
the microcontroller circuit is respectively connected with the USB interface circuit and the network interface circuit through the SPI synchronous serial port;
the microcontroller circuit controls the USB interface circuit to transmit the acquired image data to the external equipment through the network interface circuit.
Preferably, the network interface circuit is connected with an external router, a 4G wireless network router or an AP network device.
Preferably, the USB interface circuit is connected to an image data acquisition device.
Preferably, the power supply circuit comprises an input connector J1, a power supply chip U1-U2, a capacitor C2, a capacitor C3, a capacitor C6, a capacitor C7, a capacitor C9 and a capacitor C10, wherein:
pin 1 of the input connector J1 is respectively connected with pin 1 of the power supply chip U1 and pin 1 of the power supply chip U2, and is decoupled and bypassed to GND through capacitors C2 and C3, and pin 2 of the input connector J1 is connected to GND;
pin 2 of the power chip U1 is connected to GND, pin 3 outputs +5V DC voltage, and is decoupled to GND through a capacitor C6 and a capacitor C9;
pin 2 of the power chip U2 is connected to GND, and pin 3 outputs +3.3V DC voltage, which is decoupled to GND through the capacitor C7 and the capacitor C10.
Preferably, the microcontroller circuit comprises a resistor R2, a resistor R7, a capacitor C15, a capacitor C17, a capacitor C21, a capacitor C23, a capacitor C24, an ARM control chip U5, a key SW1, a crystal oscillator XT2 and a connector J4, wherein:
a pin 4 of the ARM control chip U5 is pulled up to 3.3V through a resistor R2 and then pulled down to GND through a capacitor C15 and a key SW1, and a power-on automatic reset and manual reset circuit is formed by the resistor R2, the capacitor C15 and the key SW 1;
the resistor R7 and the crystal oscillator XT2 are connected in parallel and then are respectively connected with a pin 15 and a pin 16 of an ARM control chip U5, the pin 15 is connected with GND through a capacitor C17, the pin 16 is connected with GND through a capacitor C21, and a clock circuit of the ARM control chip U5 is formed by the capacitor C17, the capacitor C21, the resistor R7 and the crystal oscillator XT 2;
the pin 18 of the ARM control chip U5 is connected with GND through a capacitor C25;
the pin 41 and the pin 42 of the ARM control chip U5 are connected with a 3.3V DC power supply and are decoupled to GND through capacitors C23 and C24;
pin 2 of the connector J4 is connected with a 3.3DC power supply, pin 10 is connected with GND, pin 4 is connected with pin 31 of ARM control chip U5, pin 6 is connected with pin 30 of ARM control chip U5, and pin 8 is connected with pin 4 of ARM control chip U5, so that an ISP/IAP programming interface of the ARM control chip U5 is formed.
Preferably, the USB interface circuit includes a resistor R1, a capacitor C1, a capacitor C4, a capacitor C5, a capacitor C8, a capacitor C11, a capacitor C12, a USB interface chip U3, and a connector J2, wherein:
pin 4 of the USB connector J2 is connected to GND, pin 2 and pin 3 are connected to pin 9 and pin 8 of the USB interface chip U3, pin 1 is connected to GND through a capacitor C1, and 3.3V DC is decoupled to GND through C4 and then connected to pin 1 of the connector J2 through a resistor R1;
pin 7 and pin 20 of the USB interface chip U3 are connected to 3.3V DC and are decoupled to GND via capacitor C11;
pin 2 of the USB interface chip U3 is connected to 3.3V DC via a capacitor C5;
after the pin 11 and the pin 12 of the USB interface chip U3 are connected in parallel with the crystal oscillator XT1, the pins are connected with GND through capacitors C8 and C12 respectively;
pin 1 of the USB interface chip U3 is connected with pin 8 of the microcontroller circuit ARM control chip U5;
pin 13, pin 14, pin 15 and pin 16 of the USB interface chip U3 are connected to the microcontroller circuit, and form an SPI hardware interface for USB image data reading.
Preferably, the network interface circuit comprises a joint J3, resistors R3-R6, a resistor R8, a capacitor C13, a capacitor C14, a capacitor C16, capacitors C18-C20, a capacitor C22, capacitors C26-C29, an inductor L1, a crystal oscillator XT3, a network interface chip U4 and a reset chip U6, wherein:
pin 28 of the network interface chip U4 is connected to 3.3V DC and is decoupled to GND through a capacitor C22, and pin 2 of the network interface chip U4 is connected to GND;
the pin 15, the pin 19, the pin 20 and the pin 25 of the network interface chip U4 are connected with 3.3V DC and are decoupled to GND through a capacitor C16 and capacitors C18-C20; the pin 11, the pin 18, the pin 21 and the pin 22 of the network interface chip U4 are connected to GND. The pin 13 of the network interface chip U4 is grounded through a resistor R3 and a capacitor C13 and then is connected with the pin 3 of the joint J3;
the pin 12 of the network interface chip U4 is grounded through a resistor R4 and a capacitor C13 and then is connected with the pin 6 of the joint J3;
the inductor L1 is connected with 3.3V DC and then is respectively connected with the pin 17 and the pin 16 of the network interface chip U4 through the resistor R5 and the resistor R6, and the common ends of the inductor L1, the capacitor R5 and the resistor R6 are grounded through the capacitor C15; pin 16 and pin 17 of the network interface chip U4 are connected to pin 2 and pin 1 of the connector J3, respectively, to form a network interface between the network interface circuit and an external device;
pin 4 and pin 5 of the network interface chip U4 are respectively connected with the microcontroller circuit;
pin 1 of the network interface chip U4 is connected with pin 18 through a capacitor C27, and pin 14 is connected with pin 11 through a resistor R8;
the pin 23 and the pin 24 of the network interface chip U4 are connected in parallel with the crystal oscillator XT3 and then are connected with GND through a capacitor C28 and a capacitor C26 respectively;
pins 6 to 9 of the network interface chip U4 are connected with the microcontroller respectively;
pin 1 of the reset chip U6 is connected with GND, and pin 2 is connected with pin 10 of the network interface chip U4;
pin 4 of the reset chip U6 is connected to 3.3V DC and then is decoupled to GND through a capacitor C29.
According to the embedded USB image acquisition and remote transmission method based on the embedded USB image acquisition and remote transmission system provided by the invention, the method comprises the following steps:
a power supply step: the power supply circuit supplies power to the microcontroller circuit, the USB interface circuit and the network interface circuit;
a data transmission step: the USB interface circuit sends the received image data to the microcontroller circuit;
a data sending step: and after the microcontroller circuit checks the image data, the image data is sent to external equipment through a network interface circuit.
Preferably, the external device comprises a remote PC or JetSON controller.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention decomposes the function into image acquisition and image transmission functions, and is respectively composed of an ARM control chip control USB interface chip and a network interface chip.
2. The image acquisition and transmission functions of the invention are realized by SPI high-speed synchronous serial port hardware transmission and software interrupt mode, and the invention has fast speed and strong stability.
3. The invention does not need Windows, Linux and other operating systems, does not need special firmware and additional drive, can be plugged and used, can be directly accessed to the image acquisition and transmission system, can be conveniently integrated into unmanned ships and unmanned man artificial intelligent control systems, can also be integrated into other AI intelligent control systems, and has wide application prospect.
4. The invention can combine with AISO RTOS real-time operating system, can further simplify software design, improve the system stability.
5. The invention has low cost, light weight, high running speed and high efficiency, and can simultaneously improve the stability and the reliability of the system in the aspects of hardware and software.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
FIG. 1 is a block diagram of the present invention;
FIG. 2 is a schematic diagram of a power supply circuit;
FIG. 3 is a schematic diagram of a microcontroller circuit;
FIG. 4 is a USB interface circuit schematic;
fig. 5 is a schematic diagram of a network interface circuit.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that it would be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. All falling within the scope of the present invention.
As shown in fig. 1, the present embodiment includes a power supply circuit, a microcontroller circuit, a USB interface circuit, and a network interface circuit. The power supply circuit provides the required operating voltage for the system. The USB interface circuit mainly comprises a USB interface chip, wherein the USB interface chip works in a HOST mode and is connected with the ARM chip through an SPI synchronous serial port. The USB interface chip is connected with the USB binocular camera and used for image data acquisition. The network interface circuit is composed of network interface chips respectively, and the network interface chips are connected with the ARM chip through SPI synchronous serial ports. The network interface chip is connected with an external router, a 4G wireless network router or AP and the like, and is used for transmitting the USB image into controllers such as a remote PC (personal computer) and a JetSON (JetSON) for analysis and processing.
After the system is powered on, the power circuit provides the required working voltage for the system. The microcontroller, the USB interface chip and the network interface chip are automatically reset and initialized. Image data output by the USB binocular camera is fed into the USB interface chip, and the USB interface chip feeds the data into the ARM microcontroller through the SPI synchronous serial port. The ARM microcontroller simply checks and processes the fed-in image data, and then feeds the image data into an external router, a 4G wireless network router or AP network equipment and the like through another path of SPI synchronous serial port and a network interface chip, so that the USB image data is acquired and remotely transmitted, and a foundation is laid for subsequent analysis and processing.
As shown in fig. 2, the power supply circuit is composed of an input connector J1, power chips U1 to U2, a capacitor C2, a capacitor C3, a capacitor C6, a capacitor C7, a capacitor C9, and a capacitor C10. Pin 1 of the input connector J1 is connected to pin 1 of the power chip U1 and pin 1 of the power chip U2, respectively, and is decoupled and bypassed to GND through capacitors C2 and C3. Pin 2 of the input connector J1 is connected to GND. Pin 2 of the power chip U1 is connected to GND, pin 3 outputs +5V DC voltage, which is decoupled to GND through capacitor C6 and capacitor C9, and is the system standby power. Pin 2 of the power chip U2 is connected to GND, pin 3 outputs +3.3V DC voltage, which is decoupled to GND through capacitor C7 and capacitor C10 to supply power for other chips and circuits of the system.
The power supply chip U1 adopts LM1117-5.0 voltage-stabilizing chip of National Semiconductor company. The main parameters are maximum input voltage 20V and maximum output current 1.2A.
The power supply chip U2 adopts LM1117-3.3 voltage-stabilizing chip of National Semiconductor company. The main parameters are maximum input voltage 20V and maximum output current 1.2A.
As shown in fig. 3, the microcontroller circuit includes a resistor R2, a resistor R7, a capacitor C15, a capacitor C17, a capacitor C21, a capacitor C23, a capacitor C24, an ARM control chip U5, a key SW1, a crystal XT2, and a connector J4. The pin 4 of the ARM control chip U5 is pulled up to 3.3V through the resistor R2 and then pulled down to GND through the capacitor C15 and the key SW1, and the resistor R2, the capacitor C15 and the key SW1 form a power-on automatic reset and manual reset circuit to provide a reset function for the ARM control chip U5. The resistor R7 and the crystal oscillator XT2 are connected in parallel and then are respectively connected with a pin 15 and a pin 16 of the ARM control chip U5, the pin 15 is connected with GND through a capacitor C17, the pin 16 is connected with GND through a capacitor C21, and a clock circuit of the ARM control chip U5 is formed by the capacitor C17, the capacitor C21, the resistor R7 and the crystal oscillator XT 2. Pin 18 of ARM control chip U5 is connected to GND through capacitor C25. The pin 41 and the pin 42 of the ARM control chip U5 are connected with a 3.3V DC power supply and are decoupled to GND through capacitors C23 and C24. Pin 2 of the connector J4 is connected with a 3.3DC power supply, pin 10 is connected with GND, pin 4 is connected with pin 31 of ARM control chip U5, pin 6 is connected with pin 30 of ARM control chip U5, and pin 8 is connected with pin 4 of ARM control chip U5, so that an ISP/IAP programming interface of the ARM control chip U5 is formed.
The ARM control chip U5 adopts a M058 Cortex-M0 ARM chip of Nuvoton company. Working parameters comprise working voltage + 2.5-5.5V, maximum operating frequency of 50MHz, working temperature of-40-85 ℃, and embedded 32k Flash memory, 4k data memory, 4k ISP Flash memory and 4k SRAM memory.
As shown in fig. 4, the USB interface circuit includes a resistor R1, a capacitor C1, a capacitor C4, a capacitor C5, a capacitor C8, a capacitor C11, a capacitor C12, a USB interface chip U3, and a connector J2. Pin 4 of the USB connector J2 is connected to GND, pin 2 and pin 3 are connected to pin 9 and pin 8 of the USB interface chip U3, pin 1 is connected to GND through a capacitor C1, and 3.3V DC is decoupled to GND through a capacitor C4 and then connected to pin 1 of the connector J2 through a resistor R1. J2 constitutes an interface circuit with an external USB camera. Pin 7 and pin 20 of the USB interface chip U3 are connected to 3.3V DC and are decoupled to GND via capacitor C11. Pin 2 of the USB interface chip U3 is connected to 3.3V DC via capacitor C5, forming an automatic reset circuit. After the pin 11 and the pin 12 of the USB interface chip U3 are connected in parallel with the crystal oscillator XT1, they are connected to GND through capacitors C8 and C12, respectively. The capacitor C8, the capacitor C12 and the crystal oscillator XT1 constitute a clock circuit of the USB interface chip U3. Pin 1 of the USB interface chip U3 is connected with pin 8 of the microcontroller circuit ARM control chip U5 to form a USB image data reading external interrupt signal loop. Pin 13, pin 14, pin 15 and pin 16 of the USB interface chip are connected to pin 47, pin 3, pin 1 and pin 2 of the microcontroller circuit ARM control chip U5, respectively, to form an SPI hardware interface for USB image data reading.
The USB interface chip U3 adopts a CH376T chip of Nanjing Qin Hengji electronic technology, Inc. The working parameters comprise a USB-HOST HOST interface and a USB-DEVICE interface, and support the dynamic switching between the HOST mode and the DEVICE mode; the USB communication support supports 1.5Mbps low-speed and 12Mbps full-speed USB communication and is compatible with USB V2.0; a protocol processor for controlling transmission by a built-in USB; providing various hardware interface modes such as an 8-bit passive parallel interface with the speed of 2MB, an SPI equipment interface for the speed of 2MB/24MHz, an asynchronous serial port with the highest speed of 3Mbps and the like; support 5V and 3.3V supply voltages and 3V supply voltages.
As shown in fig. 5, the network interface circuit includes a connector J3, resistors R3 to R6, a resistor R8, a capacitor C13, a capacitor C14, a capacitor C16, capacitors C18 to C20, a capacitor C22, capacitors C26 to C29, an inductor L1, a crystal oscillator XT3, a network interface chip U4, a reset chip U6, and the like. The pin 28 of the network interface chip U4 is connected to 3.3V DC and is decoupled to GND via the capacitor C22. Pin 2 of the network interface chip U4 is connected to GND. The pin 15, the pin 19, the pin 20 and the pin 25 of the network interface chip U4 are connected to 3.3V DC and are decoupled to GND through the capacitor C16 and the capacitors C18-C20. The pin 11, the pin 18, the pin 21 and the pin 22 of the network interface chip U4 are connected to GND. Pin 13 of the network interface chip U4 is grounded via resistor R3 and capacitor C13, and then connected to pin 3 of the connector J3. The pin 12 of the network interface chip U4 is grounded via the resistor R4 and the capacitor C13, and then connected to the pin 6 of the connector J3. The inductor L1 is connected to 3.3V DC, and is connected to the pin 17 and the pin 16 of the network interface chip U4 through the resistor R5 and the resistor R6, respectively, and the common terminals of the inductor L1, the capacitor R5 and the resistor R6 are grounded through the capacitor C15. The pin 16 and the pin 17 of the network interface chip U4 are connected to the pin 2 and the pin 1 of the connector J3, respectively, to form a network interface between the network interface circuit and an external device. And a pin 4 and a pin 5 of the network interface chip U4 are respectively connected with a pin 9 and a pin 12 of the microcontroller circuit ARM control chip to form an external interrupt signal loop of the network interface chip. Pin 1 of the network interface chip U4 is connected to pin 18 via capacitor C27 and pin 14 is connected to pin 11 via resistor R8. The pin 23 and the pin 24 of the network interface chip U4 are connected in parallel with the crystal oscillator XT3 and then connected with GND through the capacitor C28 and the capacitor C26, respectively, to form the clock circuit thereof. Pin 6-pin 9 of the network interface chip U4 are connected with pin 33, pin 34, pin 32 and pin 35 of the microcontroller circuit ARM control chip U5 respectively, so as to form an SPI hardware interface for image network transmission. Pin 1 of the reset chip U6 is connected to GND, and pin 2 is connected to pin 10 of the network interface chip U4, so as to provide a power-on automatic reset function for the chip. Pin 4 of the reset chip U6 is connected to 3.3V DC and then is decoupled to GND through a capacitor C29.
The network interface chip U4 adopts an ENC28J60 chip of Microchip company. The working parameters are as follows: the working voltage is 3.3V DC, the clock frequency is 25MHz, the temperature range is-40 ℃ to 85 ℃, the IEEE 802.3 is compatible, the MAC and 10-base PHY are integrated, the full duplex mode and the half duplex mode are supported, the highest speed of the SPI is 10Mb/s, the 8KB sends/receives the data packet, the SRAM is provided with two ports, and the like.
The reset chip U6 adopts CATALYST CAT811 chip. The working parameters are monitoring voltage 5.0V DC, 3.3V DC, 3.0V DC and 2.5V DC, and 6 muA working current.
The connector J3 adopts a Hanren company HR911105A RJ45 network connector. The working parameters are that a network transformer is arranged in the transformer, the temperature is 0-70 ℃,100BASE-T, the maximum insulation is 1500Vrms, 350 mu minimum OCL and 8mA bias current.
The following describes a specific operation process of this embodiment:
1. and powering on the system. The power supply circuit provides required working voltage for the system, and the ARM control chip, the USB interface chip, the network interface chip and the like perform reset operation.
2. And (5) image acquisition. Image data output by the USB binocular camera is fed into the USB interface chip, and the ARM microcontroller reads the image data into a cache through the SPI synchronous serial port in an interrupt mode;
3. and (5) image transmission. The ARM microcontroller simply checks and processes the read-in image data, and then feeds the image data into an external router, a 4G wireless network router or AP network equipment and the like through another path of SPI synchronous serial port and a network interface chip, so that the remote transmission of the image data is realized.
In this embodiment, the ARM control chip includes a 22.1184MHz clock circuit, and can operate without an external clock circuit, but the external clock circuit is still designed for a programmer to select.
The core of the power supply circuit is a power supply management chip which converts externally input +5 to +12V direct current voltage into +3.3V and +5.0V DC voltage respectively and provides required working voltage for a microcontroller, a USB interface circuit, a network interface circuit and the like. The core of the microcontroller circuit is an ARM control chip, the USB binocular camera image data received by the USB interface chip is received through a synchronous serial port and is simply processed, then the image data collected by the camera is sent to a network interface chip through another synchronous serial port, and then the network interface chip feeds the image data into a network through an external router, a 4G wireless network router or AP network equipment, so that the image collection and remote transmission of the USB camera are realized. The core of the USB interface circuit is a USB Host interface chip which is connected with the ARM control chip through the SPI synchronous serial port. And the ARM control chip is used for controlling the interface with the USB binocular camera to acquire image data acquired by the USB binocular camera. The ARM control chip adopts a Cortex-M0 chip of New Tang corporation, and has high running speed and high efficiency. The USB interface chip adopts an industrial common USB HOST chip, the network interface chip adopts a small-pin patch element, the acquisition and transmission functions are realized by adopting the minimum element, and the system cost is low; the Cortex-M0 ARM control chip is provided with two synchronous serial interfaces SPI which are respectively connected with the USB interface chip and the network interface chip, and the hardware circuit connection is simple and reliable. The Cortex-M0 ARM chip can run an efficient AIOS RTOS system, and can improve the stability and reliability of the system from the aspects of hardware and software.
In the description of the present application, it is to be understood that the terms "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience in describing the present application and simplifying the description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present application.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.

Claims (9)

1. The utility model provides an embedded USB image acquisition and teletransmission system which characterized in that, includes power supply circuit, microcontroller circuit, USB interface circuit and network interface circuit, wherein:
the power supply circuit provides required working voltage for the microcontroller circuit, the USB interface circuit and the network interface circuit;
the microcontroller circuit is respectively connected with the USB interface circuit and the network interface circuit through the SPI synchronous serial port;
the microcontroller circuit controls the USB interface circuit to transmit the acquired image data to the external equipment through the network interface circuit.
2. The embedded USB image acquisition and remote transmission system according to claim 1, wherein the network interface circuit is connected to an external router, a 4G wireless network router or an AP network device.
3. The embedded USB image capturing and remote transmitting system according to claim 1, wherein the USB interface circuit is connected to an image data capturing device.
4. The embedded USB image capture and remote transmission system of claim 1, wherein the power circuit comprises an input connector J1, a power chip U1-U2, a capacitor C2, a capacitor C3, a capacitor C6, a capacitor C7, a capacitor C9 and a capacitor C10, wherein:
pin 1 of the input connector J1 is respectively connected with pin 1 of the power supply chip U1 and pin 1 of the power supply chip U2, and is decoupled and bypassed to GND through capacitors C2 and C3, and pin 2 of the input connector J1 is connected to GND;
pin 2 of the power chip U1 is connected to GND, pin 3 outputs +5V DC voltage, and is decoupled to GND through a capacitor C6 and a capacitor C9;
pin 2 of the power chip U2 is connected to GND, and pin 3 outputs +3.3V DC voltage, which is decoupled to GND through the capacitor C7 and the capacitor C10.
5. The embedded USB image capture and remote transmission system of claim 1, wherein the microcontroller circuit comprises a resistor R2, a resistor R7, a capacitor C15, a capacitor C17, a capacitor C21, a capacitor C23, a capacitor C24, an ARM control chip U5, a key SW1, a crystal XT2, and a connector J4, wherein:
a pin 4 of the ARM control chip U5 is pulled up to 3.3V through a resistor R2 and then pulled down to GND through a capacitor C15 and a key SW1, and a power-on automatic reset and manual reset circuit is formed by the resistor R2, the capacitor C15 and the key SW 1;
the resistor R7 and the crystal oscillator XT2 are connected in parallel and then are respectively connected with a pin 15 and a pin 16 of an ARM control chip U5, the pin 15 is connected with GND through a capacitor C17, the pin 16 is connected with GND through a capacitor C21, and a clock circuit of the ARM control chip U5 is formed by the capacitor C17, the capacitor C21, the resistor R7 and the crystal oscillator XT 2;
the pin 18 of the ARM control chip U5 is connected with GND through a capacitor C25;
the pin 41 and the pin 42 of the ARM control chip U5 are connected with a 3.3V DC power supply and are decoupled to GND through capacitors C23 and C24;
pin 2 of the connector J4 is connected with a 3.3DC power supply, pin 10 is connected with GND, pin 4 is connected with pin 31 of ARM control chip U5, pin 6 is connected with pin 30 of ARM control chip U5, and pin 8 is connected with pin 4 of ARM control chip U5, so that an ISP/IAP programming interface of the ARM control chip U5 is formed.
6. The embedded USB image capture and remote transmission system of claim 1, wherein the USB interface circuit comprises a resistor R1, a capacitor C1, a capacitor C4, a capacitor C5, a capacitor C8, a capacitor C11, a capacitor C12, a USB interface chip U3, and a connector J2, wherein:
pin 4 of the USB connector J2 is connected to GND, pin 2 and pin 3 are connected to pin 9 and pin 8 of the USB interface chip U3, pin 1 is connected to GND through a capacitor C1, and 3.3V DC is decoupled to GND through C4 and then connected to pin 1 of the connector J2 through a resistor R1;
pin 7 and pin 20 of the USB interface chip U3 are connected to 3.3V DC and are decoupled to GND via capacitor C11;
pin 2 of the USB interface chip U3 is connected to 3.3V DC via a capacitor C5;
after the pin 11 and the pin 12 of the USB interface chip U3 are connected in parallel with the crystal oscillator XT1, the pins are connected with GND through capacitors C8 and C12 respectively;
pin 1 of the USB interface chip U3 is connected with pin 8 of the microcontroller circuit ARM control chip U5;
pin 13, pin 14, pin 15 and pin 16 of the USB interface chip U3 are connected to the microcontroller circuit, and form an SPI hardware interface for USB image data reading.
7. The embedded USB image acquisition and remote transmission system according to claim 1, wherein the network interface circuit comprises a connector J3, resistors R3-R6, a resistor R8, a capacitor C13, a capacitor C14, a capacitor C16, capacitors C18-C20, a capacitor C22, capacitors C26-C29, an inductor L1, a crystal oscillator XT3, a network interface chip U4 and a reset chip U6, wherein:
pin 28 of the network interface chip U4 is connected to 3.3V DC and is decoupled to GND through a capacitor C22, and pin 2 of the network interface chip U4 is connected to GND;
the pin 15, the pin 19, the pin 20 and the pin 25 of the network interface chip U4 are connected with 3.3V DC and are decoupled to GND through a capacitor C16 and capacitors C18-C20; the pin 11, the pin 18, the pin 21 and the pin 22 of the network interface chip U4 are connected to GND. The pin 13 of the network interface chip U4 is grounded through a resistor R3 and a capacitor C13 and then is connected with the pin 3 of the joint J3;
the pin 12 of the network interface chip U4 is grounded through a resistor R4 and a capacitor C13 and then is connected with the pin 6 of the joint J3;
the inductor L1 is connected with 3.3V DC and then is respectively connected with the pin 17 and the pin 16 of the network interface chip U4 through the resistor R5 and the resistor R6, and the common ends of the inductor L1, the capacitor R5 and the resistor R6 are grounded through the capacitor C15; pin 16 and pin 17 of the network interface chip U4 are connected to pin 2 and pin 1 of the connector J3, respectively, to form a network interface between the network interface circuit and an external device;
pin 4 and pin 5 of the network interface chip U4 are respectively connected with the microcontroller circuit;
pin 1 of the network interface chip U4 is connected with pin 18 through a capacitor C27, and pin 14 is connected with pin 11 through a resistor R8;
the pin 23 and the pin 24 of the network interface chip U4 are connected in parallel with the crystal oscillator XT3 and then are connected with GND through a capacitor C28 and a capacitor C26 respectively;
pins 6 to 9 of the network interface chip U4 are connected with the microcontroller respectively;
pin 1 of the reset chip U6 is connected with GND, and pin 2 is connected with pin 10 of the network interface chip U4;
pin 4 of the reset chip U6 is connected to 3.3V DC and then is decoupled to GND through a capacitor C29.
8. An embedded USB image acquisition and remote transmission method based on the embedded USB image acquisition and remote transmission system of any one of claims 1 to 7, characterized by comprising the following steps:
a power supply step: the power supply circuit supplies power to the microcontroller circuit, the USB interface circuit and the network interface circuit;
a data transmission step: the USB interface circuit sends the received image data to the microcontroller circuit;
a data sending step: and after the microcontroller circuit checks the image data, the image data is sent to external equipment through a network interface circuit.
9. The embedded USB image capture and remote transmission method of claim 8, wherein the external device comprises a remote PC or JetSON controller.
CN202011302187.2A 2020-11-19 2020-11-19 Embedded USB image acquisition and remote transmission system and method Active CN112235549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011302187.2A CN112235549B (en) 2020-11-19 2020-11-19 Embedded USB image acquisition and remote transmission system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011302187.2A CN112235549B (en) 2020-11-19 2020-11-19 Embedded USB image acquisition and remote transmission system and method

Publications (2)

Publication Number Publication Date
CN112235549A true CN112235549A (en) 2021-01-15
CN112235549B CN112235549B (en) 2021-07-13

Family

ID=74123870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011302187.2A Active CN112235549B (en) 2020-11-19 2020-11-19 Embedded USB image acquisition and remote transmission system and method

Country Status (1)

Country Link
CN (1) CN112235549B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090079835A1 (en) * 2006-07-31 2009-03-26 Pure Digital Technologies, Inc. Digital video camera with retractable data connector and resident software application
CN101534421A (en) * 2008-03-12 2009-09-16 黄华 Home network monitoring system based on embedded-type security web server
CN202551178U (en) * 2012-04-25 2012-11-21 东北石油大学 Portable image acquisition and compression device
US20160160317A1 (en) * 2014-12-06 2016-06-09 Sesa Sterlite Limited Method and system for removing silica from an ore
CN106506937A (en) * 2016-10-11 2017-03-15 芜湖哈特机器人产业技术研究院有限公司 A kind of smart camera for being available for secondary development
CN209625244U (en) * 2019-01-10 2019-11-12 广东电网有限责任公司 A kind of electric energy meter screen display data automatic identification device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090079835A1 (en) * 2006-07-31 2009-03-26 Pure Digital Technologies, Inc. Digital video camera with retractable data connector and resident software application
CN101534421A (en) * 2008-03-12 2009-09-16 黄华 Home network monitoring system based on embedded-type security web server
CN202551178U (en) * 2012-04-25 2012-11-21 东北石油大学 Portable image acquisition and compression device
US20160160317A1 (en) * 2014-12-06 2016-06-09 Sesa Sterlite Limited Method and system for removing silica from an ore
CN106506937A (en) * 2016-10-11 2017-03-15 芜湖哈特机器人产业技术研究院有限公司 A kind of smart camera for being available for secondary development
CN209625244U (en) * 2019-01-10 2019-11-12 广东电网有限责任公司 A kind of electric energy meter screen display data automatic identification device

Also Published As

Publication number Publication date
CN112235549B (en) 2021-07-13

Similar Documents

Publication Publication Date Title
CN101945497A (en) Wireless sensor network node for collecting energy
CN109193888A (en) A kind of the wireless charging power-supply system and charging method of Type-c interface
CN112235549B (en) Embedded USB image acquisition and remote transmission system and method
CN202889340U (en) Low-power short-distance wireless data transmission module
CN102339119B (en) Intelligent monitoring device for a power supply
CN111654836A (en) LoRa data acquisition unit, communication method and upgrading method thereof
CN101938071B (en) Energy-saving socket for printer and operating method thereof
CN105307251B (en) A kind of low-power consumption Internet of Things module and its control method
CN102802279B (en) Over-distance wireless sensor network circuit receiving terminal
CN110266503A (en) A kind of embedded industrial control terminal of double network interfaces for supporting POE to power
CN213183071U (en) Unit controller control circuit based on bluetooth
CN102769935B (en) Transmitting end of over-distance wireless sensor network circuit
CN208351462U (en) A kind of USB power supply grain feelings detection host with communication
CN206282158U (en) Low-temperature heat and startup control device
CN202696909U (en) Ultra-long-distance wireless sensor network circuit receiving end
CN112351554B (en) Intelligent street lamp controller integrating street lamp dimming and meteorological data acquisition
CN208367624U (en) A kind of USB power supply communication circuit for grain feelings detection host of powering
CN211349342U (en) Communication conversion module for converting RS-485 to NB-IoT
CN201830036U (en) Wireless charging sensor node
CN220829708U (en) POE power supply multi-serial port signal acquisition circuit and acquisition device
CN202166960U (en) Power intelligent monitoring device
CN105279931A (en) Wi-Fi (wireless fidelity) and wireless radio frequency communication-based remote temperature and humidity cloud detection device
CN112467863A (en) Dual-power switching communication device and method for glucometer
CN218280464U (en) Motion data acquisition system and device
CN202178781U (en) Wireless Zigbee and industrial Ethernet bus protocol conversion adapter module

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant