Utility model content
The shortcomings that the main purpose of the utility model is to overcome the prior arts and insufficient, provide it is a kind of can and synchronous music
The entertaining band music box of movement.
In order to achieve the above object, the utility model uses following technical scheme:
A kind of entertaining band music box that can be acted with synchronous music of the utility model, including baton, cartoon
Musician and music box body;
The music box body includes pedestal and upper cover, and the pedestal is equipped with round sound hole and control panel, it is described on
It covers equipped with stage lighting, activity context is drawn and curtain;The pedestal is equipped with multiple cartoon musician seats, each cartoon musician
All-purpose card musician is set on seat;The music box body interior is additionally provided with power supply module, controller, stage circuit for lamp, electromagnetism and drives
Dynamic circuit, MP3 module and key circuit;The power supply module, stage circuit for lamp, circuit driven by electromagnetic means, MP3 module, key
Circuit is connect with controller;
The baton external structure includes laser bore and power switch, inside be equipped with encoder, driver and
Laser, the encoder, driver, laser are linked in sequence;Power switch is used to control the on-off of laser;Laser is used
In generating coded laser light, prevent from generating malfunction when other laser illumination music boxs, when the laser alignment that laser generates
When a cartoon musician, cartoon musician movement is again directed to then stop acting when cartoon musician;
Cartoon musician head is provided with a light detection hole, and a photo resistance is arranged in light detection hole, and there is a card slot at middle part,
The card slot, according to the difference of music, different musical instruments is hung up to cartoon musician for corresponding musical instrument to be stuck in card slot;Card
The bottom of logical musician is equipped with ferromagnetic metal piece, for enhancing the suction-combining force when electromagnetic coil is powered to cartoon musician;Cartoon is happy
The bottom of hand set there are two with matched two location holes of locating rod, each hole is provided with metal spring, and when cartoon, musician is put
When entering corresponding metal locating rod on music box seat slot, one end of metal spring and metal locating rod are socketed, the other end and head
On photo resistance linked together by conducting wire;When controller controls the solenoid current of the pedestal lower part of cartoon musician
When switching, the process for being attracted, disconnecting is generated, under the spring effect in hole, keeps cartoon musician past above and below locating rod work
It is multiple mobile.
The power supply module includes power supply module and+9V interface as a preferred technical solution ,+9V interface for it is external+
9V DC power supply, can be by connecing the access of external direct current power supply line;Power supply module is used for the+9V DC voltage for being sent into+9V interface
+ 5V DC voltage is converted to, is powered for circuitry.
The stage circuit for lamp includes LED drive circuit and stage lighting as a preferred technical solution, and stage circuit for lamp is
Different color and brightness are generated under the 6 road PWM control of controller, the 6 road ends PWM of LED drive circuit and controller connect,
The LED that the driving voltage that generation frequency is different under the control of the controller, pulse duty factor is different is sent to stage lighting corresponds to pin
On.
The circuit driven by electromagnetic means includes driving circuit and electromagnetic coil, electromagnetic drive electricity as a preferred technical solution,
Electromagnetic coil is sent under the control of the controller, by the signal of different frequency, different pulse duty factor in road, generate different frequency,
The magnetic force of different the suction-combining forces is attracted cartoon musician and moves up and down in metal locating rod by different frequency and amplitude, driving circuit
In succession with the I/O port of controller;Electromagnetic coil is to form enameled wire using two metal locating rods as center coiling, with enhancing
The magnetic force generated after coil turn-on current.
The MP3 module is used to store the MP3 format file decoding in SD card as a preferred technical solution, described
MP3 mould is connect by a line serial ports end with controller, and in+key ,-key, rewind button, fast forward button, volume increasing, volume
Subtract and MP3 format file is played out under the control of key;Meanwhile the output end of MP3 module loudspeaker is linked into controller
One channel DAC is realized and carries out voice data acquisition to currently playing music signal.
The controller as a preferred technical solution, and is controlled for identification with the various working conditions of control music box
The work of MP3 module processed, the controller select stc15w4k56s4 type single-chip microcontroller, wherein 7 10, channel high-speed ADCs connect
The illuminance entered to 7 cartoon musicians carries out data acquisition, and 1 10, channel high-speed ADC is linked into MP3 currently playing music letter
Number carry out voice data acquisition;
Stage lighting controls its color and brightness by LED drive circuit by the 6 road ends PWM of controller.
The round sound hole is two as a preferred technical solution, is respectively provided with L channel inside two round sound holes
And right channel loudspeaker, round sound hole are used for outside the sound outflow to music box by loudspeaker.
The key circuit includes: the setting button with LED light, opening with LED light as a preferred technical solution,
Close button ,+key ,-key, fast forward button, rewind button, volume increases and volume down key.
The cartoon musician mats includes seat slot and metal locating rod as a preferred technical solution, the seat slot be used for
The pedestal of cartoon musician is clamped, and the bottom of each seat slot is equipped with the electromagnetic coil for being attracted a cartoon musician;Locating rod by
Two metallic rod compositions, on the one hand move up and down for positioning cartoon musician in locating rod, being on the other hand used for will
Controller in the head mounted photo resistance of cartoon musician and box realizes circuit connection.
The stage circuit for lamp is made of three RGB LED light emitting diodes as a preferred technical solution, in controller
Control under, can convert out different color according to the rhythm of music and the size of volume, simulate the lighting effects of stage;
The activity context picture is for matching corresponding picture before the lights according to different music, to enhance the scene of stage
Effect;The curtain is for cooperating stage lighting to generate different bias light and color, to enhance the color effect of stage.
The utility model compared with prior art, is had the following advantages and beneficial effects:
1, the band music box of innovative design can play the stereo music or song of any MP3 format in the utility model
Song can choose and be convenient for changing different music according to the different age group of children.
2, the change rate for the illuminance that the utility model is measured based on photo resistance in detection hole identifies manual setting shape
To the musical instrument of each cartoon musician with the appearance synchronization action of musical instrument in music or song under state, solve the musical instrument of music box with
Play the nonsynchronous problem of music.
3, the utility model goes out baton based on laser encoding technology innovative design, can command in a non contact fashion
Each cartoon musician acts, stops the time, the intelligent interaction of enhancing and user.
4, the utility model calculates the frequency range and music beat of music or song by TTF algorithm, and control is each
Cartoon musician carries out color and bright by the speed of the high, normal, basic difference and beat of frequency by music beat movement, RGB LED lamplight
Degree variation.
Embodiment
A kind of entertaining band music box that can be acted with synchronous music of the present embodiment, by music box body 1, baton
2,3 three parts of cartoon musician form;The utility model can need cartoon musician being placed on cartoon according to music or song
It on musician's seat, is placed on such as cartoon musician on most preceding position seat, for guitar sound on right side, guitar cartoon musician is placed on right side
On some seat, keep the music played in the position and music box of band or song scene consistent, can cultivate children hearing and
To the resolving power of different musical instruments.
The music box body as shown in Figure 1 includes pedestal and upper cover, and pedestal is equipped with round sound hole 4, control panel 5,
Cartoon musician 2 is set on the base, and the upper lid is equipped with stage lighting 3;
(1) round sound hole
Music box body front schematic view is as shown in Fig. 2, there are two cavernous round sound holes in music box body ontology front
4, left channel loudspeaker 7 and right channel loudspeaker 8 are respectively provided with inside round sound hole, round sound hole is used for the sound of loudspeaker
It spreads out of outside music box.
(2) control panel
Music box side schematic view is as shown in figure 3, control panel 5 is placed in the right side of music box body ontology, above respectively
Have:
Illuminated Switch key 9 presses Illuminated Switch key for controlling and indicate the on-off of power supply, red on & off switch
Color LED light is bright, and power supply is in an ON state;It clicks again, the red LED lamp on switch key is gone out, and power supply is in an off state;
Band lamp setting button 10, for cartoon musician to be arranged with the appearance synchronization action of musical instrument in music or song.It presses
With lamp setting button, the green LED lamp in setting button is bright, and circuit is in setting state, can be issued by baton
Coded laser light or the finger of people the upper detection hole of cartoon musician is blocked, control cartoon musician it is dynamic with it is motionless;It clicks again,
Green LED lamp in setting button is gone out, and circuit is in broadcast state, can play with show done with music with musical instrument it is synchronous dynamic
Band's scene of work.
SD card interface 11, for being inserted and removed from SD card;
+ key 12 ,-key 13, next, the upper music file for choosing current music song play;
Fast forward button 14, rewind button 15, for continuously choosing a next, upper music file for current music song
It plays;
Volume increases key 16, volume down key 17, for choosing the volume of current music song, continuously increases by volume
Key (arrow is upward), volume of music increase, and continuously press volume down key (arrow is downward), and volume of music reduces.
9V power interface 18, for accessing external+9V DC power supply in music box circuit.
(3) cartoon musician seat
Cartoon musician's seat structural schematic diagram is as shown in figure 4, cartoon musician seat is made of seat slot 19 and metal locating rod 20.Seat
Slot 19 is used to be clamped with the pedestal of cartoon musician, and the bottom of each seat slot is equipped with the electromagnetic coil with one cartoon musician of actuation
21;Locating rod 20 is made of two metallic rods, and effect has two, first is that for positioning cartoon musician and carrying out in locating rod
Lower movement, second is that positioning metal bar is used to the controller in the head mounted photo resistance of cartoon musician and box realizing that circuit connects
It connects.
(4) stage lighting
Stage lighting 22 is made of three RGB LED light emitting diodes, under the control of the controller, can be according to the rhythm of music
With the size of volume, different color is converted out, simulates the lighting effects of stage.
(5) activity context picture and curtain
Activity context draws 23 for, with corresponding picture before the lights, imitating according to different music to enhance the scene of stage
Fruit cultivates the picture sense of children;The effect of curtain 24 is for cooperating stage lighting to generate different bias light and color, to enhance dance
The color effect of platform cultivates the stereovision of children.
As shown in Fig. 5 (a), Fig. 5 (b), cartoon musician head is provided with a light detection hole 25, the built-in photosensitive electricity in hole
Resistance, there is a card slot at middle part, can be according to the difference of music for corresponding musical instrument to be stuck in card slot, and to cartoon, musician is hung up not
Same musical instrument;The bottom of cartoon musician is equipped with ferromagnetic metal piece 26, for enhancing when electromagnetic coil is powered to cartoon musician's
The suction-combining force;There are two the bottoms of cartoon musician and matched two location holes 27 of locating rod, and each hole is provided with metal spring
28, when cartoon musician is put into corresponding metal locating rod on music box seat slot, one end of metal spring and metal positioning arm cover
It connects, the other end is linked together with the photo resistance on head by conducting wire;When the pedestal lower part of controller control cartoon musician
Solenoid current switching when, be attracted, disconnect process, in hole spring effect under, make cartoon musician along positioning
Bar makees upper and lower reciprocating movement;
The stick internal circuit that serves as a conductor for an orchestra composition is as shown in fig. 7, by switching, battery, encoder, laser constitution.Band
Baton is for generating specific coding laser beam, and coded laser beam is issued from laser bore, when coded laser light signal beam is irradiated to
When the light detection hole on cartoon musician head, vocal music box receives coded laser beam and decodes into controller, is confirmed as baton
After the encoded signal of sending, corresponding cartoon musician movement is controlled.
(1) it switchs;
Switch is mounted on the root of baton, for controlling the transmitting of coded laser beam, selects tumbler switch, to
It is pushed forward to open, is to close to pusher.
(2) battery;
Battery is mounted on the rear portion of baton, for providing electric energy to baton, selects the button of two pieces of 1.5V
The series connection of formula battery, supplies power under the control of switch.
(3) encoder
The frequency of Laser Modulation impulse waveform can be arbitrarily arranged for generating specific Laser Modulation impulse waveform in encoder
And duty ratio.The purpose of coding is that the light beam for preventing other light or laser from generating is irradiated on cartoon musician, generates malfunction.
NE555 type integrated circuit is selected to realize the setting of the frequency and duty ratio of Laser Modulation impulse waveform.
(4) driver;
Driver is for driving laser to generate red laser beam.EL7516 type boost chip is selected to realize.Wherein,
2.7~5.5V input is converted to the constant voltage of 12V by EL7516 type boost chip, to drive laser works, for controlling
3 pins of the on-off of driver are connect with encoder, are generated and are exported with the consistent driving voltage of modulating pulse wave shape.
(5) laser;
Laser is for generating red laser beam under the driving of driver.12V power supply 3.8MM mode of laser group is selected, is swashed
Lens before light device mould group select extender lens, to increase the LASER SPECKLE of laser sending, convenient for users to being easily directed toward or
The head of inswept cartoon musician.
As shown in fig. 7, the cartoon musician is made of photo resistance, metal spring and sheet metal.
(1) photo resistance;
Photo resistance forms illuminance for receiving the coded laser beam and current environment light to come by light detection hole
Signal, and illuminance signal is transmitted on controller by metal spring and metal locating rod.Epoxy resin is selected to encapsulate light
Quick resistance is by ceramic substrate diameterModel GL3537-1 type photo resistance.
(2) metal spring;
Metal spring is mounted on the bottom two of cartoon musician in the matched two circular cavities of locating rod, is used for cartoon musician
Pedestal lower part solenoid current switching when, metal spring effect under, make cartoon musician along locating rod make above and below
It moves back and forth.The bottom end of metal spring and metal locating rod are socketed, to ensure the electric conductivity with locating rod, on the other end and head
Photo resistance linked together by conducting wire.
(3) sheet metal;
Sheet metal is mounted on the bottom of cartoon musician, for enhancing the suction-combining force when electromagnetic coil is powered to cartoon musician.
Music box internal circuit compositional block diagram as shown in fig. 7, comprises: circuit is by+9V interface, power supply module, SD card seat,
MP3 module, left and right loudspeaker, band lamp setting button, Illuminated Switch key ,+,-key, rewind, fast forward button, volume increase, subtract
Key, LED driver, RGB LED, controller, driving circuit, electromagnetic coil, metal locating rod composition.
(1) power-supplying circuit;
Power-supplying circuit includes power supply module and+9V interface.+ 9V interface is used for external+9V DC power supply, can be by connecing
The access of external direct current power supply line;Power supply module is used to the+9V DC voltage that+9V interface is sent into being converted to+5V DC voltage, is
Circuitry power supply, selects 7805 type circuit of three-terminal voltage-stabilizing integrated.
(2) controller;
Controller whole work with the various working conditions of control music box and control MP3 module for identification.Control
The effect of device be with+,-key, rewind, fast forward button, volume increase, subtract key, by a line serial ports control MP3 module synchronization broadcast
That releases the MP3 format in the corresponding page in SD card dubs file, and counts to the corresponding illuminance of each cartoon musician
According to acquisition, identify manually control or baton issue laser code, record each cartoon musician relative to
The period of music file movement, meanwhile, in playing music, currently playing music signal is sent into the A/D of controller
After end carries out voice data acquisition and Fast Fourier Transform (FFT) calculating, the frequency height point for playing music is automatically identified
Amount, range weight, frequency range etc. control stage lighting by the different beat range of music and frequency range and show different colors
And brightness, while corresponding cartoon musician the beat range and frequency range different by music are also controlled, do different amplitudes and frequency
Movement.Controller selects stc15w4k56s4 type single-chip microcontroller.Wherein, it is happy to be linked into 7 cartoons for 7 10, channel high-speed ADCs
The illuminance of hand carries out data acquisition, and 1 10, channel high-speed ADC is linked into MP3 currently playing music signal and carries out sound number
According to acquisition;Stage lighting controls its color and brightness by LED drive circuit by the 6 road ends PWM.
(3) stage circuit for lamp;
Stage circuit for lamp is made of LED drive circuit and stage lighting.Stage circuit for lamp is controlled in 6 road PWM of controller
It is lower to generate different color and brightness.LED drive circuit is connect with the 6 road ends PWM of control, generates frequency under the control of the controller
The LED that the driving voltage that rate is different, pulse duty factor is different is sent to stage lighting is corresponded on pin, selects 9926A type field-effect tube
As LED drive circuit.Stage lighting is used to generate the stage lighting effect of different color and brightness, selects 5mm mist common cathode
RGB LED.Its nominal operational voltage 3.3V (2.7V-3.8V), nominal drive current 20mA.
(4) circuit driven by electromagnetic means
Circuit driven by electromagnetic means is made of driving circuit and electromagnetic coil.Circuit under the control of the controller, by different frequency,
The signal of different pulse duty factors is sent into electromagnetic coil, generates the magnetic force of different frequency, different the suction-combining forces, is attracted cartoon musician and exists
It is moved up and down in metal locating rod by different different frequency and amplitude.The I/O port of driving circuit and controller in succession, is selected
9926A type field-effect tube is as driving circuit;Electromagnetic coil is to form enameled wire using two metal locating rods as center coiling,
With the magnetic force generated after intensifier coil turn-on current.
(5) MP3 module, loudspeaker and SD card
The effect of MP3 module is the MP3 format file decoding that will be stored in SD card, which passes through a line serial ports end and control
Device processed connection, and+,-key, rewind, fast forward button, volume, which increases, subtracts, broadcasts MP3 format file under the control of key
It puts;Meanwhile the output end of MP3 module loudspeaker is linked into a channel DAC of controller, realizes to currently playing music signal
Carry out voice data acquisition.MP3 module uses N9103 type MP3 decoding chip, and can directly push away two left and right loudspeakers of 0.25W
Work.Loudspeaker selects 8 Europe loudspeaker;The RAM card of SD card, that is, small dubs file and user's happiness for store MP3 format
Joyous music file, these files pass through the decoding of MP3 module, play out under the control of the controller through loudspeaker.
(6) Illuminated Switch key and with lamp setting button
Illuminated Switch key is used to control the on-off of 9V power supply, presses the button, powers on, the red in the key upper right corner
LED light is bright, does not otherwise work;It is used for the working condition of switching system with lamp setting button, presses the button, enters setting shape
The record color LED light of state, the key upper right corner is bright, does not otherwise work.
As shown in figure 8, the implementation method for the entertaining band music box that the utility model can be acted with synchronous music, including under
State step:
1. music state;
Music state, that is, band music box can be used as the working condition of MP3 music player.The detection of its state
Be with recognition methods: when controller identifies that Illuminated Switch key is to open, into music state, controller passes through a line
Serial ports calls first song being stored in SD card to start played in order MP3 music file.Meanwhile monitoring control devices+,-it presses
Key, rewind, fast forward button, volume increase, subtract whether key is pressed, such as press, controller then responds corresponding keypress function, passes through one
Line serial ports control MP3 module executes song and one, song is added to subtract one, song F.F., rewind, volume increasing, reducing.
2. manual setting state;
Time that manual setting state, that is, band music box can occur by the parent of children according to musical instrument in music and
Position acts the state being manually arranged to each cartoon musician on band music box.The detection of its state and identification side
Method is: when controller identifies that band lamp setting button is to open, and detecting that the corresponding illuminance value of some cartoon musician becomes smaller
After certain time interval T, it is determined as at cartoon musician's head detection hole being covered T time, as a hand with hand for parent
It is dynamic to block, then enter manual setting state.After being greater than T time, cartoon musician starts to do under control of the controller dynamic up and down
Make, until parent will cover T time at cartoon musician's head detection hole with hand again, as secondary manual shade, the card
Logical musician stops doing up and down action under control of the controller.Manual setting state recognition schematic diagram is as shown in Figure 9.Meanwhile by this
The starting of cartoon musician movement and dwell time, corresponding track number and corresponding song play time store the storage to controller
In device.It is to close when controller is identified with lamp setting button, i.e., it is every to be played to the song when music box enters music state
When certain musical instrument sound occurs in some period of purpose, the cartoon musician of corresponding hand-held corresponding musical instrument is moved up and down, and is realized bent
The time and position (i.e. left and right position) and the movement of the cartoon musician of hand-held musical instrument that musical instrument in mesh music occurs walk out of together
It is existing, resolution capability of the culture children to different musical instrument sounds.
It under manual setting state, can once be configured in the actuation time to multiple cartoon musicians and position, i.e., only
Need to be blocked the light detection hole on the cartoon musician head of multiple needs movements with hand.When needing to stop some cartoon musician's
When movement, the light detection hole on cartoon musician head need to be only blocked again with hand.
3. encoding setting state;
The cartoon musician that encoding setting state, that is, band music box can be specified according to children with baton, to band
Each cartoon musician on music box acts the state for carrying out time and position setting.The detection of its state is with recognition methods:
When controller identify band lamp setting button be open when, and detect the corresponding illuminance data variation rate of some cartoon musician with
When the coding set in controller is consistent, it is determined as receiving in children's baton at cartoon musician's head detection hole
Coded laser light spot irradiation, the received illuminance data variation rate of photo resistance is encoded signal, as has received one
Secondary laser code then enters encoding setting state.Cartoon musician starts to move up and down under control of the controller, until children
It is irradiated to cartoon musician's head detection hole with the coded laser light spot that baton issues again, is as had received secondary
Laser code, cartoon musician stop doing up and down action under control of the controller.Realize the function that baton conducts orchestra,
The ability cultivating the musicality of children and conducting orchestra.Encoding setting state recognition schematic diagram is as shown in Figure 10.
Meanwhile by the starting of cartoon musician movement and dwell time, corresponding track number and corresponding to song play time
It stores in the memory of controller.When controller identifies band lamp setting button to close, i.e., music box enters music shape
When state, when certain musical instrument sound occurs in every some period for being played to the song, the cartoon of corresponding hand-held corresponding musical instrument is happy
Hand moves up and down, and realizes time and position that verifying children use baton whether to occur with the musical instrument in song music
Unanimously, and encoding setting state can be reentered, is repeatedly corrected, understanding energy of the training children to music and various musical instruments
Power.
It under encoding setting state, can once be configured in the actuation time to multiple cartoon musicians and position, i.e., only
The LASER SPECKLE issued with baton is needed to irradiate the light detection hole on the cartoon musician head of multiple needs movements.When
When needing to stop the movement of some cartoon musician, only cartoon musician need to be irradiated again with the LASER SPECKLE issued with baton
The light detection hole on head.
4. stage effect state of a control;
While broadcast state, the knowledge of frequency and beat is carried out to currently playing music for stage effect state of a control
Not, driving cartoon musician, which keeps time, generates different colored and brightness variation by music frequency and beat with stage lighting.Its
The detection of state is with recognition methods: when controller identifies that Illuminated Switch key is to open, and band lamp setting switch key is pass,
Music box enters and then enters stage effect state of a control after broadcast state, and the port ADC of controller and MP3 module loudspeaker export
End connection carries out data acquisition to music is played, and carries out Fast Fourier Transform (FFT) operation to the data of acquisition, calculates
The frequency component of current music out is stored into memory.The time of some frequency component occurred every time according to low-frequency range can
Calculate the beat of the song.According to beat, controller calls the starting of cartoon musician movement and dwell time, corresponding song to compile
Number and corresponding song play time data, drive each cartoon musician to move up and down by the beat of the song;According to frequency model
It encloses and beat, controller generates 6 channel PWM waveforms of different in width, control and driving RGB LED light, make it by frequency senior middle school
The speed of low difference and beat carries out color and brightness change.
Above-described embodiment is the preferable embodiment of the utility model, but the embodiments of the present invention is not by above-mentioned
The limitation of embodiment, it is made under other any spiritual essence and principles without departing from the utility model to change, modify, replacing
In generation, simplifies combination, should be equivalent substitute mode, is included within the protection scope of the utility model.