Produce the method for the electrical stimulation signal of the intelligent electric acupuncture acupuncture and moxibustion therapeutic apparatus allusion quotation skill of handling needles modelled after an antique
The present invention has adopted the theoretical Medical Instruments that combines and develop with the clinical manipulation of acupuncture that extracts in several thousand of modern project technology and traditional Chinese medicine acupuncture.Especially it is based on computer, adopted fuzzy theory, artificial intelligence approach produced corresponding with the classic skill of handling needles, be difficult for being adapted to, treat effective electrical stimulation signal by human body.
Existing acusector acupuncture and moxibustion therapeutic apparatus both domestic and external is general to adopt following several electrical stimulation signals: 1, low-frequency pulse type: low-frequency pulse be to realize by simple electronic circuit, it can only be exported simply, the electric impulse signal of no more variation, and there is the shortcoming that is adapted to by human body easily in sort signal.2, acoustoelectric signal type: it is to adopt Music Clip or receive the broadcast music signal that its signal produces, and driving transformer obtains output signal.Although this kind signal has solved the adaptive problem of human body to a certain extent, exist to adopt pure acoustoelectric signal at random can not guarantee the shortcoming that the repeatability for the treatment of and a kind of acoustoelectric signal can not be obtained good result to all diseases.3, monolithic type: it adopts the one-chip computer of customization to produce comparatively complex rule output signal, though it has improved automaticity, existence will not facts have proved to be the effective integrated shortcoming of entering of acoustic-electric modulating wave.All will do not facts have proved very effectively, be met that human body adjusts that the skill of handling needles of the natural law is integrated enters in the electrical stimulation signal of especially various low-frequency therapy apparatus.
The objective of the invention is to develop a kind of intelligent electric acupuncture acupuncture and moxibustion therapeutic apparatus, this therapeutic instrument can produce corresponding to the classic acupuncture skill of handling needles, difficult human body adaptation, eutherapeutic various electrical stimulation signals by the programme-control and the hardware platform of self computer.The interaction energy of these electrical stimulation signals reaches the artificial acupuncture process of simulation, and eutherapeutic degree.
The present invention adopts following measure to realize that the present invention of its goal of the invention includes the hardware platform of being made up of single chip microcomputer 1, RAM2, EPROM3, D/ A converter 5,6, amplification driving circuit 7, booster transformer 8, stimulating electrical signal device 9, keyboard 10, display 11, and be stored in control sequence and the empirical data among the EPROM3 and be stored in the computing of machine as calculated among the RAM2, combination, with the Wave data composition of stochastic signal compose operation generation.The ultimate principle of the control sequence of this therapeutic instrument is to utilize the intervention method of putting forward of the intensity allusion quotation skill of handling needles modelled after an antique of electric signal waveform, with the twist skill of the polarity of the electric signal waveform allusion quotation skill of handling needles modelled after an antique, in conjunction with 96 methods produce with the classic skill of handling needles (as heat-producing needle, in cool-producing needling, the sun latent cloudy, dragon and tiger is belligerent etc.) the corresponding acusector skill of handling needles.Its electrical stimulation signal adopts regular signal stack stochastic signal, also can adopt the frequency sweep variable signal.Specifically adopted amplitude modulation and non-amplitude modulation, unipolarity and bipolarity, the sawtooth waveforms of frequency sweep and non-frequency sweep (comprise positive sawtooth, fall sawtooth, ladder are just falling sawtooth, distortion sawtooth waveforms (triangular wave) etc.) is as main electrical stimulation signal.The intensity of electrical stimulation signal waveform describe adopted very strong, strong, a bit by force, weak by force, weak, weak, very weak seven fuzzy language variablees a bit.Heat-producing needle with the cool-producing needling skill of handling needles adopt three grades of corresponding skies of different maximum amplitude intensity, people, three principles illustrated allusion skill of handling needles.Adopt the classic skill of handling needles of ladder fall the sawtooth waveforms correspondence tightly by slow handle method, with the corresponding classic skill of handling needles of the positive sawtooth waveforms of ladder press tight handle method slowly, with Fuzzy Set Theory and artificial intelligence approach the classic skill of handling needles is integrated in the signal waveform of instrument.Utilize above-mentioned principle can be combined into the different acusector skill of handling needles corresponding with the classic skill of handling needles.For solving stimulating electrical signal human body adaptability problem adopts the stochastic signal that superposeed on the ladder sawtooth waveforms technical scheme, so promptly guaranteed the realization of the acusector skill of handling needles of the allusion quotation skill of handling needles modelled after an antique, it is adaptive with topic to have solved human body again.Describing the intensity of signal with the fuzzy language variable, can know in advance which fuzzy language range of variables is signal of telecommunication amplitude drop on where again, is unpredictable but specifically drop on.
The control sequence step that produces its electrical stimulation signal is as follows: beginning, make the complete machine initialization, which fuzzy language range of variables does the amplitude of judging signal drop on? automatically import the modulation waveform parameter that needs, (step width of waveforms amplitude, ladder sawtooth waveforms, step number etc.), need to judge whether the stack stochastic signal, as needs then produce random number and and regular wave shape parameter overlap-add procedure, the result send D/A converter; Stochastic signal then directly send D/A converter with Wave data as not needing to superpose; Is the small stair width of judging waveform enough denied? as inadequately, then generate Wave data and continue to widen according to waveform parameter; Do you as much of that, judge that then the small stair number of waveform enough denys? as inadequately, then continue to produce Wave data and send D/A converter according to the waveform parameter of setting; As much of that, then finished the unitary process of waveform that produces.Produce same signal if desired continuously, then upgrade the skin shape parameter, by above-mentioned steps, enter new circulation again, going round and beginning again produces the electrical stimulation signal waveform of 1-26 among Fig. 9.According to the needs of the allusion quotation skill of handling needles modelled after an antique, also the waveform among Fig. 9 can be carried out the waveform parameter that appropriate combination generates the combination modulating wave, produce electrical stimulation signal by above-mentioned flow process.
The controlled step that produces 27-46 electrical stimulation signal waveform among Figure 10 is: beginning, make the complete machine initialization, automatically import the waveform segmentation parameter, do you judge to do where manage according to waveform shape? do addition if desired, to judge after the additive operation whether waveforms amplitude reaches maximum, if do not reach maximum, can continue to add next time; Do subtraction as needs, judge whether waveforms amplitude reaches minima, as not reach minima, can continue to subtract next time; If need to keep initial value or reset new value or return initial state, then handle by judged result.According to the waveform of the setting stochastic signal that superposes if desired, then produce random number and carry out overlap-add procedure, the result send D/A converter; If do not need the stochastic signal that superposes, then directly Wave data be sent to D/A converter; Judge then whether a waveform constructs and finish, as unfinished, then forward automatic input skin shape segmentation parameter step to, continue conversion; As finished, then finish this waveform construction process; After upgrading waveform parameter, restart new round waveform construction process again, the generation electrical stimulation signal goes round and begins again.
Non real-time produces the electrical stimulation signal of the allusion quotation skill of handling needles modelled after an antique, the control sequence step of electrical stimulation signal, Stochastic Modulation electrical stimulation signal is as follows at random: beginning, and calculate the electrical stimulation signal Wave data of the generation allusion quotation skill of handling needles modelled after an antique or artificially add periodic modulation signal generation Wave data with music signal digitized generation Wave data or with stochastic signal; Wave data is stored among EPROM (3) or the RAM (2), set first address, read data, data are sent to D/A converter, does cyclic address change judge that total data converts? not intact, then continue to read data and send D/A converter, hardship has been sent, then resets first address and repeats aforesaid operations, and the generation electrical stimulation signal goes round and begins again.
According to actual needs, each waveform elementary cell that can go out by above-mentioned three kinds of program structures also, promptly 1-46 waveform among Fig. 9, Figure 10 and random waveform, Stochastic Modulation waveform form with different amplitudes, different combination of shapes, to increase wave form varies, improve curative effect.
The program control system of intelligent electric acupuncture acupuncture and moxibustion therapeutic apparatus of the present invention will be enriched constantly for thousands of years and be facts have proved very effectively, meets that human body is adjusted in the electrical stimulation signal that the skill of handling needles of the natural law is integrated into instrument output has gone, and electrical stimulation signal has solved the human body adaptability problem again.So this instrument has the advantage of automaticity height, good effect, adaptation disease wide ranges, this instrument not only has the function of acusector moxibustion, and also has the effect of electric massage.It is revolution to the acusector acupuncture and moxibustion therapeutic apparatus.
Fig. 1 is a complete machine hardware principle structural representation of the present invention, Fig. 2 is embodiment one a circuitry structural representation, Fig. 3 is embodiment two circuitry structural representations, Fig. 4 is the skill of handling needles sketch map of heat-producing needling, Fig. 5 is an electrical stimulation signal amplitude fuzzy language variable membership function, Fig. 6 is the control sequence flow chart that produces 1-26 electrical stimulation signal waveform among Fig. 9, Fig. 7 is the control sequence flow chart that produces 27-46 electrical stimulation signal waveform among Figure 10, Fig. 8 is the electrical stimulation signal that non real-time produces the allusion quotation skill of handling needles modelled after an antique, electrical stimulation signal at random, the control sequence flow chart of Stochastic Modulation electrical stimulation signal waveform, Fig. 9, Figure 10 is the oscillogram of the electrical stimulation signal of this instrument generation.
Embodiment one: the hardware circuit of present embodiment, as Fig. 2, it is drive circuit 7-3, booster transformer 8, stimulating electrical signal device 9 compositions of core by D/ A converter 5,6, the address latch 12 of 74AL5373 model, LF353 model operational amplifier 7-1, the 7-2 of the RAM2 of single chip microcomputer 1,6264 models of 8031 models, the EPROM3 of 2764 models, two eight DACO832 models with TDA2822M model power amplifier.Its operation principle is: first kind of working method is: single chip microcomputer 1 reads the acusector signal generating method written program according to the allusion quotation skill of handling needles modelled after an antique from memory under program EPROM3, calculate the signal output waveform data, and store in static memory RAM2, under application program control, P0 mouth and P2 mouth by single chip microcomputer 1 produce the address, wherein the low address signal of P0 mouth generation is delivered to address latch 12, read Wave data from corresponding address again, deliver to D/A converter 5 through the data/address bus of single chip microcomputer 1,6, again through operational amplifier 7-1,7-2 amplifies, convert suitable voltage signal to through power amplification circuit 7-3 and booster transformer 8 again, input to the patient through electrostimulator 9.Second kind of working method is: single chip microcomputer 1 reads the electrical stimulation signal method written application program that produces from program storage EPROM3, computer real-time is calculated the data that produce signal waveform, deliver to D/ A converter 5,6 through data/address bus, amplify through operational amplifier 7-1,7-2 again, convert suitable voltage signal to through power amplification circuit 7-3 and booster transformer 8, input to the patient through electrostimulator 9.
The control sequence step that produces its electrical stimulation signal is as follows: beginning, make the complete machine initialization, which fuzzy language range of variables does the amplitude of judging signal drop on? automatically import the modulation waveform parameter that needs, (step width of waveforms amplitude, ladder sawtooth waveforms, step number etc.), need to judge whether the stack stochastic signal, as needs then produce random number and and regular wave shape parameter overlap-add procedure, the result send D/A converter; Stochastic signal then directly send D/A converter with the skin graphic data as not needing to superpose; Is the small stair width of judging waveform enough denied? as inadequately, then generate Wave data and continue to widen according to waveform parameter; Do you as much of that, judge that then the small stair number of skin shape enough denys? as inadequately, then continue to produce Wave data and send D/A converter according to the waveform parameter of setting; As much of that, then finished the unitary process of waveform that produces.Produce same signal if desired continuously, then upgrade waveform parameter, by above-mentioned steps, enter new circulation again, going round and beginning again produces the electrical stimulation signal waveform of 1-26 among Fig. 9.According to the needs of the allusion quotation skill of handling needles modelled after an antique, also the waveform among Fig. 9 can be carried out the waveform parameter that appropriate combination generates the combination modulating wave, produce electrical stimulation signal by above-mentioned flow process.
The controlled step that produces 27-46 electrical stimulation signal waveform among Figure 10 is: beginning, make the complete machine initialization, automatically import the waveform segmentation parameter, do you judge to do where manage according to waveform shape? do addition if desired, to judge after the additive operation whether waveforms amplitude reaches maximum, hardship does not reach maximum, can continue to add next time; Do subtraction as needs, judge whether waveforms amplitude reaches minima, as not reach minimum value, can continue to subtract next time; If need to keep initial value or reset new value or return initial state, then handle by judged result.According to the waveform of the setting stochastic signal that superposes if desired, then produce random number and carry out overlap-add procedure, the result send D/A converter; If do not need the stochastic signal that superposes, then directly Wave data be sent to D/A converter; Judge then whether a waveform constructs and finish, as unfinished, then forward automatic input waveform segmentation parameter step to, continue conversion; As finished, then finish this waveform construction process; After upgrading the skin shape parameter, restart new round waveform construction process again, the generation electrical stimulation signal goes round and begins again.
Non real-time produces the electrical stimulation signal of the allusion quotation skill of handling needles modelled after an antique, the control sequence step of electrical stimulation signal, Stochastic Modulation electrical stimulation signal is as follows at random: beginning, and calculate generation allusion quotation skill of handling needles electrical stimulation signal Wave data modelled after an antique or artificially add periodic modulation signal generation Wave data with music signal digitized generation Wave data or with stochastic signal; Wave data is stored among EPROM (3) or the RAM (2), set first address, read data, data are sent to D/A converter, does cyclic address change judge that all data convert? not intact, then continue to read data and send D/A converter, hardship has been sent, then resets first address and repeats aforesaid operations, and the generation electrical stimulation signal goes round and begins again.
According to actual needs, each skin shape elementary cell that can go out by above-mentioned three kinds of program structures also, promptly 1-46 waveform among Fig. 9, Figure 10 and random waveform, Stochastic Modulation waveform form with different amplitudes, different combination of shapes, to increase wave form varies, improve curative effect.
Embodiment two: present embodiment is the different of D/ A converter 5,6 with the difference of implementing one, and present embodiment is selected two of the D/A converters of 12 DAC1230 model for use.Other composition is all identical with embodiment one with annexation and control sequence.
The signal of telecommunication of the present invention can be used as other Medical Instruments the driving signal (such as: as drive source (semiconductor laser) medical instrument and apparatus for acupuncture and moxibustion of laser instrument etc.).