Summary of the invention
The objective of the invention is to disclose a kind of method that produces the electrical stimulation signal of the intelligent electric acupuncture acupuncture and moxibustion therapeutic apparatus allusion quotation skill of handling needles modelled after an antique, adopt the intelligent electric acupuncture acupuncture and moxibustion therapeutic apparatus of this method development, by the programme-control and the hardware platform of self computer, can produce corresponding with the classic acupuncture skill of handling needles, be difficult for by human body adapt to, eutherapeutic various electrical stimulation signals.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 its goal of the invention.
The present invention includes by single chip microcomputer 1, RAM2, EPROM3, D/ A converter 5,6, amplification driving circuit 7, booster transformer 8, signal stimulus device 9, keyboard 10., the hardware platform that display 11 is formed, and be stored in control sequence among the EPROM3 and empirical data and be stored among the RAM 2 through the single chip microcomputer computing, combination, form with the Wave data that the stochastic signal compose operation produces, its control sequence step 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, need judging whether the stack stochastic signal, then produce random number and and regular wave shape parameter overlap-add procedure as needs. 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; As much of that. is the small stair number of then judging waveform enough closed? 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, connect above-mentioned step again. enter new circulation. going round and beginning again produces the electrical stimulation waveforms signal.
The present invention produces 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 controlled step that produces the electrical stimulation waveforms signal is: beginning, make the complete machine initialization. import the waveform segmentation parameter automatically, 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; Hardship need be done subtraction. judge whether waveforms amplitude reaches minima. as do 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; Step on if desired according to the waveform of setting and to add stochastic signal. 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 is 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 waveform parameter, restart new round waveform construction process again, the generation electrical stimulation signal goes round and begins again.
Non real-time generation of the present invention is imitated and is accounted for the electrical stimulation signal of the allusion quotation skill of handling needles, 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, cyclic address change, do you judge that total data converts? not intact, then continue to read data and send D/A converter. if sent, then reset first address and repeat aforesaid operations, the generation electrical stimulation signal goes round and begins again.
Electrical stimulation waveforms signal of the present invention is each basic waveform unit that is also constructed by said method, and random waveform, Stochastic Modulation waveform or with the combined waveform of different amplitudes, different shape.
The imitative method that accounts for the electrical stimulation signal of the allusion quotation skill of handling needles of generation intelligent electric acupuncture acupuncture and moxibustion therapeutic apparatus of the present invention. electrical stimulation signal intensity describe adopted very strong, strong, a bit by force, weak by force, weak, weak, very weak seven fuzzy language variablees a bit; The mountain and the cool-producing needling skill of handling needles of making a fire adopt three grades of corresponding skies of different maximum amplitude intensity, people, three principles illustrated allusion skill of handling needles.
The method of the electrical stimulation signal of the generation intelligent electric acupuncture acupuncture and moxibustion therapeutic apparatus of the present invention allusion quotation skill of handling needles modelled after an antique. electrical stimulation signal adopt the classic skill of handling needles of the ladder correspondence of falling the sawtooth waveforms tightly by slow handle method. with the positive sawtooth waveforms correspondence of ladder account for the allusion quotation skill of handling needles slowly by tight handle method.
The imitative method that accounts for the electrical stimulation signal of the allusion quotation skill of handling needles of generation intelligent electric acupuncture acupuncture and moxibustion therapeutic apparatus of the present invention. with the intervention method of carrying of the corresponding classic skill of handling needles of intensity of electric signal waveform, the twist skill of the polarity allusion quotation skill of handling needles modelled after an antique of usefulness electric signal waveform.
The method of the electrical stimulation signal of the generation intelligent electric acupuncture moxibustion instrument of the present invention allusion quotation skill of handling needles modelled after an antique, stochastic signal has superposeed on the ladder sawtooth waveforms. to solve stimulating electrical signal human body adaptability problem.
The specific embodiment
As can be seen from Figure 1, the present invention includes the hardware platform of being made up of single chip microcomputer 1, RAM 2, EPROM 3, 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 among the EPROM3 and empirical data and be stored in the computing of machine as calculated among the RAM2, combination, the Wave data that produces with the stochastic signal compose operation forms.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 having adopted amplitude modulation and non-amplitude modulation, unipolarity and bipolarity. the sawtooth waveforms of frequency sweep and non-frequency sweep comprises positive sawtooth, falls sawtooth, ladder and just falling sawtooth, distortion sawtooth waveforms, distortion triangular wave etc. as main electrical stimulation signals.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 different corresponding skies of intensity, the most significantly position, 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 guarantee the realization of the acusector skill of handling needles of the allusion quotation skill of handling needles modelled after an antique, solved the adaptive problem of human body again.Describe 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 but specifically drop on is unpredictable.
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, as the 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 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.Needs according to 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 do 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 is sent to D/A converter; Judge then whether a waveform constructs and finish. finish as the end, then forward automatic input waveform 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 EPROM3 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, if sent, then reset first address and repeat aforesaid operations, 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, i.e. 1-46 waveform among Fig. 9, Figure 10 and random waveform, Stochastic Modulation waveform, as follows amplitude, different combination of shapes form, 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 automaticity height.The advantage of 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.
Embodiment one: the hardware circuit of present embodiment, as Fig. 2, it is drive circuit 7-3, the booster transformer 8 of core by the address latch 12 of the D/ A converter 5,6 of the RAM2 of single chip microcomputer 1,6246 models of 8031 models, the EPROM3 of 2764 models, two eight DACO832 models, 74AL373 model, LF353 model operational amplifier 7-1,7-2, with TDA2822M model power amplifier.Stimulating electrical signal device 9 is formed.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 EPROM 3. 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. and 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. and which fuzzy language range of variables does the amplitude of judging signal drop on? automatically the modulation waveform parameter that needs of input. as the 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 ten thousand transducers; 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; As much of that. does the small stair number of then judging waveform enough deny? 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 generation-unitary process of individual waveform.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, if do not reach maximum. can continue to add next time; Do subtraction as needs, judge whether waveforms amplitude reaches minima. as do not reach the most individual 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, as a result this D/A converter; If do not need the stochastic signal that superposes. then directly Wave data is 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 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 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 total data converts? not intact, then continue to read data and send D/A converter, if sent, then reset first address and repeat aforesaid operations, 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.
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 the driving signal of other Medical Instruments, such as: as the drive source of laser instrument, as semiconductor laser, medical instrument and apparatus for acupuncture and moxibustion etc.