Summary of the invention
The present invention is based at least one above-mentioned technical problem, proposes a kind of new three-phase electricity ginseng based on Internet of Things
Number monitoring and electric energy metered system, being capable of real time on-line monitoring, every electrical energy parameter of display power consumer and realization harmonic wave
Analysis and harmonic electric energy metering, also support data remote transmission, functional diversities.
It is monitored and electrical energy measurement system in view of this, proposing the new three phase electrical parameters based on Internet of Things of one kind according to the present invention
System, comprising: main control processor, electric energy collection module, I/O port operation module, display module, Network Interface Module;Wherein, institute
It states main control processor and is respectively electrically connected to the electric energy collection module, I/O port operation module, display module and network interface
Module, is integrated with ethernet controller in the main control processor, the main control processor be based on the ethernet controller and
The Network Interface Module and external equipment carry out ethernet communication connection, and the electric energy collection module is for acquiring three-phase electricity ginseng
Number and progress frequency analysis, and passed the collection result of three phase electrical parameters and frequency analysis result based on the main control processor
It send to the display module or the external equipment and is shown.
In the technical scheme, what the ethernet controller cooperation integrated in main control processor was connected with main control processor
Network Interface Module can construct Ethernet, and electric energy collection module can acquire three phase electrical parameters (including voltage, electric current, active, nothing
Function, phase, harmonic wave and electrical energy measurement) and frequency analysis is carried out, and it is based on display module real-time display collection result and harmonic wave
Analysis is communicatively coupled, and will as a result, realization real-time online detection additionally by the ethernet network and external equipment of building
Acquisition structure and frequency analysis result are sent to external equipment, realize the teletransmission of data.
In the above-mentioned technical solutions, it is preferable that further include: warning module, including it is used for network interface LED light and bee
Ring device, and the network interface LED light and the buzzer are respectively connected to the main control processor, wherein the outside
Equipment is based on ethernet network and is remotely controlled the network interface LED light and the buzzer.
In any of the above-described technical solution, it is preferable that the main control processor uses 32 of model LM3S8962
Microprocessor.
In any of the above-described technical solution, it is preferable that the electric energy collection module uses the three of model ATM90E36A
Mutually measurement chip.
In any of the above-described technical solution, it is preferable that the Network Interface Module is using model HR911105A's
RJ45 network interface.
In any of the above-described technical solution, it is preferable that the display module uses the display screen of model LCD5110.
In any of the above-described technical solution, it is preferable that the external equipment includes intelligent terminal, remote control table.
It, being capable of real time on-line monitoring, every electrical energy parameter of display power consumer and realization by above technical scheme
Frequency analysis and harmonic electric energy metering, the also long-range control of support data remote transmission and external equipment, functional diversities.
Specific embodiment
To better understand the objects, features and advantages of the present invention, below with reference to attached
It is that in the absence of conflict, the feature in embodiments herein and embodiment can be combined with each other.
Below in conjunction with Fig. 1 and Fig. 2, technical scheme is described further:
As shown in Figure 1, three phase electrical parameters monitoring and electric energy metered system based on Internet of Things include: main control processor 10, electric energy
Acquisition module 20, I/O port operation module 30, display module 40, Network Interface Module 50.
Wherein, main control processor 10 is respectively electrically connected to electric energy collection module 20, I/O port operation module 30, display mould
Block 40 and Network Interface Module 50, specifically, electric energy collection module 20 and 10 two-way communication of main control processor, the port I/O behaviour
The output end for making module 30 is connected to the input terminal of main control processor 10, and the input terminal of display module 40 is connected to main control processor
Output end, Network Interface Module 50 and 10 two-way communication of main control processor are integrated with Ethernet control in main control processor 10
Device, main control processor 10 is based on ethernet controller and Network Interface Module 50 and external equipment carries out ethernet communication connection,
Electric energy collection module 20 is for acquiring three phase electrical parameters and carrying out frequency analysis, and base main control processor 10 is by three phase electrical parameters
Collection result and frequency analysis result is sent to display module 40 or external equipment is shown.
Further, further includes: warning module, including it is used for network interface LED light and buzzer, network interface
LED light and buzzer are respectively connected to main control processor, wherein external equipment (such as intelligent terminal, remote control table)
Network interface LED light and buzzer are remotely controlled based on ethernet network, wherein intelligent terminal include mobile phone,
PC machine, remote control table include public platform of internet of things, such as the data center or the data center of oneself of the website yeelink
Deng.The Network Interface Module that is connected with main control processor of ethernet controller cooperation integrated in main control processor can construct with
Too network, electric energy collection module can acquire three phase electrical parameters (including voltage, electric current, active and reactive, phase, harmonic wave and electric energy meter
Amount) and frequency analysis is carried out, and based on display module real-time display collection result and frequency analysis as a result, realizing real-time online
Detection, is communicatively coupled additionally by the ethernet network and external equipment of building, and will acquisition structure and frequency analysis knot
Fruit is sent to external equipment, realizes the teletransmission of data.
Preferably, main control processor uses the 32-bit microprocessor of model LM3S8962, and electric energy collection module uses type
Number for ATM90E36A three-phase measure chip, Network Interface Module use model HR911105A RJ45 network interface, show
Show that module uses the display screen of model LCD5110.
Wherein, the 10/100Mbps ethernet controller that main control processor LM3S8962 is internally integrated, additional RJ45 network
The ethernet communication of system can be realized in interface HR911105A, and ethernet controller is by a fully-integrated media interviews control
Device (MAC) processed and network physical (PHY) interface device composition.Ethernet controller follows the specification of IEEE 802.3, supports completely
10base-T and 100BASE-TX standard.
Electric energy collection module ATM90E36A can be used for setting for 0.5S grades or 1 grade of three-phase power electric energy meter and reactive energy-meter
Meter, and can support the mode of connection of three-phase and four-line (3P4W) or phase three-wire three (3P3W), three-phase electric energy is measured using ATM90E36A
Parameter, the chip can measure voltage, electric current, active and reactive, phase and carry out frequency analysis, and display screen LCD5110 has speed
Degree is fast, and wiring is few, and display content is more, and cost performance is high.
For chip ATM90E36A:
Chip is powered using 3.3V single power supply, in typical 3P4W design, three independent transformers is needed to be powered,
Export 3.3V to chip digital power supply DVDD after AC power source is rectified and pressure stabilizing, chip analog power AVDD should directly and DVDD
Connection;Chip interior has electrification reset circuit, and external RESET pin can connect a 10k Ω resistance to DVDD and one 0.1
For μ capacitor to GND, chip has the on piece reference power supply of high stability, VrefPin needs external 10 μ F and 0.1 μ F, two capacitors,
ATM90E36A chip using 16.384MHz frequency as system operating frequency, chip built-in crystal oscillating circuit and 10pF's
Matching capacitance, when application, only need to connect a 16.384MHz crystal in OSCI and OSCO pin.
Chip provides three road voltages (V1, V2, V3) and the A/D of four road electric currents (I1, I2, I3, I4) is sampled, in current sample
I1 and I3 can by setting be interchangeable, to adapt to different PCB designs.
The SPI interface (CS, SCLK, SDI, SDO) that chip provides four lines is connect with outside MCU, and MCU can pass through
SPI interface carries out configuration and read-write register to chip.ATM90E36A can also support the SPI of Master mode, i.e. DMA mode.
In dma mode, chip can be up to the rate of 1800kbps by the original sampling data of A/D by Master SPI export to
External microprocessor is handled.
Chip provides four electrical energy pulse output pins: active energy pulse CF1, reactive energy pulse CF2(can also match
Be set to all-wave view electrical energy pulse export), fundamental active electrical energy pulse CF3, harmonic wave active energy pulse CF4, can be used for chip
The calibration of electrical energy measurement, while pulse signal can also be connected to MCU progress electric energy and added up.
Chip provides three zero cross signal output pins ZX0, ZX1, ZX2, settable different voltage or current signal
Judge as zero passage.
Chip provides IRQ0, IRQ1, WarnOut output pin, exports different grades of interruption and alarm signal respectively.
Three phase electrical parameters monitoring and electric energy metered system based on Internet of Things are debugged in cable LAN, are taken for router
The local area network built, router open Dynamic Host Configuration Protocol server, distribute IP automatically, PC and data collection system are connected to by cable
Router, client machine system are configured to WinXP+Chrome.Under above-mentioned configuration, system can be accessed normally, and each function is normal.
" data acquisition " label is clicked, into data acquisition interface, it can be seen that the voltage of real-time three-phase electricity, electric current, power, energy,
The information such as harmonic wave can be uploaded to yeelink in appliance control interface with the switch of tele-control system buzzer and LED, data
After the data center of website, website understands automatic data processing and the results are shown on webpage.
Complete to system debug after, during the work time, detailed process is as shown in Figure 2 for whole system, comprising: first into
Row initialization, then acquires storing data, is carried out data transmission if it need to carry out data transmission by network, if without being passed
It is defeated, return continue acquire data, specifically, initialize system clock, initialize LCD5110, show starting-up interface, enable with
Too net controller initializes network interface LED light, enables total interruption, and initialization LwIP protocol stack (obtains IP automatically, sets
Set MAC Address), Httpd server is initialized, initialization timer, initialization SSI is related to CGI, initializes the port I/O, just
Beginningization key, initialization ammeter is related, and initialization terminates, LCD clear screen, shows title and IP.After initialization, mark is called
Topic, controls buzzer and LED state by browser, and buzzer and LED state are shown in webpage and locally, together
When the collected ammeter parameter of scrolling display gateway and temperature, system judge key whether press down decision show runing time or
Message content.The system can not only real time on-line monitoring, show power consumer every electrical energy parameter, moreover it is possible to monitor network operation
State and fault pre-alarming, remote control operation.Meanwhile it is by the system that effective development for pushing low-carbon electric power and modern times is intelligent
The construction of power grid, and will further promote grid company electric service level and management level.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, and technical solution of the present invention proposes a kind of new
Based on Internet of Things three phase electrical parameters monitoring and electric energy metered system, can real time on-line monitoring, show power consumer items
Electrical energy parameter and realization frequency analysis and harmonic electric energy metering, the also long-range control of support data remote transmission and external equipment
System, functional diversities.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.