CN214335203U - Intelligent ammeter management system - Google Patents
Intelligent ammeter management system Download PDFInfo
- Publication number
- CN214335203U CN214335203U CN202120054079.1U CN202120054079U CN214335203U CN 214335203 U CN214335203 U CN 214335203U CN 202120054079 U CN202120054079 U CN 202120054079U CN 214335203 U CN214335203 U CN 214335203U
- Authority
- CN
- China
- Prior art keywords
- circuit
- electrically connected
- metering
- control chip
- power supply
- 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.)
- Active
Links
Images
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The utility model provides an intelligence ammeter management system, including following: the power failure detection circuit comprises a main control chip, a metering circuit, a power supply circuit, a power failure detection circuit and a relay circuit; one end of the metering circuit is electrically connected with the ammeter, and the other end of the metering circuit is electrically connected with the power supply circuit through the SPI communication line; the main control chip is electrically connected with one end of the power failure detection circuit and one end of the relay circuit; the main control chip is electrically connected with the Zigbee communication module; the Zigbee communication module is electrically connected with the gateway; the gateway is in wireless communication with the server; the power supply circuit is electrically connected with the main control chip, the metering circuit, the power failure detection circuit and the relay circuit. The utility model provides a beneficial effect is: the intelligent electric meters are used as terminals to form a network, and the gateway module arranges the data and sends the data to the server in a unified mode, so that wiring in the centralized meter box can be greatly simplified, and maintenance of maintenance personnel is facilitated.
Description
Technical Field
The utility model relates to a field especially relates to an intelligence ammeter management system.
Background
The smart electric meter is a key device for supporting a smart power grid metering system. At present, the electricity consumption of residents is usually realized by intensively placing an electricity meter into a meter box, the intelligent electricity meters on the market often use RS-485 as a main communication main body, the wiring in a large number of meter boxes integrated with the intelligent electricity meters is complex, the intelligent electricity meters are not easy to maintain, the cost is too high, if the communication wiring RX and TX are reversely connected, the communication is broken and is not easy to find, and the communication is failed, so that huge loss is caused to electricity selling units. And the Nb-IoT communication can be used in the other type, so that the simple wiring and communication quality are ensured, but the cost for installing the Nb-IoT module in each intelligent electric meter is very high, and the cost performance of the intelligent electric meter is low.
Disclosure of Invention
In view of this, to above technical problem, the utility model discloses use STM32 to constitute an intelligent ammeter management system based on LwIP communication protocol for MCU's intelligent ammeter and Zigbee communication. The Zigbee wireless sensing network has the remarkable advantages of low cost, low power consumption, short time delay, strong self-organizing capability and the like, and when the electrical parameters can be accurately measured, the Zigbee modules with good communication quality communicate with each other, a plurality of intelligent electric meters are used as terminals to form a network, and the gateway modules arrange data uniformly and send the data to a server, so that the wiring in a centralized meter box can be greatly simplified, and the maintenance of maintenance personnel is facilitated.
The utility model provides a pair of intelligence ammeter management system specifically includes
The intelligent power supply system comprises a main control chip, a metering circuit, a power supply circuit, a power failure detection circuit, a relay circuit, a Zigbee communication module, a gateway and a server;
one end of the metering circuit is electrically connected with the ammeter, and the other end of the metering circuit is electrically connected with the power supply circuit through the SPI communication line;
the main control chip is electrically connected with one end of the power failure detection circuit and one end of the relay circuit;
the main control chip is electrically connected with the Zigbee communication module; the Zigbee communication module is electrically connected with the gateway;
the gateway is in wireless communication with the server;
the power supply circuit is electrically connected with the main control chip, the metering circuit, the power failure detection circuit and the relay circuit.
Furthermore, the metering circuit consists of a signal acquisition circuit and a metering chip circuit; one end of the signal acquisition circuit is connected with the mains supply; the other end is electrically connected with the metering chip circuit.
Further, the metering chip of the metering chip circuit is ATM90E 26.
Further, the power supply circuit comprises a protection circuit and a 5W power supply module; the protection circuit consists of a fuse F1, a temperature-sensitive resistor and a piezoresistor; one end of the fuse F1 is electrically connected with the commercial power; the other side is electrically connected with the 5W power supply module; the 5W power supply module is electrically connected with the voltage stabilizer AMS1117_5V and the voltage stabilizer AMS1117_3.3V respectively.
Further, the power-down detection circuit is composed of a voltage follower and a photoelectric coupler; one end of the voltage follower is electrically connected with the mains supply, and the other end of the voltage follower is electrically connected with one end of the photoelectric coupler; the other end of the photoelectric coupler is electrically connected with the ADC of the main control chip.
Furthermore, the other end of the relay circuit is electrically connected with a control chip of the ammeter.
Further, the Zigbee communication module employs a CC2530 radio frequency chip.
The gateway enables all the electric meters in one electric meter cabinet to be networked through a coordinator of a Zigbee communication module; the coordinator of the Zigbee communication module communicates with the main control chip through a serial port; the gateway is in wireless communication with the server through the router.
The utility model provides a beneficial effect is: the intelligent electric meters are used as terminals to form a network, and the gateway module arranges the data and sends the data to the server in a unified mode, so that wiring in the centralized meter box can be greatly simplified, and maintenance of maintenance personnel is facilitated.
Drawings
Fig. 1 is a structural diagram of an intelligent electricity meter management system of the present invention;
fig. 2 is a schematic diagram of the intelligent ammeter management connection of the present invention;
FIG. 3 is a schematic diagram of a network connecting the smart meter system and the server;
fig. 4 is a basic block diagram of the power supply circuit of the present invention;
fig. 5 is a schematic circuit diagram of the power supply circuit of the present invention;
FIG. 6 is a schematic diagram of a metering circuit of the present invention;
fig. 7 is a schematic diagram of the SPI communication interface of the present invention;
FIG. 8 is a schematic diagram of the power down detection circuit of the present invention;
fig. 9 is a schematic diagram of a relay circuit of the present invention;
fig. 10 is a schematic circuit diagram of a Zigbee communication module according to the present invention;
fig. 11 is a schematic diagram of the gateway circuit of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, embodiments of the present invention will be further described below with reference to the accompanying drawings.
Referring to fig. 1, an intelligent electricity meter management system includes the following:
the intelligent power supply system comprises a main control chip, a metering circuit, a power supply circuit, a power failure detection circuit, a relay circuit, a Zigbee communication module, a gateway and a server;
one end of the metering circuit is electrically connected with the ammeter, and the other end of the metering circuit is electrically connected with the power supply circuit through the SPI communication line;
the main control chip is electrically connected with one end of the power failure detection circuit and one end of the relay circuit;
the main control chip is electrically connected with the Zigbee communication module; the Zigbee communication module is electrically connected with the gateway;
the gateway is in wireless communication with the server;
the power supply circuit is electrically connected with the main control chip, the metering circuit, the power failure detection circuit and the relay circuit.
The utility model discloses in, main control chip adopts STM32F103, and it is the control core of ammeter. The measurement chip of measurement circuit adopts ATM90E26, based on above connection structure, the utility model discloses the principle of realization as follows:
the commercial power stores the parameter in the register of measurement chip ATM90E26 through voltage current acquisition circuit, and the measurement chip again transmits for control chip through SPI communication. The data is processed by the main control chip and is transmitted to the Zigbee communication module through the serial port and then to the gateway, and meanwhile, the data can be transmitted to the HIM serial port screen through the serial port to be displayed. The surrounding module circuits are controlled by the main control chip, and the power supply module provides the required working voltage for the whole system. The peripheral circuits include serial ports, keys, clocks, etc., and are not essential and will not be explained.
Please refer to fig. 2, the utility model discloses pass through Zigbee network deployment with all ammeters in an ammeter cabinet finally with coordinator wireless communication, Zigbee communication module's coordinator passes through the serial ports and communicates with the gateway, and the gateway equipment in the final ammeter cabinet uploads the server through Nb-Iot module or router with data at last.
Please refer to fig. 3, which is based on the connection principle of fig. 2; in fig. 3, each smart meter is a terminal device in a Zigbee networking, electrical parameters of each smart meter communicate with a coordinator in its own networking, the coordinator transmits data to a gateway in sequence, and the data can be identified in the gateway, for example, abnormal electricity consumption can be identified; high-load operation for a long time; whether electricity stealing behavior exists or not. And uploading the result to a server after the result is identified by a related algorithm. The correlation algorithm is not the subject of the present invention, and the present invention only emphasizes the connection mode of the electricity meter management system.
The power supply circuit comprises a protection circuit and a 5W power supply module; the protection circuit consists of a fuse F1, a temperature-sensitive resistor and a piezoresistor; one end of the fuse F1 is electrically connected with the commercial power; the other side is electrically connected with the 5W power supply module; the 5W power supply module is electrically connected with the voltage stabilizer AMS1117_5V and the voltage stabilizer AMS1117_3.3V respectively.
Referring to fig. 4 and 5, fig. 4 is a basic block diagram of a power circuit according to the present invention; fig. 5 is a schematic circuit diagram of the power supply circuit of the present invention.
The power supply circuit mainly provides stable +5V and +3.3V stable working voltage for the whole intelligent power supply. The live wire end and the zero wire end of the 220V voltage of the commercial power are connected into the ports of the electric meter. A protection circuit is formed by the fuse F1, the temperature-sensitive resistor and the piezoresistor. The fuse can be automatically fused when the current is overlarge, and the function of protecting the circuit is achieved; the temperature-sensitive resistor is used for preventing the impact current when the filter capacitor is charged to be overlarge after the circuit is electrified, and the resistance value of the temperature-sensitive resistor is increased when the line temperature is increased and the current is limited; the voltage dependent resistor then acts as a clamp. The capacitor and the inductor form a filter circuit to filter out high-frequency signals and common-mode interference in the mains supply. The 5W power supply module directly converts 220V alternating voltage into +12V direct voltage, and the 12V direct voltage outputs +5V and +3.3V voltage through the two voltage regulators AMS1117_5V and AMS1117_ 3.3V.
The metering circuit consists of a signal acquisition circuit and a metering chip circuit; one end of the signal acquisition circuit is connected with the mains supply; the other end is electrically connected with the metering chip circuit.
Referring to fig. 6, fig. 6 is a schematic diagram of a metering circuit according to the present invention;
the metering circuit mainly uses a metering chip ATM90E26 as a core, and three sigma-delta type ADCs (analog-to-digital converters) are integrated in the metering chip ATM90E 26. The sigma-delta ADC converts an analog signal of the sampling circuit into a digital signal after being processed by the sigma-delta modulator and the digital decimation filter, and sends the digital signal to the DSP module. After the digital signals are further processed by the DSP module, the electric information such as electric energy, power, voltage, frequency and the like obtained by calculation is put into a corresponding register. After the live wire and the zero wire pass through the voltage and current sampling circuit respectively, the voltage value is reduced to a voltage range which can be measured by the metering chip, and when the measurement gain of the metering chip is configured to be 1, the alternating current effective value voltage of a voltage and current port is 120 mu V-600 mV. The current test ports of the zero line are pins I2P and I2N, and the current test ports of the live line are pins I1P and I1N, so that current collection is completed; the voltage measurement ports are the VP and VN pins. The Reset pin leads out a hardware Reset circuit, the USEL is a communication mode selection pin, the metering chip and the control chip STM32F103 are in SPI communication when a low level is input, and the metering chip and the control chip are in serial communication when a high level is input. The utility model discloses select SPI communication, R7 resistance is for reserving resistance, does not connect to be connected with the USEL pin when the welding and draws low to the low level. And the SDI, the SDO, the SCLK and the CS pins form an SPI communication interface, and the data of each data register is transmitted to the control chip. The OSCO is connected with OSCI to provide an 8MHZ passive crystal oscillator for supplying working frequency for metering.
Referring to fig. 7, fig. 7 is a schematic diagram of an SPI communication interface according to the present invention;
the power failure detection circuit consists of a voltage follower and a photoelectric coupler; one end of the voltage follower is electrically connected with the mains supply, and the other end of the voltage follower is electrically connected with one end of the photoelectric coupler; the other end of the photoelectric coupler is electrically connected with the ADC of the main control chip.
Referring to fig. 8, fig. 8 is a schematic diagram of a power down detection circuit according to the present invention;
the power failure detection circuit is mainly characterized in that mains supply is connected into a voltage transformer to reduce voltage, and then a voltage follower consisting of an operational amplifier is connected to amplify current, so that the current can drive a photoelectric coupler, and the photoelectric coupler transmits a voltage value to an ADC (analog to digital converter) of a control chip STM32F 103. The photoelectric coupler plays a role in electrical isolation and can prevent overlarge current from being directly connected to the control chip to burn the chip. When the voltage on the live wire of the commercial power is lost, the ADC collects the voltage and sends the voltage to the control chip, and the control chip makes corresponding action. The port P6 is connected with a GPIO port of the control chip, and the control chip controls the opening and closing of the relay by outputting high ground level; namely, an operator can remotely start an operation instruction to the gateway through the server, the gateway controls the control chip of the electric meter, and finally the relay is controlled to be opened or closed to select whether to supply power to the user. Fig. 9 is a schematic diagram of a relay circuit.
The Zigbee communication module adopts a CC2530 radio frequency chip. As shown in fig. 10, the Zigbee communication module uses a CC2530 radio frequency chip, an 8051 single chip microcomputer and a wireless transceiver are integrated in the chip, and a CC2592 radio frequency range extender and a PA + LNA are integrated in the chip, so that the communication distance is greatly extended, and the communication stability is improved. In addition, the coordinator is electrified to automatically establish a network, the terminal and the router automatically search and join the network, and when the intermediate node of the network is lost, other networks automatically join or maintain the original network; if the coordinator is lost, the original network has non-isolated nodes, and the coordinator can join the network again or the coordinator of the PAN _ ID of the original network set by the same user joins the original network. And the device can be set to a low power consumption mode in a terminal state, and the standby power consumption in the low power consumption mode is less than 2 uA. Such a characteristic guarantees the wireless communication quality of the electricity meter. The utility model discloses set up the ammeter into the terminal, set up the gateway into the coordinator and carry out the network deployment. In the figure, DD and DC are software download ports, P1_4 to P1_7 are SPI communication pins, and P2_1 to P2_5 are serial communication pins, and a communication mode is selected according to actual requirements. RF _ P and RF _ N are antenna pins of the RF module, P2_4 and P2_3 are 32MHz operating frequencies provided by the 51 SCM, and XOSC32M _ Q1 and Q2 are 32KHz operating frequencies provided by the RF module.
The gateway enables all the electric meters in one electric meter cabinet to be networked through a coordinator of a Zigbee communication module; the coordinator of the Zigbee communication module communicates with the main control chip through a serial port; the gateway is in wireless communication with the server through the router.
Please refer to fig. 11 for a schematic diagram of a gateway circuit;
the gateway circuit is designed by taking STM32F429 as an MCU and matching with relevant peripherals. All the electric meters in one electric meter cabinet are finally in wireless communication with a coordinator through a Zigbee networking, the coordinator of a Zigbee communication module is in communication with an MCU through a serial port, electric information of all the electric meters is collected, and collected data are processed and then sent to a network card through the serial port by an MUC (multimedia subsystem), as shown in FIG. 7, U1 is an Ethernet transceiver LAN8720A which supports communication with the Ethernet through an RMII interface, the MUC sends the processed data to the network card through an RMII interface consisting of pins 1-9, and then is connected with an Ethernet interface J1 through an MDI interface consisting of pins TXN, TXP, RXN and RXP, so that data mutual transmission with a server is realized.
Based on above circuit connection, the utility model discloses the principle as follows:
when an electric meter switch button is turned on, firstly, initializing a system, namely initializing GPIO, ADC, SPI communication, serial communication, external interruption and the like which need to work by the STM 32; after the initialization is finished, voltage detection is carried out on the live wire by using the ADC and the power failure detection module; if there is no voltage, an external interrupt is triggered, a buzzer alarms, and the STM32 enters a low power mode through battery power, sending a power down event to the gateway report server. When voltage exists on a live wire, starting a metering chip ATM90E26, and reading a data register of the metering chip by using the STM32 through SPI communication; because the data stored in the register is not true and accurate data, the STM32 needs to process the data through a correct algorithm, and the processed data is displayed on a serial port screen through a serial port and sent to a gateway through a Zigbee module.
The LwIP protocol is used as the communication protocol. The utility model discloses a mode of interrupt receives data, then encapsulates into the message with data and delivers to the LwIP kernel on. In the gateway main function, the received data is mainly decomposed, the protocol stack specifies that the data is transmitted in a form of 20 bytes, the data is transmitted to the MUC only when the 20 bytes are full, then the flag bit of the data packet is clear, the real data is left for restoration, and the restored data is transmitted to the server in a mode of an LwIP protocol. The design uses a gateway design based on the LwIP protocol to receive and upload data of each terminal device, and can use the MCU of the gateway to carry out related recognition algorithm and send the ammeter data and related recognition results to the server.
The utility model has the advantages that:
1) the design realizes the cluster management of the electric meters, can intensively place a plurality of electric meters at one position, and uses the Zigbee networking mode for unified management, thereby achieving the intelligent and integrated scheme of installation, overhaul, monitoring and meter reading;
2) the design adopts a modular splicing scheme on hardware, and a CC2530 chip with extremely high cost performance is used as a communication chip, so that the ammeter system can stably and efficiently run.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the present invention, and any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention should be included within the protection scope of the present invention.
Claims (8)
1. The utility model provides an intelligence ammeter management system which characterized in that: the method comprises the following steps: the intelligent power supply system comprises a main control chip, a metering circuit, a power supply circuit, a power failure detection circuit, a relay circuit, a Zigbee communication module, a gateway and a server;
one end of the metering circuit is electrically connected with the ammeter, and the other end of the metering circuit is electrically connected with the power supply circuit through the SPI communication line;
the main control chip is electrically connected with one end of the power failure detection circuit and one end of the relay circuit;
the main control chip is electrically connected with the Zigbee communication module; the Zigbee communication module is electrically connected with the gateway;
the gateway is in wireless communication with the server;
the power supply circuit is electrically connected with the main control chip, the metering circuit, the power failure detection circuit and the relay circuit.
2. The intelligent electricity meter management system of claim 1, wherein: the metering circuit consists of a signal acquisition circuit and a metering chip circuit; one end of the signal acquisition circuit is connected with the mains supply; the other end is electrically connected with the metering chip circuit.
3. The intelligent electricity meter management system of claim 2, wherein: the metering chip of the metering chip circuit is ATM90E 26.
4. The intelligent electricity meter management system of claim 1, wherein: the power supply circuit comprises a protection circuit and a 5W power supply module; the protection circuit consists of a fuse F1, a temperature-sensitive resistor and a piezoresistor; one end of the fuse F1 is electrically connected with the commercial power; the other side is electrically connected with the 5W power supply module; the 5W power supply module is electrically connected with the voltage stabilizer AMS1117_5V and the voltage stabilizer AMS1117_3.3V respectively.
5. The intelligent electricity meter management system of claim 1, wherein: the power failure detection circuit consists of a voltage follower and a photoelectric coupler; one end of the voltage follower is electrically connected with the mains supply, and the other end of the voltage follower is electrically connected with one end of the photoelectric coupler; the other end of the photoelectric coupler is electrically connected with the ADC of the main control chip.
6. The intelligent electricity meter management system of claim 1, wherein: the other end of the relay circuit is electrically connected with a control chip of the ammeter.
7. The intelligent electricity meter management system of claim 1, wherein: the Zigbee communication module adopts a CC2530 radio frequency chip.
8. The intelligent electricity meter management system of claim 1, wherein: the gateway enables all the electric meters in one electric meter cabinet to be networked through a coordinator of a Zigbee communication module; the coordinator of the Zigbee communication module communicates with the main control chip through a serial port; the gateway is in wireless communication with the server through the router.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202120054079.1U CN214335203U (en) | 2021-01-08 | 2021-01-08 | Intelligent ammeter management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202120054079.1U CN214335203U (en) | 2021-01-08 | 2021-01-08 | Intelligent ammeter management system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN214335203U true CN214335203U (en) | 2021-10-01 |
Family
ID=77905543
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202120054079.1U Active CN214335203U (en) | 2021-01-08 | 2021-01-08 | Intelligent ammeter management system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN214335203U (en) |
-
2021
- 2021-01-08 CN CN202120054079.1U patent/CN214335203U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101902077A (en) | Operating data monitoring and alarming system of converting stations | |
CN101290514A (en) | Energy-saving monitoring system and its energy-saving control method | |
CN215641543U (en) | Line monitoring terminal with characteristic signal sending and identifying functions | |
CN101237156B (en) | Realization method for wall-hang energy-saving high-frequency switch DC power system | |
CN201789339U (en) | Substation operational data monitoring and warning system | |
CN104319895B (en) | A kind of Intelligent power distribution path monitoring terminal | |
CN201332299Y (en) | Single-phase multifunctional electric power monitoring apparatus | |
CN201097457Y (en) | Railway signal monitoring network system based on ZigBee | |
CN201278005Y (en) | Wireless monitoring apparatus for electric power system lightning arrestor | |
CN103257267B (en) | Built-in electric energy collection module of household appliance | |
CN110764045A (en) | Verification system and verification method for digital metering of intelligent substation | |
CN208635836U (en) | A kind of CAN bus based power information acquisition system | |
CN214335203U (en) | Intelligent ammeter management system | |
CN109599944A (en) | Intelligent distribution transformer terminals | |
CN109100585A (en) | A kind of Terminal Substation monitoring system based on the LoRa communication technology | |
CN109752589B (en) | Low-voltage intelligent monitoring system | |
CN214544307U (en) | Energy consumption data acquisition unit of Internet of things framework with power line broadband | |
CN109212434A (en) | A kind of high-frequency direct-current switch power supply current-voltage-humiture monitoring device | |
CN206920543U (en) | A kind of transmission line online monitoring system | |
CN205506995U (en) | Overhead line monitoring and fault indication device based on from networking model | |
CN213602447U (en) | Intelligent box-type substation online monitoring system | |
CN213904530U (en) | Digital meter reading communication system | |
CN209709758U (en) | A kind of distribution transformer Integral digital intelligent terminal | |
CN209570637U (en) | A kind of low-voltage intelligent terminal system | |
CN107677321A (en) | A kind of power information acquisition system based on CAN |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |