Channel configuration circuit, interface circuit and display device
Patent Information
- Application Number
- CN202510463397.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-14
- Publication Date
- 2026-10-20
AI Technical Summary
[0004]但是,这样的方式需要确保用户不会接错,并且在设计上存在接口冗余、电路结构复杂的问题
[0017]本申请中,通过电流采样模块对目标接口的电流信号进行采样,得到电压放大信号输出至通道配置模块,当目标接口接入配置有拉载电流的目标设备时,电压放大信号的幅值超过预设阈值,通道配置模块则可以产生通道配置信号输出至与目标接口连接的选通模块,使得选通模块根据该通道配置信号选通目标接口与目标主机端,达到固定显示通道的目的;相较于相关技术中设置多个接口在物理上进行分离来说,本申请根据采样的电流大小来区分目标设备和普通设备,当目标设备接入时,目标接口的电流更大,使得电压放大信号的幅值超过预设阈值,从而通道配置模块可以根据该电压放大信号产生通道配置信号控制选通模块,以固定显示通道,电路结构简单,且可靠性高,同时还减少了接口数量,避免接口冗余,提高了利用率,降低了成本。
Smart Images

Figure HDA0005357805170000011 
Figure HDA0005357805170000012 
Figure HDA0005357805170000013
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic technology, specifically to a channel configuration circuit, an interface circuit, and a display device. Background Technology
[0002] In current display devices, when a Universal Serial Bus (USB) Type A interface is connected to a regular USB device, the display channel needs to be able to switch with the host device. However, when a special USB device such as a microphone or camera is connected to the USB Type A interface, the host device is fixed, and the corresponding display channel also needs to be fixed, and the display channel cannot be switched.
[0003] Based on this, related technologies typically include multiple USB Type-A ports in the design of display devices, separating the ports used to connect ordinary USB devices from those used to connect special USB devices. Users can then connect the USB device to the corresponding USB Type-A port to achieve the corresponding function.
[0004] However, this approach requires ensuring that users do not connect incorrectly, and it also has issues with interface redundancy and complex circuit structure in its design. Summary of the Invention
[0005] In view of the above problems, this application provides a channel configuration circuit, an interface circuit, and a display device to solve the above technical problems.
[0006] In a first aspect, this application provides a channel configuration circuit, which includes a current sampling module and a channel configuration module. The current sampling module is used to connect to a target interface to sample the current signal of the target interface, and to obtain a voltage amplified signal based on the current signal and output it to the channel configuration module. The channel configuration module is used to generate a channel configuration signal in response to the voltage amplified signal when the amplitude of the voltage amplified signal exceeds a preset threshold, and output it to a gating module connected to the target interface, so that the gating module selects the target interface and the target host according to the channel configuration signal. Wherein, when the target interface is connected to a target device configured with a load current, the amplitude of the voltage amplified signal exceeds the preset threshold.
[0007] In one possible implementation of this application, the channel configuration module includes an energy storage unit and at least one switching unit; the energy storage unit is connected to the output terminal of the current sampling module and the control terminal of the switching unit, respectively, for charging based on the voltage amplification signal, and generating a trigger signal output to the control terminal of the switching unit when the amplitude of the voltage amplification signal exceeds a preset threshold; the switching unit is connected to the channel configuration terminal and the ground terminal of the gating module, for electrically connecting the ground terminal and the channel configuration terminal in response to the trigger signal, so as to output a channel configuration signal to the gating module.
[0008] In one possible implementation of this application, the energy storage unit includes at least one energy storage capacitor, one end of which is connected to the control terminal of the switching unit, and the other end is connected to the ground terminal.
[0009] In one possible implementation of this application, the switching unit includes a switching transistor and a pull-up resistor. The first end of the pull-up resistor is connected to the power supply terminal, and the second end of the pull-up resistor, the first end of the switching transistor, and the channel configuration terminal are connected together. The control terminal of the switching transistor is connected to the energy storage unit, and the second end of the switching transistor is connected to the ground terminal. The switching transistor is used to conduct in response to a trigger signal and output a low-level channel configuration signal to the channel configuration terminal to pull down the potential of the channel configuration terminal. The pull-up resistor is used to pull up the potential of the channel configuration terminal when the switching transistor is turned off.
[0010] In one possible implementation of this application, the channel configuration module further includes a unidirectional conduction unit, one end of which is connected to the output terminal of the current sampling module and the other end is connected to the energy storage unit, for limiting the conduction direction to flow from the current sampling module to the energy storage unit.
[0011] In one possible implementation of this application, the unidirectional conduction unit includes at least one diode, with the anode of the diode connected to the output terminal of the current sampling module and the cathode connected to the energy storage unit.
[0012] In one possible implementation of this application, the current sampling module includes a sampling unit and an operational amplifier unit; the sampling unit is connected to the target interface and the operational amplifier unit respectively, and is used to sample the current signal and obtain the corresponding voltage signal based on the current signal; the operational amplifier unit is used to amplify the voltage signal to obtain a voltage amplified signal.
[0013] Secondly, this application also provides an interface circuit, which includes a target interface, a gating module, and a channel configuration circuit in any possible implementation of the first aspect. The channel configuration circuit is connected to the target interface and the gating module respectively, and is used to control the gating module to select the target interface and the target host when the target device configured with load current is connected to the target interface.
[0014] In one possible implementation of this application, the interface circuit further includes a main control module, which is connected to the channel configuration terminal of the gating module and is used to control the gating module to select one of the target interface and one of the multiple host terminals through the channel selection signal; the multiple host terminals include the target host terminal, and the channel configuration signal has a higher priority than the channel selection signal.
[0015] Thirdly, this application also provides a display device, which includes a device body and a channel configuration circuit in any possible implementation of the first aspect or an interface circuit in any possible implementation of the second aspect disposed on the device body.
[0016] From the above, it can be concluded that this application has the following beneficial effects:
[0017] In this application, the current signal of the target interface is sampled by a current sampling module, and a voltage amplified signal is output to the channel configuration module. When a target device with a load current is connected to the target interface, the amplitude of the voltage amplified signal exceeds a preset threshold. The channel configuration module can then generate a channel configuration signal and output it to the selection module connected to the target interface. This allows the selection module to select the target interface and the target host based on the channel configuration signal, thereby fixing the display channel. Compared to related technologies that use multiple interfaces for physical separation, this application distinguishes between target devices and ordinary devices based on the magnitude of the sampled current. When the target device is connected, the current of the target interface is larger, causing the amplitude of the voltage amplified signal to exceed the preset threshold. Thus, the channel configuration module can generate a channel configuration signal based on the voltage amplified signal to control the selection module and fix the display channel. The circuit structure is simple and highly reliable. It also reduces the number of interfaces, avoids interface redundancy, improves utilization, and reduces costs. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a schematic diagram of an interface architecture for commercial display screens in related technologies;
[0020] Figure 2 This is a schematic diagram of a channel configuration circuit provided in an embodiment of this application;
[0021] Figure 3 This is a schematic diagram of a channel configuration module provided in an embodiment of this application;
[0022] Figure 4 This is a schematic diagram of a circuit principle of the channel configuration module provided in the embodiments of this application;
[0023] Figure 5 This is another structural schematic diagram of the channel configuration module provided in the embodiments of this application;
[0024] Figure 6 This is a schematic diagram of a current sampling module provided in an embodiment of this application;
[0025] Figure 7 This is a schematic diagram of the circuit principle of the current sampling module provided in the embodiments of this application;
[0026] Figure 8 This is a schematic diagram of the interface circuit provided in the embodiments of this application;
[0027] Figure 9 This is another schematic diagram of the interface circuit provided in the embodiments of this application;
[0028] Figure 10 This is a schematic diagram of a display device provided in an embodiment of this application. Detailed Implementation
[0029] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0030] To enable those skilled in the art to better understand the solutions of this application, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0031] In the embodiments of this application, it should be noted that, in this document, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0032] Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that an article or device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such an article or device. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the article or device that includes said element.
[0033] In the description of the embodiments of this application, the words "example" or "for example" are used to indicate exemplification, illustration, or description. Any embodiment or design described as "example" or "for example" in the embodiments of this application is not to be construed as being more preferred or having more advantages than another embodiment or design. The use of the words "example" or "for example" is intended to present relative concepts in a clear manner.
[0034] Furthermore, in the embodiments of this application, "multiple" refers to two or more. Therefore, in the embodiments of this application, "multiple" can also be understood as "at least two". "At least one" can be understood as one or more, such as one, two, or more. For example, including at least one means including one, two, or more, and is not limited to which ones are included. For example, including at least one of A, B, and C, then it could include A, B, C, A and B, A and C, B and C, or A and B and C.
[0035] It should be noted that in the embodiments of this application, "connection" can be understood as electrical connection. The connection between two electrical components can be a direct or indirect connection between the two electrical components. For example, the connection between A and B can be a direct connection between A and B, or an indirect connection between A and B through one or more other electrical components.
[0036] In the embodiments of this application, the first terminal / first end of each transistor is one of the source and the drain, and the second terminal / second end of each transistor is the other of the source and the drain. Since the source and drain of a transistor can be structurally symmetrical, they can be structurally indistinguishable. That is, the first terminal / first end and the second terminal / second end of the transistor in the embodiments of this application can be structurally indistinguishable. For example, when the transistor is a P-type transistor, the first terminal / first end is the source, and the second terminal / second end is the drain; for example, when the transistor is an N-type transistor, the first terminal / first end is the drain, and the second terminal / second end is the source.
[0037] In the circuit structure provided by the embodiments of this application, nodes such as the first node and the second node do not represent actual existing components, but rather represent the junction points of related couplings in the circuit diagram. In other words, these nodes are equivalent to the junction points of related couplings in the circuit diagram.
[0038] Before introducing the channel configuration circuit, interface circuit, and display device of this application, we will first introduce the relevant background information of the embodiments of this application.
[0039] Current commercial display screens typically come equipped with various USB ports for connecting external USB devices. Please refer to... Figure 1In practical applications, when the external USB device connected to the USB TYPE A interface is a common USB device such as a flash drive, keyboard, or mouse, if the host used for display control is switched, the user can control the USB switch through the system-on-chip (SOC) to adapt the USB TYPE A interface to the target host after the switch, thereby achieving the switching of the display channel.
[0040] For example, when a SOC is connected to the channel configuration terminal of a USB switch, the USB switch controls channel switching via output signals (SEL1, SEL0). When the host is a SOC, the output signals (SEL1, SEL0) are "00", and the USB switch selects the USBTYPE A interface and the SOC. When the host is a PC, the output signals (SEL1, SEL0) are "01", and the USB switch selects the USBTYPE A interface and the PC. When the host is an external device connected to a TYPE B interface, the output signals (SEL1, SEL0) are "10", and the USB switch selects the USB TYPE A interface and the TYPE B interface. When the host is an external device connected to a TYPE C interface, the output signals (SEL1, SEL0) are "11", and the USB switch selects the USB TYPE A interface and the TYPE C interface.
[0041] When the external USB device connected to the USB TYPE A interface is a special USB device such as a microphone or camera, the host needs to be fixed as a SOC, that is, the display channel is fixed. In this case, the USB TYPE A interface needs to be fixed to the SOC and cannot be switched.
[0042] In related technologies, to meet such functional requirements, at least two USB Type-A interfaces are designed to connect to different USB devices respectively. For example, one USB Type-A interface is used to connect a regular USB device, so that after switching on the host side, this USB Type-A interface is electrically connected to the target host side after switching, thereby realizing the switching of the display channel; another USB Type-A interface is used to connect a special USB device, and this USB Type-A interface is fixedly connected to a certain host side to fix the display channel.
[0043] However, this method relies on the user not connecting the wrong device, and the extra USB ports may be idle, resulting in interface redundancy and complex circuit structure.
[0044] Based on this, embodiments of this application provide a channel configuration circuit, an interface circuit, and a display device. The channel configuration circuit samples the current of the target interface and determines the type of the connected device based on the magnitude of the voltage corresponding to the current. Thus, when the target device is connected, a fixed selection between the target interface and the target host is achieved, i.e., a fixed display channel. The circuit structure is simple, highly reliable, and reduces the number of interfaces, thereby reducing costs.
[0045] The channel configuration circuit, interface circuit, and display device provided in this application will be described in detail below.
[0046] First, this application provides a channel configuration circuit, which can be used in an interface circuit or a display device, electronic device, etc. that integrates the interface circuit. The display device can be a terminal device such as a television, monitor, large display screen, or smart interactive flat panel.
[0047] Please see Figure 2 , Figure 2 This is a schematic diagram of a channel configuration circuit provided in an embodiment of this application. The channel configuration circuit 100 may include a current sampling module 110 and a channel configuration module 120; wherein, the current sampling module 110 is used to connect to the target interface 210 to sample the current signal of the target interface 210, and obtain a voltage amplified signal based on the current signal and output it to the channel configuration module 120; the channel configuration module 120 may be used to generate a channel configuration signal in response to the voltage amplified signal when the amplitude of the voltage amplified signal exceeds a preset threshold, and output it to the selection module 220 connected to the target interface 210, so that the selection module 220 can select the target interface 210 and the target host terminal 231 according to the channel configuration signal; wherein, when the target interface 210 is connected to the target device 300 configured with a load current, the amplitude of the voltage amplified signal exceeds the preset threshold.
[0048] In this embodiment, the target interface 210 can be any existing type of USB interface, such as USBTYPE A interface, USBTYPE B interface, USBTYPE C interface, etc. The specific type can be determined according to the actual application scenario, and is not limited here.
[0049] The target device 300 can be a special USB device that requires a fixed display channel, such as a microphone or camera. In order to identify the type of USB device connected to the target interface 210, the target device 300, i.e., the special USB device, in this embodiment can typically be configured with a load current. This load current allows the current of the target device 300 connected to the target interface 210 to be much greater than the current of ordinary USB devices such as mice or keyboards connected to the target interface 210. The target device 300 and ordinary USB devices can be distinguished by the current. By sampling the current of the target interface 210, it can be determined whether the currently connected device is a target device that requires a fixed display channel or an ordinary USB device that can switch display channels.
[0050] For example, the load current can be a periodic pulse current signal or a continuous high-level signal, which can be determined according to the actual application scenario, and is not limited here.
[0051] For example, current protocols stipulate that the current of a standard USB 3.0 interface should not exceed 900mA. Therefore, 900mA can be used as a dividing line, setting the load current to be greater than 900mA. This way, when a target device 300 configured with the load current is connected to the target interface 210, the current in the target interface 210 can exceed 900mA; while when a regular USB device is connected to the target interface 210, the current in the target interface 210 will be less than or equal to 900mA, thus distinguishing between the target device 300 and a regular USB device. Understandably, the load current setting must also consider not exceeding the current limit specified in the protocol to avoid damage to the target interface 210 from high current surges.
[0052] The current sampling module 110 can be implemented using any existing current sampling circuit, such as a shunt resistor circuit or a transimpedance amplifier. The current sampling module 110 is connected to the target interface 210, thereby sampling the current signal of the target interface 210.
[0053] In this embodiment, the current sampling module 110 can also convert and amplify the current signal into a voltage amplification signal and output it to the channel configuration module 120. It is understood that the larger the current, the larger the voltage obtained; that is, there is a positive correlation between the current signal and the voltage amplification signal in this embodiment. Therefore, the magnitude of the voltage can also reflect the magnitude of the current.
[0054] After receiving the voltage amplified signal, if the amplitude of the voltage amplified signal exceeds a preset threshold, the channel configuration module 120 can generate a channel configuration signal and output it to the selection module 220 in response to the voltage amplified signal; conversely, if the amplitude of the voltage amplified signal is less than or equal to the preset threshold, the channel configuration module 120 will not output a channel configuration signal. It is understood that the preset threshold can be determined according to the actual application scenario and is not limited here.
[0055] In this embodiment, the gating module 220 can be any existing multiplexer, such as a USB switch. The gating module 220 can be configured with multiple output terminals, which can be connected to multiple host terminals one by one.
[0056] For example, the gating module 220 has two outputs, one of which is connected to the target host terminal 231, and the other is connected to other host terminals 232. The control terminal of the gating module 220 is connected to the channel configuration module 120 to receive the channel configuration signal, and the input terminal can be connected to the target interface 210. Thus, when the channel configuration signal is received, the gating module 220 responds to the channel configuration signal to gating the target host terminal 231, so that the target interface 210 and the target host terminal 231 are electrically connected, thereby the target device 300 connected to the target interface 210 can be controlled by the target host terminal 231.
[0057] Conversely, if the gating module 220 does not receive the channel configuration signal, it means that the target interface 210 is not connected to the target device 300. In this case, it is not necessary to fix the display channel, that is, it is not necessary to fix the host end. Therefore, the gating module 220 can respond to the control signal to select the target host end 231 or other host ends 232 so that the display channel can switch with the host end.
[0058] The target host 231 and other host components 232 can be determined according to the actual application scenario. For example, the target host 231 can be the main control module, Figure 1 The SOC or host running the Android system shown in the diagram, and other host devices 232 can be... Figure 1 The diagram shows PC terminals, TYPE C terminals, TYPE B terminals, or hosts running Windows systems.
[0059] In this embodiment, the current signal of the target interface 210 is sampled by the current sampling module 110, and the voltage amplified signal is output to the channel configuration module 120. When the target interface 210 is connected to the target device 300 configured with a load current, the amplitude of the voltage amplified signal exceeds a preset threshold. The channel configuration module 120 can then generate a channel configuration signal and output it to the selection module 220 connected to the target interface 210. This allows the selection module 220 to select the target interface 210 and the target host terminal 231 according to the channel configuration signal, thereby fixing the display channel. Compared with the related technologies that set multiple interfaces for physical separation, this embodiment distinguishes between the target device 300 and ordinary devices based on the sampled current magnitude. When the target device 300 is connected, the current of the target interface 210 is larger, causing the amplitude of the voltage amplified signal to exceed the preset threshold. Thus, the channel configuration module 120 can generate a channel configuration signal according to the voltage amplified signal to control the selection module 220 to fix the display channel. The circuit structure is simple and highly reliable. At the same time, it reduces the number of interfaces, avoids interface redundancy, improves utilization, and reduces costs.
[0060] Next, continue with Figure 2 The unit modules shown are described in detail, as well as the specific implementation methods that may be used in practical applications.
[0061] like Figure 3 As shown, in some embodiments of this application, the channel configuration module 120 may include an energy storage unit 1201 and at least one switching unit 1202; the energy storage unit 1201 is connected to the output terminal of the current sampling module 110 and the control terminal of the switching unit 1202 respectively, for charging based on the voltage amplification signal, and when the amplitude of the voltage amplification signal exceeds a preset threshold, generating a trigger signal output to the control terminal of the switching unit 1202; the switching unit 1202 is connected to the channel configuration terminal and the ground terminal GND of the gating module 220, for electrically connecting the ground terminal GND and the channel configuration terminal of the gating module 220 in response to the trigger signal, so as to output a channel configuration signal to the gating module 220.
[0062] In this embodiment, the energy storage unit 1201 can be any existing energy storage device or energy storage circuit. The energy storage unit 1201 charges based on the received voltage amplification signal. It can be understood that if the amplitude of the voltage amplification signal exceeds a preset threshold, the energy of the energy storage unit 1201 is sufficient to trigger the switching unit 1202, that is, to generate a trigger signal output to the control terminal of the switching unit 1202. However, if the amplitude of the voltage amplification signal is less than or equal to the preset threshold, the energy of the energy storage unit 1201 will not be sufficient to trigger the switching unit 1202. Therefore, when the amplitude of the voltage amplification signal is less than or equal to the preset threshold, the energy storage unit 1201 will not generate a trigger signal.
[0063] In this embodiment, the switching unit 1202 may include any existing switching device, such as a transistor, a metal-oxide-semiconductor field-effect transistor (MOS), an insulated-gate bipolar transistor (IGBT), etc. The specific device can be determined according to the actual application scenario, and is not limited here.
[0064] The control terminal of the switching unit 1202 is connected to the energy storage unit 1201. When the switching unit 1202 receives a trigger signal, it can respond to the trigger signal to conduct, making the ground terminal GND electrically connected to the channel configuration terminal of the gating module 220, thereby outputting a channel configuration signal to the gating module 220. When the switching unit 1202 does not receive a trigger signal, the switching unit 1202 does not conduct, the ground terminal GND is electrically disconnected from the channel configuration terminal of the gating module 220, and no channel configuration signal is output.
[0065] Understandably, the switching unit 1202 is connected to the channel configuration terminal of the gating module 220, thereby changing the potential of the channel configuration terminal through the channel configuration signal, so that the gating module 220 can be fixedly selected to the target host terminal 231.
[0066] It is worth noting that the number of switching units 1202 can be determined according to the number of host terminals connected to the gating module 220. For example, if the gating module 220 is connected to two host terminals, then there can be one switching unit 1202, and the two host terminals can be switched by high and low level signals; when the gating module 220 is connected to three or four host terminals, there can be two switching units 1202, and the three or four host terminals can be switched by different combinations of high and low level signals of the two switching units, and so on.
[0067] Please see Figure 4 In some embodiments of this application, the energy storage unit 1201 may include at least one energy storage capacitor C, one end of which may be connected to the control terminal of the switching unit 1202, and the other end of which may be connected to the ground terminal GND.
[0068] In this embodiment of the application, the energy storage unit 1201 can be a single energy storage capacitor C or a capacitor string formed by multiple energy storage capacitors C connected in series. The selection of the energy storage capacitor C can be determined according to the actual application scenario, and is not limited here.
[0069] When the target device 300 is connected to the target interface 210, under the action of the load current, the energy storage capacitor C can be continuously charged and discharged based on the voltage amplification signal, and the minimum value of the capacitor voltage of the energy storage capacitor C is greater than the preset threshold, thereby ensuring that the trigger switch unit 1202 generates a trigger signal output to the control terminal of the switch unit 1202.
[0070] Please continue reading. Figure 4 In some embodiments of this application, the switching unit 1202 may include a switching transistor Q1 and a pull-up resistor R1. The first end of the pull-up resistor R1 is connected to a power supply terminal, such as a 5V power supply. The second end of the pull-up resistor R1, the first end of the switching transistor Q1, and the channel configuration terminal of the gating module 220 are connected. The control terminal of the switching transistor Q1 is connected to the energy storage unit 1201, and the second end of the switching transistor Q1 is connected to the ground terminal GND. The switching transistor Q1 can be used to output a low-level channel configuration signal to the channel configuration terminal in response to a trigger signal, so as to pull down the potential of the channel configuration terminal. The pull-up resistor R1 can be used to pull up the potential of the channel configuration terminal when the switching transistor Q1 is turned off.
[0071] In this embodiment, the switch Q1 can be any existing controllable switching element such as a transistor, MOSFET, or IGBT. Figure 4 As shown, taking an NMOS transistor as an example, the control terminal of the NMOS transistor is connected to the energy storage capacitor C through the second resistor R2, the first terminal is connected to the pull-up resistor R1 and the channel configuration terminal of the gating module 220, and the second terminal is connected to the ground terminal GND.
[0072] When the target device 300 is connected to the target interface 210, the minimum voltage of the energy storage capacitor C is sufficient to turn on the switching transistor Q1. That is, the energy storage capacitor C generates a trigger signal and outputs it to the control terminal of the NMOS transistor, causing the NMOS transistor to conduct. In other words, the first and second terminals of the NMOS transistor are electrically connected. Since the second terminal is connected to the ground terminal GND and the first terminal is connected to the channel configuration terminal of the gating module 220, the channel configuration terminal of the gating module 220 is forced to ground. Thus, the gating module 220 can select the target host terminal 231 accordingly, so that the target device 300 is connected to the target host terminal 231.
[0073] When a regular device is connected to the target interface 210, the current of the target interface 210 is relatively small, for example, less than 900mA. Even if it is fully loaded and continuously pulled to 900mA, the converted voltage amplification signal charges the energy storage capacitor C. The maximum value of the capacitor voltage of the energy storage capacitor C still cannot trigger the switching transistor Q1, that is, the switching transistor Q1 does not conduct. At this time, the first end of the switching transistor Q1 is pulled high by the pull-up resistor R1, thereby pulling high the channel configuration terminal of the selection module 220. In this case, the selection module 220 can select the target host terminal 231 or other host terminals 232 according to the channel selection signal from the main control, so that the display channel switches with the switching of the host terminal.
[0074] like Figure 5 As shown, in some embodiments of this application, the channel configuration module 120 may further include a unidirectional conduction unit 1203, one end of which is connected to the output terminal of the current sampling module 110 and the other end is connected to the energy storage unit 1201, for limiting the conduction direction to flow from the current sampling module 110 to the energy storage unit 1201.
[0075] In this embodiment, the unidirectional conduction unit 1203 can be any existing unidirectional conduction element or unidirectional conduction circuit. By limiting the current flow through the unidirectional conduction unit 1203, the conduction is ensured to be from the current sampling module 110 to the energy storage unit 1201. This can prevent the electrical energy of the energy storage unit 1201 from flowing back to the current sampling module 110, and can also prevent the energy stored in the energy storage unit 1201 from being lost in reverse, thereby improving reliability.
[0076] Please continue reading. Figure 4 In some embodiments of this application, the unidirectional conduction unit 1203 may include at least one diode D, the anode of which is connected to the output terminal of the current sampling module 110, and the cathode is connected to the energy storage unit 1201.
[0077] In this embodiment, the unidirectional conduction unit 1203 can be a diode D or a diode string formed by multiple diodes D connected in series. The anode of the diode D is connected to the output terminal of the current sampling module 110, and the cathode is connected to the energy storage capacitor C, thereby limiting the reverse loss of electrical energy on the energy storage capacitor C. This ensures that when the target device 300 is connected to the target interface 210, the capacitor voltage of the energy storage capacitor C can trigger the switching transistor Q1, so that the selection module 220 is fixedly selected to the target host terminal 231.
[0078] like Figure 6As shown, in some embodiments of this application, the current sampling module 110 may include a sampling unit 1101 and an operational amplifier unit 1102; the sampling unit 1101 may be connected to the target interface 210 and the operational amplifier unit 1102 respectively, for sampling current signals and obtaining corresponding voltage signals based on the current signals; the operational amplifier unit 1102 may be used to amplify the voltage signals to obtain a voltage amplified signal.
[0079] In this embodiment of the application, the sampling unit 1101 can adopt any existing current sampling circuit, including but not limited to a circuit that uses a sampling resistor to sample the current. The sampling unit 1101 is connected to the target interface 210, so that the current signal on the target interface 210 can be sampled, and then the current signal is converted into a voltage signal and output to the operational amplifier unit 1102 using Ohm's law.
[0080] The operational amplifier unit 1102 can be any existing operational amplifier circuit. After receiving the voltage signal, the operational amplifier unit 1102 can amplify the voltage signal according to the set gain value, thereby obtaining a voltage amplified signal and outputting it to the channel configuration module 120.
[0081] As an example, such as Figure 7 As shown, the sampling unit 1101 includes a sampling resistor R3, one end of which is connected to a power supply terminal, such as a 5V power supply, and the other end is connected to the target interface 210; the operational amplifier unit 1102 includes an operational amplifier U and its peripheral resistors. Specifically, the fourth resistor R4 is connected to the first terminal of the sampling resistor R3, the non-inverting input terminal of the operational amplifier U, and the grounded sixth resistor R6, respectively; the fifth resistor R5 is connected to the second terminal of the sampling resistor R3, the inverting input terminal of the operational amplifier U, and the seventh resistor R7, respectively.
[0082] The current I is sampled through sampling resistor R3. According to Ohm's law, the voltage across sampling resistor R3 is V = I * R3. The gain of the operational amplifier can be adjusted by adjusting the values of the fourth resistor R4, the fifth resistor R5, the sixth resistor R6, and the seventh resistor R7. Assuming the gain is A, the voltage amplitude V of the voltage amplified signal is... 放 =A*V=A*I*R3, where the gain A and sampling resistor R3 are constant, the voltage amplitude V of the voltage amplified signal is... 放 It is positively correlated with the current I; therefore, when the target interface 210 is connected to the target device 300 configured with a load current, the voltage amplitude V of the voltage amplification signal will increase due to the effect of the load current. 放 This is sufficient to trigger the switching transistor Q1 with the energy storage capacitor C, thereby achieving fixed selection of the target host terminal 231.
[0083] like Figure 8As shown, based on the above embodiments, this application also provides an interface circuit, which may include a target interface 210, a gating module 220, and as shown in the figure. Figures 2 to 7 Corresponding to the channel configuration circuit 100 in any embodiment; the channel configuration circuit 100 is connected to the target interface 210 and the gating module 220 respectively, and is used to control the gating module 220 to select the target interface 210 and the target host terminal 231 when the target device 300 configured with load current is connected to the target interface 210.
[0084] Because the interface circuit 200 includes the present application, as described in this application. Figures 2 to 7 Corresponding to the channel configuration circuit 100 in any embodiment, the present application can be implemented as described above. Figures 2 to 7 For all the beneficial effects that the channel configuration circuit 100 can achieve in any embodiment, please refer to the preceding description, which will not be repeated here.
[0085] like Figure 9 As shown, in some embodiments of this application, the interface circuit 200 may further include a main control module 240, which is connected to the channel configuration terminal of the gating module 220 and is used to control the gating module 220 to select one of the target interface 210 and multiple host terminals through the channel selection signal; the multiple host terminals include the target host terminal 231, and the channel configuration signal has a higher priority than the channel selection signal.
[0086] The main control module 240 can be any existing SOC, controller, etc. When the target interface 210 is connected to a non-target device, i.e., a regular device, the main control module 240 can generate a corresponding channel selection signal based on the received switching command and output it to the selection module 220, so that the selection module 220 can select the corresponding host from multiple host terminals in response to the channel selection signal. It is understood that the switching command can be a command signal issued by the user through touch, infrared, button, etc., and the specific method can be determined according to the actual application scenario, which is not limited here.
[0087] In this embodiment, the channel configuration circuit 100 responds to the channel configuration signal generated by the target device 300 with a higher priority than the channel selection signal generated by the main control module 240 in response to the switching command. This allows the selection module 220 to fixably select the target host terminal 231 in response to the channel configuration signal when the target device 300 connects to the target interface 210, without switching the display channel. However, when a non-target device connects to the target interface 210, the main control module 240 can issue a channel selection signal based on the selected host terminal. The selection module 220 then connects the non-target device to the selected host terminal based on this channel selection signal, enabling the display channel to switch according to the host terminal's switching. It is understood that in some embodiments, the target host terminal 231 can be the main control module 240.
[0088] Based on the above embodiments, this application also provides a display device, which may include a device body and a component disposed on the device body, such as... Figures 2 to 7 Corresponding to the channel configuration circuit or interface circuit in any embodiment, or such as Figures 8 to 9 The corresponding interface circuit in any embodiment.
[0089] The display device can be a television, monitor, large display screen, conference flat panel, smart interactive flat panel, or other terminal device.
[0090] Since the display device includes the present application, Figures 2 to 7 Corresponding to the channel configuration circuit in any embodiment, the present application can be implemented as described above. Figures 2 to 7 For all the beneficial effects that the channel configuration circuit can achieve in any embodiment, please refer to the preceding description, which will not be repeated here.
[0091] like Figure 10 As shown, as an example, the target interface is a USB TYPE A interface, the gating module is a USB SW (switch), and the host side includes a display device SOC, a PC, a first external device connected to the TYPE B interface (not shown in the figure), and a second external device connected to the TYPE C interface (not shown in the figure).
[0092] When a microphone (MIC) carrying a 1000mA load current is connected to the USB Type A interface, the sampling resistor R3 samples the current I of the USB Type A interface, converting the current I into a voltage. This voltage is amplified by a certain factor by the operational amplifier U and then charges the energy storage capacitor C through the diode D. Because the microphone's connection causes the current I to periodically exceed 1000mA, the voltage of the energy storage capacitor C will continuously charge and discharge without dropping to 0V. In this case, even at its minimum, the capacitor voltage can still turn on the switching transistors Q1 and Q2. At this time, S1S0 is "00", forcibly pulling the channel configuration terminal of the USB SW low, making it uncontrolled by the SOC. The USB SW is permanently selected to the SOC, meeting the requirement of a fixed connection between a special USB device and the SOC.
[0093] When a regular USB device is connected to this USB TYPE A interface, the current I will not exceed 900mA due to protocol requirements. Even under full load, continuously pulling 900mA, the current, after amplification, will still not be able to turn on the switching transistors Q1 and Q2. S1 and S0 are both pulled up by default, i.e., "11". The SOC can generate a channel selection signal according to the switching instruction (which is used to indicate the currently selected host) to control the channel configuration terminal of the USB SW, i.e., GPIO, to switch the display channel, so that the regular USB device can connect to the selected host and the display channel can switch with the host.
[0094] The above are merely preferred embodiments of this application and are not intended to limit this application in any way. Although this application has disclosed preferred embodiments as above, it is not intended to limit this application. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the technical solution of this application. Any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of this application without departing from the scope of the technical solution of this application shall still fall within the scope of the technical solution of this application.
Claims
1. A channel configuration circuit, characterized in that, Includes a current sampling module and a channel configuration module; The current sampling module is used to connect to the target interface to sample the current signal of the target interface, and to obtain a voltage amplified signal based on the current signal and output it to the channel configuration module. The channel configuration module is used to generate a channel configuration signal in response to the voltage amplification signal when the amplitude of the voltage amplification signal exceeds a preset threshold. The signal is then output to the selection module connected to the target interface, so that the selection module selects the target interface and the target host according to the channel configuration signal. The voltage amplification signal exceeds the preset threshold when the target interface is connected to a target device configured with a load current.
2. The channel configuration circuit according to claim 1, characterized in that, The channel configuration module includes an energy storage unit and at least one switching unit; The energy storage unit is connected to the output terminal of the current sampling module and the control terminal of the switching unit, respectively, for charging based on the voltage amplification signal, and generating a trigger signal to be output to the control terminal of the switching unit when the amplitude of the voltage amplification signal exceeds the preset threshold. The switching unit is connected to the channel configuration terminal and the ground terminal of the gating module, and is used to electrically connect the ground terminal and the channel configuration terminal in response to the trigger signal, so as to output the channel configuration signal to the gating module.
3. The channel configuration circuit according to claim 2, characterized in that, The energy storage unit includes at least one energy storage capacitor, one end of which is connected to the control terminal of the switching unit, and the other end is connected to the ground terminal.
4. The channel configuration circuit according to claim 2, characterized in that, The switching unit includes a switching transistor and a pull-up resistor. The first end of the pull-up resistor is connected to the power supply terminal. The second end of the pull-up resistor, the first end of the switching transistor, and the channel configuration terminal are connected together. The control terminal of the switching transistor is connected to the energy storage unit. The second end of the switching transistor is connected to the ground terminal. The switching transistor is configured to respond to the trigger signal and output a low-level channel configuration signal to the channel configuration terminal to pull down the potential of the channel configuration terminal; The pull-up resistor is used to pull up the potential of the channel configuration terminal when the switch is turned off.
5. The channel configuration circuit according to claim 2, characterized in that, The channel configuration module further includes a unidirectional conduction unit, one end of which is connected to the output terminal of the current sampling module and the other end is connected to the energy storage unit, for limiting the conduction direction to flow from the current sampling module to the energy storage unit.
6. The channel configuration circuit according to claim 5, characterized in that, The unidirectional conduction unit includes at least one diode, the anode of which is connected to the output terminal of the current sampling module, and the cathode of which is connected to the energy storage unit.
7. The channel configuration circuit according to claim 1, characterized in that, The current sampling module includes a sampling unit and an operational amplifier unit; The sampling unit is connected to the target interface and the operational amplifier unit respectively, and is used to sample the current signal and obtain the corresponding voltage signal based on the current signal. The operational amplifier unit is used to amplify the voltage signal to obtain the amplified voltage signal.
8. An interface circuit, characterized in that, It includes a target interface, a gating module, and a channel configuration circuit as described in any one of claims 1-7. The channel configuration circuit is connected to the target interface and the gating module respectively, and is used to control the gating module to select the target interface and the target host when the target device configured with load current is connected to the target interface.
9. The interface circuit according to claim 8, characterized in that, The interface circuit also includes a main control module, which is connected to the channel configuration terminal of the gating module and is used to control the gating module to select one of the target interface and multiple host terminals through a channel selection signal; the multiple host terminals include the target host terminal, and the channel configuration signal has a higher priority than the channel selection signal.
10. A display device, characterized in that, It includes a device body and a channel configuration circuit as described in any one of claims 1-7 or an interface circuit as described in any one of claims 8-9, disposed on the device body.