CN110584650A - HRV-based driving comfort quantification method and device and storage medium - Google Patents
HRV-based driving comfort quantification method and device and storage medium Download PDFInfo
- Publication number
- CN110584650A CN110584650A CN201910878755.4A CN201910878755A CN110584650A CN 110584650 A CN110584650 A CN 110584650A CN 201910878755 A CN201910878755 A CN 201910878755A CN 110584650 A CN110584650 A CN 110584650A
- Authority
- CN
- China
- Prior art keywords
- data
- hrv
- driving comfort
- scoring
- frequency
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000011002 quantification Methods 0.000 title claims abstract description 26
- 230000002159 abnormal effect Effects 0.000 claims abstract description 29
- 238000001914 filtration Methods 0.000 claims description 20
- 238000012545 processing Methods 0.000 claims description 9
- 238000005070 sampling Methods 0.000 claims description 9
- 238000007781 pre-processing Methods 0.000 claims description 4
- 230000006872 improvement Effects 0.000 abstract description 3
- 230000015654 memory Effects 0.000 description 13
- 238000004590 computer program Methods 0.000 description 5
- 238000012360 testing method Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000000747 cardiac effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000001121 heart beat frequency Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 201000003152 motion sickness Diseases 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/02—Detecting, measuring or recording for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
- A61B5/0205—Simultaneously evaluating both cardiovascular conditions and different types of body conditions, e.g. heart and respiratory condition
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/02—Detecting, measuring or recording for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
- A61B5/024—Measuring pulse rate or heart rate
- A61B5/02405—Determining heart rate variability
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/24—Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
- A61B5/316—Modalities, i.e. specific diagnostic methods
- A61B5/318—Heart-related electrical modalities, e.g. electrocardiography [ECG]
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7203—Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7235—Details of waveform analysis
- A61B5/725—Details of waveform analysis using specific filters therefor, e.g. Kalman or adaptive filters
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B2503/00—Evaluating a particular growth phase or type of persons or animals
- A61B2503/20—Workers
- A61B2503/22—Motor vehicles operators, e.g. drivers, pilots, captains
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- Cardiology (AREA)
- Heart & Thoracic Surgery (AREA)
- Surgery (AREA)
- Biophysics (AREA)
- Pathology (AREA)
- Veterinary Medicine (AREA)
- Biomedical Technology (AREA)
- Physiology (AREA)
- Medical Informatics (AREA)
- Molecular Biology (AREA)
- Physics & Mathematics (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Signal Processing (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Psychiatry (AREA)
- Pulmonology (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
本发明公开了一种基于HRV的驾驶舒适度量化方法、装置和存储介质,同时获取心电传感器发送的传感数据和通过拾音设备发送的评分数据,根据传感数据和读取的异常周期计算出HRV时域指标,所述HRV时域指标包括正常心跳间期标准差和心电数据中所有RR间期中相邻的正常心跳间期值差大于所述异常周期的心博数,计算出HRV时域指标与评分数据之间的相关性,引入HRV时域指标作为客观参考数据,使得评分数据的真实性有了客观数据的支持,进一步提升了评分数据的参考价值,实现对驾驶舒适度的准确量化。
The invention discloses a method, device and storage medium for quantifying driving comfort based on HRV, which simultaneously acquires the sensing data sent by the electrocardiogram sensor and the score data sent by the sound pickup device, and according to the sensing data and the read abnormal cycle Calculate the HRV time domain index, the HRV time domain index includes the standard deviation of the normal heartbeat interval and the heartbeat number of the adjacent normal heartbeat interval value difference in all RR intervals in the ECG data greater than the abnormal cycle, calculate The correlation between HRV time-domain indicators and scoring data, introducing HRV time-domain indicators as objective reference data, makes the authenticity of scoring data supported by objective data, further improves the reference value of scoring data, and realizes the improvement of driving comfort. accurate quantification.
Description
技术领域technical field
本发明涉及生物信号处理领域,特别是一种基于HRV的驾驶舒适度量化方法、装置和存储介质。The invention relates to the field of biological signal processing, in particular to an HRV-based driving comfort quantification method, device and storage medium.
背景技术Background technique
目前,汽车是最重要的出行交通工具之一,驾驶的舒适度对于驾驶者来说非常重要,因此在开发过程中,需要对驾驶舒适度进行量化,为改进驾驶舒适度提供数据基础。现有方法大多依靠试驾员口述驾驶感受,这种方法虽然可以获得一些参考数据,但是试驾员在驾驶过程中作出的评价可能受到身体状况的影响,例如长期激烈驾驶时出现晕车的状况,判断无法做到客观,因此现有技术得出的驾驶度量化结果参考价值较差。At present, automobiles are one of the most important means of travel, and driving comfort is very important to drivers. Therefore, in the development process, it is necessary to quantify driving comfort to provide a data basis for improving driving comfort. Most of the existing methods rely on the test driver’s oral driving experience. Although this method can obtain some reference data, the evaluation made by the test driver during the driving process may be affected by physical conditions, such as motion sickness during long-term intense driving, Judgment cannot be objective, so the reference value of the quantitative driving results obtained by the prior art is relatively poor.
发明内容Contents of the invention
为了克服现有技术的不足,本发明的目的在于提供一种基于HRV的驾驶舒适度量化方法、装置和存储介质,能够结合HRV(Heart rate variability,心率变异性)和试驾员的评分数据,提高驾驶舒适度量化的参考价值。In order to overcome the deficiencies in the prior art, the object of the present invention is to provide a method, device and storage medium for quantifying driving comfort based on HRV, which can combine scoring data of HRV (Heart rate variability, heart rate variability) and test drivers, Improve the reference value of driving comfort quantification.
本发明解决其问题所采用的技术方案是:第一方面,本发明提供了一种基于HRV的驾驶舒适度量化方法,包括以下步骤:The technical scheme adopted by the present invention to solve its problem is: first aspect, the present invention provides a kind of method for quantifying driving comfort based on HRV, comprising the following steps:
客户端获取由心电传感器发送的传感数据和由拾音设备发送的评分数据,并对所述传感数据进行预处理,得出心电数据;The client obtains the sensing data sent by the ECG sensor and the scoring data sent by the sound pickup device, and preprocesses the sensing data to obtain the ECG data;
所述客户端获取预先设定的异常周期,根据所述异常周期和心电数据计算出HRV时域指标,所述HRV时域指标包括正常心跳间期标准差和心电数据中所有RR间期中相邻的正常心跳间期值差大于所述异常周期的心博数;The client obtains the preset abnormal cycle, and calculates the HRV time-domain index according to the abnormal cycle and the ECG data, and the HRV time-domain index includes the standard deviation of the normal heartbeat interval and all RR intervals in the ECG data. The difference between adjacent normal heartbeat intervals is greater than the heartbeat number of the abnormal cycle;
所述客户端计算所述HRV时域指标和所述评分数据的皮尔逊相关性,得出评分相关度,将所述评分相关度和评分数据设置为量化数据。The client calculates the Pearson correlation between the HRV time-domain index and the scoring data to obtain a scoring correlation, and sets the scoring correlation and scoring data as quantitative data.
进一步,所述传感数据为通过1000Hz的采样频率采集的心电信号。Further, the sensing data is an electrocardiographic signal collected with a sampling frequency of 1000 Hz.
进一步,所述对所述传感数据进行预处理包括以下步骤:Further, the preprocessing of the sensor data includes the following steps:
所述客户端获取预先设定的第一截止频率和第二截止频率,以第一截止频率对所述传感数据进行高通滤波,得出第一滤波信号;The client acquires a preset first cut-off frequency and a second cut-off frequency, performs high-pass filtering on the sensing data with the first cut-off frequency, and obtains a first filtered signal;
所述客户端以所述第二截止频率对所述第一滤波信号进行低筒滤波,得出第二滤波信号;The client performs low-barrel filtering on the first filtered signal with the second cutoff frequency to obtain a second filtered signal;
所述客户端对所述第二滤波信号进行去基线处理,得出心电数据。The client performs debaseline processing on the second filtered signal to obtain ECG data.
进一步,所述心电数据的采样频率为250Hz。Further, the sampling frequency of the electrocardiographic data is 250 Hz.
进一步,所述异常周期为50毫秒。Further, the abnormal period is 50 milliseconds.
第二方面,本发明提供了一种用于执行基于HRV的驾驶舒适度量化方法的装置,包括CPU单元,所述CPU单元用于执行以下步骤:In a second aspect, the present invention provides a device for performing an HRV-based driving comfort quantification method, including a CPU unit, the CPU unit is used to perform the following steps:
客户端获取由心电传感器发送的传感数据和由拾音设备发送的评分数据,并对所述传感数据进行预处理,得出心电数据;The client obtains the sensing data sent by the ECG sensor and the scoring data sent by the sound pickup device, and preprocesses the sensing data to obtain the ECG data;
所述客户端获取预先设定的异常周期,根据所述异常周期和心电数据计算出HRV时域指标,所述HRV时域指标包括正常心跳间期标准差和心电数据中所有RR间期中相邻的正常心跳间期值差大于所述异常周期的心博数;The client obtains the preset abnormal cycle, and calculates the HRV time-domain index according to the abnormal cycle and the ECG data, and the HRV time-domain index includes the standard deviation of the normal heartbeat interval and all RR intervals in the ECG data. The difference between adjacent normal heartbeat intervals is greater than the heartbeat number of the abnormal cycle;
所述客户端计算所述HRV时域指标和所述评分数据的皮尔逊相关性,得出评分相关度,将所述评分相关度和评分数据设置为量化数据。The client calculates the Pearson correlation between the HRV time-domain index and the scoring data to obtain a scoring correlation, and sets the scoring correlation and scoring data as quantitative data.
进一步,所述CPU单元还用于执行以下步骤:Further, the CPU unit is also used to perform the following steps:
所述客户端获取预先设定的第一截止频率和第二截止频率,以第一截止频率对所述传感数据进行高通滤波,得出第一滤波信号;The client acquires a preset first cut-off frequency and a second cut-off frequency, performs high-pass filtering on the sensing data with the first cut-off frequency, and obtains a first filtered signal;
所述客户端以所述第二截止频率对所述第一滤波信号进行低筒滤波,得出第二滤波信号;The client performs low-barrel filtering on the first filtered signal with the second cutoff frequency to obtain a second filtered signal;
所述客户端对所述第二滤波信号进行去基线处理,得出心电数据。The client performs debaseline processing on the second filtered signal to obtain ECG data.
第三方面,本发明提供了一种用于执行基于HRV的驾驶舒适度量化方法的设备,包括至少一个控制处理器和用于与至少一个控制处理器通信连接的存储器;存储器存储有可被至少一个控制处理器执行的指令,指令被至少一个控制处理器执行,以使至少一个控制处理器能够执行如上所述的基于HRV的驾驶舒适度量化方法。In a third aspect, the present invention provides a device for performing an HRV-based driving comfort quantification method, including at least one control processor and a memory for communicating with at least one control processor; the memory stores information that can be used by at least Instructions executed by a control processor, the instructions are executed by at least one control processor, so that the at least one control processor can execute the HRV-based driving comfort quantification method as described above.
第四方面,本发明提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机可执行指令,计算机可执行指令用于使计算机执行如上所述的基于HRV的驾驶舒适度量化方法。In a fourth aspect, the present invention provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are used to cause a computer to execute the method for quantifying driving comfort based on HRV as described above.
第五方面,本发明还提供了一种计算机程序产品,所述计算机程序产品包括存储在计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使计算机执行如上所述的基于HRV的驾驶舒适度量化方法。In a fifth aspect, the present invention also provides a computer program product, the computer program product includes a computer program stored on a computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a computer , causing the computer to execute the method for quantifying driving comfort based on HRV as described above.
本发明实施例中提供的一个或多个技术方案,至少具有如下有益效果:本发明实施例同时获取心电传感器发送的传感数据和通过拾音设备发送的评分数据,根据传感数据和读取的异常周期计算出HRV时域指标,所述HRV时域指标包括正常心跳间期标准差和心电数据中所有RR间期中相邻的正常心跳间期值差大于所述异常周期的心博数,计算出HRV时域指标与评分数据之间的相关性,引入HRV时域指标作为客观参考数据,使得评分数据的真实性有了客观数据的支持,进一步提升了评分数据的参考价值,实现对驾驶舒适度的准确量化。One or more technical solutions provided in the embodiments of the present invention have at least the following beneficial effects: the embodiment of the present invention acquires the sensing data sent by the ECG sensor and the score data sent by the sound pickup device at the same time, and according to the sensing data and reading The HRV time-domain index is calculated from the abnormal cycle taken, and the HRV time-domain index includes the standard deviation of the normal heartbeat interval and the heartbeat whose value difference between adjacent normal heartbeat intervals in all RR intervals in the ECG data is greater than the abnormal cycle Calculate the correlation between HRV time-domain indicators and scoring data, and introduce HRV time-domain indicators as objective reference data, so that the authenticity of scoring data is supported by objective data, further improving the reference value of scoring data, and realizing Accurate quantification of driving comfort.
附图说明Description of drawings
下面结合附图和实例对本发明作进一步说明。The present invention will be further described below in conjunction with accompanying drawing and example.
图1是本发明第一实施例提供的一种基于HRV的驾驶舒适度量化方法的流程图;Fig. 1 is a flow chart of a method for quantifying driving comfort based on HRV provided by the first embodiment of the present invention;
图2是本发明第一实施例提供的一种基于HRV的驾驶舒适度量化方法中对传感数据进行预处理的流程图;Fig. 2 is a flow chart of preprocessing sensory data in an HRV-based driving comfort quantification method provided by the first embodiment of the present invention;
图3是本发明第二实施例提供的一种用于执行基于HRV的驾驶舒适度量化方法的装置示意图。Fig. 3 is a schematic diagram of a device for implementing the HRV-based driving comfort quantification method provided by the second embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
需要说明的是,如果不冲突,本发明实施例中的各个特征可以相互结合,均在本发明的保护范围之内。另外,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。It should be noted that, if there is no conflict, various features in the embodiments of the present invention may be combined with each other, and all of them are within the protection scope of the present invention. In addition, although the functional modules are divided in the schematic diagram of the device, and the logical order is shown in the flowchart, in some cases, the division of modules in the device or the sequence shown in the flowchart can be performed in different ways. or the steps described.
参考图1,本发明的第一实施例提供了一种基于HRV的驾驶舒适度量化方法,包括以下步骤:Referring to Fig. 1, the first embodiment of the present invention provides a method for quantifying driving comfort based on HRV, comprising the following steps:
步骤S100,客户端获取由心电传感器发送的传感数据和由拾音设备发送的评分数据,并对传感数据进行预处理,得出心电数据;Step S100, the client acquires the sensing data sent by the ECG sensor and the scoring data sent by the sound pickup device, and preprocesses the sensing data to obtain the ECG data;
步骤S200,客户端获取预先设定的异常周期,根据异常周期和心电数据计算出HRV时域指标,HRV时域指标包括正常心跳间期标准差和心电数据中所有RR间期中相邻的正常心跳间期值差大于异常周期的心博数;Step S200, the client obtains the preset abnormal cycle, and calculates the HRV time domain index according to the abnormal cycle and the ECG data. The HRV time domain index includes the standard deviation of the normal heartbeat interval and the adjacent RR intervals in the ECG data. The difference between the normal heartbeat interval value is greater than the heartbeat number of the abnormal cycle;
步骤S300,客户端计算HRV时域指标和评分数据的皮尔逊相关性,得出评分相关度,将评分相关度和评分数据设置为量化数据。In step S300, the client calculates the Pearson correlation between the HRV time-domain index and the scoring data, obtains the scoring correlation, and sets the scoring correlation and the scoring data as quantitative data.
其中,需要说明的是,传感数据可以通过心电传感器获取,也可以通过任意形式的设备获取,能够获取驾驶过程中驾驶者的心电信号即可,本实施例中的传感器均为现有技术中的产品,并不涉及对硬件设备的改进,在此不再赘述。需要说明的是,本实施例中的拾音设备可以是任意市面上常见的型号,能够实现获取试驾者的语音评分输入即可,在此不再赘述。需要说明的是,本实施例的评分数据优选为采用数字评分,能够更加直观地表达驾驶舒适度。Among them, it should be noted that the sensing data can be obtained by an electrocardiographic sensor, or by any form of equipment. It only needs to be able to obtain the driver's electrocardiographic signal during driving. The sensors in this embodiment are all existing The products in the technology do not involve the improvement of hardware equipment, so I won't repeat them here. It should be noted that the sound pickup device in this embodiment can be any common model on the market, and it only needs to be able to obtain the voice score input of the test driver, and will not be repeated here. It should be noted that the score data in this embodiment is preferably a digital score, which can express the driving comfort more intuitively.
其中,需要说明的是,HRV时域指标可以是任意数值,本实施例优选为正常心跳期间标准差和异常周期的心博数,能够对异常的心跳进行量化。可以理解的是,心博数可以是任意期间的心博数,本实施例优选为RR期间中相邻的正常心跳间期值差大于异常周期的心博数,RR期间为一次心动周期的时间,相邻的两个RR期间的正常心跳期间差值较大,意味着试驾者的心跳频率发生变动,若变动时的评分数据发生相应的变动,则计算出的相关性也会相应较强,评分数据的参考性较高,即随着驾驶舒适度的降低,HRV时域指标的正常心跳间期标准差SDNN越大,全部RR间期中相邻的正常心跳间期之差大于异常周期的心搏数越大。Wherein, it should be noted that the HRV time-domain index can be any value, and in this embodiment, the standard deviation during the normal heartbeat and the heartbeat number of the abnormal cycle are preferred, so that the abnormal heartbeat can be quantified. It can be understood that the number of heartbeats can be the number of heartbeats in any period. In this embodiment, the value difference between adjacent normal heartbeat intervals in the RR period is greater than the heartbeat number of the abnormal cycle. The RR period is the time of one cardiac cycle , the difference between the normal heartbeat periods of two adjacent RR periods is large, which means that the heartbeat frequency of the test driver changes, and if the scoring data changes correspondingly during the change, the calculated correlation will also be relatively strong , the score data is highly referential, that is, as the driving comfort decreases, the standard deviation SDNN of the normal heartbeat interval of the HRV time domain index is larger, and the difference between adjacent normal heartbeat intervals in all RR intervals is greater than that of the abnormal cycle. The heart rate is greater.
需要说明的是,正常心跳期间标准差能够用任意公式计算,本实施例采用以下公式:其中,SDNN为正常心跳期间标准差,NNi为第i个正常心跳期间的心博数,N为心电数据中正常心跳期间的数量。It should be noted that the standard deviation during a normal heartbeat can be calculated by any formula, and the following formula is used in this embodiment: Among them, SDNN is the standard deviation of the normal heartbeat period, NN i is the heartbeat number of the i-th normal heartbeat period, and N is the number of normal heartbeat periods in the ECG data.
进一步,在本发明的另一个实施例中,传感数据为通过1000Hz的采样频率采集的心电信号。Further, in another embodiment of the present invention, the sensing data is an electrocardiographic signal collected with a sampling frequency of 1000 Hz.
其中,需要说明的是,本实施例的心电信号通过ANTeegoTMrt的第33导联以1000Hz的采样频率采集,能够确保心电信号的准确,提高后期计算的参考价值。Among them, it should be noted that the electrocardiographic signal of this embodiment is collected by the 33rd lead of ANTeegoTMrt at a sampling frequency of 1000 Hz, which can ensure the accuracy of the electrocardiographic signal and improve the reference value for later calculation.
参考图2,进一步,在本发明的另一个实施例中,对传感数据进行预处理包括以下步骤:Referring to FIG. 2, further, in another embodiment of the present invention, preprocessing the sensing data includes the following steps:
步骤S110,客户端获取预先设定的第一截止频率和第二截止频率,以第一截止频率对传感数据进行高通滤波,得出第一滤波信号;Step S110, the client obtains the preset first cut-off frequency and second cut-off frequency, performs high-pass filtering on the sensing data with the first cut-off frequency, and obtains a first filtered signal;
步骤S120,客户端以第二截止频率对第一滤波信号进行低筒滤波,得出第二滤波信号;Step S120, the client performs low-barrel filtering on the first filtered signal with a second cutoff frequency to obtain a second filtered signal;
步骤S130,客户端对第二滤波信号进行去基线处理,得出心电数据。In step S130, the client performs debaseline processing on the second filtered signal to obtain ECG data.
其中,在本实施例中,第一截止频率为0.4Hz,第二截止频率为0.003Hz,也可以根据实际需求进行调整,在此不再赘述。需要说明的是,去基线处理为现有技术中的算法,并非本实施例涉及的改进,能够实现效果即可,在此不再赘述。Wherein, in this embodiment, the first cut-off frequency is 0.4 Hz, and the second cut-off frequency is 0.003 Hz, which can also be adjusted according to actual needs, and will not be repeated here. It should be noted that the de-baseline processing is an algorithm in the prior art, and is not an improvement involved in this embodiment, it only needs to achieve the effect, and will not be repeated here.
进一步,在本发明的另一个实施例中,心电数据的采样频率为250Hz。Further, in another embodiment of the present invention, the sampling frequency of ECG data is 250 Hz.
其中,需要说明的是,心电数据的采样频率由初始的1000Hz降为250Hz,避免了采样频率过大带来的计算复杂度,能够节约计算时间。Wherein, it should be noted that the sampling frequency of ECG data is reduced from the initial 1000 Hz to 250 Hz, which avoids calculation complexity caused by excessive sampling frequency and saves calculation time.
进一步,在本发明的另一个实施例中,异常周期为50毫秒。Further, in another embodiment of the present invention, the abnormal period is 50 milliseconds.
其中,需要说明的是,异常周期可以是任意数值,本实施例优选为50毫秒,也为现有技术中常用的心博数NN50提供基础,即本实施例的心博数为全部RR间期中相邻的正常心跳间期之差大于50ms的心搏数NN50,其计算公式为:NN50=COUNT(|NNi+1-NNi|)≥50ms;其中,NNi为第i个正常心跳间期的心博数。Among them, it should be noted that the abnormal period can be any value, and this embodiment is preferably 50 milliseconds, which also provides a basis for the heartbeat number NN50 commonly used in the prior art, that is, the heartbeat number in this embodiment is the number of all RR intervals The heartbeat number NN50 whose difference between adjacent normal heartbeat intervals is greater than 50ms, its calculation formula is: NN50=COUNT(|NN i+1 -NN i |)≥50ms; where, NN i is the ith normal heartbeat interval period heart rate.
参照图3,本发明的第二实施例还提供了一种用于执行基于HRV的驾驶舒适度量化方法的装置,该装置为智能设备,例如智能手机、计算机和平板电脑等,能够具备处理器并实现对应功能即可,本实施例以计算机为例加以说明。Referring to Fig. 3, the second embodiment of the present invention also provides a device for implementing the HRV-based driving comfort quantification method, the device is a smart device, such as a smart phone, a computer and a tablet computer, etc. It only needs to realize corresponding functions, and this embodiment uses a computer as an example for illustration.
在该用于执行基于HRV的驾驶舒适度量化方法的计算机3000中,包括CPU单元3100,CPU单元3100用于执行以下步骤:In the computer 3000 for implementing the HRV-based driving comfort quantification method, a CPU unit 3100 is included, and the CPU unit 3100 is used to perform the following steps:
客户端获取由心电传感器发送的传感数据和由拾音设备发送的评分数据,并对传感数据进行预处理,得出心电数据;The client obtains the sensing data sent by the ECG sensor and the scoring data sent by the pickup device, and preprocesses the sensing data to obtain the ECG data;
客户端获取预先设定的异常周期,根据异常周期和心电数据计算出HRV时域指标,HRV时域指标包括正常心跳间期标准差和心电数据中所有RR间期中相邻的正常心跳间期值差大于异常周期的心博数;The client obtains the preset abnormal cycle, and calculates the HRV time-domain index based on the abnormal cycle and the ECG data. The HRV time-domain index includes the standard deviation of the normal heartbeat interval and the adjacent normal heartbeat intervals among all RR intervals in the ECG data. The difference in expected value is greater than the number of heartbeats in the abnormal cycle;
客户端计算HRV时域指标和评分数据的皮尔逊相关性,得出评分相关度,将评分相关度和评分数据设置为量化数据。The client calculates the Pearson correlation between HRV time-domain indicators and scoring data, obtains the scoring correlation, and sets the scoring correlation and scoring data as quantitative data.
进一步,本发明的另一个实施例中,CPU单元3100还用于执行以下步骤:Further, in another embodiment of the present invention, the CPU unit 3100 is also configured to perform the following steps:
客户端获取预先设定的第一截止频率和第二截止频率,以第一截止频率对传感数据进行高通滤波,得出第一滤波信号;The client acquires a preset first cutoff frequency and a second cutoff frequency, and performs high-pass filtering on the sensing data at the first cutoff frequency to obtain a first filtered signal;
客户端以第二截止频率对第一滤波信号进行低筒滤波,得出第二滤波信号;The client performs low-barrel filtering on the first filtered signal with a second cutoff frequency to obtain a second filtered signal;
客户端对第二滤波信号进行去基线处理,得出心电数据。The client performs debaseline processing on the second filtered signal to obtain ECG data.
计算机3000和CPU单元3100之间可以通过总线或者其他方式连接,计算机3000中还包括存储器,所述存储器作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态性计算机可执行程序以及模块,如本发明实施例中的用于执行基于HRV的驾驶舒适度量化方法的设备对应的程序指令/模块。计算机3000通过运行存储在存储器中的非暂态软件程序、指令以及模块,从而控制CPU单元3100执行用于执行基于HRV的驾驶舒适度量化方法的各种功能应用以及数据处理,即实现上述方法实施例的基于HRV的驾驶舒适度量化方法。The computer 3000 and the CPU unit 3100 can be connected through a bus or other means, and the computer 3000 also includes a memory, which is a non-transitory computer-readable storage medium and can be used to store non-transitory software programs, non-transitory Computer-executable programs and modules, such as the program instructions/modules corresponding to the device for implementing the HRV-based driving comfort quantification method in the embodiment of the present invention. The computer 3000 controls the CPU unit 3100 to execute various functional applications and data processing for implementing the HRV-based driving comfort quantification method by running the non-transitory software programs, instructions and modules stored in the memory, that is, to realize the implementation of the above method. Example of HRV-based driving comfort quantification method.
存储器可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据CPU单元3100的使用所创建的数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施方式中,存储器可选包括相对于CPU单元3100远程设置的存储器,这些远程存储器可以通过网络连接至该计算机3000。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function; the data storage area may store data created according to usage of the CPU unit 3100, and the like. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory may optionally include memory located remotely from the CPU unit 3100, and these remote memories may be connected to the computer 3000 via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
所述一个或者多个模块存储在所述存储器中,当被所述CPU单元3100执行时,执行上述方法实施例中的基于HRV的驾驶舒适度量化方法。The one or more modules are stored in the memory, and when executed by the CPU unit 3100, the method for quantifying driving comfort based on HRV in the above method embodiment is executed.
本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被CPU单元3100执行,实现上述所述的基于HRV的驾驶舒适度量化方法。The embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by the CPU unit 3100 to realize the aforementioned HRV-based driving comfort quantification method.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的装置可以是或者也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络装置上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are only illustrative, and the devices described as separate components may or may not be physically separated, that is, they may be located in one place, or may be distributed to multiple network devices. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
需要说明的是,由于本实施例中的用于执行基于HRV的驾驶舒适度量化方法的装置与上述的基于HRV的驾驶舒适度量化方法基于相同的发明构思,因此,方法实施例中的相应内容同样适用于本装置实施例,此处不再详述。It should be noted that since the device for implementing the HRV-based driving comfort quantification method in this embodiment is based on the same inventive concept as the above-mentioned HRV-based driving comfort quantification method, the corresponding content in the method embodiment It is also applicable to this embodiment of the device, and will not be described in detail here.
通过以上的实施方式的描述,本领域技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现。本领域技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(ReadOnly Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Through the above description of the implementation manners, those skilled in the art can clearly understand that each implementation manner can be implemented by means of software plus a general hardware platform. Those skilled in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing related hardware through computer programs. The programs can be stored in computer-readable storage media, and the programs can be executed when executed , may include the flow of the embodiment of the above-mentioned method. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (ReadOnly Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.
以上是对本发明的较佳实施进行了具体说明,但本发明并不局限于上述实施方式,熟悉本领域的技术人员在不违背本发明精神的前提下还可作出种种的等同变形或替换,这些等同的变形或替换均包含在本申请权利要求所限定的范围内。The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation, and those skilled in the art can also make various equivalent deformations or replacements without violating the spirit of the present invention. Equivalent modifications or replacements are all within the scope defined by the claims of the present application.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910878755.4A CN110584650A (en) | 2019-09-18 | 2019-09-18 | HRV-based driving comfort quantification method and device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910878755.4A CN110584650A (en) | 2019-09-18 | 2019-09-18 | HRV-based driving comfort quantification method and device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110584650A true CN110584650A (en) | 2019-12-20 |
Family
ID=68860444
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910878755.4A Pending CN110584650A (en) | 2019-09-18 | 2019-09-18 | HRV-based driving comfort quantification method and device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110584650A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111174997A (en) * | 2020-01-14 | 2020-05-19 | 合肥工业大学 | Preliminary testing method for floor vibration comfort degree based on heart rate change |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108742610A (en) * | 2018-04-03 | 2018-11-06 | 吉林大学 | A kind of realization myoelectricity and subjective associated steering Comfort Evaluation method |
US20190225229A1 (en) * | 2016-07-20 | 2019-07-25 | Toyota Motor Europe | Control device, system and method for determining a comfort level of a driver |
-
2019
- 2019-09-18 CN CN201910878755.4A patent/CN110584650A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190225229A1 (en) * | 2016-07-20 | 2019-07-25 | Toyota Motor Europe | Control device, system and method for determining a comfort level of a driver |
CN108742610A (en) * | 2018-04-03 | 2018-11-06 | 吉林大学 | A kind of realization myoelectricity and subjective associated steering Comfort Evaluation method |
Non-Patent Citations (2)
Title |
---|
YAHUI LIU等: "A New Objective Evaluation Method for Vehicle Steering Comfort", 《JOURNAL OF DYNAMIC SYSTEMS, MEASUREMENT, AND CONTROL》 * |
唐忠善: "《实用心律失常诊疗手册》", 30 October 2006 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111174997A (en) * | 2020-01-14 | 2020-05-19 | 合肥工业大学 | Preliminary testing method for floor vibration comfort degree based on heart rate change |
CN111174997B (en) * | 2020-01-14 | 2021-10-22 | 合肥工业大学 | A Preliminary Test Method for Floor Vibration Comfort Based on Heart Rate Variation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11834052B2 (en) | Estimator generation apparatus, monitoring apparatus, estimator generation method, and computer-readable storage medium storing estimator generation program | |
CN103654770B (en) | The real-time wave detecting method of mobile electrocardiosignal QRS complex and device | |
CN103284702A (en) | Electrocardiogram and pulse wave relation analysis method and method and device of fusion analysis | |
Lee et al. | Real-time machine learning model to predict in-hospital cardiac arrest using heart rate variability in ICU | |
CN107595243A (en) | A kind of illness appraisal procedure and terminal device | |
JP6831944B1 (en) | How to extend ECG data and its devices, electronic devices and media | |
CN105342569B (en) | A kind of state of mind detecting system based on brain electricity analytical | |
JP6583892B2 (en) | ECG signal parallel analysis apparatus, method and mobile terminal | |
CN111839494A (en) | Heart rate monitoring method and system | |
CN110123304A (en) | Dynamic electrocardiogram noise filtering method based on multi-template matching and correlation matrix | |
CN112842358B (en) | Brain physiological data processing system, method, equipment and storage medium | |
WO2025073180A1 (en) | Method and device for identifying rapid eye movement in sleep period, and storage medium | |
CN113116307A (en) | Sleep staging method, computer-readable storage medium and program product | |
CN110584650A (en) | HRV-based driving comfort quantification method and device and storage medium | |
CN113397510B (en) | Continuous blood pressure measurement system, device and storage medium | |
CN114519370A (en) | Left ventricular hypertrophy detection method and system based on deep learning early-arrest mechanism | |
CN119014881A (en) | A dual-channel EEG fatigue detection method, device, equipment, medium and product | |
CN110584662A (en) | Self-imposed disease risk quantification method and device based on electroencephalogram information and storage medium | |
CN109394197B (en) | A heart rate variability measurement method, device and equipment based on time-frequency analysis | |
JP6468635B2 (en) | Sleepiness estimation apparatus and sleepiness estimation program | |
WO2017096597A1 (en) | Method and device for processing electrocardio signals | |
CN114631809B (en) | Head wearable device, eye fatigue monitoring method, device and storage medium | |
Erkuş et al. | Detection of abnormalities in heart rate using multiple Fourier transforms | |
US10307082B2 (en) | Method and apparatus for herpes zoster diagnosis and recording medium using the method | |
Kher et al. | RPCA-based detection and quantification of motion artifacts in ECG signals |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191220 |
|
RJ01 | Rejection of invention patent application after publication |