CEC instruction converter controlled by upper computer
By designing a CEC command converter controlled by the host computer and using HDMI interface and infrared control, the problem of high system complexity and high cost when managing multiple devices is solved, automatic centralized control of audio and video equipment is realized, and the system complexity is reduced. and cost.
Patent Information
- Application Number
- CN202420485403.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-13
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2034-03-13
AI Technical Summary
The existing technology cannot achieve effective automated control when managing multiple audio and video source devices and display devices, resulting in high system complexity and high cost, and the inability to achieve complete centralized control.
Design a CEC command converter controlled by the host computer to realize CEC control of source equipment and display equipment through HDMI input interface circuit, HDMI output interface circuit, level conversion circuit, infrared emission unit and protocol conversion control unit. Connect to the host computer via USB or RS232, and convert the commands into HDMI CEC commands for control.
It realizes the direct centralized control of the closed system audio and video equipment by the host computer, simplifies the system, reduces the system cost, and improves the system flexibility and adaptability.
Smart Images

Figure CN221860869U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of CEC (Consumer Electronics Control) instruction conversion, in particular to a CEC instruction converter controlled by a host computer. Background Art
[0002] At present, most household appliances are operated and controlled by infrared remote control or buttons. Centralized control between different devices is achieved through the CEC function of the HDMI interface. CEC allows users to centrally control all interconnected devices through the remote control of the display device. This is sufficient for home use or when the number of devices is small, but it cannot be achieved if there are many devices to be managed or if a computer or other host computer is required for automatic control.
[0003] In some applications where there are a large number of audio and video source devices and display devices, such as display control centers, it is time-consuming and laborious to manually control or set up each device, and it cannot meet the requirements. Centralized management must be carried out with the help of computers and other automatic control equipment. However, most audio and video equipment is a closed system and cannot be directly connected and communicated with computers and other host computers. This leads to the need to add many intermediate signal processors or controllers when building the system, which makes the system complex and costly. It is even impossible to fully achieve centralized control. Utility Model Content
[0004] The purpose of the utility model is to overcome the shortcomings of the prior art and provide a CEC command converter controlled by a host computer, thereby reducing the complexity and cost of the system.
[0005] The utility model adopts the following technical scheme to achieve the above-mentioned purpose. The utility model provides a CEC command converter controlled by a host computer, which is used for CEC control of a source device and a display device. The CEC command converter includes an HDMI input interface circuit 101, an HDMI output interface circuit 102, a level conversion circuit 103, an infrared transmitting unit 104 and a protocol conversion control unit 105. The level conversion circuit 103 is connected to the host computer, the HDMI input interface circuit 101 is connected to the source device, and the HDMI output interface circuit 102 is connected to the display device. The protocol conversion control unit 105 is respectively connected to the level conversion circuit 103, the infrared transmitting unit 104, the HDMI input interface circuit 101 and the HDMI output interface circuit 102, and the HDMI input interface circuit 101 is connected to the HDMI output interface circuit 102.
[0006] Furthermore, the HDMI input interface circuit 101 specifically includes a third resistor R3, a fourth resistor R4, a fifth resistor R5, a first MOS tube Q1 and a second MOS tube Q2, the source of the first MOS tube Q1 is connected to the protocol conversion control unit 105, and the drain is connected to the HDMI input interface, the gate of the first MOS tube Q1 is connected to the gate of the second MOS tube Q2, the source of the second MOS tube Q2 is connected to the protocol conversion control unit 105, the drain of the second MOS tube Q2 is connected to the HDMI output interface, the third resistor R3 and the fourth resistor R4 are connected between the source of the first MOS tube Q1 and the source of the second MOS tube Q2, and the fifth resistor R5 is connected between the drain of the first MOS tube Q1 and the drain of the second MOS tube Q2.
[0007] Furthermore, the HDMI output interface circuit 102 specifically includes a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a third MOS transistor Q3 and a fourth MOS transistor Q4, the source of the third MOS transistor Q3 is connected to the protocol conversion control unit 105, the drain is connected to the HDMI output interface, the gate of the third MOS transistor Q3 is connected to the gate of the fourth MOS transistor Q4, the source of the fourth MOS transistor Q4 is connected to the protocol conversion control unit 105, the drain of the fourth MOS transistor Q4 is connected to the HDMI output interface, the sixth resistor R6 and the seventh resistor R7 are connected between the sources of the third MOS transistor Q3 and the fourth MOS transistor Q4, and the eighth resistor R8 and the ninth resistor R9 are connected between the drains of the third MOS transistor Q3 and the fourth MOS transistor Q4.
[0008] Furthermore, the HDMI input interface circuit 101 specifically also includes an eighteenth resistor R18, a nineteenth resistor R19 and a fifth MOS tube Q5, the gate of the fifth MOS tube Q5 is connected to the HDMI input interface, and is connected to the drain of the fifth MOS tube Q5 through the nineteenth resistor R19, the drain of the fifth MOS tube Q5 is connected to the first voltage terminal M3V3 through the eighteenth resistor R18, and the drain of the fifth MOS tube Q5 is also connected to the protocol conversion control unit 105.
[0009] Furthermore, the HDMI output interface circuit 102 specifically includes a twentieth resistor R20, a twenty-first resistor R21, a twenty-second resistor R22, a sixth MOS transistor Q6, and a seventh MOS transistor Q7. The gate of the sixth MOS transistor Q6 is connected to the protocol conversion control unit 105 through the twenty-second resistor R22, the source is grounded, the drain is connected to the gate of the seventh MOS transistor Q7, the drain of the seventh MOS transistor Q7 is connected to the HDMI output interface, the source of the seventh MOS transistor Q7 is connected to the gate of the seventh MOS transistor Q7 through the twenty-first resistor R21, the source of the seventh MOS transistor Q7 is connected to the drain of the seventh MOS transistor Q7 through the twentieth resistor R20, and the source of the seventh MOS transistor Q7 is connected to the second voltage terminal 5V.
[0010] Furthermore, the level conversion circuit 103 specifically includes a conversion chip IC2, a fourteenth resistor R14, a fifteenth resistor R15, an eighth capacitor C8 and a ninth capacitor C9. The first and second pins of the conversion chip IC2 are connected to the host computer through a USB interface, the third pin is grounded, the seventh pin is grounded through the ninth capacitor C9, and is connected to the third voltage terminal 3V3, the eighth pin is connected to the protocol conversion control unit 105 through the fifteenth resistor R15, the ninth pin is connected to the protocol conversion control unit 105 through the fourteenth resistor R14, the tenth pin is grounded through the eighth capacitor C8, and is connected to the third voltage terminal 3V3.
[0011] Beneficial effects of the utility model:
[0012] The utility model is connected to the host computer through USB (Universal Serial Bus) or RS232, and is connected to the source device and the display device through the HDMI interface, and converts the instructions issued by the host computer into HDMICEC instructions to complete the control of the audio and video equipment. In this way, the host computer can directly control these closed system audio and video equipment in a centralized manner, simplifying the system and reducing the system cost.
[0013] The utility model can also perform CEC control on the source device and the display device at the same time through CEC instructions, and can also control the source device or the display device separately, and return the device status to the host computer, thereby improving the flexibility of the system.
[0014] The one-way HDMI input port and one-way HDMI output port of the utility model can be connected in series at any position of the HDMI connection system without occupying the interface resources of the original system.
[0015] The utility model can also convert the instructions sent by the host computer into infrared instructions to realize the control of peripheral equipment, thereby improving the adaptability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a structural diagram of a CEC command converter controlled by a host computer provided by an embodiment of the utility model;
[0017] Figure 2 This is a structural block diagram of a CEC command converter controlled by a host computer provided by an embodiment of the utility model;
[0018] Figure 3 This is a schematic diagram of an HDMI input interface provided by an embodiment of the utility model;
[0019] Figure 4 This is a schematic diagram of an HDMI output interface provided by an embodiment of the utility model;
[0020] Figure 5 It is a schematic diagram of a partial circuit structure of the HDMI input interface circuit 101 provided in an embodiment of the utility model;
[0021] Figure 6 It is a schematic diagram of a partial circuit structure of the HDMI output interface circuit 102 provided in an embodiment of the utility model;
[0022] Figure 7 It is a schematic diagram of a partial circuit structure of the HDMI input interface circuit 101 provided in an embodiment of the utility model;
[0023] Figure 8 It is a schematic diagram of a partial circuit structure of the HDMI output interface circuit 102 provided in an embodiment of the utility model;
[0024] Fig. 9 It is a schematic diagram of the structure of the infrared emission unit circuit 104 provided in an embodiment of the utility model;
[0025] Fig.10 It is a schematic diagram of a partial circuit structure of the HDMI input interface circuit 101 provided in an embodiment of the utility model;
[0026] Fig.11 1 is a schematic diagram of the circuit structure of the level conversion circuit 103 provided in an embodiment of the utility model;
[0027] Fig.12 It is a schematic diagram of the circuit structure of the protocol conversion control unit 105 provided in an embodiment of the utility model;
[0028] In the drawings, 1 is the converter body, 10 is the housing body, 11 is the control circuit board, 12 is the input panel, and 13 is the output panel. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present utility model clearer, the technical solution in the embodiments of the present utility model will be clearly and completely described below in conjunction with the drawings in the embodiments of the present utility model.
[0030] like Figure 1 As shown, the utility model provides a CEC command converter controlled by a host computer, including a converter body 1. The converter body 1 is composed of a housing body 10, a control circuit board 11, an input panel 12 and an output panel 13. The control circuit board 11 is located in the housing body 10, and the control circuit board 11 includes an HDMI input interface circuit 101, an HDMI output interface circuit 102, a level conversion circuit 103, an infrared emission unit 104, and a protocol conversion control unit 105.
[0031] like Figure 2 As shown, the level conversion circuit 103 is connected to the host computer, the HDMI input interface circuit 101 is connected to the source device, the HDMI output interface circuit 102 is connected to the display device, the protocol conversion control unit 105 is respectively connected to the level conversion circuit 103, the infrared transmitting unit 104, the HDMI input interface circuit 101 and the HDMI output interface circuit 102, and the HDMI input interface circuit 101 is connected to the HDMI output interface circuit 102.
[0032] After the host computer issues an operation instruction, it is converted into a TTL level signal through the level conversion circuit 103 and then transmitted to the protocol conversion control unit 105. After parsing the instruction, the protocol conversion control unit 105 converts it into a corresponding CEC instruction, which is sent to the source device through the input interface circuit 101 and to the display device through the HDMI output interface circuit 102. At the same time, it can also be converted into an infrared control instruction and transmitted through the infrared transmitting unit 104.
[0033] The HDMI audio and video signals are directly bypassed from the HDMI input interface circuit 101 to the HDMI output interface circuit 102 .
[0034] The CEC message received by the HDMI input interface circuit 101 and the HDMI output interface circuit 102 will be parsed by the protocol conversion control unit 105, and the CEC message will be directly replied or reported to the host computer through the level conversion circuit 103 according to the situation.
[0035] Among them, the circuit structures of the HDMI input interface and the HDMI output interface are as follows: Figure 3 , Figure 4 shown.
[0036] like Figure 5As shown, it is a partial circuit structure of the HDMI input interface circuit 101, which is used for level conversion of CEC signals. The structure specifically includes a third resistor R3, a fourth resistor R4, a fifth resistor R5, a first MOS transistor Q1 and a second MOS transistor Q2. The source of the first MOS transistor Q1 is connected to the fourteenth pin of the chip IC3 of the protocol conversion control unit 105, and the drain is connected to the HDMI input interface. The gate of the first MOS transistor Q1 is connected to the gate of the second MOS transistor Q2. The source of the second MOS transistor Q2 is connected to the fifteenth pin of the chip IC3 of the protocol conversion control unit 105. The drain of the second MOS transistor Q2 is connected to the HDMI output interface. The third resistor R3 and the fourth resistor R4 are connected between the source of the first MOS transistor Q1 and the source of the second MOS transistor Q2. The fifth resistor R5 is connected between the drain of the first MOS transistor Q1 and the drain of the second MOS transistor Q2.
[0037] like Figure 6 As shown, a partial circuit structure of the HDMI output interface circuit 102 is used for level conversion of the clock and data lines of the DDC auxiliary channel. The structure specifically includes a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a third MOS transistor Q3 and a fourth MOS transistor Q4. The source of the third MOS transistor Q3 is connected to the twelfth pin of the chip IC3 of the protocol conversion control unit 105, and the drain is connected to the HDMI output interface. The gate of the third MOS transistor Q3 is connected to the gate of the fourth MOS transistor Q4. The source of the fourth MOS transistor Q4 is connected to the eleventh pin of the chip IC3 of the protocol conversion control unit 105. The drain of the fourth MOS transistor Q4 is connected to the HDMI output interface. The sixth resistor R6 and the seventh resistor R7 are connected between the sources of the third MOS transistor Q3 and the fourth MOS transistor Q4. The eighth resistor R8 and the ninth resistor R9 are connected between the drains of the third MOS transistor Q3 and the fourth MOS transistor Q4.
[0038] like Figure 7 As shown, a partial circuit structure of the HDMI input interface circuit 101 is used for hot plugging state detection of the HDMI line. The structure specifically includes an eighteenth resistor R18, a nineteenth resistor R19 and a fifth MOS transistor Q5. The gate of the fifth MOS transistor Q5 is connected to the HDMI input interface and is connected to the drain of the fifth MOS transistor Q5 through the nineteenth resistor R19. The drain of the fifth MOS transistor Q5 is connected to the first voltage terminal M3V3 through the eighteenth resistor R18. The drain of the fifth MOS transistor Q5 is also connected to the fifth pin of the chip IC3 of the protocol conversion control unit 105.
[0039] like Figure 8As shown, a partial circuit structure of the HDMI output interface circuit 102 is used to control the output state of the 18th PIN 5V of the HDMI output terminal. The structure specifically includes a 20th resistor R20, a 21st resistor R21, a 22nd resistor R22, a sixth MOS transistor Q6 and a seventh MOS transistor Q7. The gate of the sixth MOS transistor Q6 is connected to the 17th pin of the chip IC3 of the protocol conversion control unit 105 through the 22nd resistor R22, the source is grounded, the drain is connected to the gate of the seventh MOS transistor Q7, the drain of the seventh MOS transistor Q7 is connected to the HDMI output interface, the source of the seventh MOS transistor Q7 is connected to the gate of the seventh MOS transistor Q7 through the 21st resistor R21, the source of the seventh MOS transistor Q7 is connected to the drain of the seventh MOS transistor Q7 through the 20th resistor R20, and the source of the seventh MOS transistor Q7 is connected to the second voltage terminal 5V.
[0040] like Fig. 9 As shown, the structure of the infrared emission unit circuit 104 specifically includes an infrared connector J4, model PJ320D, resistors R23, R24, R25, and capacitor C10. The first pin of the infrared connector J4 is grounded, the second pin is connected to the twentieth pin of the chip IC3 through the resistor R25, the third pin is grounded through the resistor R24, the resistor R23 and the capacitor C10, and is connected to the 3.3V voltage terminal M3V3 through the resistor R24 and the resistor R23, and the fourth pin is connected to the 3.3V voltage terminal M3V3.
[0041] like Fig.10 FIG. 1 shows a partial circuit structure of the HDMI input interface circuit 101, which is used for voltage detection of the 18th pin of the HDMI input port to determine the connection status of the HDMI line. The structure specifically includes resistors R16 and R17. The 18th pin of the HDMI input interface is grounded through resistors R16 and R17, and is connected to the first pin of the chip IC3 through resistor R16.
[0042] like Fig.11 As shown, the circuit structure of the level conversion circuit 103 specifically includes a conversion chip IC2, a fourteenth resistor R14, a fifteenth resistor R15, an eighth capacitor C8 and a ninth capacitor C9. The first and second pins of the conversion chip IC2 are connected to the host computer through a USB interface, the third pin is grounded, the seventh pin is grounded through the ninth capacitor C9, and is connected to the third voltage terminal 3V3, the eighth pin is connected to the third pin of the chip IC3 of the protocol conversion control unit 105 through the fifteenth resistor R15, the ninth pin is connected to the second pin of the chip IC3 of the protocol conversion control unit 105 through the fourteenth resistor R14, the tenth pin is grounded through the eighth capacitor C8, and is connected to the third voltage terminal 3V3.
[0043] like Fig.12As shown, the circuit structure of the protocol conversion control unit 105 provided in an embodiment of the utility model.
[0044] The above is only a preferred embodiment of the utility model. It should be understood that the utility model is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art do not deviate from the spirit and scope of the utility model, and should be within the scope of protection of the claims attached to the utility model.
Claims
1. A CEC command converter controlled by a host computer, used to perform CEC control on a source device and a display device, characterized in that: The CEC command converter comprises an HDMI input interface circuit (101), an HDMI output interface circuit (102), a level conversion circuit (103), an infrared emitting unit (104) and a protocol conversion control unit (105); the level conversion circuit (103) is connected to a host computer; the HDMI input interface circuit (101) is connected to a source device; the HDMI output interface circuit (102) is connected to a display device; the protocol conversion control unit (105) is respectively connected to the level conversion circuit (103), the infrared emitting unit (104), the HDMI input interface circuit (101) and the HDMI output interface circuit (102); and the HDMI input interface circuit (101) is connected to the HDMI output interface circuit (102).
2. The CEC command converter controlled by a host computer according to claim 1, characterized in that: The HDMI input interface circuit (101) specifically comprises a third resistor (R3), a fourth resistor (R4), a fifth resistor (R5), a first MOS tube (Q1) and a second MOS tube (Q2); the source of the first MOS tube (Q1) is connected to a protocol conversion control unit (105), the drain is connected to an HDMI input interface, the gate of the first MOS tube (Q1) is connected to a gate of the second MOS tube (Q2), the source of the second MOS tube (Q2) is connected to the protocol conversion control unit (105), the drain of the second MOS tube (Q2) is connected to an HDMI output interface, the third resistor (R3) and the fourth resistor (R4) are connected between the source of the first MOS tube (Q1) and the source of the second MOS tube (Q2), and the fifth resistor (R5) is connected between the drain of the first MOS tube (Q1) and the drain of the second MOS tube (Q2).
3. The CEC command converter controlled by a host computer according to claim 2, characterized in that: The HDMI output interface circuit (102) specifically includes a sixth resistor (R6), a seventh resistor (R7), an eighth resistor (R8), a ninth resistor (R9), a third MOS tube (Q3) and a fourth MOS tube (Q4); the source of the third MOS tube (Q3) is connected to the protocol conversion control unit (105), the drain is connected to the HDMI output interface, the gate of the third MOS tube (Q3) is connected to the gate of the fourth MOS tube (Q4), the source of the fourth MOS tube (Q4) is connected to the protocol conversion control unit (105), the drain of the fourth MOS tube (Q4) is connected to the HDMI output interface, the sixth resistor (R6) and the seventh resistor (R7) are connected between the sources of the third MOS tube (Q3) and the fourth MOS tube (Q4), and the eighth resistor (R8) and the ninth resistor (R9) are connected between the drains of the third MOS tube (Q3) and the fourth MOS tube (Q4).
4. The CEC command converter controlled by a host computer according to claim 3, characterized in that: The HDMI input interface circuit (101) specifically further comprises an eighteenth resistor (R18), a nineteenth resistor (R19) and a fifth MOS transistor (Q5); the gate of the fifth MOS transistor (Q5) is connected to the HDMI input interface and is connected to the drain of the fifth MOS transistor (Q5) via the nineteenth resistor (R19); the drain of the fifth MOS transistor (Q5) is connected to the first voltage terminal (M3V3) via the eighteenth resistor (R18); and the drain of the fifth MOS transistor (Q5) is also connected to the protocol conversion control unit (105).
5. The CEC command converter controlled by a host computer according to claim 4, characterized in that: The HDMI output interface circuit (102) specifically includes a twentieth resistor (R20), a twenty-first resistor (R21), a twenty-second resistor (R22), a sixth MOS transistor (Q6) and a seventh MOS transistor (Q7); the gate of the sixth MOS transistor (Q6) is connected to the protocol conversion control unit (105) through the twenty-second resistor (R22); the source is grounded; the drain is connected to the gate of the seventh MOS transistor (Q7); the drain of the seventh MOS transistor (Q7) is connected to the HDMI output interface; the source of the seventh MOS transistor (Q7) is connected to the gate of the seventh MOS transistor (Q7) through the twenty-first resistor (R21); the source of the seventh MOS transistor (Q7) is connected to the drain of the seventh MOS transistor (Q7) through the twentieth resistor (R20); and the source of the seventh MOS transistor (Q7) is connected to the second voltage terminal (5V).
6. The CEC command converter controlled by a host computer according to claim 5, characterized in that: The level conversion circuit (103) specifically comprises a conversion chip (IC2), a fourteenth resistor (R14), a fifteenth resistor (R15), an eighth capacitor (C8) and a ninth capacitor (C9); the first pin and the second pin of the conversion chip (IC2) are connected to a host computer via a USB interface, the third pin is grounded, the seventh pin is grounded via a ninth capacitor (C9) and connected to a third voltage terminal (3V3), the eighth pin is connected to a protocol conversion control unit (105) via a fifteenth resistor (R15), the ninth pin is connected to a protocol conversion control unit (105) via a fourteenth resistor (R14), the tenth pin is grounded via an eighth capacitor (C8) and connected to the third voltage terminal (3V3).
