Interface circuit, equipment debugging method and system and electronic equipment

By designing an interface circuit that includes a controller, a connection module and a switching module, the problem of the projector's lack of external serial port interface during debugging and after-sales analysis is solved, enabling debugging and analysis without disassembly, avoiding equipment damage and simplifying operate.

CN119336676APending Publication Date: 2025-01-21HUIZHOU TCL MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411290314.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

During the debugging and after-sales analysis of the projector, the lack of an external serial port interface is caused by disassembly of the machine to obtain the serial port log, which is complicated to operate and easily lead to equipment damage.

Method used

A type of interface circuit is designed, including the controller, the connection module, and the switching module. By switching the module, the channel between the controller and the connection module according to the device type of the external access module can realize the automatic switch between the serial interface and the HDMI interface to avoid avoiding it to avoid Disassembled operation.

Benefits of technology

It realizes debugging and analysis of electronic equipment without disassembly, avoids equipment damage, simplifies the debugging and analysis process, and improves the convenience of operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119336676A_ABST
    Figure CN119336676A_ABST
Patent Text Reader

Abstract

The invention discloses an interface circuit, an equipment debugging method and system and electronic equipment, and the interface circuit comprises a controller which comprises a serial interface; the connection module is used for being connected with a serial port jig and outputting a first control signal when the connection module is connected with the serial port jig; the switching module is connected between the controller and the connecting module; the switching module is used for communicating the connecting module with the serial interface according to the first control signal; when the controller is communicated with the connecting module through the serial interface, the controller is used for outputting corresponding working state information and serial interface information. The debugging and analysis process of the electronic equipment can be simplified, and the electronic equipment is prevented from being damaged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic circuits, and in particular to an interface circuit, a projector and an electronic device. Background Art

[0002] During the R&D and debugging phase of the projector and after-sales problem analysis, in order to facilitate problem location, the CPU serial port log will be captured for analysis and location.

[0003] However, there is no serial port interface for debugging on the outside of the projector. When the projector has a misaligned program, in order to capture the serial port log, the machine must be disassembled to obtain the serial port log from the mainboard of the whole machine. However, disassembly often causes irreversible damage to some projector components and the operation is complicated. Summary of the invention

[0004] The present application provides an interface circuit, a device debugging method, a system and an electronic device, which can effectively alleviate the problems of easy device damage and complicated operation during the current debugging process of electronic equipment.

[0005] The present application provides an interface circuit, the interface circuit comprising:

[0006] A controller, the controller comprising a serial interface;

[0007] A connection module, the connection module is used to connect with the serial port fixture, and when the connection module is connected with the serial port fixture, it outputs a first control signal;

[0008] A switching module, the switching module is connected between the controller and the connection module; the switching module is used to connect the connection module to the serial interface according to the first control signal;

[0009] When the controller is connected to the connection module through the serial interface, the controller is used to output corresponding working status information and serial interface information.

[0010] In the interface circuit of some embodiments, the controller further comprises an HDMI interface; the connection module is further used to connect to a signal source, and output a second control signal when the connection module is connected to the signal source;

[0011] The switching module is also used to switch the connection module from being connected with the serial interface to being connected with the HDMI interface according to the second control signal;

[0012] When the controller is connected to the connection module through the HDMI interface, the controller is used to obtain information corresponding to the signal source.

[0013] In some embodiments, the interface circuit, the connection module includes:

[0014] A connector, the connector includes a connection port and a control port, the connection port is connected to the switching module, and the control port is connected to the switching module; the connection port is used to transmit working status information and serial interface information when a serial port fixture is connected, or to transmit display information when a signal source is connected; the control port is also used to be suspended when a serial port fixture is connected, or to output a second control signal when a signal source is connected;

[0015] The pull-down unit is connected to the control port; the pull-down unit is used to enable the control port to provide a first control signal when a serial port fixture is connected.

[0016] In some embodiments of the interface circuit, the connection port includes a first connection terminal and a second connection terminal.

[0017] In the interface circuit of some embodiments, the pull-down unit includes a resistor, one end of the resistor is connected to the control port, and the other end of the resistor is grounded.

[0018] In the interface circuit of some embodiments, the serial interface includes a first communication port and a second communication port; the HDMI interface includes a first signal port and a second signal port; the switching module includes a first normally closed contact, a second normally closed contact, a first normally open contact, a second normally open contact, a first moving contact, a second moving contact and an input port;

[0019] The first communication port is connected to the first normally closed contact, the second communication port is connected to the second normally closed contact, the first signal port is connected to the first normally open contact, and the second signal port is connected to the second normally open contact; the first moving contact is connected to the first connecting terminal, the second moving contact is connected to the second connecting terminal, and the input port is connected to the control port.

[0020] The embodiment of the present application further provides a device debugging method, which is applied to the above-mentioned interface circuit, and the device debugging method includes:

[0021] The connection module obtains a first control signal output by the serial fixture;

[0022] The switching module connects the connection module to the serial interface according to the first control signal;

[0023] The controller outputs the corresponding working status information and serial interface information.

[0024] An embodiment of the present application further provides an electronic device, which includes the above-mentioned interface circuit.

[0025] In some embodiments, the electronic device includes a projector.

[0026] An embodiment of the present application also provides a device debugging system, and the device system includes a serial port fixture and the above-mentioned electronic device.

[0027] The present application provides an interface circuit, device debugging method, system and electronic device, in which a controller and a connection module are connected through a switching module in the interface circuit, and the switching module switches the path between the controller and the connection module according to different external connected devices to achieve different communications; when the controller is connected to the connection module through a serial interface, the controller outputs the corresponding working status information and serial interface information to the serial port fixture, and then the serial port fixture analyzes and locates the problem according to the working status information and serial interface information, so as to facilitate the debugging and after-sales analysis of the electronic device. In this process, it is not necessary to disassemble the electronic device, so as to avoid damage to the electronic device and simplify the debugging and analysis process. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The technical solution and other beneficial effects of the present application will be made apparent by describing in detail the specific implementation methods of the present application in conjunction with the accompanying drawings.

[0029] Figure 1 A schematic diagram of the structure of the first embodiment of the interface circuit provided in the embodiments of the present application.

[0030] Figure 2 A schematic diagram of the structure of a second embodiment of the interface circuit provided in an embodiment of the present application.

[0031] Figure 3 A circuit diagram of a switching switch in an interface circuit provided in an embodiment of the present application.

[0032] Figure 4 A flowchart of a device debugging method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0034] In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance or implicitly indicating the number of technical features indicated. The features specified as "first" and "second" may explicitly or implicitly include one or more features. In the description of this application, "multiple" means two or more, unless otherwise clearly and specifically defined.

[0035] See also Figure 1 and Figure 2This embodiment provides an interface circuit 10, which is applied to an electronic device such as a projector. The interface circuit 10 includes a controller 11, a connection module 12 and a switching module 13, wherein the switching module 13 is connected between the connection module 12 and the controller 11, and the controller 11 includes a serial interface A1 and an HDMI interface A2.

[0036] Among them, the connection module 12 is used to connect with the serial port fixture 20, and when the connection module 12 is connected to the serial port fixture 20 module, the first control signal is output to the switching module 13. In the default state, the switching module 13 is used to connect the serial interface A1 with the connection module 12, so that a path is formed between the connection module 12 and the controller 11. When the switching module 13 receives the first control signal, the connection module 12 is connected to the serial interface A1. If the connection module 12 is connected to the HDMI interface A2, the switching module 13 switches the connection module 12 from being connected to the HDMI interface A2 to being connected to the serial interface A1. When the controller 11 is connected to the connection module 12 through the serial interface A1, the controller 11 outputs the corresponding working status information and the serial interface A1 information to the serial port fixture 20, and then the serial port fixture 20 analyzes and locates the problem according to the working status information and the serial interface A1 information, so as to facilitate the debugging or after-sales analysis of the electronic device. In this process, it is not necessary to disassemble the electronic device to avoid damage to the electronic device and simplify the debugging and analysis process.

[0037] In some embodiments, the connection module 12 is also used to connect to the signal source 30, and outputs a second control signal when the connection module 12 is connected to the signal source 30; the switching module 13 is also used to switch the connection module 12 from being connected to the serial interface A1 to being connected to the HDMI interface A2 to form another path according to the second control signal; when the controller 11 is connected to the connection module 12 through the HDMI interface A2, the controller 11 is used to obtain information corresponding to the signal source 30, such as image information. In this embodiment, by setting the switching module 13 to switch the path according to whether the externally connected signal source 30 is a serial port device, while satisfying the normal operation of the electronic device, it can also facilitate the debugging and analysis of the electronic device.

[0038] Please also read Figure 3In some embodiments, the connection module 12 includes a connector 121 and a pull-down unit 122. The connector 121 includes a connection port and a control port. The connection port is connected to the switching module 13, and the control port is connected to the switching module 13; the pull-down unit 122 is connected to the control port. The connection port is used to transmit working status information and serial interface A1 information when the serial port fixture 20 is connected, or to transmit display information when the signal source 30 is connected; the control port is also used to be suspended when the serial port fixture 20 is connected, or to output a second control signal such as a high-level signal when the signal source 30 is connected; the pull-down unit 122 is used to pull down the potential of the control port when the serial port fixture 20 is connected, so that the control port provides a first control signal, i.e., a low-level signal.

[0039] As an embodiment, the connector 121 is an HDMI connector 121, and the connection port of the connector 121 includes a first connection terminal such as PIN13 and a second connection terminal such as PIN14. The corresponding control terminal is such as PIN19. When the connector 121 is connected to the signal source 30, the control terminal can provide a 5V voltage, that is, provide a high-level signal to the switching module 13, so as to facilitate subsequent communication.

[0040] Please continue to Figure 3 As an embodiment, the pull-down unit 122 includes a resistor R1, one end of the resistor R1 is connected to the control port, and the other end of the resistor R1 is grounded. When the control end of the connector 121 is connected to the serial port fixture 20, the TX signal end of the serial port fixture 20 is connected to the second connection terminal, and the RX signal end of the serial port fixture 20 is connected to the first connection terminal. At this time, the control end of the connector 121 is suspended, and the signal of the control end is grounded by the resistor R1, so that the control end is a low-level signal.

[0041] As an embodiment, the serial interface A1 includes a first communication port and a second communication port; the HDMI interface A2 includes a first signal port and a second signal port; the switching module 13 includes a first normally closed contact NC1, a second normally closed contact NC2, a first normally open contact NO1, a second normally open contact NO2, a first moving contact COM1, a second moving contact COM2 and an input port IN; the first communication port is connected to the first normally closed contact NC1, the second communication port is connected to the second normally closed contact NC2, the first signal port is connected to the first normally open contact NO1, and the second signal port is connected to the second normally open contact NO2; the first moving contact COM1 is connected to the first connection terminal, the second moving contact COM2 is connected to the second connection terminal, and the input port IN is connected to the control port.

[0042] In the present application, the serial interface A1 of the controller 11 is connected to the first normally closed contact NC1 and the second normally closed contact NC2 of the analog switch, and the HDMI interface A2 of the controller 11 is connected to the first normally open contact NO1 and the second normally open contact NO2 of the analog switch; the first moving contact COM1 and the second moving contact COM2 of the analog switch are connected to the first connection terminal and the second connection terminal of the connector 121, and the input port IN of the analog switch is connected to the control port of the connector 121. When the control port is at a low level or in a suspended state, the first moving contact COM1 of the analog switch is connected to the first normally closed contact NC1, and the second moving contact COM2 is connected to the second normally closed contact NC2; when the control port is at a high level, the first moving contact COM1 of the analog switch is connected to the first normally open contact NO1, and the second moving contact COM2 is connected to the second normally open contact NO2. Therefore, the interface circuit 10 in the present embodiment can be different according to different usage scenarios, and the analog switch working state is also different according to the different levels of the input port IN in the analog switch, so as to realize the switching of different scenarios.

[0043] Specifically, when the connector 121 is connected to the signal source 30, the connector 121 as a sink end is connected to the corresponding source end, and the control end of the connector 121 will output a voltage of 5V, that is, a high-level signal to the switching module 13. The switching module 13 in this embodiment is an analog switch, and the input port IN of the analog switch receives a high-level signal, and the first moving contact COM1 of the analog switch is switched to connect to the first normally open contact NO1, and the second moving contact COM2 of the analog switch is switched to the second normally open contact NO2. At this time, the signal at the source end is normally transmitted to the controller 11 to realize communication transmission.

[0044] When the connector 121 is connected to the serial port fixture 20, the TX signal end of the serial port fixture 20 is connected to the second connection terminal, and the RX signal end of the serial port fixture 20 is connected to the first connection terminal. At this time, the control end of the connector 121 is in a suspended state. The input port IN of the analog switch is grounded through the resistor R1. At this time, the input port IN of the analog switch is in a low level state, the first moving contact COM1 of the analog switch is connected to the first normally closed contact NC1, and the second moving contact COM2 of the analog switch is connected to the second normally closed contact NC2. At this time, the TX signal end and the RX signal end of the serial port fixture 20 are respectively connected to the first communication port such as the TX port and the second communication port such as the RX port of the controller 11 through the analog switch. The serial port fixture 20 completes the communication with the controller 11, and the working status information of the controller 11 is obtained through the serial interface A1. By printing the serial interface A1 information, the abnormal cause of the electronic device at this time can be determined, so as to facilitate the debugging or after-sales analysis of the electronic device. In this process, it is not necessary to disassemble the electronic device to avoid damage to the electronic device, and the debugging and analysis process is simplified.

[0045] The embodiment of the present application also provides an electronic device, which includes the above-mentioned interface circuit. The electronic device may be a projector, and when the projector is connected to a signal source, image information corresponding to the signal source may be obtained for display. Since the interface circuit is described in detail above, it will not be repeated here.

[0046] The embodiment of the present application also provides a device debugging system, which includes a serial port fixture and the above-mentioned electronic device, the serial port fixture is electrically connected to the electronic device, and is used to obtain serial interface information in the electronic device and working status information of the controller, so as to facilitate debugging and after-sales analysis of the electronic device. Since the interface circuit is described in detail above, it will not be repeated here.

[0047] See also Figure 4 The embodiment of the present application further provides a device debugging method, which is applied to the above-mentioned interface circuit and specifically includes:

[0048] 100. The connection module obtains a first control signal output by the serial fixture;

[0049] 200. The switching module connects the connection module to the serial interface according to the first control signal;

[0050] 300. The controller outputs corresponding working status information and serial interface information.

[0051] The interface circuit in this embodiment obtains the first control signal output by the serial fixture by the connection module, and when the switching module receives the first control signal, the switching module connects the connection module to the serial interface. If the connection module is connected to the HDMI interface, the switching module switches the connection module from being connected to the HDMI interface to being connected to the serial interface. When the controller is connected to the connection module through the serial interface, the controller outputs the corresponding working status information and serial interface information to the serial port fixture, and then the serial port fixture analyzes and locates the problem based on the working status information and serial interface information, so as to facilitate the debugging or after-sales analysis of the electronic device. In this process, it is not necessary to disassemble the electronic device, so as to avoid damage to the electronic device and simplify the debugging and analysis process.

[0052] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0053] The interface circuit provided in the embodiments of the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the technical solutions and core ideas of the present application. Ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some of the technical features therein with equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. An interface circuit, characterized in that: The interface circuit comprises: a controller, the controller comprising a serial interface; A connection module, the connection module is used to connect with the serial port fixture, and when the connection module is connected with the serial port fixture, it outputs a first control signal; A switching module, the switching module is connected between the controller and the connection module; the switching module is used to connect the connection module to the serial interface according to the first control signal; When the controller is connected to the connection module through the serial interface, the controller is used to output corresponding working status information and serial interface information.

2. The interface circuit according to claim 1, characterized in that: The controller further comprises an HDMI interface; the connection module is further used to connect to a signal source, and output a second control signal when the connection module is connected to the signal source; The switching module is further used to switch the connection module from being connected with the serial interface to being connected with the HDMI interface according to the second control signal; When the controller is connected to the connection module through the HDMI interface, the controller is used to obtain output information corresponding to the signal source.

3. The interface circuit according to claim 2, characterized in that: The connection module comprises: A connector, the connector comprising a connection port and a control port, the connection port being connected to the switching module, and the control port being connected to the switching module; the connection port being used to transmit the working status information and the serial interface information when the serial port fixture is connected, or to transmit the corresponding output information when the signal source is connected; the control port being further used to be suspended when the serial port fixture is connected, or to output the second control signal when the signal source is connected; A pull-down unit is connected to the control port; the pull-down unit is used to enable the control port to provide the first control signal when the serial port fixture is connected.

4. The interface circuit according to claim 3, characterized in that: The connection port includes a first connection terminal and a second connection terminal.

5. The interface circuit according to claim 3, characterized in that: The pull-down unit includes a resistor, one end of the resistor is connected to the control port, and the other end of the resistor is grounded.

6. The interface circuit according to claim 4 or 5, characterized in that: The serial interface includes a first communication port and a second communication port; the HDMI interface includes a first signal port and a second signal port, and the switching module includes a first normally closed contact, a second normally closed contact, a first normally open contact, a second normally open contact, a first moving contact, a second moving contact and an input port; The first communication port is connected to the first normally closed contact, the second communication port is connected to the second normally closed contact, the first signal port is connected to the first normally open contact, and the second signal port is connected to the second normally open contact; the first moving contact is connected to the first connecting terminal, the second moving contact is connected to the second connecting terminal, and the input port is connected to the control port.

7. A device debugging method, characterized in that: The device debugging method is applied to the interface circuit according to any one of claims 1 to 6, and the device debugging method includes: The connection module obtains a first control signal output by the serial fixture; The switching module connects the connection module with the serial interface according to the first control signal; The controller outputs corresponding working status information and serial interface information.

8. An electronic device, characterized in that: The electronic device comprises the interface circuit as claimed in any one of claims 1 to 6.

9. The electronic device according to claim 8, characterized in that: The electronic device includes a projector.

10. A device debugging system, characterized in that: The device system comprises a serial port fixture and the electronic device as claimed in claim 8 or 9.