Disclosure of Invention
In order to solve the defects of the current method, the utility model provides a human body microseismic signal simulation method based on the recurrence of the ballistocardiographic signal, and simultaneously provides a human body microseismic signal simulation device. The real BCG signals with different shape characteristics, different heart rates and different respiration rates, which are acquired in advance, are processed to obtain the required simulated heart rate, respiration rate and vibration amplitude, the human body microseismic signals are more truly restored, and meanwhile, the heart rate, respiration rate and other signals which are not easy to reach by normal healthy people can be generated, so that the accuracy of the equipment to be detected in case of abnormal physical signs is tested.
In order to achieve the above purpose, the present utility model provides the following technical solutions: a human body microseismic signal simulation method comprises the following steps:
s101: collecting a plurality of real microseismic signals in the prone and calm states of a human body, and storing the microseismic signals serving as base signals in a flash memory of a main processor;
s102: setting parameters such as simulated heart beat frequency, simulated respiratory frequency, signal amplitude, waveform and the like of an output signal through input equipment;
s103: frequency processing and amplitude processing are carried out on the base signals according to the input signal parameters, and the processed simulated heartbeat signals and the processed simulated respiratory signals are combined according to a certain rule;
s104: outputting the processed analog human body microseismic signals to a low-frequency power amplifier through a digital-to-analog converter;
s105: the low-frequency power amplifier is connected to the vibrator, the vibrator is fixed on the bed body in a certain coupling mode, and the vibrator drives the test bed to vibrate.
Preferably, in S101, the microseismic signals are a respiratory signal and a ballistocardiographic signal, and each base signal is greater than 30 seconds.
Preferably, in S103, the frequency processing is a signal resampling method using a nearest neighbor method or a linear interpolation.
The human body microseismic signal simulation device comprises a main processor, a control unit and a control unit, wherein the main processor is used for storing, processing and outputting human body microseismic signals and receiving input parameters of input equipment; the input device is used for setting parameters such as simulated heart rate, respiratory rate, amplitude, waveform and the like of the microseismic signals to be output; the low-frequency power amplifier is used for amplifying the power of the received analog microseismic signal and endowing the analog microseismic signal with enough energy; a power supply device for supplying power to the main processor, the input device and the low frequency power amplifier; and the vibrator is used for receiving the excitation of the low-frequency power amplifier to generate vibration.
Preferably, the power of the low-frequency power amplifier is larger than 50W, the lowest frequency response range is smaller than 30Hz, and the vibrator is a body-sensing vibrator or a low-frequency loudspeaker.
Preferably, the main processor comprises a storage unit for storing a heartbeat-based signal and a respiration-based signal; a signal processing unit for processing the base signal according to the set parameters; and the digital-to-analog converter is used for converting the digital signal into an analog signal which can be used by the power amplifier.
Preferably, the device further comprises a test bed for presenting simulated human body microseismic signals and detecting the performance of the device to be detected; and a coupling for transmitting vibrations generated by the vibrator to the test bed.
Preferably, the top of the test bed is connected with a coupling wood frame, the top of the coupling wood frame is connected with the vibrator, a pillow is placed at the top of the test bed, and equipment to be detected is placed under the pillow.
Preferably, the vibrator is electrically connected with a low-frequency power amplifier and a main processor, and the main processor is electrically connected with a touch screen.
Compared with the prior art, the utility model has the beneficial effects that:
the utility model adopts the real human body microseismic signal as the 'base signal' to generate the simulated body vibration signal, and can set the parameters of the required simulated heart rate, respiratory rate and the like. The defect that other body vibration simulation methods can only generate a single dotting signal and cannot simulate a human body microseismic signal well is overcome, and the performance of the non-inductive sign detection equipment to be detected can be tested better.
Detailed Description
The following description of the embodiments of the present utility model will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present utility model, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the utility model without making any inventive effort, are intended to be within the scope of the utility model.
Referring to fig. 1-3, the present utility model provides a technical solution: a human body microseismic signal simulation method and device comprises the following steps:
s101: collecting a plurality of real microseismic signals in the prone and calm states of a human body, and storing the microseismic signals serving as base signals in a flash memory of a main processor;
s102: setting parameters such as simulated heart beat frequency, simulated respiratory frequency, signal amplitude, waveform and the like of an output signal through input equipment;
s103: frequency processing and amplitude processing are carried out on the base signals according to the input signal parameters, and the processed simulated heartbeat signals and the processed simulated respiratory signals are combined according to a certain rule;
s104: outputting the processed analog human body microseismic signals to a low-frequency power amplifier through a digital-to-analog converter;
s105: the low-frequency power amplifier is connected to the vibrator, the vibrator is fixed on the bed body in a certain coupling mode, and the vibrator drives the test bed to vibrate.
The method comprises the steps of collecting a plurality of real human body microseismic signals by using equipment to be detected or other signal collecting equipment and the like to serve as base signals, storing the base signals in a main processor, collecting the microseismic signals in a state of lying and calm of a plurality of real human bodies by using the equipment to be detected or other signal collecting equipment, namely respiratory signals and ballistocardiographic signals (BCG), and storing the base signals in a flash memory of a central processor. Each "base signal" must be greater than 30 seconds.
Parameters such as simulated heart beat frequency, simulated respiratory frequency, signal amplitude, waveform and the like of the output signals are set through the input equipment, corresponding human body micro-vibration signals are generated according to the set parameters such as simulated heart beat frequency, simulated respiratory frequency, signal amplitude, waveform and the like, and the parameters are set through the input equipment.
The method comprises the steps of carrying out frequency processing and amplitude processing on a base signal according to input signal parameters, combining a processed analog heartbeat signal and an analog respiratory signal according to a certain rule, wherein the frequency processing is a signal resampling method adopting a nearest neighbor method or linear interpolation, and the resampling frequency is according to the following formula:
F r_heart =F b_heart ×HR b /HR set
F r_resp =F b_resp ×RR b /RR set
wherein F is r_heart F for resampling frequency for heartbeat-based signal b_heart For the base signal sampling rate, HR b Heart beat frequency corresponding to base signal, HR set Is the set output heart rate.
F r_resp F for resampling frequency for respiratory-based signal b_resp For the base signal sampling rate, RR b For respiratory rate corresponding to respiratory base signal, RR set For a set output respiration rate.
Further, the resampling of the linear interpolation method is performed by adopting the following method: taking the heart beat base signal resampling as an example, F r_heart /F b_heart P/Q of the shortest fraction form of (C), then performing the base signalAnd P times of up sampling and then Q times of down sampling are carried out to obtain a resampled signal, and the resampling of the respiratory base signal is the same.
Further, the amplitude processing of the "base signal" is performed according to the following formula:
S′ r_heart =S r_heart XK, where S' r_heart For amplitude-processed analog heartbeat signal, S r_heart The analog heartbeat signal after resampling, K is a set amplitude parameter and is the ratio of the amplitude of the output signal to the amplitude of the 'base signal'. The amplitude of the analog respiratory signal is processed similarly.
Further, the simulated heart rate adds the resampled heartbeat signal and the respiration signal, and the length of the obtained signal is the length of the shorter of the two signals.
S r_sum (n)=S′ r_heart (n)+S′ r_resp (n)(n≤min(N b_heart ,N b_resp ))
Wherein S is r_sum (n) is a synthesized simulated human body microseismic signal mixed with heartbeat and respiratory signals; s'. r_heart (n) is the frequency-processed, amplitude-processed analog heartbeat signal; s'. r_resp And (n) is the analog respiratory signal after frequency processing and amplitude processing.
The processed Analog human body microseismic Signal is output to the low-frequency power amplifier through a Digital-to-Analog converter (DAC), and the processed Analog human body microseismic Signal is stored in the main processor and is a Digital Signal (Digital Signals) to be converted into an Analog Signal (Analog Signal), and this step is completed by the Digital-to-Analog converter, and in this embodiment, the Analog-to-Analog converter is used for processing by using a DAC module provided in the main processor. The low frequency power amplifier needs to have a good frequency response in the frequency range of the microseismic signal, so that the power or energy of the microseismic signal is amplified enough to enable the vibrator to generate vibration with enough energy.
The power amplifier is connected to the vibrator and fixes the vibrator on the bed body in a certain coupling mode, the vibrator drives the bed to vibrate, after the power amplifier amplifies the signal to enough power, the signal is input to the vibrator through the power amplifier, and the vibrator receives the excitation of the signal to generate corresponding vibration. And the vibrator needs to generate vibration with the test bed in a stable coupling mode so as to simulate a human body microseismic signal.
Referring to fig. 2, a schematic structural diagram of a human body micro-seismic signal simulation device according to the present utility model is shown, which includes:
and the input device 201 is used for setting parameters such as an analog heart rate, a respiration rate, an amplitude, a waveform and the like of the microseismic signals to be output. The main processor 202 is used for storing, processing and outputting the human body microseismic signals and receiving the input parameters of the input device. A storage unit 2021 is included for storing the heartbeat "base signal" and the respiration "base signal"; a signal processing unit 2022 for processing the "base signal" in accordance with the set parameters; a DAC (digital-to-analog converter) 2023, i.e., a digital-to-analog converter, is used to convert the digital signal into an analog signal that can be used by the power amplifier. A power supply device 203 for supplying power to the main processor, the input device and the low frequency power amplifier. The low-frequency power amplifier 204 is configured to power amplify the received analog microseismic signal and provide it with sufficient energy. Vibrator 205 is used for receiving the excitation of the power amplifier to generate vibration. And a coupling 206 for transmitting vibrations generated by the vibrator to the test bed. The test bed (including the equipment to be tested) 207 is used for presenting the simulated human body microseismic signals and detecting the performance of the equipment to be tested.
The input device 201 may be, but is not limited to, a touch screen, a key, and a PC host computer. The main processor 202 is an integrated circuit chip having signal processing capabilities, which may be, but is not limited to, a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Micro Control Unit (MCU), a Field Programmable Gate Array (FPGA). The signal storage unit 2021 may be, but is not limited to, a random access Memory (Random Access Memory, RAM), a Read Only Memory (ROM), a FLASH Memory (FLASH EPROM), or the like. The DAC (digital-to-analog converter) 2023 may be an analog-to-digital conversion module integrated in the main processor or may be a separate digital-to-analog conversion chip. The power of the low frequency power amplifier 204 should be greater than 50W and the lowest frequency response range less than 30Hz. Vibrator 205 may be, but is not limited to, a somatosensory vibrator, a subwoofer, or the like.
Referring to fig. 3, fig. 3 is a schematic diagram showing an overall application method of a human body micro-seismic signal simulation device, which is a specific embodiment of the present utility model, and includes:
a test bed 207, a coupling wooden frame 302, a vibrator 205, a pillow 304, a device under test 305, a low frequency power amplifier 204, a main processor 202, a tft touch screen 201. Specifically, the test bed 207 is connected by a coupling wood frame 302, and the device under test 305 is placed under a pillow 304. The TFT touch screen 201 may receive various parameters input by a user and may present a current output waveform. After the signal output from the main processor 202 is amplified by the low-frequency power amplifier 204, the vibrator 205 is excited to generate vibration with enough energy, and the vibration drives the test bed 207 to vibrate, so that the same effect as that of a real human body lying on the test bed is achieved.
In the description of the present specification, the descriptions of the terms "one embodiment," "example," "specific example," and the like, mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present utility model. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The preferred embodiments of the utility model disclosed above are intended only to assist in the explanation of the utility model. The preferred embodiments are not exhaustive or to limit the utility model to the precise form disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the utility model and the practical application, to thereby enable others skilled in the art to best understand and utilize the utility model. The utility model is limited only by the claims and the full scope and equivalents thereof.