CN104616409B - A kind of sound-producing device and method - Google Patents
A kind of sound-producing device and method Download PDFInfo
- Publication number
- CN104616409B CN104616409B CN201510073855.1A CN201510073855A CN104616409B CN 104616409 B CN104616409 B CN 104616409B CN 201510073855 A CN201510073855 A CN 201510073855A CN 104616409 B CN104616409 B CN 104616409B
- Authority
- CN
- China
- Prior art keywords
- module
- submodule
- voice output
- chip microcomputer
- described voice
- 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.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B3/00—Audible signalling systems; Audible personal calling systems
- G08B3/10—Audible signalling systems; Audible personal calling systems using electric transmission; using electromagnetic transmission
-
- E—FIXED CONSTRUCTIONS
- E04—BUILDING
- E04F—FINISHING WORK ON BUILDINGS, e.g. STAIRS, FLOORS
- E04F11/00—Stairways, ramps, or like structures; Balustrades; Handrails
- E04F11/02—Stairways; Layouts thereof
- E04F11/104—Treads
-
- E—FIXED CONSTRUCTIONS
- E04—BUILDING
- E04F—FINISHING WORK ON BUILDINGS, e.g. STAIRS, FLOORS
- E04F11/00—Stairways, ramps, or like structures; Balustrades; Handrails
- E04F11/02—Stairways; Layouts thereof
- E04F11/104—Treads
- E04F2011/1046—Miscellaneous features of treads not otherwise provided for
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Architecture (AREA)
- Electromagnetism (AREA)
- General Physics & Mathematics (AREA)
- Civil Engineering (AREA)
- Structural Engineering (AREA)
- Optical Communication System (AREA)
Abstract
The invention discloses a kind of sound-producing device and method, it is applied to music step, described sound-producing device includes:Supply module, signal acquisition module, main control module and voice output module, described signal acquisition module is connected with described main control module, described voice output module is connected with described main control module, described supply module is connected with described signal acquisition module, described main control module and described voice output module respectively, and described signal acquisition module is arranged at the step of described music step.It is an object of the invention to provide a kind of sound-producing device, to effectively improve the interest of stair climbing, to make people be inclined to selection stair climbing and not select to take elevator.
Description
Technical field
The present invention relates to audible advertiser or devices field, in particular to a kind of sound-producing device and method.
Background technology
With the popularization of elevator, it is ready that the number taking elevator is far longer than the number of stair activity, except being to be not desired to spend
Time, take beyond muscle power, be mainly also because thinking that stair climbing is very uninteresting, dull, especially public in some large-scale amusements
Place, because people is many etc., reason people are more likely to take elevator.
But, China is second production of energy state and country of consumption in the world at present.The growth of energy supply, is economic society
Can develop and provide important support, simultaneously the rapid growth of energy-consuming, also bring very big test, the whole world one to China
Half energy is consumed by building., as important auxiliary facility in urban construction, its power consumption is particularly noticeable for elevator.
Content of the invention
It is an object of the invention to provide a kind of sound-producing device, to effectively improve the interest of stair climbing, to make people
Tendency selects stair climbing not select to take elevator.
In a first aspect, a kind of sound-producing device that the present invention provides, it is applied to music step, described sound-producing device includes:For
Electric module, signal acquisition module, main control module and voice output module, described signal acquisition module is with described main control module even
Connect, described voice output module is connected with described main control module, described supply module respectively with described signal acquisition module, described
Main control module and described voice output module connect, and described signal acquisition module is arranged at the step of described music step;
Described signal acquisition module is used for trigger collection signal, and described trigger includes the sense that people produces when step
Induction signal;
Described main control module is used for, when obtaining the trigger of described signal acquisition module collection, sending speech play and referring to
Make to described voice output module, trigger described voice output module and play music.
In conjunction with a first aspect, the embodiment of the present invention additionally provides the first possible embodiment of first aspect, wherein, institute
State main control module to include:Signal processing submodule and voice output control submodule, described signal processing submodule and institute's predicate
Sound output control submodule connects, and described signal acquisition module is connected with described signal processing submodule, described voice output control
System module is connected with described voice output module;
Described signal processing submodule, the magnitude of voltage of the trigger for gathering described signal acquisition module is converted to
The control signal matching with the impulse level of described main control module;
Described voice output control submodule, for when receiving described control signal, send speech play instruct to
Described voice output module, the described voice output module of triggering plays music.
In conjunction with the first possible embodiment of first aspect, the embodiment of the present invention additionally provides the second of first aspect
Possible embodiment, wherein, described signal acquisition module includes infrared opposite-radiation formula photoswitch, described infrared opposite-radiation formula light
Electric switch includes infrared transmission module and infrared receiving module, red in the corresponding installation in both sides of every floor ladder of described music step
Emission module and infrared receiving module, described infrared receiving module is connected with described signal processing submodule.
In conjunction with the second possible embodiment of first aspect, the embodiment of the present invention additionally provides the third of first aspect
Possible embodiment, wherein, described signal processing submodule includes photoelectrical coupler, described infrared receiving module and described photoelectricity
The light emitting diode negative pole end of bonder connects, and the light emitting diode positive terminal of described photoelectrical coupler is with described supply module even
Connect, the colelctor electrode of the phototriode of described photoelectrical coupler is connected with described voice output control submodule, described smooth thermocouple
The grounded emitter of the phototriode of clutch.
In conjunction with the third possible embodiment of first aspect, the embodiment of the present invention additionally provides the 4th kind of first aspect
Possible embodiment, wherein, described voice output control submodule includes voice single-chip microcomputer, the input port of described voice single-chip microcomputer
It is connected with the colelctor electrode of the phototriode of described photoelectrical coupler.
In conjunction with the 4th kind of possible embodiment of first aspect, the embodiment of the present invention additionally provides the 5th kind of first aspect
Possible embodiment, wherein, described voice output control submodule also includes first resistor and the first light emitting diode, described confession
Electric module is connected with the power end of described voice single-chip microcomputer, the power end of one end of described first resistor and described voice single-chip microcomputer
Connect, the other end of described first resistor is connected with the positive terminal of described first light emitting diode, described first light emitting diode
Negative pole end be connected with the speech play busy signal outfan of described voice single-chip microcomputer.
In conjunction with the 5th kind of possible embodiment of first aspect, the embodiment of the present invention additionally provides the 6th kind of first aspect
Possible embodiment, wherein, described voice output control submodule also includes wave filter, the audio output of described voice single-chip microcomputer
Foot is connected with described wave filter, and described wave filter is connected with described voice output module;
Wherein, described wave filter includes second resistance, the first electric capacity and the first polar capacitor, the sound of described voice single-chip microcomputer
The frequency output pin positive terminal with one end, one end of described first electric capacity and described first polar capacitor of described second resistance respectively
Connect, the negative pole end of described first polar capacitor is connected with the input of described voice output module, described second resistance another
The other end of one end and described first electric capacity is all connected with the earth terminal of described voice output module.
In conjunction with the 6th kind of possible embodiment of first aspect, the embodiment of the present invention additionally provides the 7th kind of first aspect
Possible embodiment, wherein, described voice output control submodule also includes key switch, and described key switch includes two and touches
Point, a contact ground of described key switch, another contact of described key switch is connected with the reset terminal of described voice single-chip microcomputer
Connect.
In conjunction with the 7th kind of possible embodiment of first aspect, the embodiment of the present invention additionally provides the 8th kind of first aspect
Possible embodiment, wherein, described supply module includes the first power supply submodule, the second power supply submodule and the 3rd power supply submodule
Block, described first power supply submodule output 12V voltage, described second power supply submodule output 5V voltage, described 3rd supplied for electronic
Module exports 3.3V voltage, and described first power supply submodule is connected with described infrared opposite-radiation formula photoswitch, for for described
Infrared opposite-radiation formula photoswitch is powered, the light emitting diode positive terminal of described second power supply submodule and described photoelectrical coupler
Connect, described 3rd power supply submodule is connected with the power end of described voice single-chip microcomputer, for powering for described voice single-chip microcomputer.
Second aspect, the embodiment of the present invention additionally provides a kind of vocal technique, is applied to music step, described sound-producing device
Including:Supply module, signal acquisition module, main control module and voice output module, described supply module respectively with described signal
Acquisition module, described main control module and described voice output module connect, and described signal acquisition module is arranged on described Music Radio
At the step of rank, methods described includes:
Described signal acquisition module trigger collection signal, described trigger includes the sensing letter that people produces when step
Number;
Described main control module obtains the trigger of described signal acquisition module collection, sends speech play and instructs to described
Voice output module, the described voice output module of triggering plays music.
The embodiment of the present invention detects whether someone through step by the signal acquisition module being arranged at described step, when
Someone is detected through out-of-date, the signal of collection is converted to the signal of telecommunication and sends to described main control module by described signal acquisition module,
Trigger voice output module output voice signal described in described master control module controls.Dry ladder phase with prior art
Ratio, by being arranged on described sound-producing device on existing ladder, when people are through the ladder of stair, is sent out by the embodiment of the present invention
Go out voice signal, described voice signal can be the music with graceful melody, effectively increase the interest of stair climbing, so that
People are made to be inclined to selection stair climbing and not select to take elevator.
Further, described signal acquisition module is infrared opposite-radiation formula photoswitch, in every floor of described music step
The both sides of ladder are corresponding to install infrared transmission module and infrared receiving module, therefore, corresponds to installation one in the both sides of each step
Individual infrared transmission module and an infrared receiving module, the infrared ray that described infrared transmission module sends is by described infrared receiving
Block receives.The embodiment of the present invention be avoid described infrared opposite-radiation formula photoswitch installation site improper, for example, certain step
Infrared opposite-radiation formula photoswitch installation site is too high, when not stepping down on this step directly across this step, described infrared
Line correlation photoswitch still detects someone and passes through, the infrared transmission module of described infrared opposite-radiation formula photoswitch and red
Infrared light between outer receiver module is blocked, and makes described voice output module play voice, therefore, easily causes music step
Speech play chaotic.For this reason, in the embodiment of the present invention, the installation site of described infrared opposite-radiation formula photoswitch is relatively low, makes
The foot position when people steps down on step for the infrared ray radiation between described infrared transmission module and described infrared receiving module.
Effectively reduce when for example not stepping down on this step directly across this step, the situation that music play by described music step by mistake is sent out
Raw.
Further, because the output voltage of described infrared opposite-radiation formula photoswitch is too high, under normal circumstances for 10V, institute
The running voltage stating main control module is less than the output voltage of described infrared opposite-radiation formula photoswitch it is generally the case that described master
The running voltage of control module is between 2.8V to 5.5V, the output voltage of described infrared opposite-radiation formula photoswitch cannot with described
The running voltage coupling of main control module.For this reason, the embodiment of the present invention is by the characteristic of described photoelectrical coupler, at described infrared
When penetrating the infrared ray between module and described infrared receiving module and being blocked, the output voltage of described infrared receiving module is low electricity
Flat, so that the negative pole end level of the light emitting diode within described photoelectrical coupler is pulled low, and then make described photoelectric coupling
Light emitting diode within device is lit, and so that the phototriode within described photoelectrical coupler is turned on, makes described voice output
The input of control submodule is pulled low, and then triggers described voice output module broadcasting music.
In addition, described photoelectrical coupler be capable of described signal acquisition module and described voice output control submodule it
Between electric isolution, effectively increase electrical isolation capabilities and the capacity of resisting disturbance of described sound-producing device.
Further, by described first light emitting diode, the embodiment of the present invention indicates that described voice output module is in voice
Broadcast state.Wherein, when the phototriode conducting in described photoelectrical coupler, the negative pulse of generation makes described voice monolithic
Machine enters plays music status, the speech play busy signal outfan output low level of described voice single-chip microcomputer, so that described
First lumination of light emitting diode, instruction is in music state.
Further, the voice signal tool that described first polar capacitor of the embodiment of the present invention exports to described voice single-chip microcomputer
Filter high-frequency sasser, described second resistance and the first electric capacity constitute wave filter, are used for filtering described voice monolithic
Burr in the voice signal of machine output.
Other features and advantages of the present invention will illustrate in subsequent description, and, partly becomes from description
It is clear that or being understood by implementing the embodiment of the present invention.The purpose of the present invention and other advantages can be by being write
In description, claims and accompanying drawing, specifically noted structure is realizing and to obtain.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment
Need use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only the present invention some enforcement
Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also obtain according to these accompanying drawings
Obtain other accompanying drawings.By, shown in accompanying drawing, the above and other purpose of the present invention, feature and advantage will become apparent from.Whole
Identical reference instruction identical part in accompanying drawing.Deliberately do not press actual size equal proportion scaling and draw accompanying drawing, emphasis
It is to illustrate the purport of the present invention.
Fig. 1 shows a kind of structured flowchart of the embodiment of sound-producing device provided in an embodiment of the present invention;
Fig. 2 shows the structured flowchart of the embodiment of another kind sound-producing device provided in an embodiment of the present invention;
Fig. 3 shows a kind of circuit of the embodiment of signal processing submodule of sound-producing device provided in an embodiment of the present invention
Schematic diagram;
Fig. 4 shows a kind of another embodiment of the signal processing submodule of sound-producing device provided in an embodiment of the present invention
Circuit theory diagrams
Fig. 5 shows a kind of circuit theory of the voice output control submodule of sound-producing device provided in an embodiment of the present invention
Figure;
Fig. 6 shows a kind of circuit theory diagrams of the second power supply submodule of sound-producing device provided in an embodiment of the present invention;
Fig. 7 shows a kind of method flow diagram of the embodiment of vocal technique provided in an embodiment of the present invention.
Specific 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
Whole description is it is clear that described embodiment is only a part of embodiment of the present 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 not making creative work
Embodiment, broadly falls into the scope of protection of the invention.
The embodiment of the present invention is applied to music step, at present, with the popularization of elevator, is ready to take the number of elevator much
More than the number of stair activity, in addition to being to be not desired to take time, take muscle power, mainly also it is because thinking that stair climbing is very withered
Dry, dull, especially in some large-scale amusement public places, because people is many etc., reason people are more likely to take elevator.
But, China is second production of energy state and country of consumption in the world at present.The growth of energy supply, is economic society
Can develop and provide important support, simultaneously the rapid growth of energy-consuming, also bring very big test, the whole world one to China
Half energy is consumed by building., as important auxiliary facility in urban construction, its power consumption is particularly noticeable for elevator.
Thus, improve the interest of stair climbing, to make people be inclined to selection stair climbing and not select to take elevator, no
The body constitution of the people only can be tempered, and energy resource consumption can be reduced.Therefore, embodiments provide one kind and be applied to sound
The sound-producing device of happy step, as shown in figure 1, described device includes:Supply module 104, signal acquisition module 101, main control module
102 and voice output module 103, described signal acquisition module 101 is connected with described main control module 102, described voice output mould
Block 103 is connected with described main control module 102, described supply module 104 respectively with described signal acquisition module 101, described master control
Module 102 and described voice output module 103 connect, and described signal acquisition module 101 is arranged on the step of described music step
Place.
Described supply module 104 is described signal acquisition module 101, described main control module 102 and described voice output mould
Block 103 is powered, and described signal acquisition module 101 steps down in, for gathering someone, the step being provided with described signal acquisition module 101
The induced signal producing when upper, such as, by being arranged on pressure transducer on described step, when someone tramples, collect pressure
Force signal;Or by the both sides of step corresponding installation generating laser and photoconductive resistance, the resistance value of described photoconductive resistance
Change according to the light intensity being received and change, therefore, when someone blocks the light being radiated in described photoconductive resistance, described
Photoconductive resistance is able to detect that induced signal when step for the someone;Furthermore it is also possible to pass through correlation Photoelectric infrared switch
The induced signal that detection someone produces when step, such as, when someone is through step, it is red that human body has blocked described correlation
Light between the infrared transmission module of outer photoswitch and infrared receiving module, makes described infrared receiving module produce because of light
Voltage reduce.
When described signal acquisition module 101 collects someone and walks on step, described signal acquisition module 101 collection has
The induced signal that people produces when step, described induced signal is input in described main control module 102, described main control module
102 control described voice output module 103 to send voice signal after obtaining described induced signal, and described voice signal can be
Music or other voice signals.
Therefore, compared with the dry ladder of prior art, the embodiment of the present invention is passed through to pacify described sound-producing device
Be contained on existing ladder, when people are through the ladder of stair, send voice signal, described voice signal can be have excellent
The music of U.S. melody, effectively increases the interest of stair climbing, to make people be inclined to selection stair climbing and not select to take electricity
Ladder, the body constitution of the people not only can be tempered, and energy resource consumption can be reduced.
The structured flowchart of the embodiment of another kind sound-producing device provided in an embodiment of the present invention as shown in Figure 2, described dress
Put including:Supply module 205, infrared opposite-radiation formula photoswitch 201, main control module 203 and voice output module 204, described
Main control module 203 includes signal processing submodule 2031 and voice output control submodule 2032, described infrared opposite-radiation formula light
Electric switch 201 is connected with signal processing submodule 2031, signal processing submodule 2031 and voice output control submodule 2032
Connect, described voice output control submodule 2032 is connected with described voice output module 204, described supply module 205 is respectively
It is connected with described infrared opposite-radiation formula photoswitch 201, described main control module 203 and described voice output module 204, described red
Outside line correlation photoswitch 201 is arranged at the step of described music step.
In the embodiment of the present invention, the described signal acquisition module in Fig. 1 adopts infrared opposite-radiation formula photoswitch, described red
Outside line correlation photoswitch 201 includes infrared transmission module and infrared receiving module, in every floor ladder of described music step
Both sides corresponding infrared transmission module and infrared receiving module are installed.The embodiment of the present invention is to avoid described infrared opposite-radiation formula light
The installation site of electric switch is improper, and for example, the infrared opposite-radiation formula photoswitch installation site of certain step is too high, when not stepping down in this
When on step directly across this step, described infrared opposite-radiation formula photoswitch still detects someone and passes through, described infrared
Infrared light between the infrared transmission module of line correlation photoswitch and infrared receiving module is blocked, and makes described voice output
Module plays voice, and therefore, the speech play easily causing music step is chaotic.
In addition, with by being arranged at step pressure transducer, the described pressure transducer collection when someone tramples is pressed
Force value, and cause described pressure transducer easily damaged and when people is through step but when not stepping down on described pressure transducer,
Music cannot be play, the defect causing accuracy not high is compared, the embodiment of the present invention is by described infrared opposite-radiation formula photoswitch
It is arranged on the both sides of stair, area occupied is little and can effectively prevent from being trampled on, in addition, adopting described infrared opposite-radiation formula photoelectricity
The induced signal that switch 201 collection someone produces when step, flood step is all described infrared opposite-radiation formula photoswitch
201 detection range, effectively increases degree of accuracy.
Described signal processing submodule 2031 is used for will be defeated for the infrared receiving module of described infrared opposite-radiation formula photoswitch
After the signal processing going out, input to described voice output control submodule 2032, for example, described infrared opposite-radiation formula photoswitch
Infrared receiving module output magnitude of voltage be 10V, the running voltage of described main control module is 3.3V-5V, described main control module
Input receive described infrared opposite-radiation formula photoswitch infrared receiving module output signal voltage in 3.3V-5V
Between when, described main control module judges that described infrared receiving module exports high impulse level, the input termination of described main control module
When the voltage of the signal of described infrared receiving module output received is less than 1.7V, described main control module judges described infrared receiving
Block exports low impulse level, the magnitude of voltage of therefore described infrared receiving module output and the impulse level of described infrared receiving module
Mismatch, described signal processing submodule need to adjust the output of described infrared receiving module voltage swing so as to described master control
The impulse level of module 203 matches.
In the embodiment of the present invention, the described signal processing submodule 2031 in described main control module 203 is used for described letter
The magnitude of voltage of the trigger of number acquisition module collection is converted to the control letter matching with the impulse level of described main control module
Number, will the voltage conversion of described infrared receiving module output be the control letter matching with the impulse level of described main control module
Number, the processing mode of described signal processing submodule 2031 can be to reduce described infrared receiving module output by blood pressure lowering chip
The mode of voltage or make described infrared receiving module outfan connect one switch, by described infrared receiving module output
Voltage is changed into voice output control submodule 2032 described in switch level, for when receiving described control signal, sending language
Sound play instruction plays music to described voice output module 204, the described voice output module 204 of triggering.
In the embodiment of the present invention, described signal processing submodule 2021 can be photoelectrical coupler, described infrared receiving
Block is connected with the light emitting diode negative pole end of described photoelectrical coupler, the light emitting diode positive terminal of described photoelectrical coupler and institute
State supply module 205 to connect, the colelctor electrode of the phototriode of described photoelectrical coupler and described voice output control submodule
2032 connections, the grounded emitter of the phototriode of described photoelectrical coupler 202.
In the embodiment of the present invention, the circuit theory of described signal processing submodule is as shown in figure 3, described infrared receiving module
It is connected with the negative pole end of the light emitting diode of described photoelectrical coupler U1, the positive pole of the light emitting diode of described photoelectrical coupler U1
End is connected with one end of 3rd resistor R3, and the other end of described 3rd resistor R3 is connected with described supply module, described power supply mould
Block is connected with one end of the 4th resistance R4, the other end of described 4th resistance R4 and the phototriode of described photoelectrical coupler U1
Colelctor electrode connect, the grounded emitter of the phototriode of described photoelectrical coupler U1, described photoelectrical coupler U1's is photosensitive
The colelctor electrode of audion is connected with described voice output control submodule.
Because the output voltage of described infrared opposite-radiation formula photoswitch is too high, under normal circumstances for 10V, described master control mould
The running voltage of block is less than the output voltage of described infrared opposite-radiation formula photoswitch it is generally the case that described main control module
Running voltage is that between 2.8V to 5.5V, the output voltage of described infrared opposite-radiation formula photoswitch cannot be with described main control module
Running voltage coupling.For this reason, the embodiment of the present invention is by the characteristic of described photoelectrical coupler, in described infrared transmission module and
When infrared ray between described infrared receiving module is blocked, the output voltage of described infrared receiving module is low level, thus
So that the negative pole end level of the light emitting diode within described photoelectrical coupler is pulled low, and then make within described photoelectrical coupler
Light emitting diode is lit, and so that the phototriode within described photoelectrical coupler is turned on, and makes described voice output control submodule
The input of block is pulled low, and then triggers described voice output module broadcasting music.
Described photoelectrical coupler is capable of between described signal acquisition module and described voice output control submodule
Electric isolution, effectively increases electrical isolation capabilities and the capacity of resisting disturbance of described sound-producing device.
In addition, in the embodiment of the present invention, described photoelectrical coupler can adopt 8 road opto-coupler chips, as shown in figure 4, described
Signal processing submodule includes 8 road interface H1,8 road opto-coupler chip U3, and described 8 road interface H1 include 8 wiring pins, and described 8
Each pin of individual wiring pin connects an infrared receiving module.
8 photoelectrical couplers are had in described 8 road opto-coupler chip U3, the light emitting diode in each photoelectrical coupler described
Negative pole end constitutes an input of described 8 road opto-coupler chip U3, the current collection of the phototriode in corresponding photoelectrical coupler
Extremely constitute an outfan of described 8 road opto-coupler chip U3.
In addition, the circuit theory of the described main control module in the embodiment of the present invention is as shown in figure 5, described voice output controls
Submodule includes voice single-chip microcomputer, and in the embodiment of the present invention, described voice single-chip microcomputer is WT588D speech chip, WT588D voice
Chip is the voice singlechip chip of a powerful repeatable erasing programming, described WT588D speech chip do not need for
Control mode and find suitably peripheral single chip circuit, highly integrated singlechip technology be enough to replace the peripheral control of complexity
Circuit, has the advantages that bulk area is little, function is many, line combination standardization, parameter consistency are good, qualification rate is high.WT588D
Speech chip has:Embedded DSP high speed audio processor, processing speed is fast;Built-in 13Bit/DA transducer, and 12Bit/
PWM exports audio frequency;PWM output can push directly on 0.5W/8 Ω speaker;Support to download WAV audio format;Support DAC/PWM two
Plant the way of output etc. characteristic.
As the P00 end of the described voice single-chip microcomputer U2 in Fig. 5, P01 end, P02 end, P03 end, P04 end, P05 end, P06 end
Eight input ports being described voice single-chip microcomputer U2 with P07 end, correspond to 8 with the described 8 road opto-coupler chip U3 in Fig. 4 respectively
Outfan connects.
Described voice output control submodule also includes first resistor R1 and the first light emitting diode L1, described supply module
It is connected with the power end of described voice single-chip microcomputer U2, the power end of one end of described first resistor R1 and described voice single-chip microcomputer U2
Connect, the other end of described first resistor R1 is connected with the positive terminal of described first light emitting diode L1, described first luminous two
The negative pole end of pole pipe L1 is connected with the speech play busy signal outfan of described voice single-chip microcomputer U2.
When the phototriode conducting in described photoelectrical coupler, the negative pulse of generation makes described voice single-chip microcomputer U2 enter
Enter and play music status, the speech play busy signal outfan of described voice single-chip microcomputer U2 output low level, so that described the
One light emitting diode L1 lights, and instruction is in music state.Wherein, the speech play busy signal of described voice single-chip microcomputer U2
Outfan is the BUSY end of described WT588D chip.
In addition, described voice output controls son also to include second resistance R2, the first electric capacity C2 and the first polar capacitor C1, institute
The audio output foot of predicate sound single-chip microcomputer U2 respectively with one end of described second resistance R2, one end of described first electric capacity C2 and institute
The positive terminal stating the first polar capacitor C1 connects, and the negative pole end of described first polar capacitor C1 is defeated with described voice output module
Enter end to connect, the other end of the other end of described second resistance R2 and described first electric capacity C2 all with described voice output module
Earth terminal connects.
In the embodiment of the present invention, described voice output module includes power amplifier and speaker, described power amplifier
The power amplification of the voice signal for exporting described voice single-chip microcomputer U2, then play by described speaker.
The voice signal that the described first polar capacitor C1 of the embodiment of the present invention exports to described voice single-chip microcomputer U2 has
Filter the effect of high-frequency sasser, described second resistance R2 and the first electric capacity C2 constitute wave filter, be used for filtering described voice list
Burr in the voice signal of piece machine U2 output.
Described supply module 205 in the embodiment of the present invention can export three kinds of different power supplys, is the first power supply respectively
Submodule, the second power supply submodule and the 3rd power supply submodule, the first power supply submodule output 12V voltage, described second power supply
Submodule exports 5V voltage, described 3rd power supply submodule output 3.3V voltage, and wherein, 12V voltage is directly by 220V alternating current
Obtain through transformator, 12V voltage voltage stabilizing is obtained by 5V voltage by L7805 chip, 3.3V voltage is through AMS1117 by 5V voltage step-down
Obtain.In the embodiment of the present invention, described first power supply submodule is powered for described infrared opposite-radiation formula photoswitch, and described second
Power supply submodule is connected with the positive terminal of the light emitting diode of described photoelectrical coupler, and the described 3rd powers submodule and institute's predicate
The power end of sound single-chip microcomputer connects, and therefore, the supply voltage of described infrared opposite-radiation formula photoswitch is 12V, described smooth thermocouple
The supply voltage of clutch is 5V, and the supply voltage of described voice single-chip microcomputer is 3.3V.
The circuit theory diagrams of described second power supply submodule are as shown in fig. 6, described second power supply submodule includes voltage stabilizing core
Piece IC1, diode D1, the 3rd polar capacitor C3 and quadripolarity electric capacity C4, the 12V voltage of described first power supply submodule output
It is connected with the positive terminal of described diode D1, the negative pole end positive pole with described 3rd polar capacitor C3 respectively of described diode D1
The input of end and described voltage stabilizing chip IC1 connects, and the outfan of described voltage stabilizing chip IC1 is with described quadripolarity electric capacity C4's
Positive terminal connect, therefore, described first power supply submodule output 12V voltage through described second power supply submodule process
Afterwards, 5V voltage is exported by the outfan of described voltage stabilizing chip IC1, in the embodiment of the present invention, described voltage stabilizing chip IC1 is L7805
Chip.
As shown in figure 5, the embodiment of the present invention also includes key switch S2, a contact of described key switch S2 and institute's predicate
The reset terminal of sound single-chip microcomputer U2 connects, another contact ground of described key switch S2, the reset terminal of described voice single-chip microcomputer U2
For Low level effective, when that is, the level of the reset terminal of described voice single-chip microcomputer U2 is low level, make described voice single-chip microcomputer U2 multiple
Position, effectively prevent described voice single-chip microcomputer U2 in calculating process because the outside causes such as interference cause data in depositor to mix
Disorderly can not make its normally continue executing with the result of program or generation incorrect when be both needed to reset, so that program restarts to transport
OK.
Therefore, the embodiment of the present invention, when nobody steps down on step, described infrared opposite-radiation formula photoswitch infrared
The infrared ray that transmitter module is got is received by described infrared receiving module, and described infrared receiving module exports high level, makes and institute
The negative pole end stating the light emitting diode of described photoelectrical coupler of infrared receiving module outfan connection is high level, described photoelectricity
The light emitting diode cut-off of bonder, the light intensity in the base stage of the phototriode being therefore radiated at described photoelectrical coupler is not
Enough to make described phototriode conducting, the current collection extremely high level with described phototriode, described voice single-chip microcomputer does not touch
The function of voice is put in broadcast.
For example, the input high level at the IN1 end of described 8 road photoelectric coupling chips, makes the 01 of described 8 road photoelectric coupling chips
End output high level, so that the P00 end of described voice single-chip microcomputer U2 is high level, due to the voice of described voice single-chip microcomputer U2
Playing function triggers for low level, therefore, when voice signal is not play for high level in the P00 end of described voice single-chip microcomputer U2.
When people steps down on step, the step of people has blocked the infrared transmission module of described infrared opposite-radiation formula photoswitch
Infrared light and described infrared receiving module between, makes described infrared receiving module output low level, makes and described infrared receiver
Module outfan connect the light emitting diode of described photoelectrical coupler negative pole end be low level, described photoelectrical coupler send out
Optical diode turns on, and the light intensity in the base stage of the phototriode being therefore radiated at described photoelectrical coupler makes described photosensitive three
Pole pipe turns on, the current collection extremely low level with described phototriode, and the function of voice is play in described voice single-chip microcomputer triggering.
For example, the input low level at the IN1 end of described 8 road photoelectric coupling chips, makes the 01 of described 8 road photoelectric coupling chips
End output low level, so that the P00 end of described voice single-chip microcomputer U2 is low level, due to the voice of described voice single-chip microcomputer U2
Playing function triggers for low level, therefore, when the P00 end of described voice single-chip microcomputer U2 is low level, plays voice signal.
In addition, the different music of internal memorizer memory storage in described voice single-chip microcomputer U2, described voice single-chip microcomputer U2
Each interior input port corresponds to a music, therefore, when people walk on different steps, can play out different pleasures
Bent.Compared with the dry ladder of prior art, the embodiment of the present invention is existing by being arranged on described sound-producing device
On ladder, when people are through the ladder of stair, send voice signal, described voice signal can be the sound with graceful melody
Happy, effectively increase the interest of stair climbing, to make people be inclined to selection stair climbing and not select to take elevator.
As shown in fig. 7, the embodiment of the present invention additionally provides a kind of vocal technique, it is applied to music step, described sounding dress
Put including:Supply module, signal acquisition module, main control module and voice output module, described supply module respectively with described letter
Number acquisition module, described main control module and described voice output module connect, and described signal acquisition module is arranged on described music
At the step of step, methods described includes:
S71:Signal acquisition module trigger collection signal;
Described trigger includes the induced signal that people produces when step, for example, when described signal acquisition module is
During pressure transducer, described trigger is behaved through step, when stepping down in pressure transducer, the pressure of described pressure transducer collection
Force value.
In the embodiment of the present invention, described signal acquisition module is infrared opposite-radiation formula photoswitch, and described trigger is
People, through step, blocks the light between the infrared transmission module of described infrared opposite-radiation formula photoswitch and infrared receiving module
When, the low level signal of described infrared receiving module output.
S72:Main control module triggering voice output module plays music;
The low level signal of described infrared receiving module output makes the phototriode of described photoelectrical coupler turn on, thus
Make described main control module input low level, the described voice output module of triggering plays music.
The embodiment of the methods described of the embodiment of the present invention is similar to device embodiment, will not be described here.
It is understood that the present invention can be used in numerous general or special purpose computing system environment or configuration.For example:Individual
People's computer, server computer, handheld device or portable set, laptop device, multicomputer system, be based on microprocessor
The system of device, set top box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer, include to take up an official post
Distributed computing environment of what system or equipment etc..
The present invention can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes execution particular task or the routine realizing particular abstract data type, program, object, group
Part, data structure etc..The present invention can also be put into practice in a distributed computing environment, in these distributed computing environment, by
The remote processing devices connected by communication network are executing task.In a distributed computing environment, program module is permissible
It is located in the local and remote computer-readable storage medium including storage device.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation are made a distinction with another entity or operation, and not necessarily require or imply these entities or deposit between operating
In any this actual relation or order.And, term " inclusion ", "comprising" or its any other variant are intended to
Comprising of nonexcludability, wants so that including a series of process of key elements, method, article or equipment and not only including those
Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element that limited by sentence "including a ..." it is not excluded that
Also there is other identical element including in the process of described key element, method, article or equipment.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, made any repair
Change, equivalent, improvement etc., should be included within the scope of the present invention.
Claims (8)
1. it is characterised in that being applied to music step, described sound-producing device includes a kind of sound-producing device:Supply module, signal are adopted
Collection module, main control module and voice output module, described signal acquisition module is connected with described main control module, described voice output
Module is connected with described main control module, described supply module respectively with described signal acquisition module, described main control module and described
Voice output module connects, and described signal acquisition module is arranged at the step of described music step;
Described signal acquisition module is used for trigger collection signal, and described trigger includes the sensing letter that people produces when step
Number;
Described main control module is used for when obtaining the trigger of described signal acquisition module collection, send speech play instruct to
Described voice output module, the described voice output module of triggering plays music;
Described main control module includes:Signal processing submodule and voice output control submodule, described signal processing submodule with
Described voice output control submodule connects, and described signal acquisition module is connected with described signal processing submodule, described voice
Output control submodule is connected with described voice output module;
Described voice output control submodule includes voice single-chip microcomputer, the input port of described voice single-chip microcomputer and described signal processing
The outfan of submodule connects;
Described voice output control submodule also includes wave filter, the audio output foot of described voice single-chip microcomputer and described wave filter
Connect, described wave filter is connected with described voice output module;
Described wave filter includes second resistance, the first electric capacity and the first polar capacitor, the audio output foot of described voice single-chip microcomputer
It is connected with the positive terminal of one end, one end of described first electric capacity and described first polar capacitor of described second resistance respectively, institute
The negative pole end stating the first polar capacitor is connected with the input of described voice output module, the other end of described second resistance and institute
The other end stating the first electric capacity is all connected with the earth terminal of described voice output module;
Described voice output control submodule also includes key switch, and described key switch includes two contacts, and described button is opened
The contact ground closing, another contact of described key switch is connected with the reset terminal of described voice single-chip microcomputer.
2. sound-producing device according to claim 1 it is characterised in that:Described signal processing submodule, for by described letter
The magnitude of voltage of the trigger of number acquisition module collection is converted to the control letter matching with the impulse level of described main control module
Number;
Described voice output control submodule, for when receiving described control signal, sends speech play and instructs to described
Voice output module, the described voice output module of triggering plays music.
3. sound-producing device according to claim 2 is it is characterised in that described signal acquisition module includes infrared opposite-radiation formula
Photoswitch, described infrared opposite-radiation formula photoswitch includes infrared transmission module and infrared receiving module, in described Music Radio
The both sides of every floor ladder of rank are corresponding to install infrared transmission module and infrared receiving module, described infrared receiving module and described letter
Number process submodule connect.
4. sound-producing device according to claim 3 is it is characterised in that described signal processing submodule includes photoelectric coupling
Device, described infrared receiving module is connected with the light emitting diode negative pole end of described photoelectrical coupler, described photoelectrical coupler send out
Optical diode positive terminal is connected with described supply module, the colelctor electrode of the phototriode of described photoelectrical coupler and described voice
Output control submodule connects, the grounded emitter of the phototriode of described photoelectrical coupler.
5. sound-producing device according to claim 4 is it is characterised in that the input port of described voice single-chip microcomputer and described photoelectricity
The colelctor electrode of the phototriode of bonder connects.
6. sound-producing device according to claim 5 is it is characterised in that described voice output control submodule also includes first
Resistance and the first light emitting diode, described supply module is connected with the power end of described voice single-chip microcomputer, described first resistor
One end is connected with the power end of described voice single-chip microcomputer, and the other end of described first resistor is with described first light emitting diode just
Extreme connection, the negative pole end of described first light emitting diode is connected with the speech play busy signal outfan of described voice single-chip microcomputer
Connect.
7. sound-producing device according to claim 6 it is characterised in that described supply module include the first power supply submodule,
Second power supply submodule and the 3rd power supply submodule, described first power supply submodule output 12V voltage, described second power supply submodule
Block exports 5V voltage, described 3rd power supply submodule output 3.3V voltage, described first power supply submodule and described infrared ray pair
Penetrate formula photoswitch connect, for powering for described infrared opposite-radiation formula photoswitch, described second power supply submodule with described
The light emitting diode positive terminal of photoelectrical coupler connects, and described 3rd power supply submodule is connected with the power end of described voice single-chip microcomputer
Connect, for powering for described voice single-chip microcomputer.
8. it is characterised in that being applied to music step, described music step includes claim 1-7 such as and appoints a kind of vocal technique
Sound-producing device described in one, methods described includes:
Described signal acquisition module trigger collection signal, described trigger includes the induced signal that people produces when step;
Described main control module obtains the trigger of described signal acquisition module collection, sends speech play and instructs to described voice
Output module, the described voice output module of triggering plays music.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510073855.1A CN104616409B (en) | 2015-02-12 | 2015-02-12 | A kind of sound-producing device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510073855.1A CN104616409B (en) | 2015-02-12 | 2015-02-12 | A kind of sound-producing device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104616409A CN104616409A (en) | 2015-05-13 |
CN104616409B true CN104616409B (en) | 2017-03-08 |
Family
ID=53150841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510073855.1A Expired - Fee Related CN104616409B (en) | 2015-02-12 | 2015-02-12 | A kind of sound-producing device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104616409B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110778039A (en) * | 2019-09-18 | 2020-02-11 | 深圳智锐通科技有限公司 | Intelligent stair device and corner scene design method thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201429974Y (en) * | 2009-05-26 | 2010-03-24 | 自贡市挚诚科技有限公司 | Simulation demonstration device without drum |
CN202275596U (en) * | 2011-11-03 | 2012-06-13 | 南京芒冠光电科技股份有限公司 | Music staircase |
CN202519900U (en) * | 2012-03-20 | 2012-11-07 | 常熟理工学院 | Electronic music ladder |
CN202916465U (en) * | 2012-11-08 | 2013-05-01 | 南京芒冠光电科技股份有限公司 | High light disturbance resistance device for an outdoor thru-beam infrared LED signal sensor |
CN203022250U (en) * | 2012-11-19 | 2013-06-26 | 钟平 | Music stairs with novel framework |
CN103354095A (en) * | 2013-06-26 | 2013-10-16 | 南京大学 | Music stair and music-sound playing realization method thereof |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100105053A (en) * | 2009-03-20 | 2010-09-29 | 이병우 | The toothbrush plug where the musical occurrence system is had built-in |
GB201103910D0 (en) * | 2011-03-08 | 2011-04-20 | Hexago Deck Ltd | Temporary platform |
-
2015
- 2015-02-12 CN CN201510073855.1A patent/CN104616409B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201429974Y (en) * | 2009-05-26 | 2010-03-24 | 自贡市挚诚科技有限公司 | Simulation demonstration device without drum |
CN202275596U (en) * | 2011-11-03 | 2012-06-13 | 南京芒冠光电科技股份有限公司 | Music staircase |
CN202519900U (en) * | 2012-03-20 | 2012-11-07 | 常熟理工学院 | Electronic music ladder |
CN202916465U (en) * | 2012-11-08 | 2013-05-01 | 南京芒冠光电科技股份有限公司 | High light disturbance resistance device for an outdoor thru-beam infrared LED signal sensor |
CN203022250U (en) * | 2012-11-19 | 2013-06-26 | 钟平 | Music stairs with novel framework |
CN103354095A (en) * | 2013-06-26 | 2013-10-16 | 南京大学 | Music stair and music-sound playing realization method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104616409A (en) | 2015-05-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN205450745U (en) | Intelligent sound box | |
CN203870811U (en) | Voice prompt device of crosswalk signals | |
CN104197299A (en) | Illuminating device and voice broadcasting system and method based on device | |
CN201838109U (en) | Power equipment monitoring device | |
CN207742924U (en) | Remote controler based on intelligent sound control | |
CN104616409B (en) | A kind of sound-producing device and method | |
CN106059866B (en) | A kind of speech control system of wireless intelligent house | |
CN105955340A (en) | Internet based remote temperature control processor | |
CN102879636B (en) | Office energy consumption collect and transmit pressure out-of-limit alarming device | |
CN204945699U (en) | A kind of intelligent sound with infrared induction identification | |
CN204375079U (en) | A kind of sound-producing device | |
CN105761170A (en) | Management service window | |
CN206431612U (en) | One kind touches screen pointing device, terminal and system | |
CN206863939U (en) | A kind of general bimodulus remote control with self-learning function | |
CN202330486U (en) | Novel path signal source for detecting power cables | |
CN207993185U (en) | A kind of outdoor photovoltaic lamps and lanterns with alarm system | |
CN107085242A (en) | A kind of contactless winter bamboo shoot detection device and method | |
CN106375966A (en) | Message processing method and smart terminal | |
CN210072957U (en) | Control system based on mobile phone voice early education machine for children | |
CN106200395A (en) | A kind of multidimensional identification appliance control method | |
CN208093147U (en) | A kind of laser frame drum | |
CN111537867A (en) | Detection device and detection method for short circuit and open circuit of touch screen anti-disassembly winding wire | |
CN206649319U (en) | A kind of household electrical appliance intelligent controlling device | |
CN203405925U (en) | Touch-type antitheft alarm system | |
CN214333869U (en) | Novel multifunctional sensor measuring system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170308 Termination date: 20210212 |
|
CF01 | Termination of patent right due to non-payment of annual fee |