Utility model content
The purpose of the utility model is to overcome the deficiencies in the prior art, propose that a kind of design is reasonable, circuit structure is simple
And it is capable of the teaching machine based on vision signal and USB communication transfer of plug and play.
The utility model solves its realistic problem and adopts the following technical solutions to achieve:
A kind of teaching machine based on vision signal and USB communication transfer, including power module, power circuit block, micro-control
Device circuit module processed, microcontroller communication switching circuit module, PC module, driver module, liquid crystal display, touch screen, touch-control
Shield communication switching circuit module, acousto-optic hint module and external entity key module;
The output end of the PC module is connected by driver module with liquid crystal display, VGA for exporting PC or
It exports after TTL signal needed for HDMI video signal is changed into liquid crystal display to liquid crystal display;
The output end of the touch screen is connected by touch screen communication switching circuit module with PC module, is used for touch-control
The touch information of screen is exported to touch screen communication switching circuit module, which turns touch information
It exports after becoming the identifiable information of PC to PC module;
The PC module is connected by microcontroller communication switching circuit module with microcontroller circuit module, the micro-control
The output end of device circuit module processed is connected with acousto-optic hint module, for real-time control acousto-optic hint mould according to the needs of users
Block carries out acousto-optic hint to user;
The output end of the external entity key module is connected with microcontroller circuit module, the microcontroller circuit mould
Block is connected by microcontroller communication conversion module with PC module, is used for real-time monitoring external switch amount information, and by micro-
Controller communication conversion circuit module is exported to PC module;
The output end of the power module drives mould with microcontroller circuit module, display respectively by power circuit block
Block is connected with touch screen and powers for it.
Moreover, the power circuit block is used to externally input direct current 24V power source transition be 9V, 5V, 3.3V, 1.8V
It is each module for power supply inside teaching machine with the output voltage of -5V.
Moreover, the acousto-optic hint module is LED or buzzer.
Moreover, the microcontroller communication switching circuit module is that serial ports turns USB communication switching circuit, PC module end interface
For USB interface, Transistor-Transistor Logic level needed for USB communicating circuit is converted to microcontroller circuit module is turned by serial ports.
Moreover, the touch screen communication switching circuit module is used for the touch-control for exporting touch screen by IIC communication modes
Information is changed into the readable anthroposomatology input equipment communication modes of PC.
The advantages of the utility model and the utility model has the advantages that
1, the utility model directly directly shows the screen information that PC is transmitted, and eliminates traditional teaching machine and needs to lead to
The process of system-level controller processing information is crossed, therefore the delay time that information is shown minimizes, runs quickly to burst there is no system and lead
It causes screen information a series of hidden danger such as can not parse, enhances the stability of industrial system.
2, only real time video signals of transmission control unit (TCU) in the utility model, all processing information are in the memory of controller
Interaction process, the design of being optimal of scheme.It overcomes traditional teaching machine and mostly uses network communication, there are network delay, when
When equipment is run, when pressing the control button at teaching machine interface, due to the reason of network delay, the real-time effect of control is bad
Defect.
3, the utility model related circuit module in terms of hardware configuration is less, for the use function for meeting teaching machine
Can, teaching machine circuit structure, which reaches, most simplifies, therefore teaching machine system stability greatly promotes, and having in industrial control field can not
The advantage of analogy.The circuit module as needed for the utility model is less, and in terms of circuit technology, the volume of circuit board is compared
It being reduced in traditional teaching machine, the design of mechanical property can also make flexible change, another teaching machine mechanical structure accomplishes most to simplify,
Optimized design, compared to traditional teaching machine, it is advantageous that equipment is because the flexibility of circuit enhances, mechanical structure is cleverer
It is living, in mechanical design processes, it can greatly adapt to user's use habit and be designed.
4, the utility model belongs to PnP device, without carrying out parameter setting to teaching machine itself, compared to tradition
Teaching machine, user is without carrying out exploitation setting to teaching machine itself, this time more under saving for the establishment of industrial system.
Specific embodiment
The utility model embodiment is described in further detail below in conjunction with attached drawing:
A kind of teaching machine based on vision signal and USB communication transfer is a kind of screen for playing host computer in real time and transmitting
Information, and screen touch information and physical button information can be sent to host computer, a kind of base is provided for industrial control system
In the teaching machine of vision signal and USB communication transfer.
A kind of teaching machine based on vision signal and USB communication transfer, as shown in Figure 1, including power module, power circuit
Module, microcontroller circuit module, microcontroller communication switching circuit module, PC module, driver module, liquid crystal display, touching
Control screen and touch screen communication switching circuit module;
The output end of the PC module is connected by driver module with liquid crystal display, VGA for exporting PC or
TTL signal needed for HDMI video signal is changed into liquid crystal display;
The output end of the touch screen is connected by touch screen communication switching circuit module with PC module, is used for touch-control
The touch information of screen is exported to touch screen communication switching circuit module, which turns touch information
It exports after becoming the identifiable information of PC to PC module;
The PC module is connected by microcontroller communication switching circuit module with microcontroller circuit module, the micro-control
The output end of device circuit module processed is connected with LED or buzzer module, for real-time control LED or bee according to the needs of users
Ring device carries out carry out acousto-optic hint to user;
The output end of the external entity key module is connected with microcontroller circuit module, the microcontroller circuit mould
Block is connected by microcontroller communication conversion module with PC module, is used for real-time monitoring external switch amount information, and by micro-
Controller communication conversion circuit module is exported into PC;
The output end of the power module drives mould with microcontroller circuit module, display respectively by power circuit block
Block is connected with touch screen and powers for it;
The power circuit block is used to externally input direct current 24V power source transition be 9V, 5V, 3.3V, 1.8V and -5V
Output voltage, be each module for power supply inside teaching machine;
The microcontroller communication switching circuit module is that serial ports turns USB communication switching circuit, and PC module end interface is USB
Interface turns Transistor-Transistor Logic level needed for USB communicating circuit is converted to microcontroller circuit module by serial ports.
The touch screen communication switching circuit module is used to turn touch screen by the touch information that IIC communication modes export
Become the readable anthroposomatology input equipment communication modes of PC.
In the present embodiment, the touch screen is and an equal amount of resistance-type of liquid crystal display display interface or capacitance touching control
Screen is covered on liquid crystal display, is subject to the communication switching circuit of touch screen, when the user touches the screen, touch information is transferred to communication
In conversion circuit, touch information is changed into the identifiable information of PC by communication switching circuit, in this, as anthroposomatology input equipment.
In the present embodiment, externally input direct current 24V power source transition can be in teaching machine by the power circuit block
Rated power supply needed for portion's various pieces circuit ensures the power supply of each circuit inside teaching machine with this.
In the present embodiment, using LED or buzzer circuit as acousto-optic hint output equipment, user can according to required,
By controlling information with microcontroller communication switching circuit module transfer corresponding to microcontroller circuit, real-time control is reached with this
LED or buzzer circuit processed, achieve the purpose that acousto-optic hint user.
In the present embodiment, the external entity key module can connect all kinds of switches, such as emergency stop switch, switch key, make
Can switch etc. have the device of switching value information, microcontroller circuit real-time monitoring external switch amount information, and to each switch
Amount information is encoded, and is sent in PC by microcontroller communication switching circuit module, outside can be passed through by reaching user with this
Control of the physical switches to entire industrial system.
In the present embodiment, data line, 24V power supply line, the touch data line, micro-control of HDMI the or VGA vision signal
Device connection processed all concentrates in single line cable, and cable docks the connection type using aviation plug with the hardware of PC.
The composition and function of each circuit module of the utility model are described in further detail separately below:
As shown in Figures 2 and 3, power circuit is exported for being depressured to the 24V DC power supply (12) of outside supply
Rated power supply needed for other circuits inside teaching machine.First 24V power supply is carried out to be depressured to 16V using LM2596 (13), so
Chip is depressured by TPS5430 (14,16,18) afterwards and obtains 9V, 5V, 3.3V, and 1.8V voltage is obtained by TPS5430 (15) output.
- 5V power supply is also needed in circuit, therefore obtains -5V power supply using charge pump LM2662 (17).In teaching machine, microcontroller
Based on STM32, display driving is based on RTD2660 family chip, therefore in power distribution, and 3.3V is to control IO (22), display
Driving (19), liquid crystal display (18) are powered, and 5V turns USB communication FT232 (23) to serial ports, touch-control driving (28), is powered.
9V, 16V, -5V are powered liquid crystal display (18).
Display driver circuit, PC (24) drive (19) to display by the vision signal that USB interface or HDMI interface export,
Display driving parses vision signal, exports and communicates signal used for TTL needed for liquid crystal display (18).Thus PC hair is completed
Actual displayed information of the screen information sent into teaching machine.
I/O circuit is controlled, PC (24) sends information to teaching machine by way of serial communication, and PC end interface connects for USB
Mouthful, therefore turn USB to communicate (23) circuit conversion to be Transistor-Transistor Logic level needed for control IO (22) by serial ports, thus carry out data receipts
Hair.In control I/O circuit, LED buzzer (21) are connected with, sound-light prompting function can be completed by this circuit, be externally connected to
Analog quantity and switching value conversion circuit can carry out level conversion to external special key, make STM32 can real-time monitoring switching value letter
Breath.Display driving (19) control signal can be given by controlling IO (22) simultaneously, carried out relevant spread its tail and put out the operation such as screen.
The touch-control circuit uses USB communication interface, and PC can fill each type operating system, therefore touch-control circuit output signal
Touch screen is believed by the touch-control that IIC communication modes are sent in touch-control driving (28) for the signal of anthroposomatology input equipment
Breath is changed into the readable communication modes of PC.
The display driving (19) uses RTD2660H, compatible with HDMI interface and USB interface, preferentially uses in the present embodiment
RTD2660H。
Needed for the control IO (22) uses STM32F103, this single-chip microcontroller control IO quantity to meet teaching machine, Scanning Detction
Switching rate is much larger than the system speed of response, while scalability is strong.Communication switching circuit uses FT232 chip, this chip can
It is adapted to linux system, windows system, android system, greatly adapts to host computer operating system, teaching machine is made to use model
It encloses more extensively.
The working principle of the utility model is:
The utility model is in such a way that PC is by wire transmission, and by video signal transmission to teaching machine, teaching machine is real-time
The picture that PC is transmitted is played, according to image information, touch control operation can be carried out to teaching machine, touching signals are handled by teaching machine is
Anthroposomatology input apparatus signal issues PC, and PC can make corresponding analysis processing to touching signals.Teaching machine integrates microcontroller
Control system adds physical switches amount key or analogue quantity switch key, after external trigger related key, microcontroller pair
The LED or buzzer of teaching machine make prompt reaction, and processing information is sent to the end PC, what PC can be sent according to microcontroller
Corresponding analysis processing is made in instruction.Video information is directly projected on teaching machine, can accomplish that real-time picture transmission plays.It is believed
The timeliness that breath shows is higher, and reaction speed faster, meets under industrial environment to the requirement of equipment and habit.Teaching machine can
By VGA or HDMI interface transmission video signal, it can determine that teaching machine uses length range according to video communication standard.Signal has
Line coffret uses aviation interface, ensures that signal stablizes transmission in complex environment.This design is widely portable to work
Industry control field is particularly suitable for robot control, mechanical equipment control etc..
The utility model is widely portable to industrial control field, is particularly suitable for robot control, mechanical equipment control
Etc..And selected liquid crystal display resolution ratio is that its size of 800*600 meets the needs of user is to teaching machine size, touch screen
Using industrial capacitor touch screen, it can be operated with gloves, widely adapt to application scenarios.
Control process involved in the single-chip microcontroller of the utility model is conventional process flow, is not that this is practical new
The innovative point of type.
It is emphasized that embodiment described in the utility model be it is illustrative, without being restrictive, therefore this is practical
Novel includes being not limited to embodiment described in specific embodiment, all according to the present utility model by those skilled in the art
The other embodiments that technical solution obtains also belong to the range of the utility model protection.