Summary of the invention
Technical problem to be solved by this invention makes up above-mentioned defect, provides a kind of long-range distribution monitor equipment realized automatically to interval function.
Technical problem of the present invention is solved by the following technical programs.
This realization automatically to the long-range distribution monitor equipment of interval function, by host CPU module, AC current-voltage input module, memory module, RS485 communication interface module, power module, indicator light and automatically interval module being formed.
Described host CPU module is used for carrying out sampling to the AC signal of input and calculates, and obtains various electric power data, receives the communication packet of RS485 communication module simultaneously, and sent by RS485 communication interface module by response message.
Described AC current-voltage input module is used for changing AC current-voltage signal.
Described memory module is used for stores meter configuration information, as address, tuning parameter etc.
Described RS485 communication interface module is for realizing conversion and the isolation of RS485 signal.
Described power module is that whole device is powered.
Described be used for realizing to interval module up automatically to interval and descending automatically to interval function.
This realization to the feature of the long-range distribution monitor equipment (hereinafter referred to as " distribution monitor equipment ") of interval function is automatically:
Described distribution monitor equipment all possesses a unique identification code, also be the address code of this equipment, to ensure that all different distribution intervals (independently distribution line is a distribution interval) have a distribution monitor equipment of not bearing the same name simultaneously.
Described distribution monitor equipment has three kinds of states: off-line state (assign electric watch-dog do not set up communication with background system be connected), on line state (assign electric watch-dog set up communication with background system be connected), to space state (assign electric watch-dog and background system carry out interval).
Described distribution monitor equipment can carry out automatically connect, without the need to manual intervention with long-range distributing monitoring system data acquisition unit (hereinafter referred to as " data acquisition unit ").
After described distribution monitor equipment enters on line state, automatically can be realized automatically interval interval module and cloud server by it.Its automatically to interval mode have automatically up to interval and Automatic-descending to two kinds, interval mode.
Technical problem of the present invention is solved by following further technical scheme.
When described distribution monitor equipment receives " the broadcast automatically connect message " that long-range distributing monitoring system data acquisition unit sends, send the method for " online response message " after adopting random delay, reply while realizing on same RS485 communication bus; Now may there is collision phenomenon in " the online response message " of different device.
Identification code containing described distribution monitor equipment in above-mentioned " online response message ", data acquisition unit can obtain distribution monitor device type, address etc. according to this identification code.
After " the online response message " of the distribution monitor equipment received processes by data acquisition unit, the device correct to all receptions sends " data polling message ", and again send after time delay certain hour " broadcast automatically connect message ", until no longer receive any response message, now illustrate that on this RS485 communication bus, all devices enter on line state all.
After described distribution monitor equipment receives " the data polling message " that data acquisition unit sends, real time data is sent to data acquisition unit by " data answering message ".
The real time data of the distribution monitor equipment received is sent to cloud server by data acquisition unit, after cloud server processes data, completes the various functions such as display, analysis, storage.
The distribution monitor equipment of described on line state can be realized automatically interval interval module and cloud server by it.
When adopt up to interval function time, on-the-spot manually press in interval module to interval buttons, now distribution monitor equipment enters " to space state " automatically, and in " the data answering message " of response, corresponding " to space state position " becomes 1, and keeps for 10 seconds; Cloud server receives this " to space state position " when being 1, the related data shown in high in the clouds, main wiring diagram and line name variable color are also glimmered, when this " to space state position " is 0, the related data, main wiring diagram and the line name that are shown in high in the clouds restore to the original state.
When adopt descending to interval function time, beyond the clouds server can be selected the circuit wanted interval, after selecting " to interval " function, cloud server will send " to interval message " to corresponding distribution monitor equipment to space requirements by data acquisition unit, after this distribution monitor equipment receives and asks to enter the message to space state, automatically enter " to space state ", light to the indicator light in interval module simultaneously, keep extinguishing after 10 seconds.
Described distribution monitor equipment automatically realizes the entering of space state to interval module, shows and keep function.
Technical problem of the present invention is solved by following further technical scheme.
Described host CPU module is made up of MSP430 and peripheral circuit, the communication signal adopted is the Universal Asynchronous Receive/dispensing device (UniversualAsynchronousReceiver/Transmitter of MSP430 built-in chip type, initialism is UART) communication signal TXD, RXD, adopt the A/D converter Sample AC signal of MS430 inside.
Described AC current-voltage input module is made up of current transformer, voltage transformer and operational amplification circuit.
Described memory module adopts ferroelectric memory MB85RS64A, preserves EIC equipment identification code, software version information, energy data and historical record etc.
Described RS485 communication interface module is made up of communication isolating chip 6N137, RS485 level transferring chip 65LBC184 and peripheral overvoltage crowbar.
Described indicator light comprises plant running indicator light, RS485 communication indicator light and electric energy light pulse indicator light.
Described automatic interval module is comprised up to interval buttons, form to space state indicator light with to interval timer.
Described MSP430 carries out sampling to AC signal and calculates, obtain the electric power data of distribution interval as electric current, voltage, power, power factor and electric energy etc., each distribution monitor equipment possesses a unique identification code, and this identification code is saved in a storage module with other parameter and energy data.
Described MSP430 is by its built-in UART and RS485 communication interface module communication, receive the message coming from data acquisition unit, type of message has " broadcast automatically connect message ", " data polling message " and " to interval message ", distribution monitor device acknowledge message has " online response message ", " data answering message ", and all message compatibilities " DL/T645-2007 multifunctional electric energy meter communication protocol " are also expanded on this basis.
Described distribution monitor equipment has three kinds of states: off-line state (assign electric watch-dog do not set up communication with background system be connected), on line state (assign electric watch-dog set up communication with background system be connected), to space state (assign electric watch-dog and background system carry out interval).
Carry out online shaking hands by " broadcast automatically connect message " and " online response message " between described distribution monitor device and data acquisition unit and enter on line state.
By " data polling message " and " data answering message ", the various data of distribution monitor equipment collection are passed to background system between described distribution monitor equipment and data acquisition unit.
Described distribution monitor equipment can be realized automatically interval interval module and cloud server automatically by it.
When adopt up to interval function time, on-the-spot manually press in interval module to interval buttons, now distribution monitor equipment enters " to space state " automatically, and in " the data answering message " of response, corresponding " to space state position " becomes 1, and keeps for 10 seconds; Cloud server receives this " to space state position " when being 1, the related data shown in high in the clouds, main wiring diagram and line name variable color are also glimmered, when this " to space state position " is 0, the related data, main wiring diagram and the line name that are shown in high in the clouds restore to the original state.
When adopt descending to interval function time, beyond the clouds server can be selected the circuit wanted interval, after selecting " to interval " function, cloud server will send " to interval message " to corresponding distribution monitor equipment to space requirements by data acquisition unit, after this distribution monitor equipment receives and asks to enter the message to space state, automatically enter " to space state ", light to the indicator light in interval module simultaneously, keep extinguishing after 10 seconds.
The present invention's beneficial effect is compared with prior art:
The present invention by a kind of realize automatically to the long-range distribution monitor equipment of interval function and and background system between communication contact, achieve the automatically connect of long-range distribution monitor equipment, automatically to interval, it is simple to operate, be easy to learn and use, Field Force only needs to carry out the correct installation of equipment and the exact connect ion of communication line, greatly reduce work difficulty and the intensity of Field Force, also improve the dependable with function of whole long-range distributing monitoring system simultaneously.
Embodiment
Contrast accompanying drawing to be below described the specific embodiment of the present invention.
Realization as shown in Figure 1 automatically to a long-range distribution monitor equipment for interval function, by host CPU module, AC current-voltage input module, memory module, RS485 communication interface module, power module, indicator light and automatically interval module being formed.By the communication contact between itself and background system, achieve the automatically connect of long-range distribution monitor equipment, automatically to interval function.Its parts comprise:
Described host CPU module comprises master chip MSP430 and peripheral circuit, adopts the communication signal of the Universal Asynchronous Receive/dispensing device (UART) of MSP430 built-in chip type, adopts the A/D converter Sample AC signal of MS430 inside.The functions such as the calculating of host CPU module data acquisition, storage, communication management.
Described power module adopts the Switching Power Supply of pulse transformer, for whole equipment provides various power supply.
Described memory module adopts ferroelectric memory MB85RS64A, preserves EIC equipment identification code, software version information, energy data and historical record etc.
Described RS485 communication interface module is made up of communication isolating chip 6N137, RS485 level transferring chip 65LBC184 and peripheral overvoltage crowbar.
Described indicator light comprises plant running indicator light, RS485 communication indicator light and electric energy light pulse indicator light.
Described automatic interval module is comprised up to interval buttons, form to space state indicator light with to interval timer.
The course of work of this embodiment is:
Described MSP430 carries out sampling to AC signal and calculates, obtain the electric power data of distribution interval as electric current, voltage, power, power factor and electric energy etc., each distribution monitor equipment possesses a unique identification code, and this identification code is saved in a storage module with other parameter and energy data.
Described MSP430 is by its built-in UART and RS485 communication interface module communication, receive the message coming from data acquisition unit, type of message has " broadcast automatically connect message ", " data polling message " and " to interval message ", distribution monitor device acknowledge message has " online response message ", " data answering message ", and all message compatibilities " DL/T645-2007 multifunctional electric energy meter communication protocol " are also expanded on this basis.
Described identification code is in the following way: TTYYMMNNPPQQ
TT: type of device
YY: year (binary-coded decimal, 00 ~ 0x99)
MM: the moon (binary-coded decimal, 0x01 ~ 0x12)
NNPPQQ: Mission Number (000000 ~ 0x999999)
Ensure that every station power distribution watch-dog has unique identification code.
Described distribution monitor equipment has three kinds of states: off-line state (assign electric watch-dog do not set up communication with background system be connected), on line state (assign electric watch-dog set up communication with background system be connected), to space state (assign electric watch-dog and background system carry out interval).
Carry out online shaking hands by " broadcast automatically connect message " and " online response message " between described distribution monitor device and data acquisition unit and enter on line state.
By " data polling message " and " data answering message ", the various data of distribution monitor equipment collection are passed to background system between described distribution monitor equipment and data acquisition unit.
Described distribution monitor equipment can be realized automatically interval interval module and cloud server automatically by it.
When adopt up to interval function time, on-the-spot manually press in interval module to interval buttons, now distribution monitor equipment enters " to space state " automatically, and in " the data answering message " of response, corresponding " to space state position " becomes 1, and keeps for 10 seconds; Cloud server receives this " to space state position " when being 1, the related data shown in high in the clouds, main wiring diagram and line name variable color are also glimmered, when this " to space state position " is 0, the related data, main wiring diagram and the line name that are shown in high in the clouds restore to the original state.
When adopt descending to interval function time, beyond the clouds server can be selected the circuit wanted interval, after selecting " to interval " function, cloud server will send " to interval message " to corresponding distribution monitor equipment to space requirements by data acquisition unit, after this distribution monitor equipment receives and asks to enter the message to space state, automatically enter " to space state ", light to the indicator light in interval module simultaneously, keep extinguishing after 10 seconds.
The present embodiment is for those skilled in the art; make some equivalent alternative or obvious modification without departing from the inventive concept of the premise; and performance or purposes identical, all should be considered as belonging to the scope of patent protection that claims that the present invention submits to are determined.