CN111256238A - Direction adjusting method and system of negative ion generator and negative ion generator system - Google Patents
Direction adjusting method and system of negative ion generator and negative ion generator system Download PDFInfo
- Publication number
- CN111256238A CN111256238A CN202010079819.7A CN202010079819A CN111256238A CN 111256238 A CN111256238 A CN 111256238A CN 202010079819 A CN202010079819 A CN 202010079819A CN 111256238 A CN111256238 A CN 111256238A
- Authority
- CN
- China
- Prior art keywords
- signal
- voice control
- microphones
- negative ion
- sound source
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 150000002500 ions Chemical class 0.000 claims abstract description 66
- 150000001450 anions Chemical class 0.000 claims abstract description 30
- 230000015654 memory Effects 0.000 claims description 17
- 230000006870 function Effects 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 6
- 238000005070 sampling Methods 0.000 claims description 5
- 230000005236 sound signal Effects 0.000 claims description 4
- 238000001514 detection method Methods 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 abstract description 3
- 230000004807 localization Effects 0.000 abstract description 3
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 239000001301 oxygen Substances 0.000 description 5
- 229910052760 oxygen Inorganic materials 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- -1 oxygen ions Chemical class 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 2
- 239000003574 free electron Substances 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 102000004190 Enzymes Human genes 0.000 description 1
- 108090000790 Enzymes Proteins 0.000 description 1
- 241000047875 Pica hudsonia Species 0.000 description 1
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 1
- 230000004071 biological effect Effects 0.000 description 1
- 239000000919 ceramic Substances 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002124 endocrine Effects 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 239000007789 gas Substances 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000007935 neutral effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F3/00—Air-conditioning systems in which conditioned primary air is supplied from one or more central stations to distributing units in the rooms or spaces where it may receive secondary treatment; Apparatus specially designed for such systems
- F24F3/12—Air-conditioning systems in which conditioned primary air is supplied from one or more central stations to distributing units in the rooms or spaces where it may receive secondary treatment; Apparatus specially designed for such systems characterised by the treatment of the air otherwise than by heating and cooling
- F24F3/16—Air-conditioning systems in which conditioned primary air is supplied from one or more central stations to distributing units in the rooms or spaces where it may receive secondary treatment; Apparatus specially designed for such systems characterised by the treatment of the air otherwise than by heating and cooling by purification, e.g. by filtering; by sterilisation; by ozonisation
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61L—METHODS OR APPARATUS FOR STERILISING MATERIALS OR OBJECTS IN GENERAL; DISINFECTION, STERILISATION OR DEODORISATION OF AIR; CHEMICAL ASPECTS OF BANDAGES, DRESSINGS, ABSORBENT PADS OR SURGICAL ARTICLES; MATERIALS FOR BANDAGES, DRESSINGS, ABSORBENT PADS OR SURGICAL ARTICLES
- A61L9/00—Disinfection, sterilisation or deodorisation of air
- A61L9/16—Disinfection, sterilisation or deodorisation of air using physical phenomena
- A61L9/22—Ionisation
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/89—Arrangement or mounting of control or safety devices
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F8/00—Treatment, e.g. purification, of air supplied to human living or working spaces otherwise than by heating, cooling, humidifying or drying
- F24F8/30—Treatment, e.g. purification, of air supplied to human living or working spaces otherwise than by heating, cooling, humidifying or drying by ionisation
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Animal Behavior & Ethology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Soundproofing, Sound Blocking, And Sound Damping (AREA)
Abstract
The application discloses direction adjustment method of anion generator, it includes: detecting a voice control instruction; when the voice control instruction is detected, determining a sound source direction based on the voice control instruction; and controlling the negative ion generator to turn to the sound source direction. This application can confirm the user for the position that anion generator is located based on sound localization technique to orientation that can automatic adjustment anion generator, realized the directional transmission of automatic adjustment, the anion that makes anion generator send can be more efficient be used for solving user's demand.
Description
Technical Field
The application relates to the technical field of anion generators, in particular to a direction adjusting method and system of an anion generator and an anion generator system.
Background
The air negative ion refers to that some outer layer electrons are separated from the atomic nucleus and become free electrons under the action of excitation energy of neutral molecules in the air in nature, and the free electrons are quickly attached to gas molecules or atoms in pairs and are particularly easily attached to oxygen molecules or water molecules to become air negative ions. According to the theory adopted by the International Union of geodetics and geophysics, the atmospheric council, the molecular formula of the negative ion of air is O-2(H2O) n or OH-(H2O) n or H3O-2(H2O) n (n is 5 to 6).
People have perceptual knowledge on negative ions in ancient times. Ancient Indians often like to choose the places for practicing yoga in forests beside waterfalls, and the air in the places contains negative oxygen ions with higher concentration, so that the feeling of fresh air and smooth breath can be brought to people.
In 1889, german scientists Elster and Gertel discovered the presence of airborne anions; systematic research is carried out by Philip Lionad doctor in Germany physicist at the end of the nineteenth century aiming at the influence of negative ions on human bodies, which indicates that the negative oxygen ions in the air have certain efficacy on human health and finds that the concentration of the negative oxygen ions around the waterfall is higher. The Russian scientist Azulshler in 1903 first published a paper of treating diseases with negative oxygen ions. Since then, the negative ions have been extensively studied and developed, and in the middle of the 20 th century, professor a.p. kragan of the university of california in the united states has elucidated the microscopic mechanism of the biological effect of the negative ions, and has systematically studied in terms of human endocrine and influence on enzymes.
The negative ion generator converts current into negative ions through a negative ion converter such as piezoelectric ceramics and the like, and the negative ions are emitted out through airflow. The concentration of negative ions is related to the negative ion conversion material and the current, and if higher negative ion concentration is desired, great power is needed, which puts higher requirements on power supply and safety problems. The conventional negative ion generator only has high negative ion concentration in the direction facing the negative ion generator, and cannot well meet the use requirements of people.
Disclosure of Invention
The embodiment of the application provides a direction adjustment method and system for an anion generator and an anion generator system, which are used for solving at least one of the technical problems.
In a first aspect, an embodiment of the present application provides a method for adjusting a direction of a negative ion generator, including:
detecting a voice control instruction;
when the voice control instruction is detected, determining a sound source direction based on the voice control instruction;
and controlling the negative ion generator to turn to the sound source direction.
In a second aspect, an embodiment of the present application provides a direction adjustment system for a negative ion generator, which includes:
the detection module is used for detecting a voice control instruction;
the sound source direction determining module is used for determining the direction of a sound source based on the voice control instruction when the voice control instruction is detected;
and the control module is used for controlling the negative ion generator to turn to the direction of the sound source.
In a third aspect, the present application also provides an anion generator system comprising:
a base;
the negative ion generator device is rotatably arranged on the base;
the driving device is used for driving the negative ion generator device to rotate;
control means for performing the method of any preceding embodiment to determine the direction of the sound source and for controlling the operation of the drive means to steer the anion generator means towards the direction of the sound source.
In a fourth aspect, embodiments of the present application provide a storage medium, where one or more programs including execution instructions are stored, where the execution instructions can be read and executed by an electronic device (including but not limited to a computer, a server, or a network device, etc.) to perform any one of the above-mentioned methods for adjusting the direction of a negative ion generator of the present application.
In a fifth aspect, an electronic device is provided, comprising: the ion generator comprises at least one processor and a memory communicatively connected with the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method for adjusting the direction of the ion generator.
In a sixth aspect, the present application further provides a computer program product comprising a computer program stored on a storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform any one of the above-mentioned methods for adjusting the orientation of a negative ion generator.
The beneficial effects of the embodiment of the application are that: this application can confirm the user for the position that anion generator is located based on sound localization technique to orientation that can automatic adjustment anion generator, realized the directional transmission of automatic adjustment, the anion that makes anion generator send can be more efficient be used for solving user's demand.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart of an embodiment of a method for adjusting the orientation of an anion generator according to the present application;
FIG. 2 is an architectural diagram of one embodiment of an goniometric system of the present application;
FIG. 3 is a cumulative distribution diagram of angle error probability in the present application;
FIG. 4 is a schematic block diagram of an embodiment of a system for adjusting the direction of an anion generator according to the present application
Fig. 5 is a schematic structural diagram of an embodiment of an electronic device of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In this application, "module," "device," "system," and the like refer to the relevant entity, either hardware, a combination of hardware and software, or software in execution, that applies to a computer. In particular, for example, an element may be, but is not limited to being, a process running on a processor, an object, an executable, a thread of execution, a program, and/or a computer. Also, an application or script running on a server, or a server, may be an element. One or more elements may be in a process and/or thread of execution and an element may be localized on one computer and/or distributed between two or more computers and may be operated by various computer-readable media. The elements may also communicate by way of local and/or remote processes based on a signal having one or more data packets, e.g., from a data packet interacting with another element in a local system, distributed system, and/or across a network in the internet with other systems by way of the signal.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
As shown in fig. 1, an embodiment of the present application provides a method for adjusting a direction of a negative ion generator, including:
s10, detecting a voice control instruction;
s20, when the voice control instruction is detected, determining the direction of a sound source based on the voice control instruction;
and S30, controlling the negative ion generator to turn to the sound source direction.
The beneficial effects of the embodiment of the application are that: this application can confirm the user for the position that anion generator is located based on sound localization technique to orientation that can automatic adjustment anion generator, realized the directional transmission of automatic adjustment, the anion that makes anion generator send can be more efficient be used for solving user's demand.
In some embodiments, a microphone sensor array module is used to detect voice control commands, and the microphone sensor array module includes a plurality of microphones, a plurality of codec chips, and a microprocessor, wherein each of the microphones is connected to a corresponding codec chip, and the plurality of codec chips are connected to the microprocessor.
In some embodiments, said determining a sound source direction based on said voice control instruction comprises:
(1) through a template matching mode, after the voice control command is detected, the sound signals of the voice control command are recorded by all the microphones and recorded as signals1(m),signal2(m),……,signaln(m) wherein signali(m) represents the acoustic signal strength of the m-th sampling point of the acoustic sensor of the i-th microphone;
(2) will signal1(m) and signal2(m) performing normalized cross-correlation operation, wherein the calculation method comprises the following steps:
wherein exp represents an exponential operation with e as the base; i is an imaginary unit; s1(k) Is signal1(m) the result of the discrete Fourier transform, representing the signal1(m) magnitude-phase values of the frequency components at k; s2(k) Is signal2(m) the result of the discrete Fourier transform, representing the signal2(m) magnitude-phase values of the frequency components at k; r12(τ) is signal1(m) and signal2(m) normalized cross-correlation result representing a phase difference τ time signal1(m) and signal2(m) degree of correlation;
similarly, R can be calculated23(τ),R34(τ),……,R(n-1)n(τ);
(3) Respectively calculating each normalized cross-correlation result Ri(i+1)Maximum value of (max R)i(i+1)And maximum value position posi(i+1):
max(Ri(i+1))=maxRi(i+1)=Ri(i+1)(maxii)
This position represents the difference in arrival time of sound at the ith and i +1 st microphones;
(4) and (3) taking the average value of the arrival time differences of the microphones, and obtaining the angle of the target according to the geometric relation:
where θ is the estimated angle, arccos is the inverse cosine function, avgi=0,1……n-1(posi(i-1)) Denotes the respective maximum value positions pos in (3)i(i+1)D is the actual distance of two adjacent microphones.
The method can effectively overcome the defects that the concentration of negative ions generated by the traditional negative ion generator is insufficient and the power is too high, collects voice signals sent by a user through a microphone array, responds to a user instruction, calculates the azimuth information of the user, rotates the negative ion generator to the position of the user, emits directional negative ions, and enables the concentration of the negative ions nearby the user to reach the standard. The invention is composed of a controller, an acoustic signal array, a steering engine and a negative ion generator. Firstly, a user sends out a sound to control the system; and then, the system responds to the instruction of the user, processes the acoustic signal acquired by the acoustic array through a preset algorithm to obtain the angle of the user, and finally adjusts the emission direction of the negative ion generator through a steering engine.
In some embodiments, the system architecture and hardware components used are as shown in FIG. 2. The STM32F407 chip is used as a microprocessor chip, WM R is used as an audio coding and decoding chip, a 9767 microphone element is used, and MG996R is used as a steering engine. In this embodiment, three microphone elements and three audio codec chips are used, and the microphone elements are spaced at 10cm intervals.
The following describes the implementation steps of the distance estimation method:
(1) the voice signal response: after a user sends a voice instruction signal, such as 'turning on the anion generator', the microphone array receives the voice instruction, and the microprocessor responds to the voice instruction, such as turning on the anion generator.
(2) Angle estimation: after receiving a voice command sent by a human, each array element (microphone) of the microphone sensor array module collects an acoustic signal, filtering is carried out to filter out frequency bands except for human voice, and then angle estimation is carried out by adopting a GCC-PHAT algorithm to obtain the sounding direction of a user.
(3) Angle adjustment: and after the direction of the user is obtained, the steering engine rotates the negative ion generator until the negative ion generator is over against the direction of the user.
Wherein the step (2) comprises the following substeps:
(1) through a template matching mode, after the voice control command is detected, the sound signals of the voice control command are recorded by all the microphones and recorded as signals1(m),signal2(m),……,signaln(m) wherein signali(m) represents the acoustic signal strength of the m-th sampling point of the acoustic sensor of the i-th microphone;
(2) will signal1(m) and signal2(m) performing normalized cross-correlation operation, wherein the calculation method comprises the following steps:
wherein exp represents an exponential operation with e as the base; i is an imaginary unit; s1(k) Is signal1(m) the result of the discrete Fourier transform, representing the signal1(m) magnitude-phase values of the frequency components at k; s2(k) Is signal2(m) the result of the discrete Fourier transform, representing the signal2(m) magnitude-phase values of the frequency components at k; r12(τ) is signal1(m) and signal2(m) normalized cross-correlation result representing a phase difference τ time signal1(m) and signal2(m) degree of correlation;
similarly, signal can be calculated2(m) and signal3(m) normalized cross-correlation result R23(τ), and signal3(m) and signal4(m) normalized cross-correlation result R34(τ),……,R(n-1)n(τ);
(3) Respectively calculating each normalized cross-correlation result Ri(i+1)Maximum value of (max R)i(i+1)And maximum value position posi(i+1):
max(Ri(i+1))=maxRi(i+1)=Ri(i+1)(maxi)
This position represents the difference in arrival time of sound at the ith and i +1 st microphones;
(4) and (3) taking the average value of the arrival time differences of the microphones, and obtaining the angle of the target according to the geometric relation:
where θ is the estimated angle, arccos is the inverse cosine function, avgi=0,1……n-1(posi(i-1)) Denotes the respective maximum value positions pos in (3)i(i+1)D is the actual distance between two adjacent microphones, and d takes a value of 0.1m。
Based on the above parameters and arrangement modes, an angle estimation experiment is performed in an indoor environment, the measured angles include 0 °,16.5 °,32.5 °,42 °,60 °, and 90 °, 10 groups of data are measured at each angle, and after the distance estimated value and the true value are processed and compared, an angle error probability cumulative distribution graph is obtained as shown in fig. 3. It can be seen that more than 70% of errors are within 4 degrees, and 90% of errors are within 6 degrees, so that the requirement of directional enhancement of the negative ion generator can be met.
It is noted that while for simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present application is not limited by the order of acts, as some steps may, in accordance with the present application, occur in other orders and concurrently. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application. In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
As shown in fig. 4, an embodiment of the present application further provides a direction adjustment system 400 of a negative ion generator, which includes:
a detection module 410 for detecting a voice control instruction;
a sound source direction determining module 420, configured to determine a sound source direction based on the voice control instruction when the voice control instruction is detected;
and the control module 430 is used for controlling the negative ion generator to turn to the sound source direction.
In some embodiments, a microphone sensor array module is used to detect voice control commands, and the microphone sensor array module includes a plurality of microphones, a plurality of codec chips, and a microprocessor, wherein each of the microphones is connected to a corresponding codec chip, and the plurality of codec chips are connected to the microprocessor.
In some embodiments, said determining a sound source direction based on said voice control instruction comprises:
(1) through a template matching mode, after the voice control command is detected, recording an acoustic signal of the voice control command by each microphone, and recording the acoustic signal as a signal1(m),signal2(m),……,signaln(m) wherein signali(m) represents the acoustic signal strength of the m-th sampling point of the acoustic sensor of the i-th microphone;
(2) will signal1(m) and signal2(m) performing normalized cross-correlation operation, wherein the calculation method comprises the following steps:
wherein exp represents an exponential operation with e as the base; i is an imaginary unit; s1(k) Is signal1(m) the result of the discrete Fourier transform, representing the signal1(m) magnitude-phase values of the frequency components at k; s2(k) Is signal2(m) the result of the discrete Fourier transform, representing the signal2(m) magnitude-phase values of the frequency components at k; r12(τ) is signal1(m) and signal2(m) normalized cross-correlation result representing a phase difference τ time signal1(m) and signal2(m) degree of correlation;
similarly, R can be calculated23(τ),R34(τ),……,R(n-1)n(τ);
(3) Respectively calculating each normalized cross-correlation result Ri(i+1)Maximum value of (max R)i(i+1)And maximum value position posi(i+1):
max(Ri(i+1))=maxRi(i+1)=Ri(i+1)(maxi)
This position represents the difference in arrival time of sound at the ith and i +1 st microphones;
(4) and (3) taking the average value of the arrival time differences of the microphones, and obtaining the angle of the target according to the geometric relation:
where θ is the estimated angle, arccos is the inverse cosine function, avgi=0,1……n-1(posi(i-1)) Denotes the respective maximum value positions pos in (3)i(i+1)D is the actual distance of two adjacent microphones.
In some embodiments, the present application further provides a negative ion generator system comprising:
a base;
the negative ion generator device is rotatably arranged on the base;
the driving device is used for driving the negative ion generator device to rotate;
control means for performing the method of any one of claims 1 to 3 to determine the direction of the sound source and controlling the operation of the drive means to steer the anion generator means to the direction of the sound source.
In some embodiments, the present application provides a non-transitory computer-readable storage medium, in which one or more programs including executable instructions are stored, and the executable instructions can be read and executed by an electronic device (including but not limited to a computer, a server, or a network device, etc.) to perform any one of the above-mentioned methods for adjusting the direction of a negative ion generator.
In some embodiments, the present application further provides a computer program product comprising a computer program stored on a non-volatile computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform any of the above-described methods of orientation adjustment of a negative ion generator.
In some embodiments, the present application further provides an electronic device, which includes: at least one processor, and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of orientation adjustment of a negative ion generator.
In some embodiments, the present application further provides a storage medium having a computer program stored thereon, which when executed by a processor, implements a method of adjusting the orientation of a negative ion generator.
The above direction adjustment system for a negative ion generator in this embodiment of the present application can be used to execute the direction adjustment method for a negative ion generator in this embodiment of the present application, and accordingly achieves the technical effect achieved by the above direction adjustment method for a negative ion generator in this embodiment of the present application, which is not described herein again. In the embodiment of the present application, the relevant functional module may be implemented by a hardware processor (hardware processor).
Fig. 5 is a schematic diagram of a hardware structure of an electronic device for performing a method of adjusting a direction of a negative ion generator according to another embodiment of the present application, and as shown in fig. 5, the electronic device includes:
one or more processors 510 and memory 520, with one processor 510 being an example in fig. 5.
The apparatus for performing the direction adjustment method of the negative ion generator may further include: an input device 530 and an output device 540.
The processor 510, the memory 520, the input device 530, and the output device 540 may be connected by a bus or other means, and the bus connection is exemplified in fig. 5.
The memory 520, which is a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the direction adjustment method of the negative ion generator in the embodiment of the present application. The processor 510 executes various functional applications of the server and data processing by running the nonvolatile software programs, instructions and modules stored in the memory 520, that is, implements the direction adjustment method of the negative ion generator according to the above-described method embodiment.
The memory 520 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the direction adjustment device of the negative ion generator, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory 520 optionally includes memory remotely located from the processor 510, and these remote memories may be connected to the orientation adjustment mechanism of the negative ion generator via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 530 may receive input numeric or character information and generate signals related to user settings and function control of the orientation adjustment device of the negative ion generator. The output device 540 may include a display device such as a display screen.
The one or more modules are stored in the memory 520 and, when executed by the one or more processors 510, perform the method of orientation adjustment of a negative ion generator in any of the method embodiments described above.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the embodiments of the present application.
The electronic device of the embodiments of the present application exists in various forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. Based on such understanding, the above technical solutions substantially or contributing to the related art may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (9)
1. A method for adjusting the direction of an anion generator is characterized by comprising the following steps:
detecting a voice control instruction;
when the voice control instruction is detected, determining a sound source direction based on the voice control instruction;
and controlling the negative ion generator to turn to the sound source direction.
2. The method of claim 1, wherein the voice control command is detected using a microphone sensor array module, the microphone sensor array module comprising a plurality of microphones, a plurality of codec chips, and a microprocessor, wherein each of the microphones is connected to a corresponding codec chip, and wherein the plurality of codec chips are connected to the microprocessor.
3. The method of claim 2, wherein the determining a sound source direction based on the voice control instruction comprises:
(1) through a template matching mode, after the voice control command is detected, the sound signals of the voice control command are recorded by all the microphones and recorded as signals1(m),signal2(m),……,signaln(m) wherein signali(m) represents the acoustic signal strength of the m-th sampling point of the acoustic sensor of the i-th microphone;
(2) will signal1(m) and signal2(m) performing normalized cross-correlation operation, wherein the calculation method comprises the following steps:
wherein exp represents an exponential operation with e as the base; i isAn imaginary unit; s1(k) Is signal1(m) the result of the discrete Fourier transform, representing the signal1(m) magnitude-phase values of the frequency components at k; s2(k) Is signal2(m) the result of the discrete Fourier transform, representing the signal2(m) magnitude-phase values of the frequency components at k; r12(τ) is signal1(m) and signal2(m) normalized cross-correlation result representing a phase difference τ time signal1(m) and signal2(m) degree of correlation;
similarly, R can be calculated23(τ),R34(τ),……,R(n-1)n(τ);
(3) Respectively calculating each normalized cross-correlation result Ri(i+1)Maximum value of (max R)i(i+1)And maximum value position posi(i+1):
max(Ri(i+1))=maxRi(i+1)=Ri(i+1)(maxi)
This position represents the difference in arrival time of sound at the ith and i +1 st microphones;
(4) and (3) taking the average value of the arrival time differences of the microphones, and obtaining the angle of the target according to the geometric relation:
where θ is the estimated angle, arccos is the inverse cosine function, avgi=0,1……n-1(posi(i-1)) Denotes the respective maximum value positions pos in (3)i(i+1)D is the actual distance of two adjacent microphones.
4. A direction adjustment system of an anion generator, comprising:
the detection module is used for detecting a voice control instruction;
the sound source direction determining module is used for determining the direction of a sound source based on the voice control instruction when the voice control instruction is detected;
and the control module is used for controlling the negative ion generator to turn to the direction of the sound source.
5. The system of claim 4, wherein the voice control command is detected using a microphone sensor array module, the microphone sensor array module comprising a plurality of microphones, a plurality of codec chips and a microprocessor, wherein each of the microphones is connected to a corresponding codec chip, and wherein the plurality of codec chips are connected to the microprocessor.
6. The system of claim 5, wherein the determining a sound source direction based on the voice control instruction comprises:
(1) through a template matching mode, after the voice control command is detected, the sound signals of the voice control command are recorded by all the microphones and recorded as signals1(m),signal2(m),……,signaln(m) wherein signali(m) represents the acoustic signal strength of the m-th sampling point of the acoustic sensor of the i-th microphone;
(2) will signal1(m) and signal2(m) performing normalized cross-correlation operation, wherein the calculation method comprises the following steps:
wherein exp represents an exponential operation with e as the base; i is an imaginary unit; s1(k) Is signal1(m) the result of the discrete Fourier transform, representing the signal1(m) magnitude-phase values of the frequency components at k; s2(k) Is signal2(m) the result of the discrete Fourier transform, representing the signal2(m) magnitude-phase values of the frequency components at k; r12(τ) is signal1(m) and signal2(m) normalized cross-correlation result representing a phase difference τ time signal1(m) and signal2(m) degree of correlation;
similarly, R can be calculated23(τ),R34(τ),……,R(n-1)n(τ);
(3) Respectively calculating each normalized cross-correlation result Ri(i+1)Maximum value of (max R)i(i+1)And maximum value position posi(i+1):
max(Ri(i+1))=maxRi(i+1)=Ri(i+1)(maxi)
This position represents the difference in arrival time of sound at the ith and i +1 st microphones;
(4) and (3) taking the average value of the arrival time differences of the microphones, and obtaining the angle of the target according to the geometric relation:
where θ is the estimated angle, arccos is the inverse cosine function, avgi is 0, 1 … … n-1 (pos)i(i-1)) Denotes the respective maximum value positions pos in (3)i(i+1)D is the actual distance of two adjacent microphones.
7. An anion generator system comprising:
a base;
the negative ion generator device is rotatably arranged on the base;
the driving device is used for driving the negative ion generator device to rotate;
control means for performing the method of any one of claims 1 to 3 to determine the direction of the sound source and controlling the operation of the drive means to steer the anion generator means to the direction of the sound source.
8. An electronic device, comprising: at least one processor, and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the method of any one of claims 1-3.
9. A storage medium on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 3.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010068669X | 2020-01-21 | ||
CN202010068669 | 2020-01-21 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111256238A true CN111256238A (en) | 2020-06-09 |
Family
ID=70947122
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010079819.7A Pending CN111256238A (en) | 2020-01-21 | 2020-02-04 | Direction adjusting method and system of negative ion generator and negative ion generator system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111256238A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114060960A (en) * | 2020-08-03 | 2022-02-18 | 广东美的制冷设备有限公司 | Negative oxygen ion concentration control method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192411A (en) * | 2007-12-27 | 2008-06-04 | 北京中星微电子有限公司 | Large distance microphone array noise cancellation method and noise cancellation system |
CN102209988A (en) * | 2008-09-11 | 2011-10-05 | 弗劳恩霍夫应用研究促进协会 | Apparatus, method and computer program for providing a set of spatial cues on the basis of a microphone signal and apparatus for providing a two-channel audio signal and a set of spatial cues |
CN102804809A (en) * | 2010-02-23 | 2012-11-28 | 皇家飞利浦电子股份有限公司 | Audio source localization |
CN104898091A (en) * | 2015-05-29 | 2015-09-09 | 复旦大学 | Microphone array self-calibration sound source positioning system based on iterative optimization algorithm |
CN106369773A (en) * | 2016-11-15 | 2017-02-01 | 北京小米移动软件有限公司 | Method and device for controlling air supply of air conditioner |
CN109254265A (en) * | 2018-11-12 | 2019-01-22 | 广西交通科学研究院有限公司 | A kind of whistle vehicle positioning method based on microphone array |
-
2020
- 2020-02-04 CN CN202010079819.7A patent/CN111256238A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192411A (en) * | 2007-12-27 | 2008-06-04 | 北京中星微电子有限公司 | Large distance microphone array noise cancellation method and noise cancellation system |
CN102209988A (en) * | 2008-09-11 | 2011-10-05 | 弗劳恩霍夫应用研究促进协会 | Apparatus, method and computer program for providing a set of spatial cues on the basis of a microphone signal and apparatus for providing a two-channel audio signal and a set of spatial cues |
CN102804809A (en) * | 2010-02-23 | 2012-11-28 | 皇家飞利浦电子股份有限公司 | Audio source localization |
CN104898091A (en) * | 2015-05-29 | 2015-09-09 | 复旦大学 | Microphone array self-calibration sound source positioning system based on iterative optimization algorithm |
CN106369773A (en) * | 2016-11-15 | 2017-02-01 | 北京小米移动软件有限公司 | Method and device for controlling air supply of air conditioner |
CN109254265A (en) * | 2018-11-12 | 2019-01-22 | 广西交通科学研究院有限公司 | A kind of whistle vehicle positioning method based on microphone array |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114060960A (en) * | 2020-08-03 | 2022-02-18 | 广东美的制冷设备有限公司 | Negative oxygen ion concentration control method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109506568B (en) | Sound source positioning method and device based on image recognition and voice recognition | |
CN105793723B (en) | It is self-positioning using the microphone of moving sound | |
CN102447697B (en) | Method and system of semi-private communication in open environments | |
CN104254819B (en) | Audio user interaction identification and context refinements | |
JP7239668B2 (en) | Verification of the player's real-world location using image data of landmarks corresponding to the verification path | |
US10957338B2 (en) | 360-degree multi-source location detection, tracking and enhancement | |
WO2016040885A1 (en) | Systems and methods for restoration of speech components | |
TW201424408A (en) | Method and apparatus for determining dominant sound source directions in a higher order ambisonics representation of a sound field | |
US20170094223A1 (en) | Attenuation of Loudspeaker in Microphone Array | |
US12003946B2 (en) | Adaptable spatial audio playback | |
CN112492207B (en) | Method and device for controlling camera to rotate based on sound source positioning | |
Zhong et al. | Active binaural localization of multiple sound sources | |
CN111256238A (en) | Direction adjusting method and system of negative ion generator and negative ion generator system | |
Plinge et al. | Multi-speaker tracking using multiple distributed microphone arrays | |
JP2021518923A (en) | Methods, devices and systems for encoding and decoding directional sources | |
CN114355289B (en) | Sound source positioning method, sound source positioning device, storage medium and computer equipment | |
CN109859769B (en) | Mask estimation method and device | |
JP2018180542A (en) | Method and system for multi-modal interaction with acoustic equipment connected to network | |
CN109872723A (en) | Building information processing method and device based on artificial intelligence | |
Meyer et al. | Detection thresholds in audio-visual redirected walking | |
Gburrek et al. | Geometry calibration in wireless acoustic sensor networks utilizing DoA and distance information | |
US20190019520A1 (en) | Ambisonic encoder for a sound source having a plurality of reflections | |
Kim et al. | Improved binaural sound localization and tracking for unknown time-varying number of speakers | |
CN103486997B (en) | Lens coverage determines method and system | |
CN112261236B (en) | Method and equipment for mute processing in multi-person voice |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200609 |
|
RJ01 | Rejection of invention patent application after publication |