WO2018076586A1 - 用于驱动超声波转换装置播放超声波的方法、终端及系统 - Google Patents

用于驱动超声波转换装置播放超声波的方法、终端及系统 Download PDF

Info

Publication number
WO2018076586A1
WO2018076586A1 PCT/CN2017/075054 CN2017075054W WO2018076586A1 WO 2018076586 A1 WO2018076586 A1 WO 2018076586A1 CN 2017075054 W CN2017075054 W CN 2017075054W WO 2018076586 A1 WO2018076586 A1 WO 2018076586A1
Authority
WO
WIPO (PCT)
Prior art keywords
ultrasonic
driving
terminal
play
unit
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.)
Ceased
Application number
PCT/CN2017/075054
Other languages
English (en)
French (fr)
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 Water World 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
Publication of WO2018076586A1 publication Critical patent/WO2018076586A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • 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
    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01KANIMAL HUSBANDRY; AVICULTURE; APICULTURE; PISCICULTURE; 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

Definitions

  • the present invention relates to the field of driving signal playback technology, and more particularly to a method, terminal and system for driving an ultrasonic converting device to play ultrasonic waves.
  • the ultrasonic conversion device generally outputs ultrasonic waves through a hardware oscillating circuit, and the frequency of the output ultrasonic waves is usually a single frequency point or a harmonic-rich square wave similar to PWM (Pulse Width Modulation).
  • PWM Pulse Width Modulation
  • the adjustable range is small, the precision is not high, and the frequency of the ultrasonic wave cannot be adjusted.
  • the user needs to use a plurality of ultrasonic conversion devices with different ultrasonic frequencies when driving or training various types of animals, which is high in cost and inconvenient to use.
  • the present invention provides a method, a terminal, and a system for driving an ultrasonic transducer to play ultrasonic waves, so as to solve the problem that the frequency of the ultrasonic wave outputted by the ultrasonic transducer in the prior art is small, the accuracy is not high, and the accuracy cannot be different.
  • the animal adjustment does not produce technical problems such as different high-precision ultrasonic frequency output.
  • the present invention adopts a technical solution to provide: a method for driving an ultrasonic conversion device to play ultrasonic waves, which includes:
  • the terminal receives parameter information set by the user, and the parameter information includes an ultrasonic frequency
  • the ultrasonic drive signal is transmitted to the ultrasonic conversion device.
  • the parameter information further includes the number of samples
  • the step of calculating the interval length according to the ultrasonic frequency and the number of pre-stored acoustic wave simulation values includes:
  • the set of samples is an arithmetic progression, the items in the arithmetic progression are positive integers, and the samples are items in the arithmetic progression;
  • the step of synthesizing the acoustic wave analog values one by one according to the interval lengths comprises:
  • the ultrasonic wave drive signals are synthesized one by one by the stored acoustic wave analog values.
  • the step of transmitting the ultrasonic drive signal to the ultrasonic conversion device comprises:
  • the ultrasonic conversion device receives the ultrasonic drive signal transmitted by the terminal;
  • the first item of the arithmetic progression column is 0, the tolerance value of the arithmetic progression column is 1, and the function value is a sine value.
  • the present invention adopts another technical solution to: provide a terminal for driving an ultrasonic conversion device to play ultrasonic waves, and includes a processor and a memory, and the processor is configured to execute the following storage in the memory.
  • Program module :
  • a setting unit configured to receive parameter information set by a user, where the parameter information includes an ultrasonic frequency
  • a length calculation unit configured to calculate an interval length according to the ultrasonic frequency and the number of pre-stored acoustic wave simulation values
  • the processing unit synthesizes the ultrasonic wave drive signals one by one according to the interval length; [0029] a transmission unit, configured to transmit the ultrasonic driving signal to the signal output interface.
  • the parameter information further includes the number of samples
  • the program module further includes:
  • a sample generating unit configured to form a sample set according to the number of sample points, the sample set is an arithmetic progression, the items in the arithmetic progression are positive integers, and the sample points are items in the arithmetic progression column.
  • an angle calculation unit configured to calculate an angle corresponding to each point in the set of samples
  • a query unit configured to query a function value corresponding to the angle in the trigonometric function database based on the angle
  • a conversion unit that converts the function value into an acoustic wave analog value
  • the pre-stored unit pre-stores the converted acoustic wave analog value.
  • the processing unit includes:
  • a reading unit configured to read the sound wave analog values in the pre-stored unit one by one according to the interval length
  • a registering unit configured to register the read acoustic wave simulation values one by one
  • the synthesizing unit is configured to combine the stored acoustic wave analog values into the ultrasonic driving signals one by one.
  • the signal output interface includes: a current input terminal, a ground terminal, a first resistor, a second resistor, a signal access terminal, an AC coupling capacitor, and a signal output terminal, the first resistor and the second resistor
  • the circuit is connected in series between the current input terminal and the ground terminal, and the AC coupling capacitor is connected in parallel between the first resistor and the second resistor, and the ultrasonic driving signal sequentially passes through the signal access terminal, the AC coupling capacitor and the signal output terminal.
  • the first resistor and the second resistor are both 100,000 ohms, and the AC coupling capacitor is 100 nanofarads.
  • the signal output interface is a headphone interface.
  • the terminal is a mobile phone or a tablet.
  • a system for driving an ultrasonic conversion device to play ultrasonic waves comprising an ultrasonic conversion device and the above-mentioned terminal, the ultrasonic conversion device comprising:
  • a signal receiving interface coupled to the signal output interface, for receiving an ultrasonic driving signal
  • an amplifying unit configured to amplify the ultrasonic driving signal transmitted by the signal receiving interface
  • a playing unit configured to emit an ultrasonic wave corresponding to the ultrasonic frequency according to the amplified ultrasonic driving signal.
  • the playing unit is a piezoelectric ceramic sheet.
  • the system for driving an ultrasonic conversion device to play ultrasonic waves further includes a data line, and the signal output interface is coupled to the signal receiving interface by the data line signal.
  • the system further includes a flash for blinking at the ultrasonic frequency according to the ultrasonic drive signal received by the signal receiving interface.
  • the present invention provides a method, a terminal and a system for driving an ultrasonic conversion device to play ultrasonic waves, in which the terminal receives the ultrasonic frequency set by the user, and Synthesizing the acoustic wave driving signal of the corresponding frequency, thereby driving the ultrasonic converting device to play the ultrasonic wave of the corresponding frequency.
  • the above scheme can drive the ultrasonic converting device to play the ultrasonic wave of different frequencies according to the set ultrasonic frequency difference, and the utility model is flexible, convenient to drive or train various pairs. Ultrasound sensitive animals with different frequencies. Accordingly, the terminal and system for driving the ultrasonic transducer to play ultrasonic waves also have the above effects.
  • FIG. 1 is a flow chart of an embodiment of a method for driving an ultrasonic transducer to play ultrasonic waves according to the present invention
  • FIG. 2 is a flow chart of another embodiment of a method for driving an ultrasonic transducer to play ultrasonic waves according to the present invention
  • FIG. 3 is a flow chart of another embodiment of a method for driving an ultrasonic transducer to play ultrasonic waves according to the present invention.
  • 3a is a sinusoidal waveform of an acoustic wave drive signal of the method for driving an ultrasonic transducer to play ultrasonic waves according to the present invention.
  • FIG. 4 is a flow chart of another embodiment of a method for driving an ultrasonic transducer to play ultrasonic waves according to the present invention.
  • FIG. 5 is a schematic diagram of an embodiment of a terminal for driving an ultrasonic transducer to play ultrasonic waves according to the present invention.
  • FIG. 5a is a partial structural diagram of an embodiment of a setting unit of the terminal for driving an ultrasonic transducer to play ultrasonic waves in FIG. 5; 6 is a schematic diagram of another embodiment of a terminal for driving an ultrasonic transducer to play ultrasonic waves according to the present invention;
  • FIG. 7 is a schematic block diagram of another embodiment of a terminal for driving an ultrasonic transducer to play ultrasonic waves according to the present invention.
  • FIG. 8 is a schematic block diagram of another embodiment of a terminal for driving an ultrasonic transducer to play ultrasonic waves according to the present invention.
  • FIG. 9 is a schematic block diagram of a system for driving an ultrasonic transducer to play ultrasonic waves according to the present invention.
  • FIG. 1 is a flow chart of an embodiment of a method for driving an ultrasonic transducer to play ultrasonic waves according to the present invention.
  • the method for driving an ultrasonic transducer to play ultrasonic waves according to the embodiment includes the following steps:
  • S10 The terminal receives parameter information set by the user, where the parameter information includes an ultrasonic frequency;
  • the terminal may be a mobile phone or a tablet computer, and the terminal has an APP, and the APP has an interface with parameter settings, and the user may set the ultrasonic frequency sensitive to the animal according to the type of the animal.
  • S20 calculating an interval length according to the ultrasonic frequency and the number of pre-stored acoustic wave simulation values
  • the number of f, the ultrasonic frequency, the unit of t is nanoseconds, and the unit of f is kilohertz.
  • S30 synthesizing the acoustic wave driving signals by synthesizing the acoustic wave simulation values one by one according to the interval length;
  • the terminal when it is required to start the ultrasonic conversion device to play the ultrasonic wave, the terminal will synthesize the sound wave driving signal one by one according to the interval length of the pre-stored sound wave analog value.
  • S40 transmitting an ultrasonic driving signal to the ultrasonic converting device.
  • the terminal transmits the ultrasonic driving signal to the ultrasonic converting device, thereby realizing that the ultrasonic converting device drives the ultrasonic wave to be played at the ultrasonic frequency set by the user.
  • the terminal receives the ultrasonic frequency set by the user, and synthesizes the acoustic wave driving signal of the corresponding frequency, thereby driving the ultrasonic converting device to play the ultrasonic wave of the corresponding frequency,
  • the solution can drive the ultrasonic conversion device to play ultrasonic waves of different frequencies according to the set ultrasonic frequency, and the utility model is flexible and convenient to drive or train various animals with different ultrasonic sensitive frequencies.
  • FIG. 2 is a flow chart showing another embodiment of a method for driving an ultrasonic transducer to play ultrasonic waves according to the present invention.
  • This embodiment is substantially the same as the previous embodiment, except that the parameter information of the embodiment further includes the number of samples, and the number of the samples is a positive integer. Preferably, the number of the samples is greater than 2.
  • step S20 of this embodiment the following steps are included:
  • S21 generating a sample set according to the number of sample points; Specifically, the terminal generates a sample set according to the number of samples set by the user, the sample set is an arithmetic progression, the items in the arithmetic progression column are positive integers, and the sample points are items in the arithmetic progression column.
  • the number of samples ranges from 100 to 500, the first item of the arithmetic progression is 0, and the tolerance value is 1.
  • the number of sample points set by the user is 100 ⁇ , and the sample set is: 0, 1. 2, 3, ... 99.
  • the first term and the tolerance value of the difference series may also be other values, which are not limited herein.
  • S22 calculating an angle corresponding to each point in the set of sample points
  • the trigonometric function database of the terminal stores function values corresponding to sine, cosine, tangent, and cotangent of each angle from 0° to 360°, and the terminal can query corresponding to the corresponding angle of the sample point.
  • Function value Preferably, the function of the invention has a sine value.
  • the terminal converts the function value into a sound wave analog value corresponding to the number of register bits according to the number of bits of the register used to output the function value, for example, when the terminal outputs the function value, the register used is 16 bits,
  • a sine, from which it can be calculated that when ⁇ is 0° ⁇ , the converted acoustic wave is 32768; when ⁇ is 90° ⁇ , the converted acoustic wave is 65536; when ⁇ is 180° ⁇ The converted acoustic wave simulation value is 32768; when ⁇ is 270° ⁇ , the converted acoustic wave simulation value is 0; when ⁇ is 360° ⁇ , the converted acoustic wave simulation value is 32768.
  • S25 pre-storing the converted acoustic wave simulation value.
  • each of the above acoustic wave analog values is pre-stored for subsequent output.
  • the sample point of the embodiment corresponds to the acoustic wave module value.
  • the number of acoustic wave simulation values is the same as the number of sample points, that is, the number of sound wave simulation values can be set by the user-set sample. Obtained by quantity.
  • the terminal In the method for driving the ultrasonic converting device to play the ultrasonic wave in the embodiment, the terminal generates a plurality of sample points by the number of samples set by the user to synthesize a high-precision sound wave driving signal output, and the solution may be set according to The number of samples is different, which in turn can drive the ultrasonic conversion device to play ultrasonic waves of different precisions. , flexible and convenient to use.
  • FIG. 3 is a flow chart showing another embodiment of a method for driving an ultrasonic transducer to play ultrasonic waves according to the present invention.
  • This embodiment is substantially the same as the previous embodiment, except that step S30 of the embodiment includes the following steps:
  • the interrupt reading unit reads the acoustic wave analog value in the pre-stored unit, and starts counting After the inter-arrival interval is long, the terminal starts to read the next acoustic analog value in the pre-stored unit, and after the terminal finishes reading the next acoustic analog value in the pre-stored unit, interrupts the acoustic analog value of the read unit to the pre-stored unit again. Read it, and start counting again, repeating this way until all the acoustic analog values have been read.
  • the register of the terminal temporarily registers the acoustic analog value after the reading.
  • S33 synthesizing the acoustic wave driving signals by synthesizing the acoustic wave analog values one by one.
  • the digital signal of the acoustic wave analog value forms an analog signal that the interface can recognize, that is, the acoustic wave drive signal.
  • the terminal of the present embodiment combines all the acoustic wave simulation values into a trigonometric waveform at intervals. For example, as shown in Fig. 3a, when the function value is a sine value ⁇ , according to Shannon sampling, all the acoustic wave analog values can be synthesized into a sinusoidal waveform at intervals.
  • FIG. 4 is a flow chart showing another embodiment of a method for driving an ultrasonic transducer to play ultrasonic waves according to the present invention.
  • This embodiment is substantially the same as the previous embodiment, except that step S40 of the embodiment includes the following steps:
  • S50 the ultrasonic conversion device receives the ultrasonic driving signal transmitted by the terminal
  • S60 the ultrasonic conversion device amplifies the ultrasonic driving signal
  • the ultrasonic driving signal transmitted through the wireless or the interface is a weak signal, and the amplitude of the ultrasonic driving signal is reduced by the amplification of the signal.
  • S70 The ultrasonic wave corresponding to the ultrasonic frequency is emitted according to the amplified ultrasonic driving signal.
  • the ultrasonic conversion device causes the piezoelectric ceramic piece to emit ultrasonic waves having a corresponding frequency and accuracy based on the amplified ultrasonic drive signal.
  • FIG. 5 is a schematic diagram of an embodiment of a terminal for driving an ultrasonic transducer to play ultrasonic waves according to the present invention.
  • Fig. 5a is a partial structural view showing an embodiment of a setting unit of the terminal for driving the ultrasonic transducer to play ultrasonic waves in Fig. 5.
  • the terminal for driving the ultrasonic conversion device to play the ultrasonic wave includes the processor 100, the memory 200, and the signal output interface 50.
  • the processor 100 is configured to execute the program module stored in the memory 200, and the program module includes the setting unit 10, The long calculation unit 20, the processing unit 30, and the transmission unit 40.
  • the setting unit 10 is configured to receive parameter information set by a user, and the parameter information includes an ultrasonic frequency.
  • the setting unit 10 is an interface for setting parameter information in the APP, and the user can set the ultrasonic frequency sensitive to the type of the animal in the interface according to the type of the animal.
  • the interface for setting the parameter information may be an interface for the user to input a specific value, or an interface for the user to select a specific value.
  • the interface for setting the parameter information is a ruler interface, and the ruler has 0.
  • the ultrasonic band of ⁇ 100k z, each scale is lk z
  • the triangle on the ruler interface is the control 11, and the position of the control 11 is clicked or dragged to realize the setting of the ultrasonic frequency.
  • the processing unit 30 synthesizes the acoustic wave simulation signals one by one according to the interval length.
  • the transmission unit 40 is configured to transmit the ultrasonic driving signal to the signal output interface 50 for transmission to the ultrasonic converting device electrically connected to the signal output interface 50, thereby implementing the driving ultrasonic converting device to play the ultrasonic wave according to the ultrasonic frequency set by the user.
  • the signal output interface 50 is a headphone jack.
  • the terminal for driving the ultrasonic converting device to play the ultrasonic wave of the embodiment receives the ultrasonic frequency set by the user through the setting unit 10, and the processing unit 30 synthesizes the acoustic wave driving signal of the corresponding frequency, thereby driving the ultrasonic converting device to play the ultrasonic wave of the corresponding frequency. So that the terminal can drive the ultrasonic conversion device to play ultrasonic waves of different frequencies according to the set ultrasonic frequency, which is flexible and convenient to drive or Train a variety of animals with different frequencies sensitive to ultrasound.
  • FIG. 6 is a schematic diagram of another embodiment of a terminal for driving an ultrasonic transducer to play ultrasonic waves according to the present invention.
  • This embodiment is substantially the same as the previous embodiment, except that the parameter information of the embodiment further includes the number of samples, and the number of the samples is a positive integer. Preferably, the number of the samples is greater than 2.
  • the program module of this embodiment further includes a sample generating unit 60, an angle calculating unit 61, a query unit 62, a converting unit 63, and a pre-storing unit 64.
  • the sample generating unit 60 is configured to generate a sample set according to the number of samples set by the user. Specifically, the sample generating unit 60 generates a sample set according to the number set by the user, the sample set is an arithmetic progression, the items in the arithmetic progression are positive integers, and the sample points are items in the arithmetic progression column.
  • the number of samples ranges from 100 to 50
  • the first item of the arithmetic progression is 0, and the tolerance value is 1.
  • the number of sample points set by the user is 100 ⁇
  • the sample set is: 0, 1 , 2, 3, ... 99.
  • the first term and the tolerance value of the difference series may also be other values, which are not limited herein.
  • the query unit 62 is configured to query the function value corresponding to the angle in the trigonometric function database based on the angle. Specifically, a function value corresponding to each of sine, cosine, tangent, and cotangent of each angle from 0° to 360° is formed in the trigonometric function database of the terminal, and the query unit 62 queries the corresponding function according to the angle corresponding to the sample point. value.
  • the function of the invention has a sine value.
  • the converted sound wave is 32768; when ⁇ is 63° ⁇ , the converted sound wave is 65536; when ⁇ is 162° ⁇ , the converted sound wave
  • the analog value is 32768; when ⁇ is 261° ⁇ , the converted sound wave is 0; when ⁇ is 360° ⁇ , the converted sound wave is 3276.
  • the pre-stored unit 64 is configured to pre-store the converted acoustic wave analog value.
  • Pre-stored unit 64 can be RAM (Ramdom
  • the sample point of this embodiment corresponds to the acoustic wave module value.
  • the number of acoustic wave simulation values is the same as the number of sample points, that is, the number of acoustic wave simulation values can be set by the user-set sample. Obtained by quantity.
  • the terminal for driving the ultrasonic converting device to play the ultrasonic wave of the present embodiment generates a plurality of sample points by the number of samples set by the user in the setting unit 10 to synthesize a high-precision sound wave driving signal output.
  • the solution can drive the ultrasonic conversion device to play different precision ultrasonic waves according to the number of set samples, which is flexible and convenient to use.
  • FIG. 7 is a block diagram showing another embodiment of a terminal for driving an ultrasonic transducer to play ultrasonic waves according to the present invention.
  • This embodiment is substantially the same as the previous embodiment, except that the processing unit 30 of the present embodiment includes a reading unit 31, a clock unit 32, an interrupt unit 33, a register unit 34, and a synthesizing unit 35.
  • the reading unit 31 is configured to read the acoustic wave simulation values in the pre-stored unit 64 one by one in intervals.
  • the cuckoo clock unit 32 is used to count the interval length, and the interrupt unit 33 is used to read the acoustic wave analog value in the pre-stored unit 64 when the cuckoo clock unit 32 reaches the interval length.
  • the interrupting unit 33 interrupts the reading of the acoustic wave analog value in the pre-stored unit 64 by the reading unit 31, and the same, the same time
  • the unit 32 starts counting, and after the time interval between the turns, the reading unit 31 reads the next sound wave analog value in the pre-stored unit, and the reading unit 31 completes the reading of the next sound wave analog value in the pre-stored unit 64.
  • the interrupting unit 33 interrupts the reading of the acoustic analog values in the pre-stored unit 64 by the reading unit 31 again, and the same, the cuckoo clock unit 32 counts again, and repeats until all the pre-stored units 64 are in the pre-stored unit 64.
  • the acoustic wave analog value is read.
  • the register unit 34 is used to read the acoustic wave analog values one by one.
  • the registration unit 34 is a register.
  • the synthesizing unit 35 is configured to synthesize the acoustic wave simulation signals of the registration unit 34 into the acoustic wave drive signals one by one. Specifically, the synthesizing unit 35 synthesizes the digital signal of the acoustic wave analog value into an analog signal that the interface can recognize, that is, the acoustic wave drive signal. The synthesizing unit 35 synthesizes all the acoustic wave simulation values into trigonometric waveforms according to the Shannon sampling theorem. For example, as shown in Figure 3a, when the function value is a sine value, the composite form Based on the Shannon sampling theorem, element 35 combines all acoustic analog values into a sinusoidal waveform at intervals.
  • FIG. 8 is a block diagram showing another embodiment of a terminal for driving an ultrasonic transducer to play ultrasonic waves according to the present invention.
  • the embodiment is substantially the same as the previous embodiment, except that the circuit of the signal output interface 50 of the embodiment includes: a current input terminal Vcc, a ground terminal Gnd, a first resistor R1, a second resistor R2, and a signal access terminal Input. AC coupling capacitor C1 and signal output terminal Ouput.
  • the first resistor R1 and the second resistor R2 are sequentially connected in series between the current input terminal Vcc and the ground terminal Gnd to offset the input voltage by 1/2, so that the ultrasonic driving signal received by the ultrasonic conversion device is a positive signal.
  • the AC coupling capacitor C1 is connected in parallel between the first resistor R1 and the second resistor R2.
  • the AC coupling capacitor C1 is used for the DC signal to pass the AC signal, and the ultrasonic driving signal as the AC signal sequentially passes through the signal input terminal Input and AC coupling. Capacitor C1 and signal output Ouput.
  • the first resistor R1 and the second resistor R2 are both 100,000 ohms, and the AC coupling capacitor C1 is 100 nanofarads.
  • FIG. 9 is a block diagram showing a system for driving an ultrasonic transducer to play ultrasonic waves.
  • the system for driving an ultrasonic transducer to play ultrasonic waves of the present invention includes an ultrasonic transducer and a terminal, and the ultrasonic transducer includes a signal receiving interface 201, an amplifying unit 202, and a playing unit 203.
  • the signal receiving interface 201 is interposed with the signal output interface 50 for receiving an ultrasonic driving signal.
  • the amplifying unit 202 is configured to amplify the ultrasonic driving signal transmitted by the signal receiving interface 201. Since the ultrasonic driving signal transmitted through the wireless or the interface is a weak signal, the amplification of the signal by the amplifying unit 202 reduces the distortion of the ultrasonic driving signal.
  • the amplifying unit 202 is a signal amplifying circuit.
  • the playing unit 203 is configured to send an ultrasonic wave corresponding to the ultrasonic frequency according to the amplified ultrasonic driving signal
  • the playback unit 203 is preferably a piezoelectric ceramic sheet which ensures that the frequency of the output ultrasonic waves is the same as the ultrasonic wave frequency input by the user.
  • the ultrasonic converting device further includes a flasher for blinking at an ultrasonic frequency according to the ultrasonic driving signal received by the signal receiving interface.
  • the system for driving the ultrasonic conversion device to play the ultrasonic wave further includes a data line, and the signal is transmitted.
  • the outgoing interface 50 and the signal receiving interface 201 are connected by a data line signal.
  • the terminal according to the present invention includes both a wireless signal receiver device, a device having only a wireless signal receiver without a transmitting capability, and a device for receiving and transmitting hardware, or It has a device capable of performing two-way communication receiving and transmitting hardware on a two-way communication link.
  • Such devices may include: cellular or other communication devices having single line displays or multi-line displays or cellular or other communication devices without multi-line displays; PCS (Personal)
  • Communications Service a personal communication system that can combine voice, data processing, fax and/or data communication capabilities; PDA (Personal Digital Assistant), which can include radio frequency receivers, pagers, Internet/Intranet access, Web browser, notepad, calendar and/or GPS (Global Positioning System) receiver; conventional laptop and/or palmtop computer or other device with and/or conventional knee including radio frequency receiver Up and/or palmtop or other device.
  • the "terminal” used herein may also be a communication terminal, an internet terminal, a music/video playing terminal, such as a tablet, a MID (Mobile Internet Device), and/or a mobile phone having a music/video playing function. It can also be a smart watch or a smart bracelet.
  • the ultrasonic conversion device of the present invention may be a pet smart wear device having an ultrasonic transducer, a positioning function, a wireless transceiving function, an LED lamp, and the like.
  • the LED lamp can control the frequency of its flashing through the above terminal to achieve the purpose of driving the animal.

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • Environmental Sciences (AREA)
  • Zoology (AREA)
  • Health & Medical Sciences (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Wood Science & Technology (AREA)
  • Insects & Arthropods (AREA)
  • Engineering & Computer Science (AREA)
  • Birds (AREA)
  • General Health & Medical Sciences (AREA)
  • Pest Control & Pesticides (AREA)
  • Animal Behavior & Ethology (AREA)
  • Animal Husbandry (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Transducers For Ultrasonic Waves (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

一种用于驱动超声波转换装置播放超声波的方法、终端及系统,其包括:终端接收用户设置的参数信息,参数信息包括超声波频率。根据超声波频率和预存的声波模拟值的数量计算间隔时长,根据间隔时长将声波模拟值逐一合成声波驱动信号,向超声波转换装置传输超声波驱动信号。该方法、终端及系统使用灵活,方便训练各种对超声波敏感频率不同的动物。

Description

用于驱动超声波转换装置播放超声波的方法、 终端及系 统
技术领域
[0001] 本发明涉及到驱动信号播放技术领域, 特别是涉及到一种用于驱动超声波转换 装置播放超声波的方法、 终端及系统。
背景技术
[0002] 通常地, 动物对一定频率的超声波较为敏感, 不同类型的动物对超声波敏感的 频率不同, 为驱赶或训练动物, 人们需根据动物的类型使用能够发出对应超声 波频率的超声波转换装置。
[0003] 现有技术中, 超声波转换装置一般通过硬件振荡电路输出超声波, 该输出的超 声波的频率通常为单频点或者是类似 PWM (Pulse Width Modulation, 脉冲宽度 调制) 的谐波丰富的方波, 其可调范围小, 精度不高, 不能调整超声波的频率 , 用户在驱赶或训练多种类型的动物吋, 需要使用多个不同超声波频率的超声 波转换装置, 成本高, 且使用不便。
技术问题
[0004] 本发明提供一种用于驱动超声波转换装置播放超声波的方法、 终端及系统, 以 解决现有技术中的超声波转换装置输出的超声波的频率可调范围小, 精度不高 , 不能根据不同的动物调整, 不能产生不同高精度的超声波频率输出等技术问 题。
问题的解决方案
技术解决方案
[0005] 为解决上述技术问题, 本发明采用一种技术方案为: 提供一种用于驱动超声波 转换装置播放超声波的方法, 其包括:
[0006] 终端接收用户设置的参数信息, 参数信息包括超声波频率;
[0007] 根据超声波频率和预存的声波模拟值的数量计算间隔吋长; [0008] 根据间隔吋长将声波模拟值逐一合成超声波驱动信号;
[0009] 向超声波转换装置传输超声波驱动信号。
[0010] 在某些实施方式中, 参数信息还包括样点的数量, 根据所述超声波频率和预存 的声波模拟值的数量计算间隔吋长的步骤之前包括:
[0011] 根据样点的数量形成样点集合, 所述样点集合为等差数列, 所述等差数列中的 项为正整数, 所述样点为所述等差数列中的项;
[0012] 计算样点集合中每一样点对应的角度;
[0013] 基于角度在三角函数数据库中査询角度对应的函数值;
[0014] 将函数值转换为声波模拟值;
[0015] 预储转换后的声波模拟值。
[0016] 在某些实施方式中, 根据间隔吋长将声波模拟值逐一合成超声波驱动信号的步 骤包括:
[0017] 按间隔吋长逐个读取预存的声波模拟值;
[0018] 逐个寄存读取后的声波模拟值;
[0019] 将寄存的声波模拟值按间隔吋长逐一合成超声波驱动信号。
[0020] 在某些实施方式中, 向超声波转换装置传输超声波驱动信号的步骤之后包括:
[0021] 超声波转换装置接收终端传输的超声波驱动信号;
[0022] 对超声波驱动信号进行放大;
[0023] 根据放大后的所述超声波驱动信号发出对应所述超声波频率的超声波。
[0024] 在某些实施方式中, 等差数列的首项为 0, 等差数列的公差值为 1, 函数值为正 弦值。
[0025] 为解决上述技术问题, 本发明采用另一种技术方案为: 提供一种用于驱动超声 波转换装置播放超声波的终端, 其包括处理器和存储器, 处理器用于执行以下 存储于存储器中的程序模块:
[0026] 设置单元, 用于接收用户设置的参数信息, 参数信息包括超声波频率;
[0027] 吋长计算单元, 用于根据超声波频率和预存的声波模拟值的数量计算间隔吋长
[0028] 处理单元, 根据间隔吋长将声波模拟值逐一合成超声波驱动信号; [0029] 传输单元, 用于将超声波驱动信号传输至信号输出接口。
[0030] 在某些实施方式中, 参数信息还包括样点的数量, 程序模块还包括:
[0031] 样点生成单元, 用于根据样点的数量形成样点集合, 样点集合为等差数列, 等 差数列中的项为正整数, 样点为等差数列中的项
[0032] 角度计算单元, 用于计算样点集合中每一样点对应的角度;
[0033] 査询单元, 用于基于角度在三角函数数据库中査询角度对应的函数值;
[0034] 转换单元, 将函数值转换为声波模拟值;
[0035] 预存单元, 预存转换后的声波模拟值。
[0036] 在某些实施方式中, 处理单元包括:
[0037] 读取单元, 用于按间隔吋长逐个读取预存单元中的声波模拟值;
[0038] 寄存单元, 用于逐个寄存读取后的声波模拟值;
[0039] 合成单元, 用于将寄存的声波模拟值合按间隔吋长逐一成超声波驱动信号。
[0040] 在某些实施方式中, 信号输出接口包括: 电流输入端、 地端、 第一电阻、 第二 电阻、 信号接入端、 交流耦合电容以及信号输出端, 第一电阻、 第二电阻依次 串联于电流输入端与地端之间, 交流耦合电容并联于第一电阻、 第二电阻之间 , 超声波驱动信号依次经过信号接入端、 交流耦合电容以及信号输出端。
[0041] 在某些实施方式中, 所述第一电阻、 所述第二电阻均为 10万欧姆, 所述交流耦 合电容为 100纳法。
[0042] 在某些实施方式中, 所述信号输出接口为耳机接口。
[0043] 在某些实施方式中, 所述终端为手机或平板电脑。
[0044] 为解决上述技术问题, 本发明采用另一种技术方案为: 一种用于驱动超声波转 换装置播放超声波的系统, 其包括超声波转换装置和上述终端, 超声波转换装 置包括:
[0045] 信号接收接口, 与信号输出接口插接, 用于接收超声波驱动信号;
[0046] 放大单元, 用于对信号接收接口传输的超声波驱动信号进行放大;
[0047] 播放单元, 用于根据放大后的所述超声波驱动信号发出对应所述超声波频率的 超声波。
[0048] 所述播放单元为压电陶瓷片。 [0049] 在某些实施方式中, 所述用于驱动超声波转换装置播放超声波的系统还包括数 据线, 所述信号输出接口与所述信号接收接口通过所述数据线信号连接。
[0050] 在某些实施方式中, 所述系统还包括闪光灯, 所述闪光灯用于根据所述信号接 收接口接收的所述超声波驱动信号按所述超声波频率的进行闪烁。
发明的有益效果
有益效果
[0051] 本发明的有益效果是: 区别于现有技术, 本发明提供一种用于驱动超声波转换 装置播放超声波的方法、 终端及系统, 该方法中, 终端通过接收用户设置的超 声波频率, 并合成对应的频率的声波驱动信号, 从而驱动超声波转换装置播放 对应频率的超声波, 上述方案可根据设置的超声波频率不同进而驱动超声波转 换装置播放不同频率的超声波, 使用灵活, 方便驱赶或训练各种对超声波敏感 频率不同的动物。 相应地, 用于驱动超声波转换装置播放超声波的终端及系统 也具有上述效果。
对附图的简要说明
附图说明
[0052] 图 1是本发明用于驱动超声波转换装置播放超声波的方法的一实施例流程图; [0053] 图 2是本发明用于驱动超声波转换装置播放超声波的方法的另一实施例流程图
[0054] 图 3是本发明用于驱动超声波转换装置播放超声波的方法的另一实施例流程图
[0055] 图 3a是本发明用于驱动超声波转换装置播放超声波的方法的声波驱动信号的正 弦波形。
[0056] 图 4是本发明用于驱动超声波转换装置播放超声波的方法的另一实施例流程图
[0057] 图 5是本发明用于驱动超声波转换装置播放超声波的终端一实施例模块示意图
[0058] 图 5a是图 5中用于驱动超声波转换装置播放超声波的终端的设置单元一实施例 部分结构示意图; [0059] 图 6是本发明用于驱动超声波转换装置播放超声波的终端另一实施例模块示意 图;
[0060] 图 7是本发明用于驱动超声波转换装置播放超声波的终端另一实施例模块示意 图;
[0061] 图 8是本发明用于驱动超声波转换装置播放超声波的终端另一实施例模块示意 图;
[0062] 图 9是本发明用于驱动超声波转换装置播放超声波的系统的模块示意图。
[0063] 本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一步说明。
实施该发明的最佳实施例
本发明的最佳实施方式
[0064] 应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不用于限定本发 明。
[0065] 下面详细描述本发明的实施例, 所述实施例的示例在附图中示出, 其中自始至 终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。 下 面通过参考附图描述的实施例是示例性的, 仅用于解释本发明, 而不能解释为 对本发明的限制。
[0066] 本技术领域技术人员可以理解, 除非特意声明, 这里使用的单数形式"一"、 " 一个"、 "所述 "和"该"也可包括复数形式。 应该进一步理解的是, 本发明的说明 书中使用的措辞"包括"是指存在所述特征、 整数、 步骤、 操作、 元件和 /或组件 , 但是并不排除存在或添加一个或多个其他特征、 整数、 步骤、 操作、 元件、 组件和 /或它们的组。 应该理解, 当我们称元件被"连接"或"耦接"到另一元件吋 , 它可以直接连接或耦接到其他元件, 或者也可以存在中间元件。 此外, 这里 使用的"连接"或"耦接"可以包括无线连接或无线耦接。
[0067] 本技术领域技术人员可以理解, 除非另外定义, 这里使用的所有术语 (包括技 术术语和科学术语) , 具有与本发明所属领域中的普通技术人员的一般理解相 同的意义。 还应该理解的是, 诸如通用字典中定义的那些术语, 应该被理解为 具有与现有技术的上下文中的意义一致的意义, 并且除非像这里一样被特定定 义, 否则不会用理想化或过于正式的含义来解释。 [0068] 请参阅图 1, 图 1是本发明用于驱动超声波转换装置播放超声波的方法的一实施 例流程图。 本实施例的用于驱动超声波转换装置播放超声波的方法包括如下步 骤:
[0069] S10: 终端接收用户设置的参数信息, 参数信息包括超声波频率;
[0070] 具体地, 该终端可以是手机或平板电脑, 终端的具有 APP, APP里具有参数设 置的界面, 用户可以根据动物的类型设置该类型动物敏感的超声波频率。
[0071] S20: 根据超声波频率和预存的声波模拟值的数量计算间隔吋长;
[0072] 具体地, 终端里预存有一定数量的声波模拟值, 在超声波频率已知的情况下, 可通过公式 t=10 V (nxf) 来计算间隔吋长 t, 其中, n表示声波模拟值的数量, f 表示超声波频率, t的单位为纳秒, f的单位为千赫兹。
[0073] S30: 根据间隔吋长将声波模拟值逐一合成声波驱动信号;
[0074] 具体地, 在需要启动超声波转换装置播放超声波吋, 终端将会根据间隔吋长把 预存的一定数量声波模拟值逐一合成声波驱动信号。
[0075] S40: 向超声波转换装置传输超声波驱动信号。
[0076] 具体地, 在终端与超声波转换装置电连接后, 终端通过向超声波转换装置传输 超声波驱动信号, 从而实现驱动超声波转换装置按用户所设置的超声波频率进 行播放超声波。
[0077] 本实施例的用于驱动超声波转换装置播放超声波的方法中, 终端通过接收用户 设置的超声波频率, 并合成对应的频率的声波驱动信号, 从而驱动超声波转换 装置播放对应频率的超声波, 该方案可根据设置的超声波频率不同进而驱动超 声波转换装置播放不同频率的超声波, 使用灵活, 方便驱赶或训练各种对超声 波敏感频率不同的动物。
[0078]
[0079] 请参阅图 2, 图 2是本发明用于驱动超声波转换装置播放超声波的方法的另一实 施例流程图。 本实施例与上一实施例大体相同, 不同在于本实施例的参数信息 还包括样点的数量, 该样点的数量为正整数, 优选地, 该样点的数量大于 2。
[0080] 进一步地, 本实施例的步骤 S20之前包括如下步骤:
[0081] S21 : 根据样点的数量生成样点集合; [0082] 具体地, 终端根据用户设置的样点的数量生成样点集合, 样点集合为等差数列 , 等差数列中的项为正整数, 而样点为等差数列中的项。 优选地, 样点的数量 范围为 100-500, 等差数列的首项为 0, 公差值为 1, 例如, 在用户设置样点的数 量为 100吋, 样点集合为: 0, 1, 2, 3, ......99。 当然, 该等差数列的首项与公 差值也可以为其它数值, 此处不作一一限定。
[0083] S22: 计算样点集合中每一样点对应的角度;
[0084] 具体地, 在每一样点的数值已知的情况下, 可通过公式 θ= 360°χ Μ/η计算出每 一样点对应的角度 θ, 其中 η为样点的数量, Μ为样点, 即 Μ为等差数列中的项。
[0085] S23: 基于角度在三角函数数据库中査询角度对应的函数值;
[0086] 具体地, 终端的三角函数数据库里存储有 0°至 360°每一角度的正弦、 余弦、 正 切、 余切分别对应的函数值, 终端可根据样点对应的角度査询到对应的函数值 。 优选地, 本发明函数值为正弦值。
[0087] S24: 将函数值转换为声波模拟值;
[0088] 具体地, 终端根据输出函数值所使用的寄存器的位数, 把函数值转换为与寄存 器位数对应的声波模拟值, 例如, 当终端输出函数值所使用的寄存器为 16位吋 , 在函数值已知的情况下, 可通过公式 X=32768 + 32768a计算出每一函数值 a对 应的声波模拟值 X。 优选地, a= sine , 由此可算出, 当 Θ为 0°吋, 转换后的声波 模拟值为 32768 ; 当 Θ为 90°吋, 转换后的声波模拟值为 65536; 当 Θ为 180°吋, 转 换后的声波模拟值为 32768 ; 当 Θ为 270°吋, 转换后的声波模拟值为 0; 当 Θ为 360° 吋, 转换后的声波模拟值为 32768。
[0089] S25: 预存转换后的声波模拟值。
[0090] 具体地, 预存上述各个声波模拟值, 以便后续输出。
[0091] 由上述可知, 本实施例样点与声波模块值对应, 优选地, 声波模拟值的数量与 样点的数量相同, 也就是说, 声波模拟值的数量可通过用户设置的样点的数量 而获得。
[0092] 本实施例的用于驱动超声波转换装置播放超声波的方法中, 终端通过用户设置 的样点的数量, 生成多个样点以便合成高精度的声波驱动信号输出, 该方案可 根据设置的样点的数量不同进而可驱动超声波转换装置播放不同精度的超声波 , 使用灵活, 方便。
[0093]
[0094] 请参阅图 3, 图 3是本发明用于驱动超声波转换装置播放超声波的方法的另一实 施例流程图。 本实施例与上一实施例大体相同, 不同在于本实施例的步骤 S30包 括如下步骤:
[0095] S31 : 按间隔吋长逐个读取预存的声波模拟值;
[0096] 具体地, 具体地, 在终端完成读取预存单元中的一个声波模拟值之后, 中断读 取单元对预存单元中的声波模拟值进行读取, 与此同吋幵始计吋, 在吋间到达 间隔吋长吋, 终端启动读取预存单元中下一个声波模拟值, 在终端完成读取预 存单元中的下一个声波模拟值之后, 再次中断读取单元对预存单元中的声波模 拟值进行读取, 与此同吋再次幵始计吋, 如此重复, 直到所有的声波模拟值读 取完毕。
[0097] S32: 逐个寄存读取后的声波模拟值;
[0098] 具体地, 终端的寄存器临吋寄存读取后的声波模拟值。
[0099] S33: 将声波模拟值按间隔吋长逐一合成声波驱动信号。
[0100] 具体地, 将声波模拟值的数字信号形成接口能够识别的模拟信号, 即声波驱动 信号。 本实施例的终端根据香农采样定理, 将所有的声波模拟值按间隔吋长合 成三角函数波形。 举例地, 如图 3a所示, 当函数值为正弦值吋, 根据香农采样定 理, 可将所有的声波模拟值按间隔吋长合成正弦波形。
[0101]
[0102] 请参阅图 4, 图 4是本发明用于驱动超声波转换装置播放超声波的方法的另一实 施例流程图。 本实施例与上一实施例大体相同, 不同在于本实施例的步骤 S40之 后包括如下步骤:
[0103] S50: 超声波转换装置接收终端传输的超声波驱动信号;
[0104] S60: 超声波转换装置对超声波驱动信号进行放大;
[0105] 具体地, 经过无线或接口传输的超声波驱动信号为微弱信号, 通过对信号的放 大, 以减少超声波驱动信号失真现象。
[0106] S70: 根据放大后的所述超声波驱动信号发出对应超声波频率的超声波。 [0107] 具体地, 超声波转换装置根据放大后的超声波驱动信号使压电陶瓷片发出对应 频率及精度的超声波。
[0108]
[0109] 请参阅图 5, 图 5是本发明用于驱动超声波转换装置播放超声波的终端一实施例 模块示意图。 图 5a是图 5中用于驱动超声波转换装置播放超声波的终端的设置单 元一实施例部分结构示意图。 本实施例用于驱动超声波转换装置播放超声波的 终端包括处理器 100、 存储器 200、 信号输出接口 50, 处理器 100用于执行存储于 存储器 200中的程序模块, 该程序模块包括设置单元 10、 吋长计算单元 20、 处理 单元 30、 传输单元 40。
[0110] 设置单元 10用于接收用户设置的参数信息, 参数信息包括超声波频率。 设置单 元 10为 APP中的一个供设置参数信息的界面, 用户可以根据动物的类型在界面中 设置该类型动物敏感的超声波频率。 设置参数信息的界面可以是供用户输入具 体数值的界面, 也可以是供用户选择具体数值的界面, 举例地, 如图 5a所示, 设 置参数信息的界面为直尺界面, 直尺上具有 0〜100k z的超声波频段, 每一刻度 为 lk z, 直尺界面上的三角形为控件 11, 通过点击或拖动控件 11的位置以实现超 声波频率的设置。
[0111] 吋长计算单元 20用于根据超声波频率和预存的声波模拟值的数量计算间隔吋长 。 本实施例的终端里预存有一定数量的声波模拟值, 在超声波频率已知的情况 下, 吋长计算单元 20通过公式 t=10 9/ (nxf) 来计算间隔吋长 t, 其中, n表示声波 模拟值的数量, f表示超声波频率, t的单位为纳秒, f的单位为千赫兹。
[0112] 处理单元 30根据间隔吋长将声波模拟值逐一合成声波驱动信号。
[0113] 传输单元 40用于将超声波驱动信号传输至信号输出接口 50, 以传送至与信号输 出接口 50电连接的超声波转换装置, 从而实现驱动超声波转换装置按用户所设 置的超声波频率进行播放超声波。 优选地, 信号输出接口 50为耳机接口。
[0114] 本实施例的用于驱动超声波转换装置播放超声波的终端通过设置单元 10接收用 户设置的超声波频率, 处理单元 30合成对应的频率的声波驱动信号, 从而驱动 超声波转换装置播放对应频率的超声波, 以使得终端可根据设置的超声波频率 不同进而驱动超声波转换装置播放不同频率的超声波, 使用灵活, 方便驱赶或 训练各种对超声波敏感频率不同的动物。
[0115]
[0116] 请参阅图 6, 图 6是本发明用于驱动超声波转换装置播放超声波的终端另一实施 例模块示意图。 本实施例与上一实施例大体相同, 不同在于本实施例参数信息 还包括样点的数量, 该样点的数量为正整数, 优选地, 该样点的数量大于 2。
[0117] 进一步地, 本实施例的程序模块还包括样点生成单元 60、 角度计算单元 61、 査 询单元 62、 转换单元 63以及预存单元 64。
[0118] 样点生成单元 60用于根据用户设置的样点的数量生成样点集合。 具体地, 样点 生成单元 60根据用户设置的数量生成样点集合, 样点集合为等差数列, 等差数 列中的项为正整数, 样点为等差数列中的项。 优选地, 样点的数量范围为 100-50 0, 等差数列的首项为 0, 公差值为 1, 例如, 在用户设置样点的数量为 100吋, 样点集合为: 0, 1, 2, 3, ......99。 当然, 该等差数列的首项与公差值也可以 为其它数值, 此处不作一一限定。
[0119] 角度计算单元 61用于计算样点集合中每一样点对应的角度。 具体地, 在每一样 点的数值已知的情况下, 角度计算单元 61通过公式6= 360°xM/n计算出每一样点 对应的角度 θ, 其中 η为样点的数量, Μ为样点, 即 Μ为等差数列中的项。
[0120] 査询单元 62用于基于角度在三角函数数据库中査询角度对应的函数值。 具体地 , 终端的三角函数数据库里形成有 0°至 360°每一角度的正弦、 余弦、 正切、 余切 分别对应的函数值, 査询单元 62根据样点对应的角度査询到对应的函数值。 优 选地, 本发明函数值为正弦值。
[0121] 转换单元 63将函数值转换为声波模拟值。 具体地, 转换单元 63根据输出函数值 所使用的寄存器的位数, 把函数值转换为与寄存器位数对应的声波模拟值, 例 如, 当终端输出函数值所使用的寄存器为 16位吋, 在函数值已知的情况下, 转 换单元 63通过公式 X=32768 + 32768a计算出每一函数值 a对应的声波模拟值 X。 优 选地, a=
sine, 由此可算出, 当 Θ为 0°吋, 转换后的声波模拟值为 32768; 当 Θ为 63°吋, 转 换后的声波模拟值为 65536; 当 Θ为 162°吋, 转换后的声波模拟值为 32768; 当 Θ 为 261°吋, 转换后的声波模拟值为 0; 当 Θ为 360°吋, 转换后的声波模拟值为 3276 8。
[0122] 预存单元 64用于预存转换后的声波模拟值。 预存单元 64可以为 RAM (Ramdom
Access Memory , 易挥发性随机存取存储器) 。
[0123] 由上述可知, 本实施例样点与声波模块值对应, 优选地, 声波模拟值的数量与 样点的数量相同, 也就是说, 声波模拟值的数量可通过用户设置的样点的数量 而获得。
[0124] 本实施例的用于驱动超声波转换装置播放超声波的终端通过用户在设置单元 10 设置的样点的数量, 样点生成单元 60生成多个样点以便合成高精度的声波驱动 信号输出, 该方案可根据设置的样点的数量不同进而可驱动超声波转换装置播 放不同精度的超声波, 使用灵活, 方便。
[0125]
[0126] 请参阅图 7, 图 7是本发明用于驱动超声波转换装置播放超声波的终端另一实施 例模块示意图。 本实施例与上一实施例大体相同, 不同在于本实施例处理单元 3 0包括读取单元 31、 吋钟单元 32、 中断单元 33、 寄存单元 34以及合成单元 35。
[0127] 读取单元 31用于按间隔吋长逐个读取预存单元 64中的声波模拟值。 吋钟单元 32 用于对间隔吋长进行计吋, 中断单元 33用于当吋钟单元 32计吋到达间隔吋长吋 执行中断读取单元 31读取预存单元 64中的声波模拟值。 具体地, 在读取单元 31 完成读取预存单元 64中的一个声波模拟值之后, 中断单元 33中断读取单元 31对 预存单元 64中的声波模拟值的读取, 与此同吋, 吋钟单元 32幵始计吋, 在吋间 到达间隔吋长吋, 读取单元 31读取预存单元中下一个声波模拟值, 在读取单元 3 1完成读取预存单元 64中的下一个声波模拟值之后, 中断单元 33再次中断读取单 元 31对预存单元 64中的声波模拟值的读取, 与此同吋, 吋钟单元 32计再次幵始 计吋, 如此重复, 直到预存单元 64中所有的声波模拟值读取完毕。
[0128] 寄存单元 34用于逐个读取后的声波模拟值。 优选地, 寄存单元 34为寄存器。
[0129] 合成单元 35用于将寄存单元 34的声波模拟值按间隔吋长逐一合成声波驱动信号 。 具体地, 合成单元 35将声波模拟值的数字信号合成接口能够识别的模拟信号 , 即声波驱动信号。 合成单元 35根据香农采样定理, 将所有的声波模拟值按间 隔吋长合成三角函数波形。 举例地, 如图 3a所示, 当函数值为正弦值吋, 合成单 元 35基于香农采样定理, 将所有的声波模拟值按间隔吋长合成正弦波形。
[0130]
[0131] 请参阅图 8, 图 8是本发明用于驱动超声波转换装置播放超声波的终端的另一实 施例模块示意图。 本实施例与上一实施例大体相同, 不同在于本实施例的信号 输出接口 50的电路包括: 电流输入端 Vcc、 地端 Gnd、 第一电阻 Rl、 第二电阻 R2 、 信号接入端 Input、 交流耦合电容 C1以及信号输出端 Ouput。
[0132] 第一电阻 Rl、 第二电阻 R2依次串联于电流输入端 Vcc与地端 Gnd之间以使得输 入的电压偏移 1/2, 从而使得超声波转换装置接收的超声波驱动信号为正的信号 , 交流耦合电容 C1并联于第一电阻 Rl、 第二电阻 R2之间, 该交流耦合电容 C1用 于隔直流信号通交流信号, 作为交流信号的超声波驱动信号依次经过信号接入 端 Input、 交流耦合电容 C1以及信号输出端 Ouput。
[0133] 优选地, 第一电阻 Rl、 第二电阻 R2均为 10万欧姆, 交流耦合电容 C1为 100纳法
[0134]
[0135] 请参阅图 9, 图 9是本发明用于驱动超声波转换装置播放超声波的系统的模块示 意图。 本发明的用于驱动超声波转换装置播放超声波的系统包括超声波转换装 置和上述终端, 超声波转换装置包括信号接收接口 201、 放大单元 202以及播放 单元 203。
[0136] 信号接收接口 201与信号输出接口 50插接, 用于接收超声波驱动信号。
[0137] 放大单元 202用于对信号接收接口 201传输的超声波驱动信号进行放大。 由于经 过无线或接口传输的超声波驱动信号为微弱信号, 通过放大单元 202对信号的放 大, 以减少超声波驱动信号失真现象。 优选地, 放大单元 202为信号放大电路。
[0138] 播放单元 203用于根据放大后的超声波驱动信号发出对应超声波频率的超声波
。 播放单元 203优选为压电陶瓷片, 可确保输出的超声波的频率与用户输入的超 声波频相同。
[0139] 进一步地, 超声波转换装置还包括闪光灯, 闪光灯用于根据信号接收接口接收 的超声波驱动信号按超声波频率的进行闪烁。
[0140] 进一步地, 用于驱动超声波转换装置播放超声波的系统还包括数据线, 信号输 出接口 50与信号接收接口 201通过数据线信号连接。
[0141] 本技术领域技术人员可以理解, 本发明所述的终端既包括无线信号接收器的设 备, 其仅具备无发射能力的无线信号接收器的设备, 又包括接收和发射硬件的 设备, 或者其具有能够在双向通信链路上, 执行双向通信的接收和发射硬件的 设备。 这种设备可以包括: 蜂窝或其他通信设备, 其具有单线路显示器或多线 路显示器或没有多线路显示器的蜂窝或其他通信设备; PCS (Personal
Communications Service, 个人通信系统) , 其可以组合语音、 数据处理、 传真 和 /或数据通信能力; PDA (Personal Digital Assistant, 个人数字助理) , 其可以 包括射频接收器、 寻呼机、 互联网 /内联网访问、 网络浏览器、 记事本、 日历和 / 或 GPS (Global Positioning System, 全球定位系统) 接收器; 常规膝上型和 /或掌 上型计算机或其他设备, 其具有和 /或包括射频接收器的常规膝上型和 /或掌上型 计算机或其他设备。 这里所使用的"终端"还可以是通信终端、 上网终端、 音乐 / 视频播放终端, 例如可以是平板电脑、 MID (Mobile Internet Device, 移动互联 网设备) 和 /或具有音乐 /视频播放功能的移动电话, 也可以是智能手表、 智能手 环。
[0142] 本发明的超声波转换装置可以是具有超声波转换器、 定位功能、 无线收发功能 、 LED灯等的宠物智能穿戴装置。 其中, LED灯可通过上述终端进行控制其闪亮 的频率, 以达到驱赶动物的目的。
[0143] 以上仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用本 发明说明书及附图内容所作的等效结构或等效流程变换, 或直接或间接运用在 其他相关的技术领域, 均同理包括在本发明的专利保护范围内。

Claims

权利要求书
一种用于驱动超声波转换装置播放超声波的方法, 其特征在于, 包括
终端接收用户设置的参数信息, 所述参数信息包括超声波频率; 根据所述超声波频率和预存的声波模拟值的数量计算间隔吋长; 根据所述间隔吋长将所述声波模拟值逐一合成超声波驱动信号; 向超声波转换装置传输所述超声波驱动信号。
根据权利要求 1所述的用于驱动超声波转换装置播放超声波的方法, 其特征在于, 所述参数信息还包括样点的数量, 所述根据所述超声波 频率和预存的声波模拟值的数量计算间隔吋长的步骤之前包括: 根据所述样点的数量生成样点集合, 所述样点集合为等差数列, 所述 等差数列中的项为正整数, 所述样点为所述等差数列中的项; 计算所述样点集合中每一所述样点对应的角度;
基于所述角度在所述三角函数数据库中査询所述角度对应的函数值; 将所述函数值转换为所述声波模拟值;
预存转换后的所述声波模拟值。
根据权利要求 2所述的用于驱动超声波转换装置播放超声波的方法, 其特征在于, 所述根据所述间隔吋长将所述声波模拟值逐一合成超声 波驱动信号的步骤包括:
按所述间隔吋长逐个读取预存的所述声波模拟值;
逐个寄存读取后的所述声波模拟值;
将寄存的所述声波模拟值按所述间隔吋长逐一合成超声波驱动信号。 根据权利要求 1所述的用于驱动超声波转换装置播放超声波的方法, 其特征在于, 所述将所述超声波驱动信号传输至超声波转换装置的步 骤之后包括:
所述超声波转换装置接收所述终端传输的所述超声波驱动信号; 对接收的所述超声波驱动信号进行放大;
根据放大后的所述超声波驱动信号发出对应所述超声波频率的超声波 [权利要求 5] 根据权利要求 2所述的用于驱动超声波转换装置播放超声波的方法, 其特征在于, 所述等差数列的首项为 0, 所述等差数列的公差值为 1, 所述函数值为正弦值。
[权利要求 6] 一种用于驱动超声波转换装置播放超声波的终端, 其特征在于, 包括 处理器和存储器, 所述处理器用于执行以下存储于所述存储器中的程 序模块:
设置单元, 用于接收用户设置的参数信息, 所述参数信息包括超声波 频率; 吋长计算单元, 用于根据所述超声波频率和预存的声波模拟值的数量 计算间隔吋长;
处理单元, 根据所述间隔吋长将所述声波模拟值逐一合成超声波驱动 信号;
传输单元, 用于将所述超声波驱动信号传输至信号输出接口。
[权利要求 7] 根据权利要求 6所述的用于驱动超声波转换装置播放超声波的终端, 其特征在于, 所述参数信息还包括样点的数量, 所述程序模块还包括
样点生成单元, 用于根据所述样点的数量生成样点集合, 所述样点集 合为等差数列, 所述等差数列中的项为正整数, 所述样点为所述等差 数列中的项。
角度计算单元, 计算所述样点集合中每一样点对应的角度; 査询单元, 用于基于所述角度在所述三角函数数据库中査询所述角度 对应的函数值;
转换单元, 将所述函数值转换为所述声波模拟值; 预存单元, 预存所述声波模拟值。
[权利要求 8] 根据权利要求 7所述的用于驱动超声波转换装置播放超声波的终端, 其特征在于, 所述处理单元包括:
读取单元, 用于按所述间隔吋长逐个读取所述预存单元中的所述声波 模拟值;
寄存单元, 用于逐个寄存读取后的所述声波模拟值;
合成单元, 用于将寄存的所述声波模拟值按所述间隔吋长逐一合超成 声波驱动信号。
根据权利要求 6所述的用于驱动超声波转换装置播放超声波的终端, 其特征在于, 所述信号输出接口包括: 电流输入端、 地端、 第一电阻 、 第二电阻、 信号接入端、 交流耦合电容以及信号输出端, 所述第一 电阻、 所述第二电阻依次串联于所述电流输入端与所述地端之间, 所 述交流耦合电容并联于所述第一电阻、 所述第二电阻之间, 所述超声 波驱动信号依次经过所述信号接入端、 所述交流耦合电容以及所述信 号输出端。
根据权利要求 9所述的用于驱动超声波转换装置播放超声波的终端, 其特征在于, 所述第一电阻、 所述第二电阻均为 10万欧姆, 所述交流 耦合电容为 100纳法。
根据权利要求 6所述的用于驱动超声波转换装置播放超声波的终端, 其特征在于, 所述信号输出接口为耳机接口。
根据权利要求 6所述的用于驱动超声波转换装置播放超声波的终端, 其特征在于, 所述终端为手机或平板电脑。
一种用于驱动超声波转换装置播放超声波的系统, 其特征在于, 包括 超声波转换装置和权利要求 6所述的用于驱动超声波转换装置播放超 声波的终端, 所述超声波转换装置包括:
信号接收接口, 与所述信号输出接口插接, 用于接收所述超声波驱动 信号;
放大单元, 用于对所述信号接收接口传输的所述超声波驱动信号进行 放大;
播放单元, 用于根据放大后的所述超声波驱动信号发出对应所述超声 波频率的超声波。
根据权利要求 13所述的用于驱动超声波转换装置播放超声波的系统, 其特征在于, 所述播放单元为压电陶瓷片。
[权利要求 15] 根据权利要求 13所述的用于驱动超声波转换装置播放超声波的系统, 其特征在于, 所述用于驱动超声波转换装置播放超声波的系统还包括 数据线, 所述信号输出接口与所述信号接收接口通过所述数据线信号
[权利要求 16] 根据权利要求 13所述的用于驱动超声波转换装置播放超声波的系统, 其特征在于, 所述超声波转换装置还包括闪光灯, 所述闪光灯用于根 据所述信号接收接口接收的所述超声波驱动信号按所述超声波频率的 进行闪烁。
PCT/CN2017/075054 2016-10-29 2017-02-27 用于驱动超声波转换装置播放超声波的方法、终端及系统 Ceased WO2018076586A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610922976.3 2016-10-29
CN201610922976.3A CN106508882B (zh) 2016-10-29 2016-10-29 用于驱动超声波转换装置播放超声波的方法、终端及系统

Publications (1)

Publication Number Publication Date
WO2018076586A1 true WO2018076586A1 (zh) 2018-05-03

Family

ID=58293010

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/075054 Ceased WO2018076586A1 (zh) 2016-10-29 2017-02-27 用于驱动超声波转换装置播放超声波的方法、终端及系统

Country Status (2)

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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2598582A (en) * 2020-09-02 2022-03-09 Meika Ltd Pest repellers

Citations (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 (zh) * 2008-12-12 2009-12-02 康佳集团股份有限公司 设有训狗器的手机
CN104049979A (zh) * 2014-07-01 2014-09-17 上海斐讯数据通信技术有限公司 一种通用超声波训狗器及训狗方法
CN105182818A (zh) * 2015-08-21 2015-12-23 张日华 基于rfid的宠物综合管理系统及方法
CN105766687A (zh) * 2016-04-27 2016-07-20 上海斐讯数据通信技术有限公司 一种训练动物的方法及系统

Family Cites Families (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
DE69019289T2 (de) * 1989-10-27 1996-02-01 Storz Instr Co Verfahren zum Antreiben eines Ultraschallwandlers.
CN2079868U (zh) * 1990-05-09 1991-07-03 刘古凤 超声波电子驱蚊器
CA2313035A1 (en) * 1999-07-01 2001-01-01 James Feine Ultrasonic control apparatus and method
JP4430997B2 (ja) * 2004-07-13 2010-03-10 富士フイルム株式会社 超音波送受信装置
CN2824437Y (zh) * 2005-08-09 2006-10-04 乐金电子(中国)研究开发中心有限公司 一种具有驱蚊功能的移动终端
CN101125327B (zh) * 2006-08-17 2010-12-08 杰迈电子股份有限公司 具复频扫描的超声波驱动装置
CN101247183B (zh) * 2007-02-15 2011-11-09 凌阳科技股份有限公司 基于超声波实现通讯的发送装置、接收装置、系统和方法
CN100573613C (zh) * 2007-02-15 2009-12-23 中国石油化工股份有限公司 一种模拟超声波地震信号物理激发、接收系统及其方法
CN201188833Y (zh) * 2008-03-25 2009-02-04 宇龙计算机通信科技(深圳)有限公司 一种电子驱蚊器及电子终端
JP5591549B2 (ja) * 2010-01-28 2014-09-17 株式会社東芝 超音波トランスデューサ、超音波プローブ、超音波トランスデューサの製造方法
CN102334471A (zh) * 2010-07-20 2012-02-01 上海酷吧信息技术有限公司 手机通过超声波原理进行驱蚊的方法
CN201893838U (zh) * 2010-11-24 2011-07-06 上海华勤通讯技术有限公司 具有驱蚊功能的手机
CN103926329B (zh) * 2014-04-04 2017-08-25 北京工业大学 一种基于单纯形法的半无限域基体涂层结构材料弹性性质获取方法
CN103947634A (zh) * 2014-04-28 2014-07-30 张秀琳 电子驱蚊蝇器
CN104897550A (zh) * 2015-06-17 2015-09-09 大连理工大学 一种确认碳纤维增强复合材料孔隙率与超声衰减系数关系的方法
CN105532634A (zh) * 2015-12-02 2016-05-04 小米科技有限责任公司 超声波驱蚊方法、装置及系统

Patent Citations (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 (zh) * 2008-12-12 2009-12-02 康佳集团股份有限公司 设有训狗器的手机
CN104049979A (zh) * 2014-07-01 2014-09-17 上海斐讯数据通信技术有限公司 一种通用超声波训狗器及训狗方法
CN105182818A (zh) * 2015-08-21 2015-12-23 张日华 基于rfid的宠物综合管理系统及方法
CN105766687A (zh) * 2016-04-27 2016-07-20 上海斐讯数据通信技术有限公司 一种训练动物的方法及系统

Also Published As

Publication number Publication date
CN106508882A (zh) 2017-03-22
CN106508882B (zh) 2019-07-30

Similar Documents

Publication Publication Date Title
US8583381B2 (en) Ultrasonic propagation time measurement system
CN100434863C (zh) 波接收设备和确定波接收的方法
RU2005105315A (ru) Коррекция звука на основе электрического импеданса в аудио устройствах и способ ее осуществления
ATE356975T1 (de) Feldgeräteelektronik mit einer sensoreinheit für die prozessmesstechnik
TW200612110A (en) Acoustic wave sensor
WO2006096465A3 (en) Stringed musical instrument device
CN103901479B (zh) 三维声波近探头104通道的微弱信号同步采集与处理系统
WO2004054319A1 (ja) スピーカとマイクロホン間の音波伝搬時間測定方法およびその装置
KR20140020720A (ko) 인간 생체 신호를 측정하기 위한 방법 및 이를 적용한 휴대 단말기
CN201294088Y (zh) 打击乐器拾音装置
WO2015165176A1 (zh) 终端及其测距的方法
CN202189417U (zh) 多功能无线门铃
CN106508882B (zh) 用于驱动超声波转换装置播放超声波的方法、终端及系统
EP1538740A4 (en) SIGNAL MOLDING DEVICE AND METHOD AND DECODER
RU2002119617A (ru) Устройство зондирования строительных конструкций
CN203026112U (zh) 一种无线电子琴系统
CN222979779U (zh) 一种多普勒雷达检测装置
Zhengdong et al. The ultrasonic distance alarm system based on MSP430F449
TWI250442B (en) Embedded oscillator for USB device and method for generating frequency signals thereof
CN107390223A (zh) 一种简易脉冲声测距装置
CN201251626Y (zh) 一种移动终端及导航装置
CN1453934A (zh) 一种不同频率同源信号发生器
TW200946947A (en) Device and method for automatically calibrating transducers
JP2977832B2 (ja) 音響式座標入力装置
ATE371312T1 (de) Empfangssignalpegelangabe

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17865792

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17865792

Country of ref document: EP

Kind code of ref document: A1