CN107612591A - A kind of wideband power is registered one's residence terminal system - Google Patents

A kind of wideband power is registered one's residence terminal system Download PDF

Info

Publication number
CN107612591A
CN107612591A CN201710682284.0A CN201710682284A CN107612591A CN 107612591 A CN107612591 A CN 107612591A CN 201710682284 A CN201710682284 A CN 201710682284A CN 107612591 A CN107612591 A CN 107612591A
Authority
CN
China
Prior art keywords
module
power
pin
data
master control
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.)
Pending
Application number
CN201710682284.0A
Other languages
Chinese (zh)
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.)
Guangxi University
Original Assignee
Guangxi University
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 Guangxi University filed Critical Guangxi University
Priority to CN201710682284.0A priority Critical patent/CN107612591A/en
Publication of CN107612591A publication Critical patent/CN107612591A/en
Pending legal-status Critical Current

Links

Landscapes

  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

Register one's residence terminal system the invention provides a kind of wideband power, be made up of intelligent electric meter, power transfer module, switch module, master control plate module, Homeplug module and line related.By this terminal system, grid company can remotely obtain the electric power thus supplied of the details, when necessary remote controlled user of user power utilization.Meanwhile the Internet broadband network signal is also modulated on power line by terminal system of the present invention by switch module and Homeplug module, user need not be additionally carried out network design can be by original power line communicationses.Therefore, the present invention has gathered the advantages of intelligent power grid technology and Technology of Power Line Communication, realizes the dual-use function that can be surfed the Net with meter reading only by a box, reduces the complexity of network layout, improves the convenience of user, while also reduces cost.

Description

A kind of wideband power is registered one's residence terminal system
Technical field
The present invention relates to a kind of intelligent terminal system, specifically a kind of wideband power is registered one's residence terminal system, is belonged to communication and is set Standby technical field.
Background technology
With the development of society, almost every household has all accessed internet, and the equipment of each family online at present Often more than one, as desktop computer needs to surf the Net, smart mobile phone needs to surf the Net, and intelligent television needs to surf the Net, not far Future, family can enter the Internet of things era, and then refrigerator, air-conditioning, television set are also required for accessing internet.If these Netting twine is dependent on during equipment networking, configuration can be caused in disorder, if networked using wireless router, there can be letter again The problems such as number unstable, serious interference.Due to largely needing the equipment networked all to be powered by power line, if utilized The network signal registered one's residence is modulated in the power line of registering one's residence of family by power line carrier technology, all smart machines in such family Both can be powered by power line, can also be by power line communicationses, so as to solve problem above well.
Meanwhile at the beginning of 21 century, the concept of intelligent grid is it is also proposed in terms of power network.Traditional power system monitor needs to rely on Substantial amounts of manpower progress ammeter's reading meter, equipment inspection, circuit lead to the operations such as short control, and its operational efficiency is low, Frequent Troubles, people Power cost is high.Therefore related intelligent power grid technology is needed badly on the market to substitute manpower, utilizes intelligent power grid technology, you can is realized The multiple functions such as remote meter reading, remote failure detection, remote failure isolation, remote control.
The content of the invention
Registered one's residence terminal system it is an object of the invention to provide a kind of wideband power, it is realizing intelligent grid basic function Simultaneously, additionally it is possible to if the network signal registered one's residence is modulated in the electric power output bus of family, make all intelligence in user family Energy equipment need not be additionally carried out network design, you can realize stable online using original power line.
The concrete technical scheme of the present invention is as follows:
A kind of wideband power is registered one's residence terminal system, by intelligent electric meter, power transfer module, switch module, master control plate module, electricity Power cat module and line related composition.
The intelligent electric meter is provided with the input interface and output interface and RS485 interfaces of live wire and zero line, intelligent electric meter RS485 interfaces be connected by RS485 buses with master control plate module to carry out bidirectional data exchange;Intelligent electric meter measures in real time And electricity reading is shown, the instruction of master control plate module is received by RS485 buses and electricity reading is uploaded to master control plate module.
It is defeated with the live wire of intelligent electric meter and zero line respectively that the input of the power transfer module is provided with live wire and zero line Outgoing interface is connected, and the output end of power transfer module connects master control plate module and switch module and powered for it respectively.
The switch module is built using 3 mouthfuls of gigabit switch modules, and it has 3 10/100/ The adaptive RJ45 ports of 1000Mbps, wherein first RJ45 ports connection external network, realizes external network service work( Energy;Second RJ45 port connects Homeplug module, external network is changed by Homeplug module, by the channel of online It is transferred on power line;3rd RJ45 port connects master control plate module, and external network passes through master control plate module and intelligent electric meter Realize that bi-directional data information exchanges.
The Homeplug module is built using conventional electric power cat internal module, the live wire of Homeplug module and zero line Interface is respectively equipped with live wire and zero line is connected to the live wire of intelligent electric meter and the output interface of zero line, the RJ45 of Homeplug module Port is connected provided with netting twine with second RJ45 port of switch module;Homeplug module will be transmitted from switch module The external network signal modulation to come over to interior power line on.
The master control plate module is integrated with ethernet module, power supply interface module, indicating lamp module, MCU module;Ethernet Module uses USR-TCP232-E2 embedded ethernet modules, and it has been internally integrated WEB server function, its network interface end The 3rd RJ45 port provided with netting twine connection switch module, its signal end are connected to MCU module;Power supply interface module is held The power supply of power transfer module is connect, and then is converted into multiple voltage interface and is powered for master control plate module;Indicating lamp module is set There are 2 relay indicating lights and one group of colorful indicator lamp, indicating lamp module is connected with MCU module and by relay indicating light to whole The working condition of master control plate module is indicated;MCU module is made up of STM32 family chips and peripheral circuit, and it is as whole The main control part of master control plate module, it is provided with RS485 interfaces and is connected by RS485 buses with the RS485 interfaces of intelligent electric meter Connect.
The intelligent electric meter can use the DDS862 single-phase electronic energy meters of Samsung intelligence company;The Homeplug module The TP-LINK PA500 Homeplug internal modules disassembled can be used to be built.
Intelligent electric meter, power transfer module, switch module, master control plate module, the Homeplug mould of terminal system of the present invention Block encapsulates input and output interface, the interchanger mould for integrally, externally leaving the live wire and zero line of intelligent electric meter with plastic casing The indicator lamp of first RJ45 port of block, the electricity reading part of intelligent electric meter and the indicating lamp module of master control plate module is from shell Revealed in housing.
This wideband power registers one's residence terminal system when in use, by its intelligent electric meter live wire and input and the output interface of zero line In live wire and zero line that corresponding series connection access family registers one's residence, by the switch module of the netting twine access terminal system of external network the External network is accessed in one RJ45 port.Grid company is by external network through switch module and master control borad module accesses intelligence Ammeter, by this method, grid company can remote real-time monitoring user specific electricity consumption data information, while grid company Control information can be sent to terminal system from company by external network, control information enters master control borad through switch module Module, master control plate module control intelligent electric meter after the operation such as data processing, protocol analysis.So when subscriber arrearage or During user power utilization exception, grid company can remotely cut off the power supply of user when necessary.In addition, home-use the Internet broadband can It is modulated to by external network through switch module and Homeplug module in the power line of registering one's residence of family, all intelligence in such family Equipment can pass through power line communicationses.
The wideband power of the present invention registers one's residence terminal system by intelligent electric meter, power transfer module, switch module, master control borad Module, Homeplug module and line related composition.By this terminal system, grid company can remotely obtain the detailed of user power utilization The electric power thus supplied of information, when necessary remote controlled user.Meanwhile terminal system of the present invention also believes the Internet broadband network Number it is modulated to by switch module and Homeplug module on power line, user, which need not be additionally carried out network design, to be passed through Original power line communicationses.Therefore, the present invention has gathered the advantages of intelligent power grid technology and Technology of Power Line Communication, realizes only The dual-use function that can be only surfed the Net with meter reading by a box, the complexity of network layout is reduced, improve user just Profit, while also reduce cost.
Brief description of the drawings
The wideband power that Fig. 1 is the present invention is registered one's residence the hardware composition schematic diagram of terminal system.
Fig. 2 is the byte format of the communication protocol of master control plate module and intelligent electric meter.
Fig. 3 is the frame format of the communication protocol of master control plate module and intelligent electric meter.
Fig. 4 is the comprising modules figure of power transfer module.
Fig. 5 is the circuit diagram of the MCU module of master control plate module.
Fig. 6 is the RS485 interface conversion circuit figures of MCU module.
Fig. 7 is MCU module and the interface circuit figure of ethernet module.
Fig. 8 is the core circuit connection figure of the ethernet module of master control plate module.
Fig. 9 is the circuit diagram of the power supply interface module of master control plate module.
Figure 10 is the circuit diagram of the indicating lamp module relay indicating light of master control plate module.
Figure 11 is the up workflow diagram of master control plate module control data.
Figure 12 is master control plate module control data downlink working flow chart.
Embodiment
The present invention is described further below in conjunction with the accompanying drawings.
As shown in figure 1, this wideband power is registered one's residence, terminal system is by intelligent electric meter, power transfer module, switch module, master Control plate module, Homeplug module and line related composition.
The intelligent electric meter uses the DDS862 single-phase electronic energy meters of Samsung intelligence company, and intelligent electric meter is provided with live wire With the input interface and output interface and RS485 interfaces of zero line, the RS485 interfaces of intelligent electric meter pass through RS485 buses and master Control plate module is connected to carry out bidirectional data exchange.Intelligent electric meter measures and shows electricity reading in real time, passes through RS485 buses Receive the instruction of master control plate module and electricity reading is uploaded to master control plate module.The communication rule of master control plate module and intelligent electric meter About set as follows:
1), byte format
Contain 8 binary codes per byte, add a start bit during transmission(0), even parity bit and a stop position(1), Totally 11.It transmits sequence as shown in Fig. 2 D0 is the least significant bit of byte, and D7 is the highest significant position of byte, is first passed Low level, it is rear to pass a high position.
2), frame format
Frame format is as shown in Figure 3.Check code part in frame format generates according to following algorithm:
(1)By the data of start-of-frame until the total data in frame data domain is arranged according to the binary sequence of 0 and 1, The a lot of sequence being made up of 0 and 1 is formed, is designated as K;
(2)Following groups number is set:a、1011;b、1001 10;c、1101 0011;d、1101 0011 10;f、1011 1111 1101 ;g、1011 1110 0011 0101;
(3)Arbitrary sequence in sequence K and a to f is subjected to XOR, which specifically chosen sequence is according to practical communication speed Rate, the tolerance to mistake are determined, and 8bit parity check bit is then added in operation result, by whole total need Want sequence to be put into check bit and be used as overall verification data.
3), frame format data field part
In order to further increase the fault-tolerance of data, allow wrong data to be easier to be found, at the end of frame format data field, add Add a numeral, this numeral is all digital sums of data field.Because the data variation of intelligent electric meter will not in short time energy It is very big, but if when running into the strong jammings such as thunderbolt, large-size machine startup, signal line often expires inclined or zero setting, this When partly or wholly data conversion it is very big, in server end, we judge this by carrying out derivation to this numeral The ride comfort of derivative, you can find whether the numeral of whole frame is reliable, so as to which not reliable data be abandoned.
In this digital calculating process, in order to reduce the time complexity that data field part is handled in frame format, subtract Few influence of the Local treatment to whole frame format, computational methods are:N number of adder unit of MCU module in master control plate module is called, Each adder unit is only added two numbers, then exports the sum of the two numbers, recalls N/2 adder unit, will be foregoing Numeral and be added with two for one group, output and, and then recall N/4 adder unit, repetition above step, finally Draw a numeral and.When the data volume in frame format data field is bigger, the delay of its Local treatment will not be significantly increased.
It is defeated with the live wire of intelligent electric meter and zero line respectively that the input of the power transfer module is provided with live wire and zero line Outgoing interface is connected, and the output end of power transfer module connects master control plate module and switch module and powered for it respectively.Enter one Step, as shown in figure 4, the power transfer module includes current transformer, isolator, bridge rectifier, wave filter, voltage stabilizing Pipe, charging-discharging controller, energy-storage battery;Current transformer is hung on power line, is taken using the principle of electromagnetic induction from power line Electricity;Isolator is connected to current transformer, further completely cuts off forceful electric power interference, ensures safety;Rectifier is connected to isolator, real Existing AC-DC conversion;Wave filter is connected to bridge rectifier, for eliminating the interference of the higher hamonic wave of bridge rectifier;Voltage-stabiliser tube connects Wave filter is connected to, for providing burning voltage to equipment;Charging-discharging controller is connected to voltage-stabiliser tube, and the voltage of voltage-stabiliser tube is passed through 12V power supplys are outwards further exported from output end after filtering and voltage stabilizing processing, while charging-discharging controller is returned energy-storage battery and entered Row charging, when outside has a power failure, charging-discharging controller, which will switch to, to be provided electric energy by energy-storage battery and outwards exports 12V power supplys, with Ensure the power supply of master control plate module and switch module.
The switch module is built using 3 mouthfuls of gigabit switch modules, and it has 3 10/100/ The adaptive RJ45 ports of 1000Mbps, wherein first RJ45 ports connection external network, realizes external network service work( Energy;Second RJ45 port connects Homeplug module, external network is changed by Homeplug module, by the channel of online It is transferred on power line, all smart machines in such family can pass through power line communicationses;3rd RJ45 ports connection Master control plate module, external network is realized that bi-directional data information exchanges with intelligent electric meter by master control plate module, pass through this side Method, grid company can monitor the specific electricity consumption data information of user in real time.Meanwhile grid company can also pass through outside from company Network sends control information to terminal system, and control information enters master control plate module, master control plate module warp through switch module After the operation such as data processing, protocol analysis, and then control intelligent ammeter module.So when subscriber arrearage or user power utilization are abnormal When, grid company can remotely cut off the power supply of user when necessary.
The Homeplug module is built using the TP-LINK PA500 Homeplug internal modules disassembled, Homeplug mould The live wire of block and the interface of zero line are respectively equipped with live wire and zero line is connected to the live wire of intelligent electric meter and the output interface of zero line, electricity The RJ45 ports of power cat module are connected provided with netting twine with second RJ45 port of switch module.Homeplug module will be from The external network signal modulation that switch module transmits to interior power line on, such user can be by power line Net, surfed the Net by power outlet, eliminate troublesome network layout, also solved using wireless router jitter, done Disturb the problem of serious.
The master control plate module is integrated with ethernet module, power supply interface module, indicating lamp module, MCU module.It is described MCU module is made up of STM32F103 chips and peripheral circuit, its main control part as whole master control plate module;Such as Fig. 5 institutes Show, sent after 68,69 pin difference series resistor R3, R41 of STM32F103 chips respectively as signal receiving end RXD and signal TXD is held, 12 and 13 pin of STM32F103 chips connect outer clock circuit, and 14 pin connect reset circuit;VDD3.3V termination inductance L1 One end, inductance L1 another termination capacitor C3 and C4 one end, electric capacity C3 and C4 the other end ground connection, the inductance L1 other end 22 pin into STM32F103 chips are terminated as VDDA;VDD5V ends are converted to standard 3.3V power supplys through REF3133 chips, then go here and there 21 pin for inputting STM32F103 chips after connecting resistance R12 are also gone here and there respectively as benchmark positive voltage VREF+ ends, resistance R12 both ends Meet electric capacity C9, C10 and be followed by PGND ends;50,75,100,28,11 pin of STM32F103 chips connect VDD3.3V ends, VDD3.3V ends Connect electric capacity C13~C20 one end, electric capacity C13~C20 other end ground connection;The MCU module is provided with RS485 EBIs simultaneously It is connected by RS485 buses with the RS485 interfaces of intelligent electric meter, as shown in fig. 6, the 47 of STM32F103 chips, 48 pin are distinguished 4 pin and 1 pin of RS485 interface communication chip MAX485 chips, 52 pin of STM32F103 chips are accessed after series resistor R6, R40 2,3 pin of MAX485 chips are connect, 8 pin of MAX485 chips connect VDD5V ends, 5 pin ground connection, and 7 pin and 6 pin connect RS485 conversions respectively Joint J1 1 pin and 2 pin, resistance R2 is also associated between 7 pin and 6 pin of MAX485 chips;The MCU module is also by super Network interface USR-K3 is connected with ethernet module, as shown in fig. 7, the signal receiving end RXD and signal of STM32F103 chips are sent End TXD connects super network interface USR-K3 8 pin and 9 pin respectively.
The ethernet module uses USR-TCP232-E2 embedded ethernet modules, and it is used for the data of MCU module Carry out protocol conversion, data extraction, data are packed and uploaded onto the server, be also integrated with WEB server function inside it.Pass through This module, domestic consumer can input the address of WEB server on the computer browser in own home, can so pass through Computer see intelligent electric meter all information and grid company passback information, including power consumption, remaining electric charge, electric power, Active power, reactive power, quality of power supply situation, harmonic wave situation etc..The network interface end of the ethernet module is provided with netting twine The 3rd RJ45 port of switch module is connected, its signal end is connected to MCU module, and it has been internally integrated TCP/IP agreements Stack, TCP network packets or UDP message bag can be realized transparent transmission with TTL serial datas using this module, its core Circuit connection diagram is as depicted in figure 8.
The power supply interface module accepts the power supply of power transfer module, and then is converted into the multiple voltages such as 5V, 3.3V and connects Mouth is powered for master control plate module, and the circuit diagram of power supply interface module is as shown in figure 9, what power transfer module transmitted 12V power supplys form input power VIN ends after fuse FUSE1, and input power VIN ends are through adjustable voltage stabilizing chip LM2596-ADJ VCC6.5V ends are formed after chip regulation;VCC6.5V ends form VDD3.3V after voltage stabilizing chip REG1117-3.3 chip voltages End;VCC6.5V ends form VDD5V ends after adjustable voltage stabilizing chip LP3856-ADJ chips regulation;VDD5V ends connect resistance R26 one end, it is grounded after resistance R26 other end series resistor R28, the resistance R26 other end also connects as output 18 pin AD_DCIN ends of STM32F103 chips;VCC6.5V terminates one end and two of TR5V L-S-Z relay RELAY1 coils Level pipe D2 negative pole, the other end of relay RELAY1 coils and diode D2 positive pole connect NPN triode Q3 collection jointly Electrode, triode Q3 emitting stage ground connection, base stage connecting resistance R25 and R27 one end, resistance R25 another termination STM32F103 15 pin JD_5V ends of chip, resistance R27 other end ground connection, relay RELAY1 movable contact connect VDD5V ends, relay Form outwards output VCC5V ends after RELAY1 normally opened stationary contact series resistor R21, must ensure to input STM32F103 during use The voltage at 18 pin AD_DCIN ends of chip, it can just make the voltage-drop loading at 15 pin JD_5V ends of STM32F103 chips to triode Q3 base stage, turn on triode Q3, relay RELAY1 coils obtain electric adhesive, and relay RELAY1 movable contact connection is normally opened Stationary contact, VDD5V ends power to VCC5V ends and outwards exported.
The indicating lamp module is provided with 2 relay indicating lights and one group of colorful indicator lamp, indicating lamp module and MCU module phase Connect and the working condition of whole master control plate module is indicated by relay indicating light, relay indicating light part such as Figure 10 institutes Show, VDD5V ends series resistor R13 is followed by indicator lamp Fault positive pole, and indicator lamp Fault negative pole connects the collection of NPN triode Q1 Electrode, accesses triode Q1 base stage after 31 pin series resistor R18 of STM32F103 chips, triode Q1 grounded emitter, If operation irregularity, lighted by MCU module control indicator lamp Fault;VDD5V ends series resistor R14 is being followed by indicator lamp Run just Pole, indicator lamp Run negative pole connect NPN triode Q2 colelctor electrode, accessed after 32 pin series resistor R19 of STM32F103 chips Triode Q2 base stage, triode Q2 grounded emitter, if working properly, lighted by MCU module control indicator lamp Run.
As is illustrated by figs. 11 and 12, the control workflow of the master control plate module includes data uplink and data downstream two Individual part, it is specific as follows:
(1)Data uplink workflow
a)Electricity, initialization in each module;
b)MCU module checks that intelligent ammeter module, power transfer module, switch module, Homeplug module, ethernet module are It is no normal, if it find that abnormal, indicating lamp module instruction failure;
c)MCU module reads the data message of intelligent electric meter by RS485 interfaces, data message includes but be not limited to power consumption, Dump energy, active power, reactive power, harmonic wave situation, the information of the quality of power supply, if it find that abnormal, indicating lamp module refers to Show failure;
d)MCU module carries out obtained data message according to the form of master control plate module and the communication protocol of intelligent electric meter whole Close, and add check code, then be uploaded to ethernet module, power network public affairs are upload the data to through switch module by ethernet module The WEB server that department's server and ethernet module are internally pointed to;
e)Grid company can read the user power utilization information that intelligent electric meter gathers, while user by grid company Server remote WEB server address can be inputted in a browser by computer, the user power utilization information of intelligent electric meter collection is checked from webpage.
(2)Data downstream workflow
a)Electricity, initialization in each module;
b)MCU module checks that intelligent ammeter module, power transfer module, switch module, Homeplug module, ethernet module are It is no normal, if it find that abnormal, indicating lamp module instruction failure;
c)The IP address of interception data and corresponding port numbers are set in MCU module;
d)Grid company server sends director data and is passed to ethernet module by interchanger, then by ethernet module by data MCU module is sent to, the data to be intercepted of MCU module control, if running into the data for needing to intercept, is parsed, analyzes it Control instruction, and transmit in the WEB server being internally pointed to intelligent electric meter and ethernet module, as MCU module is detectd for a long time It can't hear data, indicating lamp module instruction failure;
e)MCU module is transmitted control instruction to intelligent electric meter by RS485 interfaces, and intelligent electric meter performs control instruction, such as disconnected Electricity etc.;User can input WEB server address in a browser by computer, and the information that grid company transmits is checked from webpage, Such as electricity price change situation.
In the step e of data downstream workflow)In, grid company that MCU module receives always according to ethernet module The information sent is analyzed, and same data message is sent in WEB server, and user is seen accordingly by computer browser Information, and several data reference values are inputted by browser, MCU module by the reference value that user inputs stored and with electricity The data that net company sends are compared, and calculate the size of deviation, and MCU module controls indicator lamp mould according to the size of deviation value The colorful indicator lamp of block is indicated with different colors, while be will deviate from value transmission and allowed user to see to WEB server.Example Such as:User can see the electricity price information that grid company is sent, and the ginseng of the several electricity prices of sets itself by computer browser Value is examined, MCU module can calculate the size of deviation, MCU module by the electricity price that grid company is issued compared with reference to electricity price The colorful indicator lamp for controlling indicating lamp module according to the size of deviation value is indicated with different colors, while will deviate from value hair Delivering in WEB server allows user to see.User can be so allowed to be visually known the electricity of electricity price and in-mind anticipation instantly Valency situation, so as to carry out rational utilization of electricity.And then grid company can be adjusted according to power load situation to electricity price.Pass through this Individual setting, user can recognize the situation of change of electricity price much sooner, the electricity consumption situation of flexible modulation itself, can save The electricity charge, and can coordinate grid company to carry out load adjustment in time.
Above-mentioned legend be only the present invention exemplary embodiments, be not intended to limit the invention, it is all the present invention spirit and Any modification made within principle or equivalent substitution and improvement etc., should be included in the scope of the protection.

Claims (8)

  1. The terminal system 1. a kind of wideband power is registered one's residence, it is characterized in that:By intelligent electric meter, power transfer module, switch module, master Control plate module, Homeplug module and line related composition;
    The intelligent electric meter is provided with the input interface and output interface and RS485 interfaces of live wire and zero line, intelligent electric meter RS485 interfaces are connected to carry out bidirectional data exchange by RS485 buses with master control plate module;Intelligent electric meter measurement in real time is simultaneously Electricity reading is shown, the instruction of master control plate module is received by RS485 buses and electricity reading is uploaded to master control plate module;
    The input of the power transfer module connects provided with the output of live wire and zero line respectively with the live wire and zero line of intelligent electric meter Mouth is connected, and the output end of power transfer module connects master control plate module and switch module and powered for it respectively;
    The switch module is built using 3 mouthfuls of gigabit switch modules, and it has 3 10/100/1000Mbps Adaptive RJ45 ports, wherein first RJ45 ports connection external network, realizes external network communicating function;Second RJ45 ports connect Homeplug module, and external network is changed by Homeplug module, by the channel transfer of online to electricity In the line of force;3rd RJ45 port connects master control plate module, and external network is realized two-way by master control plate module with intelligent electric meter Data information exchange;
    The Homeplug module is built using conventional electric power cat internal module, the live wire of Homeplug module and the interface of zero line It is respectively equipped with live wire and zero line is connected to the live wire of intelligent electric meter and the output interface of zero line, the RJ45 ports of Homeplug module It is connected provided with netting twine with second RJ45 port of switch module;Homeplug module will transmit from switch module External network signal modulation to interior power line on;
    The master control plate module is integrated with ethernet module, power supply interface module, indicating lamp module, MCU module;Ethernet module Using USR-TCP232-E2 embedded ethernet modules, it has been internally integrated WEB server function, and its network interface end is provided with Netting twine connects the 3rd RJ45 port of switch module, and its signal end is connected to MCU module;Power supply interface module accepts electricity The power supply of source modular converter, and then be converted into multiple voltage interface and be powered for master control plate module;Indicating lamp module is provided with 2 Relay indicating light and one group of colorful indicator lamp, indicating lamp module are connected with MCU module and by relay indicating light to whole master control The working condition of plate module is indicated;MCU module is made up of STM32 family chips and peripheral circuit, and it is as whole master control The main control part of plate module, it is provided with RS485 interfaces and is connected by RS485 buses with the RS485 interfaces of intelligent electric meter;
    The communication protocol of the master control plate module and intelligent electric meter is arranged to:
    1), byte format
    Contain 8 binary codes per byte, add a start bit during transmission(0), even parity bit and a stop position(1), Totally 11, D0 is the least significant bit of byte, and D7 is the highest significant position of byte, first passes low level, rear to pass a high position;
    2), frame format
    Check code part in frame format generates according to following algorithm:
    (1)By the data of start-of-frame until the total data in frame data domain is arranged according to the binary sequence of 0 and 1, The a lot of sequence being made up of 0 and 1 is formed, is designated as K;
    (2)Following groups number is set:a、1011;b、1001 10;c、1101 0011;d、1101 0011 10;f、1011 1111 1101 ;g、1011 1110 0011 0101;
    (3)Arbitrary sequence in sequence K and a to f is subjected to XOR, which specifically chosen sequence is according to practical communication speed Rate, the tolerance to mistake are determined, and 8bit parity check bit is then added in operation result, by whole total need Want sequence to be put into check bit and be used as overall verification data;
    3), frame format data field part
    At the end of frame format data field, a numeral is added, this numeral is all digital sums of data field, computational methods For:N number of adder unit of MCU module in master control plate module is called, each adder unit is only added two numbers, then exports this The sum of two numbers, N/2 adder unit is recalled, be added by foregoing numeral and with two for one group, exported and enter And recall N/4 adder unit, repeat above step, finally draw a numeral and;
    The control workflow of the master control plate module includes two parts of data uplink and data downstream, specific as follows:
    (1)Data uplink workflow
    a)Electricity, initialization in each module;
    b)MCU module checks that intelligent ammeter module, power transfer module, switch module, Homeplug module, ethernet module are It is no normal, if it find that abnormal, indicating lamp module instruction failure;
    c)MCU module reads the data message of intelligent electric meter by RS485 interfaces, data message includes but be not limited to power consumption, Dump energy, active power, reactive power, harmonic wave situation, the information of the quality of power supply, if it find that abnormal, indicating lamp module refers to Show failure;
    d)MCU module carries out obtained data message according to the form of master control plate module and the communication protocol of intelligent electric meter whole Close, and add check code, then be uploaded to ethernet module, power network public affairs are upload the data to through switch module by ethernet module The WEB server that department's server and ethernet module are internally pointed to;
    e)Grid company can read the user power utilization information that intelligent electric meter gathers, while user by grid company Server remote WEB server address can be inputted in a browser by computer, the user power utilization information of intelligent electric meter collection is checked from webpage;
    (2)Data downstream workflow
    a)Electricity, initialization in each module;
    b)MCU module checks that intelligent ammeter module, power transfer module, switch module, Homeplug module, ethernet module are It is no normal, if it find that abnormal, indicating lamp module instruction failure;
    c)The IP address of interception data and corresponding port numbers are set in MCU module;
    d)Grid company server sends director data and is passed to ethernet module by interchanger, then by ethernet module by data MCU module is sent to, the data to be intercepted of MCU module control, if running into the data for needing to intercept, is parsed, analyzes it Control instruction, and transmit in the WEB server being internally pointed to intelligent electric meter and ethernet module, as MCU module is detectd for a long time It can't hear data, indicating lamp module instruction failure;
    e)Control instruction is transmitted to intelligent electric meter, intelligent electric meter and performs control instruction by MCU module by RS485 interfaces;User WEB server address can be inputted in a browser by computer, the information that grid company transmits is checked from webpage.
  2. 2. terminal system according to claim 1, it is characterized in that:In the step e of data downstream workflow)In, MCU moulds The information that block is sent always according to the grid company that ethernet module receives is analyzed, and same data message is sent into WEB On server, user sees corresponding information by computer browser, and inputs several data reference values, MCU by browser The reference value that user inputs is stored and compared with the data that grid company is sent by module, calculates the big of deviation Small, MCU module controls the colorful indicator lamp of indicating lamp module to be indicated with different colors according to the size of deviation value, simultaneously Will deviate from value transmission allows user to see to WEB server.
  3. 3. terminal system according to claim 1, it is characterized in that:The intelligent electric meter is using Samsung intelligence company DDS862 single-phase electronic energy meters;The Homeplug module is entered using the TP-LINK PA500 Homeplug internal modules disassembled Row structure.
  4. 4. terminal system according to claim 1, it is characterized in that:The intelligent electric meter, power transfer module, interchanger mould Block, master control plate module, Homeplug module encapsulated with plastic casing it is integral, externally leave intelligent electric meter live wire and zero line it is defeated Enter and output interface, first RJ45 port of switch module, the electricity reading part of intelligent electric meter and the finger of master control plate module Show that the indicator lamp of lamp module reveals out of case body.
  5. 5. terminal system according to claim 1, it is characterized in that:The power transfer module include current transformer, every From device, bridge rectifier, wave filter, voltage-stabiliser tube, charging-discharging controller, energy-storage battery;Current transformer is hung on power line, profit With the principle of electromagnetic induction from power line power taking;Isolator is connected to current transformer, isolation forceful electric power interference;Rectifier is connected to Isolator, realize AC-DC conversion;Wave filter is connected to bridge rectifier, eliminates the higher hamonic wave interference of bridge rectifier;Surely Pressure pipe is connected to wave filter, and burning voltage is provided to equipment;Charging-discharging controller is connected to voltage-stabiliser tube, and the voltage of voltage-stabiliser tube is passed through 12V power supplys are outwards exported from output end after crossing further filtering and voltage stabilizing processing, while charging-discharging controller returns energy-storage battery Charged, when outside has a power failure, charging-discharging controller, which will switch to, to be provided electric energy by energy-storage battery and outwards export 12V power supplys.
  6. 6. terminal system according to claim 1, it is characterized in that:The MCU module of the master control plate module is by STM32F103 Chip and peripheral circuit are formed, and are received after 68,69 pin difference series resistor R3, R41 of STM32F103 chips respectively as signal 12 and 13 pin of end RXD and signal sending end TXD, STM32F103 chip connect outer clock circuit, and 14 pin connect reset circuit; VDD3.3V termination inductance L1 one end, inductance L1 another termination capacitor C3 and C4 one end, electric capacity C3 and C4 another termination Ground, the inductance L1 other end terminate 22 pin into STM32F103 chips as VDDA;VDD5V ends are converted to through REF3133 chips Standard 3.3V power supplys, then 21 pin of STM32F103 chips are inputted after series resistor R12 as benchmark positive voltage VREF+ ends, resistance Also serial capacitance C9, C10 is followed by PGND ends respectively at R12 both ends;50,75,100,28,11 pin of STM32F103 chips connect VDD3.3V ends, VDD3.3V termination capacitors C13~C20 one end, electric capacity C13~C20 other end ground connection;The MCU module Provided with RS485 EBIs, RS485 interface communications are accessed after 47,48 pin difference series resistor R6, R40 of STM32F103 chips 4 pin and 1 pin of chip MAX485 chips, 52 pin of STM32F103 chips connect the 2 of MAX485 chips, 3 pin, and the 8 of MAX485 chips Pin connects VDD5V ends, 5 pin ground connection, and 7 pin and 6 pin connect RS485 crossover subs J1 1 pin and 2 pin respectively, 7 pin of MAX485 chips and Resistance R2 is also associated between 6 pin;The MCU module is also connected by super network interface USR-K3 with ethernet module, The signal receiving end RXD and signal sending end TXD of STM32F103 chips connect super network interface USR-K3 8 pin and 9 pin respectively.
  7. 7. terminal system according to claim 1, it is characterized in that:In the power supply interface module of the master control plate module, electricity The 12V power supplys that source modular converter transmits form input power VIN ends after fuse FUSE1, and input power VIN ends warp can VCC6.5V ends are formed after adjusting the regulation of voltage stabilizing chip LM2596-ADJ chips;VCC6.5V ends are through voltage stabilizing chip REG1117-3.3 cores VDD3.3V ends are formed after piece decompression;VCC6.5V ends form VDD5V after adjustable voltage stabilizing chip LP3856-ADJ chips regulation End;VDD5V ends connect resistance R26 one end, are grounded after resistance R26 other end series resistor R28, the resistance R26 other end 18 pin AD_DCIN ends of STM32F103 chips are also connect as output;VCC6.5V terminates TR5V L-S-Z relay RELAY1 lines One end of circle and diode D2 negative pole, the other end of relay RELAY1 coils and diode D2 positive pole connect NPN jointly Triode Q3 colelctor electrode, triode Q3 emitting stage ground connection, base stage connecting resistance R25 and R27 one end, resistance R25's is another 15 pin JD_5V ends of STM32F103 chips, resistance R27 other end ground connection are terminated, relay RELAY1 movable contact connects VDD5V ends, outwards output VCC5V ends are formed after relay RELAY1 normally opened stationary contact series resistor R21.
  8. 8. terminal system according to claim 1, it is characterized in that:Work in the indicating lamp module of the master control plate module Make indicator lamp part, VDD5V ends series resistor R13 is followed by indicator lamp Fault positive pole, and indicator lamp Fault negative pole meets NPN tri- Pole pipe Q1 colelctor electrode, triode Q1 base stage is accessed after 31 pin series resistor R18 of STM32F103 chips, triode Q1's Grounded emitter, if operation irregularity, lighted by MCU module control indicator lamp Fault;VDD5V ends series resistor R14 is followed by referring to Show lamp Run positive pole, indicator lamp Run negative pole connects NPN triode Q2 colelctor electrode, the 32 pin concatenation electricity of STM32F103 chips Triode Q2 base stage is accessed after resistance R19, triode Q2 grounded emitter, if working properly, controlled and indicated by MCU module Lamp Run lights.
CN201710682284.0A 2017-08-10 2017-08-10 A kind of wideband power is registered one's residence terminal system Pending CN107612591A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710682284.0A CN107612591A (en) 2017-08-10 2017-08-10 A kind of wideband power is registered one's residence terminal system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710682284.0A CN107612591A (en) 2017-08-10 2017-08-10 A kind of wideband power is registered one's residence terminal system

Publications (1)

Publication Number Publication Date
CN107612591A true CN107612591A (en) 2018-01-19

Family

ID=61065278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710682284.0A Pending CN107612591A (en) 2017-08-10 2017-08-10 A kind of wideband power is registered one's residence terminal system

Country Status (1)

Country Link
CN (1) CN107612591A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113571976A (en) * 2021-05-31 2021-10-29 惠州高盛达科技有限公司 Intelligent socket

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050102043A1 (en) * 2003-11-07 2005-05-12 Menas Gregory W. Automatic sensing power systems and methods
CN101237362A (en) * 2007-01-31 2008-08-06 司特维科技(北京)有限公司 A remote intelligent power meter reading system for broadband network communication
CN102621921A (en) * 2012-03-13 2012-08-01 江西省电力科学研究院 Programmer for electric energy meters
CN203278396U (en) * 2013-05-10 2013-11-06 杭州电子科技大学 Ethernet communication-based intelligent low-voltage moulded-case circuit breaker controller
CN104932417A (en) * 2015-06-29 2015-09-23 李国印 Industrial electricity utilization on-demand application data acquisition system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050102043A1 (en) * 2003-11-07 2005-05-12 Menas Gregory W. Automatic sensing power systems and methods
CN101237362A (en) * 2007-01-31 2008-08-06 司特维科技(北京)有限公司 A remote intelligent power meter reading system for broadband network communication
CN102621921A (en) * 2012-03-13 2012-08-01 江西省电力科学研究院 Programmer for electric energy meters
CN203278396U (en) * 2013-05-10 2013-11-06 杭州电子科技大学 Ethernet communication-based intelligent low-voltage moulded-case circuit breaker controller
CN104932417A (en) * 2015-06-29 2015-09-23 李国印 Industrial electricity utilization on-demand application data acquisition system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113571976A (en) * 2021-05-31 2021-10-29 惠州高盛达科技有限公司 Intelligent socket
CN113571976B (en) * 2021-05-31 2023-09-19 惠州高盛达科技有限公司 Intelligent socket

Similar Documents

Publication Publication Date Title
CN104243295B (en) Intelligent gateway device based on dual network mixed communication
CN207283546U (en) A kind of gateway based on broadband power line carrier communication
CN208766825U (en) A kind of LoRa meeting southern network mark standard and carrier wave dual mode communication module
CN201522512U (en) Electric energy collection device based on power line carrier communication
CN108616604A (en) A kind of intelligent electric energy meter supplements repeating installation, ammeter communication system and the means of communication with money
CN103152183A (en) Electric modem switching device and method for mutual switching of electric signals and network signals
CN205961144U (en) Intelligent integrated management terminal
CN204288502U (en) CAN data collector and system
CN107612591A (en) A kind of wideband power is registered one's residence terminal system
CN107465431A (en) A kind of wideband power is registered one's residence terminal system
CN106443303A (en) Electric energy meter wiring missort detection device and application and judgment method thereof
CN208384520U (en) Data collection station
CN208337692U (en) Web camera and remote Ethernet Transmission system, storage system
CN207020660U (en) A kind of system communication module
CN206991535U (en) Novel intelligent meter reading collecting transmitter
CN110245106A (en) The serial server of SCM Based online acquisition serial interface signal
CN109539379A (en) A kind of remote data monitoring device of heating plant
CN206833195U (en) Multi-functional data manifold
CN205301568U (en) Intelligent ammeter detection module based on bluetooth communication and 485 communications
CN107481494A (en) A kind of wideband power is registered one's residence the master control borad of terminal system
CN207039295U (en) The outlet power administrative unit of the entrance of electronic single-phase one/ten
CN206421255U (en) A kind of acquisition control circuit and control device of liquid temperature and liquid level
CN209250636U (en) Power supply ethernet network based on power line Ethernet merges adaptive device
CN208781216U (en) Intelligent information managing device and system
CN202713348U (en) Communication module of breaker

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180119