Fire-fighting illumination intelligent monitor system based on power line communication
Technical field
The invention belongs to the power line communication technology field, particularly a kind of fire-fighting illumination intelligent monitor system based on power line communication.
Background technology
In recent years, the structure of building building more and more is tending towards high-rise multifunction and complicated, and the fire-fighting illumination monitoring system has become the necessary device of large-scale building.This device is when emergencies such as breaking out of fire, and is most important for the personnel of assurance life security, therefore receives various countries and payes attention to and greatly develop.
The fire-fighting illumination monitoring system that production is both at home and abroad at present used has varied, and dividing by its work implementation has independent control type, centralized control type and primary and secondary control type.Domestic existing fire-fighting illumination monitoring system is main with independent control type, because the indicator light quantity in the building is huge, gives to administer and maintain and has brought very big difficulty.Need check to judge whether it is in proper working order one by one to the indicating status of indicator light, then difficult more for the inspection of backup battery power supply.Its reaction is when breaking out of fire, to tend to bring many blind areas to the escape and evacuation indication in building.On the other hand, this type of escape truck indicator light can only guide the escape and evacuation route according to the direction that configures in advance when emergency takes place, and can't adjust in real time according to actual conditions, optimizes the escape guiding route.Existing few portioned product adopts central controlled method on the domestic market at present.But these products generally use private communication cables such as twisted-pair feeder to make up Control Network as communication channel, thereby have increased construction cost.Particularly for some building that built up, it is difficult in the bed rearrangement building, to lay cable again, even can destroy the building existing structure.
Summary of the invention
The objective of the invention is to design a cover centralized control type fire-fighting illumination intelligent monitor system; Based on power line carrier communication; General existing power line makes up fire-fighting lighting apparatus centrally controlled network as communication channel in the use building, thereby has significantly reduced the cost and the difficulty of network layout.Native system can be monitored fire-fighting emergent escape lighting light fixture in the Architectural Equipment in real time; Can select a best escape route through computer according to the fire alarm on-the-spot concrete condition of signal and the condition of a disaster that links; Transfer of data and electric power transfer are combined together, realize the bus architecture of free topology.
To achieve these goals, the present invention has adopted following technical scheme:
A kind of fire-fighting illumination intelligent monitor system based on power line communication; Said system comprises power carrier concentrator and at least one the power carrier collector based on power line communication based on power line communication that is connected with control centre; Wherein, The power carrier collector passes through power line and communication protocol networking thereof, and communicates by letter with the foundation of power carrier concentrator; Said power carrier collector is connected with the fire-fighting lighting apparatus.
Said power carrier collector comprises single-chip microcomputer, power carrier communication module I, monitoring module, power module I; Wherein single-chip microcomputer uses the SPI interface to be connected with the power carrier communication module I, and monitoring module is connected with the single-chip processor i/o pin; Power module I links to each other with monitoring module with the power carrier communication module I respectively, and said monitoring module comprises the battery electric quantity testing circuit.
Said power carrier concentrator comprises power carrier communication module ii, video module, USB interface, storage device, the hard-disk interface that is connected respectively with the S3C2440 processor; The power module II that is provided with in addition links to each other with S3C2440 processor, power line carrier, PLC module ii, storage device, USB interface, video module respectively.
Said fire-fighting lighting apparatus comprises emergency light or escape truck indicator light or fire-alarm.
Said single-chip microcomputer is ATmega16.
Said power line carrier, PLC module I, power line carrier, PLC module ii are power carrier chip MI200E carrier chip, and said MI200E carrier chip uses direct-sequence spread-spectrum modulation mode, traffic rate 1.6Kbps; Said S3C2440 processor operating system adopts linux operating system, and graphic user interface adopts QT GUI, and power carrier chip MI200E adopts the linux driver.
The implementation method step of said fire-fighting illumination intelligent monitor system based on power line communication:
The step 1) power-on self-test;
Step 2) after self check was passed through, the power carrier collector added the power carrier network;
Step 3) is respectively repeatedly to fire-fighting lighting apparatus cell voltage, and circuitry key position fault and fire alarm signal are monitored judgement.Pinpoint the problems, state is sent to the power carrier concentrator.
The power carrier collector is gathered fire-fighting lighting apparatus cell voltage, goes back collecting device circuit key position fault and fire alarm signal state information, whenever sends Information Monitoring at a distance from 20 seconds to the power carrier concentrator.
Step 4) power carrier concentrator receiving terminal carries out analysis and judgement to information data transmitted, when cell voltage is lower than the threshold value of rated operational voltage 95%; The power carrier collector sends the battery failures packet to the power carrier concentrator, otherwise changes step 3); If fire-fighting lighting apparatus circuit key position has fault, then show fault, if having fire alarm then the calculating optimum escape route transmit control signal.
Said step 4 concrete steps are:
1) power-on self-test;
2) set up the power carrier network;
3) receive power carrier collector data, and regularly show;
4) judge whether to receive fire-fighting lighting apparatus fault data bag, if, change step 6), otherwise, step 3) changeed;
5) judge whether to receive the fire alarm packet, if, change step 7), otherwise, step 3) changeed;
6) show faulty equipment, supply user inquiring;
7) calculating optimum escape route and transmitting control signal.
Said calculating optimum escape route adopts the standard ant group algorithm, may further comprise the steps:
1) initialization fire-alarm (6) node topology net: import fire-alarm (6) node topology figure; Comprise adjacent fire alarm path and distance; Monitoring fire-alarm signal transmitted, if fire alarm information is arranged, the fire-alarm physical location that will be in fire condition adds the taboo table;
2) ant quantity, iterations and initial information element are set: place M artificial ant in each fire-alarm (6) position, iterations N is set, M and N look architectural scale and decide, and present embodiment is provided with M=20, N=50; The initial information element is set to τ
Ij(k)=1/|A|, | A| is a total number of paths; I is a present node; J is a next node, τ
Ij(k) be that every road is through pheromone concentration; Initialization information is plain, and every paths concentration is identical;
3) ant sequence number k=0, the path length k_len=0 that walks are set;
4) k=k+1 and to select sequence number be the ant of k;
5) judge whether ant k reaches the extra exit, if, change step 10), otherwise, step 6) changeed;
6) by formula next node is selected in (1)
P wherein
IjBe the transition probability of i to the j node, promptly ant is selected the transition probability of next node; τ
Ij(k) the local transition probability that pheromone concentration is high will be big, and T is the set of all nodes adjacent with i; L is the argument of summation, and the interval is that leTT is not empty set, and i.e. 1 node of a fire-alarm will be arranged at least.
7) judge whether to select successfully, if, change step 8), otherwise, step 9) changeed;
8) new node of selecting is added the taboo table, accumulation length, and change step 5)
9) ant return to origin is abandoned this paths;
10) judge whether all ants all arrive the extra exit, if, change step 11), otherwise, step 4) changeed;
11) len_local being set is the resulting shortest path of current iteration;
12) judge len_local<len_global, if, change step 13), otherwise, step 3) changeed;
13) the path len_global=len_local of global optimum is set, by formula (1) lastest imformation is plain;
Wherein ρ is the volatilization factor, 0≤ρ≤1; | W| is the optimal path length overall;
14) judge whether to reach iterations, if, change step 15), otherwise, step 3) changeed;
15) escape route that calculates is sent to power carrier collector (3), start the work of passage indicator light, the indication escaping route.
Operation principle of the present invention
Fire-fighting illumination intelligent monitor system based on power line communication; It comprises power carrier collector and power carrier concentrator two parts; The power carrier collector is used for fire-fighting emergent escape lighting light fixture running status in the Architectural Equipment is monitored in real time; Control escape truck indicator light indication escaping route carries out power line communication with the power carrier concentrator.The power carrier collector comprises the ATmega16 single-chip microcomputer, and the ATmega16 single-chip microcomputer is connected with power carrier chip MI200E through the SPI interface, and MI200E and coupling circuit are realized power line carrier, PLC; ATmega16 is connected respectively with switching value testing circuit, battery electric quantity testing circuit, relay circuit, realizes the monitoring of fire-fighting lighting apparatus.The power carrier concentrator is used to collect the state information that the power carrier collector sends, and calculates escape route and transmits control signal to the power carrier collector.The power carrier concentrator comprises the S3C2440 processor, and the S3C2440 processor is connected respectively with SPI interface, storage device, USB interface, ATA hard-disk interface, the video interface of power carrier chip MI200E; Wherein, MI200E and coupling circuit are used to realize power line carrier, PLC; Storage device comprises Flash memory and DDRRAM memory, is used for the information that operating system, application program and the user of store customized need preserve; The ATA hard-disk interface is connected with hard disk, is used to preserve the historic state information of fire-fighting lighting apparatus; External mouse of USB interface and keyboard; Video interface is used for external VGA display.
The present invention can comprise one or more power carrier collectors based on power line communication, also have the power carrier concentrator based on power line communication; Wherein, The power carrier collector passes through the power line communication protocols networking, and connects with the power carrier concentrator; Said power carrier collector is used for fire-fighting lighting apparatus running status in the Architectural Equipment is monitored in real time, control escape truck indicator light indication escaping route; Said power carrier concentrator is used to collect the state information that the power carrier collector sends, and calculates escape route and transmits control signal to the power carrier collector.
The course of work of the present invention does; Power carrier collector timing acquiring is behind fire-fighting lighting apparatus work state information or warning message, and the power carrier collector sends to the power carrier concentrator through the power line communication mode with image data, and the power carrier concentrator carries out record to state information; Judge the fire-fighting lighting apparatus that breaks down; Judge the fire alarm occurrence positions, calculate escape route, transmit control signal to the power carrier collector through the power line communication mode; Power carrier collector control illumination indicating equipment, the indication escaping route.
Beneficial effect of the present invention
The convenience of the first, installing through power line communication mode realization system;
The present invention uses in the building general existing power line to make up fire-fighting lighting apparatus centrally controlled network as communication channel, thereby has significantly reduced the cost and the difficulty of network layout, avoids in building, laying cable again, destroys the building existing structure.
The second, the ease for use of electrification carrier wave concentrator and power carrier collector collaborative work mode elevator system;
Among the present invention; Power carrier concentrator and power carrier collector adopt star-shaped network structure; The power carrier concentrator is through external display; Make the staff can monitor the emergency function and the crash time of fire-fighting lighting apparatus in real time, improved fire-fighting lighting apparatus fault detect efficient in the control room, simple to operation.
Three, have automatic calculating indication escaping route function, shorten the incident response time;
Among the present invention; The power carrier concentrator has been realized all standing to power carrier collector monitored area; The power carrier concentrator can be confirmed alert locations after receiving alarm signal, calculating and sending is sent control signal; Make the illumination indicating equipment indicate best escape route, improved the processing speed of accident.
Description of drawings
Fig. 1 is that the fire-fighting illumination intelligent monitor system based on power line communication of the present invention is formed structural representation;
Fig. 2 is the layout embodiment sketch map of power carrier concentrator of the present invention and power carrier collector node;
Fig. 3 is a power carrier collector structural representation of the present invention;
Fig. 4 is a power carrier collector for processing device workflow diagram of the present invention;
Fig. 5 is a power carrier concentrator structure sketch map of the present invention;
Fig. 6 is a power carrier concentrator processor workflow diagram of the present invention;
Fig. 7 is the program flow diagram of best escape route computational methods of the present invention.
Wherein, 1. power carrier concentrator, 2. power line, 3. power carrier collector, 4. emergency light; 5. escape truck indicator light, 6. fire-alarm, 7. monitoring module, 8. single-chip microcomputer, 9. power carrier communication module I; 10. power module I, 11.S3C2440 processor, 12 hard-disk interfaces, 13USB interface; 14 video modules, 15 storage devices, 16 power carrier communication module iis, 17 power module II.
Embodiment
The present invention proposes a kind of fire-fighting illumination intelligent monitor system based on power line communication, specifies as follows in conjunction with accompanying drawing and embodiment:
In Fig. 1, can find out a kind of fire-fighting illumination intelligent monitor system based on power line communication; Said system comprises power carrier concentrator 1 and at least one the power carrier collector 3 based on power line communication based on power line communication that is connected with control centre; Wherein, Power carrier collector 3 passes through power line 2 and communication protocol networking thereof, and communicates by letter with 1 foundation of power carrier concentrator; Said power carrier collector 3 is connected with the fire-fighting lighting apparatus.The power carrier collector is used for fire-fighting emergent escape lighting light fixture running status in the Architectural Equipment is monitored in real time, control escape truck indicator light indication escaping route; The power carrier concentrator is used to collect the state information that the power carrier collector sends, and calculates escape route and transmits control signal to the power carrier collector.
As shown in Figure 2.Present embodiment adopts 5 power carrier collectors 3, is installed at fire-alarm 6, escape truck indicator light 5, emergency light 4 fire-fighting lighting apparatus in the building; Power carrier concentrator 1 is arranged in the control room.
Each power carrier collector 3 composition embodiment is as shown in Figure 3 among the present invention.This power carrier collector 3 comprises single-chip microcomputer 8, power carrier communication module I 9, monitoring module 7, power module I 10; Wherein single-chip microcomputer 8 uses the SPI interface to be connected with power carrier communication module I 9, and monitoring module 7 is connected with single-chip microcomputer 8I/O pin; Power module I10 links to each other with monitoring module 7 with power carrier communication module I 9 respectively, and said monitoring module 7 comprises the battery electric quantity testing circuit.
The monitoring module of above-mentioned power carrier collector embodiment uses the switching value testing circuit that fire-fighting lighting apparatus circuit key position is detected; Use relay circuit control escape truck indicator light direction indication, use the battery electric quantity testing circuit to detect the fire-fighting lighting apparatus crash time;
Power carrier communication module electrification carrier chip MI200E among the above-mentioned power carrier collector embodiment, MI200E connect coupling circuit and realize power line communication; The power carrier communication module is used for state and warning message are sent to the power carrier concentrator; The ATmega16 single-chip microcomputer is used for state information is sampled, and setting threshold judges whether alarm.
This power carrier collector 3 comprises single-chip microcomputer 8, power carrier communication module I 9, monitoring module 7, power module I10; Wherein single-chip microcomputer 8 uses the SPI interface to be connected with power carrier communication module I 9, and monitoring module 7 is connected with single-chip microcomputer 8I/O pin; Power module I10 links to each other with monitoring module 7 with power carrier communication module I 9 respectively, and said monitoring module 7 comprises the battery electric quantity testing circuit.
This power carrier concentrator 1 comprises power carrier communication module ii 16, video module 14, usb 13, storage device 15, the hard-disk interface 12 that is connected respectively with S3C2440 processor 11; The power module II17 that is provided with in addition links to each other with S3C2440 processor 11, power line carrier, PLC module ii 16, storage device 15, usb 13, video module 14 respectively.
Said fire-fighting lighting apparatus comprises emergency light 4 or escape truck indicator light 5 or fire-alarm 6.
Said single-chip microcomputer 8 is ATmega16.The power module I of present embodiment and power module II adopt the linear power supply of being made up of chip L7805, reduce the interference of power supply factor to carrier signal.
Said power line carrier, PLC module I 9, power line carrier, PLC module ii 16 are power carrier chip MI200E carrier chip, and said MI200E carrier chip uses direct-sequence spread-spectrum modulation mode, traffic rate 1.6Kbps; Said S3C2440 processor 11 operating systems adopt linux operating system, and graphic user interface adopts QT GUI, and power carrier chip MI200E adopts the linux driver.
In Fig. 4, said power carrier collector 3 acquisition step:
The step 1) power-on self-test;
Step 2) after self check was passed through, power carrier collector 3 added the power carrier network;
Step 3) is respectively repeatedly to fire-fighting lighting apparatus cell voltage, and circuitry key position fault and fire alarm signal are monitored judgement.Pinpoint the problems, state is sent to power carrier concentrator 1.
Power carrier collector 3 is gathered fire-fighting lighting apparatus cell voltage, goes back collecting device circuit key position fault and fire alarm signal state information, whenever sends Information Monitoring at a distance from 20 seconds to the power carrier concentrator.
Step 4) power carrier concentrator 1 receiving terminal carries out analysis and judgement to information data transmitted, when cell voltage is lower than the threshold value of rated operational voltage 95%; Power carrier collector 3 sends the battery failures packet to power carrier concentrator 1, otherwise changes step 3); If fire-fighting lighting apparatus circuit key position has fault, then show fault, if having fire alarm then the calculating optimum escape route transmit control signal.
Step 4 concrete steps are:
1) power-on self-test;
2) set up the power carrier network;
3) receive power carrier collector 3 data, and regularly show;
4) judge whether to receive fire-fighting lighting apparatus fault data bag, if, change step 6), otherwise, step 3) changeed;
5) judge whether to receive the fire alarm packet, if, change step 7), otherwise, step 3) changeed;
6) show faulty equipment, supply user inquiring;
7) calculating optimum escape route and transmitting control signal.
The ATmega16 single-chip microcomputer of power carrier collector uses external interrupt mode receiving equipment electric circuit inspection signal, will trigger the single-chip microcomputer external interrupt during circuitry fault;
The ATmega16 single-chip microcomputer of power carrier collector uses the external interrupt mode to receive fire alarm signal, will trigger the single-chip microcomputer external interrupt during circuitry fault;
When circuitry was unusual, power carrier collector transtation mission circuit abnormal data bag was to the power carrier concentrator,
When fire alarm, the power carrier collector sends the fire alarm packet to the power carrier concentrator;
Power carrier concentrator embodiment according to the invention is as shown in Figure 5.This concentrator comprises 1 power carrier communication module, 1 video module, 2 USB interfaces, 1 S3C2440 processor, 1 storage device, 1 hard-disk interface, 1 power module; Wherein the S3C2440 processor links to each other with power carrier communication module, video module, USB controller, storage device respectively, and power module links to each other with S3C2440 processor, power line carrier, PLC module, storage device, USB interface, video module respectively.
The power carrier communication module of above-mentioned power carrier concentrator adopts the Mairtech MI200E of company power carrier chip, uses the direct-sequence spread-spectrum modulation mode, traffic rate 1.6Kbps, and MI200E is connected with coupling circuit, realizes power line communication, 500 meters of communication distances;
The storage device of above-mentioned power carrier concentrator comprises Flash memory and DDRRAM memory, is used for the information that operating system, application program and the user of store customized need preserve;
The hard-disk interface of above-mentioned power carrier concentrator links to each other with the ATA hard disk, is used to preserve the historic state information of fire-fighting lighting apparatus;
The USB interface of above-mentioned power carrier concentrator is connected with keyboard and mouse;
The video interface of above-mentioned power carrier concentrator is connected with the VGA display, is used for user real time and checks fire-fighting lighting apparatus state, faulty equipment and warning message;
The S3C2440 processor of above-mentioned power carrier concentrator uses SPI interface and the two-way communication of power carrier communication module; Adopt intelligent optimization algorithm calculating optimum escape route, and have abundant interface confession access storage device, USB controller, hard disk controller and video module; Embedded OS cooperates with the S3C2440 processor, and operating system adopts linux operating system, and graphic user interface adopts QT GUI, and customization procedure need be write the linux driver of power carrier chip MI200E, and transplants all peripheral hardwares drivings; Application program can show fire-fighting lighting apparatus state, faulty equipment and warning message in real time; Embedded OS and the application program finally be transplanted on the power carrier concentrator have powerful support and good man-machine interaction property to bottom hardware;
The power module of above-mentioned power carrier concentrator is identical with the power carrier collector.The power module of present embodiment adopts the linear power supply of being made up of chip L7805, reduces the interference of power supply factor to carrier signal.
Each power carrier collector workflow of above-mentioned power carrier concentrator embodiment is as shown in Figure 6, may further comprise the steps:
1) power-on self-test;
2) set up the power carrier network;
3) receive the collector data, and regularly show;
4) judge whether to receive the equipment fault packet, if, change step 6), otherwise, step 3) changeed;
5) judge whether to receive the fire alarm packet, if, change step 7), otherwise, step 3) changeed;
6) show faulty equipment, supply user inquiring;
7) calculating optimum escape route and transmitting control signal;
The program flow diagram of above-mentioned best escape route computational methods is as shown in Figure 7, and these computational methods adopt the standard ant group algorithm may further comprise the steps:
Said calculating optimum escape route adopts the standard ant group algorithm, may further comprise the steps:
1) initialization fire-alarm (6) node topology net: import fire-alarm (6) node topology figure; Comprise adjacent fire alarm path and distance; Monitoring fire-alarm signal transmitted, if fire alarm information is arranged, the fire-alarm physical location that will be in fire condition adds the taboo table;
2) ant quantity, iterations and initial information element are set: place M artificial ant in each fire-alarm (6) position, iterations N is set, M and N look architectural scale and decide, and present embodiment is provided with M=20, N=50; The initial information element is set to τ
Ij(k)=1/|A|, | A| is a total number of paths; I is a present node; J is a next node, τ
Ij(k) be that every road is through pheromone concentration; Initialization information is plain, and every paths concentration is identical;
3) ant sequence number k=0, the path length k_len=0 that walks are set;
4) k=k+1 and to select sequence number be the ant of k;
5) judge whether ant k reaches the extra exit, if, change step 10), otherwise, step 6) changeed;
6) by formula next node is selected in (1)
P wherein
IjBe the transition probability of i to the j node, promptly ant is selected the transition probability of next node; τ
Ij(k) the local transition probability that pheromone concentration is high will be big, and T is the set of all nodes adjacent with i; L is to be the argument of summation, and the interval is that leTT is not empty set, and i.e. 1 node of a fire-alarm will be arranged at least.
7) judge whether to select successfully, if, change step 8), otherwise, step 9) changeed;
8) new node of selecting is added the taboo table, accumulation length, and change step 5)
9) ant return to origin is abandoned this paths;
10) judge whether all ants all arrive the extra exit, if, change step 11), otherwise, step 4) changeed;
11) len_local being set is the resulting shortest path of current iteration;
12) judge len_local<len_global, if, change step 13), otherwise, step 3) changeed;
13) the path len_global=len_local of global optimum is set, by formula (1) lastest imformation is plain;
Wherein ρ is the volatilization factor, 0≤ρ≤1; Present embodiment ρ=0.5; | W| is the optimal path length overall;
14) judge whether to reach iterations, if, change step 15), otherwise, step 3) changeed;
15) escape route that calculates is sent to power carrier collector (3), start the work of passage indicator light, the indication escaping route.
Though the above-mentioned accompanying drawing specific embodiments of the invention that combines is described; But be not restriction to protection range of the present invention; One of ordinary skill in the art should be understood that; On the basis of technical scheme of the present invention, those skilled in the art need not pay various modifications that creative work can make or distortion still in protection scope of the present invention.