Summary of the invention
Technical problem to be solved in the utility model is, provides a kind of simple in structure, and Highgrade integration is with low cost, adapts to the o controller device that is used for the railway transport of passengers broadcast system of railway information system intelligent networking.
The technical scheme that the utility model adopted is: a kind of o controller device that is used for the railway transport of passengers broadcast system, have electric current and voltage synchronized sampling circuit, and the Wave data of sampling carries out Digital Signal Processing and analysis by microprocessor; The high-power audio switching matrix carries out the active and standby switching of power amplifier; The wireless network transceiver of 10M/100M self adaptation Ethernet interface and support 802.11/b/g/n standard is used for wired or wireless networking and carries out networking control, concrete formation includes: microprocessor, the ethernet physical layer chip, wireless network module, electric current and voltage synchronized sampling circuit, the high-power audio switching matrix, electric current and voltage sampling coupling and buffer circuit and sampling channel fast switch circuit, wherein, described ethernet physical layer chip, wireless network module, electric current and voltage synchronized sampling circuit, the high-power audio switching matrix links to each other with microprocessor respectively with the sampling channel fast switch circuit, described electric current and voltage synchronized sampling circuit links to each other with the sampling channel fast switch circuit, described sampling channel fast switch circuit is connected with buffer circuit with electric current and voltage sampling coupling, described electric current and voltage sampling coupling is connected with the high-power audio switching matrix with buffer circuit, and the power signal input port of described high-power audio switching matrix connects eight tunnel master's power amplifiers and two-way non-firm power amplifier.
Described microprocessor includes control chip and crystal oscillator chip, described control chip is the Highgrade integration embedded MCU based on core A RM-CORTEX3, have USB OTG interface, be used to connect the standard MII interface of ethernet physical layer chip, the standard I IS interface that is used for digital audio, inner integrated big capacity Flash memory and high-performance SRAM, described crystal oscillator chip is crystal oscillator input pin 12 pin that the active crystal oscillator of 25MHz high accuracy is connected to control chip.
Described ethernet physical layer chip includes the RJ45 socket of chip and integrated network transformer, and described RJ45 socket links to each other with chip by RD+, RD-, four lines of TD+ and TD-.
Described wireless network module includes module, link to each other with 1 pin of module and to be used for the power connection of control module and the switch triode of disconnection, two power filtering capacitors that are in parallel that link to each other with switch triode with module, the base stage of described switch triode connects microprocessor by a resistance, described module is connected to the USB OTG interface of microprocessor by two usb data line USB DM and USB DP, and module receives data and sends into microprocessor by the usb data line from wireless network.
Described electric current and voltage synchronized sampling circuit, include chip, described chip is connected to the I2C interface of microprocessor by two I2C bus Audio_SDA and Audio_SCK, receive the control operation of microprocessor, be connected to the IIS interface of microprocessor by 4 line I2S_MCK_I2S_CK_I2S_WS and SDOUT, wherein SDOUT is connected to the I2S_DIN pin of microprocessor; Pin 21 pin and 22 pin of described chip are connected the voltage signal and the current signal of sampling channel fast switch circuit respectively.
Described high-power audio switching matrix includes 16 protection diodes being formed 8 * 2 switch matrix and be connected in parallel by 16 dpdt relays; the left side of horizontal 8 passages of described switch matrix connects main power amplifier; the right of horizontal 8 passages of described switch matrix connects load circuit; vertical 2 passages of described switch matrix connect the non-firm power amplifier; the control end of described 16 relays is connected to microprocessor by the Great Power Driver that connects two serial inputs, and 10 input channels that connect eight tunnel master's power amplifiers and two-way non-firm power amplifier also are connected to electric current and voltage sampling coupling and buffer circuit.
Described electric current and voltage sampling coupling and buffer circuit include the sample circuit of 10 road same structures, No. one sample circuit bleeder circuit that includes the voltage sample isolating transformer and form wherein by three resistance, and current sample isolating transformer and current sampling resistor, wherein, the described bleeder circuit of being made up of three resistance is in parallel with eight tunnel master's power amplifiers and the two-way non-firm power amplifier in of high-power audio switching matrix, described current sampling resistor is connected in the input circuit of eight tunnel master's power amplifiers of high-power audio switching matrix and two-way non-firm power amplifier and obtains electric current, and the output of described voltage sample isolating transformer and current sample isolating transformer is connected the voltage and current input of sampling channel fast switch circuit respectively.
Described sampling channel fast switch circuit is formed the multiway analog switch that two group of 10 passage input, 1 passage are exported by 10 identical analog switch chips and a slice 4-16 decoder, wherein, first group of analog switch is the plurality of voltages selector switch, and the 10 passages input of this plurality of voltages selector switch connects the output of the voltage sample isolating transformer of all passages in electric current and voltage sampling coupling and the buffer circuit respectively; Second group of analog switch is the multichannel current selected switch, and the 10 passages input of this multichannel current selected switch connects the output of the current sample isolating transformer of all passages in electric current and voltage sampling coupling and the buffer circuit respectively; The output of 4-16 decoder connects first group of analog switch and second group of analog switch, be used for controlling simultaneously the selecting side of these two groups of analog switches, the input of 4-16 decoder is connected to microprocessor, and the output of two groups of multiway analog switches is connected respectively to the stereophony audio frequency input of electric current and voltage synchronized sampling circuit.
The o controller device that is used for the railway transport of passengers broadcast system of the present utility model, simple in structure, Highgrade integration, with low cost, be used for audio-frequency power amplifier fault detect of railway transport of passengers broadcast system and active and standby switching and loudspeaker loop and detect, adapt to the networking of railway information system intelligent.Have the following advantages:
1. integrated degree height, circuit is simple, and with low cost helping promotes;
Equipment possess power amplifier fault detect and active and standby switching, load circuit open circuit short-circuit detecting, the collection of service area monitoring signal simultaneously, the indication and multiple function such as upload of reporting to the police;
3. adopt the electric current and voltage synchronized sampling, avoided the influence of electric current and voltage phase difference;
4. direct waveform sampling is carried out Digital Signal Processing, can carry out various intellectual analysis algorithms, anti-interference is very strong, the accuracy height;
5. support the double-network redundant of cable network and wireless network and can switch fast, when cable network is out of order, can switch to wireless network fast and do not influence normal broadcasting, and can the assist location fault point;
6. support Long-distance Control and program updates, convenient on-the-spot operation and maintenance by network.
Embodiment
Provide specific embodiment below in conjunction with accompanying drawing, further specify the utility model and how to realize.
As shown in Figure 1, the o controller device that is used for the railway transport of passengers broadcast system of the present utility model has electric current and voltage synchronized sampling circuit, and the Wave data of sampling carries out Digital Signal Processing and analysis by microprocessor; The high-power audio switching matrix carries out the active and standby switching of power amplifier; The wireless network transceiver of 10M/100M self adaptation Ethernet interface and support 802.11/b/g/n standard is used for wired or wireless networking and carries out networking control, concrete formation includes: microprocessor 1, ethernet physical layer chip 2, wireless network module 3, electric current and voltage synchronized sampling circuit 4, high-power audio switching matrix 5, electric current and voltage sampling coupling and buffer circuit 6 and sampling channel fast switch circuit 7, wherein, microprocessor 1 connects ethernet physical layer chip 2 by the MII interface, microprocessor 1 connects wireless network module 3 by USB OTG interface, microprocessor 1 connects electric current and voltage synchronized sampling circuit 4 by the IIS interface, described electric current and voltage synchronized sampling circuit 4 is also by two holding wire (voltage signals, another root current signal) is connected to two signal output parts of sampling channel fast switch circuit 7, the multiple signals input of described sampling channel fast switch circuit 7 is connected to electric current and voltage sampling coupling and buffer circuit 6 by 10 road voltage and current holding wires, the control port of sampling channel fast switch circuit 7 is connected to the GPIO of microprocessor, the input signal of described electric current and voltage sampling coupling and buffer circuit 6 is from high-power audio switching matrix 5, and the power signal input port of described high-power audio switching matrix 5 connects eight tunnel master's power amplifier A and two-way non-firm power amplifier B and is connected to microprocessor 1 by spi bus.
The o controller device that is used for the railway transport of passengers broadcast system of the present utility model, ethernet physical layer chip and wireless network module are connected to network and carry out data transmit-receive under the control of microprocessor, the high-power audio switching matrix provides the output channel of power amplifier, can connect 8 tunnel master's power amplifiers and 2 road non-firm power amplifiers, altogether 10 road output channels.Electric current and voltage sampling coupling and buffer circuit are obtained the voltage and current signal from the output channel of high-power audio switching matrix and are had 10 the tunnel altogether, mate then with isolation processing and send into the sampling channel fast switch circuit, microprocessor switches circulation by GPIO interface control sampling channel fast switch circuit 10 road voltage and current signals is switched to output, sends into electric current and voltage synchronized sampling circuit by two holding wires then.Electric current and voltage synchronized sampling circuit carries out synchronized sampling to two kinds of signals, and is direct waveform sampling, voltage current waveform is converted into Standard PC M Wave data sends into microprocessor by the IIS bus.Microprocessor carries out Digital Signal Processing and analysis to the Wave data of electric current and voltage, judge power amplifier then whether fault is arranged, whether the loudspeaker loop has the open circuit or the situation of short circuit, and the further distortion factor and the spectral characteristic of analytical system.If have power amplifier fault or output loop that the situation of open circuit and short circuit is arranged, then send to network by ethernet physical layer chip or wireless network module, if the power amplifier fault is arranged, microprocessor carries out the matrix switching by spi bus control high-power audio switching matrix to cut off the power amplifier of fault from output loop, then standby power amplifier is switched on the output loop at fault power amplifier place.By being sent to the broadcasting control room by network, the PCM Wave data of voltage and current can also finish monitoring signal sampling function.
As shown in Figure 2, described microprocessor 1 includes control chip U9A and crystal oscillator chip U2, described control chip U9A is the Highgrade integration embedded MCU U9A based on core A RM-CORTEX3, concrete model is STM32F107VCT, have USB OTG interface, be used to connect the standard MII interface of ethernet physical layer chip 2, the standard I IS interface that is used for digital audio, inner integrated big capacity Flash memory and high-performance SRAM, described crystal oscillator chip U2 is crystal oscillator input pin 12 pin that the active crystal oscillator of 25MHz high accuracy is connected to control chip U9A.Why adopting the active crystal oscillator of high accuracy is precision and stability in order to guarantee the sampled audio signal rate.The peripheral tube footnote of control chip U9A has been annotated the title of signal, wherein pin two 3,24,25,26,32,35,36,95,47,48,51,52,34,33,18,17,16 altogether 17 lines be that ethernet physical layer MII interface is used to connect ethernet physical layer chip 2; Pin 70 is used to be connected wireless network module 3 with 71 for USB OTG interface; Pin two 9,78,79,80 is used to connect electric current and voltage synchronized sampling circuit 4 for the IIS interface, and pin 67 is used for providing clock to ethernet physical layer chip 2 for MCO output; Pin 92 and 93 carries out the parameter setting for the I2C interface is used to control electric current and voltage synchronized sampling circuit 4; Pin 81,82,83,84 is 4 GPIO, is connected to the switching that sampling channel fast switch circuit 7 is used to control sampling channel; Pin the 42,43,44,45, the 46th, the SPI interface is connected to high-power audio switching matrix 5 and is used for the active and standby switching of control power amplifiers.
As shown in Figure 3, described ethernet physical layer chip 2 includes the RJ45 socket CN1 of chip U1 and integrated network transformer, and described RJ45 socket CN1 links to each other with chip U1 by RD+, RD-, four lines of TD+ and TD-.The concrete model of chip U1 is DP83848CVV.The MII interface of chip U1 by standard 17 lines altogether is connected to microprocessor 1, and RJ45 socket CN1 is the RJ45 socket of integrated network transformer, is used to connect the external ethernet line.Voice data from Ethernet enters chip U1 inter-process by RJ45 socket CN1, enters microprocessor 1 by the MII interface then.
As shown in Figure 4, described wireless network module 3 includes module U10, the power connection that is used for control module U10 and the switch triode Q61 of disconnection link to each other with 1 pin of module U10, two power filtering capacitor C13 that are in parallel that link to each other with switch triode Q61 with module U10, C16, the model of described switch triode Q61 is S8550, its base stage is connected to the WLAN_PWR pin of microprocessor by a resistance R 12, microprocessor WLAN_PWR pin is set to low level switch triode Q61 conducting, module U10 begins powered operation, microprocessor WLAN_PWR pin is set to high level, switch triode Q61 quits work by, module U10 outage.Described module U10 is connected to the USB_OTG interface of microprocessor 1 by two usb data line USB_DM and USB_DP, and module U10 receives data and sends into microprocessor 1 by the usb data line from wireless network.
As shown in Figure 5, described electric current and voltage synchronized sampling circuit 4 includes chip U13, and the concrete model of chip U13 is CS42L52, this chip internal is integrated stereo audio CODEC and digital audio processing module, this chip can carry out real-time sync waveform collection to the two-way analog signal.Described chip U13 is connected to the I2C interface of microprocessor 1 by two I2C bus Audio_SDA and Audio_SCK, receive the control operation of microprocessor 1, be connected to the IIS interface of microprocessor by 4 line I2S_MCK I2S_CK I2S_WS and SDOUT, wherein SDOUT be connected to microprocessor-the 2S_DIN pin; Pin 21 pin and 22 pin of described chip U13 are connected the voltage signal and the current signal of sampling channel fast switch circuit 7 respectively, voltage and current signal from sampling channel fast switch circuit 7 enters U13 from pin two 1 and 22 respectively, after the number conversion of U13 internal mode, become standard dual track PCM Wave data, send into microprocessor by the I2S interface then.
As Fig. 6; shown in Figure 7; described high-power audio switching matrix 5 includes 16 protection diodes being formed 8 * 2 switch matrix and be connected in parallel by 16 dpdt relays; the left side of horizontal 8 passages of described switch matrix connects main power amplifier A; the right of horizontal 8 passages of described switch matrix connects load circuit; vertical 2 passages of described switch matrix connect non-firm power amplifier B; the control end of described 16 relays is by connecting the Great Power Driver U6 of two serial inputs; U8 is connected to microprocessor 1; 8 * 2 switch matrix one has 10 power amplifier passages; the circuit form of each passage is identical, and 10 input channels that connect eight tunnel master's power amplifier A and two-way non-firm power amplifier B also are connected to electric current and voltage sampling coupling and buffer circuit 6.
Shown in Figure 6 has provided 4 * 2 cubicle switchboard systems of battle formations; form by 8 dpdt relay K11, K12, K21, K22, K31, K32, K41, K42 and 8 protection diode D11, D12, D21, D22, D31, D32, D41, D42; the horizontal input of switch matrix connects main power amplifier, and switch matrix is vertically imported and connected two-way non-firm power amplifier.Control end R1L1, the R1L2 of each relay, R2L1, R2L2, R3L1, R3L2, R4L1, R4L2 connect relay drive circuit shown in Figure 7.As shown in Figure 7, relay drive circuit is that the Great Power Driver U6 and the U8 of two serials input of 6B595 constitutes by model, two Great Power Driver U6 and U8 cascade form the control end that 16 drive wires are connected respectively to each relay, and the control pin 3,8,13,12 and 9 of Great Power Driver U6 and U8 is connected to the SPI interface of microprocessor 1.When detecting the power amplifier fault, microprocessor 1 realizes the active and standby switching of power amplifier, for example: relay K 1 adhesive is realized the cut-out of first via master power amplifier is switched to first via output to first via non-firm power amplifier simultaneously by the output transfer relay of SPI control Great Power Driver U6 and U8.
As shown in Figure 8, described electric current and voltage sampling coupling and buffer circuit 6 include the sample circuit of 10 road same structures, wherein No. one sample circuit includes voltage sample isolating transformer T11 and by three resistance R 3, R5, the bleeder circuit that R23 forms, and current sample isolating transformer T12 and current sampling resistor R34, wherein, described by three resistance R 3, R5, the bleeder circuit that R23 forms is in parallel with the input of eight tunnel master's power amplifier A of high-power audio switching matrix 5 and two-way non-firm power amplifier B, described current sampling resistor R34 is connected in the input circuit of eight tunnel master's power amplifier A of high-power audio switching matrix 5 and two-way non-firm power amplifier B and obtains electric current, and described voltage sample isolating transformer T11 and the output of current sample isolating transformer T12 are connected the voltage and current input of sampling channel fast switch circuit 7 respectively.Promptly each power amplifier input channel two ends bigger divider resistance of resistance in parallel of 8 * 2 switch matrix in high-power audio switching matrix 5 divides power taking to press signal, the very little resistance of resistance of also will connecting in each channel loop simultaneously divides power taking stream signal, respectively voltage signal and current signal are isolated transmission and impedance conversion by two isolating transformers then, what connect voltage signal is the voltage sample isolating transformer, and what connect current signal is the current sample isolating transformer.The output of two isolating transformers is connected to sampling channel fast switch circuit 7.
As shown in Figure 9, described sampling channel fast switch circuit 7 is formed the multiway analog switch that two group of 10 passage input, 1 passage are exported by 10 identical analog switch chips and a slice 4-16 decoder U7, wherein, first group of analog switch is the plurality of voltages selector switch, and the 10 passages input of this plurality of voltages selector switch connects the output of the voltage sample isolating transformer T11 of all passages in electric current and voltage sampling coupling and the buffer circuit 6 respectively; Second group of analog switch is the multichannel current selected switch, and the 10 passages input of this multichannel current selected switch connects the output of the current sample isolating transformer T12 of all passages in electric current and voltage sampling coupling and the buffer circuit 6 respectively; The output of 4-16 decoder U7 connects first group of analog switch and second group of analog switch, be used for controlling simultaneously the selecting side of these two groups of analog switches, the input of 4-16 decoder U7 is connected to microprocessor 1, the switching of switch is controlled by microprocessor, and the output of two groups of multiway analog switches is connected respectively to the stereophony audio frequency input of electric current and voltage synchronized sampling circuit 4.
Concrete formation is described sampling channel fast switch circuit 7, one has 10 tunnel input channels, here provide 4 the tunnel, wherein a route analog switch chip U11 constitutes, and the two-way input INPUT1_V of analog switch chip U11 is connected with INPUT1_C from electric current and voltage sampling coupling and the voltage sample isolating transformer T11 of buffer circuit 6 and the output of current sample isolating transformer T12.The two-way output LINE_INA of analog switch chip U11 is connected the pin two 1 and 22 of electric current and voltage synchronized sampling circuit 4 chips U13 with LINE_INB.The conducting control pin LINE_CS0 of analog switch chip U11 is connected to the first via output of 4-16 decoder chip U7.4 road address control signal LINE_CSA, LINE_CSB, LINE_CSC and the LINE_CSD of decoder chip U7 is connected to the GPIO mouth of microprocessor 1.Microprocessor 1 is by controlling 10 output ports that 4 GPIO mouths are provided with decoder chip U7, controls the conducting of 10 analog switch chip U11 and closes, thereby select the voltage and current signal of different passages to enter electric current and voltage synchronized sampling circuit 4.