A kind of analog unplugging device and method for automatically maintaining USB connection
An automatic maintenance, USB interface technology, applied in instruments, electrical digital data processing and other directions, can solve problems such as equipment functions can not be used
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] Please refer to figure 1 as well as figure 2 , Embodiment 1 of the present invention is:
[0059] An analog unplugging device 1 for automatically maintaining a USB connection, comprising a plugging circuit and a control unit, the plugging circuit is electrically connected to the control unit; the plugging circuit includes a USB switch chip 3 and a MOS tube 4, and the control unit is an RS232 circuit A level conversion chip 2 for level conversion into TTL level.
[0060] Wherein, the input terminal of the USB switch chip 3, the input terminal of the level conversion chip 2 and the source of the MOS transistor 4 are respectively electrically connected to different ports of the main control unit 5, and the first output terminal of the USB switch chip 3 is connected to the USB The positive voltage data terminal on the interface 6 is connected, the second output terminal of the USB switch chip 3 is connected with the negative voltage data terminal on the USB interface 6, ...
Embodiment 2
[0065] Please refer to image 3 as well as Figure 4 , the second embodiment of the present invention is:
[0066] A method for automatically maintaining a USB connection, comprising steps:
[0067] The main control unit judges whether the preset detection time is reached, if yes, enters step S0, otherwise continues to judge until the preset detection time is reached.
[0068] S0, the main control unit judges whether the terminal device is allowed to be plugged and unplugged, and if so, proceeds to step S1, otherwise judges again according to the preset judgment time.
[0069] S1. The main control unit acquires the current state information of the USB device, and judges whether the current state information is consistent with the normal state information. If not, it sends a plug-and-plug command to the analog plug-and-plug device, and the plug-and-plug command includes a control level signal;
[0070] S20, the level conversion chip converts the control level signal composed...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


