A kind of square dance music player based on ZigBee protocol and its application method
Technical field
The present invention relates to ZigBee protocol technical field, and in particular to a kind of square dance music dress based on ZigBee protocol
Put and its application method.
Background technology
Square dance has brought body-building benefit and spiritual enjoyment, often small wide with the higher residential neighborhood of crowd density
Field is the athletic ground of " body-building " square dance, and community resident participation is higher, big to surrounding environment influence.But, it is traditional
Square dance music rhythm is main using high power acoustics as sound source, and this sound equipment is not only bulky, builds difficulty, and in order to
The need for meeting every ginseng dancer, establishment officer must export dance music in the way of high-decibel.Therefore, surrounding resident family band is given
Noise jamming is seriously carried out, the social contradications conflict thus triggered also occurs often.
Chinese patent CN201410061096 discloses a kind of square dance wireless music system, including portable music is played
Device and audio wireless receiving arm band, portable music player are provided with wireless launcher, what portable music player was played
Music carries out signal transmitting by wireless launcher, and wireless receiving earphone is received from wireless transmission on portable music player
The music signal of device transmitting, while being provided with an audio wireless receiving arm band with every dancer, passes through wireless transmission
With reception music signal, allow each dancer clearly to hear music, to external world music noise will not be caused to disturb again,
It is suitable for the places such as any square, community.But typically all can ceaselessly be moved during people's jump square dance, such wireless receiving arm
Band is burden, influence square dance impression for motion.
Therefore it is badly in need of a kind of low noise music playing system for not needing user to carry at present, and is meeting GB_
In the case of 22337-2008 social living environments noise emission standard, the requirement of square dance is met.
ZigBee (ZigBee protocol) theory traffic rates are 250kbps, actual content transmission rate 100kbps or so, no
High quality of music communicating requirement can be met, but is then had a surplus for music control.
Zigbee current technologies do not reach also to be accurately positioned to mobile object, but for daily fixed position and is not moved
For dynamic positioning, by closing on the received signal strength indicator (RSSI) of radio frequency, the position of positioning needed for calculating.zigbee
In network, the engine of positioning radio frequency with known location is referred to as reference mode, and needs the node for calculating position location to be referred to as treating
Survey node.It is required that the unique information transmitted between reference mode and node to be measured is exactly X the and Y coordinates of reference mode.
Engine of positioning combines the RSSI values drawn according to the DATA REASONING of reference mode according to X the and Y coordinates received,
Calculate position location.
Sound phase(Picture)Instrument, also known as acoustical camera, are to utilize a range of sound-filed simulation of Microphone array measurement
Special equipment, the position of the sound sent available for measurement object and the state of acoustic radiating, and shown directly with cloud atlas mode
The image of sight, i.e. acoustic imaging are measured.
The content of the invention
The embodiments of the invention provide a kind of square dance music player based on ZigBee protocol and its application method with
Solve the problems, such as square dance noise jamming.
An object of the present invention is to obtain a kind of low noise music playing system for not needing user to carry.
The present invention is achieved through the following technical solutions above-mentioned purpose.
A kind of square dance music player based on ZigBee protocol and its application method, including main frame, paste slim sound
Happy broadcast unit, integral mean sound level meter, sensitivity building integral mean sound level meter, hum measurement device;By every
Dancer configures one and pastes slim music unit, realizes and is played near sound Zhi squares.
Main frame includes ZigBee protocol device, lithium battery, TF cards, music position analysis device, panning control device, music master
Sychronisation, playback main control unit;For determining each to paste slim music cell position, volume, content.
ZigBee protocol device is used to integrate with pasting slim music unit, integral mean sound level meter, sensitivity building
Average sound level meter, the communication of hum measurement device, and position their physical location.
TF cards are used to store music file.
Music position analysis device is analyzed by receiving the received signal strength of node to be measured to reference mode, is obtained
To the position for pasting slim music unit added successively.
Panning control device receives position and the volume for pasting slim music unit, passes through velocity of wave formation algorithm, meter
Calculate the sound-filed simulation of square dance scope.
Playback main control unit receives sound-filed simulation, integral mean sound level meter, the sensitivity building product of panning control device
The sound level that point average sound level meter, hum measurement device are transmitted, is controlled each to paste slim music respectively by predetermined scheme
The volume of unit, makes the sound-filed simulation of square dance scope meet national standard.
The main sychronisation of music provides music file playing progress rate, makes each paste slim music unit broadcasting identical
Music.
Slim music unit is pasted including orientation film loudspeaker, playback from control device, music from sychronisation, TF
Card, lithium battery, ZigBee protocol device, music sound level measurement apparatus, flat semicircle steel cage, viscous silica gel, switch.
Orientation film loudspeaker send sound by vibrating the entire surface of piezoelectric element and resin film.
Playback is used to receive the instruction of playback main control unit from control device, and slim music single vowel is pasted in control
Amount.
Music is used to receive the main sychronisation instruction of music from sychronisation, controls the music content played.
TF cards are for storing the music file as main frame.
ZigBee protocol device is for there is provided location measurement information with host communication.
Music sound level measurement apparatus is used to measure music sound level.
Flat semicircle steel cage is used for the slim music unit in protector ground, and slim music unit is not stepped on making patch
It is bad.
Viscous silica gel is located at flat semicircle steel cage earth terminal, and slim music unit is pasted on square for fixed
Face.
Switch and paste slim music unit for activating, into the ZigBee network of main frame.
A kind of use step of square dance music player based on ZigBee protocol and its application method.
Step 1:Music file on the TF cards of all ginseng dancers of host synchronization, the purple honeybee that can be added is set by digital certificate
Protocol apparatus.
Step 2:The physical location of main frame and minimum two reference modes is determined, ginseng dancer comes then first in demarcation daily
Main frame is placed in position and minimum two are pasted slim music unit;In square dance place integral mean sound level is placed outside for 3 meters
Sensitivity building integral mean sound level meter is placed outside meter, 1 meter of the sensitivity building near square dance place.
Step 3:Ginseng dancer comes one by one, each with joining the patch that dancer's carrying is controlled oneself slim music unit, and wiping
Clean ground silt, will paste slim music unit with the viscous silica gel for pasting slim music unit bottom and is fixed on
On ground.
Step 4:Ginseng dancer, which opens, pastes slim music unit switch, ZigBee protocol device addition main frame, the patch
Slim music unit is by host computer control, and main frame is according to the RSSI values received from reference mode, with calculating the patch slim sound
The position location of happy broadcast unit.
Step 5:Host computer control respectively pastes slim music unit while playing the same part with a piece of music, receives
Each music sound level measurement apparatus information, obtain acoustic imaging data, and specific slim music unit is pasted so as to adjust respectively
Volume.
Step 6:Main frame places integral mean sound level meter, sensitivity building integral mean sound level for 3 meters outside from square dance place
Meter obtains the equivalent sound level of square dance music, if above social living environment's noise emission standard, then turns down and pastes slim sound
The volume of happy broadcast unit, until meeting standard.
The beneficial effect of the inventive method is:Each ginseng dancer can hear the music of enough volumes, but effect on environment
Seldom, substantially it can't hear outside for 3 meters.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those skilled in the art, without having to pay creative labor, can be with root
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of square dance music player based on ZigBee protocol of the embodiment of the present invention and its application method figure.
Fig. 2 is making for a kind of square dance music player based on ZigBee protocol of the embodiment of the present invention and its application method
Use block diagram.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
A kind of square dance music players based on ZigBee protocol of embodiment l and its application method.
As shown in Figure l, a kind of square dance music player based on ZigBee protocol of the embodiment of the present invention and its user
Method, including main frame, paste slim music unit, integral mean sound level meter, sensitivity building integral mean sound level meter, background
Noise-measuring system;One is configured by every dancer and pastes slim music unit, is realized near sound Zhi squares
Play.
Main frame includes ZigBee protocol device, lithium battery, TF cards, music position analysis device, panning control device, music master
Sychronisation, playback main control unit;For determining each to paste slim music cell position, volume, content.
ZigBee protocol device is used to integrate with pasting slim music unit, integral mean sound level meter, sensitivity building
Average sound level meter, the communication of hum measurement device, and position their physical location.
TF cards are used to store music file.
Music position analysis device is analyzed by receiving the received signal strength of node to be measured to reference mode, is obtained
To the position for pasting slim music unit added successively.
Panning control device receives position and the volume for pasting slim music unit, passes through velocity of wave formation algorithm, meter
Calculate the sound-filed simulation of square dance scope.
Playback main control unit receives sound-filed simulation, integral mean sound level meter, the sensitivity building product of panning control device
The sound level that point average sound level meter, hum measurement device are transmitted, is controlled each to paste slim music respectively by predetermined scheme
The volume of unit, makes the sound-filed simulation of square dance scope meet national standard.
The main sychronisation of music provides music file playing progress rate, makes each paste slim music unit broadcasting identical
Music.
Slim music unit is pasted including orientation film loudspeaker, playback from control device, music from sychronisation, TF
Card, lithium battery, ZigBee protocol device, music sound level measurement apparatus, flat semicircle steel cage, viscous silica gel, switch.
Orientation film loudspeaker send sound by vibrating the entire surface of piezoelectric element and resin film.
Playback is used to receive the instruction of playback main control unit from control device, and slim music single vowel is pasted in control
Amount.
Music is used to receive the main sychronisation instruction of music from sychronisation, controls the music content played.
TF cards are for storing the music file as main frame.
ZigBee protocol device is for there is provided location measurement information with host communication.
Music sound level measurement apparatus is used to measure music sound level.
Flat semicircle steel cage is used for the slim music unit in protector ground, and slim music unit is not stepped on making patch
It is bad.
Viscous silica gel is located at flat semicircle steel cage earth terminal, and slim music unit is pasted on square for fixed
Face.
Switch and paste slim music unit for activating, into the ZigBee network of main frame.
A kind of use step of square dance music player based on ZigBee protocol and its application method.
Step 1:Music file on the TF cards of all ginseng dancers of host synchronization, the purple honeybee that can be added is set by digital certificate
Protocol apparatus.
Step 2:The physical location of main frame and minimum two reference modes is determined, ginseng dancer comes then first in demarcation daily
Main frame is placed in position and minimum two are pasted slim music unit;In square dance place integral mean sound level is placed outside for 3 meters
Sensitivity building integral mean sound level meter is placed outside meter, 1 meter of the sensitivity building near square dance place.
Step 3:Ginseng dancer comes one by one, each with joining the patch that dancer's carrying is controlled oneself slim music unit, and wiping
Clean ground silt, will paste slim music unit with the viscous silica gel for pasting slim music unit bottom and is fixed on
On ground.
Step 4:Ginseng dancer, which opens, pastes slim music unit switch, ZigBee protocol device addition main frame, the patch
Slim music unit is by host computer control, and main frame is according to the RSSI values received from reference mode, with calculating the patch slim sound
The position location of happy broadcast unit.
Step 5:Host computer control respectively pastes slim music unit while playing the same part with a piece of music, receives
Each music sound level measurement apparatus information, obtain acoustic imaging data, and specific slim music unit is pasted so as to adjust respectively
Volume.
Step 6:Main frame places integral mean sound level meter, sensitivity building integral mean sound level for 3 meters outside from square dance place
Meter obtains the equivalent sound level of square dance music, if above social living environment's noise emission standard, then turns down and pastes slim sound
The volume of happy broadcast unit, until meeting standard.
The use step of a kind of square dance music player based on ZigBee protocol of embodiment 2 and its application method.
As shown in Fig. 2 a kind of square dance music player based on ZigBee protocol of the embodiment of the present invention and its user
The use step of method.
Step 1:Music file on the TF cards of all ginseng dancers of host synchronization, the purple honeybee that can be added is set by digital certificate
Protocol apparatus.
Step 2:The physical location of main frame and minimum two reference modes is determined, ginseng dancer comes then first in demarcation daily
Main frame is placed in position and minimum two are pasted slim music unit;In square dance place integral mean sound level is placed outside for 3 meters
Sensitivity building integral mean sound level meter is placed outside meter, 1 meter of the sensitivity building near square dance place.
Step 3:Ginseng dancer comes one by one, each with joining the patch that dancer's carrying is controlled oneself slim music unit, and wiping
Clean ground silt, will paste slim music unit with the viscous silica gel for pasting slim music unit bottom and is fixed on
On ground.
Step 4:Ginseng dancer, which opens, pastes slim music unit switch, ZigBee protocol device addition main frame, the patch
Slim music unit is by host computer control, and main frame is according to the RSSI values received from reference mode, with calculating the patch slim sound
The position location of happy broadcast unit.
Step 5:Host computer control respectively pastes slim music unit while playing the same part with a piece of music, receives
Each music sound level measurement apparatus information, obtain acoustic imaging data, and specific slim music unit is pasted so as to adjust respectively
Volume.
Step 6:Main frame places integral mean sound level meter, sensitivity building integral mean sound level for 3 meters outside from square dance place
Meter obtains the equivalent sound level of square dance music, if above social living environment's noise emission standard, then turns down and pastes slim sound
The volume of happy broadcast unit, until meeting standard.
Apply specific embodiment in the present invention to be set forth the principle and embodiment of the present invention, above example
Explanation be only intended to help to understand the method and its core concept of the present invention;Simultaneously for those of ordinary skill in the art,
According to the thought of the present invention, it will change in specific embodiments and applications, in summary, in this specification
Appearance should not be construed as limiting the invention.