CN102209027B - Sampled data hierarchical transmission core device with timestamp - Google Patents

Sampled data hierarchical transmission core device with timestamp Download PDF

Info

Publication number
CN102209027B
CN102209027B CN2011101063536A CN201110106353A CN102209027B CN 102209027 B CN102209027 B CN 102209027B CN 2011101063536 A CN2011101063536 A CN 2011101063536A CN 201110106353 A CN201110106353 A CN 201110106353A CN 102209027 B CN102209027 B CN 102209027B
Authority
CN
China
Prior art keywords
sampled data
target
clock
time stamp
core devices
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.)
Expired - Fee Related
Application number
CN2011101063536A
Other languages
Chinese (zh)
Other versions
CN102209027A (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.)
SHENGKE NETWORKS CO Ltd
Original Assignee
SHENGKE NETWORKS 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 SHENGKE NETWORKS CO Ltd filed Critical SHENGKE NETWORKS CO Ltd
Priority to CN2011101063536A priority Critical patent/CN102209027B/en
Publication of CN102209027A publication Critical patent/CN102209027A/en
Priority to US13/280,319 priority patent/US20120278421A1/en
Application granted granted Critical
Publication of CN102209027B publication Critical patent/CN102209027B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Emergency Protection Circuit Devices (AREA)

Abstract

The invention provides a sampled data hierarchical transmission core device with a timestamp. The core device comprises a remote clock, a local clock, an Ethernet port, a memory and a controller, wherein the remote clock is used for realizing the target clock backup of target equipment; the Ethernet port is used for receiving a sampled data message from slave equipment; the sampled data message comprises sampled data and a current sampling timestamp, synchronous with the local clock, of the sampled data; the memory is used for storing the sampled data and the current sampling timestamp; and the controller is used for regulating the current sampling timestamp synchronous with the local clock into a target sampling timestamp synchronous with a target clock of the target equipment according to the target clock backup, packaging the target sampling timestamp and corresponding sampled data together into a target sampled data message, and transmitting the target sampled data message to the target equipment. In such a way, the sampled data is synchronized with the final target clock of the target equipment, thereby meeting the requirement of high real-time performance of a system using the device and achieving favorability for remote control.

Description

The sampled data hierarchical transmission core devices of band time stamp
Technical field
The present invention relates to a kind of core devices, relate in particular to a kind of sampled data hierarchical transmission core devices that is applied to the band time stamp of industry measurement and control system.
Background technology
The TT﹠C system of commercial Application is commonly used to the data of scene operation are gathered, monitored, and by analysis, the statistics to sampled data, thereby takes corresponding strategy to realize control, protection or metering.Realize point-to-point connected in seriesly in traditional TT﹠C system between each equipment by cable, this can cause very high hardware cost undoubtedly, and causes a lot of troubles for long-range protection and control or System Expansion.Develop rapidly along with computer chip and the network communications technology, traditional TT﹠C system has begun to use the network communications technology to realize the mutual of sampled data and has shared, hardware connects and the cost of maintenance thereby can significantly reduce, and has made things convenient for the dilatation of Long-distance Control and system.
Be example with the transformer substation system, International Electrotechnical Commission (IEC) has issued the unified communication protocol IEC61580 agreement of the electric substation automation system of communication Network Based, according to this agreement, all data of transformer substation system and information can be transmitted and share by network.Transformer substation system can be divided into process layer, wall, substation level according to the IEC61580 standard.Wherein the process layer is mainly used in finishing switching value and analog acquisition, and it comprises various primary equipments, as cable, electric wire, bus, switch, transformer, capacitor, current/voltage instrument transformer etc.; Wall comprises the various second protection measure and control devices that are used for monitoring, control, protecting primary equipment, i.e. intelligent electronic device (IED); Substation level is used for whole transformer station is carried out security monitoring, control, operation and carries out exchanges data with the transformer station outside, and it comprises the operator workstation (OWS) of (HMI) that has man-machine interface and to gateway of the network control center (NCC) etc.Transformer station's bus is used for communicating by letter between substation level and wall; Process bus is used for communicating by letter of wall and process interlayer.Several different message forms are arranged in the IEC61580 standard.Message for non-time-critical, IEC61580-8-1 has stipulated the manufacturing message specification (MMS based on the open system interconnection (OSI) of simplifying (OSI) protocol stack, ISO/IEC9506), wherein the osi protocol stack has transmission control protocol (TCP) and the Internet protocol (IP) that is in respectively in transport layer and the network layer, and IEC61580-8-1 stipulates that Ethernet and/or RS-232C are as physical medium.The message based on event for time-critical; IEC61580-8-1 has stipulated directly to be in the transformer substation case towards general object (GOOSE) on the ethernet link layer of communication stack, and it is mainly for the protection of demanding transfer of data of real-time such as tripping operation, circuit breaker position, lock files.For at process layer periodically variable signal very rapidly, such as measure analog voltage or electric current, IEC61580-9-2 has stipulated the standard of sampled data (SMV) message, and it is the same as with GOOSE ethernet link layer.
The electronic mutual inductor of IEC61580 protocol requirement process layer can be converted into digital signal with analog quantitys such as the voltage once surveyed, electric currents, and is sent to wall; Substation level finish to the control of wall secondary device, process layer primary equipment in standing and with the communicating by letter of distant place control centre, engineer station and man-machine interface.For example; electronic current, voltage transformer have been gathered the three-phase current of high-voltage fence and the instantaneous signal of voltage; be processed into digital signal through A/D converter spare (ADC); and pass to merge cells by optical fiber; merge cells can be according to the demand of wall second protection control device with corresponding sampled data according to specific frame format group bag; send to the second protection control device by ethernet port, so that it carries out corresponding protection control strategy and Information Statistics according to the data that obtain.
In the Industry Control, need be synchronous with the clock that the protection measure and control device carries out strictness to the data of gathering.Present stage the Clock Synchronization Technology that extensively adopts as by global location (GPS) to the time, though the synchronizing signal that adopts this technology to obtain is stable, reliable, precision is high, equipment, installation, maintenance cost height, and difficulty of construction is big, failure rate is also high.The IEEE1588 agreement is as a kind of precision clock agreement; because it can realize the high-precise synchronization of submicrosecond level; and be suitable in Ethernet, realizing; and realize that cost is lower, thus be applied to gradually the master clock of second protection measure and control device in the transformer substation system and data integral unit from the synchronous realization between clock.Yet; in the transformer substation system; when needs carry out Long-distance Control; data may need to be sent to not specific second protection measure and control device through multistage transfer equipment; and the clock of each transfer equipment is asynchronous; so how to guarantee that data and its master clock that the second protection measure and control device receives are synchronous, be those skilled in the art's urgent problems.
Summary of the invention
The object of the present invention is to provide a kind of sampled data hierarchical transmission core devices with time stamp, it can support sampled data message hierarchical transmission between distinct device, and make wherein sampled data and the target clock of final objective equipment synchronous, thereby guarantee to use the high real-time requirement of the system of this device, be conducive to Long-distance Control.
For achieving the above object, a kind of sampled data hierarchical transmission core devices with time stamp of the present invention is used for obtaining sampled data from slave, and sampled data is sent to target device; It is characterized in that this core devices comprises:
Distant place clock and local clock, described distant place clock is used for realizing the target clock backup of target device;
Ethernet port is used for receiving the sampled data message that comes from slave, and described sampled data message comprises sampled data, and the current sampling time stamp synchronous with local clock of sampled data;
Memory is used for the described sampled data of storage and current sampling time stamp;
Controller is used for according to described target clock backup current sampling time stamp described and that local clock is synchronous being adjusted into the target sampling time stamp synchronous with the target clock of target device; And send to target device after described target sampling time stamp and corresponding sampled data be packaged into target sampled data message together.
As a further improvement on the present invention, described distant place clock is realized the target clock backup according to the IEEE1588 agreement.
As a further improvement on the present invention, described controller is used for the time clock correction according to local clock and target clock, and current sampling time stamp is adjusted into the target sampling time stamp synchronous with the target clock of target device.
As a further improvement on the present invention, described controller also is used for
Reception comes from the sampled data instruction message of target device;
Resolve described sampled data instruction message to obtain the source address of target device;
Obtain target clock backup corresponding in the clock of a distant place according to described source address.
As a further improvement on the present invention, this core devices comprises that also the sampled data port is to be used for receiving the second sampled data message that comes from data acquisition unit; Described local clock is used for the second current sampling time stamp that the described second sampled data message of record enters described sampled data port.
As a further improvement on the present invention, described ethernet port is used for receiving the first sampled data message that comes from slave, the described first sampled data message comprises first sampled data, and the described second sampled data message comprises second sampled data different with the sampling type of first sampled data and/or sample frequency.
As a further improvement on the present invention, described controller also is used for the time clock correction according to local clock and target clock, and the described second current sampling time stamp is adjusted into the second target sampling time stamp synchronous with the target clock of target device.
As a further improvement on the present invention, described controller sends to target device after also being packaged into the second target sampled data message together for described second target is sampled time stamp and second sampled data.
As a further improvement on the present invention, described sampled data message or the second sampled data message also comprise the sampling channel information in sampled data source, and described memory also is used for the described sampling channel information of storage.
Compared with prior art, the invention has the beneficial effects as follows: core devices can be from the sampled data message of slave receiving belt sampling time stamp, and sampling time stamp wherein can be adjusted to the synchronous target time stamp of target device clock after the sampled data message is sent to target device, thereby make wherein sampled data and the target clock of final objective equipment synchronous, and then guarantee to use the high real-time requirement of the system of this device, be conducive to Long-distance Control.
Description of drawings
Fig. 1 is the operation principle block diagram of first execution mode of using the industry measurement and control system of core devices of the present invention.
Fig. 2 is the operation principle block diagram of second execution mode of using the industry measurement and control system of core devices of the present invention.
Fig. 3 is the operation principle block diagram of the 3rd execution mode of using the industry measurement and control system of core devices of the present invention.
Fig. 4 is the workflow diagram that core devices receives sampled data in the embodiment of the present invention from data acquisition unit.
Fig. 5 is the workflow diagram that core devices receives sampled data in the embodiment of the present invention from other core devices.
Fig. 6 is the workflow diagram that core devices extracted and sent corresponding data in the embodiment of the present invention according to the main equipment data command.
Fig. 7 is first execution mode of the storage of sampled data in the core devices among the present invention.
Fig. 8 is second execution mode of the storage of sampled data in the core devices among the present invention.
Embodiment
To be example with the transformer substation system below, each execution mode shown in describes the present invention by reference to the accompanying drawings.But need to prove; the application of core devices of the present invention is not limited in transformer substation system; other is any data acquisition, analysis, statistics that is suitable for commercial Application such as the monitoring of the magnitude of traffic flow and control for example, and control, protection system all are included in the protection range that core devices of the present invention uses.
Shown in Figure 1 is uses the operation principle block diagram of first execution mode of the industry measurement and control system of core devices of the present invention.Wherein, industry measurement and control system comprises data acquisition unit, the core devices of communicating by letter with data acquisition unit and the main equipment of communicating by letter with core devices.In the present embodiment, industry measurement and control system is a transformer substation system.Data acquisition unit 31,32 shown in the figure has two, but what those of ordinary skills can expect easily is, the sample requirement of the quantity viewing system of data acquisition unit and deciding, can have only one, also can be more, the quantity in this scope is limited to 12 on the data acquisition unit that common core devices connects, so all can receive.Data acquisition unit is used for the floor data of the on-the-spot operation of acquisition system, and in the present embodiment, data acquisition unit comprises electronic mutual inductor, can gather the operating data of different types of high-voltage fence, as voltage, electric current, temperature, humidity, pressure etc.; Also can gather the data of the different sample frequencys of same type, for example, two current transformers that two data collectors 31,32 shown in the figure comprise are corresponding two sampling channel A and B respectively, wherein the sampling standard of sampling channel A is: ripple (50Hz) sampling is 20000 times weekly, sample frequency is 50Hz * 20000=1MHz, and the sampling interval is 1/1MHz=1 μ s; The sampling standard of sampling channel B is: ripple (50Hz) sampling is 10000 times weekly, and sample frequency is 50Hz * 10000=0.5MHz, and the sampling interval is 1/0.5MHz=2 μ s.In the present embodiment, the data sampling type of each passage and sampling interval are pre-configured according to the sampling request of system, certainly in other embodiments, the sampling interval of passage also can be adjusted in the highest sampling interval of passage according to the instruction of main equipment.
In the present embodiment, data acquisition unit also comprises mould/number conversion chip (ADC), and the analog signal that is used for instrument transformer is collected is converted to digital signal after the modulate circuit conditioning.Also comprise IEC61580 agreement support package in mould/number conversion chip, can be used for digitized sampled data is carried out the encapsulation of respective frame form and formed the sampled data message according to the IEC61580 agreement, then send to core devices 10.Certainly, in other embodiments, mould/number conversion chip can be independent of the data acquisition unit setting; Perhaps mould/number conversion chip is arranged on core devices 10 sides, is namely received the analog signal of sampled data and is converted to the data that meet the IEC61580 agreement by core devices 10.Data acquisition unit 31,32 and core devices 10 between can be the high-speed serial communication (port can be numeral electricity output or digital light output) of " point-to-point ", also can realize communication by local area network (LAN).In the present embodiment, this local area network (LAN) is Ethernet, comprises Ethernet switch, transmission cable (as optical cable, coaxial cable, twisted-pair feeder) and connection device etc.With regard to data traffic, can be standard ethernet, Fast Ethernet, gigabit Ethernet or even ten thousand mbit ethernets; With regard to topological structure, can be bus-type, also can be star-like.
In the present embodiment, core devices 10 is the combination that be used for to realize each functional module of some Core Features in the merge cells, the instruction that concrete manifestation can be carried out for hardware unit, at hardware unit or the combination of program or hardware and software program.This core devices is mainly used in receiving and store and comes from data acquisition unit 31,32 sampled data, and shares in transformer substation system, for main equipment 21,22 or other core devices subscribe to.Core devices 10 comprises controller 11, memory 12, sampled data port one 3 and ethernet port 14.Its middle controller 11 comprise various types ofly be used for executing instruction, processor or the microprocessor for the treatment of progress or thread.In the present embodiment, controller comprises one or more microprocessors, PCI ethernet controller, high accuracy PHY chip etc., wherein microprocessor can comprise CPU (Central Processing Unit, CPU), the integrated circuit that also can comprise other form, as application-specific IC (Application Specific Integrated Circuits, ASIC) or field programmable gate array (Field-programmable Gate Array, FPGA) etc.Memory 12 can comprise the read-only memory static memories such as (ROM) of storing static information, with the random access storage device dynamic memories such as (RAM) of storage multidate information, and the mass storage that comprises magnetic or optical record medium and respective drive.In the present embodiment, association message 121 all is stored in the random access storage device 12 as MMS message, GOOSE message, SMV message and IEEE1588 message, and sampled data and relevant information 122 also are stored in the random access storage device 12.Certainly, in other embodiments, above-mentioned message, sampled data and relevant information also can be stored in the memory of the satisfied read-write speed of other form and storage capacity requirement.
As shown in Figure 1, in the present embodiment, industry measurement and control system also comprises two main equipments 21,22, and certainly in other embodiments, the quantity of main equipment can be one, also can be a plurality of.Main equipment can be multiple for the equipment of realizing control, protection, metering.For example, in transformer substation system, for procedure division, main equipment can be process side device, intelligent metering instrument, converter of interval controller, protection relay, remote control unit etc.; For the man-machine interaction part, main equipment can be PC, operator workstation, gateway or the intelligent electronic device that has man-machine interface; For distant place communications portion, main equipment can be gateway, communication converter, remote control unit etc.In execution mode, main equipment is preferably process side device, the intelligent metering instrument of interval controller, protection relay, remote control unit.Wherein interval controller is used for the data communication between the control different interval; Protection relay is used for finishing various relaying protections, as distance protection, bus differential protecting etc.; The process side device of remote control unit is as controlling reclosing etc.; The intelligent metering instrument is used for showing corresponding measurement data statistics result by the sampled data statistics.Can be the high-speed serial communication (serial port can be RS-422, RS485, USB etc.) of " point-to-point " between main equipment and the core devices, as main equipment 22; Also can realize communication by local area network (LAN) 40, as main equipment 21.In the present embodiment, this local area network (LAN) is Ethernet, comprises Ethernet switch, transmission cable (as optical cable, coaxial cable, twisted-pair feeder) and connection device etc.With regard to data traffic, can be standard ethernet, Fast Ethernet, gigabit Ethernet or even ten thousand mbit ethernets; With regard to topological structure, can be bus-type, also can be star-like.
Each main equipment 21,22 includes master clock 211,221 separately, master clock 211,221 can by GPS carry out to the time, yet when GPS is unavailable, master clock can be synchronized to respectively from the core devices 10 of equipment by the IEEE1588 agreement.As shown in Figure 1, in the present embodiment, core devices 10 also comprises distant place clock 151 and local clock 152.Wherein distant place clock 151 can be realized the backed up in synchronization 1511,1512 of each master clock by the IEEE1588 agreement, and local clock 152 is independent operating then, and is uncorrelated mutually with main equipment or other core devices.
Below in conjunction with workflow diagram shown in Figure 4, core devices 10 is received and storage comes from data acquisition unit 31,32 data are elaborated.Core devices 10 receives sampled data message (step 611) by sampled data port one 3, and records the time T i(step 612 that the sampled data messages enter sampled data port one 3 by local clock 152).Controller 11 parses sampled data and corresponding sampling channel information (step 613) from the sampled data message.Next, controller 11 also can judge whether and will carry out interpolation operation to sampled data, is about to the data based requirement of low-density and is interpolated to high density data (step 614).In the present embodiment, whether to carry out sampling interval, main equipment that interpolation operation depends on respective channel to from the sampling interval of these channel sample data or the requirement of sampling precision to data.For example, the sample frequency of the sampling channel A of data acquisition unit 31 correspondences is 1MHz, sampling interval to be 1 μ s; The sample frequency of the sampling channel B of data acquisition unit 32 correspondences is 0.5MHz, sampling interval to be 2 μ s.If main equipment 21 requires to obtain simultaneously with the sampling interval of 1 μ s the sampled data of sampling channel A and B, the data that obvious sampling channel A obtains satisfy the main equipment requirement fully, and sampling channel B does not satisfy, so will carry out interpolation operation to the sampled data that sampling channel B obtains, to reach the sampled data precision (step 615) that satisfies the main equipment requirement.If another main equipment 22 requires to obtain simultaneously with the sampling interval of 2 μ s the sampled data of sampling channel A and B, obviously passage A and B have satisfied sampling request, so needn't do interpolation operation.For the sampled data of periodically obtaining, owing to may need to offer the main equipment with different sampling precision requirements, so when judging whether to do interpolation operation, choose all and connect the sampling interval requires the highest being the benchmark sampling interval whether to need each sampling channel is done corresponding interpolation operation thereby differentiate in the main equipment.If the sampling interval of the corresponding sampling channel of sampled data that namely obtains does not reach this benchmark sampling interval, then controller is carried out interpolation operation to reach the requirement of benchmark sampling interval to the data that are derived from this sampling channel.
Next, controller 11 can deposit the sampled data after interpolation is judged, corresponding sampling channel information and the current sampling time stab information in mark sampling time in the data RAM 122 in the lump, subscribes to for main equipment.Need to prove, the current sampling time stab information mark here be sampled data message and local clock data in synchronization sampling time T1.Because the time delay (△ t1) of sampled data from data acquisition unit to the sampled data port fixed, and can record in advance, so controller 11 just can calculate and local clock data in synchronization sampling time T1 according to the time T i that this fixed delay (△ t1) and sampled data enter sampled data port one 3.Cooperate with reference to the storage mode of data in data RAM 122 shown in Figure 7.Data RAM 122 most important two interfaces are address signal and data-signal.When write operation, deposit data designated the address of appointment in, make things convenient for the user to read; During read operation, the user obtains corresponding data message according to different address informations, so the reasonable mapping of address and data is keys of the correct read-write of data RAM.In the present embodiment, store into respectively in the data RAM of respective channel from the sampled data of different passages, as address information, corresponding sampled data then deposits in the corresponding field with time stab information.Still based on above-mentioned example, each passage can store the information of 20000 sampled points, i.e. the sample information of a cycle; After the sample information of next cycle arrives, will cover the information of previous cycle, namely the information of previous cycle will not exist.Shown in Figure 8 is the another kind of storage modes of data in data RAM 122, in the present embodiment, simultaneously with time stab information and channel information as address information, corresponding sampled data then deposits in the corresponding field.Compare execution mode shown in Figure 7, storage mode shown in Figure 8 can carry out read-write operation to the multi-channel sampling data simultaneously, thereby has improved the processing speed of sampled data.
The workflow of extracting and send corresponding data below in conjunction with the core devices of Fig. 6 according to the main equipment data command elaborates.Core devices 10 receives the sampled data instruction message (step 641) that comes from main equipment 21 by ethernet port 14; Controller 11 is resolved the message of receiving (step 642), and judges whether the message that receives is sampled data instruction message (step 643).Because core devices 10 also can receive the message that other supports type by ethernet port 14, as come from the sampled data message (hereinafter will be described in detail) of other core devices, then controller can continue to judge whether to be the type of message (step 645) of other support.If not the type of supporting, then controller 11 sends corresponding wrong interrupt (step 646), and sends the control corresponding main equipment instruction errors of message notifying (step 647); If the type of supporting, then resolution data instruction message (step 648), and the information after will resolving deposits memory 12 in, waits for controller 11 processing (step 649).
Turn back to step 643 again, when judgement is sampled data instruction message (being the GOOSE message), controller 11 resolution datas instruction message (step 650).Usually, main equipment can be divided into two kinds to the mode that core devices obtains the sampled data message: real-time period obtains and the selectivity that happens suddenly is obtained.Real-time period obtains and refers to that main equipment obtains the GOOSE message of control information by having sampled data, core devices is disposed corresponding sampled data acquisition strategy, for example obtain the information of one or more sampling channel with the sampling interval of 1 μ s, as long as this strategy is not changed, core devices will be according to corresponding rule, to the transmission sampled data message of specifying this tactful main equipment real-time period.The burst selectivity is obtained and is referred to that main equipment obtains the GOOSE message of control information by having the particular sample data, obtain corresponding sampled data, each GOOSE message only one or one group of correspondence obtains operation, and the GOOSE message is as triggering prerequisite.What receive when core devices is that real-time period is when obtaining the GOOSE message of sampled data, controller 11 parses target sampling channel information from message, and extracts the data (step 651) of appointed interval from the data RAM 122 of respective channel according to this command information.(situation) in this case, the direct execution in step 653 of controller 11 meetings namely judges whether to do the data combination.What receive when core devices is burst selectivity when obtaining the GOOSE message of sampled data, and controller 11 parses target sampling channel information and target sampling time information from message.In addition, controller 11 can also obtain corresponding master clock backup according to the source address of the main equipment that parses, and time clock correction (△ t2) reckoning between the local clock of the master clock by this main equipment and core devices obtains the corresponding sampling time T1 synchronous with local clock of target sampling time T2.Subsequently, controller is with sampling time T1 index (storage mode shown in Figure 7) in the address information of corresponding sampling channel, or with sampling time T1 and target sampling channel information index (storage mode shown in Figure 8) in address information, thereby from data RAM 122, extract corresponding sampled data.(situation) in this case may can't find corresponding data owing to reason such as overtime, thereby causes extracting failure (step 652).If extract failure, then enter step 646; If extract successfully, then enter step 653.
No matter be that real-time period obtains and the selectivity that happens suddenly is obtained, wanting the data of the sampling type obtained or sample frequency when main equipment has when a plurality of, be that the target sampling channel is when having two at least, controller 11 will make up the sampled data (step 654) that is extracted, subsequently, controller 11 obtains the synchronous target sampling time stamp (step 655) of the master clock with the target main equipment of sampled data.Obtain for the burst selectivity, owing to itself had the target sampled data time stamp synchronous with its master clock that main equipment requires in the GOOSE message of target main equipment, so only need continue to use this time stamp; And obtain for real-time period, controller 11 needs to calculate acquisition.Because controller 11 can obtain the backup of corresponding master clock according to the source address of the main equipment that parses, thereby time clock correction (△ t2) reckoning between the local clock of the master clock by this main equipment and core devices obtains with the master clock synchronous sampling time T2 corresponding with the synchronous sampling time T1 of local clock.Next, controller 11 is formed sampled data message (step 656) with sampled data with the synchronous target of target master clock sampling time stamp according to corresponding frame format, and sends to target main equipment (step 657).
Main equipment can be implemented the operation of corresponding control, protection or metering according to the sampled data that parses after receiving the sampling data needed message.For example; equipment has relaying protection function-bus differential protecting; main equipment is by monitoring bus circuit instantaneous flow balance whether; perhaps whether phase place is consistent, differentiates busbar fault, as finding fault; start the protection action element; as circuit breaker, all circuit breakers of tripping bus play the bus protection effect.Have the intelligent metering instrument function as main equipment, main equipment can be according to the sampled data that receives, with current/voltage instantaneous flow be presented on the corresponding instrument, and do the power consumption ASSOCIATE STATISTICS.
Core devices only need be according to local clock mark time stamp and the storage of self for the sampled data that enters, thereby when different main equipments need read this sampled data, core devices can be at the corresponding adjustment of different main equipments and its master clock data in synchronization sampling time stamp, thereby satisfies the high real-time requirement of system; In addition, in this way, the sampled data of passing through once to gather of core devices can be shared to different main equipments, has reduced the consumption of core devices, and has simplified the annexation of each equipment room of system, and then reduced the cost of system constructing and maintenance.
With reference to second execution mode of industry measurement and control system among the present invention shown in Fig. 2, be with the main distinction of first execution mode shown in Figure 1, also comprise another core devices in the present embodiment.For ease of distinguishing, in the present embodiment core devices 10 in first execution mode is called first core devices, and newly-increased core devices 19 is called second core devices (or being called slave).First core devices 10, main equipment 21,22(or be called target device), be referred to as first data acquisition unit in data acquisition unit 31, the 32(present embodiment), network 40 all identical with described in first execution mode is so the applicant is no longer given unnecessary details at this.In the present embodiment, the main distinction of second core devices 19 and first core devices 10 is that second distant place clock 161 of second core devices 19 is realized the backup of first local clock 152 of first core devices 10 according to the IEEE1588 agreement.Realize communication by Ethernet between second core devices 19 and first core devices 10.
In the present embodiment, first core devices 10 comes from first data acquisition unit 31,32 the first sampled data message except receiving by the sampled data port, can also receive the second sampled data message that come from second core devices 19 by ethernet port.Wherein, second sampled data that comprises in first sampled data that comprises in the first sampled data message and the second sampled data message has different sampling types and/or different sample frequencys.Second core devices 19 is gathered second sampled data by second data acquisition unit 33.Be similar to first core devices, 10, the second core devices 19 enter its sampled data port by its second local clock, 162 records, second sampled data message time T i; And according to the precognition the fixed delay △ t1 of second sampled data from second data acquisition unit 33 to its sampled data port extrapolate and second local clock, 162 data in synchronization sampling time T1.When second core devices 19 will send sampled data to first core devices 10, it can will be adjusted to and first local clock, 162 data in synchronization sampling time T2 with second local clock, 162 data in synchronization sampling time T1 according to the time clock correction △ t2 of first local clock and second local clock, then this time stab information and second sampled data be sent after according to corresponding frame format composition sampled data message.
Cooperate to receive with reference to first core devices 10 shown in Figure 5 and come from the second core devices 19(slave) the concrete workflow of sampled data message, first core devices 10 receives the sampled data message (step 621) that comes from second core devices by its ethernet port; Controller 11 is resolved the message of receiving (step 623), and judges whether the message that receives is sampled data message (step 624).Because core devices 10 also can receive the message that other supports type by ethernet port 14, as come from the GOOSE message (preceding address) of main equipment, then controller can continue to judge whether to be the type of message (step 627) of other support.If not the type of supporting, then controller 11 sends corresponding wrong interrupt (step 628), records and abandon this message (step 629) then; If the type of supporting, then resolution data message (step 630), and the information after will resolving deposits memory 12 in, waits for controller 11 processing (step 631).Get back to step 624, if the sampled data message, then controller 11 is resolved the sampled data messages, obtain sampled data, sampling channel information, and and the synchronous sampling time information (step 625) of first local clock 152; Then these data and information are deposited in the lump in the memory 12 and subscribe to (step 625) for different main equipments.About the process of first core devices to main equipment (target device) transmission target sampled data message, describe in detail in the above-described embodiment, the applicant is no longer given unnecessary details at this.What those skilled in the art can expect easily is that this system can also comprise one the 3rd core devices.The 3rd core devices can communicate by letter to submit to sampled data with second core devices, so the slave of second core devices is the 3rd core devices at this moment, and its target device is first core devices.
Shown in Figure 3 is the 3rd execution mode of industry measurement and control system among the present invention, is that with the main distinction of first execution mode main equipment and core devices pass through group-net communication.Wherein, main equipment 21 is by first Ethernet switch 41 and second Ethernet switch 42 and core devices 10 cascades; Main equipment 22 is connected with core devices 10 by second Ethernet switch 42.By group-net communication, can be conducive to syndeton clear, be easy to safeguard.For example, distribute switch with the unit of being spaced apart, no matter the intelligent electronic device that comprises in interval, protection observing and controlling element, core devices number what, all to distribute a complete switch for them, shared switch between the different intervals; Perhaps will need the hanging equipments such as intelligent electronic device, protection observing and controlling element, core devices of more information interaction to receive on the switch each other, connect again between the different switches.
Be to be understood that, though this specification is described according to execution mode, but be not that each execution mode only comprises an independently technical scheme, this narrating mode of specification only is for clarity sake, those skilled in the art should make specification as a whole, technical scheme among each embodiment also can form other execution modes that it will be appreciated by those skilled in the art that through appropriate combination.
Above listed a series of detailed description only is specifying at feasibility execution mode of the present invention; they are not in order to limiting protection scope of the present invention, allly do not break away from equivalent execution mode or the change that skill spirit of the present invention does and all should be included within protection scope of the present invention.

Claims (9)

1. the sampled data hierarchical transmission core devices with time stamp is used for obtaining sampled data from slave, and sampled data is sent to target device; It is characterized in that this core devices comprises:
Distant place clock and local clock, described distant place clock is used for realizing the target clock backup of target device;
Ethernet port is used for receiving the sampled data message that comes from slave, and described sampled data message comprises sampled data, and the current sampling time stamp synchronous with local clock of sampled data;
Memory is used for the described sampled data of storage and current sampling time stamp;
Controller is used for according to described target clock backup current sampling time stamp described and that local clock is synchronous being adjusted into the target sampling time stamp synchronous with the target clock of target device; And send to target device after described target sampling time stamp and corresponding sampled data be packaged into target sampled data message together.
2. the sampled data hierarchical transmission core devices of band time stamp according to claim 1 is characterized in that, described distant place clock is realized the target clock backup according to the IEEE1588 agreement.
3. the sampled data hierarchical transmission core devices of band time stamp according to claim 1, it is characterized in that, described controller is used for the time clock correction according to local clock and target clock, and current sampling time stamp is adjusted into the target sampling time stamp synchronous with the target clock of target device.
4. the sampled data hierarchical transmission core devices of band time stamp according to claim 1 is characterized in that described controller also is used for
Reception comes from the sampled data instruction message of target device;
Resolve described sampled data instruction message to obtain the source address of target device;
Obtain target clock backup corresponding in the clock of a distant place according to described source address.
5. the sampled data hierarchical transmission core devices of band time stamp according to claim 1 is characterized in that, this core devices comprises that also the sampled data port is to be used for receiving the second sampled data message that comes from data acquisition unit; Described local clock is used for the second current sampling time stamp that the described second sampled data message of record enters described sampled data port.
6. the sampled data hierarchical transmission core devices of band time stamp according to claim 5, it is characterized in that, described ethernet port is used for receiving the first sampled data message that comes from slave, the described first sampled data message comprises first sampled data, and the described second sampled data message comprises second sampled data different with the sampling type of first sampled data and/or sample frequency.
7. the sampled data hierarchical transmission core devices of band time stamp according to claim 6, it is characterized in that, described controller also is used for the time clock correction according to local clock and target clock, and the described second current sampling time stamp is adjusted into the second target sampling time stamp synchronous with the target clock of target device.
8. the sampled data hierarchical transmission core devices of band time stamp according to claim 7, it is characterized in that described controller sends to target device after also being packaged into the second target sampled data message together for described second target is sampled time stamp and second sampled data.
9. according to claim 1 or 5 with the sampled data hierarchical transmission core devices of time stamp, it is characterized in that, described sampled data message or the second sampled data message also comprise the sampling channel information in sampled data source, and described memory also is used for the described sampling channel information of storage.
CN2011101063536A 2011-04-27 2011-04-27 Sampled data hierarchical transmission core device with timestamp Expired - Fee Related CN102209027B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011101063536A CN102209027B (en) 2011-04-27 2011-04-27 Sampled data hierarchical transmission core device with timestamp
US13/280,319 US20120278421A1 (en) 2011-04-27 2011-10-24 Providing a data sample in a measurement and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101063536A CN102209027B (en) 2011-04-27 2011-04-27 Sampled data hierarchical transmission core device with timestamp

Publications (2)

Publication Number Publication Date
CN102209027A CN102209027A (en) 2011-10-05
CN102209027B true CN102209027B (en) 2013-09-11

Family

ID=44697696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101063536A Expired - Fee Related CN102209027B (en) 2011-04-27 2011-04-27 Sampled data hierarchical transmission core device with timestamp

Country Status (1)

Country Link
CN (1) CN102209027B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105910617B (en) * 2016-04-14 2019-01-15 和芯星通科技(北京)有限公司 The method and device of sampled point time synchronization in a kind of onboard navigation system
CN112437032B (en) * 2019-08-24 2023-04-18 北京希姆计算科技有限公司 Data transmitting/receiving device and method, storage medium, and electronic apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296066A (en) * 2008-06-30 2008-10-29 杭州华三通信技术有限公司 Real time clock synchronization method of distributed system, master control board and cable fastener plate
CN101316160A (en) * 2008-06-11 2008-12-03 南京磐能电力科技股份有限公司 Multi-node synchronization sampling and data transmission method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316160A (en) * 2008-06-11 2008-12-03 南京磐能电力科技股份有限公司 Multi-node synchronization sampling and data transmission method
CN101296066A (en) * 2008-06-30 2008-10-29 杭州华三通信技术有限公司 Real time clock synchronization method of distributed system, master control board and cable fastener plate

Also Published As

Publication number Publication date
CN102209027A (en) 2011-10-05

Similar Documents

Publication Publication Date Title
US9684020B2 (en) Merging unit and method of operating a merging unit
US20120278421A1 (en) Providing a data sample in a measurement and control system
McGhee et al. Smart high voltage substation based on IEC 61850 process bus and IEEE 1588 time synchronization
CN103200280B (en) Transformer station process layer interface equipment
CN104993596A (en) A distribution network automation remote terminal unit based on embedded multiple ARM processors
De Almeida et al. Control networks and smart grid teleprotection: Key aspects, technologies, protocols, and case-studies
EP2503668B1 (en) Merging unit and method of operating a merging unit
CN102209027B (en) Sampled data hierarchical transmission core device with timestamp
CN113300462B (en) Topology identification system and method adopting three-phase smart home sensing device
Mohagheghi et al. Modeling distribution automation system components using IEC 61850
Shrestha et al. Understanding the impacts of time synchronization and network issues on protection in digital secondary systems
EP2503667A1 (en) Merging Unit and Method of Operating a Merging Unit
CN102215100A (en) Virtual analog-to-digital conversion core device based on IEEE (Institute of Electrical and Electronic Engineers) 1588 Ethernet
CN102201909A (en) Multi-master clock sampling data synchronization core device
CN102255795B (en) High-speed sampling data selecting and distributing core element
US11909194B2 (en) Differential protection device and protection system for monitoring objects to be protected in a power supply network
CN102255720B (en) Real-time mass sampling data interaction core device
CN114336968B (en) Low-voltage power distribution system and data communication method thereof
KR101037368B1 (en) Apparatus and method for providing integrated data
CN113394879B (en) Topology identification system and method adopting single-phase intelligent household sensing device
Brunner et al. Smarter time sync: Applying the IEEE PC37. 238 standard to power system applications
Apostolov IEC 61850 distributed analog values applications in substation automation systems
Dong et al. Communication infrastructure for emerging transmission-level smart grid applications
Jamil et al. Digital Substations with the IEC 61850 Standard
CN106911416B (en) Intelligent distribution network failure detector based on Packet Transport Network and wireless network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130911

CF01 Termination of patent right due to non-payment of annual fee