Introduction original text position
The phonetic system to the elevator is the essential part, for instance carries on the floor to count off, the direction prompt, the warning bulletin, the fire prevention to speak even the advertisements propaganda and so on. At present the overwhelming majority elevator use speech chip carries on the pronunciation memory and the broadcast, but the speech chip system has some flaws, for instance the peripheral circuit is complex, the acoustic fidelity not good, the cost is high, the capacity to be limited as well as pronunciation change inconvenient and so on. Taking this into consideration, this article has designed one section the intelligent elevator phonetic system which controls based on the monolithic integrated circuit.
Original text position
System survey
Original text position
The lift control system’s basic function, is according to user’s floor key information, demonstrated toward the floor digit, the pronunciation disseminates news arrives at the floor. System diagram as shown in Figure 1.
Original text position

Original text position
Figure 1 elevator phonetic system structure diagram
Original text position
Hardware design
Original text position
According to the FLASH read-write rule and the MP3 decoding agreement, establishes CPLD beforehand the logical rule. The controller according to the input information, issues the control command to CPLD and transmits the data. The CPLD basis receives order according to logical regular read-write FLASH as well as to MP3 hypothesis internal control register and transportation voice data. The MP3 output’s simulated signal may impel the earphone to pronounce directly, but if needs to impel the supersound projector, but also needs the external connection power amplifier.
Original text position
The system micro controller has used STC89C58RD C, it is the new generation 51 enlargement mode high performance monolithic integrated circuit, has the encryption strongly, the ultra strong antijamming, the ultra low power loss, in the system programmable, to be possible to supply internal integrates characteristics and so on MAX810 special-purpose reset circuit. STC89C58RD C has 32K FLASH and 16K EEPROM, what but is worth paying attention is among them contains 1280 Byte the internal SRAM storage space, in voice data processing and the demonstration data processing needs to carry on the big data buffering in the situation, chooses this funds to have the large capacity internal memory and the monolithic integrated circuit, may be competent system’s control request.
Original text position
This article uses CPLD to be responsible for the logical control and the data transfer .CPLD electric circuit uses XC9572-VQ64, it has 72 great units, 1600 available gates, 52 I/O mouths, has lowers to the 2.5V power supply, but characteristics and so on online programming.
Original text position
MP3 decoding chip VS1011E principle of work and circuit design
Original text position
The VS1011E audio frequency decoding chip is the VS10XX series third generation product, its interior contains a high performance, the low power loss DSP processing nucleus, 5.5KB internal RAM may for the user memory code and the data, a serial SPI bus interface, duplex sound track sampling frequency adjustable 16 DAC. The work in 12.288MHz~14MHz or under the 24.576MHz~28MHz clock rate, may decode MPEG1&2 Layer1, 2, 3 as well as MPEG2.5 Layer3, WAV and the PCM form document.
Original text position
VS1011E work flow
Original text position
VS1011E work flow as shown in Figure 2.
Original text position

Original text position
Figure 2 decoding chip VS1011E work flow chart
In this system, MP3 or the WAV form audio frequency document first enters in the chip through the SDI main line, and decodes. Original text position
After the decoding, if SCL_AIADDR! = 0, will carry out the application area code, the code address provides by the corresponding address register. Then, according to the SCL_BASS register (SB_AMPLITUDE position and ST_AMPLITUDE position) the establishment, the data will possibly be delivered the bass and the treble optimizer carries on sound effect processing. Hereafter, data through volume control unit, simultaneously backup to audio frequency FIFO. Audio frequency FIFO maintains a data, and as sampling rate switch and DAC input. The sampling rate switch will possess the different sampling rate to transform CLKI/512, transports produces the three-dimensional acoustic simulation signal in turn for DAC.DAC according to the position.
Original text position
Because this system is the elevator system, outside promotes the supersound projector sound production to need to set at the power amplifier. What here power amplifier uses is CD4752CZ, this power amplifier has the great voltage range and antijamming ability, suits the voltage hunting to be big, external interference strong elevator working conditions.
Original text position memory’s organizational structure
Original text position
The system uses NAND to dodge saves K9F5608 to take the memory. NAND dodges saves take block (block) and page (page) as the memory cell. K9F5608 including 2048, every 1 includes 32 pages, 1 page of sizes are 528 bytes, divides into 2 256 byte data areas in turn, finally is 16 bytes spare spaces.
Original text position
Software design
Original text position
Elevator in movement process, if nobody goes to the pressed key, then the elevator phonetic system disseminates news some advertisements, the weather forecast and so on, simultaneously acts according to requests to be accompanied by the lattice or the liquid crystal display. When has the key presses down, the phonetic system will act according to the key value which presses down to transfer the corresponding pressed key disposal procedure, for instance arrives floor number and so on. Master routine flow chart as shown in Figure 3.
Original text position

Original text position
Original text position
Figure 3 system main flow chart
VS1011E software design original text position
This system audio frequency decoding chip uses VS1011E, control flow as shown in Figure 4.
Original text position

Original text position
Original text position
Figure 4 decoding chip VS1011E control flow chart
Original text position
VS1011E in carries on the data and the control information exchange through a work from the pattern SPI serial main line and the main engine, the voice data through the serial data connection (SDI) transmission, the control data through the serial control interface (SCI) transmission.
Original text position
The VS1011E SPI connection has two kind of working patterns: VS1002 new pattern (SM_SDINEW = 1) and VS1001 compatibility mode (SM_SDINEW = 0). When SM_SDISHARED = 0, the control signal and the data signal’s transmission uses XCS and XDCS separately takes the synchronized signal; When SM_SDISHARED = 1, uses in common XCS to take the synchronized signal.
Original text position
Takes from machine the working pattern, VS1011E through holding wire Dreq instructed whether to permit the main engine transmission data, when Dreq is high, VS1011E at least may accept 32KB the SDI data or the SCI control command.
Software control main point original text position
Carries on when the control to the MP3 decoder should pay attention to the following 6 points:
Original text position
(1) establishment internal control register MODE parameter. Including supporting documentation form, soft start establishment, data stream pattern establishment, DCLK triggering along establishment and SDI data first place establishment and so on. SM_SDINEW and the SM_SDISHARED establishment also carries on here.
Original text position
(2) if the clock rate is not 24.576MHz, needs to establish the SCI_CLOCKF register. If through changes the SCI_CLOCKF use frequency multiplication clock, should read in the suitable sampling speed the SCI_AUDATA register, waited for after at least 11000 clocks, only then may carry on the SPI correspondence.
Original text position
(3) establishment volume register SCI_VOL; 0 for the maximum volume, the 0xFEFE position will be the static sound, 0xFFFF will trigger the simulation to adjust the electricity pattern.
Original text position
(4) if the hope strengthening bass and the treble, may establish register SCI_BASS.
Original text position
(5) if the use user code, through closes the SCI_AIADDR reset it.
Original text position
(6) if uses the RAM level the user code, may through activate SCI_WRAM, SCI_WRAMADDR, SCI_AIADDR to load these data to realize needs the function.
Original text position
Conclusion
Original text position
Is valued people’s and the affection more and more now based on the MP3 phonetic system, they are applied the more industrial fields, like bus’s station name disseminates news the system and so on. Because has the good performance, also will obtain a more widespread application based on the MP3 phonetic system in the non-specialized acoustic domain.
Original text position
Reference
Original text position
1.STC89C51RC-RD _GUIDE-CHINESE. http://www.mcu-memory.com
Original text position
2. Gao Hongliang, Zhou Sheng and so on. One kind of intelligent elevator phonetic system’s design. Industrial control technology, in October, 2005