Insertion detection circuit, insertion detection system and terminal equipment
By designing an insertion detection circuit including a coupling unit, a switching unit and a pull-up unit, the problem of chip overvoltage in the prior art is solved, and effective detection of insertion of external devices and stable wake-up of terminal devices is realized.
Patent Information
- Application Number
- CN202421252159.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2034-06-03
AI Technical Summary
Existing insertion detection circuits may cause chip overvoltage and damage when detecting insertion of external devices.
An insertion detection circuit is designed, including a plurality of coupling units, a first switching unit, a second switching unit and a pull-up unit. When the external device is inserted, the coupling unit outputs a detection signal, the first switching unit and the second switching unit are turned on, and the pull-up unit pulls up the voltage of the power supply power to the target voltage, ensuring that the wake-up pin of the chip can be detected.
By isolating external devices and chips, protecting the chip from overvoltage damage and effectively waking up the terminal device when external devices are inserted is detected.
Smart Images

Figure CN222784568U_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of insertion detection, and in particular, relates to an insertion detection circuit, an insertion detection system and a terminal device. Background Art
[0002] Signal source insertion wake-up technology is widely used in ultra-high-definition terminal equipment. Such products usually have multiple signal source input channels, and each channel is equipped with an independent wake-up mechanism. When the device is turned off, when an external signal source is inserted, the ultra-high-definition terminal device is awakened and turned on to enter the working state. In the currently used insertion detection circuit, when an external device is inserted, the external power signal passes through the capacitor, discharge resistor, diode and voltage divider resistor, and is transmitted to the wake-up pin of the chip. By judging the effective level generated during insertion, it is determined whether an external device is inserted. However, the external power signal directly enters the wake-up pin of the chip through capacitors, diodes and resistors. Since the chip is a weak signal processor, when the external power signal fluctuates, it may cause the chip to be over-voltage and damaged. Utility Model Content
[0003] The embodiments of the present application provide an insertion detection circuit, an insertion detection system and a terminal device, which can solve the problem that the existing insertion detection circuit may cause chip overvoltage and damage when detecting whether an external device is inserted.
[0004] In a first aspect, an embodiment of the present application provides an insertion detection circuit, comprising a plurality of coupling units, a first switch unit, a second switch unit and a pull-up unit, wherein the first switch unit is electrically connected to all the coupling units and the second switch unit respectively, the second switch unit is electrically connected to the pull-up unit, the second switch unit is used to be electrically connected to a power supply, and the pull-up unit is used to be electrically connected to a wake-up pin of a chip;
[0005] When an external device is electrically connected to the coupling unit, the coupling unit is used to output a first detection signal, the first switch unit is used to turn on according to the first detection signal, the second switch unit is turned on, and the pull-up unit is used to pull up the power supply voltage output by the power supply to a target voltage, and the target voltage is a voltage that can be detected by the wake-up pin of the chip.
[0006] In a possible implementation of the first aspect, the coupling unit includes a first capacitor and a first resistor, the first end of the first capacitor is used to be electrically connected to the external device, the second end of the first capacitor is electrically connected to the first end of the first resistor, and the second end of the first resistor is electrically connected to the first switch unit.
[0007] In a possible implementation of the first aspect, the first switching unit includes a second resistor and a first transistor, the first end of the second resistor is electrically connected to the base of the first transistor and all the coupling units respectively, the collector of the first transistor is electrically connected to the second switching unit, and the emitter of the first transistor and the second end of the second resistor are both grounded.
[0008] In a possible implementation of the first aspect, the second switch unit includes a third resistor, a fourth resistor, and a second transistor, the first end of the third resistor is electrically connected to the emitter of the second transistor and the power supply, respectively, the second end of the third resistor is electrically connected to the first end of the fourth resistor and the first switch unit, respectively, the base of the second transistor is electrically connected to the second end of the fourth resistor, and the collector of the second transistor is electrically connected to the pull-up unit.
[0009] In a possible implementation manner of the first aspect, the second switch unit further includes a fifth resistor, a first end of the fifth resistor is electrically connected to the collector of the second transistor and the pull-up unit respectively, and a second end of the fifth resistor is grounded.
[0010] In a possible implementation of the first aspect, the second switching unit also includes a second capacitor, a first end of the second capacitor is electrically connected to the emitter of the second transistor and the first end of the third resistor, and a second end of the second capacitor is electrically connected to the base of the second transistor and the second end of the fourth resistor.
[0011] In a possible implementation manner of the first aspect, the pull-up unit includes a sixth resistor, a first end of the sixth resistor is electrically connected to the second switch unit, and a second end of the sixth resistor is used to be electrically connected to a wake-up pin of the chip.
[0012] In a second aspect, an embodiment of the present application provides an insertion detection system, including a power supply, a chip, and the insertion detection circuit described in any one of the first aspects, wherein the power supply is electrically connected to a second switch unit in the insertion detection circuit, and the chip is electrically connected to a pull-up unit in the insertion detection circuit;
[0013] When the external device is electrically connected to the insertion detection circuit, the second switch unit is turned on, and the power supply outputs a voltage signal to the wake-up pin of the chip through the pull-up unit.
[0014] In a possible implementation manner of the second aspect, the insertion detection system further includes a display unit, which is electrically connected to the chip and is used to display a connection status between the insertion detection circuit and the external device.
[0015] In a third aspect, an embodiment of the present application provides a terminal device, comprising the insertion detection system described in any one of the second aspects.
[0016] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0017] The insertion detection circuit provided by the embodiment of the present application includes a plurality of coupling units, a first switch unit, a second switch unit and a pull-up unit. When the external device is electrically connected to the coupling unit, the coupling unit is used to output a first detection signal, the first switch unit is used to conduct according to the first detection signal, the second switch unit is turned on, and the pull-up unit can pull up the power supply voltage output by the power supply to the target voltage to ensure that the wake-up pin of the chip can be detected. It can be seen from this that the insertion detection circuit provided by the embodiment of the present application, when detecting the insertion of the external device, the first switch unit is turned on according to the first detection signal, and then the second switch unit is turned on, the pull-up unit pulls up the power supply voltage to the target voltage, and the wake-up pin of the chip detects the target voltage, thereby realizing the wake-up of the terminal device. In this process, the first switch unit and the second switch unit work together to effectively isolate the external device and the chip, and even if the power supply signal of the external device fluctuates, it will not be directly transmitted to the chip, thereby protecting the chip from damage by overvoltage. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0019] Figure 1 It is a circuit connection diagram of an existing insertion detection circuit;
[0020] Figure 2 is a principle block diagram of an insertion detection circuit provided in an embodiment of the present application;
[0021] Figure 3 is a circuit connection diagram of an insertion detection circuit provided in an embodiment of the present application;
[0022] Figure 4 It is a principle block diagram of an insertion detection system provided in one embodiment of the present application.
[0023] In the figure: 10, insertion detection circuit; 101, coupling unit; 102, first switch unit; 103, second switch unit; 104, pull-up unit; 20, power supply; 30, chip; 40, external device; 50, display unit. DETAILED DESCRIPTION
[0024] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0025] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0026] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0027] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0028] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0029] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0030] The currently used insertion detection circuits, such as Figure 1As shown in the figure, when an external device is plugged in, the external power signal (HDMI0-5V, 5V-HDMIF, HDMI1-HDMI-5V or VGA-CON5V) is transmitted to the Plug-wake pin of the chip SOC after passing through the capacitor (C1, C2, C3 or C4), the discharge resistor (R1, R2, R3 or R4), the diode (D1, D2, D3 or D4) and the voltage divider resistor (R5 and R6). By judging the effective level generated when plugged in, it is determined whether an external device is plugged in. However, the external power signal directly enters the Plug-wake pin of the chip SOC through the capacitor, diode and resistor. Since the chip SOC is a weak signal processor, when the external power signal fluctuates, it may cause the chip SOC to be over-voltage and damaged.
[0031] Based on the above problems, the insertion detection circuit provided by the embodiment of the present application includes a plurality of coupling units, a first switch unit, a second switch unit and a pull-up unit. When the external device is electrically connected to the coupling unit, the coupling unit is used to output a first detection signal, the first switch unit is used to conduct according to the first detection signal, the second switch unit is turned on, and the pull-up unit can pull up the power supply voltage output by the power supply to the target voltage to ensure that the wake-up pin of the chip can be detected. It can be seen from this that the insertion detection circuit provided by the embodiment of the present application, when detecting the insertion of the external device, the first switch unit is turned on according to the first detection signal, and then the second switch unit is turned on, the pull-up unit pulls up the power supply voltage to the target voltage, and the wake-up pin of the chip detects the target voltage, thereby realizing the wake-up of the terminal device. In this process, the first switch unit and the second switch unit work together to effectively isolate the external device and the chip, and even if the power supply signal of the external device fluctuates, it will not be directly transmitted to the chip, thereby protecting the chip from overvoltage damage.
[0032] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.
[0033] Figure 2 FIG. 1 shows a principle block diagram of an insertion detection circuit 10 provided in an embodiment of the present application. Figure 2 As shown, the insertion detection circuit 10 includes multiple coupling units 101, a first switch unit 102, a second switch unit 103 and a pull-up unit 104, the first switch unit 102 is electrically connected to all the coupling units 101 and the second switch unit 103 respectively, the second switch unit 103 is electrically connected to the pull-up unit 104, the second switch unit 103 is used to be electrically connected to the power supply 20, and the pull-up unit 104 is used to be electrically connected to the wake-up pin of the chip 30.
[0034] Specifically, when the external device 40 is electrically connected to the coupling unit 101, the coupling unit 101 is used to output a first detection signal, the first switch unit 102 is used to turn on according to the first detection signal, the second switch unit 103 is turned on, and the pull-up unit 104 is used to pull up the power supply voltage output by the power supply 20 to the target voltage, and the target voltage is the voltage that can be detected by the wake-up pin of the chip 30. It can be seen that the insertion detection circuit 10 provided in the embodiment of the present application, when detecting that the external device 40 is inserted, the first switch unit 102 is turned on according to the first detection signal, thereby turning on the second switch unit 103, and the pull-up unit 104 pulls up the power supply voltage to the target voltage, and the wake-up pin of the chip 30 detects the target voltage, thereby realizing the wake-up of the terminal device. In this process, the first switch unit 102 and the second switch unit 103 work together to effectively isolate the external device 40 and the chip 30, and even if the power supply signal of the external device 40 fluctuates, it will not be directly transmitted to the chip 30, thereby protecting the chip 30 from damage by overvoltage.
[0035] It should be noted that when the external device 40 is electrically connected to the coupling unit 101, the voltage across the capacitor in the coupling unit 101 cannot change suddenly, so the first detection signal can only last for a preset time. As the capacitor in the coupling unit 101 is charged, the level of the first detection signal will gradually decrease, thereby disconnecting the first switch unit 102.
[0036] It should be noted that, when the terminal device is awakened, the first switch unit 102 is disconnected, the second switch unit 103 is disconnected, the pull-up unit 104 is disconnected from the power supply 20, and the power supply voltage output by the power supply 20 cannot be pulled up to the target voltage. The wake-up pin of the chip 30 cannot detect the target voltage, and the terminal device cannot be awakened. Until the external device 40 is inserted again, the first switch unit 102 is turned on, the second switch unit 103 is turned on, the pull-up unit 104 can pull up the power supply voltage output by the power supply 20 to the target voltage, and the wake-up pin of the chip 30 can detect the target voltage, thereby realizing the awakening of the terminal device.
[0037] It should be noted that the power supply 20 can be a 3.3V voltage of the system, which is the native IO power supply voltage of the chip 30 and is a stable and reliable long standby power supply 20. The chip 30 can be selected as SOC (System On Chip, system-level chip 30).
[0038] It should be noted that Figure 1The existing insertion detection circuit in the present invention cannot realize the port detection of the Type C port whose voltage may be inconsistent, and may fail to detect when the voltage is low (5V), or directly burn the chip 30SOC when the voltage is high (20V). However, in the insertion detection circuit 10 provided in the embodiment of the present application, there is complete physical isolation between the external device 40 and the chip 30. Therefore, the insertion detection circuit 10 can normally generate a detection signal within the full voltage range (5V-20V) of the Type C port, ensuring the stability of the insertion detection circuit 10 and the safety of the chip 30.
[0039] In one embodiment of the present application, Figure 3 As shown, the coupling unit 101 includes a first capacitor C1 and a first resistor R1, the first end of the first capacitor C1 is used to be electrically connected to the external device 40, the second end of the first capacitor C1 is electrically connected to the first end of the first resistor R1, and the second end of the first resistor R1 is electrically connected to the first switch unit 102.
[0040] Specifically, the first capacitor C1 plays a coupling role, and the first resistor R1 is used for voltage division. When an external device 40 is electrically connected to the first end of the first capacitor C1, the external signal source of the external device 40 outputs a first detection signal to the first switch unit 102 after coupling by the first capacitor C1 and voltage division by the first resistor R1, so that the first switch unit 102 is turned on.
[0041] It should be noted that the first capacitor C1 is charged and pulled high at the moment the external device 40 is connected. As the first capacitor C1 is continuously charged, the level of the first detection signal will gradually decrease, thereby disconnecting the first switch unit 102. Since each input channel is isolated from each other by the first capacitor C1 and the first resistor R1, even if the terminal device is connected to the external device 40 when it is turned off, the terminal device can still be awakened when another external device 40 is connected again.
[0042] Exemplarily, the capacitance value of the first capacitor C1 can be selected according to actual conditions, for example, the capacitance value of the first capacitor C1 in each coupling unit 101 can be selected to be 1uF, and the rated voltage can be 6.3V. The resistance value of the first resistor R1 can be selected according to actual conditions, for example, Figure 3The resistance value of the first resistor R11 in the first coupling unit 101 can be selected as 20KΩ, the resistance value of the first resistor R12 in the second coupling unit 101 can be selected as 20KΩ, the resistance value of the first resistor R13 in the third coupling unit 101 can be selected as 20KΩ, the resistance value of the first resistor R14 in the fourth coupling unit 101 can be selected as 420KΩ, and the resistance value of the first resistor R15 in the fifth coupling unit 101 can be selected as 1KΩ. If the external device is electrically connected to the first coupling unit 101, the capacity value of the first capacitor C11 in the corresponding first coupling unit 101 is 1uF, the rated voltage is 6.3V, and the resistance value of the first resistor R11 is 20KΩ.
[0043] It should be noted that, compared with the capacitance value of 10uF of the capacitor (C1, C2, C3 or C4) in the existing insertion detection circuit 10, the capacitance value of the first capacitor C1 in the present application is smaller and the cost is low. If a detection channel is added, only a first capacitor C1 and a first resistor R1 need to be added, and the cost is almost negligible. At the same time, the insertion detection circuit 10 provided in the embodiment of the present application can not only be used for external signal source wake-up, but also can be used for other internal wake-up ( Figure 3 HB-DET detection channel in the , for example, Hall, radar, etc.
[0044] In one embodiment of the present application, Figure 3 As shown, the first switch unit 102 includes a second resistor R2 and a first transistor Q1, the first end of the second resistor R2 is electrically connected to the base of the first transistor Q1 and all the coupling units 101 respectively, the collector of the first transistor Q1 is electrically connected to the second switch unit 103, and the emitter of the first transistor Q1 and the second end of the second resistor R2 are both grounded.
[0045] Specifically, the second resistor R2 is used as a pull-down resistor for the base of the first transistor Q1, and also as a voltage-dividing resistor for the first resistor R1, ensuring that the voltage-dividing resistor R1 and the second resistor R2 do not exceed the voltage (0.7V-6V) of the base of the first transistor Q1. The first transistor Q1 is used as a switching device, and the first transistor Q1 can be turned on or off according to the voltage difference between the base and the emitter of the first transistor Q1. When the voltage difference between the base and the emitter of the first transistor Q1 is greater than the turn-on threshold voltage of the first transistor Q1, the first transistor Q1 is in the on state. When the external device 40 is inserted, the coupling unit 101 outputs a first detection signal to the base of the first transistor Q1, so that the voltage difference between the base and the emitter of the first transistor Q1 is greater than the turn-on threshold voltage of the first transistor Q1, and the first transistor Q1 is turned on, that is, the collector and the emitter of the first transistor Q1 are turned on.
[0046] For example, the resistance of the second resistor R2 can be selected according to actual conditions, for example, the resistance of the second resistor R2 can be selected as 120KΩ. The type and model of the first transistor Q1 can be selected according to actual conditions, for example, the type of the first transistor Q1 can be selected as NPN type, and the model of the first transistor Q1 can be selected as 3904.
[0047] In one embodiment of the present application, Figure 3 As shown, the second switch unit 103 includes a third resistor R3, a fourth resistor R4 and a second triode Q2, the first end of the third resistor R3 is electrically connected to the emitter of the second triode Q2 and the power supply 20 respectively, the second end of the third resistor R3 is electrically connected to the first end of the fourth resistor R4 and the first switch unit 102 respectively, the base of the second triode Q2 is electrically connected to the second end of the fourth resistor R4, and the collector of the second triode Q2 is electrically connected to the pull-up unit 104.
[0048] Specifically, the third resistor R3 is used as a pull-up resistor of the base of the second transistor Q2, and the fourth resistor R4 is used as a current-limiting resistor of the base of the second transistor Q2 to prevent the current flowing into the base of the second transistor Q2 from being too large, thereby damaging the second transistor Q2. The second transistor Q2 is used as a switching device, and the second transistor Q2 can be turned on or off according to the voltage difference between the base and the emitter of the second transistor Q2. When the voltage difference between the base and the emitter of the second transistor Q2 is greater than the turn-on threshold voltage of the second transistor Q2, the second transistor Q2 is in the on state. When the external device 40 is inserted, the coupling unit 101 outputs a first detection signal to the base of the first transistor Q1, so that the voltage difference between the base and the emitter of the first transistor Q1 is greater than the turn-on threshold voltage of the first transistor Q1, and the first transistor Q1 is turned on, that is, the collector and the emitter of the first transistor Q1 are turned on. When the first transistor Q1 is turned on, the second end of the third resistor R3 and the second end of the fourth resistor R4 are pulled down, so that the voltage difference between the base and the emitter of the second transistor Q2 is greater than the turn-on threshold voltage of the second transistor Q2, and the second transistor Q2 is turned on, that is, the collector and the emitter of the second transistor Q2 are turned on. The pull-up unit 104 pulls up the supply voltage to the target voltage, and the wake-up pin of the chip 30 detects the target voltage, thereby realizing the wake-up of the terminal device.
[0049] Exemplarily, the resistance values of the third resistor R3 and the fourth resistor R4 can be selected according to actual conditions. For example, the resistance value of the third resistor R3 can be selected as 10KΩ, and the resistance value of the fourth resistor R4 can be selected as 10KΩ. The type and model of the second transistor Q2 can be selected according to actual conditions. For example, the type of the second transistor Q2 can be selected as PNP type, and the model of the second transistor Q2 can be selected as 3906.
[0050] In one embodiment of the present application, Figure 3 As shown, the second switch unit 103 further includes a fifth resistor R5, a first end of the fifth resistor R5 is electrically connected to the collector of the second transistor Q2 and the pull-up unit 104 respectively, and a second end of the fifth resistor R5 is grounded.
[0051] Specifically, the fifth resistor R5 serves as a saturated freewheeling resistor of the second triode Q2, and the saturated freewheeling resistor is usually used to prevent the second triode Q2 from being damaged due to excessive current when in a saturated state. When the second triode Q2 is turned on, the collector current will increase, and the collector current may exceed the maximum withstand current of the second triode Q2, causing damage to the triode. By connecting the fifth resistor R5 to the collector of the second triode Q2, a current path can be provided, so that when the second triode Q2 is saturated, excess current can flow through the fifth resistor R5, thereby protecting the second triode Q2.
[0052] Exemplarily, the resistance value of the fifth resistor R5 can be selected according to actual conditions. For example, the resistance value of the fifth resistor R5 can be selected to be 4.7 KΩ.
[0053] In one embodiment of the present application, Figure 3 As shown, the second switch unit 103 also includes a second capacitor C2, the first end of the second capacitor C2 is electrically connected to the emitter of the second transistor Q2 and the first end of the third resistor R3, and the second end of the second capacitor C2 is electrically connected to the base of the second transistor Q2 and the second end of the fourth resistor R4.
[0054] Specifically, the second capacitor C2 is connected between the base and emitter of the second triode Q2, and is mainly used to eliminate or reduce the oscillation caused by power supply fluctuation or signal interference. At the same time, by connecting the second capacitor C2 between the base and emitter of the second triode Q2, it can also play a filtering role, making the working condition of the second triode Q2 more stable, and improving the overall performance and reliability of the insertion detection circuit 10.
[0055] Exemplarily, the capacity value of the second capacitor C2 can be selected according to actual conditions. For example, the capacity value of the second capacitor C2 can be selected to be 100nF and the rated voltage can be 16V.
[0056] In one embodiment of the present application, Figure 3 As shown, the pull-up unit 104 includes a sixth resistor R6 , a first end of the sixth resistor R6 is electrically connected to the second switch unit 103 , and a second end of the sixth resistor R6 is electrically connected to the wake-up pin of the chip 30 .
[0057] Specifically, the sixth resistor R6 is used as a pull-up resistor of the wake-up pin of the chip 30 to ensure that when the second transistor Q2 is in the on state, the power supply voltage is pulled up to the target voltage and transmitted to the wake-up pin of the chip 30. If the pull-up resistor is not set, the stable state of the input end of the wake-up pin of the chip 30 cannot be maintained, and the level signal transmitted to the wake-up pin of the chip may drift to an uncertain state, resulting in system malfunction. If the wake-up pin level of the chip 30 is different from the 3.3V power supply 20, the pull-up resistor can help achieve level conversion.
[0058] Exemplarily, the resistance value of the sixth resistor R6 can be selected according to actual conditions. For example, the resistance value of the sixth resistor R6 can be selected to be 4.7 KΩ.
[0059] Exemplarily, when the IO level of the chip 30 changes, such as when the IO voltage of the chip 30 is 1.8V, it is only necessary to change the supply voltage of the power supply 20 without adjusting any parameters of other components.
[0060] In summary, the waveform generated by the insertion detection circuit 10 in the present application fully meets the ideal waveform of the existing digital circuit. However, the waveform generated by the existing insertion detection circuit 10 is an instantaneous high voltage, and then has a gradually decreasing discharge effect according to the capacity of the capacitor and the resistance value of the discharge resistor, which cannot meet the ideal standard of the current digital circuit waveform.
[0061] like Figure 4 As shown, the present application also discloses an insertion detection system, including a power supply 20, a chip 30 and the above-mentioned insertion detection circuit 10, the power supply 20 is electrically connected to the second switch unit 103 in the insertion detection circuit 10, and the chip 30 is electrically connected to the pull-up unit 104 in the insertion detection circuit 10. When the external device 40 is electrically connected to the insertion detection circuit 10, the second switch unit 103 is turned on, and the power supply 20 outputs a voltage signal to the wake-up pin of the chip 30 through the pull-up unit 104.
[0062] Specifically, the insertion detection system adopts the above-mentioned insertion detection circuit 10, and when detecting whether the external device 40 is inserted, the external device 40 and the chip 30 can be effectively isolated to protect the chip 30 from damage caused by overvoltage.
[0063] In one embodiment of the present application, Figure 4 As shown, the insertion detection system further includes a display unit 50 , and the display unit 50 is electrically connected to the chip 30 .
[0064] Specifically, the display unit 50 is used to display the connection status between the insertion detection circuit 10 and the external device 40, so that the user knows the connection status of the external device 40. For example, when the external device 40 is detected to be inserted, the display unit 50 can display a green indicator light or display the text "connected"; when the external device 40 is inserted abnormally or not inserted, the display unit 50 can display a red indicator light or display the text "not connected".
[0065] The present application also discloses a terminal device, including the above-mentioned insertion detection system. Installing the above-mentioned insertion detection system on the terminal device can extend the service life of the terminal device and improve the reliability of the terminal device.
[0066] Exemplarily, the terminal device may be an ultra-high-definition terminal device, such as an ultra-high-definition television, a medical imaging device, or a projector.
[0067] Since the processing and functions implemented by the terminal device in this embodiment basically correspond to the embodiments, principles and examples of the aforementioned insertion detection circuit, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.
[0068] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. An insertion detection circuit, characterized in that: The device comprises a plurality of coupling units, a first switch unit, a second switch unit and a pull-up unit, wherein the first switch unit is electrically connected to all the coupling units and the second switch unit respectively, the second switch unit is electrically connected to the pull-up unit, the second switch unit is used to be electrically connected to a power supply, and the pull-up unit is used to be electrically connected to a wake-up pin of a chip; When an external device is electrically connected to the coupling unit, the coupling unit is used to output a first detection signal, the first switch unit is used to turn on according to the first detection signal, the second switch unit is turned on, and the pull-up unit is used to pull up the power supply voltage output by the power supply to a target voltage, and the target voltage is a voltage that can be detected by the wake-up pin of the chip.
2. The insertion detection circuit according to claim 1, characterized in that: The coupling unit includes a first capacitor and a first resistor, wherein the first end of the first capacitor is used to be electrically connected to the external device, the second end of the first capacitor is electrically connected to the first end of the first resistor, and the second end of the first resistor is electrically connected to the first switch unit.
3. The insertion detection circuit according to claim 1, characterized in that: The first switch unit includes a second resistor and a first transistor, the first end of the second resistor is electrically connected to the base of the first transistor and all the coupling units respectively, the collector of the first transistor is electrically connected to the second switch unit, and the emitter of the first transistor and the second end of the second resistor are both grounded.
4. The insertion detection circuit according to claim 1, characterized in that: The second switch unit includes a third resistor, a fourth resistor and a second transistor, the first end of the third resistor is electrically connected to the emitter of the second transistor and the power supply, respectively, the second end of the third resistor is electrically connected to the first end of the fourth resistor and the first switch unit, the base of the second transistor is electrically connected to the second end of the fourth resistor, and the collector of the second transistor is electrically connected to the pull-up unit.
5. The insertion detection circuit according to claim 4, characterized in that: The second switch unit further includes a fifth resistor, a first end of the fifth resistor is electrically connected to the collector of the second transistor and the pull-up unit respectively, and a second end of the fifth resistor is grounded.
6. The insertion detection circuit according to claim 5, characterized in that: The second switch unit also includes a second capacitor, a first end of the second capacitor is electrically connected to the emitter of the second transistor and the first end of the third resistor, and a second end of the second capacitor is electrically connected to the base of the second transistor and the second end of the fourth resistor.
7. The insertion detection circuit according to claim 1, characterized in that: The pull-up unit includes a sixth resistor, a first end of the sixth resistor is electrically connected to the second switch unit, and a second end of the sixth resistor is used to be electrically connected to a wake-up pin of the chip.
8. An insertion detection system, characterized in that: It comprises a power supply, a chip and the insertion detection circuit according to any one of claims 1 to 7, wherein the power supply is electrically connected to the second switch unit in the insertion detection circuit, and the chip is electrically connected to the pull-up unit in the insertion detection circuit; When the external device is electrically connected to the insertion detection circuit, the second switch unit is turned on, and the power supply outputs a voltage signal to the wake-up pin of the chip through the pull-up unit.
9. The insertion detection system according to claim 8, characterized in that: The insertion detection system further comprises a display unit, which is electrically connected to the chip and is used to display a connection status between the insertion detection circuit and an external device.
10. A terminal device, characterized in that: The invention comprises an insertion detection system as described in any one of claims 8 to 9.