Multi-channel switching circuit and switching control method

By switching low impedance channels to high impedance channels during overcurrent protection in multi-channel switching circuits, the problem of current leakage after overcurrent protection in the prior art is solved, simplified current limit protection and circuit design are realized, and the circuit is reduced Overhead.

CN119030512APending Publication Date: 2024-11-263PEAK (SHANGHAI) LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411212210.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The existing driving switch circuits are less on-resistance but strong driving capacity, which can easily lead to current leakage after overcurrent protection, affecting chip or system performance, and require additional current limiting circuits, which has a large circuit overhead. .

Method used

Design a multi-channel switching circuit, through the control unit, switches low-impedance channels to high-impedance channels when triggering overcurrent protection, utilizes the current limiting capability of the high-impedance channels to avoid current leakage, and realizes current limiting protection through simple digital logic circuits , reduce circuit area overhead.

Benefits of technology

The current limit protection is realized to avoid current leakage during overcurrent protection, simplifying the circuit structure, no additional current limit protection circuit is required, and circuit overhead is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030512A_ABST
    Figure CN119030512A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-channel switching circuit and a switching control method. The multi-channel switching circuit comprises a switching unit which is used for gating a first channel when a switching signal is a first level, and gating a second channel when the switching signal is a second level; the over-current detection unit is connected with the second channel, and performs over-current detection and generates an over-current protection signal when the second channel is gated; the control unit is connected with the switch unit and the overcurrent detection unit, generates a latch signal and an output signal, and gates a corresponding channel through the output signal; and when the overcurrent protection signal is a first preset level, the switch unit is switched from gating the second channel to gating the first channel. According to the invention, the low-impedance channel is switched to the high-impedance channel through the control unit when the overcurrent protection is triggered, so that current leakage is avoided while current limiting is realized; the circuit is simple in structure, an additional current limiting circuit is not needed, an existing high-impedance channel is utilized, and the area overhead of the circuit is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of integrated circuits, and in particular relates to a multi-channel switch circuit and a switch control method. Background Art

[0002] like Figure 1 As shown, a driving switch circuit of the prior art. When the logic of S is low, the A port and the B0 channel are connected, and there is no requirement for the on-resistance. When the logic of S is high, the A port and the B1 channel are connected, requiring a small on-resistance and a strong driving capability.

[0003] When the on-resistance is small but the driving capability is strong, the current drawn or injected by the driving switch circuit at the A terminal will be very large. The driving switch circuit is usually provided with an operational amplifier OP. Excessive current will damage the internal components of the operational amplifier OP. Therefore, when the A port and the B1 channel are connected, overcurrent protection (OCP) needs to be designed for the channel.

[0004] The design principle of the existing overcurrent protection detection circuit is: an output drive tube is provided in the operational amplifier OP, and the overcurrent protection detection circuit detects the Vgs and Vds of the drive tube provided in the operational amplifier OP, and implements overcurrent protection based on the Vgs and Vds of the drive tube. The shortcomings of the existing design are: after the overcurrent protection is triggered, the A port and the B1 channel remain in the on state, and the operational amplifier OP will limit the current, but there will still be a certain amount of current leaking back to the A port, affecting the chip or system performance. In addition, the existing design requires an additional current limiting circuit, and the circuit overhead is large.

[0005] Therefore, in view of the above technical problems, it is necessary to provide a multi-channel switching circuit and a switching control method. Summary of the invention

[0006] The object of the present invention is to provide a multi-channel switch circuit and a switch control method, which can realize current limiting protection through a simple logic circuit.

[0007] In order to achieve the above object, a technical solution provided by a specific embodiment of the present invention is as follows:

[0008] A multi-channel switch circuit, the multi-channel switch circuit comprising:

[0009] A switch unit connected to the first channel and the second channel, and configured to receive a switch signal to select a corresponding channel, wherein when the switch signal is at a first level, the switch unit selects the first channel, and when the switch signal is at a second level, the switch unit selects the second channel;

[0010] an overcurrent detection unit, connected to the second channel, for performing overcurrent detection based on the current in the second channel and generating an overcurrent protection signal when the second channel is enabled;

[0011] A control unit connected to the switch unit and the overcurrent detection unit, configured to generate a latch signal based on the overcurrent protection signal and the switch signal, generate an output signal based on the switch signal, the overcurrent protection signal and the latch signal, and select a corresponding channel through the output signal;

[0012] When the overcurrent protection signal is at a first preset level, the switch unit switches from selecting the second channel to selecting the first channel.

[0013] In one or more embodiments of the present invention, in an initial state of the multi-channel switch circuit, the switch signal is at a first level, the latch signal is at a first level, and the switch unit selects a first channel.

[0014] In one or more embodiments of the present invention, after the multi-channel switch circuit is switched from the initial state to the first state, the switch signal is at a second level, and the switch unit selects the second channel based on the control of the switch signal.

[0015] In one or more embodiments of the present invention, the multi-channel switch circuit detects whether the second channel has an overcurrent in the first state;

[0016] If so, the overcurrent protection signal is at the first preset level, the latch signal is switched from the first level to the second level, the output signal is generated at the first level, and the switch unit is switched from selecting the second channel to selecting the first channel;

[0017] If not, the overcurrent protection signal is at the second preset level, the latch signal is at the first level, the output signal is generated at the second level, and the switch unit keeps selecting the second channel.

[0018] In one or more embodiments of the present invention, the multi-channel switching circuit further includes a reset unit, which is used to convert the switching signal from the second level to the first level and the latch signal from the second level to the first level after an overcurrent occurs in the second channel and the switching unit selects the first channel.

[0019] In one or more embodiments of the present invention, the control unit includes a first NOT gate, a second NOT gate, a third NOT gate, a first AND gate, a second AND gate, a first NOR gate, and a second NOR gate;

[0020] The input end of the first NOT gate receives a switch signal, and the output end of the first NOT gate is connected to the first input end of the first NOR gate;

[0021] The second input end of the first NOR gate is connected to the output end of the second NOR gate, the output end of the first NOR gate is connected to the input end of the second NOT gate and generates a latch signal, and the output end of the second NOT gate is connected to the first input end of the second AND gate;

[0022] The first input end of the first AND gate receives a switch signal, the second input end of the first AND gate receives an overcurrent protection signal, and the output end of the first AND gate is connected to the second input end of the second NOR gate and the input end of the third NOR gate;

[0023] The first input terminal of the second NOR gate is connected to the output terminal of the first NOR gate, the output terminal of the third NOR gate is connected to the second input terminal of the second AND gate, the third input terminal of the second AND gate receives a switching signal, and the output terminal of the second AND gate is connected to the switch unit and generates an output signal.

[0024] In one or more embodiments of the present invention, the multi-channel switching circuit also includes an operational amplifier, a first input terminal of the operational amplifier receives a reference signal, a second input terminal of the operational amplifier is connected to an output terminal of the operational amplifier, and the output terminal of the operational amplifier is connected to the second channel.

[0025] Another specific embodiment of the present invention provides a technical solution as follows:

[0026] A switch control method is applied to a multi-channel switch circuit, the multi-channel switch circuit comprising a switch unit, an overcurrent detection unit and a control unit; the switch unit is connected to a first channel and a second channel, and is used to select the corresponding channel based on a switch signal; the overcurrent detection unit is connected to the second channel, and is used to perform overcurrent detection on the current of the second channel and generate an overcurrent protection signal when the second channel is selected; the control unit is connected to the switch unit and the overcurrent detection unit, and is used to generate a latch signal based on the overcurrent protection signal, generate an output signal based on the switch signal, the overcurrent protection signal and the latch signal, and select the corresponding channel through the output signal;

[0027] The switch control method comprises:

[0028] When the switch signal is at a first level, controlling the switch unit to select the first channel;

[0029] When the switch signal is at the second level, the switch unit is controlled to enable the second channel and perform overcurrent detection on the current of the second channel. If overcurrent occurs in the second channel, the switch unit is controlled to switch from enabling the second channel to enabling the first channel.

[0030] In one or more embodiments of the present invention, in an initial state of the multi-channel switch circuit, the switch signal is at a first level, the latch signal is at a first level, and the switch unit is controlled to select a first channel.

[0031] In one or more embodiments of the present invention, after the multi-channel switch circuit is switched from the initial state to the first state, the switch signal is at a second level, and the switch unit selects the second channel based on the control of the switch signal.

[0032] In one or more embodiments of the present invention, the multi-channel switch circuit detects whether the second channel has an overcurrent in the first state;

[0033] If so, the overcurrent protection signal is at the first preset level, the latch signal is switched from the first level to the second level, the output signal is generated at the first level, and the switch unit is controlled to switch from selecting the second channel to selecting the first channel;

[0034] If not, the overcurrent protection signal is at the second preset level, the latch signal is at the first level, the output signal is generated at the second level, and the switch unit is controlled to keep selecting the second channel.

[0035] In one or more embodiments of the present invention, the switch control method further includes:

[0036] When an overcurrent occurs in the second channel and the switch unit selects the first channel, the switch signal is converted from the second level to the first level, and the latch signal is converted from the second level to the first level.

[0037] Compared with the prior art, the multi-channel switch circuit and switch control method of the present invention switches the low-impedance channel to the high-impedance channel by the control unit when the overcurrent protection is triggered, thereby achieving current limiting protection while avoiding current back leakage;

[0038] The circuit structure of the present invention is simple, and no additional current limiting protection circuit is required. The existing high impedance channel is utilized, and the control unit adopts a simple digital logic circuit, thereby reducing the circuit area cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, 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 recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 It is a schematic diagram of a switch driving circuit in the prior art;

[0041] Figure 2 is a schematic diagram of a multi-channel switch circuit in one embodiment of the present invention;

[0042] Figure 3 is a schematic diagram of a multi-channel switch circuit in one embodiment of the present invention;

[0043] Figure 4 Schematic diagram of a control unit of a multi-channel switch circuit in one embodiment of the present invention;

[0044] Figure 5 is a flow chart of a switch control method in one embodiment of the present invention;

[0045] Figure 6 FIG. 4 is a logic diagram of a switch control method in an embodiment of the present invention. DETAILED DESCRIPTION

[0046] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0047] Embodiment 1:

[0048] like Figure 2 As shown, a multi-channel switch circuit in an embodiment includes a switch unit 10, an overcurrent detection unit 20 and a control unit 30.

[0049] The switch unit 10 is connected to the first channel D1 and the second channel D2, and is used to receive a switch signal S to select the corresponding channel. When the switch signal S is at a first level, the switch unit 10 selects the first channel D1, and when the switch signal S is at a second level, the switch unit 10 selects the second channel D2.

[0050] In one embodiment, the first level is a low level and the second level is a high level. It is understandable that in other optional implementations, the first level can be set to a high level and the second level can be set to a low level to meet the corresponding circuit scenario. This specification is described as the first level being a low level and the second level being a high level, and will not be repeated in the following text.

[0051] In one embodiment, the impedance of the first channel D1 after being selected is relatively large, and the current drawn from or injected into the circuit from the A port is relatively small. The impedance of the second channel D2 after being selected is relatively small, and the current drawn from or injected into the circuit from the A port is relatively large.

[0052] The overcurrent detection unit 20 is connected to the second channel D2, and is used to perform overcurrent detection based on the current in the second channel D2 when the second channel D2 is enabled and generate an overcurrent protection signal OCP.

[0053] like Figure 3 As shown, the multi-channel switch circuit in one embodiment further includes an operational amplifier OP, a first input terminal of the operational amplifier OP receives a reference signal Vref, a second input terminal of the operational amplifier OP is connected to an output terminal of the operational amplifier OP, and an output terminal of the operational amplifier OP is connected to a second channel D2. The operational amplifier OP is used to enhance the driving capability of the multi-channel switch circuit, and the overcurrent detection unit 20 is disposed inside the operational amplifier OP. It can be understood that the overcurrent detection unit 20 adopts a conventional overcurrent detection circuit in the prior art, and the circuit structure of the operational amplifier OP is not limited, and those skilled in the art can set it based on the needs, and this application will not repeat it.

[0054] The control unit 30 is connected to the switch unit 10 and the overcurrent detection unit 20, and is used to generate a latch signal latch based on the overcurrent protection signal OCP and the switch signal S, generate an output signal OUT based on the switch signal S, the overcurrent protection signal OCP and the latch signal latch, and select the corresponding channel through the output signal OUT.

[0055] When the overcurrent protection signal OCP is at the first preset level, the switch unit 10 switches from selecting the second channel D2 to selecting the first channel D1. It can be understood that after the overcurrent protection is triggered, the switch unit 10 switches from selecting the second channel D2 to selecting the first channel D1. Since the impedance between the first channel D1 and the A port is relatively large, it has its own current limiting capability, thereby achieving overcurrent protection.

[0056] It can be understood that when the overcurrent protection signal OCP is at the first preset level, it indicates that overcurrent occurs, and when the overcurrent protection signal OCP is at the second preset level, it indicates that overcurrent does not occur. In one embodiment, the first preset level is a high level, and the second preset level is a low level. In other optional implementations, the first preset level can be set to a low level and the second preset level can be set to a high level to meet the corresponding circuit scenario. In this specification, the first preset level is described as a high level and the second preset level is a low level, and no further description is given below.

[0057] Specifically, in the initial state of the multi-channel switch circuit, the switch signal S is at a low level, the latch signal latch is at a low level, and the switch unit 10 selects the first channel D1.

[0058] After the multi-channel switch circuit switches from the initial state to the first state, that is, the switch signal S switches from a low level to a high level, the switch unit 10 selects the second channel D2 based on the control of the switch signal S.

[0059] The multi-channel switch circuit detects whether the second channel D2 is over-current in the first state;

[0060] If so, the overcurrent protection signal OCP is at the first preset level (high level), the latch signal latch is switched from low level to high level, the output signal OUT is generated as a low level, and the switch unit 10 switches from selecting the second channel D2 to selecting the first channel D1;

[0061] If not, the over-current protection signal OCP is at a second preset level (low level), the latch signal latch is at a low level, the output signal OUT is generated at a high level, and the switch unit 10 keeps selecting the second channel.

[0062] Furthermore, in one embodiment, the multi-channel switch circuit also includes a reset unit, which is used to convert the switch signal S from a high level to a low level and the latch signal latch from a high level to a low level after an overcurrent occurs in the second channel D2 and the switch unit 10 selects the first channel D1.

[0063] It can be understood that after the overcurrent protection is triggered, the switch unit 10 implements channel switching under the control of the output signal OUT of the control unit. Although the first channel D1 is enabled at this time, the switch signal S is still maintained at a high level. If the second channel D2 is to be enabled again in the next stage, the switch signal S needs to be reset, that is, the switch signal S is switched from a high level to a low level. At this time, the latch signal latch is switched from a low level to a high level due to the level switching of the switch signal S. Then the switch signal S is switched from a low level to a high level, and the second channel D2 is enabled again.

[0064] like Figure 4 As shown, the control unit in one embodiment includes a first NOT gate N1, a second NOT gate N2, a third NOT gate N3, a first AND gate A1, a second AND gate A2, a first NOR gate NOR1 and a second NOR gate NOR2.

[0065] Specifically, an input terminal of the first NOT gate N1 receives a switch signal, and an output terminal of the first NOT gate N1 is connected to a first input terminal of the first NOR gate NOR1.

[0066] The second input terminal of the first NOR gate NOR1 is connected to the output terminal of the second NOR gate NOR2, the output terminal of the first NOR gate NOR1 is connected to the input terminal of the second NOT gate N2 and generates a latch signal, and the output terminal of the second NOT gate N2 is connected to the first input terminal of the second AND gate A1.

[0067] The first input terminal of the first AND gate A1 receives the switch signal, the second input terminal of the first AND gate A1 receives the over-current protection signal OCP, and the output terminal of the first AND gate A1 is connected to the second input terminal of the second NOR gate NOR2 and the input terminal of the third NOT gate N3.

[0068] A first input terminal of the second NOR gate NOR2 is connected to an output terminal of the first NOR gate NOR1, an output terminal of the third NOT gate N3 is connected to a second input terminal of the second AND gate A2, a third input terminal of the second AND gate A2 receives a switch signal S, and an output terminal of the second AND gate A2 is connected to the switch unit 10 and generates an output signal OUT.

[0069] Embodiment 2:

[0070] like Figure 5 As shown, a switch control method according to an embodiment is applied to Figure 2 The multi-channel switch circuit shown in the figure. The multi-channel switch circuit includes a switch unit 10, an overcurrent detection unit 20 and a control unit 30. The switch unit 10 is connected to the first channel D1 and the second channel D2, and is used to select the corresponding channel based on the switch signal S; the overcurrent detection unit 20 is connected to the second channel D2, and is used to perform overcurrent detection on the current of the second channel D2 when the second channel D2 is selected and generate an overcurrent protection signal OCP; the control unit 30 is connected to the switch unit 10 and the overcurrent detection unit 20, and is used to generate a latch signal latch based on the overcurrent protection signal OCP, generate an output signal OUT based on the switch signal S, the overcurrent protection signal OCP and the latch signal latch, and select the corresponding channel through the output signal OUT.

[0071] The switch control methods include:

[0072] When the switch signal S is at a low level, the control switch unit switches on the first channel D1;

[0073] When the switch signal S is at a high level, the control switch unit 10 switches on the second channel D2 and performs overcurrent detection on the current of the second channel D2. If overcurrent occurs in the second channel D2, the control switch unit 10 switches from switching on the second channel D2 to switching on the first channel D1.

[0074] Specifically, in the initial state of the multi-channel switch circuit, the switch signal S is at a low level, the latch signal is at a low level, and the control switch unit 10 switches on the first channel D1 .

[0075] After the multi-channel switch circuit switches from the initial state to the first state, the switch signal S is at a high level, and the switch unit 10 selects the second channel D2 based on the control of the switch signal S.

[0076] The multi-channel switch circuit detects whether the second channel D2 is over-current in the first state;

[0077] If so, the overcurrent protection signal OCP is at a high level, the latch signal latch is switched from a low level to a high level, the output signal OUT is generated at a low level, and the control switch unit 10 switches from selecting the second channel D2 to selecting the first channel D1;

[0078] If not, the over-current protection signal OCP is at a low level, the latch signal latch is at a low level, the output signal OUT is generated at a high level, and the control switch unit 10 keeps selecting the second channel D2.

[0079] Furthermore, when the second channel D2 has an overcurrent and the switch unit 10 selects the first channel D1, the switch signal S is converted from a high level to a low level, and the latch signal latch is converted from a high level to a low level. It can be understood that after the overcurrent protection is triggered, the switch unit 10 implements channel switching under the control of the output signal OUT of the control unit. Although the first channel D1 is selected at this time, the switch signal S is still maintained at a high level. If the second channel D2 is to be selected again in the next stage, the switch signal S needs to be reset, that is, the switch signal S is switched from a high level to a low level. At this time, the latch signal latch is switched from a low level to a high level due to the level switching of the switch signal S. Then the switch signal S is switched from a low level to a high level, and the second channel D2 is selected again.

[0080] Combination Figure 4 as well as Figure 6 From the logic shown, it can be seen that the working principle of the present invention includes:

[0081] In the initial state, the switch signal S is at a low level, the latch signal latch is at a low level, and the output signal OUT is at a low level. At this time, the first channel D1 is selected, and the latch signal remains at a low level;

[0082] After switching from the initial state to the first state, the switch signal S switches from a low level to a high level, and the latch signal latch is firstly at a low level under the effect of the initial state, and at this time, the second channel D2 is selected.

[0083] At this time, in the first state: if the overcurrent protection is not triggered, the overcurrent protection OCP is at a low level, the second channel D2 is enabled, and the latch signal remains at a low level.

[0084] If the overcurrent protection is triggered, the overcurrent protection OCP is at a high level, the first AND gate A1 outputs a high level, and under the action of the first NOR gate NOR1 and the second NOR gate NOR2, the latch signal latch is switched from a low level to a high level, the output signal OUT is at a low level, and the first channel D1 is selected.

[0085] At this time, if you want to select the second channel D2 again, if you do not reset the switch signal S, Figure 6 The logic shown will fall into an infinite loop, so it is necessary to change the switch signal S from a high level to a low level. At this time, the first channel D1 is still enabled, but the latch signal latch changes from a high level to a low level. Then change the switch signal S from a low level to a high level, end the infinite loop, and perform overcurrent judgment again.

[0086] It can be seen from the above technical solutions that the present invention has the following beneficial effects:

[0087] The present invention switches the low impedance channel to the high impedance channel by the control unit when the overcurrent protection is triggered, thereby achieving current limiting protection and avoiding current back leakage;

[0088] The circuit structure of the present invention is simple, and no additional current limiting protection circuit is required. The existing high impedance channel is utilized, and the control unit adopts a simple digital logic circuit, thereby reducing the circuit area cost.

[0089] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

[0090] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A multi-channel switching circuit, characterized in that: The multi-channel switching circuit comprises: A switch unit connected to the first channel and the second channel, and configured to receive a switch signal to select a corresponding channel, wherein when the switch signal is at a first level, the switch unit selects the first channel, and when the switch signal is at a second level, the switch unit selects the second channel; an overcurrent detection unit, connected to the second channel, for performing overcurrent detection based on the current in the second channel and generating an overcurrent protection signal when the second channel is enabled; A control unit connected to the switch unit and the overcurrent detection unit, configured to generate a latch signal based on the overcurrent protection signal and the switch signal, generate an output signal based on the switch signal, the overcurrent protection signal and the latch signal, and select a corresponding channel through the output signal; When the overcurrent protection signal is at a first preset level, the switch unit switches from selecting the second channel to selecting the first channel.

2. The multi-channel switch circuit according to claim 1, characterized in that: In the initial state of the multi-channel switch circuit, the switch signal is at the first level, the latch signal is at the first level, and the switch unit selects the first channel.

3. The multi-channel switch circuit according to claim 2, characterized in that: After the multi-channel switch circuit is switched from the initial state to the first state, the switch signal is at the second level, and the switch unit selects the second channel based on the control of the switch signal.

4. The multi-channel switch circuit according to claim 3, characterized in that: The multi-channel switch circuit detects whether the second channel has overcurrent in the first state; If so, the overcurrent protection signal is at the first preset level, the latch signal is switched from the first level to the second level, the output signal is generated at the first level, and the switch unit is switched from selecting the second channel to selecting the first channel; If not, the overcurrent protection signal is at the first level, the latch signal is at the first level, the output signal is generated at the second level, and the switch unit keeps selecting the second channel.

5. The multi-channel switch circuit according to claim 1, characterized in that: The multi-channel switch circuit further includes a reset unit, which is used to convert the switch signal from the second level to the first level and the latch signal from the second level to the first level after an overcurrent occurs in the second channel and the switch unit selects the first channel.

6. The multi-channel switch circuit according to claim 1, characterized in that: The control unit includes a first NOT gate, a second NOT gate, a third NOT gate, a first AND gate, a second AND gate, a first NOR gate and a second NOR gate; The input end of the first NOT gate receives a switch signal, and the output end of the first NOT gate is connected to the first input end of the first NOR gate; The second input end of the first NOR gate is connected to the output end of the second NOR gate, the output end of the first NOR gate is connected to the input end of the second NOT gate and generates a latch signal, and the output end of the second NOT gate is connected to the first input end of the second AND gate; The first input end of the first AND gate receives a switch signal, the second input end of the first AND gate receives an overcurrent protection signal, and the output end of the first AND gate is connected to the second input end of the second NOR gate and the input end of the third NOR gate; The first input terminal of the second NOR gate is connected to the output terminal of the first NOR gate, the output terminal of the third NOR gate is connected to the second input terminal of the second AND gate, the third input terminal of the second AND gate receives a switching signal, and the output terminal of the second AND gate is connected to the switch unit and generates an output signal.

7. The multi-channel switch circuit according to claim 1, characterized in that: The multi-channel switch circuit further includes an operational amplifier, a first input terminal of the operational amplifier receives a reference signal, a second input terminal of the operational amplifier is connected to an output terminal of the operational amplifier, and an output terminal of the operational amplifier is connected to the second channel.

8. A switch control method, applied to a multi-channel switch circuit, characterized in that: The multi-channel switch circuit comprises a switch unit, an overcurrent detection unit and a control unit; the switch unit is connected to the first channel and the second channel, and is used to select the corresponding channel based on the switch signal; the overcurrent detection unit is connected to the second channel, and is used to perform overcurrent detection on the current of the second channel and generate an overcurrent protection signal when the second channel is selected; The control unit is connected to the switch unit and the overcurrent detection unit, and is used to generate a latch signal based on the overcurrent protection signal, generate an output signal based on the switch signal, the overcurrent protection signal and the latch signal, and select the corresponding channel through the output signal; The switch control method comprises: When the switch signal is at a first level, controlling the switch unit to select the first channel; When the switch signal is at the second level, the switch unit is controlled to enable the second channel and perform overcurrent detection on the current of the second channel. If overcurrent occurs in the second channel, the switch unit is controlled to switch from enabling the second channel to enabling the first channel.

9. The multi-channel switch circuit according to claim 8, characterized in that: In the initial state of the multi-channel switch circuit, the switch signal is at the first level, the latch signal is at the first level, and the switch unit is controlled to select the first channel.

10. The multi-channel switch circuit according to claim 9, characterized in that: After the multi-channel switch circuit is switched from the initial state to the first state, the switch signal is at the second level, and the switch unit selects the second channel based on the control of the switch signal.

11. The multi-channel switch circuit according to claim 10, characterized in that: The multi-channel switch circuit detects whether the second channel has overcurrent in the first state; If so, the overcurrent protection signal is at the first preset level, the latch signal is switched from the first level to the second level, the output signal is generated at the first level, and the switch unit is controlled to switch from selecting the second channel to selecting the first channel; If not, the overcurrent protection signal is at the second preset level, the latch signal is at the first level, the output signal is generated at the second level, and the switch unit is controlled to keep selecting the second channel.

12. The switch control method according to claim 8, characterized in that: The switch control method further includes: When an overcurrent occurs in the second channel and the switch unit selects the first channel, the switch signal is converted from the second level to the first level, and the latch signal is converted from the second level to the first level.

Citation Information

Cited By

  • High-speed response high-voltage overcurrent protection circuit and overcurrent protection method

    CN121395193A