Ecg module testing method and apparatus, electronic device, and readable storage medium

By sending simulated test signals and detecting feedback signals, the problem of difficult signal processing capability testing of smartwatch ECG modules is solved, enabling accurate evaluation of input impedance, operating power, and wear detection functions, thus ensuring the effectiveness of ECG modules in practical applications.

CN115980481BActive Publication Date: 2026-05-19LUXSHARE ITECH(ZHEJIANG) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
LUXSHARE ITECH(ZHEJIANG) CO LTD
Filing Date
2022-12-13
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

The signal processing capabilities of existing smartwatch ECG functions are difficult to test effectively, especially since ECG signals have low frequency, small amplitude, and are easily interfered with.

Method used

An ECG module testing method is provided, which sends an analog test signal to the ECG module through a test module, detects the feedback signal and determines the operating parameters, including input impedance, operating power, AC input capacitance, and wear detection function.

Benefits of technology

It enables accurate evaluation of the signal processing capabilities of the ECG module, ensuring its effectiveness and reliability in real-world application environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115980481B_ABST
    Figure CN115980481B_ABST
Patent Text Reader

Abstract

The application relates to an ECG module testing method and device, electronic equipment and a readable storage medium. The ECG module testing device comprises a testing module. The method comprises the following steps: receiving a testing instruction, connecting an ECG module with the testing module according to the testing instruction, controlling the testing module to send an analog testing signal to the ECG module, detecting a feedback signal corresponding to the analog testing signal generated by the ECG module, and determining the working parameter of the ECG module according to the analog testing signal and the feedback signal. The testing module is arranged, the analog testing signal used for simulating an ECG signal is output to the ECG module through the testing module, the feedback signal of the ECG module based on the analog testing signal is obtained, the working parameter of the ECG module is obtained, and the signal processing capability of the ECG module can be reflected through the working parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wearable devices, and more particularly to an ECG module testing method, apparatus, electronic device, and readable storage medium. Background Technology

[0002] More and more smartwatches now feature ECG (Electrocardiogram) functionality; however, because ECG signals have low frequency and small amplitude, they are easily affected by various interferences from the acquisition circuit and the external environment. Therefore, smartwatches with ECG functionality require high signal processing capabilities, and how to test the signal processing capabilities of smartwatches has become a problem that needs to be solved. Summary of the Invention

[0003] This application provides an ECG module testing method, apparatus, electronic device, and readable storage medium, aiming to solve the technical problem of how to test the signal processing capability of smartwatches in the prior art.

[0004] To address, or at least partially address, the aforementioned technical problems, this application provides an ECG module testing method, employing an ECG module testing device, wherein the ECG module testing device includes a testing module; the method includes:

[0005] Receive test instructions, and connect the ECG module to the test module according to the test instructions;

[0006] The test module is controlled to send simulated test signals to the ECG module;

[0007] The feedback signal generated by the ECG module corresponding to the simulated test signal is detected, and the operating parameters of the ECG module are determined based on the simulated test signal and the feedback signal.

[0008] Optionally, the test module includes an impedance test unit, which includes a first power supply, a human body equivalent resistance, and a test ground wire; the ECG module includes a first dry electrode and a second dry electrode for contact with the human body, and a ground terminal connected to the second dry electrode; the positive terminal of the first power supply is connected to the first dry electrode through the human body equivalent resistance, the negative terminal of the first power supply is connected to the second dry electrode, and the test ground wire is connected to the ground terminal;

[0009] The simulated test signal includes the first power supply voltage output by the first power supply; the feedback signal includes the input voltage at the first electrode; the operating parameters include the input impedance of the ECG module;

[0010] The step of detecting the feedback signal generated by the ECG module corresponding to the simulated test signal, and determining the operating parameters of the ECG module based on the simulated test signal and the feedback signal includes:

[0011] Detect the input voltage at the first electrode;

[0012] The input impedance of the ECG module is determined based on the input voltage, the first power supply voltage, and the equivalent resistance of the human body.

[0013] Optionally, the test module includes a power test unit, which includes a second power supply, a first resistor, and a second resistor; the ECG module includes a positive power supply terminal and a negative power supply terminal; the positive terminal of the second power supply is connected to the first terminal of the first resistor, the second terminal of the first resistor is connected to the positive power supply terminal of the ECG module, the negative terminal of the second power supply is connected to the first terminal of the second resistor, and the second terminal of the second resistor is connected to the negative power supply terminal of the ECG module;

[0014] The simulated test signal includes the second power supply voltage output by the second power supply; the feedback signal includes the first power voltage at the first end of the first resistor, the second power voltage at the second end of the first resistor, the third power voltage at the first end of the second resistor, and the fourth power voltage at the second end of the second resistor; the operating parameters include the operating power of the ECG module.

[0015] The step of detecting the feedback signal generated by the ECG module corresponding to the simulated test signal, and determining the operating parameters of the ECG module based on the simulated test signal and the feedback signal includes:

[0016] Detect the first power voltage to the fourth power voltage;

[0017] The first power of the positive power supply terminal of the ECG module is determined based on the first power voltage, the second power voltage and the first resistor, and the second power of the negative power supply terminal of the ECG module is determined based on the third power voltage, the fourth power voltage and the second resistor.

[0018] The sum of the first power and the second power is taken as the operating power of the ECG module.

[0019] Optionally, the test module includes a capacitive reactance test unit, which includes a first AC power supply and a third resistor; the first AC power supply is connected to the first dry electrode of the ECG module through the third resistor.

[0020] The simulated test signal includes the first AC voltage output by the first AC power supply; the feedback signal includes the capacitive reactance voltage and capacitive reactance current of the first dry electrode; the operating parameters include the AC input capacitive reactance of the ECG module.

[0021] The step of detecting the feedback signal generated by the ECG module corresponding to the simulated test signal, and determining the operating parameters of the ECG module based on the simulated test signal and the feedback signal includes:

[0022] Detect the capacitive reactance voltage and the capacitive reactance current;

[0023] The AC input capacitive reactance of the first dry electrode is determined based on the capacitive reactance voltage and the capacitive reactance current.

[0024] Optionally, the test module includes a wear detection test unit, which includes a second AC power supply; the ECG module includes a wear detection terminal and an output terminal, and the second AC power supply is connected to the wear detection terminal.

[0025] The simulated test signal includes the second AC voltage output by the second AC power supply, and the feedback signal includes the wear detection voltage at the output terminal; the operating parameters include whether the wear detection function of the ECG module is normal.

[0026] The step of detecting the feedback signal generated by the ECG module corresponding to the simulated test signal, and determining the operating parameters of the ECG module based on the simulated test signal and the feedback signal includes:

[0027] When the second AC power supply outputs the second AC voltage, the wearing detection voltage is detected to obtain the first wearing detection voltage, and when the second AC power supply does not output the second AC voltage, the wearing detection voltage is detected to obtain the second wearing detection voltage;

[0028] Determine whether the first wearing detection voltage is an AC voltage signal and whether the second wearing detection voltage is a DC voltage signal;

[0029] If the first wear detection voltage is an AC voltage signal and the second wear detection voltage is a DC voltage signal, then the wear detection function of the ECG module is determined to be normal.

[0030] Optionally, the ECG module testing device includes a spring support module and a downward pressure cylinder module. The spring support module includes a placement module, multiple spring buffer modules, and multiple pressure sensors. The placement module is used to place the ECG module, and the multiple spring buffer modules are used to support the placement module. The pressure sensors are arranged in a one-to-one correspondence with the spring buffer modules, and the pressure sensors are located below the spring buffer modules. The downward pressure cylinder module is connected to the testing module and is used to drive the testing module to move vertically.

[0031] The step of connecting the ECG module to the test module according to the test command includes:

[0032] Obtain the pressure values ​​of each pressure sensor, and determine whether the ECG module is placed horizontally based on the multiple pressure values;

[0033] If the ECG module is placed horizontally, the downward pressure cylinder module is controlled to move downward so that the ECG module is connected to the test module.

[0034] Optionally, the ECG module testing device further includes conductive foam, which is disposed below the spring support module;

[0035] The step of controlling the downward pressure cylinder module to move downward so that the ECG module is connected to the test module includes:

[0036] The downward pressure cylinder module is controlled to move downward so that the ECG module is connected to the test module and the first dry electrode and the second dry electrode of the ECG module come into contact with the conductive foam.

[0037] The first number of uses corresponding to the spring buffer module and the second number of uses corresponding to the conductive foam are incremented by 1 respectively.

[0038] To achieve the above objectives, the present invention also provides an ECG module testing device, the ECG module testing device including a testing module; the ECG module testing device further includes:

[0039] The first receiving module is used to receive test instructions and connect the ECG module to the test module according to the test instructions;

[0040] The first control module is used to control the test module to send simulated test signals to the ECG module;

[0041] The first detection module is used to detect the feedback signal generated by the ECG module corresponding to the simulated test signal, and to determine the operating parameters of the ECG module based on the simulated test signal and the feedback signal.

[0042] To achieve the above objectives, the present invention also provides an electronic device, the electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the ECG module testing method as described above.

[0043] To achieve the above objectives, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the ECG module testing method described above.

[0044] This invention proposes an ECG module testing method, apparatus, electronic device, and readable storage medium. The ECG module testing apparatus includes a testing module. The method includes: receiving a test command; connecting an ECG module to the testing module according to the test command; controlling the testing module to send a simulated test signal to the ECG module; detecting a feedback signal generated by the ECG module corresponding to the simulated test signal; and determining the operating parameters of the ECG module based on the simulated test signal and the feedback signal. By setting up the testing module and outputting a simulated test signal to the ECG module to simulate an ECG signal, a feedback signal from the ECG module based on the simulated test signal is obtained, thereby obtaining the operating parameters of the ECG module. These operating parameters reflect the signal processing capability of the ECG module. Attached Figure Description

[0045] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0046] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0047] Figure 1 This is a flowchart illustrating the first embodiment of the ECG module testing method of the present invention;

[0048] Figure 2 This is an overall flowchart of the ECG module testing method of the present invention;

[0049] Figure 3 This is a schematic diagram of the impedance testing unit in the ECG module testing device used in the ECG module testing method of the present invention.

[0050] Figure 4This is a schematic diagram showing the connection between the test module and the ECG module in the ECG module test device used in the ECG module test method of the present invention.

[0051] Figure 5 This is a schematic diagram of the capacitive reactance testing unit in the ECG module testing device used in the ECG module testing method of the present invention.

[0052] Figure 6 This is a schematic diagram of the CMRR module in the ECG module testing device used in the ECG module testing method of the present invention.

[0053] Figure 7 This is a schematic diagram of the acquisition and detection module in the ECG module testing device used in the ECG module testing method of the present invention.

[0054] Figure 8 This is a schematic diagram of the module structure of the electronic device of the present invention. Detailed Implementation

[0055] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.

[0056] This invention provides a testing method for an ECG module, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the ECG module testing method of the present invention. An ECG module testing device is applied, the ECG module testing device including a testing module; the method includes the following steps:

[0057] Step S10: Receive test instructions and connect the ECG module to the test module according to the test instructions;

[0058] Test commands are used to instruct the execution of test operations. Test commands can be triggered manually by the tester or automatically by setting sensors to detect the ECG module and triggering it when the ECG module is placed in the test position. It should be noted that in practical applications, since it is necessary to associate the test results corresponding to the test operation with the ECG module being tested, a module identification identifier, such as a QR code or barcode, can be set on the ECG module. This module identification identifier corresponds to the ECG module's serial number. Before triggering the test command, the tester or an automatic scanning device scans the module identification identifier on the ECG module to determine its serial number. After the test is completed, the test results are associated with the ECG module's serial number, allowing subsequent viewing of the ECG module's test results based on the serial number.

[0059] The ECG module is used in smartwatches to implement ECG functions; the test module is used to support the operation of the ECG module and simulate the actual application environment or test environment, specifically, to generate simulated test signals.

[0060] It should be noted that the ECG module and the test module are equipped with corresponding connector pins, and the ECG module and the test module are connected through these connector pins.

[0061] Step S20: Control the test module to send a simulated test signal to the ECG module;

[0062] The simulated test signal is used to simulate the signal received by the ECG module in a real-world application environment, as well as the signal used to test specific parameters of the ECG module.

[0063] After the test module is connected to the ECG module, an analog test signal is sent to the ECG module based on the corresponding pin.

[0064] Step S30: Detect the feedback signal generated by the ECG module corresponding to the simulated test signal, and determine the operating parameters of the ECG module based on the simulated test signal and the feedback signal.

[0065] After receiving the analog test signal, the ECG module generates different feedback signals depending on its own operating parameters. Therefore, the operating parameters of the ECG module can be determined based on the feedback signals. These operating parameters include, but are not limited to, input impedance, input capacitance, operating power, common-mode rejection ratio, and whether the wear detection function is normal. It can be understood that in practical applications, the operating parameters can be determined based on their characteristics.

[0066] This embodiment sets up a test module and outputs a simulated test signal to the ECG module to simulate the ECG signal. This results in a feedback signal from the ECG module based on the simulated test signal, and thus the operating parameters of the ECG module are obtained. These operating parameters reflect the signal processing capability of the ECG module.

[0067] Furthermore, the steps for subsequent testing operations are also detailed below. Figure 2 The test module includes an impedance test unit, see [link / reference]. Figure 3 The impedance testing unit includes a first power supply DC1, a human body equivalent resistance, and a test ground wire; the ECG module includes a first dry electrode LA and a second dry electrode RA for contact with the human body, and a ground terminal connected to the second dry electrode RA; the positive terminal of the first power supply DC1 is connected to the first dry electrode LA through the human body equivalent resistance, the negative terminal of the first power supply DC1 is connected to the second dry electrode RA, and the test ground wire is connected to the ground terminal;

[0068] Resistors RD1 and RD2, and capacitor CD1 are used to simulate the equivalent impedance of the human body.

[0069] The simulated test signal includes the first power supply voltage output by the first power supply DC1; the feedback signal includes the input voltage at the first electrode; the operating parameters include the input impedance of the ECG module;

[0070] Step S30 includes:

[0071] Step S31: Detect the input voltage at the first electrode;

[0072] Step S32: Determine the input impedance of the ECG module based on the input voltage, the first power supply voltage, and the human body equivalent resistance.

[0073] Because human ECG signals are relatively weak, with voltages ranging from 100μV to 5mV, the ECG module requires a high input impedance to ensure accurate signal acquisition. Therefore, it is necessary to detect the input impedance of the ECG module. Based on the principle of resistor voltage division:

[0074]

[0075] Where Vdc1 is the first power supply voltage, Vla is the input voltage, Rs is the human body equivalent resistance, and Req is the input impedance; it should be noted that in order to meet the detection requirements, Rs is selected as a high impedance resistor, such as a 1GΩ resistor.

[0076] As can be seen from the above, the input impedance of the ECG module can be determined by specifying the first power supply voltage, the input voltage, and the equivalent resistance of the human body. Furthermore, to more accurately detect the input impedance, this embodiment collects the above parameters twice. Specifically, the first power supply DC1 outputs two different first power supply voltages, Vdc1_1 and Vdc1_2, such as +1.2V and -1.2V; correspondingly, two input voltages, Vla_1 and Vla_2, are detected; the input impedance is determined based on the voltage difference. Specifically:

[0077]

[0078] This allows for the accurate determination of the ECG module's input impedance. It should be noted that because the dry electrodes of the ECG module are highly sensitive to temperature and humidity, the ambient temperature and humidity should be measured after the input impedance detection is complete. The ambient temperature and humidity should be checked against preset temperature and humidity ranges. If they are within these ranges, the detected input impedance is considered valid; otherwise, it is considered invalid. The input impedance should be re-detected after adjusting the ambient temperature and humidity to within the preset ranges. This process reduces the impact of environmental factors on the test results and ensures that all ECG modules tested are under the same testing environment, guaranteeing test consistency.

[0079] Furthermore, the test module includes a power test unit, see [link to relevant documentation]. Figure 4 The power testing unit includes a second power supply DC2, a first resistor R1, and a second resistor R2; the ECG module includes a positive power supply terminal POWER+ and a negative power supply terminal POWER-; the positive terminal of the second power supply DC2 is connected to the first terminal of the first resistor R1, the second terminal of the first resistor R1 is connected to the positive power supply terminal POWER+ of the ECG module, the negative terminal of the second power supply DC2 is connected to the first terminal of the second resistor R2, and the second terminal of the second resistor R2 is connected to the negative power supply terminal POWER- of the ECG module;

[0080] The simulated test signal includes the second power supply voltage output by the second power supply DC2; the feedback signal includes the first power voltage at the first terminal of the first resistor R1, the second power voltage at the second terminal of the first resistor R1, the third power voltage at the first terminal of the second resistor R2, and the fourth power voltage at the second terminal of the second resistor R2; the operating parameters include the operating power of the ECG module.

[0081] Figure 4The diagram shows the basic structure of an ECG module. Specifically, the ECG module includes a first operational amplifier Q1, a first ECG resistor RE1, a second ECG resistor RE2, and a first ECG capacitor CE1. The first terminal of the first ECG resistor RE1 is connected to the first dry electrode LA, and the second terminal of the first ECG resistor RE1 is connected to the non-inverting input terminal of the first operational amplifier Q1. The non-inverting input terminal of the first operational amplifier Q1 is also connected to the first terminal of the first ECG capacitor CE1. The second terminal of the first ECG capacitor CE1 serves as the wear detection terminal WRIST of the ECG module. The inverting input terminal of the first operational amplifier Q1 is connected to the output terminal of the first operational amplifier Q1. The output terminal of the first operational amplifier Q1 serves as the output terminal LA-OUT of the ECG module. The positive power supply terminal of the first operational amplifier Q1 serves as the positive power supply terminal POWER+ of the ECG module, and the negative power supply terminal of the first operational amplifier Q1 serves as the negative power supply terminal POWER- of the ECG module. The first terminal of the second ECG resistor RE2 is connected to the second dry electrode RA, and the second terminal of the second ECG resistor RE2 serves as the ground terminal of the ECG module. The first operational amplifier Q1 in the ECG module is used as a voltage follower. Understandably, the specific structure of the ECG module can be adjusted based on the actual application scenario and requirements.

[0082] Step S30 includes:

[0083] Step S33: Detect the first power voltage to the fourth power voltage;

[0084] Step S34: Determine the first power of the positive power supply terminal POWER+ of the ECG module based on the first power voltage, the second power voltage and the first resistor R1, and determine the second power of the negative power supply terminal POWER- of the ECG module based on the third power voltage, the fourth power voltage and the second resistor R2.

[0085] Step S35: The sum of the first power and the second power is taken as the operating power of the ECG module.

[0086] Based on the requirements of smartwatch applications, the operating power of the ECG module is designed to be within a certain preset power range. When there are problems such as assembly abnormalities or incoming material quality issues, the operating power of the ECG module will deviate from the preset power range. Therefore, it is necessary to test the operating power of the ECG module to ensure its normal operation.

[0087] It is understandable that power consumption occurs at both the positive power supply terminal POWER+ and the negative power supply terminal POWER- of the ECG module. Therefore, it is necessary to calculate the first power at the positive power supply terminal POWER+ and the second power at the negative power supply terminal POWER- separately, and then sum the first power and the second power to obtain the operating power of the ECG module; specifically:

[0088]

[0089] Wherein, P is the operating power, V1 to V4 are the first power voltage to the fourth power voltage respectively, R1 is the first resistor R1, and R2 is the second resistor R2;

[0090] It is understandable that the current I1 across the first resistor R1 is:

[0091]

[0092] The product of V2 and I1 is the first power; the current I2 across the second resistor R2 is:

[0093]

[0094] The product of V4 and I2 is the second power.

[0095] Based on the detected operating power, it can be determined whether the ECG module can operate normally, and the battery life can be determined based on the operating power.

[0096] Furthermore, the test module includes a capacitive reactance test unit, see [link to relevant documentation]. Figure 5 The capacitive reactance testing unit includes a first AC power supply AC1 and a third resistor R3; the first AC power supply AC1 is connected to the first dry electrode LA of the ECG module through the third resistor R3.

[0097] The simulated test signal includes the first AC voltage output by the first AC power supply AC1; the feedback signal includes the capacitive reactance voltage Vr and capacitive reactance current Ir of the first dry electrode LA; the operating parameters include the AC input capacitive reactance Ceq of the ECG module;

[0098] Step S30 includes:

[0099] Step S36: Detect the capacitive reactance voltage Vr and the capacitive reactance current Ir;

[0100] Step S37: Determine the AC input capacitive reactance Ceq of the first dry electrode LA based on the capacitive reactance voltage Vr and the capacitive reactance current Ir.

[0101] There is a contact equivalent capacitance Cpar at the pF level between the human body and the dry electrode. Therefore, the ECG module is required to have low-frequency AC load capacity. Specifically, the low-frequency AC load capacity of the ECG module is determined by detecting the AC input capacitive reactance Ceq of the ECG module.

[0102] The first AC power supply AC1 applies a first AC voltage of different frequencies to the third resistor R3 to simulate the contact equivalent capacitance Cpar. In this embodiment, the first AC voltage is set to a frequency of 10Hz / 20HZ and a peak voltage of 1.2V.

[0103] The detection of capacitive reactance voltage Vr and capacitive reactance current Ir can be set based on the actual application scenario. For example, the capacitive reactance voltage Vr can be detected by a voltage divider, and the capacitive reactance current Ir can be detected by a DC detection method. Then, the leakage current Ileak and the contact equivalent capacitance Cpar can be calculated based on the capacitive reactance voltage Vr and the capacitive reactance current Ir, thereby determining the AC input capacitive reactance Ceq of the ECG module. The capacitive reactance test unit in this embodiment is essentially an LCR bridge, and the specific calculation method of the input capacitive reactance can be set based on actual needs.

[0104] Furthermore, the test module includes a wear detection test unit, which includes a second AC power supply (not shown); the ECG module includes a wear detection terminal WRIST and an output terminal LA-OUT, and the second AC power supply is connected to the wear detection terminal WRIST.

[0105] The simulated test signal includes the second AC voltage output by the second AC power supply, and the feedback signal includes the wear detection voltage at the output terminal LA-OUT; the operating parameters include whether the wear detection function of the ECG module is normal.

[0106] Step S30 includes:

[0107] Step S38: When the second AC power supply outputs the second AC voltage, the wearing detection voltage is detected to obtain the first wearing detection voltage; and when the second AC power supply does not output the second AC voltage, the wearing detection voltage is detected to obtain the second wearing detection voltage.

[0108] Step S39: Determine whether the first wearing detection voltage is an AC voltage signal and whether the second wearing detection voltage is a DC voltage signal;

[0109] Step S3A: If the first wear detection voltage is an AC voltage signal and the second wear detection voltage is a DC voltage signal, then it is determined that the wear detection function of the ECG module is normal.

[0110] In existing technologies, the wear detection terminal WRIST of the ECG module is used to detect whether a user is wearing a smartwatch. Therefore, it is necessary to test the wear detection function of the ECG module to ensure that the function is implemented.

[0111] It is understandable that human ECG signals are AC signals, therefore the wear detection function can be tested based on the voltage signal type. Specifically, a second AC voltage is output through a second AC power supply to simulate a user wearing a smartwatch. If the wear detection signal output by the ECG module is an AC signal, the smartwatch is considered to be able to detect the user wearing the smartwatch normally; otherwise, it is considered that the smartwatch cannot detect the user wearing the smartwatch. Conversely, if the second AC power supply stops outputting the second AC voltage to simulate the user not wearing the smartwatch, if the wear detection signal output by the ECG module is a DC signal, the smartwatch is considered to be able to detect the user not wearing the smartwatch normally; otherwise, it is considered that the smartwatch cannot detect the user not wearing the smartwatch.

[0112] Furthermore, to achieve the requirements of high common-mode rejection ratio, low noise, and high input impedance for ECG signals, this embodiment includes a CMRR (Common Mode Rejection Ratio) module; see [link to documentation]. Figure 6 The CMRR module includes a current feedback amplifier (CFIA) and a small high-pass filter (HPF); the output voltage of the current feedback amplifier (CFIA) serves as the reference voltage for the test operation.

[0113] The small high-pass filter HPF is composed of an operational transconductance amplifier g. m and filter capacitor C filter The current feedback amplifier CFIA's output voltage is fed back to the operational transconductance amplifier g. m The inverting input terminal, the filter capacitor C filter With operational transconductance amplifier g m The output terminals are connected to form a high-pass pole;

[0114] In the current feedback amplifier CFIA, an input transconductance stage circuit and an output transconductance stage feedback loop are constructed. The input transconductance stage circuit adopts a folded common-source common-gate operational amplifier structure. The first switch M1 and the second switch M2 serve as the input stage of the overall structure. The gate of the first switch M1 is connected to the first dry electrode LA, and the gate of the second switch M2 is connected to the second dry electrode RA. The fifth to eighth switches M5 to M8 form a common-source common-gate layer, improving the overall open-loop gain design of the input transconductance stage. The gate of the fifth switch M5 is connected to the operational transconductance amplifier g. mThe output terminals are connected; the first and second output operational amplifiers in the output transconductance stage feedback loop form two local negative feedback loops. These local negative feedback loops balance the drain currents of the input differential pair and the output differential pair, thereby achieving a high common-mode rejection ratio and significantly reducing the filter capacitor C. filter The capacitance requirement is met to isolate low-frequency noise from the human body and suppress DC offset, achieving low power consumption and low noise. A reference voltage is obtained by acquiring the relevant signals from the first dry electrode LA and the second dry electrode RA through CMRR, and then the ECG module is tested based on this reference voltage.

[0115] This embodiment can accurately detect whether the input impedance, input capacitance, operating power, and wear detection function are normal, while ensuring that the ECG signal meets the requirements of high common-mode rejection ratio, low noise, and high input impedance.

[0116] Furthermore, the ECG module testing device includes a spring support module and a downward pressure cylinder module. The spring support module includes a placement module, multiple spring buffer modules, and multiple pressure sensors. The placement module is used to place the ECG module, and the multiple spring buffer modules are used to support the placement module. The pressure sensors are arranged in a one-to-one correspondence with the spring buffer modules, and the pressure sensors are located below the spring buffer modules. The downward pressure cylinder module is connected to the testing module and is used to drive the testing module to move vertically.

[0117] The specific number and placement of the spring buffer modules can be adjusted based on the actual application scenario. In this embodiment, four spring buffer modules are placed symmetrically at the four corners of the module placement area. In this case, the number of pressure sensors is four.

[0118] Step S10 includes:

[0119] Step S11: Obtain the pressure values ​​of each pressure sensor, and determine whether the ECG module is placed horizontally based on the multiple pressure values;

[0120] Step S12: If the ECG module is placed horizontally, control the downward pressure cylinder module to move downward so that the ECG module is connected to the test module.

[0121] Understandably, due to the size limitations of smartwatches, the connector pins of the ECG module are very small. For example, the overall size of the connector pins is 5mm × 1.2mm, containing 40 pins, each with a width of 0.08mm and a length of 0.33mm. Under these conditions, connecting the ECG module and the test module can easily lead to connection failure or even damage to the connector pins if there is a slight misalignment between the connector pins. Therefore, in this embodiment, a pressure sensor is used to ensure accurate connection between the connector pins of the ECG module and the test module. Understandably, in this embodiment, the ECG module and the test module are connected by vertical movement. Therefore, connecting the ECG module while it is in a horizontal position can greatly ensure accurate connection of the connector pins.

[0122] Specifically, when the pressure values ​​of each pressure sensor are basically consistent, the ECG module is considered to be in a horizontal state. In this embodiment, a deviation threshold is set, and the pressure difference between the maximum and minimum pressure values ​​of each pressure sensor is calculated. If the pressure difference is greater than the deviation threshold, the ECG module is considered not to be in a horizontal state. If the pressure difference is less than or equal to the deviation threshold, the ECG module is considered to be in a horizontal state.

[0123] To further ensure accurate connection of the ECG module and the test module's connector pins, the ECG module's horizontal placement can be checked multiple times during the connection process by monitoring the pressure sensor readings. Specifically:

[0124] After placing the ECG module on the spring support module, the pressure values ​​of each pressure sensor are read to determine if the ECG module is horizontally positioned. Once the horizontal positioning is confirmed, the pressure cylinder module is controlled to move vertically downwards until the ECG module contacts the connector pins of the test module. At this point, the pressure values ​​of each pressure sensor are read again to determine if the ECG module is horizontally positioned. Once the horizontal positioning is confirmed, the pressure cylinder module is controlled to move vertically downwards again until the connection position is reached. The connection position can be set based on the actual application scenario, such as by setting a limit block or setting the stroke distance through software. At this point, the pressure values ​​of each pressure sensor are read again to determine if the ECG module is horizontally positioned. Once the horizontal positioning is confirmed, the connector pins of the ECG module and the test module are confirmed to be connected.

[0125] This embodiment can accurately complete the connection of the connector pins between the ECG module and the test module.

[0126] Furthermore, the ECG module testing device also includes conductive foam, which is disposed below the spring support module;

[0127] Step S12 includes:

[0128] Step S121: Control the downward pressure cylinder module to move down so that the ECG module is connected to the test module and the first dry electrode LA and the second dry electrode RA of the ECG module are in contact with the conductive foam.

[0129] Step S122: Increment the first number of uses of the spring buffer module and the second number of uses of the conductive foam by 1.

[0130] In this embodiment, conductive foam is used to simulate the human body. When the ECG module and the test module's pins are connected, the dry electrode of the ECG module comes into contact with the conductive foam.

[0131] It is understandable that the surface contact resistance of conductive foam increases with the number of tests, thus affecting the test results. Similarly, the spring buffer module may deform after repeated use, affecting the pressure sensor's detection. Generally, the lifespan of conductive foam is about 700-1100 cycles, and the lifespan of the spring buffer module is about 2000 cycles. Therefore, it is necessary to replace the conductive foam and spring buffer module in a timely manner. In this embodiment, after the ECG module and the test module are connected, the first usage count of the spring buffer module and the second usage count of the conductive foam are incremented by 1, thereby detecting the usage count of the conductive foam and spring buffer module. Testers can determine the usage status of the conductive foam and spring buffer module based on the first and second usage counts, and replace them in a timely manner to avoid affecting the test results. It is understandable that other modules that need to be replaced in a timely manner, such as the connection pins of the test module, can be counted in the same way.

[0132] Furthermore, during testing, the degree of dirtiness of the conductive foam affects the resistance of the dry electrode, specifically increasing it and thus affecting signal acquisition. Therefore, before testing the operating parameters of the ECG module, it is necessary to check whether the ECG module's signal acquisition is normal. Specifically, this embodiment includes an acquisition and detection module, see [link to documentation]. Figure 7 The acquisition and detection module includes a third power supply DC3, a human body equivalent resistance Rs, and a second operational amplifier Q2. The third power supply DC3 is connected to the first dry electrode LA of the ECG module and the non-inverting input terminal of the second operational amplifier Q2 through the human body equivalent resistance Rs. The inverting input terminal of the second operational amplifier Q2 is connected to the output terminal of the second operational amplifier Q2.

[0133] A voltage follower is constructed using the second operational amplifier Q2, and a DC voltage is output through the third power supply DC3. Figure 3As can be seen, signal acquisition in the ECG module is also performed through a voltage follower. Therefore, the first acquisition voltage Vo1 output from the ECG module is obtained and compared with the second acquisition voltage Vo2 output from the second operational amplifier Q2. Specifically, a preset difference is set. When the difference between the first acquisition voltage Vo1 and the second acquisition voltage Vo2 is greater than the preset difference, it is considered that the dry electrode resistance of the ECG module is affected by the conductive foam. Conversely, when the difference between the first acquisition voltage Vo1 and the second acquisition voltage Vo2 is less than or equal to the preset difference, it is considered that the dry electrode resistance of the ECG module is not affected by the conductive foam and can acquire signals normally. The specific value of the preset difference can be set based on the actual application scenario and needs. In this embodiment, the preset difference is set to 9mV. Furthermore, different DC voltages can be output multiple times through the third power supply DC3, and the difference between the first acquisition voltage Vo1 and the second acquisition voltage Vo2 can be judged multiple times. When the difference between the first acquisition voltage Vo1 and the second acquisition voltage Vo2 is less than the preset difference under different DC voltages, it is considered that the ECG module can complete the signal acquisition normally.

[0134] This embodiment ensures the consistency of the voltage follower circuit output acquired by the ECG module.

[0135] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0136] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0137] This application also provides an ECG module testing apparatus for implementing the above-described ECG module testing method. The ECG module testing apparatus includes:

[0138] The first receiving module is used to receive test instructions and connect the ECG module to the test module according to the test instructions;

[0139] The first control module is used to control the test module to send simulated test signals to the ECG module;

[0140] The first detection module is used to detect the feedback signal generated by the ECG module corresponding to the simulated test signal, and to determine the operating parameters of the ECG module based on the simulated test signal and the feedback signal.

[0141] This ECG module testing device sets up a test module and outputs a simulated test signal to the ECG module to simulate an ECG signal. This results in a feedback signal from the ECG module based on the simulated test signal, which in turn provides the operating parameters of the ECG module. These operating parameters reflect the signal processing capability of the ECG module.

[0142] It should be noted that the first receiving module in this embodiment can be used to execute step S10 in this application embodiment, the first control module in this embodiment can be used to execute step S20 in this application embodiment, and the first detection module in this embodiment can be used to execute step S30 in this application embodiment.

[0143] Furthermore, the test module includes an impedance test unit, which includes a first power supply, a human body equivalent resistance, and a test ground wire; the ECG module includes a first dry electrode LA and a second dry electrode RA for contact with the human body, and a ground terminal connected to the second dry electrode RA; the positive terminal of the first power supply is connected to the first dry electrode LA through the human body equivalent resistance, the negative terminal of the first power supply is connected to the second dry electrode RA, and the test ground wire is connected to the ground terminal;

[0144] The simulated test signal includes the first power supply voltage output by the first power supply; the feedback signal includes the input voltage at the first electrode; the operating parameters include the input impedance of the ECG module;

[0145] The first detection module includes:

[0146] The first detection unit is used to detect the input voltage at the first electrode;

[0147] The first determining unit is used to determine the input impedance of the ECG module based on the input voltage, the first power supply voltage, and the human body equivalent resistance.

[0148] Optionally, the test module includes a power test unit, which includes a second power supply DC2, a first resistor R1, and a second resistor R2; the ECG module includes a positive power supply terminal POWER+ and a negative power supply terminal POWER-; the positive terminal of the second power supply DC2 is connected to the first terminal of the first resistor R1, the second terminal of the first resistor R1 is connected to the positive power supply terminal POWER+ of the ECG module, the negative terminal of the second power supply DC2 is connected to the first terminal of the second resistor R2, and the second terminal of the second resistor R2 is connected to the negative power supply terminal POWER- of the ECG module;

[0149] The simulated test signal includes the second power supply voltage output by the second power supply DC2; the feedback signal includes the first power voltage at the first terminal of the first resistor R1, the second power voltage at the second terminal of the first resistor R1, the third power voltage at the first terminal of the second resistor R2, and the fourth power voltage at the second terminal of the second resistor R2; the operating parameters include the operating power of the ECG module.

[0150] The first detection module includes:

[0151] The second detection unit is used to detect the first power voltage to the fourth power voltage;

[0152] The second determining unit is used to determine the first power of the positive power supply terminal POWER+ of the ECG module based on the first power voltage, the second power voltage and the first resistor R1, and to determine the second power of the negative power supply terminal POWER- of the ECG module based on the third power voltage, the fourth power voltage and the second resistor R2.

[0153] The first execution unit is configured to use the sum of the first power and the second power as the operating power of the ECG module.

[0154] Optionally, the test module includes a capacitive reactance test unit, which includes a first AC power supply AC1 and a third resistor R3; the first AC power supply AC1 is connected to the first dry electrode LA of the ECG module through the third resistor R3.

[0155] The simulated test signal includes the first AC voltage output by the first AC power supply AC1; the feedback signal includes the capacitive reactance voltage Vr and capacitive reactance current Ir of the first dry electrode LA; the operating parameters include the AC input capacitive reactance Ceq of the ECG module;

[0156] The first detection module includes:

[0157] The third detection unit is used to detect the capacitive reactance voltage Vr and the capacitive reactance current Ir;

[0158] The third determining unit is used to determine the AC input capacitive reactance Ceq of the first dry electrode LA based on the capacitive reactance voltage Vr and the capacitive reactance current Ir.

[0159] Optionally, the test module includes a wear detection test unit, which includes a second AC power supply; the ECG module includes a wear detection terminal WRIST and an output terminal, and the second AC power supply is connected to the wear detection terminal WRIST.

[0160] The simulated test signal includes the second AC voltage output by the second AC power supply, and the feedback signal includes the wear detection voltage at the output terminal; the operating parameters include whether the wear detection function of the ECG module is normal.

[0161] The first detection module includes:

[0162] The fourth detection unit is used to detect the wearing detection voltage to obtain a first wearing detection voltage when the second AC power supply outputs the second AC voltage, and to detect the wearing detection voltage to obtain a second wearing detection voltage when the second AC power supply does not output the second AC voltage;

[0163] The first judgment unit is used to determine whether the first wearing detection voltage is an AC voltage signal and whether the second wearing detection voltage is a DC voltage signal;

[0164] The fourth determining unit is used to determine that the wear detection function of the ECG module is normal if the first wear detection voltage is an AC voltage signal and the second wear detection voltage is a DC voltage signal.

[0165] Optionally, the ECG module testing device includes a spring support module and a downward pressure cylinder module. The spring support module includes a placement module, multiple spring buffer modules, and multiple pressure sensors. The placement module is used to place the ECG module, and the multiple spring buffer modules are used to support the placement module. The pressure sensors are arranged in a one-to-one correspondence with the spring buffer modules, and the pressure sensors are located below the spring buffer modules. The downward pressure cylinder module is connected to the testing module and is used to drive the testing module to move vertically.

[0166] The first receiving module includes:

[0167] The first acquisition unit is used to acquire the pressure values ​​of each of the pressure sensors and determine whether the ECG module is placed horizontally based on the multiple pressure values.

[0168] The first control unit is configured to control the downward pressure cylinder module to move downward if the ECG module is placed horizontally, so as to connect the ECG module to the test module.

[0169] Optionally, the ECG module testing device further includes conductive foam, which is disposed below the spring support module;

[0170] The first control unit includes:

[0171] The first control subunit is used to control the downward movement of the pressure cylinder module so that the ECG module is connected to the test module and the first dry electrode LA and the second dry electrode RA of the ECG module are in contact with the conductive foam.

[0172] The first counting subunit is used to increment the first number of uses corresponding to the spring buffer module and the second number of uses corresponding to the conductive foam by 1.

[0173] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the content disclosed in the above embodiments. It should also be noted that the above modules, as part of the device, can be implemented in software or hardware, wherein the hardware environment includes a network environment.

[0174] Reference Figure 8 In terms of hardware structure, the electronic device may include components such as a communication module 10, a memory 20, and a processor 30. In the electronic device, the processor 30 is connected to both the memory 20 and the communication module 10. The memory 20 stores a computer program, which is executed by the processor 30. When the computer program is executed, it implements the steps of the above-described method embodiments.

[0175] The communication module 10 can connect to external communication devices via a network. The communication module 10 can receive requests from the external communication devices and can also send requests, instructions, and information to the external communication devices. The external communication devices can be other electronic devices, servers, or IoT devices, such as televisions, etc.

[0176] The memory 20 can be used to store software programs and various data. The memory 20 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as connecting the ECG module to the test module according to the test instructions), etc.; the data storage area may include a database, and may store data or information created based on system usage. Furthermore, the memory 20 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0177] The processor 30 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 20, and by calling data stored in the memory 20, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. The processor 30 may include one or more processing units; optionally, the processor 30 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 30.

[0178] although Figure 8 Not shown, but the above-described electronic device may further include a circuit control module for connecting to a power supply to ensure the normal operation of other components. Those skilled in the art will understand that... Figure 8 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0179] The present invention also proposes a computer-readable storage medium having a computer program stored thereon. The computer-readable storage medium may be... Figure 8 The memory 20 in the electronic device may also be at least one of ROM (Read-Only Memory) / RAM (Random Access Memory), magnetic disk, optical disk, etc. The computer-readable storage medium includes a number of instructions to cause a terminal device with a processor (which may be a television, automobile, mobile phone, computer, server, terminal, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0180] In this invention, the terms "first," "second," "third," "fourth," and "fifth" are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0181] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0182] Although embodiments of the present invention have been shown and described above, the scope of protection of the present invention is not limited thereto. It is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, and substitutions to the above embodiments within the scope of the present invention, and such changes, modifications, and substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A testing method for an ECG module, characterized in that, The method includes: The ECG module testing device includes a testing module; the ECG module testing device includes a testing module. Receive test instructions, and connect the ECG module to the test module according to the test instructions; The test module is controlled to send simulated test signals to the ECG module; The feedback signal generated by the ECG module corresponding to the simulated test signal is detected, and the operating parameters of the ECG module are determined based on the simulated test signal and the feedback signal. The test module includes an impedance test unit, which includes a first power supply, a human body equivalent resistance, and a test ground wire; the ECG module includes a first dry electrode and a second dry electrode for contact with the human body, and a ground terminal connected to the second dry electrode; the positive terminal of the first power supply is connected to the first dry electrode through the human body equivalent resistance, the negative terminal of the first power supply is connected to the second dry electrode, and the test ground wire is connected to the ground terminal. The simulated test signal includes the first power supply voltage output by the first power supply; the feedback signal includes the input voltage at the first dry electrode; the operating parameters include the input impedance of the ECG module; The step of detecting the feedback signal generated by the ECG module corresponding to the simulated test signal, and determining the operating parameters of the ECG module based on the simulated test signal and the feedback signal includes: Detect the input voltage at the first dry electrode; The input impedance of the ECG module is determined based on the input voltage, the first power supply voltage, and the equivalent resistance of the human body.

2. The ECG module testing method as described in claim 1, characterized in that, The test module includes a power test unit, which includes a second power supply, a first resistor, and a second resistor; the ECG module includes a positive power supply terminal and a negative power supply terminal; the positive terminal of the second power supply is connected to the first terminal of the first resistor, the second terminal of the first resistor is connected to the positive power supply terminal of the ECG module, the negative terminal of the second power supply is connected to the first terminal of the second resistor, and the second terminal of the second resistor is connected to the negative power supply terminal of the ECG module. The simulated test signal includes the second power supply voltage output by the second power supply; the feedback signal includes the first power voltage at the first end of the first resistor, the second power voltage at the second end of the first resistor, the third power voltage at the first end of the second resistor, and the fourth power voltage at the second end of the second resistor; the operating parameters include the operating power of the ECG module. The step of detecting the feedback signal generated by the ECG module corresponding to the simulated test signal, and determining the operating parameters of the ECG module based on the simulated test signal and the feedback signal includes: Detect the first power voltage to the fourth power voltage; The first power of the positive power supply terminal of the ECG module is determined based on the first power voltage, the second power voltage and the first resistor, and the second power of the negative power supply terminal of the ECG module is determined based on the third power voltage, the fourth power voltage and the second resistor. The sum of the first power and the second power is taken as the operating power of the ECG module.

3. The ECG module testing method as described in claim 1, characterized in that, The test module includes a capacitive reactance test unit, which includes a first AC power supply and a third resistor; the first AC power supply is connected to the first dry electrode of the ECG module through the third resistor. The simulated test signal includes the first AC voltage output by the first AC power supply; the feedback signal includes the capacitive reactance voltage and capacitive reactance current of the first dry electrode; the operating parameters include the AC input capacitive reactance of the ECG module. The step of detecting the feedback signal generated by the ECG module corresponding to the simulated test signal, and determining the operating parameters of the ECG module based on the simulated test signal and the feedback signal includes: Detect the capacitive reactance voltage and the capacitive reactance current; The AC input capacitive reactance of the first dry electrode is determined based on the capacitive reactance voltage and the capacitive reactance current.

4. The ECG module testing method as described in claim 1, characterized in that, The test module includes a wear detection test unit, which includes a second AC power supply; the ECG module includes a wear detection terminal and an output terminal, and the second AC power supply is connected to the wear detection terminal. The simulated test signal includes the second AC voltage output by the second AC power supply, and the feedback signal includes the wear detection voltage at the output terminal; the operating parameters include whether the wear detection function of the ECG module is normal. The step of detecting the feedback signal generated by the ECG module corresponding to the simulated test signal, and determining the operating parameters of the ECG module based on the simulated test signal and the feedback signal includes: When the second AC power supply outputs the second AC voltage, the wearing detection voltage is detected to obtain the first wearing detection voltage, and when the second AC power supply does not output the second AC voltage, the wearing detection voltage is detected to obtain the second wearing detection voltage; Determine whether the first wearing detection voltage is an AC voltage signal and whether the second wearing detection voltage is a DC voltage signal; If the first wear detection voltage is an AC voltage signal and the second wear detection voltage is a DC voltage signal, then the wear detection function of the ECG module is determined to be normal.

5. The ECG module testing method as described in claim 1, characterized in that, The ECG module testing device includes a spring support module and a pressure cylinder module. The spring support module includes a placement module, multiple spring buffer modules, and multiple pressure sensors. The placement module is used to place the ECG module, and the multiple spring buffer modules are used to support the placement module. The pressure sensor is configured in a one-to-one correspondence with the spring buffer module, and the pressure sensor is located below the spring buffer module; the pressure cylinder module is connected to the test module, and the pressure cylinder module is used to drive the test module to move in the vertical direction. The step of connecting the ECG module to the test module according to the test command includes: Obtain the pressure values ​​of each pressure sensor, and determine whether the ECG module is placed horizontally based on the multiple pressure values; If the ECG module is placed horizontally, the downward pressure cylinder module is controlled to move downward so that the ECG module is connected to the test module.

6. The ECG module testing method as described in claim 5, characterized in that, The ECG module testing device also includes conductive foam, which is disposed below the spring support module; The step of controlling the downward pressure cylinder module to move downward so that the ECG module is connected to the test module includes: The downward pressure cylinder module is controlled to move downward so that the ECG module is connected to the test module and the first dry electrode and the second dry electrode of the ECG module come into contact with the conductive foam. The first number of uses corresponding to the spring buffer module and the second number of uses corresponding to the conductive foam are incremented by 1 respectively.

7. An ECG module testing device, characterized in that, The ECG module testing device includes a testing module; the ECG module testing device also includes: The first receiving module is used to receive test instructions and connect the ECG module to the test module according to the test instructions; The first control module is used to control the test module to send simulated test signals to the ECG module; The first detection module is used to detect the feedback signal generated by the ECG module corresponding to the simulated test signal, and to determine the operating parameters of the ECG module based on the simulated test signal and the feedback signal. The test module includes an impedance test unit, which includes a first power supply, a human body equivalent resistance, and a test ground wire; the ECG module includes a first dry electrode and a second dry electrode for contact with the human body, and a ground terminal connected to the second dry electrode; the positive terminal of the first power supply is connected to the first dry electrode through the human body equivalent resistance, the negative terminal of the first power supply is connected to the second dry electrode, and the test ground wire is connected to the ground terminal. The simulated test signal includes the first power supply voltage output by the first power supply; the feedback signal includes the input voltage at the first dry electrode; the operating parameters include the input impedance of the ECG module; The first detection module includes: The first detection unit is used to detect the input voltage at the first dry electrode; The first determining unit is used to determine the input impedance of the ECG module based on the input voltage, the first power supply voltage, and the human body equivalent resistance.

8. An electronic device, characterized in that, The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the ECG module testing method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the ECG module testing method as described in any one of claims 1 to 6.