CN106846783A - A kind of electricity consumption acquisition method based on redundant bus, modularity terminal and system - Google Patents

A kind of electricity consumption acquisition method based on redundant bus, modularity terminal and system Download PDF

Info

Publication number
CN106846783A
CN106846783A CN201710243171.0A CN201710243171A CN106846783A CN 106846783 A CN106846783 A CN 106846783A CN 201710243171 A CN201710243171 A CN 201710243171A CN 106846783 A CN106846783 A CN 106846783A
Authority
CN
China
Prior art keywords
module
acquisition
bus
power information
acquisition module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710243171.0A
Other languages
Chinese (zh)
Other versions
CN106846783B (en
Inventor
李贵清
王义辉
高阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Suyuan Guangyi Science & Technology Co ltd
Original Assignee
Elefirst Science & Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Elefirst Science & Tech Co Ltd filed Critical Elefirst Science & Tech Co Ltd
Priority to CN201710243171.0A priority Critical patent/CN106846783B/en
Publication of CN106846783A publication Critical patent/CN106846783A/en
Application granted granted Critical
Publication of CN106846783B publication Critical patent/CN106846783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems

Abstract

A kind of power information acquisition method and its corresponding acquisition terminal and system based on redundant bus, belong to low pressure power information collection field.Each acquisition module of described device can independent operating, control its lower harvester to be interacted with the bus for possessing redundancy feature or with communication module.The bus for possessing redundancy feature detects the working condition of each module by bus control unit control, meanwhile, the data interaction with main control module is responsible in main control module normal work;Under main control module abnormal conditions, also directly cooperated by each acquisition module and communication module and upload power information (that is, directly adopting pattern).Mutually carry out redundancy backup between the acquisition module of similar function due to by bus interconnection, possessing between each acquisition module;When an acquisition module goes wrong, bus control unit can in time turn off its power supply and bus connection according to its working condition, it is to avoid the bus failure caused by individual failure module, it is ensured that the timely and stabilization of data acquisition.

Description

A kind of electricity consumption acquisition method based on redundant bus, modularity terminal and system
Technical field
Adopted the present invention relates to power information acquisition technique, more particularly to a kind of low-voltage power information based on redundant bus Diversity method, modular terminal and system.
Background technology
Power information acquisition system started all-round construction from national grid issuing standard in 2009, and coverage rate is gathered so far Up to more than 97%, the basic construction object for realizing " all standing, full collection, control in full ".Marketing automation is provided powerful support for The raising of level, has built up the collection network in the covering whole nation, constitutes the Internet of Things of maximum, be the further development of power network with it is excellent Change and provide data supporting.Acquisition system is mainly made up of in the basal layer of things system acquisition target, collector, concentrator. Acquisition target etc. the ammeter, equipment for monitoring power quality of all kinds of low-voltage customers, be responsible for being adopted a range of by collector Concentrator is uploaded in collection meter data set again, concentrator will gather the meter data come up and be uploaded to main station system.These three Part constitutes a basic acquisition units, and function and the performance of concentrator decide the realization of the function of system.
In current system, concentrator is usually taken a main control unit and extends out communication module composition, and communication module is received Control in main control unit, it is necessary to there is the processor to carry out parameter configuration in advance, it is impossible to which independent control correlation acquisition unit runs.In master control In the case that unit breaks down, its communication function will fail because of the blocking that main control unit uploads channel.
With the expansion of power information acquisition range, in the demand in other energy monitor fields such as gas meter, water meter, charging pile Increasing, existing acquisition terminal not only can not functionally meet requirement, and reality is also unable to reach in operational reliability Use requirement.Especially, existing terminal is monoblock type framework, and coupling is strong between various pieces, and it is right that part goes wrong Whole terminal impacts are very big.Specifically, after certain collecting unit breaks down in system, the high level of its output will block whole Individual system bus, causing the data of other collecting units cannot effectively be transmitted.
Current power information acquisition system is functionally, it is desirable to which the power information acquisition terminal can not only meet meter The requirement of the acquisition target of the other industry outside device, and need it to face increasingly complex electrical equipment, some devices will Monitor in real time is sought, it is necessary to bigger data bandwidth.Due to data volume increase, this data it is not absolutely required to main control unit treatment. By these data be uploaded to the more powerful server of operational capability can yet be regarded as it is a kind of effectively and the mode of simplicity.But this same need The power information acquisition terminal is wanted to possess reliability higher.To meet the expansion of power information acquisition range, and collection The reliability of the increase of data bandwidth, existing acquisition terminal, its function and its work is unable to reach requirement.
Therefore, one kind being badly in need of at present can flexibly carry out multichannel collecting data, and possess certain flexibility ratio, and work Make reliable power information acquisition technique.
The content of the invention
In order to solve the deficiency of prior art presence, it is an object of the invention to provide a kind of electricity consumption based on redundant bus Information collecting method, apparatus and system.
First, to achieve the above object, propose that a kind of power information acquisition method step based on redundant bus includes:
The first step, initialization, each acquisition module sends log-on message by bus control unit to main control module;The master The log-on message that control module is obtained according to it is instructed to main website request task;Jump to second step;
Second step, if the main control module failure, directly receives institute by the bus control module by communication module The assignment instructions of main website are stated, and corresponding task is assigned to corresponding acquisition module according to the interface of the bus control module and referred to Order;Otherwise, the log-on message and the assignment instructions of main website for being obtained according to it by the main control module, by bus control unit to Corresponding acquisition module assigns a task instruction;Jump to the 3rd step;
3rd step, each acquisition module gathers correspondence after the assignment instructions are received according to the assignment instructions Power information and working condition, and upload;
It is synchronous with the second step or the 3rd step, the work of each acquisition module described in the bus control unit also real-time query Make state:If the working condition frequency of abnormity of the acquisition module exceedes threshold value C (C is positive integer), resend corresponding Assignment instructions repeat above-mentioned second step to the 3rd step to the abnormal acquisition module occur and reporting;If to the collection mould Block resend n times (N is positive integer) described assignment instructions, then close corresponding acquisition module by the bus control module Power supply and bus connection, and report, other acquisition modules for possessing said function are then searched according to the log-on message, Replace abnormal acquisition module work occur by other acquisition modules.
Further, in above-mentioned power information acquisition method, described log-on message includes:The address of this acquisition module, category Property, can completing for task and with the incidence relation of other modules in one or more;Wherein, described acquisition module Attribute at least includes the content of the information of the address set and collection of the information of this acquisition module collection.Described this collection mould Incidence relation between block and other acquisition modules mainly includes that the upstream of the power information that this module is gathered or downstream data are closed System, has between other acquisition modules and this acquisition module of function that is identical, close or being substituted for each other with this acquisition module Corresponding relation.
Further, in above-mentioned power information acquisition method, also including more new task the step of:When the main control module or institute Bus control unit is stated after renewal task requests are received, the renewal task requests are uploaded to main website, receive the master Stand the assignment instructions assigned again, and assigned a task again instruction to corresponding acquisition module, each acquisition module is according to it The assignment instructions for receiving gather corresponding power information and working condition.
Next, to achieve the above object, it is also proposed that a kind of power information acquisition terminal based on redundant bus, including:Always Line traffic control unit and at least one acquisition module, it is characterised in that also including communication module, the bus control unit is by superfluous Remaining bus is connected with each acquisition module, communication module or higher level's module.Here higher level's module includes but is not limited to master control Module, main website or parent server etc..
The bus control unit includes the Ethernet switch and master controller that are connected with each other;The Ethernet switch Each acquisition module and the communication module are connected to lower interface, for being assigned a task instruction to corresponding acquisition module, The interface level of each acquisition module is obtained, the power supply of each acquisition module is controlled, and in the higher level's module failure The log-on message obtained to lower interface of the Ethernet switch is uploaded to the higher level's module by the communication module, is connect The assignment instructions that the higher level's module is assigned are received, the power information obtained to lower interface of the Ethernet switch is uploaded, or Upload the level or working condition of each pair of lower interface of the Ethernet switch;The too network switch to upper interface connect institute Higher level's module is stated, the log-on message obtained to lower interface for uploading the Ethernet switch to the higher level's module connects The assignment instructions that the higher level's module is assigned are received, the power information obtained to lower interface of the Ethernet switch is uploaded, or Upload the level or working condition of each pair of lower interface of the Ethernet switch;The master controller is used for, and controls the ether Network switch is carried out to upper or to lower communication:In higher level's module normal work, the master controller is used for according to higher level's module Assignment instructions correspondence acquisition module is controlled by each pair of lower interface of the Ethernet switch;When higher level's module is abnormal, institute Master controller is stated for controlling each sampling module to be interacted by the communication module;Here working condition is included just Often work, restart, closing or be abnormal etc..
Each acquisition module includes Ethernet interface, communication interface and micro-control unit, and the communication interface passes through Spi bus (serial peripheral interface bus Serial Peripheral Interface) are connected with the micro-control unit, described Micro-control unit is also connected with the Ethernet interface;The communication interface is used to receive the level of power information, corresponding interface Or working condition;The Ethernet interface is used to upload the log-on message of the micro-control unit, uploads the communication interface and obtains The power information for obtaining, uploads the working condition of this acquisition module, receives the assignment instructions that the bus control unit is assigned;It is described Micro-control unit is used to controlling the Ethernet interface and the communication interface carry out to upper or to lower communication, according to described Business instruction controls the working condition of this acquisition module.
Further, in above-mentioned power information acquisition terminal, described communication interface includes RS485 interfaces, CAN interface, load One or more in wave communication interface, radio network interface, small wireless communication interface, Remote Control Interface, remote signalling interface, wherein, The RS485 interfaces or the CAN interface are isolated when this acquisition module is closed with the redundant bus.
Wherein, the redundant bus are at least including one or more in industry ethernet or CAN.
Further, in above-mentioned power information acquisition terminal, also including main control module, the main control module include simultaneously with PHY chip (Physical Layer, physical chip), ethernet module and memory module that main control chip is connected, the master Control module connects isolation bus and carries out data interaction, the Ethernet mould with the bus control unit by the PHY chip Block is used to be communicated with higher level's module, and the main control chip is used to receive log-on message, power information and the work of PHY chip acquisition State, the log-on message, power information and working condition are stored to the memory module, and by the ethernet module Upload;The main control chip is additionally operable to obtain assignment instructions by the ethernet module, and by the PHY chip to described Bus control unit assigns the assignment instructions.
Further, in above-mentioned power information acquisition terminal, also including display unit, the display unit and the master control Module is connected with the bus control unit, the information for showing the power information acquisition terminal, and to the electricity consumption Information acquisition terminal is configured.
The present invention also provides a kind of power information acquisition system based on the above method, including main website and at least one uses telecommunications Breath acquisition terminal, it is characterised in that the power information acquisition terminal includes bus control unit, main control module, main website, communication Module and at least one acquisition module, the main website are connected or by the communication module by Ethernet with the main control module Directly interacted with each acquisition module, the main control module is connected by isolating bus with the bus control unit, described Bus control unit is connected by Ethernet or CAN with each acquisition module, and each acquisition module includes at least one Plant communication interface;
The main website be used for the log-on message received according to it or update task requests assign a task instruction, receive what is gathered Power information and work state information;
The main control module is used to upload power information, log-on message and the work state information of its acquisition, according to described The bus control unit is reached under the assignment instructions that log-on message and work state information are received;The main control module It is additionally operable to after renewal task requests are received, the renewal task requests is uploaded to main website, under receiving the main website again The assignment instructions for reaching, and assigned a task again instruction to the bus control unit;
The bus control unit is used to upload power information, the log-on message of its acquisition, and is respectively adopted described in real-time query Collect the work state information of module, according to being reached under the assignment instructions that the log-on message and work state information are received Corresponding each acquisition module;The bus control unit is additionally operable in the main control module (2) failure by the communication mould Block directly receives the assignment instructions of the main website, and assigns corresponding assignment instructions to corresponding acquisition module;
Each acquisition module is used for after the assignment instructions are received, and corresponding use is gathered according to the assignment instructions Power information, reports its working condition.
Further, in above-mentioned power information acquisition system, the bus control unit is inquiring the acquisition module Working condition frequency of abnormity exceed threshold value C, then resend corresponding assignment instructions and abnormal acquisition module occur to described And report;If resending assignment instructions described in n times to the acquisition module, correspondence is closed by the bus control module Acquisition module, report, and searched according to the log-on message and possess other acquisition modules of said function, by other collection moulds Block replaces abnormal acquisition module work occur.
It should be noted that because CAN is likewise supplied with redundancy feature, the Ethernet connection in foregoing invention content is equal Can be replaced using CAN.Specific part of replacing includes:Ethernet module, PHY chip in main control module, always The Ethernet interface in Ethernet switch, each acquisition module in line traffic control unit, and the Ethernet interface in communication module. Using corresponding hardware in CAN cooperation CAN framework, these modules are substituted, can still realize that present invention collection is used The function of power information.
Beneficial effect
The present invention, sets micro-control unit in each acquisition module, and sets control unit in the bus, by total line traffic control Cooperation between unit processed and communication module, can be in the case of main control module failure, it is ensured that each acquisition module remains unchanged under it Can independent normal work, and the data of each acquisition module are reported to by main website by the communication module, meanwhile, directly receive The instruction of main website.Improve the stability of system.
Further, the working condition of each acquisition module of bus control unit real-time query, and to there is exception Acquisition module is restarted or is isolated.So, the failure of individual acquisition module is unlikely to influence whole power information collection system System operation.Power information data are unlikely to be submerged in the bus short circuit signal caused by failure due to the failure of individual modules In.
Further, because the system attachable acquisition terminal of each acquisition module has repetition.Cannot be worked in certain module When, the log-on message that system can be stored easily according to it finds the other-end that can replace failed terminals.Further improve The stability of system.
Simultaneously as in whole system, its log-on message can real-time update, user can be neatly in collection site to electricity consumption Information acquisition system is reconfigured.Such design more conforms to user's request, also more hommization.Can significantly improve The efficiency of system configuration.And, because system transmits each item data, the traditional power line of bandwidth ratio or 485 buses using Ethernet Transmission means is wider, therefore, message transmission rate is higher, is also better able to meet growing power information collection demand.
Other features and advantages of the present invention will be illustrated in the following description, also, the partly change from specification Obtain it is clear that or being understood by implementing the present invention.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, and with it is of the invention Embodiment together, for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is to be illustrated according to power information acquisition system framework of the present invention
Fig. 2 is according to power information acquisition method flow chart of the invention;
Fig. 3 is existing power information acquisition system block diagram.
Specific embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that preferred reality described herein Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 1 is that, according to power information acquisition system configuration diagram of the invention, system includes:Main website and at least one is used Power information acquisition terminal.
Wherein, power information acquisition terminal includes bus control unit 1, main control module 2, communication module 5 and at least one Acquisition module 3.
The main website 4 is connected or directly each with described by the communication module 5 by Ethernet with the main control module 2 Acquisition module 3 is interacted, and the main control module 2 is connected by isolating bus with the bus control unit 1, the bus marco list Unit 1 is connected by Ethernet or CAN with each acquisition module 3, and each acquisition module includes that at least one communication connects Mouthful;
The main website be used for the log-on message received according to it or update task requests assign a task instruction, receive what is gathered Power information and work state information;
The main control module 2 is used to upload power information, log-on message and the work state information of its acquisition, according to described The bus control unit is reached under the assignment instructions that log-on message and work state information are received;The main control module 2 are additionally operable to after renewal task requests are received, and the renewal task requests are uploaded into main website, under receiving the main website again The assignment instructions for reaching, and assigned a task again instruction to the bus control unit;
The bus control unit 1 is used to upload power information, the log-on message of its acquisition, and is respectively adopted described in real-time query Collect the work state information of module, according to being reached under the assignment instructions that the log-on message and work state information are received Corresponding each acquisition module 3;The bus control unit 1 is additionally operable in 2 failure of main control module by the communication mould Block 5 directly receives the assignment instructions of the main website, and assigns corresponding assignment instructions to corresponding acquisition module;
Each acquisition module is used for after the assignment instructions are received, and corresponding use is gathered according to the assignment instructions Power information, reports its working condition.
Between above-mentioned each module cooperate pattern can by Fig. 1 the step of flow specifically learn.Specifically, on State the bus control unit 1 and exceed threshold value C=3 in the working condition frequency of abnormity for inquiring the acquisition module 3, then again Corresponding assignment instructions are sent abnormal acquisition module 3 occur and report to described;If being resend to the acquisition module 3 The N=3 assignment instructions, then close corresponding acquisition module 3 by the bus control unit 1, reports, and according to the note Volume information searching possesses other acquisition modules 3 of said function, replaces abnormal acquisition module 3 occur by other acquisition modules 3 Work.So, coordinated by the seamless connection between each acquisition module, realize the redundancy backup to power information, increase system Fault-tolerant ability.Also, because bus control unit 1 can in time disconnect malfunctioning module and bus when module exception is detected The connection power supplys of respective modules (close), therefore, it can be prevented effectively from what individual modules failure caused whole bus communication Influence.
Further, above-mentioned power information acquisition terminal can also be reduced to only comprising the communication mould of bus control unit 1 The architecture mode of the acquisition module 3 of block 5 and at least one.Bus control unit 1 crosses redundant bus and each acquisition module 3, logical Letter module 5 or higher level's module connection.Here " higher level's module " includes main control module 1, main website or higher level's clothes in upper plane system Business device etc..
The bus control unit 1 includes the Ethernet switch and master controller (STM207) that are connected with each other;It is described with Too network switch to lower interface connects each acquisition module 3 and the communication module 5, for corresponding acquisition module 3 Assign a task instruction, obtains the interface level of each acquisition module 3, controls the power supply of each acquisition module 3, and described Being obtained to lower interface for the Ethernet switch is uploaded to the higher level's module by the communication module 5 during higher level's module failure The log-on message for obtaining, receives the assignment instructions that the higher level's module is assigned, and uploads being obtained to lower interface for the Ethernet switch Power information, or (it is right that working condition includes to upload the level or working condition of described each pair of lower interface of Ethernet switch Answer module normal work, restart, close, the state such as abnormal);The too network switch to upper interface connects higher level's mould Block, the log-on message obtained to lower interface for uploading the Ethernet switch to the higher level's module, receives on described The assignment instructions that level module is assigned, upload the power information obtained to lower interface of the Ethernet switch, or upload described The level or working condition of each pair of lower interface of Ethernet switch;The master controller is used for, and controls the Ethernet switch Carry out to upper or to lower communication:In higher level's module normal work, the master controller is used to be referred to according to the task of higher level's module Order controls correspondence acquisition module by each pair of lower interface of the Ethernet switch;When higher level's module is abnormal, the main control Device is used to control each sampling module 3 to be interacted by the communication module 5;
Each acquisition module includes Ethernet interface, communication interface (W5500, CAN mouthful, RS485, interface etc. small wireless) And micro-control unit (MCU), the communication interface is connected by spi bus with the micro-control unit, the microcontroller list Unit is also connected with the Ethernet interface;The communication interface is used to receive power information, the level of corresponding interface or work shape State;The Ethernet interface is used to upload the log-on message of the micro-control unit, uploads the electricity consumption that the communication interface is obtained Information, uploads the working condition of this acquisition module, receives the assignment instructions that the bus control unit 1 is assigned;The microcontroller Unit is used to controlling the Ethernet interface and the communication interface carry out to upper or to lower communication, according to the assignment instructions Control the working condition of this acquisition module.That is, between each acquisition module and main website, can be in the missing of main control module 2 In the case of, the communication module 5 for directly being connected by bus control unit 1 realizes interacting between main website 4.Communication module 5 Main website and each acquisition module, such design, it is ensured that the data of each acquisition module are not can be linked up by bus control unit 1 Influenceed by master control module failure, can in time be reported to main website.Further strengthen the fault-tolerant ability of total system so that number It is more reliable and more stable according to transmitting.The log-on message can determine according to the level conditions of each interface IP address and corresponding interface.
Above-mentioned Ethernet switch, Ethernet SWITCH possesses 8 road 100M ports, and internal core bus reaches 2G, full The information exchange of foot multiple module, from as STMF207 control chips, detection, the mode of operation of control SWITCH, monitoring are each The information such as access, the communications status of module, when module is accessed in module electricity, and acquisition module operating current, it is to avoid mould The mistake access of block, by real-time monitoring, the module to breaking down judges mould from the buffer status of operating current and PHY layer The specific abort situation of block is simultaneously uploaded to master control or main website (when main control module failure), simultaneously closes off the power supply of malfunctioning module, By showing that operating unit sends warning information.
Further, above-mentioned communication interface includes RS485 interfaces, CAN interface, carrier communication interface, wireless network Interface (for example, GPRS network interface, 4G network interfaces or Ethernet interface), small wireless communication interface, Remote Control Interface, remote signalling connect One or more in mouthful, wherein, the RS485 interfaces or the CAN interface when this acquisition module is closed with the redundancy Bus isolation.After acquisition module is accessed, IP address will be automatically obtained, set up TCP connections, registered to main control module/main website, application Acquisition tasks, realize automatic data collection, control function.Can so ensure that acquisition module being capable of compatible most of power information Collector, for example, shown in Fig. 3, each single-phase electric energy meter, three-phase electric energy meter, water meter under existing concentrator or collector and its His user marks.Therefore, the power information acquisition terminal that the present embodiment is provided can substitute concentration of the prior art completely Device or collector, and possess existing concentrator or collector is beyond one's reach fault freedom, data transfer is more stable, whole Body is in hgher efficiency.
More specifically, the redundant bus in the present embodiment are too network bus or CAN.Both buses are providing redundancy Can while, the demand for bandwidth in general power information transmitting procedure is met enough.Also, those skilled in the art can be with Learnt by above-mentioned analysis, the Ethernet connection in above-described embodiment can be replaced using the similar module in CAN Change.
Specifically, the RS485 interfaces are responsible for gathering the electrical equipment for possessing RS485 communication interfaces such as single, three-phase meter Deng state-signal collection module in-site collecting remote signalling information, such as killer switch node, the locking node of equipment, remote control output mould Block realizes local output switch parameter control, and such as startup of the combined floodgate, device power supply (DPS) of breaker, CAN is responsible for adopting The electrical equipment such as charging pile of collection with CAN communication interface etc., broadband and narrowband module is responsible for gathering carrier wave meter, small wireless module Collection possesses equipment such as water meter acquiring device, gas meter collector etc. of small wireless communication interface, and GPRS, ethernet communication module are upper Row communication, with main website interactive information.Each functional module is registered to main website in initialization procedure and applies for task, then automatically Perform.
Meanwhile, the power information acquisition terminal provided in the present embodiment may also include the (AM3369 or similar of main control module 2 ARM chips), the main control module includes the PHY chip (such as AR8033), the ethernet module that are connected with main control chip simultaneously (such as LAN9720) and memory module, the main control module 2 connect isolation bus and the bus marco by the PHY chip Unit carries out data interaction, and the ethernet module is used to be communicated with higher level's module, and the main control chip is used to receive PHY chip The log-on message of acquisition, power information and working condition, the log-on message, power information and working condition are stored to described Memory module, and uploaded by the ethernet module;The main control chip is additionally operable to be obtained by the ethernet module appoints Business instruction, and the assignment instructions are assigned to the bus control unit 1 by the PHY chip.Selected by main control module AM3359 chips, with 512M internal memories, in 4GB FLASH, work dominant frequency 800MHz, MICRON MT41K2 56M16TW DDR3 Chip is deposited, 8GbEMMC meets the local service treatment of acquisition terminal, and AM3359 possesses two-way gigabit Ethernet MAC interface, one Road is connected by AR8033 with bus control unit, leads up to LAN8720 as local communication interface, is stayed to be downloaded with user and is protected There is the use electrographic recording on EMMC, main control module preserves the assignment instructions of main website, and real-time section gathers the power information of client, preserves To EMMC, main control module 2 communicates with display operating unit 9, shows the equipment state of user, receives related querying command. The master chip of each functional module is STM32F207, and with Ethernet interface, the communication control chip of carrier module is Hi3911, Small wireless communication chip is SX1212, and communication distance is more than 500 meters.
Yet further, know the working condition of power information acquisition terminal for ease of user and be configured, the use Power information acquisition terminal may also include display unit 9, the display unit 9 and the main control module 2 or with the bus marco Unit 1 is connected, the information for showing the power information acquisition terminal, and the power information acquisition terminal is set Put.
Fig. 2 is the overall workflow schematic diagram of above-mentioned terminal:
The first step, initialization, each acquisition module sends log-on message by bus control unit (1) to main control module;Institute The log-on message that main control module obtained according to it is stated to be instructed to main website request task;Jump to second step;
Second step, if the main control module failure, directly receives institute by the bus control module by communication module The assignment instructions of main website are stated, and corresponding task is assigned to corresponding acquisition module according to the interface of the bus control module and referred to Order;Otherwise, the log-on message and the assignment instructions of main website for being obtained according to it by the main control module, by bus control unit to Corresponding acquisition module assigns a task instruction;Jump to the 3rd step;
3rd step, each acquisition module gathers correspondence after the assignment instructions are received according to the assignment instructions Power information and working condition, and upload;
Synchronous with the second step or the 3rd step, the bus control unit (1) goes back each acquisition module described in real-time query Working condition:If the working condition frequency of abnormity of the acquisition module exceedes threshold value C, corresponding assignment instructions are resend To the abnormal acquisition module occur and reporting, above-mentioned second step to the 3rd step is repeated;If being sent out again to the acquisition module Assignment instructions described in n times are passed through, then the power supply and bus for closing corresponding acquisition module by the bus control module are connected, And report, other acquisition modules for possessing said function are then searched according to the log-on message, replaced by other acquisition modules There is abnormal acquisition module work.
Wherein, the log-on message includes:The address of this acquisition module, attribute, can completing for task and and other One or more in the incidence relation of module;Wherein, the described attribute of acquisition module is at least gathered including this acquisition module Information address set and collection information content.Here incidence relation includes:What this module was gathered uses telecommunications The upstream of breath or downstream data relation, with other collections that this acquisition module has function that is identical, close or being substituted for each other Corresponding relation between module and this acquisition module.
And, the main control module or the bus control unit after receiving and updating task requests, by the renewal Task requests are uploaded to main website, receive the assignment instructions that the main website is assigned again, and assign again to corresponding acquisition module Assignment instructions, the assignment instructions that each acquisition module is received according to it gather corresponding power information and working condition.
Be different from prior art, due to each modular power source can independent control, can close it is related should not Real-time Collection module Power supply, reduces system power dissipation, minimum to be down to 1W, and a large amount of electricity can be saved compared to existing terminal in the case of batch use Can, reduce use cost.
The advantage of technical solution of the present invention is mainly reflected in:The present invention in system each module arranged side by side various lead to is provided Road, the corresponding module for being provided which to possess redundancy feature to the acquisition module and main control module in system occurs different in individual modules Chang Shi, the level conditions that can be obtained by bus control unit in time be noted abnormalities, and for abnormal conditions carry out phase in time The isolation answered and redundancy backup are processed.Simultaneously as bus control unit can be directed to the working order real-time adjustment of system Each module, and the working condition of each module is reported in time, therefore, the system can not be limited by existing system configuration, directly The scene of being connected on carries out individual cultivation for user's request, and user can in real time change corresponding configuration according to current demand, to be Regiment commander carrys out more flexibilities.
One of ordinary skill in the art will appreciate that:The foregoing is only the preferred embodiments of the present invention, and without In the limitation present invention, although being described in detail to the present invention with reference to the foregoing embodiments, for those skilled in the art For, it can still be modified to the technical scheme that foregoing embodiments are recorded, or which part technical characteristic is entered Row equivalent.All any modification, equivalent substitution and improvements within the spirit and principles in the present invention, made etc., all should include Within protection scope of the present invention.

Claims (10)

1. a kind of power information acquisition method based on redundant bus, it is characterised in that step includes:
The first step, initialization, each acquisition module sends log-on message by bus control unit (1) to main control module;The master The log-on message that control module is obtained according to it is instructed to main website request task;Jump to second step;
Second step, if the main control module failure, directly receives the master by the bus control module by communication module The assignment instructions stood, and corresponding assignment instructions are assigned to corresponding acquisition module according to the interface of the bus control module; Otherwise, the log-on message and the assignment instructions of main website for being obtained according to it by the main control module, by bus control unit to right The acquisition module answered assigns a task instruction;Jump to the 3rd step;
3rd step, each acquisition module gathers corresponding use after the assignment instructions are received according to the assignment instructions Power information and working condition, and upload;
Synchronous with the second step or the 3rd step, the bus control unit (1) goes back the work of each acquisition module described in real-time query Make state:If the working condition frequency of abnormity of the acquisition module exceedes threshold value C, corresponding assignment instructions are resend to going out The now abnormal acquisition module is simultaneously reported, and repeats above-mentioned second step to the 3rd step;If resending N to the acquisition module The secondary assignment instructions, the then power supply and bus for closing corresponding acquisition module by the bus control module is connected, and on Report, then searches other acquisition modules for possessing said function according to the log-on message, and appearance is replaced by other acquisition modules Abnormal acquisition module work.
2. the power information acquisition method of redundant bus is based on as claimed in claim 1, it is characterised in that the log-on message Including:The address of this acquisition module, attribute, can completing for task and with the incidence relation of other modules in one kind or several Kind;
Wherein, described attribute of acquisition module at least includes the address set of the information of this acquisition module collection and collection The content of information.
3. the power information acquisition method of redundant bus is based on as claimed in claim 1, it is characterised in that also including more newly appointed The step of business:
The main control module or the bus control unit are updated in task requests after renewal task requests are received by described Reach main website, receive the assignment instructions that the main website is assigned again, and assigned a task again instruction, institute to corresponding acquisition module State the corresponding power information of assignment instructions collection and working condition that each acquisition module is received according to it.
4. a kind of power information acquisition terminal based on redundant bus, including bus control unit (1) and at least one collection mould Block (3), it is characterised in that also including communication module (5), the bus control unit (1) is respectively adopted by redundant bus with described The connection of collection module (3), communication module (5) or higher level's module,
Ethernet switch and master controller of the bus control unit (1) including interconnection;The Ethernet switch To lower interface connect each acquisition module (3) and the communication module (5), for being assigned to corresponding acquisition module (3) Assignment instructions, obtain the interface level of each acquisition module (3), control the power supply of each acquisition module (3), and described During higher level's module failure by the communication module (5) to the higher level's module upload the Ethernet switch to lower interface The log-on message of acquisition, receives the assignment instructions that the higher level's module is assigned, upload the Ethernet switch to lower interface The power information of acquisition, or upload the level or working condition of described each pair of lower interface of Ethernet switch;The too net is exchanged Machine connects the higher level's module to upper interface, for the higher level's module upload the Ethernet switch to lower interface The log-on message of acquisition, receives the assignment instructions that the higher level's module is assigned, upload the Ethernet switch to lower interface The power information of acquisition, or upload the level or working condition of described each pair of lower interface of Ethernet switch;The master controller For controlling the Ethernet switch to carry out to upper or to lower communication:In higher level's module normal work, the master controller For controlling correspondence acquisition module by each pair of lower interface of the Ethernet switch according to the assignment instructions of higher level's module;Upper When level module is abnormal, the master controller is used to control each sampling module (3) to be handed over by the communication module (5) Mutually;
Each acquisition module includes Ethernet interface, communication interface and micro-control unit, and the communication interface is total by SPI Line is connected with the micro-control unit, and the micro-control unit is also connected with the Ethernet interface;The communication interface is used for Receive power information, the level of corresponding interface or working condition;The Ethernet interface is used to upload the micro-control unit Log-on message, uploads the power information that the communication interface is obtained, and uploads the working condition of this acquisition module, receives the bus The assignment instructions that control unit (1) is assigned;The micro-control unit is used to control the Ethernet interface and the communication interface Carry out to upper or to lower communication, the working condition of this acquisition module being controlled according to the assignment instructions.
5. the power information acquisition terminal of redundant bus is based on as claimed in claim 4, it is characterised in that the communication interface Including RS485 interfaces, CAN interface, carrier communication interface, radio network interface, small wireless communication interface, Remote Control Interface, remote signalling One or more in interface, wherein, the RS485 interfaces or the CAN interface are superfluous with described when this acquisition module is closed Remaining Bus isolation.
6. the power information acquisition terminal of redundant bus is based on as claimed in claim 4, it is characterised in that the redundant bus At least including one or more in industry ethernet or CAN.
7. the power information acquisition terminal based on redundant bus as described in claim 4 to 6 is any, it is characterised in that described Power information acquisition terminal also includes main control module (2), and the main control module includes the PHY cores being connected with main control chip simultaneously Piece, ethernet module and memory module, the main control module (2) connect isolation bus and the bus by the PHY chip Control unit carries out data interaction, and the ethernet module is used to be communicated with higher level's module, and the main control chip is used to receive PHY Log-on message, power information and working condition that chip is obtained, by the log-on message, power information and working condition store to The memory module, and uploaded by the ethernet module;The main control chip is additionally operable to be obtained by the ethernet module Assignment instructions are taken, and the assignment instructions are assigned to the bus control unit (1) by the PHY chip.
8. the power information acquisition terminal based on redundant bus as described in claim 4 to 7 is any, it is characterised in that described Power information acquisition terminal also includes display unit (9), and the display unit (9) is total with the main control module (2) or with described Line traffic control unit (1) is connected, the information for showing the power information acquisition terminal, and to the power information acquisition terminal It is configured.
9. a kind of power information using the power information acquisition method based on redundant bus as claimed in claim 1 gathers system System, including main website and at least one power information acquisition terminal, it is characterised in that the power information acquisition terminal includes bus Control unit (1), main control module (2), communication module (5) and at least one acquisition module (3), the main website (4) is by ether Net is connected with the main control module (2) or is directly interacted with each acquisition module (3) by the communication module (5), described Main control module (2) is connected by isolating bus with the bus control unit (1), and the bus control unit (1) is by ether Net or CAN are connected with each acquisition module (3), and each acquisition module includes at least one communication interface;
The main website be used for the log-on message received according to it or update task requests assign a task instruction, receive the electricity consumption for gathering Information and work state information;
The main control module (2) for uploading power information, log-on message and the work state information of its acquisition, according to the note The bus control unit is reached under the assignment instructions that volume information and work state information are received;The main control module (2) it is additionally operable to after renewal task requests are received, the renewal task requests is uploaded to main website, receives the main website again The assignment instructions assigned, and assigned a task again instruction to the bus control unit;
The bus control unit (1) respectively gathers for uploading power information, the log-on message of its acquisition described in real-time query The work state information of module, it is right according to being reached under the assignment instructions that the log-on message and work state information are received Each acquisition module (3) answered;The bus control unit (1) is additionally operable in the main control module (2) failure by described logical Letter module (5) directly receives the assignment instructions of the main website, and assigns corresponding assignment instructions to corresponding acquisition module;
Each acquisition module is used for after the assignment instructions are received, and corresponding telecommunications is used according to assignment instructions collection Breath, reports its working condition.
10. the power information acquisition system of the power information acquisition method of redundant bus is based on as claimed in claim 9, and it is special Levy and be, the bus control unit (1) exceedes threshold value C in the working condition frequency of abnormity for inquiring the acquisition module (3), Corresponding assignment instructions are then resend abnormal acquisition module (3) occur and report to described;If to the acquisition module (3) Assignment instructions described in n times were resend, then corresponding acquisition module (3) was closed by the bus control module, reported, and root Other acquisition modules (3) for possessing said function are searched according to the log-on message, replaces exception occur by other acquisition modules (3) Acquisition module (3) work.
CN201710243171.0A 2017-04-14 2017-04-14 Redundant bus-based electricity collection method, modular terminal and system Active CN106846783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710243171.0A CN106846783B (en) 2017-04-14 2017-04-14 Redundant bus-based electricity collection method, modular terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710243171.0A CN106846783B (en) 2017-04-14 2017-04-14 Redundant bus-based electricity collection method, modular terminal and system

Publications (2)

Publication Number Publication Date
CN106846783A true CN106846783A (en) 2017-06-13
CN106846783B CN106846783B (en) 2023-11-07

Family

ID=59147585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710243171.0A Active CN106846783B (en) 2017-04-14 2017-04-14 Redundant bus-based electricity collection method, modular terminal and system

Country Status (1)

Country Link
CN (1) CN106846783B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109067601A (en) * 2018-09-26 2018-12-21 北京猎户星空科技有限公司 Communication system, method and robot based on robot
CN110048924A (en) * 2019-05-27 2019-07-23 杰瑞石油天然气工程有限公司 High real-time and the power remote monitor bus and its control method with itself redundancy feature
CN110224872A (en) * 2019-06-21 2019-09-10 上海东土远景工业科技有限公司 A kind of communication means, device and storage medium
CN110706471A (en) * 2019-10-23 2020-01-17 国网江苏省电力有限公司电力科学研究院 Intelligent electricity information acquisition method based on capacitive isolation multichannel redundancy technology by adopting edge algorithm
CN116101111A (en) * 2022-12-19 2023-05-12 贵安新区配售电有限公司 Post-disaster traceability device for charging pile

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064979A (en) * 2006-11-28 2007-10-31 上海电器科学研究所(集团)有限公司 Wireless control light modulation ballast
CN201417285Y (en) * 2009-06-10 2010-03-03 沈阳易讯科技有限公司 Electrical parameter distribution device
CN105045181A (en) * 2015-07-24 2015-11-11 重庆川仪自动化股份有限公司 Overall redundant architecture of PAS 100 control system
CN204925242U (en) * 2015-09-15 2015-12-30 国网冀北电力有限公司经济技术研究院 Be provided with remote monitoring terminal's automatic electric quantity collection system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064979A (en) * 2006-11-28 2007-10-31 上海电器科学研究所(集团)有限公司 Wireless control light modulation ballast
CN201417285Y (en) * 2009-06-10 2010-03-03 沈阳易讯科技有限公司 Electrical parameter distribution device
CN105045181A (en) * 2015-07-24 2015-11-11 重庆川仪自动化股份有限公司 Overall redundant architecture of PAS 100 control system
CN204925242U (en) * 2015-09-15 2015-12-30 国网冀北电力有限公司经济技术研究院 Be provided with remote monitoring terminal's automatic electric quantity collection system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109067601A (en) * 2018-09-26 2018-12-21 北京猎户星空科技有限公司 Communication system, method and robot based on robot
CN110048924A (en) * 2019-05-27 2019-07-23 杰瑞石油天然气工程有限公司 High real-time and the power remote monitor bus and its control method with itself redundancy feature
CN110224872A (en) * 2019-06-21 2019-09-10 上海东土远景工业科技有限公司 A kind of communication means, device and storage medium
CN110224872B (en) * 2019-06-21 2022-03-22 上海东土远景工业科技有限公司 Communication method, device and storage medium
CN110706471A (en) * 2019-10-23 2020-01-17 国网江苏省电力有限公司电力科学研究院 Intelligent electricity information acquisition method based on capacitive isolation multichannel redundancy technology by adopting edge algorithm
CN116101111A (en) * 2022-12-19 2023-05-12 贵安新区配售电有限公司 Post-disaster traceability device for charging pile
CN116101111B (en) * 2022-12-19 2024-02-09 贵安新区配售电有限公司 Post-disaster traceability device for charging pile

Also Published As

Publication number Publication date
CN106846783B (en) 2023-11-07

Similar Documents

Publication Publication Date Title
CN106846783A (en) A kind of electricity consumption acquisition method based on redundant bus, modularity terminal and system
CN110311711B (en) Intelligent distribution transformer terminal and intelligent electric meter interaction method based on HPLC communication channel
US9237064B2 (en) Communication method and apparatus of network management system
CN107967801A (en) A kind of energy measurement data online acquisition and monitoring method and system
CN101924391B (en) Electric distribution network feeder automation system based on wireless ad hoc network and networking method thereof
CN109728838A (en) Platform area identifying system and recognition methods based on broadband power line carrier and power frequency communication
CN109378898B (en) Intelligent regulation and control system and method for distribution transformer area
CN206961310U (en) A kind of power information acquisition terminal and its modularity acquisition system based on CAN
CN105046924A (en) Intelligent farmland irrigation control system based on Internet of Things and operation method of intelligent farmland irrigation control system
CN105242653A (en) Substation operation environment monitoring system and method
CN113194432A (en) Network communication method between intelligent distributed feeder automation terminals
CN114559846B (en) Energy storage power station management device and management method
CN111030910A (en) Method and system for monitoring communication state of ring network node, measurement and control device and local module
CN204794371U (en) Distribution network intelligence feeder terminal based on embedded many ARM
CN111404583B (en) Carrier wave repeater
CN201044449Y (en) Optical transmitter-receiver and network management system of optical transmitter-receiver
CN206849263U (en) A kind of power information modularity acquisition terminal and system based on redundant bus
CN102904342A (en) Distributed self-healing control method of power distribution network
CN107369313A (en) Taiwan area bandwidth carrier meter reading multi-path topology drawing generating method
CN205211147U (en) System for electric power concentrator and transmission electric power data
CN110472867A (en) Power distribution network Network adaptation assessment processing method and device
CN105093065A (en) Distribution line centralized control system and line fault detection and processing method
CN210274112U (en) Meteorological emergency backup transmission system based on 4G
CN104133444B (en) Smart grid satellite network transmission system
CN207039295U (en) The outlet power administrative unit of the entrance of electronic single-phase one/ten

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231225

Address after: No. 128, Jiangjun Avenue, Jiangning District, Nanjing, Jiangsu 210000

Patentee after: JIANGSU SUYUAN GUANGYI SCIENCE & TECHNOLOGY Co.,Ltd.

Address before: No.86 runqi Road, Jiangning District, Nanjing City, Jiangsu Province 211103

Patentee before: ELEFIRST SCIENCE & TECH Co.,Ltd.

TR01 Transfer of patent right