Movatterモバイル変換


[0]ホーム

URL:


CN113535622B - Power switching systems, USB sockets and electronic devices - Google Patents

Power switching systems, USB sockets and electronic devices
Download PDF

Info

Publication number
CN113535622B
CN113535622BCN202110625414.3ACN202110625414ACN113535622BCN 113535622 BCN113535622 BCN 113535622BCN 202110625414 ACN202110625414 ACN 202110625414ACN 113535622 BCN113535622 BCN 113535622B
Authority
CN
China
Prior art keywords
interface
switch
power supply
control signal
power
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
CN202110625414.3A
Other languages
Chinese (zh)
Other versions
CN113535622A (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co LtdfiledCriticalZhejiang Dahua Technology Co Ltd
Priority to CN202110625414.3ApriorityCriticalpatent/CN113535622B/en
Publication of CN113535622ApublicationCriticalpatent/CN113535622A/en
Application grantedgrantedCritical
Publication of CN113535622BpublicationCriticalpatent/CN113535622B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The application relates to a power supply switching system, a USB socket and electronic equipment, wherein the system comprises a first interface, a second interface, a first power supply switching switch, a second power supply switching switch and a charging module, wherein the first interface is connected with the first power supply switching switch; the first power supply change-over switch and the second power supply change-over switch are connected with the charging module, the first power supply change-over switch and the second power supply change-over switch are electrically connected, when the first interface and the second interface are connected with external equipment, the first interface sends a first control signal to the first power supply change-over switch, the first power supply change-over switch sends a second control signal to the second power supply change-over switch according to the received first control signal, and the second power supply change-over switch disconnects the connection with the second interface according to the second control signal. By the application, current backflow caused by interface voltage difference when both interfaces are connected to external equipment can be effectively avoided, and power supply stability is improved.

Description

Power supply switching system, USB socket and electronic equipment
Technical Field
The present application relates to the technical field of USB sockets, and in particular, to a power supply switching system for a USB socket, and an electronic device.
Background
The universal serial bus (UniversalSerialBus, USB) is a serial bus standard for connecting a computer system and an external device, and is also a technical specification of an input/output interface, and is widely applied to electronic devices in related fields such as personal computers, photographic equipment, digital televisions (set top boxes), game machines and the like. The USB interface installed on the electronic equipment not only can be connected with external equipment to realize charging, but also can be connected with the external equipment to carry out data transmission.
When the USB socket in the electronic equipment comprises at least two USB interfaces, one of the main USB interfaces cannot be blocked in the use process of the other auxiliary USB interface. The existing logic switching of data can only be realized, and the condition that at least two USB interfaces are simultaneously powered when power is supplied exists. When a plurality of USB interfaces are simultaneously powered, the interfaces have voltage difference, current backflow is easy to cause, and the stability is poor.
Disclosure of Invention
The embodiment of the application provides a power supply switching system of a USB socket, the USB socket and electronic equipment, which at least solve the problem of unstable data transmission when at least two USB interfaces supply power simultaneously in the related technology.
In a first aspect, an embodiment of the present application provides a power supply switching system, including a first interface, a second interface, a first power supply switching switch, a second power supply switching switch, and a charging module, where,
The first interface is connected with the first power supply change-over switch, the second interface is connected with the second power supply change-over switch, the first power supply change-over switch and the second power supply change-over switch are both connected with the charging module, and the first power supply change-over switch is electrically connected with the second power supply change-over switch;
when the first interface and the second interface are connected to external equipment, the first interface sends a first control signal to the first power supply change-over switch;
the first power supply change-over switch sends a second control signal to the second power supply change-over switch according to the received first control signal;
the second power supply change-over switch is disconnected with the second interface according to the second control signal, and the first interface is communicated with the charging module through the first power supply change-over switch to supply power.
In some embodiments, the first interface sends a first control signal to the first power switch if and only if the first interface accesses an external device;
detecting whether a third control signal is received or not when the first power supply change-over switch receives the first control signal;
if yes, the first interface supplies power to the charging module through the first power supply change-over switch.
In some embodiments, the power supply switching system further comprises a control module, wherein the control module is connected with the first power supply switching switch, the second interface and the charging module;
If and only if the second interface is connected with the external equipment, the control module detects an OTG signal provided by the external equipment;
When the control module does not receive the OTG signal, the second power supply change-over switch detects whether a fourth control signal is received or not;
If so, the second interface supplies power to the charging module through the second power supply change-over switch.
In some of these embodiments, the control module detects an OTG signal provided by the OTG device if and only if said second interface is connected to the OTG device;
When the control module receives the OTG signal, a fifth control signal is sent to the second power supply change-over switch so that the second power supply change-over switch is switched to a reverse conducting state;
The control module controls the charging module to enter an OTG mode;
the charging module supplies power to the OTG equipment through the second power supply change-over switch.
In some embodiments, the first interface is connected with a first data switch and a second data switch, and the second interface is connected with the first data switch and the second data switch
If and only if the first interface is connected with external equipment, the first interface sends a first control signal to the first data transfer switch;
and the first data change-over switch cuts off the connection with the second interface according to the received first control signal and switches over the connection to the first interface.
In some embodiments, the first interface is connected with a first data switch and a second data switch, and the second interface is connected with the first data switch and the second data switch
When the first interface and the second interface are connected with external equipment, the first interface sends a first control signal to the first data change-over switch and the second data change-over switch;
and the first data change-over switch cuts off the connection with the second interface according to the received first control signal and switches over the connection to the first interface.
And the second data change-over switch cuts off the connection with the second interface according to the received first control signal.
In some embodiments, the first data switch and the second data switch are respectively connected to the second interface if and only if the second interface is connected to an external device, so that the external device can perform data communication with the control module through the second interface.
In some embodiments, the first interface is a USB interface and the second interface is a Microusb interface.
In a second aspect, the present application provides a USB socket comprising a power switching system as described in the first aspect above.
In a third aspect, an embodiment of the present application provides an electronic device, including a USB socket as described in the second aspect.
Compared with the related art, the power supply switching system of the USB socket, the USB socket and the electronic equipment provided by the embodiment of the application have the advantages that when the first interface and the second interface are connected with the external equipment, the first interface sends the first control signal to the first power supply switching switch, the first power supply switching switch sends the second control signal to the second power supply switching switch according to the received first control signal, the second power supply switching switch disconnects the connection with the second interface according to the second control signal, and the switching of the power supply mode when the two interfaces are connected with the external equipment is realized, so that the current backflow caused by the voltage difference of the interfaces when the two interfaces are connected with the external equipment can be effectively avoided, the power supply stability is improved, and the normal power supply realization of the equipment is ensured.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the other features, objects, and advantages of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a schematic diagram of a power switching system according to one embodiment of the present application;
FIG. 2 is a schematic diagram of a power switching system according to another embodiment of the present application;
FIG. 3 is a schematic diagram of a power switching system according to another embodiment of the present application;
FIG. 4 is a schematic diagram of a power switching system according to another embodiment of the present application;
Fig. 5 is a schematic control flow diagram of a power supply switching method according to one embodiment of the application.
Detailed Description
The present application will be described and illustrated with reference to the accompanying drawings and examples in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application. All other embodiments, which can be made by a person of ordinary skill in the art based on the embodiments provided by the present application without making any inventive effort, are intended to fall within the scope of the present application.
It is apparent that the drawings in the following description are only some examples or embodiments of the present application, and it is possible for those of ordinary skill in the art to apply the present application to other similar situations according to these drawings without inventive effort. Moreover, it should be appreciated that while such a development effort might be complex and lengthy, it would nevertheless be a routine undertaking of design, fabrication, or manufacture for those of ordinary skill having the benefit of this disclosure, and thus should not be construed as having the benefit of this disclosure.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is to be expressly and implicitly understood by those of ordinary skill in the art that the described embodiments of the application can be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs. The terms "a," "an," "the," and similar referents in the context of the application are not to be construed as limiting the quantity, but rather as singular or plural. The terms "comprises," "comprising," "includes," "including," or any other variation 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 modules (elements) is not limited to only those steps or elements but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. The terms "connected," "coupled," and the like in connection with the present application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as used herein means two or more. "and/or" describes the association relationship of the association object, and indicates that three relationships may exist, for example, "a and/or B" may indicate that a exists alone, a and B exist simultaneously, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. The terms "first," "second," "third," and the like, as used herein, are merely distinguishing between similar objects and not representing a particular ordering of objects.
The USB socket is a universal socket with a USB interface and is safe and power-saving, and is a weak-current electronic product. The USB socket generally includes a housing, a base secured within the housing, and an outwardly extending USB interface. The USB interface is mainly characterized by having a hot plug function, being capable of adopting a daisy chain mode to carry out interface expansion, and being internally provided with a charger module, wherein the output end of the charger module is connected with the USB interface, so that common peripheral equipment can be charged through USB. The USB socket has strong practicability and is easy to popularize and use.
The embodiment provides a power supply switching system. The power supply switching system may be integrated in a USB socket or an electronic device having a USB socket, and the present application is not particularly limited. The electronic equipment can be connected with the external equipment to realize charging through the USB socket arranged on the electronic equipment, and can also be connected with the external equipment to perform data transmission.
Fig. 1 is a control schematic block diagram of a power supply switching system according to an embodiment of the present application. As shown in fig. 1, the power supply switching system includes a first interface, a second interface, a first power supply switching switch, a second power supply switching switch, and a charging module. The first interface is connected with the first power supply change-over switch, the second interface is connected with the second power supply change-over switch, the first power supply change-over switch and the second power supply change-over switch are both connected with the charging module, and the first power supply change-over switch is electrically connected with the second power supply change-over switch.
In some embodiments, the first interface and the second interface are both USB interfaces, in other embodiments, the first interface and the second interface may be both Microusb interfaces, in other embodiments, the first interface is a USB interface and the second interface is a Microusb interface, or the first interface is a Microusb interface and the second interface is a USB interface. Wherein, the USB interface can be USB TPYE-C interface, USB TPYE-A interface, etc. It will be appreciated that the first interface and the second interface may also be two-pin or three-pin power jacks, network interfaces, television interfaces, telephone interfaces, etc., and the number thereof may be one or more, and the application is not particularly limited herein. Wherein the priority order of interface power supply and/or communication can be set, so that interface communication and power supply are controlled according to the priority order.
The charging module may be a capacitive storage device such as a battery, super capacitor, and the like.
The first power supply change-over switch and the second power supply change-over switch are used for switching the connection state of the corresponding external equipment and the charging module according to a control signal, and can be a single-pole double-set switch or a transistor (such as a field effect transistor or a bipolar junction transistor). In some embodiments, the first power supply switch and the second power supply switch may be selected from MOS transistors, and of course, the first power supply switch and the second power supply switch may be selected from different types of MOS transistors, for example, the first power supply switch adopts an N-channel MOS transistor, the second power supply switch adopts a P-channel MOS transistor, and so on, so long as the controllable switch of the connection state switching function with the charging module in the embodiment of the present application can be implemented, all belong to the protection scope of the present application.
It will be appreciated by those skilled in the art that the power switching system architecture shown in fig. 1 is not limiting of the power switching system and may include more or fewer components than shown, or certain components may be combined, or a different arrangement of components.
The following uses the first interface as a priority to perform interface communication and power supply, and the power supply switching system is specifically described with reference to fig. 1:
In some embodiments, when the first interface and the second interface are both connected to an external device, the first interface sends a first control signal to the first power supply switching switch, the first power supply switching switch sends a second control signal to the second power supply switching switch according to the received first control signal, and the second power supply switching switch disconnects the connection with the second interface according to the second control signal.
In this embodiment, the first interface is used as a priority to perform interface power supply, that is, when the first interface and the second interface are simultaneously connected to an external device, the power supply of the first interface is mainly used, and the power supply of the second interface is cut off. Specifically, whether the corresponding interfaces are communicated with each other or not can be controlled to supply power by controlling the on-off state of the first power supply change-over switch and the second power supply change-over switch, when the external equipment is required to be supplied with power, the corresponding switches of the external equipment are communicated, and when the external equipment is not required to be supplied with power, the corresponding switches of the external equipment are disconnected. More specifically, the first control signal and the second control signal may be level signals, and the first power supply change-over switch and the second power supply change-over switch control their respective on states by using the change of the high-low level signals.
In a specific embodiment, the first interface is a USB interface, the second interface is a Microusb interface, the USB interface is connected to the first power switch, and the Microusb interface is connected to the second power switch. And when the USB interface and the Microusb interface are simultaneously connected with external equipment, the USB interface provides a first control level for the first power supply change-over switch, and after the first control level is received by the first power supply change-over switch, a second control level is sent to the second power supply change-over switch. At this time, the second power supply change-over switch is disconnected with the second interface according to the second control level, so that the passage between the external equipment and the charging module is disconnected, and the first interface is communicated with the charging module for supplying power through the first power supply change-over switch. In this embodiment, the first control signal may be a low level signal and the second control signal may be a high level signal, and of course, the first control signal may also be a high level signal and the second control signal may be a low level signal.
Of course, in other embodiments, the second interface may be used as a priority to perform interface communication and power supply, and the priority order may be configured in a customized manner according to the interface setting in practical application, which is not limited herein.
In summary, in the power supply switching system of the USB socket provided by the embodiment of the application, when the first interface and the second interface are connected with the external equipment, the first interface sends the first control signal to the first power supply switching switch, the first power supply switching switch sends the second control signal to the second power supply switching switch according to the received first control signal, and the second power supply switching switch disconnects the connection with the second interface according to the second control signal, so that the switching of the power supply modes when the two interfaces are connected with the external equipment is realized, and the current backflow caused by the voltage difference of the interfaces when the two interfaces are connected with the external equipment is effectively avoided, the power supply stability is improved, and the normal power supply realization of the equipment is ensured.
In some of the above embodiments, as shown in fig. 2, the first interface sends a first control signal to the first power switch if and only if the first interface is connected to an external device, detects whether a third control signal is received when the first power switch receives the first control signal, and if so, the first interface supplies power to the charging module through the first power switch.
In this embodiment, if and only if the first interface is connected to an external device, the first power supply change-over switch may be controlled to connect to the charging module for power supply. In a specific embodiment, the first control signal may be a level signal, and the third control signal may be a VBUS signal provided by the external device. If and only if the first interface is connected with external equipment, the first power supply change-over switch controls the conducting state of the first power supply change-over switch by utilizing the change of high-low level signals, and if the first power supply change-over switch receives a first control level, whether a VBUS signal provided by the external equipment is received or not is detected; when the VBUS signal is detected, the first interface is communicated to the charging module through the first power supply change-over switch to supply power to the charging module.
As shown in fig. 3, in some embodiments, the power supply switching system further includes a control module, where the control module connects the first power supply switching switch, the second interface, and the charging module.
In the embodiment, if and only if the second interface is connected with the external device, the control module detects an OTG signal provided by the external device, and if the control module does not receive the OTG signal, the second power supply change-over switch detects whether a fourth control signal is received, and if so, the second interface supplies power to the charging module through the second power supply change-over switch.
In this embodiment, the OTG device refers to an external device having an OTG function. OTG (On-The-Go, inter-host-less data transfer) technology is mainly applied to The connection of various different device times, i.e., the data transfer between slave devices is realized without a master device. A variety of different connectors between devices such as digital cameras, video cameras, printers, etc. are changed.
In a specific embodiment, the second interface is taken as Microusb interface, and when detecting the OTG device, according to the USB interface protocol, if the OTG function needs to be supported, an Identification (ID) detection pin inside the USB interface needs to be set to a high level by default. Because the ID detection pin of the USB interface is always at a high level, when the Microusb interface is connected with the OTG device, the control module detects the OTG signal provided by the external device, and then the voltage is at a low level, and at the moment, the control module detects that the Microusb interface is inserted into the OTG device. Otherwise, when the control module does not receive the OTG signal, the control module detects that the Microusb interface is not inserted into the OTG device. And when the VBUS signal is detected, the Microusb interface is communicated to the charging module through the second power supply change-over switch to supply power to the charging module.
The control module may be a chip with a data processing function, for example, a single chip microcomputer or the like.
On the basis of the above embodiments, in some embodiments, if and only if the second interface is connected to the OTG device, the control module detects an OTG signal provided by the OTG device, when the control module receives the OTG signal, a fifth control signal is sent to the second power supply switch to switch the second power supply switch to a reverse conduction state, the control module controls the charging module to enter an OTG mode, and the charging module supplies power to the OTG device through the second power supply switch.
In this embodiment, after the control module detects the OTG signal provided by the OTG device, it is determined Microusb that the OTG device is inserted into the interface, and at this time, the control module sends a fifth control signal to the second power switch, so that the second power switch is switched to the on state. And the charging module is controlled to enter an OTG mode through I2C, and the charging module supplies power to the OTG equipment through the second power supply change-over switch.
As shown in fig. 4, in some of the above embodiments, the first interface is connected to a first data switch and a second data switch, and the second interface is connected to the first data switch and the second data switch. And if and only if the first interface is connected with an external device, the data switching process is that the first interface sends a first control signal to the first data switching switch, and the first data switching switch cuts off the connection with the second interface and switches the connection to the first interface according to the received first control signal.
In this embodiment, the communication link connection may be controlled by controlling the on-off of the first data switch and the second data switch. The first data switch and the second data switch are existing devices, and the data channel is selected by controlling the connection state of the pins, which is not described herein. More specifically, the first control signal and the second control signal may be level signals, and the first data switch and the second data switch control their turn-on states by using the change of the high and low level signals.
In a specific embodiment, each of the first interface and the second interface has at least 5 pins including a VBUS pin, a DM pin, a DP pin, an ID pin, and a GND pin. The first interface provides a first control level to the first data transfer switch if and only if the first interface accesses an external device. And after the first control level is received by the first data switching switch, the connection between the first data switching switch and the DM2 pin and the DP2 pin of the second interface is cut off, the connection between the first data switching switch and the DM1 pin and the DP1 pin of the first interface are switched, and the first interface is used as a data communication interface. And meanwhile, the ID2 pin of the second interface is switched to a suspension state, so that the external equipment is prevented from being mistakenly identified as OTG equipment when being accessed.
On the basis of the above embodiments, in some embodiments, the first interface is connected with a first data switch and a second data switch, the second interface is connected with the first data switch and the second data switch, and when the first interface and the second interface are both connected to an external device, the data switching process is that the first interface sends a first control signal to the first data switch and the second data switch, the first data switch cuts off connection with the second interface according to the received first control signal and switches connection with the first interface, and the second data switch cuts off connection with the second interface according to the received first control signal.
In this embodiment, when the first interface and the second interface are both connected to an external device, interface communication is performed with the first interface as a priority, and communication connection between the control module and the second interface is cut off. Specifically, the first interface provides a first control level to the first data switch. And after the first control level is received by the first data switching switch, the connection between the first data switching switch and the DM2 pin and the DP2 pin of the second interface is cut off, the connection between the first data switching switch and the DM1 pin and the DP1 pin of the first interface are switched, and the first interface is used as a data communication interface. After the second data change-over switch receives the first control level, the connection between the DM2 pin and the DP2 pin of the second interface is cut off, so that the hardware connection channel between the second interface and the control module can be completely cut off when an external device is inserted, and the first interface and the control module are used for data communication. Therefore, the data transmission switching between the two communication interfaces is realized, the data error caused by the simultaneous data transmission can be effectively avoided when the two external devices are simultaneously inserted in the data transmission process, and the stability of the data transmission process is ensured.
On the basis of the above embodiments, in some embodiments, if and only if the second interface is connected to an external device, the data switching process is that the first data switching switch and the second data switching switch are respectively connected to the second interface, so that the external device communicates data with the control module through the second interface.
In this embodiment, the data switching process when and only when the second interface is connected to the external device is the same as the control principle when and only when the first interface is connected to the external device, and for brevity, reference may be made to the related content of the above embodiment, and the description of the present application is not repeated here. It will be appreciated that in other embodiments, a default hardware configuration may be provided such that the first data switch and the second data switch are respectively connected to the second interface, at which time data communication is performed according to the default configuration if and only if the second interface is connected to an external device.
Through the steps, the embodiment further realizes the data switching of the two interfaces on the basis of realizing the switching of the power supply mode when the two interfaces are both connected with the external equipment, and can effectively avoid data errors caused by the simultaneous transmission of the data when the two interfaces are both connected with the external equipment in the data transmission process.
The power supply switching system described in the above embodiment can be applied to a USB socket.
The embodiment also provides electronic equipment comprising the USB socket.
In some embodiments, the electronic device may be a law enforcement recorder, for example, a handheld law enforcement recorder. The law enforcement recorder is evidence obtaining technical equipment which is worn with the user when the official business is executed and integrates functions of real-time video and audio shooting, photographing, recording and the like. The system integrates functions of shooting, photographing, intercom, positioning and storage, can transmit video in real time, can digitally record dynamic and static site conditions in the law enforcement process, and is convenient for law enforcement in various environments.
The law enforcement recorder comprises a mobile terminal and a camera. The mobile terminal is provided with the USB socket, the USB socket is provided with the first interface and the second interface, and interface communication and power supply can be carried out with external equipment through the first interface and the second interface.
Of course, in other embodiments, the USB socket may further include a USB adapter (such as a USB-to-mini USB type, a USB-to-micro USB type, or a USB-to-Lightning interface), an overshoot protection device, a signal indication device, a wireless communication module, etc., which are not described herein. The electronic device may also be a portable product such as a cell phone, a Portable Media Player (PMP), a Mobile Internet Device (MID), etc.
The above-described embodiments do not limit the scope of protection of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the above embodiments should be included in the scope of the present invention.
The embodiment also provides a power supply switching method which is applied to the power supply switching system. Fig. 5 is a flowchart of a power supply switching method according to an embodiment of the present application, as shown in fig. 5, for performing interface communication and power supply with the first interface as a priority, where the flowchart includes the following steps:
First, it is determined whether the first interface is a first control signal sent to the first power supply changeover switch. When the first interface sends a first control signal to the first power supply change-over switch, the first power supply change-over switch controls the self-conduction state by utilizing the change of the high-low level signal. When the first control signal is received, the first power supply change-over switch sends a second control signal to the second power supply change-over switch according to the received first control signal, and the second power supply change-over switch disconnects the connection with the second interface according to the second control signal. And detecting whether a third control signal is received or not when the first power supply change-over switch receives the first control signal, and if so, supplying power to the charging module by the first interface through the first power supply change-over switch.
Meanwhile, when the first power supply change-over switch does not receive the first control signal sent by the first interface, the control module detects an OTG signal provided by external equipment. And when the control module does not receive the OTG signal, the second power supply change-over switch detects whether a fourth control signal is received, and if so, the second interface supplies power to the charging module through the second power supply change-over switch. When the control module receives the OTG signal, the control module sends a fifth control signal to the second power supply change-over switch so as to enable the second power supply change-over switch to be switched to a reverse conducting state, and meanwhile the control module controls the charging module to enter an OTG mode so as to enable the charging module to supply power to the OTG equipment through the second power supply change-over switch.
In this embodiment, the first interface and the second interface are both USB interfaces, in other embodiments, the first interface and the second interface may be both Microusb interfaces, in other embodiments, the first interface is a USB interface and the second interface is a Microusb interface, or the first interface is a Microusb interface and the second interface is a USB interface. Wherein, the USB interface can be USB TPYE-C interface, USB TPYE-A interface, etc. It will be appreciated that the first interface and the second interface may also be two-pin or three-pin power jacks, network interfaces, television interfaces, telephone interfaces, etc., and the number thereof may be one or more, and the application is not particularly limited herein. Wherein the priority order of interface power supply and/or communication can be set, so that interface communication and power supply are controlled according to the priority order.
Through the steps, the switching of the power supply mode when the two interfaces are connected to the external equipment is realized, so that the current backflow caused by the voltage difference of the interfaces when the two interfaces are connected to the external equipment can be effectively avoided, the power supply stability is improved, and the normal power supply of the equipment is ensured.
It should be noted that the steps illustrated in the above-described flow or flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order other than that illustrated herein.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (8)

Translated fromChinese
1.一种供电切换系统,其特征在于,包括第一接口、第二接口、第一电源切换开关、第二电源切换开关、充电模块以及控制模块,其中,1. A power supply switching system, comprising a first interface, a second interface, a first power supply switching switch, a second power supply switching switch, a charging module and a control module, wherein:所述第一接口与所述第一电源切换开关连接;所述第二接口与所述第二电源切换开关连接;所述第一电源切换开关和第二电源切换开关均与充电模块连接;所述第一电源切换开关与所述第二电源切换开关电连接;The first interface is connected to the first power switch; the second interface is connected to the second power switch; the first power switch and the second power switch are both connected to the charging module; the first power switch is electrically connected to the second power switch;当所述第一接口和第二接口均接入外接设备时,以所述第一接口为优先级进行接口通信,所述第一接口向所述第一电源切换开关发送第一控制信号;When both the first interface and the second interface are connected to external devices, the first interface is used as a priority for interface communication, and the first interface sends a first control signal to the first power switch;所述第一电源切换开关根据接收到的所述第一控制信号,向所述第二电源切换开关发送第二控制信号;所述第一控制信号和所述第二控制信号为电平信号;The first power switch sends a second control signal to the second power switch according to the received first control signal; the first control signal and the second control signal are level signals;所述第二电源切换开关根据所述第二控制信号断开与所述第二接口的连接,所述第一接口通过所述第一电源切换开关连通至所述充电模块进行供电;The second power switch disconnects from the second interface according to the second control signal, and the first interface is connected to the charging module through the first power switch for power supply;所述控制模块连接所述第一电源切换开关、第二电源切换开关、第二接口和充电模块;The control module is connected to the first power switch, the second power switch, the second interface and the charging module;当且仅当所述第二接口接入外接设备时,控制模块检测外接设备提供的OTG信号;当所述控制模块未接收到所述OTG信号时,第二电源切换开关检测是否接收到第四控制信号;若是,所述第二接口通过所述第二电源切换开关向所述充电模块进行供电;When and only when the second interface is connected to an external device, the control module detects an OTG signal provided by the external device; when the control module does not receive the OTG signal, the second power switch detects whether a fourth control signal is received; if so, the second interface supplies power to the charging module through the second power switch;当且仅当所述第二接口接入OTG设备时,控制模块检测OTG设备提供的OTG信号;当所述控制模块接收到所述OTG信号时,发送第五控制信号至所述第二电源切换开关,以使所述第二电源切换开关切换至反向导通状态;控制模块控制所述充电模块进入OTG模式;所述充电模块通过所述第二电源切换开关向所述OTG设备进行供电。When and only when the second interface is connected to the OTG device, the control module detects the OTG signal provided by the OTG device; when the control module receives the OTG signal, it sends a fifth control signal to the second power switch to switch the second power switch to a reverse conduction state; the control module controls the charging module to enter the OTG mode; the charging module supplies power to the OTG device through the second power switch.2.根据权利要求1所述的一种供电切换系统,其特征在于,2. A power supply switching system according to claim 1, characterized in that:当且仅当所述第一接口接入外接设备时,所述第一接口向所述第一电源切换开关发送第一控制信号;When and only when the first interface is connected to an external device, the first interface sends a first control signal to the first power switch;当所述第一电源切换开关接收到所述第一控制信号时,检测是否接收到第三控制信号;When the first power switch receives the first control signal, detecting whether a third control signal is received;若是,所述第一接口通过所述第一电源切换开关向所述充电模块进行供电。If so, the first interface supplies power to the charging module through the first power switch.3.根据权利要求1所述的供电切换系统,其特征在于,所述第一接口连接有第一数据切换开关和第二数据切换开关,所述第二接口连接所述第一数据切换开关和所述第二数据切换开关,则3. The power supply switching system according to claim 1, wherein the first interface is connected to a first data switching switch and a second data switching switch, and the second interface is connected to the first data switching switch and the second data switching switch.当且仅当所述第一接口接入外接设备时,所述第一接口向所述第一数据切换开关发送第一控制信号;When and only when the first interface is connected to an external device, the first interface sends a first control signal to the first data switching switch;所述第一数据切换开关根据接收到的所述第一控制信号,切断与所述第二接口的连接,并切换连接至所述第一接口。The first data switching switch cuts off the connection with the second interface and switches the connection to the first interface according to the received first control signal.4.根据权利要求1所述的供电切换系统,其特征在于,所述第一接口连接有第一数据切换开关和第二数据切换开关,所述第二接口连接所述第一数据切换开关和所述第二数据切换开关,则4. The power supply switching system according to claim 1, wherein the first interface is connected to a first data switching switch and a second data switching switch, and the second interface is connected to the first data switching switch and the second data switching switch.所述第一接口和所述第二接口均接入外接设备时,所述第一接口向所述第一数据切换开关和第二数据切换开关发送第一控制信号;When both the first interface and the second interface are connected to external devices, the first interface sends a first control signal to the first data switching switch and the second data switching switch;所述第一数据切换开关根据接收到的所述第一控制信号,切断与所述第二接口的连接,并切换连接至所述第一接口;The first data switch cuts off the connection with the second interface and switches the connection to the first interface according to the received first control signal;所述第二数据切换开关根据接收到的所述第一控制信号,切断与所述第二接口的连接。The second data switching switch cuts off the connection with the second interface according to the received first control signal.5.根据权利要求3所述的供电切换系统,其特征在于,5. The power supply switching system according to claim 3, characterized in that:当且仅当所述第二接口接入外接设备时,所述第一数据切换开关和所述第二数据切换开关分别连接至所述第二接口,以使外接设备通过所述第二接口与所述控制模块进行数据通信。When and only when the second interface is connected to an external device, the first data switching switch and the second data switching switch are respectively connected to the second interface, so that the external device performs data communication with the control module through the second interface.6.根据权利要求1所述的供电切换系统,其特征在于,所述第一接口为USB接口,所述第二接口为Microusb接口。6 . The power supply switching system according to claim 1 , wherein the first interface is a USB interface, and the second interface is a MicroUSB interface.7.一种USB插座,其特征在于,包括如权利要求1-6任一项所述的供电切换系统。7. A USB socket, characterized by comprising the power supply switching system according to any one of claims 1 to 6.8.一种电子设备,其特征在于,包括如权利要求7所述的USB插座。8. An electronic device, comprising the USB socket as claimed in claim 7.
CN202110625414.3A2021-06-042021-06-04 Power switching systems, USB sockets and electronic devicesActiveCN113535622B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110625414.3ACN113535622B (en)2021-06-042021-06-04 Power switching systems, USB sockets and electronic devices

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110625414.3ACN113535622B (en)2021-06-042021-06-04 Power switching systems, USB sockets and electronic devices

Publications (2)

Publication NumberPublication Date
CN113535622A CN113535622A (en)2021-10-22
CN113535622Btrue CN113535622B (en)2024-12-10

Family

ID=78095168

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110625414.3AActiveCN113535622B (en)2021-06-042021-06-04 Power switching systems, USB sockets and electronic devices

Country Status (1)

CountryLink
CN (1)CN113535622B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114243815A (en)*2021-11-262022-03-25南京微智新科技有限公司Intelligent charging system and method for notebook computer
CN115223310A (en)*2022-06-302022-10-21无锡睿勤科技有限公司OTG priority selection circuit and multichannel charging circuit
CN115904851B (en)*2023-01-102023-08-15荣耀终端有限公司Terminal equipment and external equipment access detection system

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105988963A (en)*2015-02-092016-10-05深圳市优笔触控科技有限公司External power supply identification circuit for large current touch equipment and electronic signature screen
CN108228509A (en)*2018-01-042018-06-29中科创达软件股份有限公司A kind of USB interface switching device and electronic equipment

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP4514604B2 (en)*2004-12-282010-07-28イーストマン コダック カンパニー USB device system, digital printer and digital camera
JP2008059165A (en)*2006-08-302008-03-13Matsushita Electric Ind Co Ltd Portable storage device
JP2014048880A (en)*2012-08-312014-03-17Renesas Electronics CorpPortable battery device
JP5780269B2 (en)*2013-07-122015-09-16トヨタ自動車株式会社 Power supply system and power receiving equipment
CN106532795A (en)*2015-09-152017-03-22中兴通讯股份有限公司Terminal usb interface setting method and terminal
CN106055499A (en)*2016-05-252016-10-26乐视控股(北京)有限公司FM signal and USB transmission switching device
CN206162505U (en)*2016-10-102017-05-10深圳铂睿智恒科技有限公司Double -H groove weld SB interface circuit
CN109086236A (en)*2017-06-142018-12-25国基电子(上海)有限公司Power source charges path switching circuit and its electronic equipment
BR112021001458A2 (en)*2018-07-272021-04-27Huawei Technologies Co., Ltd. mobile terminal
CN110289663B (en)*2019-07-302021-02-23Oppo(重庆)智能科技有限公司Terminal equipment and power supply circuit and power adapter thereof
CN211830795U (en)*2020-03-182020-10-30浙江大华技术股份有限公司Network port connection mode switching device and network data transmission system
CN212517830U (en)*2020-05-212021-02-09立讯精密工业股份有限公司Multifunctional switching device
CN112117814B (en)*2020-11-232021-02-23南昌嘉信高科技有限公司Charging control circuit and chargeable and dischargeable electronic equipment
CN112838643A (en)*2021-02-012021-05-25浙江大华技术股份有限公司Charging method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105988963A (en)*2015-02-092016-10-05深圳市优笔触控科技有限公司External power supply identification circuit for large current touch equipment and electronic signature screen
CN108228509A (en)*2018-01-042018-06-29中科创达软件股份有限公司A kind of USB interface switching device and electronic equipment

Also Published As

Publication numberPublication date
CN113535622A (en)2021-10-22

Similar Documents

PublicationPublication DateTitle
CN108666826B (en)Adapter, terminal equipment and adapter system
CN113535622B (en) Power switching systems, USB sockets and electronic devices
CN110944076B (en) Electronic devices and accessories with fast charging and audio transmission functions
US10986318B2 (en)Electronic apparatus
RU2587159C2 (en)Mobile terminal and interface connection method therefor
CN107643994B (en)Terminal, terminal peripheral, signal sending and receiving method and data transmission system
US10998737B2 (en)Intelligent switch system
US20070239924A1 (en)Electronic device transmitting audio-and-video signals with USB connector
US20120096189A1 (en)Method and System for Allowing a Media Player to Determine if it Supports the Capabilities of an Accessory
US20250148069A1 (en)Electronic device, device identification method, and charging system
CN103376871A (en)System, apparatus, and method of performing charging operation in host mode
CN214375036U (en)Mobile device test system
US20120096286A1 (en)Charging management method, charging control circuit and the host apparatus having the same
CN116707055B (en) Charging circuit, electronic device and reverse charging method
TWI806769B (en)Power delivery device and control method of power supply path
US10193286B2 (en)Electronic device and control method thereof
CN115145850A (en)Docking station terminal equipment switching connection method and docking station
CN207518016U (en)Wireless charging built-up circuit and device
EP2383860B1 (en)Rapid charging apparatus
CN109446140B (en) Micro USB interface integrated multiplexing circuit and electronic equipment
WO2020187172A1 (en)Peripheral device
CN114281745B (en) A docking station capable of switching to connect to multiple upstream hosts
CN111987752A (en) a switching device
CN214313802U (en)USB-A changes Type-C's converter that fills soon
CN213124991U (en)A expander and docking station for Type-C interface adapter that charges

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp