Myocardial impedance detection mechanism
By using square wave signals and signal peak detection circuits in the myocardial impedance detection mechanism, and directly sampling to the microcontroller ADC, the problems of complex data processing and fixed frequency in the existing technology are solved, and more accurate and efficient myocardial impedance measurement is achieved.
Patent Information
- Application Number
- CN202323436178.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-15
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2033-12-15
AI Technical Summary
Existing myocardial impedance measurement modules use sine wave excitation signals, which results in complex data processing and can only measure at a fixed frequency, which is different from the actual impedance during cardiac pacing.
The square wave signal is used as the excitation signal, and the output result of the two-stage amplification is peak detected through the signal peak detection circuit, and is directly sampled to the microcontroller ADC, eliminating the need for conversion of the real and imaginary parts of the microcontroller port, and reducing the load on the microcontroller.
This makes the impedance measurement results closer to the actual value, simplifies the data processing load of the microcontroller, and improves the accuracy and flexibility of the measurement.
Smart Images

Figure 00000000_0000
Abstract
Description
Technical Field
[0001] The utility model relates to the field of medical detection equipment and technology, in particular to a myocardial impedance detection mechanism. Background Art
[0002] Sometimes cardiac pacing may fail to induce cardiac rhythm. The reason may be that the myocardial impedance is too large, resulting in too small an electric current flowing through the heart. Therefore, it is very necessary to measure the myocardial impedance when implementing intracardiac pacing.
[0003] Existing impedance measurement modules often use a sinusoidal excitation signal. The excitation amplitude and frequency are set in the module's registers via the microcontroller's I2C or SPI port. After conversion, the real and imaginary values in the registers are read through the I2C or SPI port for data processing. This entire process involves complex data conversion and calculations of the real and imaginary components, placing high demands on the microcontroller's performance, and generally only allows measurements at a fixed frequency. Furthermore, because cardiac pacing uses pulse signals, which contain multiple harmonic frequency components, and myocardial impedance closely approximates the equivalent impedance of a resistor and capacitor in parallel, impedance measurements using a sinusoidal signal differ from the actual impedance during cardiac pacing. Utility Model Content
[0004] The technical problem to be solved by the utility model is: to provide a myocardial impedance detection mechanism, wherein the excitation signal adopts a square wave signal, so that the impedance measurement result is closer to the actual value, and at the same time, the real part and imaginary part conversion of the single-chip microcomputer port is omitted, and the peak value of the output result after the two-stage amplification is detected by using a signal peak detection circuit, and the peak value is directly sent to the single-chip microcomputer ADC for sampling, which greatly reduces the load of the single-chip microcomputer.
[0005] The myocardial impedance detection mechanism includes a signal generation and processing module, a signal operational amplifier circuit, and a signal peak detection circuit. The output end of the signal generation and processing module is connected to the input end of the signal generation and processing module after passing through the signal operational amplifier circuit and the signal peak detection circuit. The signal generation and processing module includes a single-chip microcomputer, a DAC conversion module, an ADC conversion module, and a TIM timer integrated on the single-chip microcomputer; the output end of the DAC conversion module is connected to the input end of the signal operational amplifier circuit, the output end of the signal operational amplifier circuit is connected to the input end of the signal peak detection circuit, and the output end of the signal peak detection circuit is connected to the input end of the ADC conversion module.
[0006] Furthermore, the signal operational amplifier circuit includes a voltage divider circuit composed of resistors R9 and R10 in sequence, and U3 and U4 constitute a two-stage amplifier circuit.
[0007] Furthermore, the signal peak detection circuit includes, in sequence, a detection circuit composed of a diode D3, a charging capacitor C1 and a discharge resistor R4, a detection end operational amplifier circuit composed of a low-gain amplifier U2, a resistor R1 and a diode D1, a voltage follower U1, a voltage regulator D4, and a port protection circuit composed of voltage divider resistors R3 and R5.
[0008] Specifically, the single chip microcomputer adopts STM32F series single chip microcomputer.
[0009] The utility model provides a myocardial impedance detection mechanism, in which the excitation signal adopts a square wave signal, so that the impedance measurement result is closer to the actual value, and at the same time eliminates the real part and imaginary part conversion of the single-chip microcomputer port part. The signal peak detection circuit is used to perform peak detection on the output result after two-stage amplification, and directly sends it to the single-chip microcomputer ADC for sampling, which greatly reduces the load of the single-chip microcomputer. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The following is a further description of the myocardial impedance detection mechanism of the present invention in conjunction with the accompanying drawings:
[0011] Figure 1 This is the logical structure and connection principle block diagram of the myocardial impedance detection mechanism;
[0012] Figure 2 This is a circuit diagram of the signal operational amplifier circuit of the myocardial impedance detection mechanism;
[0013] Figure 3 This is a circuit diagram of the signal peak detection circuit of the myocardial impedance detection mechanism.
[0014] In the picture:
[0015] 1-Signal generation and processing module; 11-MCU, 12-DAC conversion module, 13-ADC conversion module, 14-TIM timer;
[0016] 2-signal operational amplifier circuit; 21-voltage divider circuit, 22-two-stage amplifier circuit;
[0017] 3-Signal peak detection circuit; 31-Detection circuit, 32-Detection end operational amplifier circuit, 33-Port protection circuit. DETAILED DESCRIPTION
[0018] In this utility model, unless otherwise specified or limited, the terms "installed," "connected," "connect," "fixed," etc. should be understood in a broad sense. For example, they can refer to fixed connection, detachable connection, or integration; they can refer to direct connection or indirect connection through an intermediate medium; they can refer to internal communication between two components or interaction between two components. Those skilled in the art will understand the specific meanings of the above terms in this utility model based on specific circumstances.
[0019] In the description of the present invention, it should be understood that the terms "left", "right", "front", "back", "top", "bottom", "inside", "outside", etc., indicating directions or positional relationships, are based on the directions or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction. Therefore, they cannot be understood as limitations on the present invention.
[0020] The technical solution of the present invention is further described below with specific embodiments, but the protection scope of the present invention is not limited to the following embodiments.
[0021] Implementation method 1: Figures 1 to 3 As shown, the myocardial impedance detection mechanism includes a signal generation and processing module 1, a signal operational amplifier circuit 2, and a signal peak detection circuit 3. The output end of the signal generation and processing module 1 is connected to the input end of the signal generation and processing module 1 after passing through the signal operational amplifier circuit 2 and the signal peak detection circuit 3. The signal generation and processing module 1 includes a single-chip microcomputer 11, a DAC conversion module 12, an ADC conversion module 13, and a TIM timer 14 integrated on the single-chip microcomputer 11; the output end of the DAC conversion module 12 is connected to the input end of the signal operational amplifier circuit 2, the output end of the signal operational amplifier circuit 2 is connected to the input end of the signal peak detection circuit 3, and the output end of the signal peak detection circuit 3 is connected to the input end of the ADC conversion module 13.
[0022] Implementation method 2: Figure 2 、 3 As shown, the signal operational amplifier circuit 2 of the myocardial impedance detection mechanism includes a voltage divider circuit 21 composed of resistors R9 and R10, and a two-stage amplifier circuit 22 composed of U3 and U4. The DAC output voltage is adjusted by the voltage divider circuit to increase the output voltage adjustment accuracy. U3 and U4 select amplifiers that meet the gain bandwidth product requirements according to the excitation frequency and the amplification factor. Among them, U3 is the main amplifier, and the amplification factor G2 is Where R6, R7, R9 and R10 are fixed values; the amplification factor G1 of the amplifier circuit composed of U4 is Where Rz is the resistance to be measured and R8 is a fixed value. The total amplification factor of the amplifier circuit is G=G1×G2, so the input-output relationship is V Amp_OUT =V DAC_OUT ×G, derive the formula The signal peak detection circuit 3 includes, in sequence, a detection circuit 31 composed of a diode D3, a charging capacitor C1, and a discharge resistor R4; a detection end operational amplifier circuit 32 composed of a low-gain amplifier U2, a resistor R1, and a diode D1; and a port protection circuit 33 composed of a voltage follower U1, a voltage regulator D4, and voltage-dividing resistors R3 and R5. The detection-end op-amp circuit selects an appropriate value based on the excitation frequency; voltage follower U1 prevents the secondary input resistance from affecting the bleeder resistor; the port protection circuit provides voltage protection when the peak detection circuit and the detection-end op-amp circuit are powered by a higher voltage than the microcontroller, and the peak detection output voltage exceeds the dynamic range of the microcontroller's ADC. The nonlinearity of D1 in the detection-end op-amp circuit causes the amplifier circuit to function as a nonlinear amplifier. When the input is greater than the output, D1 is in a reverse-biased, non-conducting state, and U2 functions as a high-gain amplifier with no feedback. When the input is less than the output, D1 conducts forward and exhibits low impedance, and U2 functions as a low-gain amplifier with strong feedback. This amplifier circuit improves circuit speed while ensuring sufficient charging speed for small changes in the input signal. Diode D2 and resistor R2 are added to the detection-end op-amp circuit to reduce the reverse voltage of diode D3, making the reverse voltage across D3 equal to the product of D2's reverse leakage current and R2, effectively suppressing D3's reverse current and effectively increasing the detection circuit's bleeder resistor. The remaining structures and components are as described in Implementation 1 and will not be repeated here.
[0023] Embodiment 3: The single chip microcomputer 11 of this myocardial impedance detection mechanism adopts an STM32F series single chip microcomputer. The remaining structures and components are the same as those described in embodiment 1 and will not be described again.
[0024] During operation: the MCU TIM, ADC, and DAC are initialized and started. The square wave signal generated by the DAC through the TIM control is reduced to tens of mV after voltage division to avoid harm to the human body. The myocardial impedance is basically very close to the equivalent impedance of a resistor and a capacitor in parallel. When the frequency of the contact power supply is not high, it is equivalent to the impedance of a pure resistor. Considering factors such as the human body's tolerance to high-frequency signals and the refractory period of cardiac conduction, it is recommended to use a 10KHz frequency for excitation. After two stages of amplification, it is output to the signal peak detection circuit. The peak detection circuit performs peak detection on the input result for sampling and processing by the MCU ADC. The MCU ADC performs sampling conversion and converts the converted data into resistance value. Specifically for the processing and conversion, the MCU determines whether the sampling is completed in the main loop. After determining that the sampling is completed and the sampling value is obtained, it is first converted into a voltage value according to the reference voltage and conversion accuracy, and then the formula is used. Convert to get the resistance to be measured, where VADC_OUT is the ADC conversion voltage value, V cal is the correction value. If it does not meet the requirements, it is lower than the threshold, increase the DAC conversion value and re-test. If it is higher than the threshold, reduce the DAC conversion value and re-test.
[0025] The myocardial impedance detection mechanism adopts a square wave signal as the excitation signal, which makes the impedance measurement result closer to the actual value. At the same time, it eliminates the conversion of the real part and the imaginary part of the microcontroller port. The signal peak detection circuit is used to perform peak detection on the output result after two-stage amplification and directly sends it to the microcontroller ADC for sampling, which greatly reduces the load of the microcontroller.
[0026] The above description shows the main features, basic principles, and advantages of the present invention. It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments or examples, and that the present invention can be implemented in other specific forms without departing from the spirit or basic features of the present invention. Therefore, the above embodiments or examples should be regarded as exemplary and non-restrictive. The scope of the present invention is limited by the appended claims rather than the above description, and it is intended that all changes that fall within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved.
[0027] In addition, it should be understood that although this specification is described in terms of implementation methods, not every implementation method contains only one independent technical solution. This narrative method 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 can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
Claims
1. A myocardial impedance detection mechanism, Its characteristics are: The invention comprises a signal generation and processing module (1), a signal operational amplifier circuit (2), and a signal peak detection circuit (3); the output end of the signal generation and processing module (1) is connected to the input end of the signal generation and processing module (1) after passing through the signal operational amplifier circuit (2) and the signal peak detection circuit (3); wherein: The signal generation and processing module (1) comprises a single-chip microcomputer (11), a DAC conversion module (12), an ADC conversion module (13), and a TIM timer (14) integrated on the single-chip microcomputer (11); the output end of the DAC conversion module (12) is connected to the input end of a signal operational amplifier circuit (2), the output end of the signal operational amplifier circuit (2) is connected to the input end of a signal peak detection circuit (3), and the output end of the signal peak detection circuit (3) is connected to the input end of the ADC conversion module (13).
2. The myocardial impedance detection mechanism according to claim 1, Its characteristics are: The signal operational amplifier circuit (2) comprises in sequence a voltage divider circuit (21) formed by resistors R9 and R10, and U3 and U4 form a two-stage amplifier circuit (22).
3. The myocardial impedance detection mechanism according to claim 2, Its characteristics are: The signal peak detection circuit (3) comprises, in sequence, a detection circuit (31) composed of a diode D3, a charging capacitor C1 and a discharge resistor R4, a detection end operational amplifier circuit (32) composed of a low-gain amplifier U2, a resistor R1 and a diode D1, and a port protection circuit (33) composed of a voltage follower U1, a voltage regulator D4, and voltage-dividing resistors R3 and R5.
4. The myocardial impedance detection mechanism according to any one of claims 1 to 3, Its characteristics are: The single chip microcomputer (11) adopts a STM32F series single chip microcomputer.
