Specific embodiment
In one embodiment, a kind of Digital Transmission case, as shown in Figure 1, including power supply module and business and master control board card,
Power supply module includes Switching Power Supply 102, controllable direct current power supply output interface 104 and controllable AC power outlet 106, business and master
Control board includes main control singlechip 202, optical fiber exchange chip 204, Ethernet interface 206, exchange chip resets and accumulator
208, the first control switch K1, city's power detection circuit 210 and output electric current measure control circuit 212.
The input terminal of Switching Power Supply 102 connects output electric current measure control for accessing alternating current, the output end of Switching Power Supply 102
Circuit 212 and main control singlechip 202 processed, output electric current measure control circuit 212 connect 104 He of controllable direct current power supply output interface
The control terminal of main control singlechip 202, the first control switch K1 connects main control singlechip 202, the input terminal of the first control switch K1
The output end of the input terminal of connection switch power supply 102, the first control switch K1 connects controllable AC power outlet 106;Exchange core
Piece resets and output end, optical fiber exchange chip 204 and the main control singlechip 202 of 208 connection switch power supply 102 of accumulator;City
The input terminal and main control singlechip 202 of 210 connection switch power supply 102 of power detection circuit;Main control singlechip 202 connects optical fiber exchange
Chip 204, optical fiber exchange chip 204 connect Ethernet interface 206.The concrete type of Switching Power Supply 102 is not unique, this implementation
Switching Power Supply 102 is AC/DC Switching Power Supply in example.
The alternating current of access is converted to direct current and is exported by output end to output electric current measure by Switching Power Supply 102 controls electricity
Road 212;Output electric current measure control circuit 212 is in conducting by the direct current electricity output of access to controllable direct current power supply output interface
104, and the direct current flowed through is sampled, it obtains sampled signal and exports to main control singlechip 202;First control switch K1 exists
By city's electricity output of access to controllable AC power outlet 106 when conducting.
Optical fiber exchange chip 204 is used to receive remote control information by Ethernet interface 206 and is transmitted to master control monolithic
Machine 202, and receive current data and fault data that main control singlechip 202 is sent and exported by Ethernet interface 206;It is main
Control single-chip microcontroller 202 is opened for the control output electric current measure control circuit 212 of remote control information based on the received and the first control
The on-off of K1 is closed, and control exchange chip resets and accumulator 208 resets optical fiber exchange chip 204;Master control list
Sampled signal is calculated current data and exports to optical fiber exchange chip 204, in Switching Power Supply piece machine 202 based on the received
When the direct current of 102 outputs is zero, control city's power detection circuit 210 detects the alternating current of the input terminal of Switching Power Supply 102,
And it generates fault data according to testing result and exports to optical fiber exchange chip 204.Ethernet interface 206 can specifically connect intelligent report
Hinder platform, optical fiber exchange chip 204 carries out data interaction by Ethernet interface 206 and platform software.Ethernet interface
206 concrete type is not unique, in one embodiment, Ethernet interface 206 include connection optical fiber exchange chip 204 with
Too net optical interface 2062 and/or Ethernet electrical interface 2064.In the present embodiment, Ethernet interface 206 includes Ethernet light simultaneously
The road of interface 2062 and 8 Ethernet electrical interface 2064.
Remote control information controls output electric current measure control circuit 212 and first to main control singlechip 202 based on the received
The on-off of control switch K1 realizes the output of remote-controllable alternating current-direct current.Main control singlechip 202 and optical fiber exchange chip 204 it is specific
Type is not unique, in the present embodiment, main control singlechip 202 be STM32f407VG single-chip microcontroller, comprising TCP/IP communication part,
State detection portion and control section, to realize that platform software passes through inquiry of the network to digital transmission box device status information
Push with long-range control and Digital Transmission case fault message to platform.Optical fiber exchange chip 204 uses the exchange core containing optical port
Piece completes the transmission of network service optical fiber, and optical fiber exchange chip 204 is connect by MII mouthfuls with main control singlechip 202, completes information and hands over
Mutually and impaired report information by optical fiber port is transferred to platform software, can also be achieved to each optical fiber port of optical fiber exchange chip 204 with
And Ethernet power port working condition monitoring and be pushed to platform software.The type of first control switch K1 is not unique, this
In embodiment, the first control switch K1 is relay.
Main control singlechip 202 detects alternating current access interface after detecting 102 power-fail interrupt of Switching Power Supply, if city at this time
Piezoelectric voltage is normal, then is determined as 102 failure of Switching Power Supply, if line voltage is 0V at this time, is determined as alternating current power down, at this time
Give corresponding error code to platform software by optical fiber exchange chip 204 by main control singlechip 202, realize power down fault detection and
It uploads.
Controllable direct current power supply output interface 104 can specifically connect external IP C (IP Camera, web camera) equipment or
Other equipment.The quantity of controllable direct current power supply output interface 104 is not unique, and specifically can be 1-8 group power output interface,
The quantity of output electric current measure control circuit 212 is identical as the quantity of controllable direct current power supply output interface 104.In the present embodiment,
Controllable direct current power supply output interface 104 includes the independent output interface in 8 tunnels, and output electric current measure control circuit 212 includes that 8 tunnels are only
Vertical detection control circuit, the output end of Switching Power Supply 102 detect the corresponding output of control circuit connection by each road respectively and connect
Mouthful.Every road detection control circuit may include relay and current detection circuit, the output end of relay connection switch power supply 102,
Main control singlechip 202 and current detection circuit, current detection circuit connect main control singlechip 202 and corresponding output interface.It is main
Control single-chip microcontroller 202 can control whether corresponding output interface exports direct current by relay, and current detection circuit passes through sampling electricity
Resistance is sampled, and is obtained sampled signal and is sent to main control singlechip 202, main control singlechip 202 can be calculated according to sampled signal
Current value to corresponding current detection circuit is transmitted to platform software.Platform software can remotely control 1- according to actual demands of engineering
The detection control circuit on 8 tunnels can also pass through the electric current that software is arranged to realize the long-range function of controlling camera power supply
Lock value automatically controls the shutdown of out-put supply, and when external IPC device current exception, platform software sends order automatically and closes electricity
Source avoids equipment from further being damaged, and realizes and carries out remote on-off control to front end access IPC equipment power supply, sets to IPC
Stand-by power source electric current is monitored and is more than early warning value function of automatically cutting off power source.
Exchange chip resets and the specific structure of accumulator 208 is not unique, and in one embodiment, exchange chip is multiple
Position and accumulator 208 include the anode connection switch of diode D1, super capacitor C1 and the second control switch K2, diode D1
The output end of power supply 202, one end of the cathode connection super capacitor C1 of diode D1, the other end of super capacitor C1 connect master control
The input terminal of single-chip microcontroller 202 and the second control switch K2, the control terminal of the second control switch K2 connect main control singlechip 202, the
The output end of two control switch K2 connects optical fiber exchange chip 204.The type of second control switch K2 is not unique, can be three
Pole pipe or metal-oxide-semiconductor.
Main control singlechip 202 is based on the received in the reset of remote control information control exchange chip and accumulator 208
Second control switch K2 resets optical fiber exchange chip 204, realize remote reset exchange chip control, it is easy to operate can
It leans on.Super capacitor C1 and diode D1 is used for accumulation of energy, powers when power fail warning to optical fiber exchange chip 204, in outside
Power supply can maintain the work of optical fiber exchange chip 204 10 seconds or more after disconnecting.After 102 power-fail interrupt of Switching Power Supply, master control
Single-chip microcontroller 202 super capacitor C1 power supply persistently hold time it is interior enough by fault message give platform software deposit database,
It ensure that the absolute accuracy of fault message detection and transmission.In addition, main control singlechip 202 can also connect super capacitor C1 and
The common end of two control switch K2, detects the voltage of super capacitor C1, when the electric energy deficiency of super capacitor C1 storage
It can charge in time to super capacitor C1, it is ensured that the functional reliability of optical fiber exchange chip 204.
Above-mentioned Digital Transmission case, main control singlechip 202 control alternating current when the direct current that Switching Power Supply 102 exports is zero
Detection circuit 210 detects the alternating current of the input terminal of Switching Power Supply 102, and generates fault data output according to testing result
To optical fiber exchange chip 204, city is detected after 102 power-fail interrupt of Switching Power Supply and is electrically accessed situation, and utilize optical fiber exchange chip
204 export fault data by Ethernet interface 206, and operator is capable of the fault type of accurate judgement Digital Transmission case,
In order to overhaul in time according to fault type to digital transmission box, maintenance convenience is improved.
In one embodiment, Digital Transmission case further includes lighting device, and with continued reference to Fig. 1, business and master control board card are also
Gate inhibition's detection circuit 214 and illumination control circuit 216 including connecting main control singlechip 202, the connection of illumination control circuit 216 are shone
Bright device.Gate inhibition's detection circuit 214 is for detecting access control state and being sent to main control singlechip 202;Main control singlechip 202
According to access control state, the light on and off of lighting device are controlled by illumination control circuit 216.The type of lighting device is not only
One, in the present embodiment, lighting device is LED (Light Emitting Diode, light emitting diode) lamp.
Specifically, gate inhibition's detection circuit 214 is optocoupler detection circuit, the judgement when contact above gate inhibition shelters from optocoupler
For gate inhibition's closing, contact is determined as that gate inhibition opens when leaving optocoupler, while main control singlechip 202 is using this gate inhibition's signal as automatic
Lighting lamp control signal controls lighting device by illumination control circuit 216 when gate inhibition opens and opens, and gate inhibition passes through photograph when closing
Bright control circuit 216 controls lighting device and closes.Meanwhile main control singlechip 202 is also by gate inhibition's state and illumination condition information
Platform software is pushed to by optical fiber exchange chip 204 and Ethernet interface 206.
In one embodiment, Digital Transmission case further includes temperature-controlled fan, and business and master control board card further include connection master control
The temperature sensing circuit 218 and fan control circuitry 220 of single-chip microcontroller 202, fan control circuitry 220 connect temperature-controlled fan.Temperature
Detection circuit 218 obtains temperature collection value and is sent to main control singlechip 202 for carrying out temperature detection;Main control singlechip 202
It is also used to for temperature collection value being sent to optical fiber exchange chip 204, and according to temperature collection value, passes through fan control circuitry
The switching-on and switching-off state of 220 control temperature-controlled fans;Optical fiber exchange chip 204 is also used to receive temperature collection value and passes through Ethernet
Interface 206 exports.
Specifically, temperature sensing circuit 218 includes the temperature acquisition chip of model DS18B20, and temperature acquisition chip will
Real-time collected temperature data is stored in internal register, and when main control singlechip 202 needs data, just from register
Middle reading binary data, is then converted into metric temperature data for binary data.Two can be arranged in Digital Transmission case
Group temperature-controlled fan, main control singlechip 202 open lock value according to temperature collection value and the fan of setting, pass through fan control circuitry
The switching-on and switching-off state of metal-oxide-semiconductor control temperature-controlled fan inside 220, temperature-controlled fan work is controlled when Digital Transmission box temperature spends high
It radiates.
In one embodiment, business and master control board card further include the voltage detecting circuit 222 for connecting main control singlechip 202
And/or video camera 224.In the present embodiment, business and master control board card include simultaneously voltage detecting circuit 222 and video camera 224.
Voltage detecting circuit 222 specifically can be divide sampling by operating voltage of the resistance to digital transmission box and send
To main control singlechip 202, virtual voltage is then gone out by the A/D circuit counting inside main control singlechip 202, then will collect
Voltage value upload to platform software.Video camera 224 uses pin serial ports video camera, is mounted on Digital Transmission box top, when
Linkage serial ports video camera is taken pictures when gate inhibition opens, and transmits pictures to main control singlechip 202 by serial ports, main control singlechip 202 is beaten
Pass through network push after packet encoder and used to platform software storage for inquiry verification later, it is fixed that video camera 224 also can be set
When take pictures uploading pictures function.
In addition, Digital Transmission case further includes shell, power supply module, business and master control board card, lighting device and temperature-controlled fan
It is all set in shell, improves the safety in utilization of Digital Transmission case.It can also set position corresponding with temperature-controlled fan on the shell
Interior circulating air opening is set, convenient for heat dissipation.
In one embodiment, business and master control board card include simultaneously main control singlechip 202, optical fiber exchange chip 204, with
Too network interface 206, exchange chip reset and accumulator 208, the first control switch K1, city's power detection circuit 210, output electric current
Detect control circuit 212, gate inhibition's detection circuit 214, illumination control circuit 216, temperature sensing circuit 218 and fan control circuitry
220.By said elements concentrated setting in business and master control board card, the integrated level of Digital Transmission case is improved, is easily installed, event
Barrier is checked and construction cost is low, improves property easy to maintain.Business and master control board card also can receive the video counts of IPC equipment output
According to and upload.Business and master control board card acquire a variety of data and are uploaded, and remote control information carries out pair based on the received
It should operate, realize the long-range detection and long-range control of Digital Transmission case operating status.
In one embodiment, as shown in Fig. 2, power supply module further includes auto recloser 108 and power lightning protection dress
110 are set, auto recloser 108 passes through the input terminal of 110 connection switch power supply 102 of lightning protection device for electric power.Using automatic weight
Closing device 108 greatly improves the reliability of power supply, reduces loss of outage.By lightning protection device for electric power 110 reduce and
It prevents lightning current in generated galvanomagnetic-effect, improves power supply reliability.In addition, power supply module may also include connection switch power supply
102 DC port 112, DC port 112 is for exporting direct current for external equipment power supply.DC port 112 specifically may be used
To be the DC port of DC12V, 8A, it is also possible to the DC port of DC24V, 4A.
In one embodiment, a kind of fault diagnosis system, as shown in figure 3, including center-side reception optical fiber transceiver machine
Frame 300, intelligence report barrier platform 400 and above-mentioned Digital Transmission case, intelligence report barrier platform 400 receive light by local area network and center-side
Fine transceiver rack 300 connects, and the Ethernet that center-side reception optical fiber transceiver rack 300 connects corresponding Digital Transmission case connects
Mouthful.
The design of 2U frame structure specifically can be used in center-side reception optical fiber transceiver rack 300.Center-side reception optical fiber
Transceiver rack 300 receives the current data that corresponding Ethernet interface exports and fault data and is sent to intelligence report barrier platform
400;Center-side reception optical fiber transceiver rack 300 is also used to receive the remote control information of the intelligence report barrier transmission of platform 400 simultaneously
It is sent to corresponding Ethernet interface;Intelligence report barrier platform 400 is for receiving current data and fault data and storing.Number passes
Defeated case is connected with corresponding IPC equipment respectively, and the quantity of Digital Transmission case is not unique, center-side reception optical fiber transceiver rack
300 connect with the Ethernet interface of each Digital Transmission case, to carry out data interaction.
In one embodiment, center-side reception optical fiber transceiver rack 300 includes that business board and report hinder management module,
Business board connects the Ethernet interface of corresponding Digital Transmission case, and intelligently report hinders platform 400, report barrier pipe by LAN connection
It manages module and connects business board, and intelligently report hinders platform 400 by LAN connection.
Business board clamping receives the current data for corresponding to Ethernet interface output and fault data and is sent to intelligence report barrier and puts down
Platform 400 receives the remote control information that intelligence report barrier platform 400 is sent and is sent to corresponding Ethernet interface;Report barrier management
Module be used for detect business board optical fiber port state and Ethernet power port state and be sent to intelligence report barrier platform 400.Intelligence
Report hinders platform 400 according to the optical fiber port state and Ethernet power port state of business board, and corresponds to Ethernet interface output
Fault data Digital Transmission case caused by alternating current power down, Switching Power Supply failure, disconnected optical fiber or Network Abnormal judges offline,
It obtains fault type and exports.The mode for exporting fault type is not unique, can be output to database server and is deposited
Storage is also possible to output to display and is shown.
In addition, the optical fiber exchange chip that business board also can receive the Ethernet interface output of corresponding Digital Transmission case is each
Voltage value that the monitoring data of optical fiber port and Ethernet power port working condition, main control singlechip collect, shines at gate inhibition's state
The video data of bright status information, the picture of video camera shooting and the output of IPC equipment, and received data are sent to intelligence
Barrier platform 400 can be reported to be stored.
The quantity of business board is identical as the quantity of Digital Transmission case, in the present embodiment, business board and Digital Transmission case
Quantity be 16.16 business boards and the binding of front-end digital transmission box realize the access of front-end digital transmission box, will
Ethernet fiber-optic signal is converted into Ethernet electric signal and is linked into access-layer switch, and the long-distance optical fiber of finishing service transmits,
Report barrier management module realizes the state acquisition to rack, control management and state acquisition and control to business board.
Specifically, report barrier management module is provided with the single-chip microcontroller main control unit of STM32f407VG design, logical comprising TCP/IP
News part, state detection portion and control section.The monitoring to chassis power supply voltage, state of temperature may be implemented;It can pass through
Platform software realizes that the remote switch to 16 business board power supplies controls;Can with the optical fiber port state of capturing service board and with
Too net power port state is pushed to platform software.
In one embodiment, intelligence report barrier platform 400 includes by local area network and center-side reception optical fiber transceiver machine
Report barrier server, report barrier client terminal and the video management server that frame 300 connects.Report barrier server is for receiving Digital Transmission
The status information of case and center-side fiber optical transceiver rack and storage.Video management server is for receiving the upload of Digital Transmission case
Picture and video data stored.By data upload server storage to database, used for inquiry, statistics, report barrier.It can
Inquiry instruction is sent by report barrier client terminal and carries out data query, and the status information of each Digital Transmission case is presented to use
Family, while can also be executed the Digital Transmission case that the remote control information of user sends front end to by report barrier client terminal corresponding
Movement.
Specifically, report barrier server includes alarm management module, inquiry and statistical module and intelligence report barrier function.Wherein,
Alarm management module generates alarm record by setting alarm lock value and condition, a variety of by short message, pop-up, voice, acousto-optic etc.
Alarm mode notifies user.Inquiry is with statistical module for providing the historical query of equipment monitoring data;Intelligence report barrier function is adopted
With various faults model or prediction model, equipment fault diagnosis and early warning are carried out.
By the way that alternating current power down, Switching Power Supply failure may be implemented in intelligence report barrier platform 400, break optical fiber, Network Abnormal cause
The accurate judgement that carries out offline of Digital Transmission case, alternating current power down, Switching Power Supply failure, center-side reception optical fiber transceiver rack
Digital Transmission case and center-side reception optical fiber transceiver rack 300 all can immediately believe failure after 300 disconnected fiber failures generate
The background server that breath is pushed to intelligence report barrier platform 400 is stored to database.When between background server and Digital Transmission case
The heartbeat mechanism of foundation disconnects, and device status information at the last moment is inquired when Digital Transmission case is offline, if having alternating current to fall at this time
Electricity condition is then determined as that Digital Transmission case caused by alternating current power down is offline;If there is Switching Power Supply malfunction at this time, determine
It is offline for Digital Transmission case caused by Switching Power Supply failure;If alternating current power down at this time, Switching Power Supply are all normal, there is not report barrier note
Record, then the optical port state with the center-side reception optical fiber transceiver rack 300 of Digital Transmission case binding is inquired, if optical port is disconnected
It opens, is then determined as that Digital Transmission case caused by optical fiber disconnection is offline, if optical port is normal, be determined as number caused by Network Abnormal
Word transmission box is offline.After failure, judged by received data, can accurately and timely find failure cause,
Convenient for plant maintenance.
Above-mentioned fault diagnosis system, center-side reception optical fiber transceiver rack 300 receive corresponding Ethernet interface output
Data Concurrent send to intelligence and reports barrier platform 400.After failure, judged by received data, it can be accurately and timely
Ground finds failure cause, improves maintenance convenience.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention
Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.