A TYPE-C socket circuit

By introducing switching units, detection units and reset units into the Type-C socket circuit, the 5V power supply and hot-swap detection signal switching problem of HDMI socket in the Type-C socket is solved, and the stable output and processor of HDMI signals are realized The accuracy of the detection reduces the cost.

CN117939043BActive Publication Date: 2024-11-08深圳变色龙光电科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410195498.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-22
Publication Date
2024-11-08
Estimated Expiration
2044-02-22

AI Technical Summary

Technical Problem

When using Type-C sockets instead, there are problems with complex circuits and high cost, especially the 5V power supply and hot-swap detection signal switching, which causes the back-end processor to fail to detect the HDMI plug-in ready state, resulting in HDMI The signal output is abnormal.

Method used

A TYPE-C socket circuit is designed, including a socket module, a front and back switching module. Through switching units, detection units and reset units, the switching between 5V power supply signals and hot-swap detection signals is realized to ensure that the back-end processor can detect it. HDMI is inserted and the HDMI signal is output stably.

Benefits of technology

The circuit structure is simplified, the cost is reduced, the stability problem of HDMI signal output is solved, abnormal judgment is avoided, the normal operation of the HDMI signal is ensured, and the HDMI input stability and detection accuracy of external devices are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117939043B_ABST
    Figure CN117939043B_ABST
Patent Text Reader

Abstract

The present invention discloses a TYPE-C socket circuit, comprising a socket module and a front and back exchange module connected to each other, wherein the 24PIN pins in the socket module define the 19PIN pins of the HDMI socket, so that the socket module can transmit HDMI signals; the front and back exchange module comprises a switching unit, a detection unit and a reset unit, wherein the switching unit is used to convert an input 5V power supply signal into a high-level hot plug detection signal and return it to the socket module, so that the socket module returns to trigger an external device to output an HDMI signal, the detection unit is connected to the switching unit, and is used to be turned on under the triggering of the 5V power supply signal undertaken by the switching unit, and after being turned on, the high-level VCC power supply can trigger the back-end device to prepare to process the HDMI signal, and the reset unit is used to be triggered by the low-level control signal of the back-end device, so that the switching unit cuts off the output of the hot plug detection signal. The present invention can simplify the circuit, reduce costs, and solve the switching problem between the 5V power supply and the hot plug detection signal of HDMI.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic equipment, and in particular to a TYPE-C socket circuit. Background Art

[0002] HDMI is basically defined as high-definition multimedia, which is the first digital interface that supports transmission of uncompressed all-digital high-definition, multi-channel audio, and intelligent format and control command data on a single cable. Common HDMI socket interface devices include computer monitors, digital TVs, projectors, high-end audio, computer graphics cards, laptops, TV set-top boxes, PS3 / 4 / 5 game consoles, HDMI extenders, HDMI distributors, HDMI converters, HDMI audio separators, HDMI KVM switches, and HDMI screen splitters. This HDMI interface (i.e. HDMI A Type, reference specifications: 15.0mm×12.1mm×5.5mm; later developed MINI HDMI socket reference specifications: 11.2mm×7.5mm×3.2mm, different manufacturers have different appearances, but they are similar.) is a standard 19-pin HDMI interface, with a total of 19 pins. These HDMI sockets have the common feature of being huge in size.

[0003] With the continuous development of electronic products, most electronic products with HDMI are still heavy due to the limitations of traditional craftsmanship and technology. As HDMI's full digital high-definition is favored by consumers and accounts for a large proportion of the international consumer market, as people's quality of life continues to improve, consumers pursue a variety of product experiences, especially the pursuit of quality and light-weight products, and the desire for reduced product quality is increasing day by day. Type-c sockets are the best choice to replace HDMI sockets, but the reason why they are not widely used is that there are some technical problems, such as complex circuits, and high costs. Specifically, after the HDMI socket is replaced by the Type-c socket, it is unclear how to switch between +5V_POWER (5V power supply) and HOT_PLUG_DETECT (hot plug detection signal), the back-end processor cannot detect that the external device HDMI has been inserted and is ready, and the external device HDMI does not receive output instructions, resulting in HDMI digital high-definition video, audio, and communication instruction data signals not being output, and a series of problems that prevent HDMI from working properly. Summary of the invention

[0004] In view of the above technical problems, the present invention provides a TYPE-C socket circuit, thereby solving the problems encountered when the TYPE-C socket replaces the HDMI socket.

[0005] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0006] The present invention discloses a TYPE-C socket circuit, the circuit comprising a socket module and a front and back side exchange module connected to each other, wherein:

[0007] The 24-pin pin in the socket module defines the 19-pin pin of the HDMI socket, so that the socket module can transmit HDMI signals;

[0008] The front and back side switching module includes a switching unit, a detection unit and a reset unit. When the socket module is connected to the front side or / and the back side of the external device, the switching unit is used to convert the input 5V power supply signal into a high-level hot plug detection signal and return it to the socket module, so that the socket module returns to trigger the external device to output an HDMI signal. The detection unit is connected to the switching unit and is used to be turned on under the triggering of the 5V power supply signal undertaken by the switching unit. After being turned on, the high-level VCC power supply can trigger the back-end device to prepare to process the HDMI signal. The reset unit is used to cause the switching unit to stop outputting the hot plug detection signal under the triggering of the low-level control signal of the back-end device.

[0009] Furthermore, the switching unit includes a first diode, a second diode, a third diode and a fourth diode, a first transistor, and a first resistor. The positive electrodes of the first diode and the second diode are respectively connected to the socket module, and the negative electrodes are commonly connected to the emitter of the first transistor. The collector of the first transistor is respectively connected to the positive electrodes of the third diode and the fourth diode through the first resistor. The negative electrode of the third diode is connected between the positive electrode of the second diode and the socket module, and the negative electrode of the fourth diode is connected between the positive electrode of the first diode and the socket module. When the socket module is connected to the external device at the front, the first diode is connected to the 5V power supply signal and the third diode outputs the hot plug detection signal formed by the first transistor. When the socket module is connected to the external device at the back, the second diode is connected to the 5V power supply and the fourth diode outputs the hot plug detection signal formed by the first transistor.

[0010] Furthermore, the detection unit includes a MOS tube, a second resistor, a third resistor and a fourth resistor, the gate of the MOS tube is connected to the emitter end of the first transistor through the second resistor, the VCC power supply is connected to the drain of the MOS tube through the third resistor, and the source of the MOS tube is connected to the processor trigger port of the back-end device through the fourth resistor.

[0011] Furthermore, the reset unit includes a second transistor, a fifth resistor, and a sixth resistor, the base of the second transistor is connected to the processor control port of the back-end device, its collector is connected to the base of the first transistor through the fifth resistor, and its emitter is grounded, one end of the sixth resistor is connected to the emitter of the first transistor, and the other end of the sixth resistor is connected between the fifth resistor and the base of the first transistor.

[0012] Furthermore, a plurality of grounding capacitors are connected in parallel to the common connection end of the cathodes of the first diode and the second diode.

[0013] By adopting the above scheme, the beneficial effects of the present invention are:

[0014] Simplify the circuit, reduce costs, solve the switching problem between HDMI's 5V power supply and hot plug detection signal, and enable the back-end processor to detect the insertion of HDMI, avoiding abnormal misjudgment and causing HDMI to not work properly. The HDMI input of external devices is more stable, without abnormalities, and the detection is more in place. The back-end processor receives more accurately and is more in line with the working timing of HDMI. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 This is a schematic diagram of the structure of a TYPE-C socket circuit in an embodiment of the present invention;

[0016] Figure 2 1 is a circuit schematic diagram of a TYPE-C socket in an embodiment of the present invention;

[0017] Figure 3 The circuit principle of the HDMI socket in the embodiment of the present invention is shown;

[0018] Figure 4 This is a schematic diagram of the pin conversion from TYPE-C to HDMI in an embodiment of the present invention;

[0019] Figure 5 1 is a circuit schematic diagram of a TYPE-C socket in an embodiment of the present invention;

[0020] Figure 6 4 is a circuit schematic diagram of the front and back side switching module in an embodiment of the present invention. DETAILED DESCRIPTION

[0021] Typical embodiments that embody the features and advantages of the present invention will be described in detail in the following description. It should be understood that the present invention can have various changes in different embodiments without departing from the scope of the present invention, and the descriptions and illustrations therein are essentially used for illustration purposes rather than for limiting the present invention.

[0022] like Figures 1 to 6As shown, a TYPE-C socket circuit includes a socket module 1 and a front and back side switching module 2 connected to each other.

[0023] The 24-pin pins in the socket module 1 define the 19-pin pins of the HDMI socket, so that the socket module 1 can transmit HDMI signals. Figure 2-4 As shown, the socket module 1 includes a Type-c socket, which is used to replace the traditional HDMI socket. Each pin of the Type-c socket defines the 19 pins of the HDMI socket, and the unused pins are left vacant. When the HDMI signal such as HDMI digital high-definition video, audio and communication command data enters through the Type-c socket, it is switched by the front and back switching module 2 and then output. The A12 pin of the Type-c socket is set with a pull-up resistor +3.3V, and the A12 pin is used to control the front and back switching module 2. In this way, regardless of the front or back of the external Type-c plug, the A12 pin uses the H or L level to control the front and back switching module 2 to switch the signal, ensuring lossless signal output.

[0024] The front and back side switching module 2 includes a switching unit 21, a detection unit 22 and a reset unit 23. Figure 5-6 As shown, when the socket module 1 is connected to the external device 3 on the front or / and back, the switching unit is used to convert the input 5V power signal into a high-level hot plug detection signal and return it to the socket module 1, so that the socket module 1 returns to trigger the external device 3 to output the HDMI signal. The detection unit is connected to the switching unit, and is used to be turned on under the triggering of the 5V power signal undertaken by the switching unit. After being turned on, the high-level VCC power supply can trigger the back-end device 4 to prepare to process the HDMI signal. The reset unit is used to cause the switching unit to stop outputting the hot plug detection signal under the triggering of the low-level control signal of the back-end device 4.

[0025] Specifically, the switching unit 21 includes a first diode D1, a second diode D2, a third diode D3 and a fourth diode D4, a first transistor Q2, and a first resistor R4. The anodes of the first diode D1 and the second diode D2 are respectively connected to the socket module 1, and the cathodes are commonly connected to the emitter of the first transistor Q2. The collector of the first transistor Q2 is respectively connected to the anodes of the third diode D3 and the fourth diode D4 through the first resistor R4, and the cathode of the third diode D3 is connected to the anode of the second diode D2. and the socket module 1, the cathode of the fourth diode D4 is connected between the anode of the first diode D1 and the socket module 1; when the socket module 1 is connected to the external device 3 at the front, the first diode D1 is connected to the 5V power supply signal and the third diode D3 outputs the hot plug detection signal formed by the first transistor Q2; when the socket module 1 is connected to the external device 3 at the back, the second diode D2 is connected to the 5V power supply and the fourth diode D4 outputs the hot plug detection signal formed by the first transistor Q2.

[0026] The detection unit 22 includes a MOS tube Q1, a second resistor R6, a third resistor R7 and a fourth resistor R8. The gate of the MOS tube Q1 is connected to the emitter end of the first transistor Q2 through the second resistor R6, the VCC power supply is connected to the drain of the MOS tube Q1 through the third resistor R7, and the source of the MOS tube Q1 is connected to the processor trigger port of the back-end device 4 through the fourth resistor R8.

[0027] The reset unit 23 includes a second transistor Q3, a fifth resistor R2, and a sixth resistor R3. The base of the second transistor Q3 is connected to the processor control port of the back-end device 4, and its collector is connected to the base of the first transistor Q2 through the fifth resistor R2, and its emitter is grounded. One end of the sixth resistor R3 is connected to the emitter of the first transistor Q2, and the other end is connected between the fifth resistor and the base of the first transistor Q2.

[0028] A plurality of grounding capacitors C1 and C2 are connected in parallel to the common connection end of the cathodes of the first diode D1 and the second diode D2.

[0029] Among them, in the above, the complete front and back exchange module 2 is composed of switching, detection and reset, wherein the switching is the switching between the 5V power signal (+5V_POWER) and the hot plug detection signal (HOT_PLUG_DETECT) (i.e., role exchange), and only in this way can the external device 3 be in a stable working state. Detection is to let the processor of the back-end device 4 detect that the HDMI of the external device 3 is inserted, so as to be ready to work and process the HDMI signal received from the external device 3; reset is because a machine has multiple input ports or other signals, and this HDMI is not used for other uses. At this time, HDMI is in a ready state, and the hot plug detection signal is at a high level. When it returns to HDMI, HOT_PLUG_DETECT needs to be reset to avoid abnormalities.

[0030] Specifically, the switching workflow is as follows: assuming that when the front side of TYPE-C is inserted into HDMI, the 5V power signal is sent to the first transistor Q2 via the first diode D1, and then output to the hot plug detection signal pin (i.e., A5 pin) of the TYPE-C socket J1 via the first resistor R4 and the third diode D3; assuming that when the back side of TYPE-C socket J1 is inserted into HDMI (due to the role exchange of the front and back characteristics of TYPE-C, the original 5V power signal is replaced by the hot plug detection signal, and the hot plug detection signal is replaced by the 5V power signal), the 5V power signal is sent to the first transistor Q2 via the second diode D2, and then output to the hot plug detection signal pin (i.e., B5 pin) of the TYPE-C socket J1 via the first resistor R4 and the fourth diode D4. The external device 3 receives the high-level hot plug detection signal, so that the high level is triggered, and the HDMI signal such as HDMI digital high-definition video, audio, and communication instruction data is output to the processor of the back-end device 4 for processing.

[0031] Reset workflow: When the GPIO of the processor of the back-end device 4 outputs a low level to HDMI_HPD_RESET to cut off the second transistor Q3, the first transistor Q2 is also cut off, the hot plug detection signal has no output, and the HDMI signal of the external device 3 is in a stopped or ready state.

[0032] HDMI insertion detection workflow: When the TYPE-C socket J1 is plugged into the HDMI, the 5V power information flows into the first diode D1 or the second diode D2, and then the second resistor R6 is input to the gate of the MOS tube Q1. At this time, the MOS tube Q1 is in the on state, and the VCC voltage flows into the drain of the MOS tube Q1 through the third resistor R7 and then outputs from the source of the MOS tube Q1 through the fourth resistor R8 to the GPIO on the back-end processor. When the GPIO detects a high level, it means that the HDMI of the external device 4 is inserted and is ready to enter the HDMI signal processing state.

[0033] From the above embodiments, it can be seen that the present invention can simplify the circuit, reduce the cost, solve the switching problem between the 5V power supply of HDMI and the hot plug detection signal, and at the same time enable the back-end processor to detect the insertion of HDMI, avoiding abnormal misjudgment resulting in HDMI not being able to work properly. The HDMI input of the external device is more stable, without abnormalities, the detection is more in place, and the back-end processor receives more accurately and is more in line with the working timing of HDMI.

[0034] Although the present disclosure has been described with reference to several typical embodiments, it should be understood that the terms used are illustrative and exemplary, rather than restrictive. Since the present disclosure can be embodied in a variety of forms without departing from the spirit or essence of the invention, it should be understood that the above embodiments are not limited to any of the foregoing details, but should be interpreted broadly within the spirit and scope defined by the appended claims, so all changes and modifications falling within the scope of the claims or their equivalents should be covered by the appended claims.

Claims

1. A TYPE-C socket circuit, characterized in that: The circuit comprises a socket module and a front-rear exchange module connected to each other, wherein: The 24-pin pin in the socket module defines the 19-pin pin of the HDMI socket, so that the socket module can transmit HDMI signals; The front and back switching module includes a switching unit, a detection unit and a reset unit. When the socket module is connected to the front or back of the external device, the switching unit is used to convert the input 5V power supply signal into a high-level hot plug detection signal and return it to the socket module, so that the socket module returns to trigger the external device to output an HDMI signal. The detection unit is connected to the switching unit and is used to be turned on under the triggering of the 5V power supply signal undertaken by the switching unit. After being turned on, the high-level VCC power supply can trigger the back-end device to prepare to process the HDMI signal. The reset unit is used to cause the switching unit to stop outputting the hot plug detection signal under the triggering of the low-level control signal of the back-end device; The switching unit includes a first diode, a second diode, a third diode and a fourth diode, a first transistor and a first resistor. The anodes of the first diode and the second diode are respectively connected to the socket module, and the cathodes are commonly connected to the emitter of the first transistor. The collector of the first transistor is respectively connected to the anodes of the third diode and the fourth diode through the first resistor. The cathode of the third diode is connected between the anode of the second diode and the socket module, and the cathode of the fourth diode is connected between the anode of the first diode and the socket module. When the socket module is connected to the external device at the front, the first diode is connected to the 5V power supply signal and the third diode outputs the hot plug detection signal formed by the first transistor. When the socket module is connected to the external device at the back, the second diode is connected to the 5V power supply and the fourth diode outputs the hot plug detection signal formed by the first transistor.

2. The TYPE-C socket circuit according to claim 1, characterized in that: The detection unit includes a MOS tube, a second resistor, a third resistor and a fourth resistor, the gate of the MOS tube is connected to the emitter end of the first transistor through the second resistor, the VCC power supply is connected to the drain of the MOS tube through the third resistor, and the source of the MOS tube is connected to the processor trigger port of the back-end device through the fourth resistor.

3. The TYPE-C socket circuit according to claim 1, characterized in that: The reset unit includes a second transistor, a fifth resistor, and a sixth resistor. The base of the second transistor is connected to the processor control port of the back-end device, the collector of the second transistor is connected to the base of the first transistor through the fifth resistor, and the emitter of the second transistor is grounded. One end of the sixth resistor is connected to the emitter of the first transistor, and the other end of the sixth resistor is connected between the fifth resistor and the base of the first transistor.

4. The TYPE-C socket circuit according to claim 1, characterized in that: A plurality of grounding capacitors are also connected in parallel to the common connection end of the cathodes of the first diode and the second diode.