CN106508882B - For driving ultrasonic wave conversion equipment to play method, terminal and the system of ultrasonic wave - Google Patents

For driving ultrasonic wave conversion equipment to play method, terminal and the system of ultrasonic wave Download PDF

Info

Publication number
CN106508882B
CN106508882B CN201610922976.3A CN201610922976A CN106508882B CN 106508882 B CN106508882 B CN 106508882B CN 201610922976 A CN201610922976 A CN 201610922976A CN 106508882 B CN106508882 B CN 106508882B
Authority
CN
China
Prior art keywords
ultrasonic wave
conversion equipment
sampling point
ultrasonic
sound wave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610922976.3A
Other languages
Chinese (zh)
Other versions
CN106508882A (en
Inventor
郑勇
王忠山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Waterward Information Co Ltd
Original Assignee
Shenzhen Water World Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Water World Co Ltd filed Critical Shenzhen Water World Co Ltd
Priority to CN201610922976.3A priority Critical patent/CN106508882B/en
Priority to PCT/CN2017/075054 priority patent/WO2018076586A1/en
Publication of CN106508882A publication Critical patent/CN106508882A/en
Application granted granted Critical
Publication of CN106508882B publication Critical patent/CN106508882B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01KANIMAL HUSBANDRY; CARE OF BIRDS, FISHES, INSECTS; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
    • A01K15/00Devices for taming animals, e.g. nose-rings or hobbles; Devices for overturning animals in general; Training or exercising equipment; Covering boxes
    • A01K15/02Training or exercising equipment, e.g. mazes or labyrinths for animals ; Electric shock devices ; Toys specially adapted for animals
    • A01K15/027Exercising equipment, e.g. tread mills, carousels
    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01MCATCHING, TRAPPING OR SCARING OF ANIMALS; APPARATUS FOR THE DESTRUCTION OF NOXIOUS ANIMALS OR NOXIOUS PLANTS
    • A01M29/00Scaring or repelling devices, e.g. bird-scaring apparatus
    • A01M29/16Scaring or repelling devices, e.g. bird-scaring apparatus using sound waves
    • A01M29/18Scaring or repelling devices, e.g. bird-scaring apparatus using sound waves using ultrasonic signals

Abstract

The present invention provides a kind of for driving ultrasonic wave conversion equipment to play method, terminal and the system of ultrasonic wave, which comprises terminal receives the parameter information of user setting, and parameter information includes ultrasonic frequency;According to the quantity counting period duration of ultrasonic frequency and the sound wave analogue value prestored;The sound wave analogue value is synthesized into acoustic drive signals one by one according to interval duration;Ultrasonic wave driving signal is transmitted to ultrasonic wave conversion equipment, method of the invention can play the ultrasonic wave of different frequency according to the different ultrasonic frequency of user setting and then driving ultrasonic wave conversion equipment, the various animals different to ultrasonic wave sensitive frequency are conveniently driven or train to using flexible.Correspondingly, also there is said effect for driving ultrasonic wave conversion equipment to play the terminal of ultrasonic wave and system.

Description

For driving ultrasonic wave conversion equipment to play method, terminal and the system of ultrasonic wave
Technical field
The present invention relates to driving signal play-back technology fields, especially relate to a kind of for driving ultrasonic wave converting means Set method, terminal and the system for playing ultrasonic wave.
Background technique
Normally, animal is more sensitive to the ultrasonic wave of certain frequency, the different types of animal frequency sensitive to ultrasonic wave Rate is different, to drive or animal training, people need to use the ultrasound that can issue corresponding ultrasonic frequency according to the type of animal Wave conversion equipment.
In the prior art, ultrasonic wave conversion equipment generally passes through hardware oscillating circuit output ultrasonic wave, the ultrasound of the output The frequency of wave is usually the harmonic wave of the either similar PWM (Pulse Width Modulation, pulse width modulation) of single-frequency point Square wave abundant, adjustable extent is small, and precision is not high, is unable to adjust the frequency of ultrasonic wave, and user is driving or training multiple types When the animal of type, the ultrasonic wave conversion equipment using multiple and different ultrasonic frequencies is needed, it is at high cost and inconvenient for use.
Summary of the invention
The present invention provide it is a kind of for drive ultrasonic wave conversion equipment play ultrasonic wave method, terminal and system, with solution The frequency adjustable extent of the ultrasonic wave of ultrasonic wave conversion equipment output certainly in the prior art is small, and precision is not high, cannot be according to not Same animal adjustment cannot generate the technical problems such as different high-precision ultrasonic frequencies outputs.
In order to solve the above technical problems, the present invention uses a kind of technical solution are as follows: provide a kind of for driving ultrasonic wave to turn The method of changing device broadcasting ultrasonic wave comprising:
Terminal receives the parameter information of user setting, and parameter information includes ultrasonic frequency;
According to the quantity counting period duration of ultrasonic frequency and the sound wave analogue value prestored;
The sound wave analogue value is synthesized into acoustic drive signals one by one according to interval duration;
Ultrasonic wave driving signal is transmitted to ultrasonic wave conversion equipment.
In some embodiments, parameter information further includes the quantity of sampling point, according to the ultrasonic frequency and is prestored Include: before the step of quantity counting period duration of the sound wave analogue value
Sampling point set is formed according to the quantity of sampling point, the sampling point collection is combined into arithmetic progression, the item in the arithmetic progression For positive integer, the sampling point is the item in the arithmetic progression;
Calculate the corresponding angle of each sampling point in sampling point set;
The corresponding functional value of angle is inquired in trigonometric function database based on angle;
Functional value is converted into the sound wave analogue value;
The sound wave analogue value after pre- storage conversion.
In some embodiments, the step of sound wave analogue value being synthesized by acoustic drive signals according to interval duration one by one packet It includes:
The sound wave analogue value prestored is read one by one by interval duration;
The sound wave analogue value after deposit is read one by one;
The sound wave analogue value of deposit is synthesized into acoustic drive signals by interval duration one by one.
In some embodiments, include: after the step of transmitting ultrasonic wave driving signal to ultrasonic wave conversion equipment
The ultrasonic wave driving signal of ultrasonic wave conversion equipment reception terminal transmission;
Ultrasonic wave driving signal is amplified;
Play amplified ultrasonic wave driving signal.
In some embodiments, the first term of arithmetic progression is 0, and the tolerance value of arithmetic progression is 1, and functional value is sine Value.
In order to solve the above technical problems, the present invention uses another technical solution are as follows: provide a kind of for driving ultrasonic wave The terminal of conversion equipment broadcasting ultrasonic wave comprising processor and memory, processor following are stored in memory for executing In program module:
Setting unit, for receiving the parameter information of user setting, parameter information includes ultrasonic frequency;
Duration calculation unit, for the quantity counting period duration according to ultrasonic frequency and the sound wave analogue value prestored;
The sound wave analogue value is synthesized acoustic drive signals according to interval duration by processing unit one by one;
Transmission unit, for ultrasonic wave driving signal to be transmitted to signal output interface.
In some embodiments, parameter information further includes the quantity of sampling point, program module further include:
Sampling point generation unit, for forming sampling point set according to the quantity of sampling point, sampling point collection is combined into arithmetic progression, waits differences Item in column is positive integer, and sampling point is the item in arithmetic progression
Angle calculation unit, for calculating the corresponding angle of each sampling point in sampling point set;
Query unit, for inquiring the corresponding functional value of angle in trigonometric function database based on angle;
Functional value is converted to the sound wave analogue value by converting unit;
Pre- memory cell, the sound wave analogue value after prestoring conversion.
In some embodiments, processing unit includes:
Reading unit, for reading the sound wave analogue value in pre- memory cell one by one by interval duration;
Deposit unit, for depositing the sound wave analogue value after reading one by one;
Synthesis unit, the sound wave analogue value for that will deposit are closed by interval duration one by one at acoustic drive signals.
In some embodiments, signal output interface include: current input terminal, ground terminal, first resistor, second resistance, Signal incoming end, ac coupling capacitor and signal output end, first resistor, second resistance be sequentially connected in series in current input terminal with Between ground terminal, ac coupling capacitor is parallel between first resistor, second resistance, and ultrasonic wave driving signal successively connects by signal Enter end, ac coupling capacitor and signal output end.
In order to solve the above technical problems, the present invention uses another technical solution are as follows: one kind is for driving ultrasonic wave to convert The system of device broadcasting ultrasonic wave comprising ultrasonic wave conversion equipment and above-mentioned terminal, ultrasonic wave conversion equipment include:
Signal receiving interface, and signal output interface grafting, for receiving ultrasonic wave driving signal;
Amplifying unit, the ultrasonic wave driving signal for transmitting to signal receiving interface amplify;
Broadcast unit, for playing amplified ultrasonic wave driving signal.
The beneficial effects of the present invention are: being different from the prior art, the present invention provides a kind of for driving ultrasonic wave converting means Method, terminal and the system for playing ultrasonic wave are set, in this method, terminal is closed by receiving the ultrasonic frequency of user setting At the acoustic drive signals of corresponding frequency, to drive the ultrasonic wave of ultrasonic wave conversion equipment broadcasting respective frequencies, above-mentioned side Case can use spirit according to the different ultrasonic waves for driving ultrasonic wave conversion equipment broadcasting different frequency in turn of ultrasonic frequency of setting It is living, conveniently drive or train the various animals different to ultrasonic wave sensitive frequency.Correspondingly, for driving ultrasonic wave conversion equipment The terminal and system for playing ultrasonic wave also have said effect.
Detailed description of the invention
Fig. 1 is an embodiment flow chart of method of the present invention for driving ultrasonic wave conversion equipment broadcasting ultrasonic wave;
Fig. 2 is another embodiment flow chart of method of the present invention for driving ultrasonic wave conversion equipment broadcasting ultrasonic wave;
Fig. 3 is another embodiment flow chart of method of the present invention for driving ultrasonic wave conversion equipment broadcasting ultrasonic wave;
Fig. 3 a be the present invention for drive ultrasonic wave conversion equipment play ultrasonic wave method acoustic drive signals just String waveform.
Fig. 4 is another embodiment flow chart of method of the present invention for driving ultrasonic wave conversion equipment broadcasting ultrasonic wave;
Fig. 5 is the present invention for driving ultrasonic wave conversion equipment to play the one embodiment module diagram of terminal of ultrasonic wave;
Fig. 5 a is in Fig. 5 for driving the one embodiment portion of setting unit of the terminal of ultrasonic wave conversion equipment broadcasting ultrasonic wave Separation structure schematic diagram;
Fig. 6 is the present invention for driving ultrasonic wave conversion equipment to play another embodiment module signal of terminal of ultrasonic wave Figure;
Fig. 7 is the present invention for driving ultrasonic wave conversion equipment to play another embodiment module signal of terminal of ultrasonic wave Figure;
Fig. 8 is the present invention for driving ultrasonic wave conversion equipment to play another embodiment module signal of terminal of ultrasonic wave Figure;
Fig. 9 is the module diagram of system of the present invention for driving ultrasonic wave conversion equipment broadcasting ultrasonic wave.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
Referring to Fig. 1, Fig. 1 is an embodiment of method of the present invention for driving ultrasonic wave conversion equipment broadcasting ultrasonic wave Flow chart.The method for driving ultrasonic wave conversion equipment to play ultrasonic wave of the present embodiment includes the following steps:
S10: terminal receives the parameter information of user setting, and parameter information includes ultrasonic frequency;
Specifically, there is the interface of parameter setting, user can set according to the type of animal in the APP to open a terminal, APP Set the ultrasonic frequency of the type animal sensitivity.
S20: according to the quantity counting period duration of ultrasonic frequency and the sound wave analogue value prestored;
Specifically, lane terminal prestores a certain number of sound wave analogues value, in situation known to ultrasonic frequency, can lead to Cross formula t=109/ (n × f) carrys out counting period duration t, wherein n indicates the quantity of the sound wave analogue value, and f indicates ultrasonic wave frequency Rate, the unit of t are nanosecond, and the unit of f is kHz.
S30: the sound wave analogue value is synthesized by acoustic drive signals according to interval duration one by one;
Specifically, when needing to start ultrasonic wave conversion equipment broadcasting ultrasonic wave, terminal will be according to interval duration pre- The certain amount sound wave analogue value deposited synthesizes acoustic drive signals one by one.
S40: ultrasonic wave driving signal is transmitted to ultrasonic wave conversion equipment.
Specifically, after terminal is electrically connected with ultrasonic wave conversion equipment, terminal is super by transmitting to ultrasonic wave conversion equipment Acoustic drive signals, to realize that driving ultrasonic wave conversion equipment plays out ultrasound by ultrasonic frequency set by user Wave.
In the method for driving ultrasonic wave conversion equipment broadcasting ultrasonic wave of the present embodiment, terminal is set by receiving user The ultrasonic frequency set, and the acoustic drive signals of corresponding frequency are synthesized, it is corresponded to so that ultrasonic wave conversion equipment be driven to play The ultrasonic wave of frequency, the program can play different frequencies according to the different ultrasonic wave conversion equipments of driving in turn of ultrasonic frequency of setting The various animals different to ultrasonic wave sensitive frequency are conveniently driven or train to the ultrasonic wave of rate, using flexible.
Referring to Fig. 2, Fig. 2 is another implementation of method of the present invention for driving ultrasonic wave conversion equipment broadcasting ultrasonic wave Example flow chart.The present embodiment is substantially the same with a upper embodiment, and difference is that the parameter information of the present embodiment further includes sampling point Quantity, the quantity of the sampling point are positive integer, it is preferable that the quantity of the sampling point is greater than 2.
Further, include the following steps: before the step S20 of the present embodiment
S21: sampling point set is generated according to the quantity of sampling point;
Specifically, terminal generates sampling point set according to the quantity of the sampling point of user setting, and sampling point collection is combined into arithmetic progression, etc. Item in difference series is positive integer, and sampling point is the item in arithmetic progression.Preferably, the quantitative range of sampling point is 100-500, etc. The first term of difference series is 0, tolerance value 1, for example, when the quantity of user setting sampling point is 100, sampling point set are as follows: 0,1,2, 3 ... ... 99.Certainly, the first term of the arithmetic progression and tolerance value may be other numerical value, not limit one by one herein.
S22: the corresponding angle of each sampling point in sampling point set is calculated;
Specifically, it in the situation known to the numerical value of each sampling point, can be calculated by formula θ=360 ° × M/n each The corresponding angle, θ of sampling point, wherein n is the quantity of sampling point, and M is sampling point, i.e. M is the item in arithmetic progression.
S23: the corresponding functional value of angle is inquired in trigonometric function database based on angle;
Specifically, the trigonometric function lane database of terminal be stored with the sine of 0 ° to 360 ° each angle, cosine, tangent, The corresponding functional value of cotangent, terminal can inquire corresponding functional value according to the corresponding angle of sampling point.Preferably, of the invention Functional value is sine value.
S24: functional value is converted into the sound wave analogue value;
Specifically, the digit of terminal register according to used in output function value is converted to functional value and register The corresponding sound wave analogue value of digit, for example, when the register used in the terminal output function value is 16, known to functional value In the case where, the corresponding sound wave analogue value X of each functional value a can be calculated by formula X=32768+32768a.Preferably, a Thus=sin θ can calculate, when θ is 0 °, the sound wave analogue value after converting is 32768;Sound wave when θ is 90 °, after conversion The analogue value is 65536;When θ is 180 °, the sound wave analogue value after converting is 32768;Sound wave when θ is 270 °, after conversion The analogue value is 0;When θ is 360 °, the sound wave analogue value after converting is 32768.
S25: the sound wave analogue value after prestoring conversion.
Specifically, above-mentioned each sound wave analogue value is prestored, so as to subsequent output.
It can be seen from the above, the present embodiment sampling point is corresponding with sound wave module value, it is preferable that the quantity and sampling point of the sound wave analogue value Quantity it is identical, that is to say, that the quantity of the sound wave analogue value can be obtained by the quantity of the sampling point of user setting.
In the method for driving ultrasonic wave conversion equipment broadcasting ultrasonic wave of the present embodiment, terminal passes through user setting The quantity of sampling point generates multiple sampling points to synthesize high-precision acoustic drive signals output, and the program can be according to the sample of setting The quantity of point is different and then can drive the ultrasonic wave of ultrasonic wave conversion equipment broadcasting different accuracy, and using flexible is convenient.
Referring to Fig. 3, Fig. 3 is another implementation of method of the present invention for driving ultrasonic wave conversion equipment broadcasting ultrasonic wave Example flow chart.The present embodiment is substantially the same with a upper embodiment, and difference is that the step S30 of the present embodiment includes the following steps:
S31: the sound wave analogue value prestored is read one by one by interval duration;
Specifically, specifically, it after terminal is completed to read a sound wave analogue value in pre- memory cell, interrupts and reads list Member is read out the sound wave analogue value in pre- memory cell, starts timing at the same time, in time arrival interval duration, terminal Next sound wave analogue value in pre- memory cell is read in starting, completes to read next sound wave analogue value in pre- memory cell in terminal And then secondary interruption reading unit is read out the sound wave analogue value in pre- memory cell, starts again at timing at the same time, such as This is repeated, until all sound wave analogue value readings finish.
S32: the sound wave analogue value after deposit is read one by one;
Specifically, the register of terminal temporarily deposits the sound wave analogue value after reading.
S33: the sound wave analogue value is synthesized into acoustic drive signals by interval duration one by one.
Specifically, the digital signal of the sound wave analogue value is formed into the analog signal that interface can identify, i.e. sound wave driving letter Number.The terminal of the present embodiment synthesizes trigonometric function wave by interval duration according to Shannon's sampling theorem, by all sound wave analogues value Shape.It citing ground as shown in Figure 3a, can be by all sound wave analogues value according to Shannon's sampling theorem when functional value is sine value By interval duration synthesis sine shape.
Referring to Fig. 4, Fig. 4 is another implementation of method of the present invention for driving ultrasonic wave conversion equipment broadcasting ultrasonic wave Example flow chart.The present embodiment is substantially the same with a upper embodiment, and difference is that the step S40 of the present embodiment includes later walking as follows It is rapid:
S50: the ultrasonic wave driving signal of ultrasonic wave conversion equipment reception terminal transmission;
S60: ultrasonic wave conversion equipment amplifies ultrasonic wave driving signal;
It specifically, is small-signal by the ultrasonic wave driving signal that wireless or interface transmits, by the amplification to signal, To reduce ultrasonic wave driving signal distortion phenomenon.
S70: amplified ultrasonic wave driving signal is played.
Specifically, ultrasonic wave conversion equipment makes piezoelectric ceramic piece issue corresponding frequency according to amplified ultrasonic wave driving signal The ultrasonic wave of rate and precision.
Referring to Fig. 5, Fig. 5 is the present invention for driving ultrasonic wave conversion equipment to play the one embodiment mould of terminal of ultrasonic wave Block schematic diagram.Fig. 5 a is in Fig. 5 for driving one embodiment of setting unit of the terminal of ultrasonic wave conversion equipment broadcasting ultrasonic wave Partial structure diagram.The terminal that the present embodiment is used to that ultrasonic wave conversion equipment to be driven to play ultrasonic wave includes 100 He of processor Memory 200, for processor 100 for executing the program module being stored in memory 200, which includes setting unit 10, duration calculation unit 20, processing unit 30, transmission unit 40 and signal output interface 50.
Setting unit 10 is used to receive the parameter information of user setting, and parameter information includes ultrasonic frequency.Setting unit 10 be one in APP for the interface of setting parameter information, and the type can be arranged according to the type of animal in user in interface The ultrasonic frequency of animal sensitivity.The interface that parameter information is arranged can be the interface that specific value is inputted for user, can also be with It is the interface that specific value is selected for user, citing ground, as shown in Figure 5 a, the interface that parameter information is arranged is ruler interface, directly With the supersonic band of 0~100khz on ruler, each scale is 1khz, and the triangle on ruler interface is control 11, is passed through The position of control 11 is clicked or dragged to realize the setting of ultrasonic frequency.
Duration calculation unit 20 is used for the quantity counting period duration according to ultrasonic frequency and the sound wave analogue value prestored. The lane terminal of the present embodiment prestores a certain number of sound wave analogues value, in situation known to ultrasonic frequency, duration calculation Unit 20 passes through formula t=109/ (n × f) carrys out counting period duration t, wherein n indicates the quantity of the sound wave analogue value, and f indicates super Frequency of sound wave, the unit of t are nanosecond, and the unit of f is kHz.
The sound wave analogue value is synthesized acoustic drive signals according to interval duration by processing unit 30 one by one.
Transmission unit 40 is used to ultrasonic wave driving signal being transmitted to signal output interface 50, is exported with being sent to signal The ultrasonic wave conversion equipment that interface 50 is electrically connected, to realize driving ultrasonic wave conversion equipment by ultrasonic wave frequency set by user Rate plays out ultrasonic wave.Preferably, signal output interface 50 is earphone interface.
The terminal for driving ultrasonic wave conversion equipment to play ultrasonic wave of the present embodiment receives use by setting unit 10 The ultrasonic frequency of family setting, processing unit 30 synthesizes the acoustic drive signals of corresponding frequency, so that ultrasonic wave be driven to convert Device plays the ultrasonic wave of respective frequencies, so that terminal can turn according to the different ultrasonic waves of driving in turn of ultrasonic frequency of setting Changing device plays the ultrasonic wave of different frequency, and using flexible is conveniently driven or trained and is various different to ultrasonic wave sensitive frequency Animal.
Referring to Fig. 6, Fig. 6 is the present invention for driving ultrasonic wave conversion equipment to play another embodiment of terminal of ultrasonic wave Module diagram.The present embodiment is substantially the same with a upper embodiment, and difference is that the present embodiment parameter information further includes sampling point Quantity, the quantity of the sampling point are positive integer, it is preferable that the quantity of the sampling point is greater than 2.
Further, the program module of the present embodiment further includes sampling point generation unit 60, angle calculation unit 61, cargo tracer Member 62, converting unit 63 and pre- memory cell 64.
Sampling point generation unit 60 is used to generate sampling point set according to the quantity of the sampling point of user setting.Specifically, sampling point is raw Sampling point set is generated according to the quantity of user setting at unit 60, sampling point collection is combined into arithmetic progression, and the item in arithmetic progression is positive Integer, sampling point are the item in arithmetic progression.Preferably, the quantitative range of sampling point is 100-500, and the first term of arithmetic progression is 0, public Difference is 1, for example, when the quantity of user setting sampling point is 100, sampling point set are as follows: 0,1,2,3 ... ... 99.Certainly, this etc. The first term and tolerance value of difference series may be other numerical value, not limit one by one herein.
Angle calculation unit 61 is for calculating the corresponding angle of each sampling point in sampling point set.Specifically, in each sampling point Numerical value known in situation, angle calculation unit 61 calculates the corresponding angle of each sampling point by formula θ=360 ° × M/n θ, wherein n is the quantity of sampling point, and M is sampling point, i.e. M is the item in arithmetic progression.
Query unit 62 is used to inquire the corresponding functional value of angle in trigonometric function database based on angle.Specifically, The trigonometric function lane database of terminal is formed with the corresponding letter of sine, cosine, tangent, cotangent of 0 ° to 360 ° each angle Numerical value, query unit 62 inquire corresponding functional value according to the corresponding angle of sampling point.Preferably, functional value of the present invention is sine Value.
Functional value is converted to the sound wave analogue value by converting unit 63.Specifically, converting unit 63 is according to output function value institute Functional value is converted to the sound wave analogue value corresponding with register digit by the digit of the register used, for example, when terminal exports When register used in functional value is 16, in situation known to functional value, converting unit 63 passes through formula X=32768+ 32768a calculates the corresponding sound wave analogue value X of each functional value a.Preferably, thus a=sin θ can be calculated, when θ is 0 °, The sound wave analogue value after converting is 32768;When θ is 63 °, the sound wave analogue value after converting is 65536;When θ is 162 °, turn The sound wave analogue value after changing is 32768;When θ is 261 °, the sound wave analogue value after converting is 0;When θ is 360 °, after conversion The sound wave analogue value be 32768.
Pre- memory cell 64 is used to prestore the sound wave analogue value after conversion.Pre- memory cell 64 can be RAM (Ramdom Access Memory, effumability random access memory).
It can be seen from the above, the present embodiment sampling point is corresponding with sound wave module value, it is preferable that the quantity and sampling point of the sound wave analogue value Quantity it is identical, that is to say, that the quantity of the sound wave analogue value can be obtained by the quantity of the sampling point of user setting.
The terminal for driving ultrasonic wave conversion equipment to play ultrasonic wave of the present embodiment passes through user in setting unit 10 The quantity of the sampling point of setting, sampling point generation unit 60 generate multiple sampling points to synthesize the output of high-precision acoustic drive signals, The program can drive the ultrasonic wave of ultrasonic wave conversion equipment broadcasting different accuracy in turn according to the quantity difference of the sampling point of setting, Using flexible, it is convenient.
Referring to Fig. 7, Fig. 7 is the present invention for driving ultrasonic wave conversion equipment to play another embodiment of terminal of ultrasonic wave Module diagram.The present embodiment is substantially the same with a upper embodiment, and difference is that the present embodiment processing unit 30 includes reading list Member 31, clock unit 32, interrupt location 33, deposit unit 34 and synthesis unit 35.
Reading unit 31 is used to read the sound wave analogue value in pre- memory cell 64 one by one by interval duration.Clock unit 32 is used In carrying out timing to interval duration, interrupt location 33 is used to execute to interrupt when 32 timing arrival interval duration of clock unit and read Unit 31 reads the sound wave analogue value in pre- memory cell 64.Specifically, it completes to read in pre- memory cell 64 in reading unit 31 After one sound wave analogue value, interrupt location 33 interrupts reading of the reading unit 31 to the sound wave analogue value in pre- memory cell 64, At the same time, clock unit 32 starts timing, and in time arrival interval duration, reading unit 31 reads next in pre- memory cell A sound wave analogue value, after reading unit 31 is completed to read next sound wave analogue value in pre- memory cell 64, interrupt location 33 interrupt reading of the reading unit 31 to the sound wave analogue value in pre- memory cell 64 again, and at the same time, clock unit 32 is counted again Secondary beginning timing so repeats, until sound wave analogue value reading all in pre- memory cell 64 finishes.
Deposit unit 34 is for the sound wave analogue value after reading one by one.Preferably, deposit unit 34 is register.
Synthesis unit 35 is used to the sound wave analogue value of deposit unit 34 synthesizing acoustic drive signals one by one by interval duration. Specifically, the driving of the analog signal that synthesis unit 35 can identify the digital signal synthesis interface of the sound wave analogue value, i.e. sound wave Signal.Synthesis unit 35 synthesizes trigonometric function waveform by interval duration according to Shannon's sampling theorem, by all sound wave analogues value. Citing ground, as shown in Figure 3a, when functional value is sine value, synthesis unit 35 is based on Shannon's sampling theorem, by all sound waves The analogue value is by interval duration synthesis sine shape.
Referring to Fig. 8, Fig. 8 is another implementation of terminal of the present invention for driving ultrasonic wave conversion equipment broadcasting ultrasonic wave Example module diagram.The present embodiment is substantially the same with a upper embodiment, and difference is the signal output interface 50 of the present embodiment Circuit includes: current input terminal Vcc, ground terminal Gnd, first resistor R1, second resistance R2, signal incoming end Input, AC coupled Capacitor C1 and signal output end Ouput.
First resistor R1, second resistance R2 are sequentially connected in series between current input terminal Vcc and ground terminal Gnd so that inputting Variation 1/2, so that the signal that the received ultrasonic wave driving signal of ultrasonic wave conversion equipment is positive, ac coupling capacitor C1 is parallel between first resistor R1, second resistance R2, and ac coupling capacitor C1 leads to AC signal for stopping direct current signal, is made Successively pass through signal incoming end Input, ac coupling capacitor C1 and signal output for the ultrasonic wave driving signal of AC signal Hold Ouput.
Preferably, first resistor R1, second resistance R2 are 100,000 ohm, and ac coupling capacitor C1 is 100 nanofarads.
Referring to Fig. 9, the module that Fig. 9 is system of the present invention for driving ultrasonic wave conversion equipment to play ultrasonic wave is illustrated Figure.System for driving ultrasonic wave conversion equipment to play ultrasonic wave of the invention includes ultrasonic wave conversion equipment and above-mentioned end End, ultrasonic wave conversion equipment includes signal receiving interface 201, amplifying unit 202 and broadcast unit 203.
Signal receiving interface 201 and 50 grafting of signal output interface, for receiving ultrasonic wave driving signal.
The ultrasonic wave driving signal that amplifying unit 202 is used to transmit signal receiving interface 201 amplifies.Due to passing through The ultrasonic wave driving signal of wireless or interface transmission is small-signal, and the amplification by amplifying unit 202 to signal is super to reduce Acoustic drive signals distortion phenomenon.
Broadcast unit 203 is used for the amplified ultrasonic wave driving signal of broadcasting.Broadcast unit 203 is preferably piezoelectric ceramics Piece, it can be ensured that the ultrasonic wave waveform of output is identical as ultrasonic wave driving signal.
It includes setting for wireless signal receiver that those skilled in the art of the present technique, which are appreciated that terminal of the present invention both, It is standby, only have the equipment of the wireless signal receiver of non-emissive ability, and the equipment including receiving and emitting hardware, Huo Zheqi Equipment with reception and transmitting hardware that two-way communication on bidirectional communication link, can be executed.This equipment may include: Honeycomb or other communication equipments, with single line display or multi-line display or without multi-line display honeycomb or Other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), can combine language Sound, data processing, fax and/or communication ability;(Personal Digital Assistant, individual digital help PDA Reason), may include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, calendar and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palmtop computer Or other equipment, have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or other equipment. " terminal " used herein above can also be communication terminal, access terminals, music/video playback terminal, such as can be plate Computer, MID (Mobile Internet Device, mobile internet device) and/or the shifting with music/video playing function Mobile phone is also possible to smartwatch, Intelligent bracelet.
Ultrasonic wave conversion equipment of the invention can be with ultrasonic transducer, positioning function, radio transmission-receiving function, The pet intelligence object wearing device of LED light etc..Wherein, LED light can carry out controlling its glittering frequency by above-mentioned terminal, to reach Drive the purpose of animal.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (8)

1. a kind of method for driving ultrasonic wave conversion equipment to play ultrasonic wave characterized by comprising
Terminal receives the parameter information of user setting, and the parameter information includes ultrasonic frequency;
According to the quantity counting period duration of the ultrasonic frequency and the sound wave analogue value prestored;
The sound wave analogue value is synthesized into ultrasonic wave driving signal according to the interval duration;
The ultrasonic wave driving signal is transmitted to ultrasonic wave conversion equipment;
Wherein, the parameter information further includes the quantity of sampling point, described to be simulated according to the ultrasonic frequency and the sound wave prestored Include: before the step of quantity counting period duration of value
Sampling point set is generated according to the quantity of the sampling point, the sampling point collection is combined into arithmetic progression, the item in the arithmetic progression For positive integer, the sampling point is the item in the arithmetic progression;
Calculate the corresponding angle of each sampling point in the sampling point set;
The corresponding functional value of the angle is inquired in trigonometric function database based on the angle;
The functional value is converted into the sound wave analogue value;
The sound wave analogue value after prestoring conversion.
2. the method according to claim 1 for driving ultrasonic wave conversion equipment to play ultrasonic wave, which is characterized in that institute Stating the step of sound wave analogue value is synthesized ultrasonic wave driving signal according to the interval duration includes:
The sound wave analogue value prestored is read one by one by the interval duration;
The sound wave analogue value after deposit is read one by one;
The sound wave analogue value of deposit is synthesized into ultrasonic wave driving signal by the interval duration one by one.
3. the method according to claim 1 for driving ultrasonic wave conversion equipment to play ultrasonic wave, which is characterized in that institute It states after the step of ultrasonic wave driving signal is transmitted to ultrasonic wave conversion equipment and includes:
The ultrasonic wave conversion equipment receives the ultrasonic wave driving signal of the terminal transmission;
The received ultrasonic wave driving signal is amplified;
Play the amplified ultrasonic wave driving signal.
4. the method according to claim 1 for driving ultrasonic wave conversion equipment to play ultrasonic wave, which is characterized in that institute The first term for stating arithmetic progression is 0, and the tolerance value of the arithmetic progression is 1, and the functional value is sine value.
5. a kind of for driving ultrasonic wave conversion equipment to play the terminal of ultrasonic wave, which is characterized in that including processor and storage Device, the processor is for executing the program module being stored in the memory below:
Setting unit, for receiving the parameter information of user setting, the parameter information includes ultrasonic frequency;
Duration calculation unit, for the quantity counting period duration according to the ultrasonic frequency and the sound wave analogue value prestored;
The sound wave analogue value is synthesized ultrasonic wave driving signal according to the interval duration by processing unit;
Transmission unit, for the ultrasonic wave driving signal to be transmitted to signal output interface;
Wherein, the parameter information further includes the quantity of sampling point, described program module further include:
Sampling point generation unit, for generating sampling point set according to the quantity of the sampling point, the sampling point collection is combined into arithmetic progression, institute Stating the item in arithmetic progression is positive integer, and the sampling point is the item in the arithmetic progression;
Angle calculation unit calculates the corresponding angle of each sampling point in the sampling point set;
Query unit, for inquiring the corresponding functional value of the angle in trigonometric function database based on the angle;
The functional value is converted to the sound wave analogue value by converting unit;
Pre- memory cell prestores the sound wave analogue value.
6. according to claim 5 for driving ultrasonic wave conversion equipment to play the terminal of ultrasonic wave, which is characterized in that institute Stating processing unit includes:
Reading unit, for reading the sound wave analogue value in the pre- memory cell one by one by the interval duration;
Deposit unit, for depositing the sound wave analogue value after reading one by one;
Synthesis unit, for the sound wave analogue value of deposit to be synthesized ultrasonic wave driving signal by the interval duration one by one.
7. according to claim 5 for driving ultrasonic wave conversion equipment to play the terminal of ultrasonic wave, which is characterized in that institute Stating signal output interface includes: current input terminal, ground terminal, first resistor, second resistance, signal incoming end, ac coupling capacitor And signal output end, the first resistor, the second resistance be sequentially connected in series in the current input terminal and the ground terminal it Between, the ac coupling capacitor is parallel between the first resistor, the second resistance, and the ultrasonic wave driving signal is successively By the signal incoming end, the ac coupling capacitor and the signal output end.
8. a kind of system for driving ultrasonic wave conversion equipment to play ultrasonic wave, which is characterized in that including ultrasonic wave converting means It sets and includes: with terminal described in claim 5-7 any one, the ultrasonic wave conversion equipment
Signal receiving interface, and the signal output interface grafting, for receiving the ultrasonic wave driving signal;
Amplifying unit, the ultrasonic wave driving signal for transmitting to the signal receiving interface amplify;
Broadcast unit, for playing the amplified ultrasonic wave driving signal.
CN201610922976.3A 2016-10-29 2016-10-29 For driving ultrasonic wave conversion equipment to play method, terminal and the system of ultrasonic wave Active CN106508882B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610922976.3A CN106508882B (en) 2016-10-29 2016-10-29 For driving ultrasonic wave conversion equipment to play method, terminal and the system of ultrasonic wave
PCT/CN2017/075054 WO2018076586A1 (en) 2016-10-29 2017-02-27 Method, terminal and system for driving ultrasonic conversion device to play ultrasonic waves

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610922976.3A CN106508882B (en) 2016-10-29 2016-10-29 For driving ultrasonic wave conversion equipment to play method, terminal and the system of ultrasonic wave

Publications (2)

Publication Number Publication Date
CN106508882A CN106508882A (en) 2017-03-22
CN106508882B true CN106508882B (en) 2019-07-30

Family

ID=58293010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610922976.3A Active CN106508882B (en) 2016-10-29 2016-10-29 For driving ultrasonic wave conversion equipment to play method, terminal and the system of ultrasonic wave

Country Status (2)

Country Link
CN (1) CN106508882B (en)
WO (1) WO2018076586A1 (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4566085A (en) * 1982-01-19 1986-01-21 Wein Products, Inc. High intensity ultrasonic generator
JPH03151968A (en) * 1989-10-27 1991-06-28 Storz Instr Co Control system for correcting and driving ultrasonic converter
CN2079868U (en) * 1990-05-09 1991-07-03 刘古凤 Ultrasonic electronic mosquito repelling device
US6503081B1 (en) * 1999-07-01 2003-01-07 James Feine Ultrasonic control apparatus and method
CN2824437Y (en) * 2005-08-09 2006-10-04 乐金电子(中国)研究开发中心有限公司 Mobile terminal with mosquito-expelling function
CN101125327A (en) * 2006-08-17 2008-02-20 杰迈电子股份有限公司 Ultrasonic driving device with multi-frequency scanning
CN101247183A (en) * 2007-02-15 2008-08-20 凌阳科技股份有限公司 Transmission device, receiving device, system and method for implementing communication based on ultrasonic wave
CN101246640A (en) * 2007-02-15 2008-08-20 中国石油化工股份有限公司 Analog ultrasonic wave earthquake signal physical excitation and receiving system and method thereof
CN201188833Y (en) * 2008-03-25 2009-02-04 宇龙计算机通信科技(深圳)有限公司 Electric mosquito dispeller and electric terminal
JP4430997B2 (en) * 2004-07-13 2010-03-10 富士フイルム株式会社 Ultrasonic transceiver
CN201893838U (en) * 2010-11-24 2011-07-06 上海华勤通讯技术有限公司 Mobile phone with mosquito repelling function
CN102205310A (en) * 2010-01-28 2011-10-05 株式会社东芝 Ultrasound transducer, ultrasound probe, and a method for manufacturing ultrasound transducers
CN102334471A (en) * 2010-07-20 2012-02-01 上海酷吧信息技术有限公司 Method for repelling mosquitoes by mobile phone through ultrasonic wave principle
CN103926329A (en) * 2014-04-04 2014-07-16 北京工业大学 Method for obtaining elastic property of semi-infinite domain substrate coating structure material based on simplex method
CN103947634A (en) * 2014-04-28 2014-07-30 张秀琳 Electronic mosquito-repelling device
CN104897550A (en) * 2015-06-17 2015-09-09 大连理工大学 Method for confirming relation between porosity of CFRP (carbon fiber reinforced plastics) and ultrasonic attenuation coefficient
CN105532634A (en) * 2015-12-02 2016-05-04 小米科技有限责任公司 Ultrasonic wave mosquito repel method, device and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090120373A1 (en) * 2007-11-09 2009-05-14 Wetzel Troy A Ultrasonic trainer with user selectable frequency ranges
US20090205582A1 (en) * 2008-02-15 2009-08-20 Sony Ericsson Mobile Communicatios Ab Mobile device dog whistle
CN201355836Y (en) * 2008-12-12 2009-12-02 康佳集团股份有限公司 Mobile phone with dog trainer
CN104049979B (en) * 2014-07-01 2018-03-30 上海斐讯数据通信技术有限公司 A kind of general purpose ultrasound ripple dog training apparatus and dog training method
CN105182818B (en) * 2015-08-21 2018-08-03 张日华 Pet total management system based on RFID and method
CN105766687A (en) * 2016-04-27 2016-07-20 上海斐讯数据通信技术有限公司 Animal training method and system

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4566085A (en) * 1982-01-19 1986-01-21 Wein Products, Inc. High intensity ultrasonic generator
JPH03151968A (en) * 1989-10-27 1991-06-28 Storz Instr Co Control system for correcting and driving ultrasonic converter
CN2079868U (en) * 1990-05-09 1991-07-03 刘古凤 Ultrasonic electronic mosquito repelling device
US6503081B1 (en) * 1999-07-01 2003-01-07 James Feine Ultrasonic control apparatus and method
JP4430997B2 (en) * 2004-07-13 2010-03-10 富士フイルム株式会社 Ultrasonic transceiver
CN2824437Y (en) * 2005-08-09 2006-10-04 乐金电子(中国)研究开发中心有限公司 Mobile terminal with mosquito-expelling function
CN101125327A (en) * 2006-08-17 2008-02-20 杰迈电子股份有限公司 Ultrasonic driving device with multi-frequency scanning
CN101247183A (en) * 2007-02-15 2008-08-20 凌阳科技股份有限公司 Transmission device, receiving device, system and method for implementing communication based on ultrasonic wave
CN101246640A (en) * 2007-02-15 2008-08-20 中国石油化工股份有限公司 Analog ultrasonic wave earthquake signal physical excitation and receiving system and method thereof
CN201188833Y (en) * 2008-03-25 2009-02-04 宇龙计算机通信科技(深圳)有限公司 Electric mosquito dispeller and electric terminal
CN102205310A (en) * 2010-01-28 2011-10-05 株式会社东芝 Ultrasound transducer, ultrasound probe, and a method for manufacturing ultrasound transducers
CN102334471A (en) * 2010-07-20 2012-02-01 上海酷吧信息技术有限公司 Method for repelling mosquitoes by mobile phone through ultrasonic wave principle
CN201893838U (en) * 2010-11-24 2011-07-06 上海华勤通讯技术有限公司 Mobile phone with mosquito repelling function
CN103926329A (en) * 2014-04-04 2014-07-16 北京工业大学 Method for obtaining elastic property of semi-infinite domain substrate coating structure material based on simplex method
CN103947634A (en) * 2014-04-28 2014-07-30 张秀琳 Electronic mosquito-repelling device
CN104897550A (en) * 2015-06-17 2015-09-09 大连理工大学 Method for confirming relation between porosity of CFRP (carbon fiber reinforced plastics) and ultrasonic attenuation coefficient
CN105532634A (en) * 2015-12-02 2016-05-04 小米科技有限责任公司 Ultrasonic wave mosquito repel method, device and system

Also Published As

Publication number Publication date
CN106508882A (en) 2017-03-22
WO2018076586A1 (en) 2018-05-03

Similar Documents

Publication Publication Date Title
CN206061141U (en) A kind of acoustical testing system of wireless audio products
CN103344959B (en) A kind of ultrasound positioning system and the electronic installation with positioning function
ATE553603T1 (en) DIRECT DIGITAL SPEAKER DEVICE HAVING DESIRED DIRECTIONAL CHARACTERISTICS
JPWO2009125843A1 (en) Ultrasonic propagation time measurement system
CN104459703A (en) Sonar ranging method and mobile device
WO2008086055A3 (en) System and method for remotely generating sound from a musical instrument
US20160088418A1 (en) Signal control apparatus
CN106508882B (en) For driving ultrasonic wave conversion equipment to play method, terminal and the system of ultrasonic wave
CN103544945A (en) Portable piezo-ceramic instrument tone recognition system
CN103402156A (en) Acoustic system
CN202189417U (en) Multifunctional wireless doorbell
TWI265448B (en) Acoustic based pointing device
TWI266489B (en) Apparatus and method for increasing signal estimation accuraccy
WO2010058892A3 (en) 3-way balun for planar-type double balanced mixer
JP2014120839A (en) Microphone array device
CN210724757U (en) Audio transmitting and sharing system
CN203026112U (en) Wireless electronic piano system
CN109073410A (en) For connecting the sensor to the holonomic system of smart machine
CN102510312B (en) Wireless multichannel communication experiment platform
CN106658246A (en) Wireless microphone system
CN202422448U (en) Sound wave learning machine
CN201789541U (en) Telephone receiver and telephone receiver system
CN206313947U (en) A kind of wireless microphone system
CN205827903U (en) A kind of intelligence wifi wireless electron piano
CN201387713Y (en) Device for measuring music pitch

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210902

Address after: 518000 201, No.26, yifenghua Innovation Industrial Park, Xinshi community, Dalang street, Longhua District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen waterward Information Co.,Ltd.

Address before: 518067 503, 602, block B, garden city digital building, 1079 Nanhai Avenue, Shekou, Nanshan District, Shenzhen, Guangdong

Patentee before: Shenzhen Waterward Co.,Ltd.

TR01 Transfer of patent right