Disclosure of Invention
In order to solve the technical problem that the electrocardio-gating device is easily affected by electromagnetism and cannot be reliably triggered, the disclosure provides a gating device, a control method and device thereof, a medical equipment system, electronic equipment and a storage medium.
In a first aspect, the present disclosure provides a control method for a gate control device, including:
acquiring a first sound signal containing the heart sound of a measured target and a second sound signal far away from the heart position of the measured target;
subtracting the first sound signal and the second sound signal to obtain a heart sound signal of a measured target;
and generating a pulse control signal according to the heart sound signal.
In some embodiments, before said subtracting said first sound signal and said second sound signal, further comprises:
low pass filtering the first sound signal and the second sound signal.
In some embodiments, before the generating the pulse control signal according to the heart sound signal, further comprises:
and performing smooth filtering on the heart sound signal.
In a second aspect, the present disclosure provides a gate control device comprising:
the sound collector comprises at least one first collector, at least one second collector and a sensor, wherein the sensor is connected with the first collector and the second collector and is used for converting the sound collected by the first collector into a first sound signal and converting the sound collected by the second collector into a second sound signal; and
and the controller comprises a signal processor, and the signal processor is used for subtracting the first sound signal and the second sound signal to obtain a heart sound signal of the measured target and generating a pulse control signal according to the heart sound signal.
In some embodiments, the sound collector further comprises a first photoelectric converter, an input end of the first photoelectric converter is connected to the sensor, and the first photoelectric converter and the second photoelectric converter are used for respectively converting the first sound signal and the second sound signal into optical signals;
the controller further comprises a second photoelectric converter, wherein the input end of the second photoelectric converter is connected with the output end of the first photoelectric converter, and the second photoelectric converter is used for converting the optical signal into the first sound signal and the second sound signal respectively.
In some embodiments, the controller further comprises a first filter coupled between the transducer and the signal processor for low pass filtering the first sound signal and the second sound signal.
In some embodiments, the controller further comprises a second filter, an input of the second filter being connected to the output of the signal processor, for smoothing filtering the heart sound signal.
In a third aspect, the present disclosure provides a control device of a gate control device, including:
the acquisition module is used for acquiring a first sound signal containing the heart sound of the measured target and a second sound signal far away from the heart position of the measured target;
the processing module is used for subtracting the first sound signal from the second sound signal to obtain a heart sound signal of a measured target;
and the generating module is used for generating a pulse control signal according to the heart sound signal.
In some embodiments, the processing module, prior to being configured to subtract the first sound signal and the second sound signal, is further configured to:
low pass filtering the first sound signal and the second sound signal.
In some embodiments, the processing module, prior to being configured to generate the pulse control signal from the heart sound signal, is further configured to:
and performing smooth filtering on the heart sound signal.
In a fourth aspect, the present disclosure provides an electronic device comprising:
a processor; and
a memory, communicatively coupled to the processor, storing computer readable instructions executable by the processor, the processor performing the method according to any of the embodiments of the first aspect when the computer readable instructions are executed.
In a fifth aspect, the present disclosure provides a medical device system comprising:
a door control apparatus as claimed in any one of the embodiments of the second aspect; and
and the medical equipment is used for receiving the pulse control signal sent by the gating device and executing a preset action according to the pulse control signal.
In a sixth aspect, the present disclosure provides a storage medium storing computer-readable instructions for causing a computer to perform the method according to any one of the embodiments of the first aspect.
The control method of the gating device provided by the embodiment of the disclosure comprises the steps of obtaining a first sound signal containing a heart sound of a measured target and a second sound signal far away from the heart of the measured target, subtracting the first sound signal and the second sound signal to obtain the heart sound signal of the measured target, and generating a pulse control signal according to the heart sound signal. The scheme of the invention collects the heart sound signal to generate the pulse control signal, and the heart sound signal is a mechanical signal, so that the pulse control signal is not influenced by an electromagnetic field, the interference of the electromagnetic field on magnetic resonance imaging is effectively avoided, and the triggering of the gating device is more reliable. In addition, according to the scheme, the multi-source sound signals are collected, the pure heart sound signals are obtained by subtracting the multi-source sound signals, and the calculation of the heart sound signals is simpler and more convenient. Meanwhile, the cost of sound collection is lower than that of electrocardiosignal collection, and the hardware cost is reduced.
Detailed Description
The technical solutions of the present disclosure will be described clearly and completely with reference to the accompanying drawings, and it is to be understood that the described embodiments are only some embodiments of the present disclosure, but not all embodiments. All other embodiments, which can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure. In addition, technical features involved in different embodiments of the present disclosure described below may be combined with each other as long as they do not conflict with each other.
The control method of the gating device provided by the disclosure can be applied to the gating device for cardiac magnetic resonance imaging.
The cardiac gating technology is to utilize the heartbeat and other physiological signals of the testee to control the radio frequency pulse emitting sequence of the magnetic resonance scanner, so that the generation and the collection of the magnetic resonance signal of each scanning are synchronous with the physiological operation of the heartbeat cycle. Therefore, the magnetic resonance signals obtained by each scanning are from the same state of the heartbeat cycle, and the images in the same state of a plurality of cycles are superposed to obtain a magnetic resonance image with higher signal-to-noise ratio.
In the conventional MRI (Magnetic Resonance Imaging) electrocardiographic gating apparatus, 4 electrocardiographic electrodes are generally used to acquire an ECG (electrocardiogram) signal of a subject with multiple leads, and the electrodes are respectively denoted by Ra, Rl, La, and Ll and respectively represent a right upper limb, a right lower limb, a left upper limb, and a left lower limb. However, because the electrocardiosignals are bioelectricity signals and are greatly influenced by the magnetic field intensity, the electrocardiosignals are often influenced by an electromagnetic field when being collected, and the magnetic resonance imaging effect is poor. Meanwhile, the electrocardio-electrode is a disposable consumable, the cost is higher, the hardware cost for electromagnetic shielding of the electrocardio-detection box is higher, and the cost of magnetic resonance is increased.
Based on the above problems in the prior art, the present disclosure provides a gate control device, a control method and a control device thereof, and a medical device system. Fig. 1 is a block diagram illustrating a structure of a door control device according to some embodiments of the present disclosure, so as to implement corresponding functions of the door control device and an electronic device.
As shown in fig. 1, in some embodiments, the door control apparatus or electronic device provided by the present disclosure includes aprocessor 610, amemory 620, and asound collector 700, wherein thesound collector 700 and thememory 620 are both connected to theprocessor 610.
Theprocessor 610, thememory 620, and thesound collector 700 are communicatively coupled to one another via abus 630.
Theprocessor 610 may be of any type, having one or more processing cores. The system can execute single-thread or multi-thread operation and is used for analyzing instructions to execute operations of acquiring data, executing logic operation functions, issuing operation processing results and the like.
Thesound collector 700 is used to collect multi-source sound, and thesound collector 700 may be any type of collector, such as a stethoscope, a MIC (microphone), a sound sensor, and the like. In some embodiments, thesound collector 700 may employ a medical stethoscope, so as to facilitate the acquisition of the heartbeat sound of the subject. Theprocessor 610 obtains the sound signal obtained by thesound collector 700, processes and denoises the sound signal to obtain a pure heart sound signal of the measured person, and finally generates control information for controlling the scanner to pay off according to the heart sound signal.
Thememory 620 may include a non-volatile computer-readable storage medium, such as at least one magnetic disk storage device, flash memory device, distributed storage device remotely located from theprocessor 610, or other non-volatile solid state storage device. Thememory 620 may have a program storage area for storing non-volatile software programs, non-volatile computer-executable programs, and modules for use by theprocessor 610 in invoking one or more method steps described below to be performed by theprocessor 610. Thememory 620 may further include a volatile random access memory medium or a storage portion such as a hard disk, which is used as a data storage area for storing the operation processing result and data issued and output by theprocessor 610.
It should be noted that, for magnetic resonance imaging, when the radio frequency pulse of the scanner is controlled by using the heart sound signal, in order to improve the control accuracy, the collected heart sound signal needs to be denoised, so as to obtain a pure heart sound signal. Generally, a complex electronic filtering device is needed to filter, amplify, convert digital to analog and the like the initial heart sound signal, and the calculation is very complex. More importantly, the electronically filtered heart sound signals always hardly meet the requirement of triggering gated scanning, and the inventor finds that the frequency and the amplitude of noises are different due to the fact that magnetic resonance equipment has more types of noises during scanning, such as equipment water cooling units, scanning gradient switching, radio frequency scanning sequences and the like, and pure heart sound signals are always difficult to obtain only through electronic filtering, so that the imaging effect is poor.
In order to solve the above problem, in the present disclosure, thesound collector 700 is used to collect a multi-source sound signal, and the multi-source sound signal is subtracted to obtain a purer heart sound signal of the testee. Thesound collector 700 includes a plurality of collectors, and in order to distinguish collected sound signals, the sound signals collected by the plurality of collectors, which include the heart sound of the target under test and the background noise, are defined as "first sound signals", and the background noise signals collected by the plurality of collectors, which are far away from the heart of the target under test, are defined as "second sound signals". The first sound signal can come from one collector or a plurality of collectors, and the second sound signal has the same principle.
A specific structural diagram of a door control device in some embodiments of the present disclosure is shown in fig. 2. As shown in fig. 2, in some embodiments, the door control apparatus provided by the present disclosure may include: asound collector 700 and acontroller 600.
Thesound collector 700 includes afirst collector 710, asecond collector 720, and asensor 730. In the embodiment shown in fig. 2, the number of thefirst collector 710 and thesecond collector 720 is set to one, and both adopt medical stethoscopes.
It should be noted that although the heart sound signal is not affected by the electromagnetic field relative to the bioelectrical signal, in order to further reduce the noise of the sound collected by the collector, the compatibility of the gate control device with the magnetic resonance apparatus is improved. In some embodiments, the stethoscope is made of a non-metal material, so that signal interference of the stethoscope in an electromagnetic field is reduced. In one exemplary implementation, the stethoscope is a plastic stethoscope.
When the sound signal is collected, it can be known from the foregoing that the first sound signal includes the heart sound of the subject, and environmental noises such as the equipment water cooling unit, the scanning gradient switching, and the radio frequency scanning sequence. Therefore, thefirst collector 710 can be disposed close to the heart of the subject to obtain the first sound signal containing the heart sound as clear as possible, for example, in the embodiment shown in fig. 2, thefirst collector 710 is closely attached to the heart of the subject. The second sound signal is the environmental noise without heart sound, and is mainly the same environmental noise of equipment water cooling unit, scanning gradient switching, radio frequency scanning sequence and the like as the first sound signal. Therefore, thesecond collector 720 can be located away from the heart of the subject, for example, in the embodiment shown in fig. 2, thesecond collector 720 is attached to the wrist of the subject.
It should be noted that, since thesecond collector 720 mainly collects the ambient noise, the position of thesecond collector 720 is not limited to the wrist of the subject, and may be other positions such as the thigh and the arm. In addition, thesecond collector 720 is not limited to be disposed on the limb of the subject, and may also be directly disposed in the environmental space between scans, for example, on the magnetic resonance device set, and when thesecond collector 720 is disposed in the environmental space, the hardware form thereof does not need to be a stethoscope, and may be a sound collector such as an MIC. However, in order to ensure that the second sound signal is the same as the ambient noise in the first sound signal as much as possible, in a preferred embodiment, thesecond collector 720 is attached to the limb of the subject and is not too far away from thefirst collector 710, so in the embodiment shown in fig. 2, thesecond collector 720 is attached to the arm of the subject.
Since the gating device needs to control the pulse emission in the cardiac cycle of the subject according to the heart sound of the subject, the sound collected by thefirst collector 710 and thesecond collector 720 needs to be converted into a sound analog electrical signal by thesensor 730 for transmission. As shown in fig. 2, in some embodiments, two input terminals of thesensor 730 are connected to thefirst collector 710 and thesecond collector 720 through connection lines, respectively, so as to convert the sound collected by thefirst collector 710 and thesecond collector 720 into analog electrical signals, i.e., a first sound signal and a second sound signal. Thesensor 730 can be implemented by using a sound sensor in the prior art, which is not described in detail in this disclosure.
Thecontroller 600 includes a signal processor, which may be the same as theprocessor 610 described above and will not be described herein. The signal processor is used for processing and calculating the first sound signal and the second sound signal sent by thesensor 730, so as to obtain a pure heart sound signal of the measured person.
It should be noted that, for the magnetic resonance scan, thesound collector 700 is generally disposed in the scan room, and the host including thecontroller 600 is generally disposed in the equipment room, so that the first sound signal and the second sound signal need to be transmitted through a cable, and in order to further improve the signal transmission efficiency, in some embodiments, the first sound signal and the second sound signal may be further converted into an analog optical signal for transmission.
Specifically, in some embodiments, thesound collector 700 further comprises a first photoelectric converter (not shown in the figures), and an input end of the first photoelectric converter is connected to an output end of thesensor 730, so as to convert an analog electrical signal output by thesensor 730 into an optical signal. Thecontroller 600 further includes a second optical-to-electrical converter, an input end of which is connected to an output end of the first optical-to-electrical converter, for example, through an optical fiber, so as to convert the analog optical signal output by the first optical-to-electrical converter into an electrical signal, and transmit the electrical signal to the signal processor. The first photoelectric converter and the second photoelectric converter can be realized by adopting a photoelectric sensor in the prior art, and the details of the disclosure are omitted.
The signal processor receives a first sound signal and a second sound signal, the first sound signal comprises the heart sound of the measured person and the environmental noises such as the equipment water cooling unit, the scanning gradient switching, the radio frequency scanning sequence and the like, and the second sound signal is the environmental noises such as the equipment water cooling unit, the scanning gradient switching, the radio frequency scanning sequence and the like, so that the signal processor subtracts the first sound signal and the second sound signal, namely, the first sound signal is denoised to obtain the pure heart sound signal of the measured person.
For a magnetic resonance scan, the noise with the maximum frequency comes from the fast switching of the current in the gradient coil, i.e. the gradient switching noise, and since the noise frequency is much higher than the heart sound and other noises, in some embodiments, the first sound signal and the second sound signal may be low-pass filtered before being subtracted from each other, so as to remove the gradient switching noise in the sound signals, thereby simplifying subsequent calculations.
Specifically, in some embodiments, thecontroller 600 further includes a first filter disposed between thesensor 730 and the signal processor, where the first filter is a low-pass filter, so that when thecontroller 600 receives the first sound signal and the second sound signal, the first sound signal and the second sound signal are first low-pass filtered to remove gradient switching noise in the first sound signal and the second sound signal, and then the first sound signal and the second sound signal after being filtered are transmitted to the signal processor for calculation processing.
Further, in some embodiments, in order to improve the accuracy of the obtained heart sound signal, the controller further includes a second filter, and an input end of the second filter is connected to an output end of the signal processor, so as to perform smooth filtering on the heart sound signal of the measured person obtained by the signal processor, and thus, the output of the heart sound signal is clearer.
It should be noted that, for filtering and denoising of the signal, the filtering and denoising are not limited to the low-pass filtering and the smoothing filtering described above, and other forms of signal processing methods may also be used, for example, a deep learning algorithm is used to process the heart sound signal, which is not limited by the present disclosure.
According to the gating device, the sound collector is used for collecting the heart sound signals, the magnetic resonance scanning pulse is controlled to emit according to the heart sound signals, the acquisition of the heart sound signals is not interfered by the electromagnetic field of magnetic resonance, the gating device is more reliable in triggering, high-strength electromagnetic shielding of the sensor is not needed, and hardware cost is reduced. In addition, the door control device disclosed by the invention obtains a pure heart sound signal by subtracting the multi-source sound signals without a complex electronic filtering device and calculation, so that the calculation of the heart sound signal is simpler and more convenient. Meanwhile, compared with the electrocardio-electrode, the sound collector has lower cost, and the magnetic resonance scanning cost is further reduced.
The present disclosure further provides a control method of a gate control device, which is suitable for the gate control device in any of the above embodiments, so as to control a radio frequency pulse emission sequence of a magnetic resonance scanner according to a heart sound signal of a subject, thereby improving a magnetic resonance imaging effect.
As shown in fig. 3, in some embodiments, the control method provided by the present disclosure includes:
s10, a first sound signal containing the heart sound of the tested object and a second sound signal far away from the heart position of the tested object are obtained.
Specifically, referring to the embodiment of fig. 2, thefirst collector 710 is closely attached to the position of the heart orifice of the subject, and the initial heart sound including the target heart sound and the ambient noise is collected. Thesecond collector 720 is attached to the wrist of the subject to collect the ambient noise. The initial heart sounds and ambient noise are converted to analog electrical signals by thesensor 730 for subsequent transmission.
And S20, subtracting the first sound signal and the second sound signal to obtain a heart sound signal of the measured object.
Specifically, referring to the embodiment of fig. 2, the signal processor of thecontroller 600 receives a first sound signal and a second sound signal, where the first sound signal includes the heart sound of the subject and the environmental noises such as the device water chiller, the scan gradient switching, and the radio frequency scan sequence, and the second sound signal is the environmental noises such as the device water chiller, the scan gradient switching, and the radio frequency scan sequence, so that the signal processor subtracts the first sound signal and the second sound signal, that is, performs denoising on the first sound signal, and obtains a pure heart sound signal of the subject.
And S30, generating a pulse control signal according to the heart sound signal.
In particular, for cardiac magnetic resonance imaging, it is necessary to control the radio frequency pulse emission sequence of the magnetic resonance scanner according to the cardiac cycle of the subject, and therefore the gating device generates the pulse control signal according to the heart sound signal. And the console of the magnetic resonance equipment receives the pulse control signal generated by the gate control device, periodically scans the radio frequency discharge device according to the pulse control signal, and superposes images in the same state of a plurality of cardiac cycles to obtain a heart magnetic resonance image.
According to the control method of the gate control device, the heart sound signals are collected to generate the pulse control signals, and the heart sound signals are mechanical signals, so that the influence of an electromagnetic field is avoided, the interference of the electromagnetic field on magnetic resonance imaging is effectively avoided, and the gate control device is triggered more reliably. In addition, according to the scheme, the multi-source sound signals are collected, the pure heart sound signals are obtained by subtracting the multi-source sound signals, and the calculation of the heart sound signals is simpler and more convenient. Meanwhile, the cost of sound collection is lower than that of electrocardiosignal collection, and the hardware cost is reduced.
One specific embodiment of a control method of a door control apparatus according to the present disclosure is shown in fig. 4, and in this embodiment, the control method includes:
s1, a first sound signal containing the heart sound of the tested object and a second sound signal far away from the heart position of the tested object are obtained.
And S2, low-pass filtering the first sound signal and the second sound signal.
And S3, subtracting the first sound signal and the second sound signal to obtain a heart sound signal of the measured object.
And S4, performing smooth filtering on the heart sound signal.
And S5, generating a pulse control signal according to the filtered heart sound signal.
Specifically, in step S1, refer to step S10, which is not described herein again.
In step S2, the noise of the maximum frequency for the magnetic resonance scan comes from the fast switching of the currents in the gradient coils, i.e., the gradient switching noise, since its noise frequency is much higher than the heart sounds and other noises. Therefore, in this embodiment, before step S2, the first sound signal and the second sound signal are low-pass filtered to remove the gradient switching noise in the sound signals, thereby simplifying the subsequent calculation.
For example, in the embodiment shown in fig. 2, the first sound signal and the second sound signal are filtered by a first filter, the first filter is disposed between thesensor 730 and the signal processor, and the first filter is a low-pass filter, so that when thecontroller 600 receives the first sound signal and the second sound signal, the first sound signal and the second sound signal are first low-pass filtered to remove gradient switching noise in the first sound signal and the second sound signal, and the first sound signal and the second sound signal after being filtered are transmitted to the signal processor for calculation processing.
In step S3, refer to step S20, which is not described herein again.
In step S4, the obtained heart sound signal is subjected to smoothing filtering in order to further improve the signal-to-noise ratio of the heart sound signal. For example, in the embodiment shown in fig. 2, the controller further includes a second filter, and an input end of the second filter is connected to the output end of the signal processor, so as to perform smooth filtering on the heart sound signal of the subject obtained by the signal processor, thereby enabling the heart sound signal to be output more clearly.
In step S5, refer to step S30, which is not described herein again.
As can be seen from the above, in the present embodiment, on the basis of the embodiment shown in fig. 3, the low-pass filtering is performed on the first sound signal and the second sound signal, so that the calculation process of the heart sound signal is greatly simplified, and the signal-to-noise ratio of the heart sound signal is higher. And the heart sound signal is further subjected to smooth filtering, so that the output of the heart sound signal is clearer, and the magnetic resonance imaging effect is better.
The present disclosure also provides for a medical device system, which may be a scanning device system, such as a magnetic resonance imaging system, adapted for controlled scanning with a gating apparatus.
In some embodiments, a medical device system comprises: the door control apparatus of any of the above embodiments; and a medical device.
In an exemplary implementation, the medical apparatus is exemplified by a magnetic resonance apparatus, the gating device generates a pulse control signal according to a heart sound signal of a subject, a console of the magnetic resonance apparatus receives the pulse control signal generated by the gating device, the radio frequency radiation device is periodically scanned according to the pulse control signal, images in the same state of a plurality of cardiac cycles are superposed to obtain a heart magnetic resonance image, and the heart magnetic resonance image is displayed through a display screen of the magnetic resonance apparatus.
Through the above, the medical equipment system provided by the disclosure collects the heart sound signal to generate the pulse control signal, and the heart sound signal is a mechanical signal, so that the system is not influenced by an electromagnetic field, the interference of the electromagnetic field on imaging is effectively avoided, and the imaging effect of the medical equipment is better. In addition, according to the scheme, the multi-source sound signals are collected, the pure heart sound signals are obtained by subtracting the multi-source sound signals, and the calculation of the heart sound signals is simpler and more convenient. Meanwhile, the cost of sound collection is lower than that of electrocardiosignal collection, and the hardware cost of the system is reduced.
The present disclosure also provides a control device for a door control device, suitable for use in a door control device, as shown in fig. 5, which in some embodiments comprises:
theacquisition module 10 is used for acquiring a first sound signal containing the heart sound of the measured target and a second sound signal far away from the heart position of the measured target;
theprocessing module 20 is configured to subtract the first sound signal and the second sound signal to obtain a heart sound signal of the target to be measured;
and agenerating module 30, configured to generate a pulse control signal according to the heart sound signal.
In some embodiments, theprocessing module 20, before being configured to subtract the first sound signal and the second sound signal, is further configured to:
the first and second sound signals are low-pass filtered.
In some embodiments, theprocessing module 20, before being configured to generate the pulse control signal from the heart sound signal, is further configured to:
and performing smooth filtering on the heart sound signal.
According to the control device of the gate control device, the heart sound signals are collected to generate the pulse control signals, and the heart sound signals are mechanical signals, so that the influence of an electromagnetic field is avoided, the interference of the electromagnetic field on magnetic resonance imaging is effectively avoided, and the gate control device is triggered more reliably. In addition, according to the scheme, the multi-source sound signals are collected, the pure heart sound signals are obtained by subtracting the multi-source sound signals, and the calculation of the heart sound signals is simpler and more convenient. Meanwhile, the cost of sound collection is lower than that of electrocardiosignal collection, and the hardware cost is reduced.
The present disclosure also provides a storage medium storing computer-readable instructions for causing a computer to execute the control method in any one of the above embodiments. A computer system for implementing the corresponding functions of the storage medium can be shown in fig. 1, and will not be described herein.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It should be understood that the above embodiments are only examples for clearly illustrating the present invention, and are not intended to limit the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications of the present disclosure may be made without departing from the scope of the present disclosure.