The utility model content
The purpose of this utility model is to provide a kind of transcranial magnetic stimulation device based on Labview, its advantage is: easy to operate, stable performance can be revised or upgrade-system at any time as required, can realize simultaneously between printed report, database communication, software multinomial additional functions such as interaction.
For achieving the above object, the transcranial magnetic stimulation device that provides of this utility model mainly comprises:
One high-voltage pulse power source, a myoelectricity harvester and a temperature measuring equipment are connected to a data collecting card respectively;
This data collecting card is connected to a microcomputer;
Described high-voltage pulse power source is connected with stimulating coil.
Described transcranial magnetic stimulation device, wherein high-voltage pulse power source, myoelectricity harvester and temperature measuring equipment are connected to data collecting card by a rosette respectively, or directly with between the data collecting card are connected with data wire.
Described transcranial magnetic stimulation device, wherein stimulating coil is by the copper cash coiling, coiling be shaped as circular coil, 8 font coils, butterfly shaped coils or array coil.
Described transcranial magnetic stimulation device, wherein the myoelectricity harvester is the anti-interference electromyographic signal collection module of the dual pathways.
Described transcranial magnetic stimulation device, wherein rosette is a protected type I/O rosette.
Described transcranial magnetic stimulation device, wherein data collecting card is the pci data capture card.
Described transcranial magnetic stimulation device, wherein temperature measuring equipment is made up of temperature sensor, holding circuit and gain amplifying circuit; Temperature sensor is the platinum temperature sensor, and the gain amplifier section adopts the dual operational amplifier of internal frequency compensation.
Described transcranial magnetic stimulation device, wherein high-voltage pulse power source includes charge power supply, control circuit and discharge switch three parts.
The utility model has the advantages that:
1) complete function: coil is discharged and recharged by Labview software programming and parameter-definition control high-voltage pulse power source, realized the various modes such as single stimulation, repetitive stimulation, random stimulus, sequence of stimuli of transcranial magnetic stimulation, have the electromyographic signal collection function simultaneously, the temperature alarming function, sequence countdown function, and the patient information data base administration, patient report editor and printing, multinomial additional functions such as Long-distance Control and data communication;
2) having given full play to computer's role has powerful data processing function, has guaranteed the instrument speed of service and quality;
3) because system programmes based on Labview, under the situation that does not change hardware, only, can realize new function according to the new needs of user by changing software, very convenient flexibly, be that to be equivalent to software be hardware.
The specific embodiment
See also Fig. 1, basic structure of the present utility model is:
High-voltage pulse power source 1 links to each other with coil 2 by 14 control lines, high-voltage pulse power source 1, myoelectricity harvester 3 and temperature measuring equipment 8 join by data wire and rosette 4 respectively, rosette 4 links to each other with pci data capture card 6 in the host computer by cable 5 again, the realization digital-to-analogue conversion that intercoms mutually of pci data capture card 6 and Labview software 7.
Rosette 4 in this utility model can, high-voltage pulse power source 1, myoelectricity harvester 3 and temperature measuring equipment 8 directly can be linked to each other by cable (data wire) with pci data capture card 6, amount to 24 of data wires, comprising 12 high voltage control lines, 2 in thermometric circuit, myoelectricity is gathered 2 on line, 2 of 5V voltages, 6 of ground wires.
High-voltage pulse power source 1 of the present utility model mainly is made up of charge power supply, control circuit and discharge switch three parts.Its structure as shown in Figures 2 and 3, wherein Fig. 2 is the transcranial magnetic stimulation device mesohigh pulse power structural representation of present embodiment, Fig. 3 is the transcranial magnetic stimulation device mesohigh pulse power electrical schematic diagram of present embodiment.
In the charge power supply, filtering is connected the input of a full-bridge inverting module with rectification module; The outfan of this full-bridge inverting module connects the filter rectification module by a high frequency transformer boost module, and the outfan of this rectification module connects storage capacitor.The outfan of charge power supply is connected to the output of discharge switch and goes into end; Charge power supply links to each other with control circuit by 11 holding wires such as starting-up signal, main electric ok signals; Control circuit is connected to discharge switch by a discharge clock line.
Wherein charge power supply mainly is made of EMI (low pass) filtering and rectification module (the physical circuit principle sees also as shown in Figure 4), full-bridge inverting module (the physical circuit schematic diagram is shown in Fig. 5 a), high frequency transformer boost module (model can adopt YD-PQ26/25, YD-G02), filter rectification module (with the rectification module of Fig. 4) and five parts of storage capacitor (can adopt the storage capacitor of 2kv/1uF).Full-bridge inverting module wherein mainly is made of four IGBT power models, and four IGBT divide two groups of (VT wherein
1, VT
2Be one group, VT
3, VT
4Be one group) the conducting closure, thus the conducting closure of control high frequency transformer.Work process is: form alternative square-wave signal after the alternating current process EMI filtering of 220V and rectification module and the full-bridge inverting module, square-wave signal boost through high frequency transformer and filter rectification after just formed highly compressed voltage signal, at last the high pressure that obtains is charged to storage capacitor.
Discharge switch mainly contains two modules and constitutes: MDD95-16 diode (led) module and SKKT250/16E silicon controlled rectifier module.Wherein silicon controlled module is as controllable point of discharge switch, and diode (led) module is as the holding circuit of discharge switch.2 pins of diode connect the input of silicon controlled module, and 3 pins connect the outfan of silicon controlled module, and 1 foot links to each other with the control end of trigger board.
Control circuit mainly is made up of interface board and trigger board, interface board mainly is that the signal that the external control signal that enters and charge power supply module are returned is isolated by the TPL521 optical coupling isolator, output is afterwards controlled charge power supply and discharge switch and is fed back signal to control end, to prevent that high-voltage pulse from causing interference to control signal, consequently damage control circuit.Interface board mainly is made up of terminating device and optocoupler, and signal is defeated by the optocoupler input through input, exports to outfan behind optocoupler.Trigger board mainly is made of terminating device, plays signal overseas Chinese federation.The control signal of interface board is exported from CZ3, and inserts the input (as shown in Figure 6) of trigger board.
The concrete parameter of high-voltage pulse power source of the present utility model is as follows:
Maximum output voltage: 1.5KV;
Output voltage is variable: 0-1.5KV (by external 0-10V Control of Voltage);
Output voltage pulse width: 280-400 microsecond (width is by external TTL signal controlling);
Output voltage pulse frequency: 100Hz when output voltage is 0.6KV, 15Hz when output voltage is 1.5KV (frequency is by external TTL signal controlling);
Maximum output pulse string number: 500;
The shortest interval between two trains of pulse: 3 seconds.
Coil 2 of the present utility model according to the shape difference of coiling, can be divided into circular coil, 8 font coils, butterfly shaped coils, array coil etc. by the copper cash coiling, according to different stimulation needs, its size also is not quite similar, and circular coil diameter commonly used is 90mm, and 8 font coils then are 2*90mm.The copper port of control line one end and coiling joins, and the other end links to each other with high-voltage pulse power source, totally 14.
Myoelectricity harvester 3 of the present utility model is the anti-interference electromyographic signal collection module of the dual pathways, and its parameters is: 5000 times of amplifications, divide third gear; 80 decibels of common mode rejection ratios; Lead and lead for two; Prime is floating ground; The back level is the photoelectricity coupling; Frequency response is 2-2KHZ.
Fig. 7 has provided each member connection structure figure of this utility model myoelectricity harvester.
The myoelectricity harvester mainly is made up of electrode, signal amplifying part branch (gain amplifying circuit, gain control circuit, optical coupling isolator, wave trap) and signal acquiring system.This harvester is the dual pathways, and each passage has 3 electrodes, is respectively float electrode, reference electrode and ground, and the electromyographic signal that is used to gather human body, using method are known technology.Electrode links to each other with the signal amplifying part parallel circuit by data wire.The electromyographic signal that electrode collects is after the signal amplifying part branch amplifies, gather by signal acquiring system again, acquisition mode can be common known signal acquisition method/technology, the signal amplifying part of this enforcement divide with signal acquiring system between have 4 data wires to link to each other, article 2, be dual pathways holding wire separately, article 1, be ground wire, article 1, be power line, article 4, data wire is received on the rosette that NI company provides, rosette links to each other with the computer PCI card by the protected type cable again, pci card and upper strata Labview software communication are gathered electromyographic signal.
Fig. 8 is the sketch map that signal amplifying part is divided among Fig. 7.
Fig. 9 is the electrical schematic diagram of myoelectricity harvester in the transcranial magnetic stimulation device of present embodiment.
Because the myoelectricity device need directly contact with human body, so the requirement to power supply is relatively stricter, power supply in the novel circuit before optical coupling isolator TLP521 of this reality adopts float power Vf, circuit after the optocoupler adopts power supply Vs on the spot, so just can block the interference of external interference signals, improve the Electro Magnetic Compatibility of entire circuit faint electromyographic signal.In circuit, adopted simultaneously the TLP521 optical coupling isolator, the electromyographic signal amplifying circuit of front end and the signal acquisition circuit of rear end are carried out light-coupled isolation fully, avoid the high-voltage signal of rear end that front-end circuit is impacted, improve the high pressure isolation and the anti-high pressure ability of device.
See also Fig. 8 and shown in Figure 9, in the high gain signal amplifying circuit of present embodiment, adopted four-operational amplifier LF444 and two low noise high precision operating amplifier OP07 of two low-power consumption field effect inputs.Wherein first LF444 constitutes the differential amplifier circuit that first order difference is imported the high input impedance of single-ended output, and difference discrepancy circuit can provide very high common mode rejection ratio, helps improving signal quality.
The main gain control circuit in the second level that two amplifiers among second LF444 have constituted this circuit, input in each amplifier has increased toggle switch, by toggle switch promptly can regulating circuit gain, the time parameter that also can regulating circuit and the free transmission range of circuit.The maximum adjustable gain of this circuit is 60dB, and adjustable free transmission range is 0-2KHz.
Through behind the main gain control circuit, isolate adapter and the buffer of being with null adjustment by the light that OP07 constitutes, pass through optical coupling isolator TLP521 afterwards again.
The signal that optical coupling isolator comes out through one by 3 1uF electric capacity, 2 536K and 1 50Hz wave trap that 267K resistance constitutes.This wave trap can prevent the power frequency interference of 50HZ, also has the effect of low pass filter simultaneously.
The signal that is come out by wave trap amplifies through the OP07 operational amplifier more at last, and exports to collecting device.
Operational amplifier LF444 and OP07 that this utility model adopts, and optical coupling isolator TLP521 is known module.
This utility model rosette 4 can adopt that American National instrument (NI) company releases with the supporting rosette of PCI 6221 cards, its model is NI SCB-68.NI SCB-68 is a protected type I/O rosette, the I/O signal can be connected toward being furnished with plug-in type data acquisition (DAQ) equipment (PCI 6221) of 68 pin connectivity ports.During in conjunction with the protected type cable, SCB-68 can provide Signal Terminal firm and that noise is extremely low.
Cable 5 of the present utility model release for America NI company with the supporting protected type cable of PCI 6221 data collecting cards, its model is NI SHC68-68-EPM.NI SHC68-68-EPM can be connected to 68 pin adnexaes with the 68 pin X of NI company series and M serial equipment, and length is divided into 0.5 meter, 1 meter, 2 meters, 5 meters and 10 meters, has individually shielded simulated dual twisted wire, is used to reduce crosstalking of high speed integrated circuit board.
PCI 6221 data collecting cards that pci data capture card 6 of the present utility model provides for America NI company, its relevant parameter is: 2 tunnel 16 simulation outputs (frequency range 833kS/s), up to 24 way word I/O; 32 digit counters; Numeral triggers, and 16 tunnel single-ended inputs (sample rate is 250KS/s, maximum voltage range ± 10V), related DIO (8 clock lines, 1MHz), NIST calibration certificates of recognition and more than 70 signal condition option.
Labview control software 7 of the present utility model is developed by American National instrument (NI) company.Labview is a kind of programming development environment, be similar to C and BASIC development environment, but the remarkable difference of Labview and other computer languages is: other computer languages all are to adopt the text based language to produce code, and Labview uses is graphical author language G coding, and the program of generation is the form of block diagram.This utility model is installed in Labview software under the Windows operating system, this software by with PCI 6221 cartoon letters, carry out digital-to-analogue conversion, realize the control purpose.
Figure 10,11 has showed transcranial magnetic stimulation instrument Labview software operation interface and operational flowchart in this utility model.
The operation principle of transcranial magnetic stimulation device of the present utility model, be that Labview is as the charging of control end control high-voltage pulse power source, discharge, by setting various parameters, to determine amplitude, pulsewidth and the frequency of high-voltage pulse power source output pulse at the Labview software interface; High-voltage pulse power source discharge generation high-voltage pulse or high-voltage pulse string obtain high-intensity magnetic field thereby high-voltage pulse produces the high power pulse electric current by stimulating coil, and then produce induction field in tissues, reach the stimulation purpose; Temperature measuring equipment magnetic test coil temperature feeds back to Labview control software with temperature value, to realize real-time monitoring and the control to coil temperature.
Workflow of the present utility model is: PC is provided with the parameter of charge power supply by control circuit, the control power supply is converted to unidirectional current with alternating current, and storage capacitor charged, charge power supply is returned corresponding state by control circuit and is given PC simultaneously, when the charge power supply charging is finished, it returns to the ready signal of PC charging, and PC just can be controlled discharge switch by control circuit the electric energy in the storage capacitor was discharged in the coil this moment.In this process, PC is also monitored the state of coil constantly by control circuit.
Transcranial magnetic stimulation device of the present utility model comprises following function:
Have on the stimulation mode: 4 of single stimulations, repetitive stimulation, random stimulus, sequence pattern, wherein parameter comprises: six of stimulus intensity, frequency, persistent period, pulse number, train of pulse number, waiting time etc.;
Status display function has: the coil connection status shows that the high-voltage pulse power source charged state shows, the too high alarm of coil temperature, repetitive stimulation and random stimulus stimulate residue countdown demonstration etc.;
Additional function has: patient information is registered and is read (containing data base administration), and patient and diagnosis report are printed (it is multinomial to contain electromyogram, treatment parameter, therapeutic effect analysis etc.), and Long-distance Control and data communication etc.Wherein patient and diagnosis report are the word documents that system generates automatically in conjunction with the various information of patient, and the operator can edit according to own needs, and be convenient easy-to-use.
Single stimulation, repetitive stimulation, random stimulus and sequence pattern design principle communicate, and all are by interface setting parameter separately, and control NI PCI-6221 integrated circuit board output digital pulse signal comprises the frequency and the amplitude of pulse signal.Utilize the output of the Counter 0 passage control discharge pulse signal of NI PCI-6221 integrated circuit board.
The single stimulation to once triggering a pulse signal, repetitive stimulation, random stimulus and sequence pattern are for once triggering a plurality of pulse signals, the repetitive stimulation fixed-frequency, the every single of random stimulus triggers the frequency of pulse train signal for producing at random in the frequency range of user's setting, sequence pattern then is the sequence form of repetitive stimulation, the i.e. set of a plurality of repetitive stimulations.
Single stimulation, repetitive stimulation, random stimulus and sequence pattern are by setting the strength of discharge parameter, and control NI PCI-6221 integrated circuit board output reference voltage analogue signal is utilized the AO 0 passage control reference voltage signal output of PCI-6221 integrated circuit board.
Temperature measuring equipment 8 of the present utility model mainly is made up of temperature sensor, holding circuit and gain amplifying circuit.Platinum temperature sensor PT100 has been adopted in temperature sensor, and the gain amplifier section has adopted low-power consumption, has the dual operational amplifier LM358 of internal frequency compensation.In addition, increased lightning protection circuit, strengthened the capacity of resisting disturbance of temperature measuring equipment greatly at the signal input part of gain amplifying circuit.Temperature measuring equipment operation principle of the present utility model is that when temperature changed at the 0-100 degree, when temperature rose, it is big that the differential signal of input difference circuit becomes, the corresponding rising of the output voltage of amplifying circuit.
Temperature measuring equipment of the present utility model its each parts annexation figure such as Figure 12, Figure 13 is the electrical schematic diagram of present embodiment.
Wherein PT100 places coil inside, is used for the temperature of induction coil, and the signal that induction is returned is given signal acquiring system collection again after gain amplifying circuit is sent out signal greatly.If adopt 8 font coils, then PT100 is placed two loop transfer places of 8 font coils, with coil by the embedding of insulating heat-conductive silicone rubber (data wire is exposed to the outside of the coil module of embedding).PT100 links to each other with gain amplifying circuit by common connecting line, and gain amplifying circuit links to each other with signal acquiring system by common connecting line again.This signal acquiring system can be common known signal acquisition mode/technology, the gain amplifying circuit of present embodiment links to each other with the rosette of Labview by data wire, rosette links to each other pci card and upper strata Labview software communication, collecting temperature by the protected type cable again with the computer PCI card.Electromyographic signal is amplified by signal behind the LF444 difference amplification module, enters gain control module again, by the time parameter of toggle switch regulating circuit and the free transmission range of circuit, to the signal control that gains; Block the interference of external interference signals by optical coupling isolator again, and avoid the high-voltage signal of rear end that front-end circuit is impacted faint electromyographic signal; Finally amplify signal is exported to collecting device by filtering and computing.
Transcranial magnetic stimulation system temperature measuring device operation principle based on Labview of the present utility model as seen from Figure 13, that is: temperature is when the 0-100 degree changes, when temperature rises, it is big that the resistance of PT100 becomes, it is big that the differential signal of input difference circuit becomes, the corresponding rising of output voltage AV of amplifying circuit.PT100, R2, R3 and R4 form the sensor measurement electric bridge, the output differential signal, and in order to guarantee the stability of bridge output voltage, the input voltage of electric bridge passes through TL431 surely to 2.5V.After amplifying, the differential signal process LM358 double operational two-stage of electric bridge output imports data collecting card.Wherein regulator potentiometer R3 can adjust the size of differential input signal, is generally used for zeroing.D1, D2, D3 and D4 are the lightning protection circuit that is connected in parallel on the PT100, and they are made up of 4 high pressure Transient Suppression Diode SMBJ18A, and they can improve the impact resistance of circuit effectively.