CN104767497A - Subway train broadcast volume automatic adjustment method - Google Patents

Subway train broadcast volume automatic adjustment method Download PDF

Info

Publication number
CN104767497A
CN104767497A CN201510111101.0A CN201510111101A CN104767497A CN 104767497 A CN104767497 A CN 104767497A CN 201510111101 A CN201510111101 A CN 201510111101A CN 104767497 A CN104767497 A CN 104767497A
Authority
CN
China
Prior art keywords
noise
anm
volume
mvb
broadcast
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510111101.0A
Other languages
Chinese (zh)
Inventor
杨运猛
刘全利
王国政
郭戈
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dalian University of Technology
Original Assignee
Dalian University of Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Dalian University of Technology filed Critical Dalian University of Technology
Priority to CN201510111101.0A priority Critical patent/CN104767497A/en
Publication of CN104767497A publication Critical patent/CN104767497A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a subway train broadcast volume automatic adjustment method, and belongs to the field of an embedded computer. The method is composed of a noise detection module and a volume adjustment module. A noise value of each guest room is detected in real time by the noise detection module through a plurality of noise detection devices installed in guest rooms; the noise values sent by the noise detection devices are received by a master controller through an MVB bus communication mechanism; finally, the noise values are stored in the master controller according to guest room numbers. All noise values of the guest rooms stored in the master controller are read by the volume adjustment module; broadcast volume values corresponding to the noise detection devices are obtained by calculating according to linear relation between noise of the guest rooms and broadcast volume of guest rooms; an average number of the broadcast volume values is obtained in the guest rooms at last, the average number is sent to trumpets of all the guest rooms. The broadcast volume can be adjusted automatically according to noise conditions of the guest rooms, and the device plays an important role in a subway passenger information system.

Description

A kind of subway train broadcast volume automatic regulating method
Technical field
The invention belongs to embedded computer field, relate to a kind of subway train broadcast volume automatic regulating method.
Background technology
City underground traffic refers to have fixed line, is equipped with trapped orbit, and is equipped with the general name of the public transport of haulage vehicle and service facility, and it has the advantage of energy-conserving and environment-protective, quickness and high efficiency and safety and comfort.One row subway train is made up of 2 joint drivers' cabs and some joint guest rooms.In subway train, run a set of passenger information system PIS (Passenger Information System).PIS inside is integrated with network and multimedia technology, for Metro Passenger and staff provide metro operation information and multimedia messages, effectively raises running quality and the market competitiveness of urban track traffic.PIS overall structure as shown in Figure 1, is broadcasted primarily of broadcasting for train and video control unit ACSU (Announcement Control System Unit) and guest room and is formed with video control unit PACU (Passenger Announcement Control Unit) two parts.ACSU is configured in drivers' cab and controls in rack, its internal sequence has laid power-supply control card, video encoder Encoder, broadcast main control fabrication Controller, Ethernet switch, MVB switch (Multifunction VehicleBus Switch) and video player MP (Media Player), outside carry touch display screen TLCD (CCTV Touch LCD) and drivers' cab broadcasting control unit DACU (Driver AudioCommunication Unit).PACU is configured in guest room and controls in rack, its internal main will include power-supply control card, Video Decoder Decoder, broadcast guest room control card Controller, Ethernet switch, MVB switch and power amplifier AMP (Amplifier), outside carry passenger's urgency communication unit PECU (Passenger Emergency Communication Unit) and LCD display.In ACSU and PACU, the major function of power-supply control card is to provide DC power supply, the major function of Encoder is responsible Video coding, broadcast main control fabrication Controller (being designated as ACSU Controller below) major function controls whole PIS system, the major function of Ethernet switch has been Ethernet data transmission, the major function of MVB switch has been MVB transfer of data, the major function of MP has been the control of video, the major function of TLCD is camera picture in display car, broadcast volume is set and train operation route is set, the major function of DACU is the intercommunication to make peace driver and passenger of process driver and driver, the major function of Decoder resolves Video coding, the major function of broadcast guest room control card Controller is the process of responsible guest room MVB data, the major function of AMP controls audio frequency to play, the major function of PECU has been passenger and driver's intercommunication, the major function of LCD display is displaying video and display station dot information.The hardware configuration of ACSU Controller as shown in Figure 2, mainly comprises XC7Z010,485 turns of MVB modules, RS232, DC/DC module, 88E1512, DDR, USB module and NOR Flash.Wherein XC7Z010 is control chip, and inside is integrated with ARM and FPGA, and FPGA provides bottom MVB agreement and serial bus communication interfaces, and ARM has transplanted inside linux kernel and file system; 485 turns of MVB modules provide the function 485 bus interface being changed into MVB interface; RS232 provides serial communication interface; DC/DC module provides power supply; 88E1512 is ethernet PHY chip, provides ethernet communication function; DDR provides program to run required memory; USB module provides usb communication interface; NOR Flash storage system start-up parameter.The major responsibility of ACSUController is the voice broadcast service and the video display that control whole train.
PIS can be divided into digital broadcasting subsystem, Customer information display subsystem and closed-circuit television watchdog subsystem three parts.Wherein digital broadcasting subsystem contains website broadcast, artificial broadcast and driver's intercommunication.Website broadcast comprise in train travelling process, the broadcast leaving from station that ACSU Controller triggers according to train signal, in advance arrive at a station broadcast, arrive at a station broadcast and switch gate voice message broadcast, for passenger provides the real time information of the website in train operation.Artificial broadcast refers to that driver triggers the broadcast towards guest room by DACU, so that guiding passenger that in case of emergency can be correct in time when there are the special circumstances such as temporary parking or fire.Driver's intercommunication refers to the speech talkback that train two ends driver's cabin driver is realized by DACU.In the process of train normal operation, the broadcasting time of website broadcast is the most frequent, and website information must be conveyed to every passenger by accurately, and therefore website broadcast is also of paramount importance broadcast type.ACSU Controller is triggered by train signal, performs corresponding website broadcast operation, and read the voice document in storage card, utilize MVB agreement to send it to the AMP often saving guest room, AMP converts thereof into the signal of telecommunication and amplifies, and is played out by loudspeaker.PIS mainly comprises play content and broadcast sound volume two aspects to the control that website is broadcasted.When considering train operation, the impact of various noise can be subject to, may affect passenger to ride mood when train volume is bigger than normal, when volume is less than normal time, passenger may be caused again cannot to obtain correct site information in time, therefore the accurate control of broadcast sound volume is very crucial.The scheme of tradition constant volume and driver's manual adjustments volume, all cannot meet the rigors of train complex environment, this just needs a kind of brand-new volume automatic regulating method.The volume adjusting method that the present invention relates to is exactly that a kind of subway train volume regulates solution automatically, and it can detect the noise situation often saving guest room automatically, carries out accurately automatically controlling of broadcasting for train volume accordingly.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of subway train broadcast volume automatic regulating method, without the need in the manually operated situation of driver, by detecting the noise situation often saving guest room, automatically regulating broadcast volume, making volume value maintain moderate level all the time.
Technical scheme of the present invention:
Invention increases noise detection device ANM (Announcement Noise Monitor).It is arranged on the MVB switch of PACU cabinet, with PECU arranged in series.The major function of ANM detects guest room level of noise and level of noise is fed back to ACSU Controller.The hardware configuration of ANM as shown in Figure 3, mainly comprises FPGA, NOR Flash, 485 turns of MVB modules, AIC23 audio-frequency module, optical coupling module, power module and reseting modules.Wherein, FPGA is control chip; NOR Flash storage system start-up parameter; 485 turns of MVB modules provide MVB communication interface; AIC23 audio-frequency module is responsible for noise gathering; Optical coupling module is responsible for electrical isolation; Power module provides power supply; Reseting module provides FPGA reset function.
Volume automatic regulating method overall flow as shown in Figure 4, mainly comprises two modules, noise measuring module and volume adjusting module.
The detection of noise measuring module primary responsibility train passenger compartment noise and record.After module brings into operation, first start Log record sub module, carry out printing and the storage of related commissioning information in program operation process; Then AMP volume adjusting desired parameters a and b in configuration file is read; Following initialization MVB network card also checks whether successfully, if initialization failure, restarts MVB network card, then carries out initialization.The initialization of MVB network card is mainly concerned with the configuration with network card status of opening of network interface card.Then, initialization MVB port, comprises the storage format of the size of port, the address of port and port data; Create MVB reading and writing data thread, carry out reception and the transmission of MVB data, namely receive the level of noise of ANM collection and send guest room volume to AMP.Finally, judge that ANM is whether normal online, if normal online, receive ANM level of noise and according to guest room sequential storage, otherwise whether normal cycle detection ANM is online.
The calculating of volume adjusting module primary responsibility volume value and setting.After noise measuring module obtains current level of noise, whether should check currently has broadcast, when having broadcast, ANM can by the impact of broadcasting speech, and the level of noise that ANM detects normally can not reflect guest room actual noise value, therefore returns and again judges whether normally online ANM.If without broadcast, then read the ANM level of noise of guest room correspondence position, utilize algorithmic formula to calculate the volume value y issuing guest room AMP.This formula is y=ax+b, and wherein parameter a and b is obtained by experimental calculation, and x is the ANM level of noise after formulae discovery, by formula x=10*log (x 0/ 16) try to achieve, wherein x 0for ANM level of noise.Finally utilize MVB communication protocol, by the volume value y calculated, send to all AMP of corresponding guest room.
Beneficial effect of the present invention is in train travelling process, ANM equipment can accurately detect the level of noise often saving guest room, and be real-time transmitted to ACSU Controller, the broadcast sound volume often saving guest room is controlled by ACSU Controller, the volume adjusting of guest room is made to become without the need to manually-operated full-automatic regulation from original manual adjustments, simplify volume adjusting operation, improve volume adjusting precision.
Accompanying drawing explanation
Fig. 1 is PIS overall structure figure of the present invention.
Fig. 2 is ACSU Controller hardware block diagram of the present invention.
Fig. 3 is the hardware block diagram of ANM of the present invention.
Fig. 4 is volume automatic regulating method flow chart of the present invention.
Fig. 5 is noise measuring block flow diagram of the present invention.
Fig. 6 is volume adjusting module flow chart of the present invention.
Embodiment
The specific embodiment of the present invention is described in detail below in conjunction with summary of the invention and Figure of description.
(1) noise measuring module
As shown in Figure 5, ACSU Controller calls Log record sub module after starting, read the log.txt file in storage card, judge file size, if file is greater than 30MB, then according to the time of file content write, time part is rearward transferred in the log file of backup.Then, the write operation of log file is encapsulated as flow operation, so that other module is called.Parameter a in following reading ANM_SETTING.txt file and b, and store in systems in which respectively according to guest room number, wherein a and b is the coefficient of formula y=ax+b in volume adjusting.Then, initialization MVB network card, comprises the initialization of FPGA underlying protocol and opening of MVB network card equipment, if MVB network card initialization failure, then waits for 50ms, then re-executes MVB network card initialization operation, until MVB network card correctly starts.
All MVB equipment that volume adjusting relates to, its communication protocol is MVB communication protocol, each equipment all has several MVB port, for sending and receiving MVB data.Following initialization 3 MVB ports, are respectively the port that ANM sends to ACSU Controller, are denoted as ANM_TO_ACSU, AMP sends to the port of ACSU Controller, be denoted as AMP_TO_ACSU, and ACSUController sends to the port of AMP, is denoted as ACSU_TO_AMP.The data content of its middle port ANM_TO_ACSU comprises guest room level of noise, life cycle signal and ANM function enable signal, the data content of port AMP_TO_ACSU is mainly the life cycle signal of AMP, and the data content of port ACSU_TO_AMP is mainly the volume value of guest room loudspeaker.The parameter of these MVB ports comprises port size, port cycle and port address.After system cloud gray model, by these port parameters write FPGA, so that FPGA periodically receives and dispatches MVB data, the MVB communication of each equipment room can be completed.
After port initialization, the read-write thread of system creation MVB data, calls FPGA read/write function, processes the MVB data of each port in read-write thread; When port data upgrades, create corresponding event type according to data variation, and be pressed in event queue, the process function being called corresponding event type by event processor processes.Then, judge that whether ANM is online, if not online, then cycle detection, until ANM is online.If ANM is online, then reads ANM level of noise, nearest n sampled noise value is stored in dynamic array M, if read unsuccessfully, defect content and fault time is write log file, and reinitializes MVB network card.Wherein, parameter n is the number of sampled noise value, and the cycle of ANM_TO_ACSU port is 128ms, can mostly be 8 most by sampling number in one second.The time of sampling is longer, and counting of sampling is more, and the volume value calculated so more correctly can reflect guest room noise situation, therefore can by the control precision regulating n to improve volume.
(2) volume adjusting module
As shown in Figure 6, after module starts, judge whether current system carries out broadcast operation, if broadcasted, the volume in guest room is larger, ANM level of noise can be made also bigger than normal, now calculate level of noise and then can cause positive feedback, make the volume value of AMP reach the upper limit very soon, therefore need to return and continue to judge that system is current and whether carry out broadcast operation, circulation is carried out, until broadcast stops.Do not broadcast if system is current, then read ANM level of noise, judge whether it is 0, if 0 is set to-2, this value is that guest room is with ANM level of noise during average volume broadcasting broadcast.If this level of noise is not 0, then utilize formula x=10*log (x 0/ 16), obtain the level of noise x after changing, then bring x into formula y=ax+b, the result y obtained be this ANM survey broadcast sound volume value corresponding to level of noise.In formula, parameter a and b is by testing acquisition, and experimental procedure is as follows: 1. when Train door is closed, and by loudspeaker with certain AMP volume value, continues to play 1KHz sinusoidal wave, simulated passenger room's interior noise; 2. utilize audiovolume indicator in guest room central authorities, the decibel value of several groups of noises is measured at, distance 1 meter, ground; 3. the level of noise that collects of corresponding stored ANM; 4. regulate AMP volume value, repeat above-mentioned experiment, obtain decibel value that audiovolume indicator under 6 groups of different volume values gathers and ANM level of noise; 5. because the decibel value of audiovolume indicator collection and ANM level of noise are linear relationship, according to the data obtained, utilize least square method, calculate parameter a and b.Next, the volume value y often saving ANM level of noise in guest room corresponding is averaged, obtains a volume reference value.Consider practical factor, train passenger compartment broadcast volume can not be too small or excessive, the loudspeaker sound value that AMP controls should in an interval, the actual volume value interval, experiment guest room recorded is 102 ~ 127, converting decibel value to is 78dB ~ 103dB, therefore need the volume value judging to calculate whether in this interval, if exceeded maximum 127, be designated as 127, if lower than minimum value 102, be designated as 102.Finally, call MVB data and send function, send it to all AMP of corresponding guest room, make to come interim in upper once broadcast, the volume value that loudspeaker are play is a suitable value.

Claims (1)

1. a subway train broadcast volume automatic regulating method, comprises noise measuring module and volume adjusting module, it is characterized in that:
The detection of noise measuring module primary responsibility train passenger compartment noise and record; After module brings into operation, first start Log record sub module, carry out printing and the storage of related commissioning information in program operation process; Then AMP volume adjusting desired parameters a and b in configuration file is read; Following initialization MVB network card also checks whether successfully, if initialization failure, restarts MVB network card, then carries out initialization; The initialization of MVB network card is mainly concerned with the configuration with network card status of opening of network interface card; Then, initialization MVB port, comprises the storage format of the size of port, the address of port and port data; Create MVB reading and writing data thread, carry out reception and the transmission of MVB data, namely receive the level of noise of ANM collection and send guest room volume to AMP; Finally, judge that ANM is whether normal online, if normal online, receive ANM level of noise and according to guest room sequential storage, otherwise whether normal cycle detection ANM is online;
The calculating of volume adjusting module primary responsibility volume value and setting; After noise measuring module obtains current level of noise, whether should check currently has broadcast, when having broadcast, ANM can by the impact of broadcasting speech, and the level of noise that ANM detects normally can not reflect guest room actual noise value, therefore returns and again judges whether normally online ANM; If without broadcast, then read the ANM level of noise of guest room correspondence position, utilize algorithmic formula to calculate the volume value y issuing guest room AMP; This formula is y=ax+b, and wherein parameter a and b is obtained by experimental calculation, and x is the ANM level of noise after formulae discovery, by formula x=10*log (x 0/ 16) try to achieve, wherein x 0for ANM level of noise; Finally utilize MVB communication protocol, by the volume value y calculated, send to all AMP of corresponding guest room.
CN201510111101.0A 2015-03-11 2015-03-11 Subway train broadcast volume automatic adjustment method Pending CN104767497A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510111101.0A CN104767497A (en) 2015-03-11 2015-03-11 Subway train broadcast volume automatic adjustment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510111101.0A CN104767497A (en) 2015-03-11 2015-03-11 Subway train broadcast volume automatic adjustment method

Publications (1)

Publication Number Publication Date
CN104767497A true CN104767497A (en) 2015-07-08

Family

ID=53649154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510111101.0A Pending CN104767497A (en) 2015-03-11 2015-03-11 Subway train broadcast volume automatic adjustment method

Country Status (1)

Country Link
CN (1) CN104767497A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577306A (en) * 2016-01-29 2016-05-11 苏州诚晟信息技术有限公司 Intelligent energy-saving campus broadcasting system based on sensor network
CN106028220A (en) * 2016-07-12 2016-10-12 南京信息工程大学 Broadcast volume adaptive control system
CN109861778A (en) * 2018-12-28 2019-06-07 上海鸣啸信息科技股份有限公司 A kind of broadcasting for train guest room power amplifier based on Linux platform
CN110072174A (en) * 2019-05-21 2019-07-30 北京京海鸣电子技术研究所 Volume adaptive identifying machine
CN115512563A (en) * 2022-09-05 2022-12-23 广州理工学院 Intelligent bus voice station reporting equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110296484A1 (en) * 2010-05-28 2011-12-01 Axel Harres Audio and video transmission and reception in business and entertainment environments
CN103401628A (en) * 2013-08-15 2013-11-20 天津市北海通信技术有限公司 Broadcasting control box circuit
CN104038611A (en) * 2013-03-08 2014-09-10 纬创资通股份有限公司 Device and method for adjusting volume according to environment
CN104158614A (en) * 2014-08-27 2014-11-19 南车南京浦镇车辆有限公司 Passenger train broadcast control method
CN104253664A (en) * 2014-09-18 2014-12-31 易程(苏州)智能系统有限公司 Train broadcasting control box based on Ethernet network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110296484A1 (en) * 2010-05-28 2011-12-01 Axel Harres Audio and video transmission and reception in business and entertainment environments
CN104038611A (en) * 2013-03-08 2014-09-10 纬创资通股份有限公司 Device and method for adjusting volume according to environment
CN103401628A (en) * 2013-08-15 2013-11-20 天津市北海通信技术有限公司 Broadcasting control box circuit
CN104158614A (en) * 2014-08-27 2014-11-19 南车南京浦镇车辆有限公司 Passenger train broadcast control method
CN104253664A (en) * 2014-09-18 2014-12-31 易程(苏州)智能系统有限公司 Train broadcasting control box based on Ethernet network

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577306A (en) * 2016-01-29 2016-05-11 苏州诚晟信息技术有限公司 Intelligent energy-saving campus broadcasting system based on sensor network
CN106028220A (en) * 2016-07-12 2016-10-12 南京信息工程大学 Broadcast volume adaptive control system
CN109861778A (en) * 2018-12-28 2019-06-07 上海鸣啸信息科技股份有限公司 A kind of broadcasting for train guest room power amplifier based on Linux platform
CN109861778B (en) * 2018-12-28 2020-07-24 上海鸣啸信息科技股份有限公司 L inux platform-based train broadcasting passenger room power amplifier
CN110072174A (en) * 2019-05-21 2019-07-30 北京京海鸣电子技术研究所 Volume adaptive identifying machine
CN115512563A (en) * 2022-09-05 2022-12-23 广州理工学院 Intelligent bus voice station reporting equipment

Similar Documents

Publication Publication Date Title
CN104767497A (en) Subway train broadcast volume automatic adjustment method
CN103532651B (en) A kind of digital broadcasting system on train of high reliability
CN111082886B (en) Networked train broadcasting system and implementation method
US20090164174A1 (en) Solar system automatic sizing and failure identification on location using resident gps receiver
CN107610702A (en) Terminal device standby wakeup method, apparatus and computer equipment
CN106952650A (en) A kind of train voice amplifying unit based on ARM+FPGA frameworks
CN110386089A (en) A kind of vehicle device multi-screen interactive display system
CN102211600A (en) Temporary speed-limiting method, server and system
JPH0535943B2 (en)
CN115085235A (en) Energy management device and method suitable for distributed energy storage system
CN203025547U (en) Wireless vehicle-mounted monitoring device based on Internet of Things
CN105812077B (en) A kind of semi-automatic broadcasting redundant player method of subway
CN102914361A (en) Noise monitoring and automatic discouraging device and method
CN205336325U (en) Advertisement machine and mutual communication integrated system of backend server
CN209833658U (en) Monitoring system inside rail train
CN112116731A (en) Rail transit multi-bus data analysis system based on cloud
CN202218245U (en) City rail traffic signal monitoring maintenance support system
CN207251825U (en) A kind of audio, video data processing unit
CN206977591U (en) A kind of student's self-study at night monitoring system
CN210745173U (en) Networked train broadcasting device
CN202815972U (en) Wireless system for checking attendance of train staffs
CN103281380B (en) Remote controlled audio advertisement information broadcasting system and the passive playing device of information
CN208707821U (en) Outdoor multimedia terminal in wisdom city
CN207965606U (en) A kind of Novel oxygen cabin control system
CN206021048U (en) A kind of real-time remote monitoring platform for being applied to secondary water-supply equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150708