Lead channel state detection circuit, method and chip
By building a circuit within the chip and utilizing the current detection method of the detection module and the status output module, the problem of high cost and low reliability of feedback channel connection status detection in the prior art is solved, and efficient and reliable lead channel status detection is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANGHAI ANALOGY SEMICON TECH LTD
- Filing Date
- 2022-12-07
- Publication Date
- 2026-06-19
AI Technical Summary
Existing chips used to detect the connection status of feedback channels are expensive and have low reliability.
By building a circuit within the chip, a detection current is provided to the guide channel through the first and second detection modules, and the status value of the status output module is used to determine the channel connection or disconnection status, thereby reducing costs and improving reliability.
This enables efficient and reliable detection of the connection status of the lead channel within the chip, reducing detection costs and improving detection accuracy.
Smart Images

Figure CN115808585B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of medical devices, specifically to a state detection circuit, method, and chip for a lead channel. Background Technology
[0002] When using devices such as electrocardiograms, electromyograms, or electroencephalograms, the chips used to collect human physiological signals need to constantly monitor whether the channels in contact with the human body remain connected in order to ensure the accuracy of the collected human physiological signals.
[0003] Considering that common-mode interference may occur when collecting human physiological signals, chips used to collect human physiological signals usually include a feedback channel connected to the human body to prevent common-mode interference from affecting the collected human physiological signals. Therefore, it is also necessary to detect the connection status of the feedback channel.
[0004] However, existing technologies typically use discrete devices outside the chip to detect the connection status of the feedback channel, which is costly and unreliable. Summary of the Invention
[0005] In view of the above problems, the present application provides a state detection circuit, method and chip for a lead channel, which overcomes or at least partially solves the problems of high cost and low reliability of the detection feedback channel connection state.
[0006] According to a first aspect of the embodiments of this application, a state detection circuit for a lead channel is provided, comprising: a first type lead channel, a second type lead channel, a first detection module, a first state output module, and a second state output module. The first type lead channel, the first detection module, and the first state output module are connected in sequence, the second type lead channel and the second state output module are connected in sequence, and the first type lead channel and the second type lead channel are connected together.
[0007] When both the first state output module and the second state output module output a first state value based on human physiological signals, the first detection module provides a first detection current to both the first type of lead channel and the second type of lead channel. This first detection current is used to detect the operating state of the first type of lead channel. When the first state output module outputs a second state value based on the first detection current, it determines that the second type of lead channel is in a detached state.
[0008] In this embodiment, by outputting a first state value by both the first state output module and the second state output module, it can be determined that the first type of lead channel and / or the second type of lead channel is in a detached state. When the first state output module outputs a second state value based on the first detection current, it can be determined that the first type of lead channel is in a connected state, and subsequently, that the second type of lead channel is in a detached state. In this embodiment, by building a circuit within the chip to detect the connected or detached state of the first type of lead channel and the second type of lead channel, costs can be reduced and the reliability of detection can be improved.
[0009] In an alternative embodiment, the circuit further includes a second detection module connected between the second type of lead channel and the second state output module. Before determining that the second type of lead channel is in a detached state, when the first state output module outputs a second state value based on a first detection current, the first and second detection modules jointly provide a second detection current to the first and second type of lead channels. The second state output module still outputs the first state value based on the second detection current, thus determining that the second type of lead channel is in a detached state.
[0010] With the above technical solution, when it is determined that the first type of lead channel is in a connected state, the first detection module and the second detection module jointly provide a second detection current to the first type of lead channel and the second type of lead channel. If the second state output module still outputs the first state value based on the second detection current, it can more accurately determine that the second type of lead channel is in a disconnected state.
[0011] In one alternative embodiment, the first detection module includes a first switch, a second switch, a first current source, and a second current source. A first terminal of the first switch is connected to the first current source, and a second terminal of the first switch is connected to a first type of lead channel. A first terminal of the second switch is connected to the second current source, and a second terminal of the second switch is also connected to the first type of lead channel.
[0012] When the first switch and the second switch are closed, the first current source is used to provide a first current, and the second current source is used to provide a second current. The first current and the second current are the first detection current.
[0013] Through the above technical solution, the first current source provides a first current and the second current source provides a second current, thereby providing a first detection current for the first type of lead channel, which facilitates the detection of the state of the first type of lead channel.
[0014] In one alternative embodiment, the first detection module further includes a third switch, and the second detection module includes a fourth switch, a fifth switch, a sixth switch, and a third current source. The first terminal of the third switch is connected to the first current source, and the second terminal of the third switch is connected to a first type of lead channel. The first terminal of the fourth switch is connected to the third current source, and the second terminal of the fourth switch is connected to the first terminal of the fifth switch; the second terminal of the fifth switch is connected to a second state output module. The first terminal of the sixth switch is connected to the second terminal of the fifth switch, and the second terminal of the sixth switch is connected to a second type of lead channel.
[0015] When the first, third, fourth, fifth, and sixth switches are closed and the second switch is open, the first current source is used to provide the first current, and the third current source is used to provide the third current; the first current and the third current are the second detection current.
[0016] In one alternative embodiment, the first detection module further includes a third switch, and the second detection module includes a fourth switch, a fifth switch, a sixth switch, and a third current source. The first terminal of the third switch is connected to the second current source, and the second terminal of the third switch is connected to a first type of lead channel. The first terminal of the fourth switch is connected to the third current source, and the second terminal of the fourth switch is connected to the first terminal of the fifth switch; the second terminal of the fifth switch is connected to a second state output module. The first terminal of the sixth switch is connected to the second terminal of the fifth switch, and the second terminal of the sixth switch is connected to a second type of lead channel.
[0017] When the second, third, fourth, fifth, and sixth switches are closed and the first switch is open, the second current source is used to provide the second current, and the third current source is used to provide the third current; the second current and the third current are the second detection currents.
[0018] In an alternative embodiment, the circuit further includes an amplifier, and the second detection module further includes a seventh switch and an eighth switch. The first input terminal of the amplifier is connected to the output terminal of the first type of lead channel, the second input terminal of the amplifier is connected to a reference voltage, and the output terminal of the amplifier is sequentially connected to the second state output module, the second terminal of the fifth switch, and the first terminal of the sixth switch. The first terminal of the eighth switch is connected to the output terminal of the amplifier, and the second terminal of the eighth switch is connected to the second state output module. The first terminal of the seventh switch is connected to the first terminal of the fifth switch, and the second terminal of the seventh switch is connected to the second state output module.
[0019] The amplifier is used to be in the off state when the first, third, fourth, fifth, sixth, and eighth switches are closed and the second and seventh switches are open. The amplifier is also used to be in the off state when the second, third, fourth, fifth, sixth, and eighth switches are closed and the first and seventh switches are open; otherwise, the amplifier is in the on state.
[0020] When the first, third, fourth, and seventh switches are closed, and the second, fifth, sixth, and eighth switches are open, the third current source provides the third current, and the first current source provides the first current. When the second state output module outputs the second state value, the second type of lead channel connection is determined. Alternatively, when the second, third, fourth, and seventh switches are closed, and the first, fifth, sixth, and eighth switches are open, the third current source provides the third current, and the second current source provides the second current. When the second state output module outputs the second state value, the second type of lead channel connection is determined.
[0021] The above technical solution can prevent the amplifier output from interfering with the detection process when detecting the state of the second type of lead channel.
[0022] In one alternative approach, the first type of lead channel includes a positive lead channel and a negative lead channel, and the first state output module includes a first comparator and a second comparator.
[0023] The positive lead channel is connected in sequence to the second terminal of the third switch and the first comparator, and the negative lead channel is connected in sequence to the second terminal of the first switch, the second terminal of the second switch, and the second comparator.
[0024] In one alternative embodiment, the second state output module includes a third comparator and a fourth comparator. The circuit also includes an amplifier, and the second detection module includes a seventh switch. The first input terminal of the amplifier is connected to the output terminal of the first type of lead channel, the second input terminal of the amplifier is connected to a reference voltage, and the output terminal of the amplifier is sequentially connected to the third comparator, the second terminal of the fifth switch, and the first terminal of the sixth switch. The first terminal of the seventh switch is connected to the first terminal of the fifth switch, and the second terminal of the seventh switch is connected to the fourth comparator.
[0025] The amplifier is used to be in the off state when the first, third, fourth, fifth, and sixth switches are closed and the second and seventh switches are open. The amplifier is also used to be in the off state when the second, third, fourth, fifth, and sixth switches are closed and the first and seventh switches are open; otherwise, the amplifier is in the on state.
[0026] When the first, third, fourth, and seventh switches are closed, and the second, fifth, and sixth switches are open, the third current source provides the third current, and the first current source provides the first current. When the fourth comparator outputs the second state value, the second type of lead channel connection is determined. Alternatively, when the second, third, fourth, and seventh switches are closed, and the first, fifth, and sixth switches are open, the third current source provides the third current, and the second current source provides the second current. When the fourth comparator outputs the second state value, the second type of lead channel connection is determined.
[0027] According to a second aspect of the embodiments of this application, a method for detecting the state of a lead channel is provided, applied to a state detection circuit for a lead channel provided in the first aspect of the embodiments of this application, comprising: determining that both a first state output module and a second state output module in the state detection circuit of the lead channel output a first state value; providing a first detection current to the state detection circuit of the lead channel; and determining that a second type of lead channel in the state detection circuit of the lead channel is in a dislodged state when the first state output module outputs a second state value based on the first detection current.
[0028] According to a third aspect of the embodiments of this application, a chip is provided, including the state detection circuit of the lead channel provided in the first aspect of the embodiments of this application.
[0029] The above description is merely an overview of the technical solutions of the embodiments of this application. In order to better understand the technical means of the embodiments of this application and to implement them in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the embodiments of this application more obvious and understandable, specific implementation methods of this application are described below. Attached Figure Description
[0030] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0031] Figure 1 A schematic diagram of a state detection circuit for a lead channel provided in an embodiment of this application. Figure 1 .
[0032] Figure 2 A schematic diagram of a state detection circuit for a lead channel provided in an embodiment of this application. Figure 2 .
[0033] Figure 3 A schematic diagram of a state detection circuit for a lead channel provided in an embodiment of this application. Figure 3 . Detailed Implementation
[0034] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0035] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
[0036] The terms "comprising" and "having," and any variations thereof, used in the specification, claims, and drawings of this application are intended to cover without excluding other meanings. The words "a" or "an" do not exclude the existence of multiple entities.
[0037] The term "embodiment" as used herein means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of the phrase "embodiment" in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0038] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0039] Furthermore, the terms "first," "second," etc., in the specification and claims of this application or in the aforementioned drawings are used to distinguish different objects rather than to describe a specific order, and may explicitly or implicitly include one or more of the features.
[0040] In the description of this application, unless otherwise stated, "multiple" means two or more (including two), and similarly, "multiple groups" means two or more (including two groups).
[0041] In the description of this application, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linkage" should be interpreted broadly. For example, "connection" or "linkage" in mechanical structures can refer to a physical connection, such as a fixed connection, for example, a connection fixed by fasteners, such as a connection fixed by screws, bolts, or other fasteners; a physical connection can also be a detachable connection, such as a snap-fit or interlocking connection; a physical connection can also be an integral connection, such as a connection formed by welding, bonding, or integral molding. In circuit structures, "connection" or "linkage" can refer not only to a physical connection but also to an electrical connection or a signal connection. For example, it can be a direct connection, i.e., a physical connection, or an indirect connection through at least one intermediate component, as long as the circuit is connected; it can also refer to the internal connection of two components. Signal connection can refer not only to signal connection through a circuit but also to signal connection through a media, such as radio waves. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.
[0042] This application provides a state detection circuit for a lead channel, primarily used in devices such as electrocardiograms (ECG), electromyograms (EMG), or electroencephalograms (EEGs). When these devices acquire human physiological signals, they mainly include an acquisition channel (hereinafter referred to as a first type of lead channel) and a feedback channel (hereinafter referred to as a second type of lead channel). The first type of lead channel is primarily used to acquire human physiological signals, while the second type of lead channel is primarily used to suppress common-mode interference to ensure the accuracy of the human physiological signals acquired by the first type of lead channel. For example, the first type of lead channel and the second type of lead channel share a common reference terminal; for instance, the second type of lead channel could be the channel corresponding to the right leg detection circuit.
[0043] Figure 1 A schematic diagram of a state detection circuit for a lead channel provided in an embodiment of this application. Figure 1 ,like Figure 1 As shown, the state detection circuit for the lead channel provided in this embodiment includes: a first type lead channel 01, a second type lead channel 02, a first detection module 03, a first state output module 04, and a second state output module 05. The first type lead channel 01, the first detection module 03, and the first state output module 04 are connected in sequence, the second type lead channel 02 and the second state output module 05 are connected in sequence, and the first type lead channel 01 and the second type lead channel 02 are connected together.
[0044] When both the first state output module 04 and the second state output module 05 output a first state value based on human physiological signals, the first detection module 03 provides a first detection current to the first type lead channel 01 and the second type lead channel 02. The first detection current is used to detect the working state of the first type lead channel 01. When the first state output module 04 outputs a second state value based on the first detection current, it determines that the second type lead channel 02 is in a detached state.
[0045] In this embodiment, a first state value indicates that the first type of lead channel 01 or the second type of lead channel 02 is in a dislodged state, and a second state value indicates that the first type of lead channel 01 or the second type of lead channel 02 is in a connected state. For example, the first state value can be 1 and the second state value can be 0; this embodiment does not impose specific limitations on this.
[0046] When both the first state output module 04 and the second state output module 05 output a first state value based on human physiological signals, it is considered that the first type lead channel 01 and / or the second type lead channel 02 are in a detached state. It is necessary to further determine which lead channel is detached. At this time, in this embodiment, the first detection module 03 is controlled to provide a first detection current to the first type lead channel 01 and the second type lead channel 02, so that the first detection current flows through the first type lead channel 01 and the second type lead channel 02. Then, based on whether the first state output module 04 outputs a first state value or a second state value, it is determined whether the first type lead channel 01 is in a detached state, the second type lead channel 02 is in a detached state, or both the first type lead channel 01 and the second type lead channel 02 are in a detached state.
[0047] Specifically, if the first state output module 04 outputs a first state value based on the first detection current, it can be determined that the first type lead channel 01 is in a detached state. Since the second type lead channel 02 is an auxiliary to the first type lead channel 01 to make the human physiological signals collected by the first type lead channel 01 more accurate, when the first type lead channel 01 is in a detached state, it is not necessary to detect the second type lead channel 02 again until the first type lead channel 01 is connected before detecting the second type lead channel 02. If the first state output module 04 outputs a second state value based on the first detection current, it can be considered that the first type lead channel 01 is in a connected state. However, since both the first state output module 04 and the second state output module 05 output the first state value based on the human physiological signals, it can be known that one of the first type lead channel 01 and the second type lead channel 02 must be in a detached state. Therefore, it can be inferred that the second type lead channel 02 is in a detached state.
[0048] Figure 2A schematic diagram of a state detection circuit for a lead channel provided in an embodiment of this application. Figure 2 .like Figure 2 As shown, the first detection module 03 may include a first switch 031, a second switch 032, a first current source 033, and a second current source 034. The first end of the first switch 031 is connected to the first current source 033, and the second end of the first switch 031 is connected to the first type of lead channel 01. The first end of the second switch 032 is connected to the second current source 034, and the second end of the second switch 032 is connected to the first type of lead channel 01.
[0049] When the first switch 031 and the second switch 032 are closed, the first current source 033 is used to provide the first current, and the second current source 034 is used to provide the second current. The first current and the second current are the first detection current.
[0050] In practical applications, the first current source 033 and the second current source 034 can provide sourcing current and sinking current, respectively. If the first current source 033 provides sourcing current, then the second current source 034 provides sinking current; if the first current source 033 provides sinking current, then the second current source 034 provides sourcing current. Thus, a current loop can be formed in the first type of lead channel 01. If the first state output module 04 outputs a second state value based on the first detected current, then the current loop formed in the first type of lead channel 01 can be considered a closed circuit, and the first type of lead channel 01 can be determined to be in a connected state. If the first state output module 04 outputs a first state value based on the first detected current, then the current loop formed in the first type of lead channel 01 can be considered an open circuit, and the first type of lead channel 01 can be determined to be in a disconnected state.
[0051] In this embodiment, by outputting a first state value by both the first state output module 04 and the second state output module 05, it can be determined that the first type of lead channel 01 and / or the second type of lead channel 02 are in a disconnected state. When the first state output module 04 outputs a second state value based on the first detection current, it can be determined that the first type of lead channel 01 is in a connected state, and consequently, it can be determined that the second type of lead channel 02 is in a disconnected state. In this embodiment, by building a circuit within the chip to detect the connection or disconnection state of the first type of lead channel 01 and the second type of lead channel 02, costs can be reduced and the reliability of detection can be improved.
[0052] refer to Figure 2In one alternative embodiment, the state detection circuit of the lead channel may further include a second detection module 06 connected between the second type lead channel 02 and the second state output module 05. Before determining that the second type lead channel 02 is in a detached state, when the first state output module 04 outputs a second state value based on the first detection current, the first detection module 03 and the second detection module 06 are jointly used to provide a second detection current to the first type lead channel 01 and the second type lead channel 02. If the second state output module 05 still outputs the first state value based on the second detection current, it is determined that the second type lead channel 02 is in a detached state.
[0053] The first detection module 03 and the second detection module 06 jointly provide a second detection current to the first type lead channel 01 and the second type lead channel 02, thus forming a current loop in the first type lead channel 01 and the second type lead channel 02. If the second state output module 05 still outputs a first state value based on the second detection current, it indicates that the current loop formed in the first type lead channel 01 and the second type lead channel 02 is open. Since the first state output module 04 outputs a second state value based on the first detection current, it can be determined that the first type lead channel 01 is in a connected state, and therefore the second type lead channel 02 is in a disconnected state.
[0054] refer to Figure 2 The first detection module 03 may further include a third switch 035, and the second detection module 06 includes a fourth switch 061, a fifth switch 062, a sixth switch 063, and a third current source 064. The first end of the third switch 035 is connected to the first current source 033, and the second end of the third switch 035 is connected to the first type of lead channel 01. The first end of the fourth switch 061 is connected to the third current source 064, and the second end of the fourth switch 061 is connected to the first end of the fifth switch 062. The second end of the fifth switch 062 is connected to the second state output module 05. The first end of the sixth switch 063 is connected to the second end of the fifth switch 062, and the second end of the sixth switch 063 is connected to the second type of lead channel 02.
[0055] When the first switch 031, the third switch 035, the fourth switch 061, the fifth switch 062, and the sixth switch 063 are closed, and the second switch 032 is open, the first current source 033 provides the first current, and the third current source 064 provides the third current. The first current and the third current are the second detection current.
[0056] At this time, the second detection current flows through the first current source 033, the first switch 031, the third switch 035, the first type of lead channel 01, the sixth switch 063, the second type of lead channel 02, the fifth switch 062, the fourth switch 061, and the third current source 064. If the above process is a closed circuit, the second state output module 05 outputs a second state value, which can determine that the second type of lead channel 02 is in a connected state. If the above process is an open circuit, the second state output module 05 outputs a first state value, which can determine that the second type of lead channel 02 is in a disconnected state.
[0057] In another possible embodiment, this embodiment also provides another connection method for the third switch 035. The first end of the third switch 035 is connected to the second current source 034, and the second end of the third switch 035 is connected to the first type of lead channel 01. The first end of the fourth switch 061 is connected to the third current source 064, and the second end of the fourth switch 061 is connected to the first end of the fifth switch 062. The second end of the fifth switch 062 is connected to the second state output module 05. The first end of the sixth switch 063 is connected to the second end of the fifth switch 062, and the second end of the sixth switch 063 is connected to the second type of lead channel 02.
[0058] When the second switch 032, the third switch 035, the fourth switch 061, the fifth switch 062, and the sixth switch 063 are closed, and the first switch 031 is open, the second current source 034 is used to provide the second current, and the third current source 064 is used to provide the third current. The second current and the third current are the second detection current.
[0059] At this time, the second detection current flows through the second current source 034, the second switch 032, the third switch 035, the first type of lead channel 01, the sixth switch 063, the second type of lead channel 02, the fifth switch 062, the fourth switch 061, and the third current source 064. If the above process is a closed circuit, the second state output module 05 outputs a second state value, which can determine that the second type of lead channel 02 is in a connected state. If the above process is an open circuit, the second state output module 05 outputs a first state value, which can determine that the second type of lead channel 02 is in a disconnected state.
[0060] It is worth pointing out that, such as Figure 2 As shown, there can be two third switches 035. One third switch 035 has its first end connected to the second current source 034 and its second end connected to the first type of lead channel 01. The other third switch 035 has its first end connected to the first current source 033 and its second end connected to the first type of lead channel 01. In practical applications, those skilled in the art can combine the detection method provided in this application to control the closing and opening of the two third switches 035; this application does not impose any limitations on this.
[0061] It should be understood that the third current provided by the third current source 064 can be either a source current or a sinking current. Since a current loop needs to be formed in the first type of lead channel 01 and the second type of lead channel 02, when the first current is a source current, the third current is a sinking current; when the first current is a sinking current, the third current is a source current. Correspondingly, when the second current is a source current, the third current is a sinking current; when the second current is a sinking current, the third current is a source current.
[0062] In practical applications, considering the need to collect human physiological signals, such as Figure 2 As shown, the first type of lead channel 01 may include a positive lead channel 011 and a negative lead channel 012, and the first state output module 04 includes a first comparator 041 and a second comparator 042.
[0063] The positive lead channel 011 is connected in sequence to the second terminal of the third switch 035 and the first comparator 041. The negative lead channel 012 is connected in sequence to the second terminal of the first switch 031, the second terminal of the second switch 032, and the second comparator 042.
[0064] In this embodiment, when the first terminal of the third switch 035 is connected to the first current source 033 and the second terminal of the third switch 035 is connected to the first type of lead channel 01, the first detection current can flow through the first current source 033, the third switch 035, the positive lead channel 011, the negative lead channel 012, the second switch 032, and the second current source 034. When the first terminal of the third switch 035 is connected to the second current source 034 and the second terminal of the third switch 035 is connected to the first type of lead channel 01, the first detection current can flow through the first current source 033, the first switch 031, the negative lead channel 012, the positive lead channel 011, the third switch 035, and the second current source 034.
[0065] It should be noted that there can be multiple positive lead channels 011 and negative lead channels 012, for example, 12 of each. One positive lead channel 011 and one negative lead channel 012 form a signal pair. Each positive lead channel 011 and each negative lead channel 012 can be connected to a corresponding comparator. When the second type of lead channel 02 is connected, a comparator output of 1 indicates that the corresponding connected positive lead channel 011 or negative lead channel 012 is disconnected; a comparator output of 0 indicates that the corresponding connected positive lead channel 011 or negative lead channel 012 is connected.
[0066] In practical applications, Figure 3 A schematic diagram of a state detection circuit for a lead channel provided in an embodiment of this application. Figure 3 .like Figure 3As shown, the state detection circuit of the lead channel also includes amplifier 07, and the second detection module 06 further includes a seventh switch 065 and an eighth switch 066. The first input terminal of amplifier 07 is connected to the output terminal of the first type lead channel 01, the second input terminal of amplifier 07 is connected to a reference voltage, and the output terminal of amplifier 07 is sequentially connected to the second state output module 05, the second terminal of the fifth switch 062, and the first terminal of the sixth switch 063. The first terminal of the eighth switch 066 is connected to the output terminal of amplifier 07, and the second terminal of the eighth switch 066 is connected to the second state output module 05. The first terminal of the seventh switch 065 is connected to the first terminal of the fifth switch 062, and the second terminal of the seventh switch 065 is connected to the second state output module 05.
[0067] Amplifier 07 is used to be in the closed state when the first switch 031, the third switch 035, the fourth switch 061, the fifth switch 062, the sixth switch 063, and the eighth switch 066 are closed, and the second switch 032 and the seventh switch 065 are open. It should be noted that at this time, the first terminal of the third switch 035 is connected to the first current source 033, and the second terminal of the third switch 035 is connected to the first type of lead channel 01.
[0068] Amplifier 07 is also used to be in the closed state when the second switch 032, the third switch 035, the fourth switch 061, the fifth switch 062, the sixth switch 063, and the eighth switch 066 are closed, and when the first switch 031 and the seventh switch 065 are open. It should be noted that at this time, the first terminal of the third switch 035 is connected to the second current source 034, and the second terminal of the third switch 035 is connected to the first type of lead channel 01.
[0069] Otherwise, amplifier 07 is in the ON state.
[0070] When the first switch 031, the third switch 035, the fourth switch 061, and the seventh switch 065 are closed, and the second switch 032, the fifth switch 062, the sixth switch 063, and the eighth switch 066 are open, the third current source 064 provides the third current, and the first current source 033 provides the first current. When the second state output module 05 outputs the second state value, the first current source 033, the first switch 031, the third switch 035, the first type lead channel 01, the second type lead channel 02, the seventh switch 065, the fourth switch 061, and the third current source 064 form a current path, and it can be determined that the second type lead channel 02 is connected. It should be noted that at this time, the first end of the third switch 035 is connected to the first current source 033, and the second end of the third switch 035 is connected to the first type lead channel 01.
[0071] Alternatively, when the second switch 032, the third switch 035, the fourth switch 061, and the seventh switch 065 are closed, and the first switch 031, the fifth switch 062, the sixth switch 063, and the eighth switch 066 are open, the third current source 064 provides the third current, and the second current source 034 provides the second current. When the second state output module 05 outputs the second state value, the second current source 034, the second switch 032, the third switch 035, the first type lead channel 01, the second type lead channel 02, the seventh switch 065, the fourth switch 061, and the third current source 064 form a current path, and it can be determined that the second type lead channel 02 is connected. It should be noted that at this time, the first end of the third switch 035 is connected to the second current source 034, and the second end of the third switch 035 is connected to the first type lead channel 01.
[0072] In both of the above scenarios, amplifier 07 is turned off when detecting whether the second type lead channel 02 is in a detached state, and turned on when detecting whether the second type lead channel 02 is in a connected state. In this way, the output of amplifier 07 can be prevented from interfering with the process of detecting whether the second type lead channel 02 is in a detached state, and the detection result will not be affected by the turn-on of amplifier 07 when detecting whether the second type lead channel 02 is in a connected state.
[0073] It is worth noting that this embodiment, by setting the seventh switch 065 and the eighth switch 066 and adjusting their closed and open states, enables the shared use of a single second state output module 05 to detect whether the second type of lead channel 02 is in a detached state and whether the second type of lead channel 02 is in a connected state. This is merely an example. In practical applications, those skilled in the art can design other circuit structures to achieve the shared use of a single second state output module 05 according to actual conditions, and this embodiment does not limit this.
[0074] In another possible implementation, the second state output module 05 may include a third comparator 051 and a fourth comparator 052. The third comparator 051 detects whether the second type of lead channel 02 is in a disconnected state, and the fourth comparator 052 detects whether the second type of lead channel 02 is in a connected state. The lead channel state detection circuit also includes an amplifier 07, and the second detection module 06 also includes a seventh switch 065. The first input terminal of the amplifier 07 is connected to the output terminal of the first type of lead channel 01, the second input terminal of the amplifier 07 is connected to a reference voltage, and the output terminal of the amplifier 07 is sequentially connected to the third comparator 051, the second terminal of the fifth switch 062, and the first terminal of the sixth switch 063. The first terminal of the seventh switch 065 is connected to the first terminal of the fifth switch 062, and the second terminal of the seventh switch 065 is connected to the fourth comparator 052.
[0075] Amplifier 07 is used to be in the closed state when the first switch 031, the third switch 035, the fourth switch 061, the fifth switch 062, and the sixth switch 063 are closed, and the second switch 032 and the seventh switch 065 are open. It should be noted that at this time, the first terminal of the third switch 035 is connected to the first current source 033, and the second terminal of the third switch 035 is connected to the first type of lead channel 01.
[0076] Amplifier 07 is also used to be in the closed state when the second switch 032, the third switch 035, the fourth switch 061, the fifth switch 062, and the sixth switch 063 are closed, and the first switch 031 and the seventh switch 065 are open. It should be noted that at this time, the first terminal of the third switch 035 is connected to the second current source 034, and the second terminal of the third switch 035 is connected to the first type of lead channel 01.
[0077] Otherwise, amplifier 07 is in the ON state.
[0078] When the first switch 031, the third switch 035, the fourth switch 061, and the seventh switch 065 are closed, and the second switch 032, the fifth switch 062, and the sixth switch 063 are open, the third current source 064 provides the third current, and the first current source 033 provides the first current. When the fourth comparator 052 outputs the second state value, the first current source 033, the first switch 031, the third switch 035, the first type lead channel 01, the second type lead channel 02, the seventh switch 065, the fourth switch 061, and the third current source 064 form a current path, confirming that the second type lead channel 02 is connected. It should be noted that at this time, the first terminal of the third switch 035 is connected to the first current source 033, and the second terminal of the third switch 035 is connected to the first type lead channel 01.
[0079] Alternatively, when the second switch 032, the third switch 035, the fourth switch 061, and the seventh switch 065 are closed, and the first switch 031, the fifth switch 062, and the sixth switch 063 are open, the third current source 064 provides the third current, and the second current source 034 provides the second current. When the fourth comparator 052 outputs the second state value, the second current source 034, the second switch 032, the third switch 035, the first type lead channel 01, the second type lead channel 02, the seventh switch 065, the fourth switch 061, and the third current source 064 form a current path, and it can be determined that the second type lead channel 02 is connected. It should be noted that at this time, the first end of the third switch 035 is connected to the second current source 034, and the second end of the third switch 035 is connected to the first type lead channel 01.
[0080] like Figure 2As shown, the state detection circuit of the lead channel may further include a gain amplifier 09. The positive lead channel 011 and the negative lead channel 012 are respectively connected to the positive and negative input terminals of the gain amplifier 09, and the output terminal of the gain amplifier 09 is connected to the first input terminal of the amplifier 07. The state detection circuit of the lead channel may further include a ninth switch 10, which includes multiple switches. By opening and closing the multiple switches, the positive lead channel 011 and the negative lead channel 012 can be respectively associated with a comparator, and the output of the comparator can be used to determine whether the positive lead channel 011 and the negative lead channel 012 are disconnected or connected. In addition, the state detection circuit of the lead channel may further include a digital-to-analog converter 11 connected to each comparator to provide a reference voltage for the comparator. The state detection circuit of the lead channel may further include an auxiliary circuit 12 for simulating the resistance and capacitance models formed when the first type of lead channel 01 and the second type of lead channel 02 come into contact with the human body.
[0081] In one possible embodiment, the state detection circuit of the lead channel provided in this embodiment may further include a signal acquisition module 13. The signal acquisition module 13 may include a first type lead channel 01, a first detection module 03, a first state output module 04, a gain amplifier 09, a ninth switch 10, a digital-to-analog converter 11, and auxiliary circuit 12. There may be multiple signal acquisition modules 13, for example, there may be 8 or 12 signal acquisition modules.
[0082] The following is for reference. Figure 2 This embodiment uses the case where the first type of lead channel 01 includes a positive lead channel 011 and a negative lead channel 012, the second type of lead channel 02 is a feedback channel, the first state output module 04 includes a first comparator 041 and a second comparator 042, the digital-to-analog converter 11 provides a reference voltage of 190 microvolts (µV) for both the first comparator 041 and the second comparator 042, the second state output module 05 includes a third comparator 051 and a fourth comparator 052, the first current source 033 is a sink current and provides a voltage of 200µV, the second current source 034 is a source current, the third current source 064 is a source current, and there are two third switches 035 to illustrate how to determine the disconnection and connection status of the first type of lead channel 01 and the second type of lead channel 02.
[0083] When the third comparator 051 outputs 0, and both the first comparator 041 and the second comparator 042 output 0, the positive lead channel 011, the negative lead channel 012, and the second type lead channel 02 are all connected. When the third comparator 051 outputs 0, and one of the first comparators 041 and the second comparator 042 outputs 1, the first type lead channel 01 connected to the comparator with the 1 output is disconnected, and the second type lead channel 02 is connected. For example, if the positive lead channel 011 is connected to the first comparator 041, and the negative lead channel 012 is connected to the second comparator 042, and the first comparator 041 outputs 1, then the positive lead channel 011 is disconnected.
[0084] When the first comparator 041, the second comparator 042, and the third comparator 051 all output 1, it is impossible to distinguish which of the positive lead channel 011, the negative lead channel 012, and the second type lead channel 02 is in a detached state, or whether they are all in a detached state, because the positive lead channel 011, the negative lead channel 012, and the second type lead channel 02 are all connected to the human body and have a common terminal.
[0085] At this time, the second switch 032 and the third switch 035, whose first terminal is connected to the first current source 033 and whose second terminal is connected to the first type of lead channel 01, are closed. The first detection current flows through the first current source 033, the third switch 035, the positive lead channel 011, the negative lead channel 012, the second switch 032, and the second current source 034. If the first detection current forms a circuit, the voltage input to the first comparator 041 and the second comparator 042 is the voltage after voltage division by the auxiliary circuit 12. This voltage is less than 190µV, and at this time, both the first comparator 041 and the second comparator 042 output 0. If the first detection current forms an open circuit, the final voltage input to the first comparator 041 and the second comparator 042 is 200µV, which is greater than 190µV, and at this time, both the first comparator 041 and the second comparator 042 output 1. It is worth noting that the reference voltages of the first comparator 041 and the second comparator 042 should be slightly less than the voltage that the first current source 033 can provide. The smaller the reference voltages of the first comparator 041 and the second comparator 042, the faster it can be determined whether the positive lead channel 011 and the negative lead channel 012 are disconnected or connected.
[0086] If both the first comparator 041 and the second comparator 042 output 0, it can be determined that the first type of lead channel 01 is in a connected state. At this time, it can be further determined whether the second type of lead channel 02 is disconnected or connected.
[0087] Close the third switch 035, the first switch 031, the fourth switch 061, the fifth switch 062, and the sixth switch 063, which are connected to the first current source 033 at the first end and to the first type of lead channel 01 at the second end. Disconnect the second switch 032 and the seventh switch 065 to provide a second detection current to the lead channel's state detection circuit. To avoid interference from the amplifier 07's output on the second detection current, the amplifier 07 can be turned off during this process. If the third comparator 051 outputs 1 at this time, it can be determined that the second type of lead channel 02 is in a disconnected state.
[0088] At this point, amplifier 07 can be turned on, and the third switch 035, the first switch 031, the fourth switch 061, and the seventh switch 065, whose first terminal is connected to the first current source 033 and whose second terminal is connected to the first type of lead channel 01, can be closed. The second switch 032, the fifth switch 062, and the sixth switch 063 can be opened, waiting for the user to connect the second type of lead channel 02. When the fourth comparator 052 outputs 0, it can be determined that the second type of lead channel 02 is connected.
[0089] Disconnect the first switch 031, the second switch 032, the third switch 035, the fourth switch 061, the fifth switch 062, and the seventh switch 065, and close the sixth switch 063. Observe the output of the first comparator 041, the second comparator 042, and the third comparator 051 in order to continue to detect whether the first type of lead channel 01 and the second type of lead channel 02 are disconnected or connected.
[0090] In another embodiment of this application, a chip 08 is also provided, including the state detection circuit of the lead channel provided in the foregoing embodiment.
[0091] It is worth noting that the sixth switch 063 can also be located outside the chip without changing the connection method (e.g., Figure 2 (At position A in the middle), or the sixth switch 063 consists of two, each located outside the chip (e.g., Figure 2 (at position A in the middle) and inside the chip (such as Figure 2 At position B in the middle, both sixth switches 063 are simultaneously open or simultaneously closed. This embodiment does not impose specific limitations on this.
[0092] In another embodiment of this application, a method for detecting the state of a lead channel is also provided, applied to the state detection circuit of the lead channel provided in the foregoing embodiment. The method includes: determining that both a first state output module and a second state output module in the state detection circuit of the lead channel output a first state value; providing a first detection current to the state detection circuit of the lead channel; and determining that a second type of lead channel in the state detection circuit of the lead channel is in a detached state when the first state output module outputs a second state value based on the first detection current.
[0093] In practical applications, when the first state output module outputs a second state value based on the first detection current, the above method may further include providing a second detection current to both the first and second type of lead channels. When the second state output module still outputs the first state value based on the second detection current, it is determined that the second type of lead channel is in a disconnected state. When the second state output module outputs the second state value, it is determined that the second type of lead channel is connected.
[0094] Those skilled in the art will understand that although some embodiments herein include certain features included in other embodiments, combinations of features from different embodiments are intended to be within the scope of this application and form different embodiments. For example, in the claims, any of the claimed embodiments can be used in any combination.
[0095] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A state detection circuit for a lead channel, characterized in that, include: A first type of lead channel, a second type of lead channel, a first detection module, a first status output module, and a second status output module; the first type of lead channel, the first detection module, and the first status output module are connected in sequence; the second type of lead channel and the second status output module are connected in sequence; the first type of lead channel and the second type of lead channel are connected. When both the first state output module and the second state output module output a first state value based on human physiological signals, the first detection module is used to provide a first detection current to the first type of lead channel and the second type of lead channel. The first detection current is used to detect the working state of the first type of lead channel. When the first state output module outputs a second state value based on the first detection current, it is determined that the second type of lead channel is in a detached state; The circuit also includes a second detection module, which is connected between the second type of lead channel and the second status output module; Before determining that the second type of lead channel is in a detached state, when the first state output module outputs a second state value based on the first detection current, the first detection module and the second detection module are used together to provide a second detection current to the first type of lead channel and the second type of lead channel. The second state output module still outputs the first state value based on the second detection current, thus determining that the second type of lead channel is in a detached state. The first detection module includes a first switch, a second switch, a first current source, and a second current source; the first end of the first switch is connected to the first current source, the second end of the first switch is connected to the first type of lead channel, the first end of the second switch is connected to the second current source, and the second end of the second switch is connected to the first type of lead channel. When the first switch and the second switch are closed, the first current source is used to provide a first current, and the second current source is used to provide a second current. The first current and the second current are the first detection current.
2. The circuit according to claim 1, characterized in that, The first detection module further includes a third switch, and the second detection module includes a fourth switch, a fifth switch, a sixth switch, and a third current source; the first end of the third switch is connected to the first current source, and the second end of the third switch is connected to the first type of lead channel; the first end of the fourth switch is connected to the third current source, and the second end of the fourth switch is connected to the first end of the fifth switch, and the second end of the fifth switch is connected to the second status output module; the first end of the sixth switch is connected to the second end of the fifth switch, and the second end of the sixth switch is connected to the second type of lead channel. When the first switch, the third switch, the fourth switch, the fifth switch, and the sixth switch are closed, and the second switch is open, the first current source is used to provide the first current, and the third current source is used to provide the third current; the first current and the third current are the second detection current.
3. The circuit of claim 1, wherein, The first detection module further includes a third switch, and the second detection module includes a fourth switch, a fifth switch, a sixth switch, and a third current source; the first end of the third switch is connected to the second current source, and the second end of the third switch is connected to the first type of lead channel; the first end of the fourth switch is connected to the third current source, and the second end of the fourth switch is connected to the first end of the fifth switch, and the second end of the fifth switch is connected to the second status output module; the first end of the sixth switch is connected to the second end of the fifth switch, and the second end of the sixth switch is connected to the second type of lead channel. When the second switch, the third switch, the fourth switch, the fifth switch, and the sixth switch are closed, and the first switch is open, the second current source is used to provide the second current, and the third current source is used to provide the third current; the second current and the third current are the second detection current.
4. A circuit according to claim 2 or 3, characterised in that, The circuit further includes an amplifier, and the second detection module further includes a seventh switch and an eighth switch; the first input terminal of the amplifier is connected to the output terminal of the first type of lead channel, the second input terminal of the amplifier is connected to a reference voltage, and the output terminal of the amplifier is sequentially connected to the second status output module, the second terminal of the fifth switch, and the first terminal of the sixth switch; the first terminal of the eighth switch is connected to the output terminal of the amplifier, and the second terminal of the eighth switch is connected to the second status output module; the first terminal of the seventh switch is connected to the first terminal of the fifth switch, and the second terminal of the seventh switch is connected to the second status output module. The amplifier is used to be in a closed state when the first switch, the third switch, the fourth switch, the fifth switch, the sixth switch, and the eighth switch are closed, and the second switch and the seventh switch are open. The amplifier is also used to be in a closed state when the second switch, the third switch, the fourth switch, the fifth switch, the sixth switch, and the eighth switch are closed, and the first switch and the seventh switch are open; otherwise, the amplifier is in an open state. When the first switch, the third switch, the fourth switch, and the seventh switch are closed, and the second switch, the fifth switch, the sixth switch, and the eighth switch are open, the third current source provides the third current, and the first current source is used to provide the first current. When the second state output module outputs the second state value, the second type of lead channel connection is determined. Alternatively, when the second switch, the third switch, the fourth switch, and the seventh switch are closed, and the first switch, the fifth switch, the sixth switch, and the eighth switch are open, the third current source provides the third current, and the second current source is used to provide the second current. When the second state output module outputs the second state value, the second type of lead channel connection is determined.
5. The circuit of claim 2 or 3, wherein, The first type of lead channel includes a positive lead channel and a negative lead channel, and the first status output module includes a first comparator and a second comparator; The positive lead channel is connected in sequence to the second terminal of the third switch and the first comparator; the negative lead channel is connected in sequence to the second terminal of the first switch, the second terminal of the second switch, and the second comparator.
6. The circuit of claim 2 or 3, wherein, The second state output module includes a third comparator and a fourth comparator; the circuit also includes an amplifier, and the second detection module also includes a seventh switch; the first input terminal of the amplifier is connected to the output terminal of the first type of lead channel, the second input terminal of the amplifier is connected to a reference voltage, and the output terminal of the amplifier is sequentially connected to the third comparator, the second terminal of the fifth switch, and the first terminal of the sixth switch; the first terminal of the seventh switch is connected to the first terminal of the fifth switch, and the second terminal of the seventh switch is connected to the fourth comparator; The amplifier is used to be in a closed state when the first switch, the third switch, the fourth switch, the fifth switch, and the sixth switch are closed, and the second switch and the seventh switch are open. The amplifier is also used to be in a closed state when the second switch, the third switch, the fourth switch, the fifth switch, and the sixth switch are closed, and the first switch and the seventh switch are open; otherwise, the amplifier is in an open state. When the first switch, the third switch, the fourth switch, and the seventh switch are closed, and the second switch, the fifth switch, and the sixth switch are open, the third current source provides the third current, and the first current source is used to provide the first current. When the fourth comparator outputs the second state value, the connection of the second type of lead channel is determined. Alternatively, when the second switch, the third switch, the fourth switch, and the seventh switch are closed, and the first switch, the fifth switch, and the sixth switch are open, the third current source provides the third current, and the second current source is used to provide the second current. When the fourth comparator outputs the second state value, the connection of the second type of lead channel is determined.
7. A method for detecting a state of a lead channel, applied to the lead channel state detection circuit according to any one of claims 1 to 6, characterized by, The method includes: It is determined that both the first state output module and the second state output module in the state detection circuit of the lead channel output the first state value. Provide a first detection current to the state detection circuit of the lead channel; When the first state output module outputs a second state value based on the first detection current, it is determined that the second type of lead channel in the state detection circuit of the lead channel is in a detached state.
8. A chip, characterized by Includes the state detection circuit of the lead channel as described in any one of claims 1 to 6.