CN202939432U - Automatic power-on control device of USB-interface industrial cameras based on single chip microcomputer - Google Patents

Automatic power-on control device of USB-interface industrial cameras based on single chip microcomputer Download PDF

Info

Publication number
CN202939432U
CN202939432U CN 201220552983 CN201220552983U CN202939432U CN 202939432 U CN202939432 U CN 202939432U CN 201220552983 CN201220552983 CN 201220552983 CN 201220552983 U CN201220552983 U CN 201220552983U CN 202939432 U CN202939432 U CN 202939432U
Authority
CN
China
Prior art keywords
usb
power supply
supply control
chip
chip microcomputer
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.)
Expired - Fee Related
Application number
CN 201220552983
Other languages
Chinese (zh)
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.)
CETC 41 Institute
Shanghai Tobacco Machinery Co Ltd
Original Assignee
CETC 41 Institute
Shanghai Tobacco Machinery 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 CETC 41 Institute, Shanghai Tobacco Machinery Co Ltd filed Critical CETC 41 Institute
Priority to CN 201220552983 priority Critical patent/CN202939432U/en
Application granted granted Critical
Publication of CN202939432U publication Critical patent/CN202939432U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)
  • Studio Devices (AREA)

Abstract

The utility model discloses an automatic power-on control device of USB-interface industrial cameras based on a single chip microcomputer. The device comprises upper computers, a plurality of the industrial cameras, the single chip microcomputer, power supply control chips, USB sockets and a USB to serial port chip. Four IO ports of the single chip microcomputer form control connection with a power supply control pin of the one power supply control chip respectively. Input pins and output pins of the four power supply control chips are connected with a Vcc terminal of one USB socket respectively. A USB jack of the USB socket which is connected with the input pin of the power supply control chip is connected with the each upper computer. The USB jack of the USB socket which is connected with the output pin of the power supply control chip is connected with the industrial camera respectively. The each upper computer is connected with the USB to serial port chip through the USB socket. The other end of the USB to serial port chip is connected with the serial port of the single chip microcomputer. By using the device of the utility model, problems that the USB interface is frequently plugged; the industrial camera can not be identified and so on are solved; efficiency of the USB industrial camera in machine vision technology application is greatly increased.

Description

SCM Based USB interface industrial camera is gone up controller for electric consumption automatically
Technical field
The utility model relates to a kind of SCM Based USB interface industrial camera and automatically goes up controller for electric consumption, belongs to automation field.
Background technology
Along with the continuous maturation of machine vision technique, the application of machine vision technique is more and more extensive.Often can use the industrial camera of USB interface in the application of adopting machine vision technique; in the process of using the USB interface industrial camera; if in advance camera is connected to the USB interface of host computer; by situation about often can identify less than camera, so just need manual plug camera so that host computer can be identified at os starting.In addition, connect in the control system of a plurality of USB interface industrial cameras at needs, system can not be automatically corresponding with the connected USB interface of camera sequence number, need to manually arrange separately.
The utility model content
The purpose of this utility model is in the application of adopting machine vision technique, sometimes None-identified USB interface industrial camera and can't be automatically that the camera sequence number is corresponding with USB interface problem after system starts, provide a kind of SCM Based USB interface industrial camera automatically to go up controller for electric consumption, can control separately each the USB interface industrial camera power supply that connects, and can identify the camera sequence number that each USB interface connects, improve the reliability that the USB interface industrial camera is used at machine vision technique, and increased substantially Installation and Debugging efficient.
The technical scheme that its technical matters that solves the utility model adopts is:
a kind of SCM Based USB interface industrial camera is gone up controller for electric consumption automatically, include host computer, a plurality of industrial cameras, it is characterized in that: also include single-chip microcomputer, power supply control chip, USB socket, USB turns serial port chip, four IO mouths of described single-chip microcomputer power supply of a power supply control chip of control linkage are respectively controlled pin, the input pin of four power supply control chips, output pin is connected with the Vcc end of a USB socket respectively, the USB socket of the USB socket that is connected with the input pin of power supply control chip is connected with host computer, the USB socket of the USB socket that is connected with the output pin of power supply control chip is connected with an industrial camera respectively, host computer turns serial port chip by a USB socket with USB and is connected, the other end that USB turns serial port chip is connected with the serial ports of single-chip microcomputer.
The model that described USB turns serial port chip is FT232.The signal of power supply control chip is LTC4413.
Four power supplys that the utility model is controlled power supply chip with four IO mouths of single-chip microcomputer are controlled pin, and single-chip microcomputer communicates by serial ports and host computer.Host computer electrifying startup initialization camera programm powers on by realizing controlling different industrial cameras to single-chip microcomputer transmission different instruction, identifies one by one sequence number and the camera title of the camera that powers on.
The beneficial effects of the utility model are:
The utility model has solved the problems such as the frequent plug of USB interface and industrial camera None-identified, increases substantially the efficient of USB industrial camera in machine vision technique is used.
Description of drawings
Below in conjunction with accompanying drawing, the utility model is further illustrated.
Fig. 1 is theory diagram of the present utility model.
Fig. 2 is Single-chip Controlling process flow diagram of the present utility model.
Fig. 3 is PC control process flow diagram of the present utility model.
Embodiment
in Fig. 1, a kind of SCM Based USB interface industrial camera is gone up controller for electric consumption automatically, include host computer 1, a plurality of industrial cameras 2, single-chip microcomputer 3, power supply control chip 4, USB socket A1-A5 and B1-B4, USB turns serial port chip 5, four IO mouths of single-chip microcomputer 3 power supply of a power supply control chip 4 of control linkage are respectively controlled pin, the input pin of four power supply control chips 4, output pin is connected with the Vcc end of a USB socket respectively, the USB socket of the USB socket A1-A4 that is connected with the input pin of power supply control chip 4 is connected with host computer 1, the USB socket of the USB socket B1-B4 that is connected with the output pin of power supply control chip 4 is connected with an industrial camera 2 respectively, host computer 1 turns serial port chip 5 by a USB socket A5 and USB and is connected, the other end that USB turns serial port chip 5 is connected with the serial ports of single-chip microcomputer 3.
The model that USB turns serial port chip 5 is FT232.The signal of power supply control chip 4 is LTC4413.
Single-chip microcomputer 3 turns serial port chip 5 by USB and is connected with the USB interface of host computer, and host computer 1 is controlled corresponding camera by sending controling instruction and powered on, cuts off the power supply.4 I/O mouths of single-chip microcomputer 3 use are controlled respectively the enable pin of power supply control chip 4, and the instruction that sends according to host computer 1 realizes that industrial camera 2 powers on separately and cuts off the power supply.During on-the-spot the use, the industrial camera of USB interface is connected to USB socket B1 of the present utility model~B4, by USB cable, USB socket A1 of the present utility model~A5 is connected to host computer, can connect at most the industrial camera of four USB interface.
In Fig. 2, the program control flow chart of single-chip microcomputer has been described.At first the register such as serial ports and variable are carried out initialization after single-chip microcomputer powers on, then circular wait receives the PC control instruction.When receiving camera and power on order, control specified camera according to command context and power on.When receiving the camera power off command, control the specified camera outage according to command content.
In Fig. 3, the program control flow chart of host computer has been described.After system started, at first host computer sent camera 1 instruction that powers on, and then starts a timer, and inquiry identification camera in timer interrupts is if find camera the sequence number and the camera title that read and preserve camera.If do not find camera in timer interrupts, send camera 1 cut-offing instruction, then resend power on instruction and opening timing device of camera 1 and interrupt, again identify camera.If all do not find camera after identifying 5 times show camera 1 fault, system stops detecting other camera.After recognizing camera 1, then send in order camera 2,3,4 instruction that powers on, if system recognizes respectively 2,3,4 cameras, reading and saving camera sequence number and title respectively, complete the camera power up.In identification camera 2,3,4 process, if find that certain camera None-identified is just in host computer demonstration respective camera fault.

Claims (3)

1. a SCM Based USB interface industrial camera is gone up controller for electric consumption automatically, include host computer, a plurality of industrial cameras, it is characterized in that: also include single-chip microcomputer, power supply control chip, USB socket, USB turns serial port chip, four IO mouths of described single-chip microcomputer power supply of a power supply control chip of control linkage are respectively controlled pin, the input pin of four power supply control chips, output pin is connected with the Vcc end of a USB socket respectively, the USB socket of the USB socket that is connected with the input pin of power supply control chip is connected with host computer, the USB socket of the USB socket that is connected with the output pin of power supply control chip is connected with an industrial camera respectively, host computer turns serial port chip by a USB socket with USB and is connected, the other end that USB turns serial port chip is connected with the serial ports of single-chip microcomputer.
2. SCM Based USB interface industrial camera according to claim 1 is gone up controller for electric consumption automatically, it is characterized in that: the model that described USB turns serial port chip is FT232.
3. SCM Based USB interface industrial camera according to claim 1 is gone up controller for electric consumption automatically, it is characterized in that: the signal of described power supply control chip is LTC4413.
CN 201220552983 2012-10-25 2012-10-25 Automatic power-on control device of USB-interface industrial cameras based on single chip microcomputer Expired - Fee Related CN202939432U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220552983 CN202939432U (en) 2012-10-25 2012-10-25 Automatic power-on control device of USB-interface industrial cameras based on single chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220552983 CN202939432U (en) 2012-10-25 2012-10-25 Automatic power-on control device of USB-interface industrial cameras based on single chip microcomputer

Publications (1)

Publication Number Publication Date
CN202939432U true CN202939432U (en) 2013-05-15

Family

ID=48323660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220552983 Expired - Fee Related CN202939432U (en) 2012-10-25 2012-10-25 Automatic power-on control device of USB-interface industrial cameras based on single chip microcomputer

Country Status (1)

Country Link
CN (1) CN202939432U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298147A (en) * 2014-09-01 2015-01-21 上海大唐移动通信设备有限公司 Power management device and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298147A (en) * 2014-09-01 2015-01-21 上海大唐移动通信设备有限公司 Power management device and method

Similar Documents

Publication Publication Date Title
CN205829666U (en) A kind of industry intelligent networking gateway
CN203982359U (en) Can connect the FLASH program burn writing device of multiple modules simultaneously
CN202939432U (en) Automatic power-on control device of USB-interface industrial cameras based on single chip microcomputer
CN202632773U (en) Portable serial FLASH programmer based on SD (Secure Digital) card
CN202939601U (en) CAN (Controller Area Network) bus test board
CN205607917U (en) Tvoc concentration signal conversion signal data module
CN205158340U (en) Burn to external program memory microprocessor's automatic code and write ware
CN203520299U (en) Timer-power-on control circuit
CN207115389U (en) A kind of controller software batch programming device
CN104869702A (en) Environment regulating system and method
CN202423750U (en) Intelligent socket
CN104698909A (en) Data collection interface of underwater vehicle control system sensor and configuration method of data collection interface
CN203883862U (en) PROFIBUS communication module for connecting frequency converter with host computer
CN210245417U (en) Intelligent multifunctional time relay device
CN204331370U (en) Single Chip Microcomputer (SCM) program cd-rom recorder and system
CN203480505U (en) Networked programmer system
CN203054826U (en) Bus 1553B test board
CN103218334A (en) Computer peripheral cascade device based on USB (Universal Serial Bus) and RS485 bus
CN202033741U (en) Program download device for STC single-chip microcomputer
CN202275286U (en) Digital-quantity field energy-saving controller
CN216210555U (en) Miniature group control controller applied to modular heat exchange machine room
CN204652732U (en) A kind of environment adjustment system
CN204926075U (en) Serial communication control board
CN204613933U (en) Based on general micro-USB interface zigbee debugging board
CN202939600U (en) ARINC (Aeronautical Radio Incorporated) 429 bus test board

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130515

Termination date: 20161025

CF01 Termination of patent right due to non-payment of annual fee