CN1123492A - Master/slave structure system for power network communication - Google Patents

Master/slave structure system for power network communication Download PDF

Info

Publication number
CN1123492A
CN1123492A CN 94118272 CN94118272A CN1123492A CN 1123492 A CN1123492 A CN 1123492A CN 94118272 CN94118272 CN 94118272 CN 94118272 A CN94118272 A CN 94118272A CN 1123492 A CN1123492 A CN 1123492A
Authority
CN
China
Prior art keywords
slave
interface
circuit
data
main frame
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
CN 94118272
Other languages
Chinese (zh)
Other versions
CN1053540C (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN94118272A priority Critical patent/CN1053540C/en
Publication of CN1123492A publication Critical patent/CN1123492A/en
Application granted granted Critical
Publication of CN1053540C publication Critical patent/CN1053540C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The host comprises power line modem, controllable crystal oscillator, receiver/transmitter control circuit, parity check circuit and interface. The slave comprises power line modem, controllable crystal oscillator, answer signal circuit, parity generation circuit and interface. All the application systems in the local power network use a common frequency and use address codes to guarantee their classification. After connecting various periphery circuits, it can be used for meter reading, alarm and calling for help systems.

Description

A kind of master/slave structure system of power network communication
The present invention relates to a kind of communication system of utilizing power line electrical network transmission measurement data and alarm signal.
The power supply grid circuit is used to provide electric power, and it is routed to the every nook and cranny of electricity consumption, constitutes huge communication network resource.Because there is the serious disturbance signal in power line, and the inapplicable communication medium of doing.Yet various family expenses or industrial measuring equipment, instrument, or be installed on the electrical network, or be separated by very close with electrical network.Many in addition alarm remote inspections can not realize because laying special circuit cost is high or difficulty is big.The demand communication network can not utilize network again on the one hand on the one hand, causes the wasting of resources.Power line carrier, PLC is existing a lot of to be explored, and at some special purposes, checks meter appliance room inner control, existing corresponding patent thought and product design as family expenses ammeter, gas meter, water meter.
Chinese patent 909223666.0 (electricity, water, coal gas auto monitoring and measurement meter copying device), its design is that the instrument measurement data are constituted the monitoring meter reading device by Fibre Optical Sensor and single chip computer device, by 220V, the 380V power line passes to central computer with the data of single-chip microcomputer collection again.
Chinese patent 92110485.5 (ammeter, water meter, gas meter automatic data acquisition system (ADAS)), its design is the counting source of user terminal setting corresponding to ammeter, water meter, gas meter, each counting source is by the switch setting, the control counting source sends the counting source data by data wire to the data transmit circuit of user terminal device, when center station host sends when instruction by power line to the user terminal device, after terminal organ decoding, postback data to main frame, simultaneously to the counting source zero clearing.
Above-mentioned prior art is all used cover system admission measurement data, mails to the computer of central station; With terminal organ management three tables, complex structure, and the table kind can not be expanded to more than 3 kinds; The necessary disposable admission of the data of three kinds of tables can not be checked meter to different classes of data timesharing, and then time-shared charge, otherwise need set up special classification decoding function.Back one patent promptly to the counting source zero clearing, can not be guaranteed the correct reception of central station after data are sent; Here do not take measures to ensure the data sync of asynchronous communication.Install in addition and have united and coordinating in the different inter-sectional management, the actuality problem of operation is arranged.With power line transmission meter reading data or calling for help, alert detecting, must be accurately, reliable.User's three tables are metering user power consumptions, and loading error occurring meaning country, individual suffer economic loss, also influence department's reputation.
The objective of the invention is to avoid the deficiency of above-mentioned prior art, propose that a kind of what utilize power network transmission data is the system of core with master/slave structure.Can realize: thousands of slaves of a main frame band are managed a kind of table of thousands of users, can hold the table that the dozens of main frame is tens of kinds simultaneously on the net; Perhaps calling for help, the warning of thousands of main frames of a slave reception also can be held tens of kinds of callings for help, report to the police.Accomplish in a partial electric grid (a power transformer powered lighting scope), the purposes of checking meter system and warning purposes system exist simultaneously, each kind is checked meter, and each kind is called for help, reporting to the police has independent particle system of one's own, easily installation, easily coordination, easy care, extendible at any time.Do not disturb between each system, chaotic, overlapping, and guarantee that data sending and receiving both sides are harmonious, data are accurate, avoid causing country or individual's economic loss.
Purpose of the present invention can reach by following measure:
This system core be the unit circuit simple, can be with one-to-multiple main frame/slave structure.Main frame is without computer or single-chip microcomputer.Follow fixing communication control procedure between master/slave: main frame is set up data sync with synchronous head and slave, three address lookup target slaves, in the net unique target slave send reply, data and check code, through host acknowledgement and record data, while notification target slave, whether the decision of target slave keeps former record data.This core texture accomplishes both to abide by versatility for the different peripheral interface of two type purposes configuration, adapts to diversity again.The shared carrier frequency of network.
The main frame core texture is by electric power modem (PLM), controllable crystal oscillator, and signal gating, a receipts/control, sample circuit, odd even detection, data output interface, startup interface, several parts of address code interface constitute.Wherein PLM is connected to receipts/send out control, receives/send out the control formation control loop that links to each other with controllable crystal oscillator; PLM is connected to signal gating, the address code interface constitutes the signal output loop; PLM is connected to sample circuit, sample circuit one end is connected to odd even and detects, and the other end is connected to the data outgoing interface and constitutes the signal input circuit.
The slave core texture is made up of PLM, controllable crystal oscillator, answer signal, a receipts/control, sample circuit, startup interface, address code, numbers match circuit, data output interface, odd even generation, Data Input Interface, synchronous head differentiation.Wherein PLM is connected to the synchronous head differentiation, and the synchronous head differentiation is connected to controllable crystal oscillator, and controllable crystal oscillator is connected to and starts interface, receipts/send out control, and a receipts/control other end is linked PLM and constituted control loop; PLM links answer signal, Data Input Interface, Data Input Interface and links odd even and produce and constitute the signal output loop; PLM links that sample circuit, sample circuit are linked numbers match, the numbers match other end is linked address code, and the numbers match other end is linked data output and constituted the signal input circuit.
The course of work of master/slave structure is described below: the master/slave structure applications of checking meter with regard to different system applies:
Timing circuit, address code scanning circuit, data storage circuitry are set up in the main frame periphery.In the moment that timer setting table class is checked meter, crystal oscillator provides clock in static idle condition (when promptly not checking meter) to timer, and PLM is in accepting state, and main frame is not worked.Timer is to main frame output clock source when checking meter.PLM accepts to receive/control, the high level emission.Enter emission state, signal gating output synchronous head signal, address scan circuit triplicate are received/are sent out control and reduce to low level by address code interface OPADD sign indicating number, and PLM enters accepting state.Synchronous head is the marking signal that slave receives synchronously, and three times address code is guaranteed number identification, prevents to miscopy user number.
The slave peripheral circuit is set up timer, data record counting device.PLM, timer and receipts/send out controlled function, idle condition is all as main frame.When entering, timer checks meter constantly slave work.Decision circuit differentiates whether reception is synchronous head or circuit noise synchronously, and controlled crystal oscillator provides clock, and sample circuit is taken a sample three times to data in the 3rd, 5,7 bats of 16 frequencys multiplication of circuit clock, and the 8th claps output circuit clock signal C K 1, three times address code three is got two couplings.If success triggers receiving/sends out control and gives the output high level, PLM launches response header.Data record counting device sends the parity bit of data and odd even generation to main frame.Main frame detects replys, and carries out strange/even parity check, postbacks during affirmation to confirm order and in the unit records data.After slave is received and is confirmed order, the recording counter content that clears data immediately, otherwise keep it.If main frame is confiscated response header, record trouble in memory cell then.Guarantee that main frame can not write down the misinformation data.The master/slave application of calling for help, reporting to the police:
Set up alarm signal and address code interface in the main frame peripheral circuit, connect various safe, defendances and call device or transducer as required.After receiving the alarm sensor signal, launch said process.Slave is set up alarm.After the high-order coupling of address code, confirm as this kind calamity forecast after, Low Level Code entered by data output interface warning device is concurrent to send the warning pulse.Alarm apparatus can be siren, buzzing, voice and indicator light according to needs.And can reach special safe, supervision and defendance mechanism by special line.
There is unified geocoding in online system, and form is:
Figure A9411827200071
Perhaps:
Figure A9411827200072
Kind sign indicating number (m-p position or 0-m position) can be distributed to various need and make a copy of the subscriber's meter of data or calling for help, warning.User code (0-m position or m-p position) is distributed to the individual who uses this system.Therefore each user of every kind of application has unique number.
The present invention has following advantage compared to existing technology:
Master/slave machine core texture is simple, can be from construction system without microcomputer or single-chip microcomputer.Formulate fixing simple and practical communication control procedure and can guarantee small data quantity but the transport communication needs of high reliability.This structure highly versatile suitable is made standard component and application-specific integrated circuit (ASIC) (ASIC), carries out in enormous quantities, low cost and promote the wider application.Plasticity is good, and extensibility is strong, and different application only need be set up minimum periphery configuration.Adopt address code to guarantee the unique and time-sharing work of classification, user number, each application subsystem that makes online coexistence is independent operating separately, does not disturb each other, not chaotic, not overlapping, guarantees that each subsystem monopolizes the use electrical network, thereby a shared frequency, make full use of frequency resource.Installation can be taken up in order of priority by regulatory requirement by system, increases at any time, and avoiding disputing over trifles between the every profession and trade department has current operability.It is correct to coordinate transceive data by communication control procedure, guarantees communication quality.Address code coupling three is got two and is guaranteed not fasten one person's story upon another person.
The drawing explanation of accompanying drawing:
Fig. 1. kilowatt meter reading-out system figure;
Fig. 2. warning system figure;
Fig. 3. main frame core and peripheral structure figure;
Fig. 4. slave core and peripheral structure figure.
Further describe below in conjunction with embodiment shown in the drawings:
Referring to Fig. 1, main frame band N (N can reach a 1024) individual slave " extension " is on power line.M main frame (M can reach 32) starts by setting different timers constantly, and also by timer while or leading the startup, non-this main frame band is in " static free time " state from a group of planes to slave that this main frame is with.Because address code is unique, only there is a target slave coupling to go up host query, reply and return data and parity bit, the concurrent affirmation order of host acknowledgement, slave zero clearing data record counting device at every turn.Any moment only is One-to-one communication on the line.The overall process of a main frame (inquiry) in this example → slave (response) → main frame (affirmation) → slave (zero clearing) only transmits 10 bytes.PLM speed is 1Kbits/s, promptly only needs 90 milliseconds, and 1,000 tables only need 90 seconds, and different classes of checking meter is set at the hourage magnitude at interval, unlikely cause interfere with each other, overlapping.If the variant that the every profession and trade coordinating and unifying can form among the figure is installed, promptly by all slaves of Host Administration.Main frame is to all scanning one by one from plane No., and the table of all kinds is satisfied in the also corresponding expansion of memory span.
Referring to Fig. 2, a slave is accepted the response of the individual slave of N (N can reach 1024), solves a kind of disaster and reports to the police.The individual slave of M (M can reach 32) can be installed on the electrical network.Any one main frame all is connected to a user's a kind of specific alarm sensor, as long as the signal of transducer is arranged, just with loCal number (sending for high six bit class sign indicating numbers and low ten user numbers in this example); The slave coupling is passed to siren (as siren, buzzer, language or indicator light) with alarm signal; Postback a response header (EFH) simultaneously, main frame receives that response header stops to report to the police.No matter what disaster (fire, gas leak, pilferage, disease burst) is few possibility incident, the overall process of a main frame (calling) in this example → slave (response) → main frame (stopping) only transmitting 8 bytes, thereby compole is short during busy line, can think fully that circuit is always idle available, not influence kilowatt meter reading-out system.The variant structure of a slave management all kinds alarm host machine is arranged equally, and unique change is that the Gao Liuwei that slave is called out with main frame comes the query call classification, so only do little change, just can save 31 slaves.
Referring to Fig. 3, the main frame core texture is by electric power modem (PLM) 1, controllable crystal oscillator 2, signal gating 3, receive/send out that control 4, sample circuit 5, odd even detect 6, data output interface 7, start interface 8, address code interface more than 9 parts constitute.
When periphery configuration timer circuit 11 with start interface 8 and link to each other, data storage 10 links to each other with data output interface 7, address scan circuit 13 links to each other with address code interface 9, just constitutes the main frame application of checking meter.When idle, PLM 1Be in accepting state, receive/send out control 4 output low levels, 2 supply timer 11 clocks of controllable crystal oscillator, and do not export to other parts.Checking meter starts main frames by timer 11, receives/sends out control 4 and become high level, constitutes the main frame application of checking meter.When idle, PLM 1Be in accepting state, receive/send out control 4 output low levels, 2 supply timer 11 clocks of controllable crystal oscillator, and do not export to other parts.Checking meter starts main frame by timer 11, receives/sends out control 4 and become high level, PLM 1Enter emission and prepare, controllable crystal oscillator 2 provides clock to all circuit of main frame, signal gating 3 output synchronous heads (FFH), and address scan circuit 13 is exported first from plane No., PLM continuous three times 1Recover accepting state by receiving/send out control 4 controls.When slave is beamed back response header (E 7H) and data, the main frame odd even detects 6 detection parities, confirms that back signal gating 3 postbacks to confirm order (F 3H), data output interface 7 is write this data to memory 10 first address locations simultaneously.If there is not target slave response, promptly the mechanical disorder of noting this user in addition at memory once.Each pulse of 5 pairs of inputs of sample circuit is taken a sample three times in the 3rd, 5,7 bats of 16 frequencys multiplication of clock.Address code increases 1 subsequently, starts interface 8 triggerings and enters next subscriber's meter, all scans one time until N user.If peripheral the setting with the interface of compunication of main frame linked special circuit, make industry be responsible for the data that read memory 21 by special line, can accomplish that the bed rearrangement city networks mutually.Perhaps charge to the user by bank.
Join with startup interface 8 when peripheral circuit disposes alarm source 22, address code 14 links to each other with address code interface 9.The signal enabling main frame of alarm source 22, main frame sends enquiry number.Difference is that slave postbacks response header (E 7H) after, main frame promptly quits work, otherwise will continuously call out to the extension set emission.
Referring to Fig. 4, the slave core texture is by PLM 1, controllable crystal oscillator 2, answer signal 15, a receipts/control 4, sample circuit 5, startup interface 8, address code 16, numbers match 17, data output interface 18, odd even generation 19, Data Input Interface 20, synchronous head differentiation 21 compositions.
When configuration timer 11 in periphery links to each other with startup interface 8, when user data recording counter 23 joins with Data Input Interface 20, constitutes the application of checking meter.When idle, PLM 1, receive/send out the same main frame of state of control 4, controllable crystal oscillator 2.Timer 11 starts slave when checking meter, and after receiving synchronous head (FFH), synchronous head is differentiated 21 and promptly started controllable crystal oscillator 2 to being provided clock from machine circuit, through numbers match 17, receives/send out control 4 output high level, PLM 1Battery such as enter, answer signal 15 output response header (E 7H), the value of Data Input Interface 20 input user data counters 23, odd even produces 19 and generates parity bit, sends to main frame.If receive host acknowledgement order (F 3H), with regard to zero clearing user data recording counter 23, otherwise data record counting device 23 still keeps user data.Guarantee reliable record.When peripheral circuit configuration alarm 22 links to each other with data output interface 18, start interface 8 and connect high potential, this moment, slave prepared to receive the alarm calls of main frame at any time.Receive the report for police service, then will hang down ten bit address and give siren 22 through data output interface 18, simultaneously to main frame emission response header, alarm 22 demonstrates the station address number of meeting accident simultaneously reporting to the police.
As mentioned above, this master/slave simple and reliable for structure, the unit circuit all can be made into application-specific integrated circuit (ASIC) (ASIC), does not need with just self-organizing system of computer or single-chip microcomputer.Can and need multiple variant by the condition of actual management, the mixing that every kind of application system can be carried out above-mentioned two kinds of representative instances is according to circumstances installed.Only need set up corresponding long range communication standard interface, receive other central computer station of branch, read the content of memory 10 and carry out the further processing of data or simply alarm signal 22 is transmitted formation complete application system by special circuit.

Claims (5)

1. the master/slave structure system of a power network communication, main, slave hangs on the power line, main frame comprises power line modem, data interface circuit, sample circuit etc., slave comprises power line modem, data interface circuit, coding-decoding circuit etc., it is characterized in that main frame also comprises controllable crystal oscillator [2], signal gating [3], receive/send out control [4], odd even testing circuit [6], start interface [8], address code interface [9] is formed with the peripheral circuit that is provided with according to different purposes, and slave also comprises controllable crystal oscillator [2], receive/send out control [4], answer signal [15], address code [16], numbers match [17], odd even produces circuit [19], synchronous head is differentiated [21] and the peripheral circuit that is provided with according to different purposes;
Modulator-demodulator [1] is connected to a receipts/control [4], a receipts/control [4] links to each other with controllable crystal oscillator [2] and constitutes the host computer control loop, modulator-demodulator [1] is connected to signal gating [3], address code interface [9] constitutes the host signal output loop, modulator-demodulator [1] is connected to sample circuit [5], sample circuit [5] one ends are connected to adventure testing circuit [6], and the other end is connected to data output interface [7] and constitutes the host signal input circuit;
Modulator-demodulator [1] one end is connected to synchronous head and differentiates [21], synchronous head is differentiated [21] and is connected to controllable crystal oscillator [2], controllable crystal oscillator [2] is connected to and starts interface [8], receive/send out control [4], receive/send out control [4] other end and be connected to modulator-demodulator [1] formation slave control loop, modulator-demodulator [1] other end is linked answer signal [15], Data Input Interface [20], Data Input Interface [20] is linked odd even and is produced [19] formation slave signal output loop, modulator-demodulator [1] is linked sample circuit [5], sample circuit [5] is linked numbers match [17], the other end is linked address [16], and numbers match [17] other end is linked data output interface [18] and constituted slave signal input circuit;
Master/slave machine all adopts same carrier frequency in each purposes, the address code Unified coding of this system, a high position or low level are distributed to the various identifications of checking meter, call for help, reporting to the police of difference, and a low level or a high position are user code, main frame produces synchronous head, and slave produces response header and inquires about, seeks.
2. the master/slave structure system of power network communication according to claim 1, it is characterized in that main frame peripheral circuit as the master/slave system of the purposes of checking meter also disposes timer [11] and start that interface [8] is connected, address code scanning circuit [13] is connected with address code interface [9], data storage circuitry [10] is connected with data output interface [7], the slave peripheral circuit disposes also that timer [11] is connected with startup interface [8], data record is counted device [23] and is connected with data output interface [7].
3. the master/slave structure system of power network communication according to claim 1 is characterized in that master/slave structure system peripheral circuit main frame as purposes such as warning, callings for help also disposes alarm source [12] and starts that interface [8] is connected, address code [14] is connected with address code interface [9], slave also disposes alarm [22] and is connected with data output interface [7].
4. the master/slave structure system of power network communication according to claim 2, the outer periphery that it is characterized in that main frame is equipped with the interface of compunication links special circuit, by computer network with all kinds of kilowatt meter reading-out system networked fee collections.
5. the master/slave structure system of power network communication according to claim 3 is characterized in that alarm is siren, buzzing, voice and demonstration, delivers to special safe, supervision and defendance mechanism by special circuit.
CN94118272A 1994-11-19 1994-11-19 Master/slave structure system for power network communication Expired - Fee Related CN1053540C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN94118272A CN1053540C (en) 1994-11-19 1994-11-19 Master/slave structure system for power network communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN94118272A CN1053540C (en) 1994-11-19 1994-11-19 Master/slave structure system for power network communication

Publications (2)

Publication Number Publication Date
CN1123492A true CN1123492A (en) 1996-05-29
CN1053540C CN1053540C (en) 2000-06-14

Family

ID=5038730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN94118272A Expired - Fee Related CN1053540C (en) 1994-11-19 1994-11-19 Master/slave structure system for power network communication

Country Status (1)

Country Link
CN (1) CN1053540C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401329C (en) * 2003-12-04 2008-07-09 广州大学 Method for controlling electric/electrical appliance using power line communication mode
CN103777070A (en) * 2012-10-26 2014-05-07 苏州工业园区新宏博通讯科技有限公司 Rack-type electricity meter possessing I2C bus competitive mechanism

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2165575Y (en) * 1993-04-29 1994-05-18 大庆石油管理局供电公司 Acquisition transmitter for monitoring wave carrier machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401329C (en) * 2003-12-04 2008-07-09 广州大学 Method for controlling electric/electrical appliance using power line communication mode
CN103777070A (en) * 2012-10-26 2014-05-07 苏州工业园区新宏博通讯科技有限公司 Rack-type electricity meter possessing I2C bus competitive mechanism
CN103777070B (en) * 2012-10-26 2016-08-03 苏州新宏博智能科技股份有限公司 The communication means of the rack ammeter of tool I2C bus contention mechanism

Also Published As

Publication number Publication date
CN1053540C (en) 2000-06-14

Similar Documents

Publication Publication Date Title
CN108234614B (en) Interaction method based on custom protocol and Netty framework
USRE35793E (en) Measuring and monitoring system
US4135181A (en) Automatic remote meter reading and control system
CN108615325A (en) A kind of Wireless Networking type fire alarm system and method
CN102468984A (en) Method and system for testing electricity consumption information acquisition system, and master station
CN206804836U (en) Monitored System of Industrial Storage Cell
CN109617628A (en) A kind of multiple-in-one acquisition equipment multifunctional detecting device and method
CN104535953B (en) A kind of intelligent electric energy meter liquid crystal display automatic checkout system and its detection method
CN102468986A (en) Test method and system for electricity consumption information collection system, and main station
CN101726662B (en) Method and system for acquiring energy measurement data
CN1053540C (en) Master/slave structure system for power network communication
CN106921753A (en) A kind of distributed gas monitoring system based on artificial intelligence
CN205847321U (en) A kind of information transmitting terminal based on Linux system
KR20020004248A (en) a system of an alarm of a fire to simplify the line between a fire detecting device and a controller
CN113359681A (en) High-reliability monitoring system suitable for scales of more than ten thousand points
CN111429690A (en) Centralized management system for security monitoring equipment
JP3572752B2 (en) Communication monitoring device
CN219678619U (en) Remote monitoring device for steam engine
CN218824433U (en) Testing device
CN110864728A (en) System and method for testing metering data acquisition terminal
CN213424198U (en) Safe meter reading based on NB-IoT communication technology
CN108961716A (en) A kind of wireless kilowatt meter reading-out system based on ZigBee
CN217427767U (en) Intelligent positioning device for distribution network equipment
FI84213B (en) FJAERROEVERVAKNINGSSYSTEM.
CN216291296U (en) Gas centralized data acquisition system

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
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee