CN110187171A - A kind of the LoRaWAN electric energy meter and method of network entry of quick networking mechanism - Google Patents

A kind of the LoRaWAN electric energy meter and method of network entry of quick networking mechanism Download PDF

Info

Publication number
CN110187171A
CN110187171A CN201910556229.6A CN201910556229A CN110187171A CN 110187171 A CN110187171 A CN 110187171A CN 201910556229 A CN201910556229 A CN 201910556229A CN 110187171 A CN110187171 A CN 110187171A
Authority
CN
China
Prior art keywords
electric energy
energy meter
lorawan
chip microcontroller
communication module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910556229.6A
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.)
WUHAN RADARKING ELECTRONICS CORP
Original Assignee
WUHAN RADARKING ELECTRONICS CORP
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 WUHAN RADARKING ELECTRONICS CORP filed Critical WUHAN RADARKING ELECTRONICS CORP
Priority to CN201910556229.6A priority Critical patent/CN110187171A/en
Publication of CN110187171A publication Critical patent/CN110187171A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R11/00Electromechanical arrangements for measuring time integral of electric power or current, e.g. of consumption
    • G01R11/02Constructional details
    • G01R11/25Arrangements for indicating or signalling faults
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • G01R22/06Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods
    • G01R22/061Details of electronic electricity meters
    • G01R22/063Details of electronic electricity meters related to remote communication
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • G01R22/06Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods
    • G01R22/061Details of electronic electricity meters
    • G01R22/068Arrangements for indicating or signaling faults
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • G01R22/06Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods
    • G01R22/10Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods using digital techniques
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4183Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by data acquisition, e.g. workpiece identification
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication
    • G05B19/41855Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication by local area network [LAN], network structure
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4188Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by CIM planning or realisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

A kind of the LoRaWAN electric energy meter and method of network entry of quick networking mechanism, are related to electrical equipment technical field, including single-chip microcontroller, current sampling module, voltage sample module, memory, power module and LoRaWAN communication module;Latter three of the single-chip microcontroller acquisition address of electric energy meter, the cycle time that computation delay power supply networks;The cycle time that single-chip microcontroller calculates it carries out from operation is subtracted, until single-chip microcontroller powers to LoRaWAN communication module and networks when result is equal to zero;When multiple electric energy meters, the cycle time of each electric energy meter is mutually staggered;When the power-on time of multiple electric energy meters reaches the maximum cycle time of all electric energy meters, if the LoRaWAN communication module of some electric energy meter does not network, the LoRaWAN communication module of the electric energy meter itself disconnects power supply, re-powers networking.The present invention when multiple LoRaWAN electric energy meters network, can timesharing grouping, prevent from conflicting, guarantee that multiple LoRaWAN electric energy meters rapidly and efficiently network.

Description

A kind of the LoRaWAN electric energy meter and method of network entry of quick networking mechanism
Technical field
The present invention relates to electrical equipment technical field, the LoRaWAN electric energy meter of specially a kind of quick networking mechanism and enter Network method.
Background technique
In recent years, with the development of network technology, LoRaWAN is widely used because there is unique advantage. LoRaWAN equipment coverage area can be communicated in open area with the gateway of farthest 15 kilometer range, can be in city It is communicated up to 5 kilometers of gateways, coverage area can also extend to interior, even up to basement;While LoRaWAN is also Have many advantages, such as that low-power consumption, low cost and network communication are good.
Concrete scene one of of the electric energy meter as LoRaWAN technical application, it is most main other than completing basic gage work What is wanted is the transmission carried out the data of electric energy meter quickly and efficiently, especially remote districts, space than narrow and layout point Scattered place.
But due to the electric energy meter number of units in an area Ge Tai often hundreds and thousands of, and using when power on simultaneously, this just gives The networking of LoRaWAN electric energy meter causes competition congestion phenomenon, and LoRaWAN electric energy meter networks in a short time becomes highly difficult, very To do not enter net at all and can not normal communication.
Summary of the invention
In view of the deficiencies in the prior art, the purpose of the present invention is to provide a kind of quick networking mechanism LoRaWAN electric energy meter and method of network entry, multiple LoRaWAN electric energy meters network when, can timesharing grouping, prevent from conflicting, guarantee Multiple LoRaWAN electric energy meters rapidly and efficiently network.
To achieve the above objectives, and described using a kind of LoRaWAN electric energy meter of quick networking mechanism, including single-chip microcontroller Single-chip microcontroller connected current sampling module, voltage sample module, memory and power module;The current sampling module and electricity Pressure sampling module is respectively used to sampled current signals and voltage signal, and is transmitted to the memory, feature by single-chip microcontroller Be: the electric energy meter also includes LoRaWAN communication module, and latter three of the single-chip microcontroller reading power meters address, And the cycle time that the delay power supply of LoRaWAN communication module networks is calculated according to latter three of address;The single-chip microcontroller pair Its cycle time calculated carries out from operation is subtracted, until the single-chip microcontroller powers to LoRaWAN communication module when result is equal to zero It networks;When multiple electric energy meters, the cycle time of each electric energy meter is mutually staggered;When the network entry time of multiple electric energy meters reaches all electricity When the maximum cycle time of energy table, if the LoRaWAN communication module of some electric energy meter does not network, disconnect logical to LoRaWAN The power supply for interrogating module, recalculates the cycle time of the electric energy meter, then power from after subtracting operation and network.
Preferably, the electric energy meter includes two LED lights, one of them flashing when electric energy meter has load to export, Another is lighted after LoRaWAN communication module successfully networks.
Preferably, the electric energy meter also includes relay and tripping indicator light;The relay is in normally off, works as electricity When energy table overload, relay is disconnected, and the indicator light is always on for tripping.
Preferably, the current sampling module and voltage sample module distinguish the current signal sampled and voltage signal After digital processing, pulse duration frequency signal is converted to, and be sent to single-chip microcontroller;Single-chip microcontroller carries out electricity according to pulse duration frequency signal It measures superposition calculation and stores in memory.
Preferably, the power module of the electric energy meter, voltage sample module, current sampling module, single-chip microcontroller, memory, LoRaWAN communication module and three indicator lights are integrated in one piece of PCB circuit board.
A kind of quick method of network entry of LoRaWAN electric energy meter based on claim 1, steps are as follows:
Multiple electric energy meters power on simultaneously, and latter three of electric energy meter where the single-chip microcontroller of each electric energy meter reads it are communicatively Location;Wherein, a A0, ten A1With hundred A2
The single-chip microcontroller of each electric energy meter calculates the cycle time T, T=that respective LoRaWAN communication module delay power supply networks A0*m+A1*n+A2, unit is the second;Wherein, m is that electric energy meter networks required maximum time under normal circumstances, and n is the constant of setting, Cycle time for differentiation difference electric energy meter;
The single-chip microcontroller of each electric energy meter carries out from operation is subtracted the T value of itself, until T is equal to zero, single-chip microcontroller is to LoRaWAN Communication module is powered networking;
When network entry time reaches the maximum value of T in all electric energy meters, if the LoRaWAN communication module of some electric energy meter It does not network, disconnects the power supply to LoRaWAN communication module, recalculate the T of the electric energy meter, then power from after subtracting operation It networks.
Preferably, the electric energy meter includes two LED lights, one of them is used for the sudden strain of a muscle when electric energy meter has load to export Bright, another is lighted after LoRaWAN communication module successfully networks.
Preferably, m is equal to according to the difference of the T value of the adjacent electric energy meter of any two address, sets n value.
Preferably, m value 10, constant n value 100;The A0、A1And A2Value range be 0~9, and be whole Number;The T value value range is 0~999.
Preferably, after networking, related electricity consumption data is packaged as data frame, timing active upload to net by each electric energy meter It closes.
Beneficial effects of the present invention are as follows:
1, electric energy meter of the invention also includes LoRaWAN communication module, rear three communications of single-chip microcontroller reading power meters Address, and the cycle time to be networked according to the delay power supply of the rear three calculating LoRaWAN communication module of address;When multiple When electric energy meter powers on, the single-chip microcontroller of each electric energy meter carries out respective cycle time to subtract operation certainly, until result is equal to zero, list Piece machine powers to LoRaWAN communication module and networks;Rear three addresses of the LoRaWAN communication module operation electric energy meter, will Multiple electric energy meters are divided into multiple groups and the network entry time of different addresses are all staggered, so that the LoRaWAN of multiple electric energy meters The networking timesharing grouping of communication module and anti-collision, have achieved the purpose that quick networking, ensure that LoRaWAN module can be quickly high Effect networks.
2, LoRaWAN communication module of the invention is interconnected, and carries out referring to the maximum cycle time of all electric energy meters Observation;When the power-on time of multiple electric energy meters reaches the maximum cycle time of all electric energy meters, if some electric energy meter LoRaWAN communication module does not network, which disconnects the power supply to itself LoRaWAN communication module;Recalculate the electricity The cycle time of energy table, then power from after subtracting operation and network;So many wheel networking further prevents electric energy meter number of units When more, the mutual conflict of electric energy meter.
3, user is compared the data timing of care actively using active upload mode by LoRaWAN communication module of the invention Upload to gateway;Traditional mode passively read is substituted, solves the unstability in data transmission procedure, timeliness is low The problem for passively recruiting reading failure rate high with data;Meanwhile the mode real-time of the active upload is high, packet loss is small, and data update In time, user is facilitated to quickly understand electric energy meter situation.
4, LoRaWAN electric energy meter of the invention, structure is simple, can increase LoRaWAN on the basis of original electric energy meter Communication module, carries out big change without the original structure to electric energy meter, and assembly is simple, is easy to universal, and versatility is good, have compared with High economic value.
Detailed description of the invention
Fig. 1 is the electric energy meter component composition schematic diagram of the embodiment of the present invention.
Fig. 2 is the drive circuit schematic diagram of the relay of the embodiment of the present invention.
Fig. 3 is the interface circuit schematic diagram of the LoRaWAN communication module of the embodiment of the present invention.
Fig. 4 is the power supply circuit schematic diagram of the LoRaWAN communication module of the embodiment of the present invention.
Fig. 5 is the method for network entry flow chart of the embodiment of the present invention.
Specific embodiment
Invention is further described in detail with reference to the accompanying drawings and embodiments.
As shown in Figure 1, a kind of LoRaWAN electric energy meter of quick networking mechanism, including single-chip microcontroller, power module, electric current are adopted Egf block, voltage sample module and memory;Power module is used to power to electric energy meter;Current sampling module and voltage sample mould Block is respectively used to sampled current signals and voltage signal, and is transmitted to memory by single-chip microcontroller.
Above-mentioned LoRaWAN electric energy meter also includes LoRaWAN communication module, and single-chip microcontroller acquires latter three of address, And the cycle time to be networked according to the power supply of rear three computation delays of address.The cycle time that single-chip microcontroller calculates it carries out From operation is subtracted, until single-chip microcontroller powers to LoRaWAN communication module and networks when result is equal to zero.
In the presence of multiple electric energy meters, the cycle time of each electric energy meter is mutually staggered.Also, when powering on for multiple electric energy meters It, should if the LoRaWAN communication module of some electric energy meter does not network when time reaches the maximum cycle time of all electric energy meters Electric energy meter disconnects the power supply to itself LoRaWAN communication module, after the cycle time for waiting the electric energy meter, re-powers.
Therefore, rear three address different by multiple electric energy meters calculates the period that different delay power supplies networks Time;And subtract certainly operation to result be equal to zero the time required to it is identical with cycle time, so achieved the effect that timesharing be grouped, guarantor The well-regulated successive networking of each electric energy meter is demonstrate,proved.Meanwhile when networking conflict, first disconnects and re-powering again, it can be effective Prevent multiple electric energy meters from conflicting with each other when networking.
Preferably, electric energy meter includes two LED lights, one of them is used for the flashing when electric energy meter has load to export, Another is lighted after LoRaWAN communication module successfully networks, and directly can judge electricity by the state of two indicator lights of observation Can table working condition and LoRaWAN communication module enter net state.In the present embodiment, the first LED light is used to indicate negative Output is carried, the second LED light is used to indicate successfully to network.
Preferably, electric energy meter also includes relay and tripping indicator light;Relay is in normally off, when electric energy meter overloads When, relay disconnects, and the indicator light is always on for tripping.
As shown in Fig. 2, being one embodiment of relay, the driving circuit of relay uses 4 triodes and resistance group At two control signal pins of single-chip microcontroller export the base that low and high level is respectively transmitted to 9013 (Q8 and Q9) through current-limiting resistance respectively Pole, and the base stage of Q8 and Q9 is connected to the pull down resistor of 100K Ω, exportable suitable low level signal.2 9012 (Q5 and Q6) emitter of triode connects+12V voltage, and the driving letter of relay in kind is coupled with after collector parallel coupled resistor capacitor On number line, smooth switching on is realized.
In the present embodiment, current sampling module and voltage sample module divide the current signal sampled and voltage signal Not after digital processing, pulse duration frequency signal is converted to, and be sent to single-chip microcontroller;Single-chip microcontroller is carried out according to pulse duration frequency signal Electricity superposition calculation simultaneously stores in memory.Specifically, what is stored in memory is electric during electric energy meter is used for multiple times The sum of amount superposition.
In the present embodiment, the power module of electric energy meter, voltage sample module, current sampling module, single-chip microcontroller, storage Device, LoRaWAN communication module and three indicator lights are integrated in one piece of PCB circuit board.
As shown in figure 3, it is straight that the reception of LoRaWAN communication module sends foot in the interface circuit of LoRaWAN communication module It connects and is connect with the serial ports UART of single-chip microcontroller, realize point-to-point transparent data.Specifically, 3 foot of LoRaWAN communication module and 4 feet are straight It connects and is connect with the UART interface of single-chip microcontroller.After electric energy meter powers on, LoRaWAN communication module successfully networks connection according to networking mechanism After connecing, 5 feet of LoRaWAN communication module, which can export high level, lights the second LED light persistently, tells user LoRaWAN It has been networked that, communication operation can be carried out.
As shown in figure 4, in the power supply circuit of LoRaWAN communication module, the power supply circuit of LoRaWAN communication module with Based on the BD9677 chip of ROHM, which is DC-DC structure, has Width funtion input and the adjustable spy of voltage output Point is capable of providing the electric current output of 500mA, and energy conversion efficiency is high.The voltage output of LoRaWAN communication module has enabled Control function, single-chip I/O mouth carry out output control to 4 feet of BD9677, are powered to LoRaWAN communication module.
Specifically, 220V alternating current becomes 12V DC electricity after power module rectifies, and 12V DC supplies electricity to BD9677 chip Power supply, keeps BD9677 chip in running order;When subtracting operation result certainly is zero, single-chip microcontroller makes activation BD9677 chip It can control function, BD9677 chip made to export 3.3V voltage, power to LoRaWAN communication module, LoRaWAN communication module starts It networks.
Preferably, it is the single-phase electric energy metering of a high-performance, low-power consumption that single-chip microcontroller model, which uses V9821S, V9821S, SoC chip, the functional modules such as integrated simulation front end, enhanced 8052 kernel, RTC, WDT, Flash, SRAM and LCD driving, can Suitable for a variety of single-phase multifunctional electric energy meters.Meanwhile the also built-in electric energy metering module of V9821S, voltage and current is after over-sampling The superposition that single-chip microcontroller metering module inter-process carries out electricity is entered directly into, integrated level is high, and function is more and at low cost.
Preferably, power module uses stable linear variable-voltage power supply, after electric energy meter accesses 220V alternating current, alternating current It is exported by power module rectification rear portion and gives LoRaWAN communication module, another part is exported to except LoRaWAN communication module Outer remaining part.
Specifically, there are two different windings to export for linear variable-voltage power supply tool, and it is logical that a winding output 9V/20mA supplies other News part (such as RS485), another winding export 10.5V/120mA and supply other components (including LoRaWAN communication module).Into One step, power circuit design must consider 420V voltage condition, and voltage is no more than 30V before 78L33, also under guarantee high voltage Do not damage transformer.The triangle thermistor quickly reflected is installed between primary, while in the fire of input voltage route Line and zero curve install varistor to prevent lightning surge and high-frequency impulse from being passed in electric energy meter.
Preferably, LoRaWAN communication module uses popular low-power consumption wide area network (LPWAN) technology, by LoRaWAN Technical application realizes communication function into electric energy meter, through Internet technology.Specifically, using mainstream on the market LoRaWAN communication module that LoRunM120 is wireless, by LoRaWAN applications of wireless technology into electric energy meter.
Low power operation mechanism built in the LoRaWAN communication module of this kind of model can effectively realize the low-power consumption of module Operation is internally integrated LoRaWAN protocol stack, supports Class A/Class C device type;Its operating voltage 2.0V-3.6V, it is excellent It is selected as 3.3V.The LoRaWAN communication module package dimension is small, and size only has 15.5mm × 12mm × 2.5mm, can be convenient embedding Enter into electric energy meter.Meanwhile LoRaWAN communication module also includes built-in antenna or external antenna, has the function transmitted at a distance Energy.
Preferably, the erasable number of maximum of the memory model FM24C256A micro- using Fudan University, the memory are 10,000,000 It is secondary, it is convenient to save electricity and other parameter states.
As shown in figure 5, being based on above-mentioned LoRaWAN electric energy meter, a kind of embodiment of method of network entry is also provided, the method for network entry Can make multiple electric energy meters quickly with gateway networking and normal communication, its step are as follows:
S1: each electric energy meter powers on, rear three addresses of the equal reading power meters of the single-chip microcontroller of electric energy meter;Wherein, a position A0, ten A1With hundred A2
S2: the cycle time T, T=A that the power supply of single-chip microcontroller computation delay networks0*m+A1*n+A2, unit is the second.
Wherein, m is that electric energy meter networks required maximum time under normal circumstances, and n is the constant of setting, different for differentiation The cycle time of electric energy meter.
S3: single-chip microcontroller carries out from operation T-- is subtracted T value, and T value all subtracts 1 each time.
S4: whether T value of the judgement each time from after subtracting is equal to zero;If not, returning to S3;If so, into S5.
S5: single-chip microcontroller is powered LoRaWAN communication module.
S6: judge LoRaWAN communication module in TmaxWhether network in time;If not, cutting communicates the LoRaWAN The power supply of module returns to S2;If so, into S7;Wherein, TmaxIt is the maximum value of T in all electric energy meters.
S7: lighting the second LED light, terminates.
After networking, user using frame mechanism is packaged, is compared care using active upload mode by each electric energy meter Data (such as current power amount, voltage, electric current, power and power factor) be packaged as data frame format, timing active upload To gateway;Uplink time interval user can self-setting according to demand.
In the present embodiment, electric energy meter includes two LED lights, respectively the first LED light and the second LED indication Lamp;When electric energy meter has load to export, the flashing of the first LED light, after LoRaWAN communication module successfully networks, the second LED indication Lamp is persistently lighted.
Preferably, m is equal to according to the difference of the T value of the adjacent electric energy meter of any two address, sets n value.Specifically, According to Tn+1-Tn=m, wherein Tn+1And TnThe respectively T value of the adjacent electric energy meter of any two address.
Specifically, A0、A1And A2Value range be 0~9, and be integer;M is 10 the time required to electric energy meter networks Second, according to Tn+1-Tn=m takes latter three of multiple continuous addresses, such as 118,119,120 and 121 etc. at random Calculating constant n is 100, at this point, the T value value range is 0~999.
When m, which is equal to 10 and n, is equal to 100, latter three of corresponding address are, for example, 118,119,120 and 121, then T Value is respectively 181,191,201 and 211, and the difference of two neighboring T value is 10 seconds, is utmostly met needed for electric energy meter networking Time.
It is equal to 100 when m is equal to 10 and n, and latter three of address are 0~1000, TmaxEqual to 999.
Preferably, the electric energy meter number of units that the present invention powers on simultaneously is no more than 1,000, and all electric energy meters can basis at this time Latter three of address are ranked up grouping, and the T value of each electric energy meter is all different, and has further prevented multiple electric energy meters Networking conflict.
The working principle of the embodiment of the present invention is as follows:
After electric energy meter accesses 220V alternating current, alternating current is communicated after power module rectifies to single-chip microcontroller and LoRaWAN The power supply of the components such as module, enables each circuit to work normally.
When there is load to export, current sampling module and voltage sample module are by the current signal sampled and voltage signal After digital processing, it is converted into the pulse duration frequency signal directly proportional to function (when per kilowatt) and is sent to single-chip microcontroller, single-chip microcontroller Electricity superposition is carried out according to pulse duration frequency signal and is stored in memory, while pulse duration frequency signal passes through the first LED indication Lamp makes its flashing.
When bearing power is more than the maximum receiving power of electric energy meter, automatic disconnection is in the relay of normally off, and Light tripping indicator light.
When multiple electric energy meters power on simultaneously, such as electric energy meter number of units is 800, and respective LoRaWAN communication module starts It executes into net operation, rear three addresses of electric energy meter where each LoRaWAN communication module reads it;According to latter three Address, respective single-chip microcontroller calculate the cycle time T, T=A that the delay power supply of LoRaWAN communication module networks0*10+A1* 100+A2, the T value of such 800 electric energy meters is different.
The single-chip microcontroller of each electric energy meter carries out from operation is subtracted the T value of itself, until T is equal to zero, single-chip microcontroller is to LoRaWAN Communication module is powered networking, such as networks successfully, then the electric energy meter lights the second LED light of itself.Wherein, subtract fortune certainly It calculates to the time that result is zero and is equal to T value.In this way, 800 electric energy meters can the well-regulated completion of a platform network.
When network entry time reaches the T in 800 electric energy metersmaxWhen value, if the LoRaWAN communication module of some electric energy meter It does not network, which cuts off the power supply to the LoRaWAN communication module, recalculates the T of the electric energy meter, then subtract certainly It powers and networks after operation.
After electric energy meter networks successfully, LoRaWAN communication module will be communicated with single-chip microcontroller, and each electric energy meter is sharp With frame mechanism is packaged, user is compared to data (such as current power amount, voltage, electric current, the power of care using active upload mode With power factor etc.) it is packaged as data frame format, timing active upload to gateway;Or mould is communicated by LoRaWAN by platform Block initiates communication request to single-chip microcontroller, and the data of response are sent to LoRaWAN communication module again by single-chip microcontroller, completes communication behaviour Make.This mode take full advantage of gateway characteristic (uplink of each gateway has 8 receiving channels, and downlink then only one Sendaisle), traditional passive reading is replaced with into active upload, solves the unstability in data transmission procedure, timeliness Property the low and data problem of passively recruiting reading failure rate high;Relatively high using active upload real-time, packet loss is small, and data update In time, user is facilitated to quickly understand electric energy meter situation.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (10)

1. a kind of LoRaWAN electric energy meter of quick networking mechanism, including single-chip microcontroller, the current sample mould being connected with the single-chip microcontroller Block, voltage sample module, memory and power module;The current sampling module and voltage sample module are respectively used to sample Current signal and voltage signal, and the memory is transmitted to by single-chip microcontroller, it is characterised in that:
The electric energy meter also includes LoRaWAN communication module, and latter three of the single-chip microcontroller reading power meters address, and The cycle time that the delay power supply of LoRaWAN communication module networks is calculated according to latter three of address;
The cycle time that the single-chip microcontroller calculates it carries out subtracting operation certainly, until when result is equal to zero, the single-chip microcontroller pair The power supply of LoRaWAN communication module networks;
When multiple electric energy meters, the cycle time of each electric energy meter is mutually staggered;When the network entry time of multiple electric energy meters reaches all electricity When the maximum cycle time of energy table, if the LoRaWAN communication module of some electric energy meter does not network, disconnect logical to LoRaWAN The power supply for interrogating module, recalculates the cycle time of the electric energy meter, then power from after subtracting operation and network.
2. a kind of LoRaWAN electric energy meter of quick networking mechanism as described in claim 1, it is characterised in that: the electric energy meter Comprising two LED lights, one of them flashing when electric energy meter has load to export, another LoRaWAN communication module at Function is lighted after networking.
3. a kind of LoRaWAN electric energy meter of quick networking mechanism as claimed in claim 2, it is characterised in that: the electric energy meter Also comprising relay and tripping indicator light;The relay is in normally off, and when electric energy meter overload, relay is disconnected, and jumps The indicator light is always on for lock.
4. a kind of LoRaWAN electric energy meter of quick networking mechanism as claimed in claim 2, it is characterised in that: the electric current is adopted The current signal sampled and voltage signal respectively after digital processing, are converted to pulse by egf block and voltage sample module Frequency signal, and it is sent to single-chip microcontroller;Single-chip microcontroller carries out electricity superposition calculation according to pulse duration frequency signal and is stored in memory In.
5. a kind of LoRaWAN electric energy meter of quick networking mechanism as claimed in claim 3, it is characterised in that: the electric energy meter Power module, voltage sample module, current sampling module, single-chip microcontroller, memory, LoRaWAN communication module and three finger Show that lamp is integrated in one piece of PCB circuit board.
6. a kind of quick method of network entry of LoRaWAN electric energy meter based on claim 1, it is characterised in that:
Multiple electric energy meters power on simultaneously, rear three addresses of electric energy meter where the single-chip microcontroller of each electric energy meter reads it; Wherein, a A0, ten A1With hundred A2
The single-chip microcontroller of each electric energy meter calculates the cycle time T, T=A that respective LoRaWAN communication module delay power supply networks0*m+ A1*n+A2, unit is the second;Wherein, m is that electric energy meter networks required maximum time under normal circumstances, and n is the constant of setting, for poor The cycle time of alienation difference electric energy meter;
The single-chip microcontroller of each electric energy meter carries out from operation is subtracted the T value of itself, until T is equal to zero, single-chip microcontroller communicates LoRaWAN Module is powered networking;
When network entry time reaches the maximum value of T in all electric energy meters, if the LoRaWAN communication module of some electric energy meter does not have Network, disconnect power supply to LoRaWAN communication module, recalculate the T of the electric energy meter, then power from after subtracting operation into Net.
7. method of network entry as claimed in claim 6, it is characterised in that: the electric energy meter includes two LED lights, wherein one A to be used for the flashing when electric energy meter has load to export, another is lighted after LoRaWAN communication module successfully networks.
8. method of network entry as claimed in claim 6, it is characterised in that: according to the adjacent electric energy meter of any two address The difference of T value is equal to m, sets n value.
9. method of network entry as claimed in claim 8, it is characterised in that: m value 10, constant n value 100;The A0、A1And A2 Value range be 0~9, and be integer;The T value value range is 0~999.
10. method of network entry as claimed in claim 6, it is characterised in that: after networking, each electric energy meter is by related electricity consumption data It is packaged as data frame, timing active upload to gateway.
CN201910556229.6A 2019-06-25 2019-06-25 A kind of the LoRaWAN electric energy meter and method of network entry of quick networking mechanism Pending CN110187171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910556229.6A CN110187171A (en) 2019-06-25 2019-06-25 A kind of the LoRaWAN electric energy meter and method of network entry of quick networking mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910556229.6A CN110187171A (en) 2019-06-25 2019-06-25 A kind of the LoRaWAN electric energy meter and method of network entry of quick networking mechanism

Publications (1)

Publication Number Publication Date
CN110187171A true CN110187171A (en) 2019-08-30

Family

ID=67723349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910556229.6A Pending CN110187171A (en) 2019-06-25 2019-06-25 A kind of the LoRaWAN electric energy meter and method of network entry of quick networking mechanism

Country Status (1)

Country Link
CN (1) CN110187171A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835612A (en) * 2020-07-14 2020-10-27 深圳微羽智能科技有限公司 Intelligent breaker sequencing network access method
CN114585048A (en) * 2022-03-11 2022-06-03 可瑞尔科技(扬州)有限公司 Control method, device, equipment and medium for multi-equipment time-sharing WiFi access

Citations (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101482578A (en) * 2008-11-06 2009-07-15 丹东华通测控有限公司 Multifunctional electric energy meter
CN102087132A (en) * 2009-12-04 2011-06-08 庄革 Wireless communication processing method for water meter
WO2011066795A1 (en) * 2009-12-02 2011-06-09 华为技术有限公司 Method and apparatus for network access
CN102170687A (en) * 2011-05-17 2011-08-31 浙江瑞讯微电子有限公司 RFID (radio frequency identification device) communication network group establishment method oriented to wireless sensor network application
CN102316600A (en) * 2010-06-29 2012-01-11 中兴通讯股份有限公司 Method, system and terminal for randomly accessing terminal
CN102469514A (en) * 2010-11-05 2012-05-23 中兴通讯股份有限公司 Terminal and method for accessing terminal to network
CN102469555A (en) * 2010-11-05 2012-05-23 中兴通讯股份有限公司 Method and system for accessing terminal to network
CN103018551A (en) * 2012-12-13 2013-04-03 青岛乾程电子科技有限公司 Single-phase intelligent electric energy meter with ZigBee communication module
CN103745586A (en) * 2014-01-10 2014-04-23 北京必创科技有限公司 Data acquisition device
CN103945511A (en) * 2014-04-09 2014-07-23 周开宇 Control method and sensor node with sensors turned on and off in time-sharing mode
CN104539385A (en) * 2014-12-02 2015-04-22 林志均 Electric power automation terminal autonomous networking system based on time division multiple access
CN106850453A (en) * 2017-02-24 2017-06-13 上海斐讯数据通信技术有限公司 It is a kind of to determine method, apparatus and system that Intelligent terminal data sends the time
CN107132799A (en) * 2017-06-21 2017-09-05 湖南利能科技股份有限公司 A kind of apparatus and method of many MCU data interactions intelligent acquisitions
CN206472130U (en) * 2017-02-27 2017-09-05 广东电网有限责任公司茂名供电局 Power line carrier, PLC kilowatt meter reading-out system
CN107181659A (en) * 2016-03-10 2017-09-19 深圳市祈飞科技有限公司 Intelligent cabinet communication means and system based on RS485 buses
CN107613525A (en) * 2017-09-21 2018-01-19 新智数字科技有限公司 Report method of avoiding the peak hour, device and electronic equipment based on gauge table
CN206930710U (en) * 2017-06-02 2018-01-26 福建亿华源能源管理有限公司 Hydroelectric power plant's modular multichannel remote power metering device
CN207067744U (en) * 2017-08-14 2018-03-02 北京智芯微电子科技有限公司 The real-time watch device of high-tension switch cabinet
CN107835527A (en) * 2017-12-19 2018-03-23 河海大学 A kind of wireless sensor network communication method based on timesharing dormancy
CN108226800A (en) * 2018-01-10 2018-06-29 中山大学 The battery pack simulation heat-generating system and its control method of a kind of wireless control
CN108366006A (en) * 2018-02-11 2018-08-03 四川虹美智能科技有限公司 A kind of intelligent appliance distribution method, apparatus and system
CN108957080A (en) * 2018-05-18 2018-12-07 重庆邮电大学 A kind of single-phase pre-payment electric energy meter based on the LoRa communication technology
CN208255305U (en) * 2018-06-21 2018-12-18 上海亚锐电子科技有限公司 LORA intelligent wireless power module
CN109640484A (en) * 2018-12-26 2019-04-16 合肥大明节能科技股份有限公司 Single-lamp controller
CN109695935A (en) * 2018-12-29 2019-04-30 上海新时达电气股份有限公司 A kind of air-conditioner addressing method, electronic equipment and storage medium
CN109884360A (en) * 2019-02-20 2019-06-14 武汉阿迪克电子股份有限公司 A kind of single-phase GPRS/4G remote cost control intelligent electric energy meter
CN210465540U (en) * 2019-06-25 2020-05-05 武汉阿迪克电子股份有限公司 LoRaWAN electric energy meter of quick network access mechanism

Patent Citations (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101482578A (en) * 2008-11-06 2009-07-15 丹东华通测控有限公司 Multifunctional electric energy meter
WO2011066795A1 (en) * 2009-12-02 2011-06-09 华为技术有限公司 Method and apparatus for network access
CN102087132A (en) * 2009-12-04 2011-06-08 庄革 Wireless communication processing method for water meter
CN102316600A (en) * 2010-06-29 2012-01-11 中兴通讯股份有限公司 Method, system and terminal for randomly accessing terminal
CN102469555A (en) * 2010-11-05 2012-05-23 中兴通讯股份有限公司 Method and system for accessing terminal to network
CN102469514A (en) * 2010-11-05 2012-05-23 中兴通讯股份有限公司 Terminal and method for accessing terminal to network
CN102170687A (en) * 2011-05-17 2011-08-31 浙江瑞讯微电子有限公司 RFID (radio frequency identification device) communication network group establishment method oriented to wireless sensor network application
CN103018551A (en) * 2012-12-13 2013-04-03 青岛乾程电子科技有限公司 Single-phase intelligent electric energy meter with ZigBee communication module
CN103745586A (en) * 2014-01-10 2014-04-23 北京必创科技有限公司 Data acquisition device
CN103945511A (en) * 2014-04-09 2014-07-23 周开宇 Control method and sensor node with sensors turned on and off in time-sharing mode
CN104539385A (en) * 2014-12-02 2015-04-22 林志均 Electric power automation terminal autonomous networking system based on time division multiple access
CN107181659A (en) * 2016-03-10 2017-09-19 深圳市祈飞科技有限公司 Intelligent cabinet communication means and system based on RS485 buses
CN106850453A (en) * 2017-02-24 2017-06-13 上海斐讯数据通信技术有限公司 It is a kind of to determine method, apparatus and system that Intelligent terminal data sends the time
CN206472130U (en) * 2017-02-27 2017-09-05 广东电网有限责任公司茂名供电局 Power line carrier, PLC kilowatt meter reading-out system
CN206930710U (en) * 2017-06-02 2018-01-26 福建亿华源能源管理有限公司 Hydroelectric power plant's modular multichannel remote power metering device
CN107132799A (en) * 2017-06-21 2017-09-05 湖南利能科技股份有限公司 A kind of apparatus and method of many MCU data interactions intelligent acquisitions
CN207067744U (en) * 2017-08-14 2018-03-02 北京智芯微电子科技有限公司 The real-time watch device of high-tension switch cabinet
CN107613525A (en) * 2017-09-21 2018-01-19 新智数字科技有限公司 Report method of avoiding the peak hour, device and electronic equipment based on gauge table
CN107835527A (en) * 2017-12-19 2018-03-23 河海大学 A kind of wireless sensor network communication method based on timesharing dormancy
CN108226800A (en) * 2018-01-10 2018-06-29 中山大学 The battery pack simulation heat-generating system and its control method of a kind of wireless control
CN108366006A (en) * 2018-02-11 2018-08-03 四川虹美智能科技有限公司 A kind of intelligent appliance distribution method, apparatus and system
CN108957080A (en) * 2018-05-18 2018-12-07 重庆邮电大学 A kind of single-phase pre-payment electric energy meter based on the LoRa communication technology
CN208255305U (en) * 2018-06-21 2018-12-18 上海亚锐电子科技有限公司 LORA intelligent wireless power module
CN109640484A (en) * 2018-12-26 2019-04-16 合肥大明节能科技股份有限公司 Single-lamp controller
CN109695935A (en) * 2018-12-29 2019-04-30 上海新时达电气股份有限公司 A kind of air-conditioner addressing method, electronic equipment and storage medium
CN109884360A (en) * 2019-02-20 2019-06-14 武汉阿迪克电子股份有限公司 A kind of single-phase GPRS/4G remote cost control intelligent electric energy meter
CN210465540U (en) * 2019-06-25 2020-05-05 武汉阿迪克电子股份有限公司 LoRaWAN electric energy meter of quick network access mechanism

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835612A (en) * 2020-07-14 2020-10-27 深圳微羽智能科技有限公司 Intelligent breaker sequencing network access method
CN114585048A (en) * 2022-03-11 2022-06-03 可瑞尔科技(扬州)有限公司 Control method, device, equipment and medium for multi-equipment time-sharing WiFi access
CN114585048B (en) * 2022-03-11 2023-12-08 可瑞尔科技(扬州)有限公司 Control method, device, equipment and medium for multi-equipment time-sharing connection to WiFi

Similar Documents

Publication Publication Date Title
CN205081315U (en) Intelligent socket
CN110187171A (en) A kind of the LoRaWAN electric energy meter and method of network entry of quick networking mechanism
CN2935221Y (en) Remote monitoring and controlling element apparatus with electrical energy collection function
CN103308762A (en) Intensive energy consumption subentry measurement warning system and implementation method
CN102931657A (en) Measuring and calculating device for line loss of power distribution network
CN208044844U (en) A kind of intelligent photovoltaic data collection station
CN203166978U (en) Router provided with timing switching off function
CN103219804B (en) Be applicable to the radio energy management instrument of energy managing and control system
CN205070602U (en) Electric wire netting intelligent monitoring system based on networking of super -ZigBee thing
CN210465540U (en) LoRaWAN electric energy meter of quick network access mechanism
CN102387054A (en) Serial port to Ethernet control device based on STM32
CN201716367U (en) Optical fiber input digital electric energy meter
CN206991535U (en) Novel intelligent meter reading collecting transmitter
CN202495139U (en) Ammeter data GPRS collecting system
CN204330012U (en) Based on the building environment state monitoring apparatus of technology of Internet of things
CN204795120U (en) Split type extensible network message storage device
CN208924262U (en) A kind of electric system 4G wireless module test device
CN203984446U (en) The interchangeability testing apparatus of a kind of power information acquisition terminal local communication unit
CN208316596U (en) A kind of bi-directional conversion control system
CN202282784U (en) Controlling device for converting serial port to Ethernet based on STM 32
CN202906466U (en) Measuring and calculating device for line loss of power distribution network
CN206788603U (en) A kind of development board of diversified interface
CN202362363U (en) Wide range single-phase electric energy meter
CN203224548U (en) A current sampling circuit of an electric energy data verifying tool
CN216817205U (en) Distribution network automation undercurrent sampling device based on HT762x

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