SD card-based event recording multifunctional ammeter
By using SD cards as data storage carriers in electricity meters, combined with power supply circuits and identification chip IDs, flexible sharing and high compatibility of power quality parameters are achieved. This solves the problems of data movement and compatibility in power systems, improves the versatility of equipment and the reliability of data storage, and provides real-time monitoring and fault analysis functions.
Patent Information
- Application Number
- CN202423150527.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2034-12-20
AI Technical Summary
The existing power system lacks a tool that is easy to move and highly compatible to record power quality parameters, and traditional FLASH memory is not easy to move and has limited compatibility.
It uses SD cards as data storage media, and combines power supply circuits and identification chip IDs to achieve compatibility with different types of SD cards. It has a built-in bad block management unit, supports RS485 and 4G wireless communication, and has event logging function.
It enables flexible data sharing among different devices, improves device compatibility and versatility, enhances the reliability and flexibility of data storage, and provides real-time monitoring and fault analysis capabilities.
Smart Images

Figure CN223827739U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of information recording technology for multi-functional electricity meters, and in particular to an event recording multi-functional electricity meter based on an SD card. Background Technology
[0002] With the rapid development of modern industry and the widespread application of numerous complex electronic devices, the scale and complexity of power systems are constantly increasing. In the early days, power systems primarily focused on the supply of electrical energy and basic energy metering, such as traditional active and reactive energy metering. However, with the increasing demands for power quality from sophisticated electronic devices (such as computer servers and high-precision medical equipment), power systems require a tool to record detailed parameters of power quality.
[0003] The invention patent with publication number CN104931775A discloses a three-phase energy meter with power quality analysis and network communication capabilities. This energy meter uses a DSP to acquire high-precision voltage and current signals at high speed, accurately reconstructs the voltage and current waveforms of the power supply based on a large amount of instantaneous data, and calculates various basic power supply parameters. Another microcontroller is used to calculate power quality parameters, including 50th voltage (current) harmonics, grid frequency deviation, voltage deviation, three-phase voltage imbalance, voltage fluctuation and flicker, power, power factor, and interharmonics (50th). The energy meter also supports Ethernet communication and FLASH memory storage. However, different devices cannot use Ethernet communication, and data is stored using FLASH memory. FLASH memory is inconvenient to move and may not be supported by some devices.
[0004] Therefore, providing a multi-functional event logging meter that allows for convenient data transfer and high compatibility is an urgent problem to be solved. Utility Model Content
[0005] The purpose of this invention is to overcome the shortcomings of the existing technology and provide a multi-functional meter with event recording based on an SD card.
[0006] The objective of this utility model can be achieved through the following technical solutions:
[0007] According to one aspect of the present invention, an event recording multifunction meter based on an SD card is provided, including a main MCU module, a voltage and current sampling module, a metering module, and an SD card module. The main MCU module is communicatively connected to the voltage and current sampling module, the metering module, and the SD card module. The SD card module includes an SD card and an SD card adaptation circuit for identifying the SD card type and transmitting data to the SD card. The SD card adaptation circuit is communicatively connected to the SD card.
[0008] As a preferred technical solution, the SD card includes a bad block management unit for automatically detecting and marking bad blocks.
[0009] As a preferred technical solution, the SD card adaptation circuit includes a power supply circuit for identifying the SD card type.
[0010] As a preferred technical solution, the voltage and current sampling module includes a voltage sampling circuit and a current sampling circuit, which are respectively communicatively connected to the metering module.
[0011] As a preferred technical solution, the electricity meter also includes a wireless 4G module, which is communicatively connected to the main MCU module.
[0012] As a preferred technical solution, the meter also includes an RS485 module, which is communicatively connected to the main MCU module.
[0013] As a preferred technical solution, the meter also includes a temperature measuring module, which includes a temperature measuring probe and a temperature analog input circuit. The temperature analog input circuit is communicatively connected to the temperature measuring probe and the main MCU module, respectively.
[0014] As a preferred technical solution, the meter also includes a display module, which is communicatively connected to the main MCU module.
[0015] As a preferred technical solution, the display module is a display module made of a dot-matrix LCD color screen.
[0016] As a preferred technical solution, the meter also includes a key input module, which is communicatively connected to the main MCU module.
[0017] Compared with the prior art, the present invention has the following beneficial effects:
[0018] 1. This utility model uses an SD card as the data storage carrier, which can be easily inserted and removed, facilitating data sharing between different devices. It allows users to easily transfer data from one device to another, increasing data flexibility and availability. It is supported by consumer electronic devices and most professional equipment, and has good compatibility.
[0019] 2. This utility model identifies different types of SD cards by combining electronic circuitry and an ID identification chip, enabling the device to be compatible with multiple types of SD cards without the need to design separate circuits for each type of SD card, thus improving the device's versatility and compatibility.
[0020] 3. The SD card of this utility model has a built-in bad block management unit, which can automatically detect and mark bad blocks and redistribute the data to other available locations for storage, thereby improving the reliability of data storage. Compared with ordinary built-in flash, the SD card has the characteristics of portability, large capacity, no mechanical structure and strong reliability and durability.
[0021] 4. This utility model has RS485 communication and 4G wireless communication modes, and can select different customized network protocols according to the actual platform server connected. Attached Figure Description
[0022] Figure 1 This is a schematic diagram of the overall structure of this utility model;
[0023] Figure 2 This is a schematic diagram of the SD card module circuit connection for this utility model.
[0024] Figure 3 This is a waveform diagram of the present invention. Detailed Implementation
[0025] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some, not all, of the embodiments of the present utility model. Based on the embodiments of the present utility model, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present utility model.
[0026] With the rapid development of modern industry and the widespread application of numerous complex electronic devices, the scale and complexity of power systems are constantly increasing. In the early days, power systems primarily focused on the supply of electrical energy and basic energy metering, such as traditional active and reactive energy metering. However, with the increasing demands for power quality from sophisticated electronic devices (such as computer servers and high-precision medical equipment), power systems require a tool to record detailed parameters of power quality.
[0027] Currently, multi-function meters do not have the function of recording power quality data.
[0028] The demands of businesses and society for energy management are shifting from extensive to intensive approaches. Previously, businesses primarily focused on total electricity consumption and costs, but now they are increasingly emphasizing the impact of power quality on equipment lifespan and operational efficiency. The power quality recording function of multi-functional meters allows for detailed analysis of power quality conditions over different time periods.
[0029] The gradual commercialization of the electricity market has also spurred the development of power quality recording functions in multi-functional meters. In the electricity market, power quality is a crucial factor for both electricity suppliers and users. Suppliers are required to provide users with electricity that meets certain quality standards, while users have the right to demand a high-quality power supply.
[0030] The construction of smart grids is an important development direction for modern power systems. Smart grids require real-time monitoring, control, and optimization of the power system. Power quality logging is a crucial component of smart grid monitoring. By logging events, we can understand the startup patterns of equipment, thus providing data support for optimizing power consumption plans and reducing electricity costs.
[0031] Therefore, this utility model provides a multi-functional event logging meter based on an SD card. This utility model uses an SD card as the data storage medium, which can be easily inserted and removed, facilitating data sharing between different devices. Users can easily transfer data from one device to another, increasing data flexibility and availability. It is supported by consumer electronics and most professional equipment, exhibiting good compatibility. This utility model identifies different types of SD cards through a combination of electronic circuitry and an identification chip ID, enabling the device to be compatible with multiple types of SD cards without requiring separate circuit design for each SD card specification, thus improving the device's versatility and compatibility. The SD card in this utility model has a built-in bad block management unit that can automatically detect and mark bad blocks and reallocate the data to other available locations for storage, improving data storage reliability. Compared to ordinary built-in flash memory, SD cards are characterized by portability, large capacity, no mechanical structure, and high reliability and durability. This utility model features RS485 communication and 4G wireless communication, allowing selection of different customized network protocols based on the actual connected platform server.
[0032] Example 1
[0033] like Figure 1 and Figure 2 As shown, an event recording multifunction meter based on an SD card includes a main MCU module 1, a voltage and current sampling module 9, a metering module 8, and an SD card module 7. The main MCU module 1 is communicatively connected to the voltage and current sampling module 9, the metering module 8, and the SD card module 7. The SD card module 7 includes an SD card and an SD card adaptation circuit for identifying the SD card type and transmitting data to the SD card. The SD card adaptation circuit is communicatively connected to the SD card.
[0034] The SD card includes a bad block management unit for automatically detecting and marking bad blocks.
[0035] The SD card adaptation circuit includes a power supply circuit for identifying the SD card type.
[0036] The SD card includes a bad block management unit that automatically detects and marks bad blocks and reallocates the data. The SD card adaptation circuit includes a power supply circuit, which identifies the SD card type, either by recognizing the SD card's chip ID. Current above 200mA indicates SDXC, while current between 20-200mA indicates SDHC. Under the same power supply conditions, the SD card type is further confirmed by reading the SD card number from the software.
[0037] In this embodiment, the main MCU module 1 is based on the ARM Cortex-M4 core, which has high computing power. This core includes a single-precision floating-point unit (FPU), capable of efficiently handling complex floating-point operations, making it suitable for applications with high computing power requirements. Its maximum operating frequency can reach 180MHz, at which frequency it can provide 225 DMIPS (millions of instructions per second) / 608 CoreMark performance when executing code from flash memory. It has 512KB to 2MB of flash memory and 256KB of SRAM, providing ample space for variable storage, stacks, etc., during program execution. It boasts a rich array of enhanced peripherals and I / O ports, with up to 20 communication interfaces, including 4 USARTs (Universal Synchronous Asynchronous Receivers), 4 UARTs (Universal Asynchronous Receivers) with a speed of up to 11.25 Mbit / s, 6 SPIs (Serial Peripheral Interfaces) with a speed of up to 45 Mbit / s, and 3 I / O ports with a new optional digital filter function. 2 C (internal integrated circuit), 2 CAN (Controller Area Network) ports, and SDIO (Secure Digital Input / Output), etc.
[0038] SD card module 7, such as Figure 2The TF-WL shown is a Secure SD Card, a new generation of memory device based on semiconductor flash memory. SD card interfaces typically use either SPI or SDIO communication protocols. SPI is a synchronous serial communication protocol that uses four lines for data transmission: clock (SCK), data (MISO and MOSI), and chip select (CS). SDIO is an extended protocol based on SPI, adding additional control lines and data transmission modes to support higher-speed data transmission and more functions. In terms of physical connections, SD card pins mainly include power pins (VDD), ground pins (GND), command pins (CMD), and data pins (DAT0-DAT3). When an SD card is inserted into a device, the power pins begin supplying power, providing energy for the SD card's internal circuitry to start. When the device needs to communicate with the SD card, it sends commands and data through the SD card interface. Upon receiving a command, the SD card performs the corresponding operation based on the command type, such as reading data, writing data, or erasing data. During data transmission, the SD card monitors and records real-time power quality data. This data can be read by a card reader and displayed on the maintenance personnel's computer. The system allows them to view the on-site power quality data and analyze on-site faults by recording events such as power outages and restorations. This data can be used to... Figure 3 The power quality data is stored on an SD card, and the power quality data and event log files can be exported from the SD card.
[0039] Through these event logs, power supply departments can quickly pinpoint the time and location of faults based on the events recorded by electricity meters. For example, by analyzing the undervoltage records of multiple adjacent electricity meters, the extent of the faulty line can be roughly determined, reducing the time and manpower costs of troubleshooting. In a complex power grid, the event logs of electricity meters act like "fault detectors," providing clues for staff. Event logs help determine the accuracy of electricity metering during abnormal events. For example, during undervoltage or phase loss, electricity metering may be affected. By recording these events, electricity metering during abnormal periods can be corrected or evaluated, ensuring the interests of both users and power supply companies. For instance, in the case of three-phase imbalance, the events recorded by electricity meters can provide a basis for subsequent accurate calculation of electricity consumption.
[0040] SD cards are very small and lightweight. A common microSD card measures only about 11mm × 15mm × 1mm, making them easy to carry and insert into various SD card-compatible devices such as digital cameras, mobile phones, tablets, and game consoles. Suitable for mobile devices, users can easily slip them into their pockets or wallets for convenient data access anytime, anywhere. As a removable storage medium, it allows for easy insertion and removal, facilitating data sharing between different devices. Users can easily transfer data from one device to another, increasing data flexibility and availability. SD cards are a universal storage standard supported by almost all consumer electronics and most professional devices, offering excellent compatibility. There's no need to worry about device compatibility issues; as long as the device has an SD card slot, a compatible SD card can be used to expand storage capacity. SD cards are available in various capacities, ranging from a few GB to several TB, such as common 32GB, 64GB, 128GB, and 256GB, and even SDUC cards up to 128TB. Users can choose the appropriate capacity based on their needs. SD cards have built-in bad block management, which automatically detects and marks bad blocks in the storage medium and reallocates the data to other available storage units. This extends the lifespan of the SD card and improves data storage reliability, eliminating concerns about data loss due to bad blocks. Compared to ordinary built-in flash memory, SD cards offer greater portability, capacity, no mechanical structure, and superior reliability and durability.
[0041] The adaptive circuit of SD card module 7 identifies different types of SD cards through a combination of hardware and software, using a power supply circuit and software to recognize the chip ID. This allows the device to be compatible with multiple types of SD cards, eliminating the need for separate circuit design for each SD card specification and improving the device's versatility and compatibility. SD card communication protocols are constantly being updated, from the early SPI mode to the later SDIO mode. The adaptive circuit automatically adjusts and matches the communication protocol supported by the inserted SD card, ensuring normal communication between the device and the SD card. Based on the identified SD card, the software configuration can optimize its performance, selecting a higher communication rate for faster read and write speeds, reducing data transmission time, and optimizing read and write performance. The coupling capacitors in the adaptive circuit effectively prevent interference from various factors in the hardware connection, improving system stability and reliability. For example, the anti-interference capability of the SD card adaptive circuit is particularly important in places with dense electronic devices or in environments with complex wireless signals. The adaptive circuit dynamically adjusts the power supply and circuit operating mode according to the SD card's working status and data transmission requirements. When the SD card is in idle or low-power mode, it automatically reduces the power consumption of related circuits, reducing unnecessary energy consumption and improving device efficiency.
[0042] The voltage and current sampling module 9 includes a voltage sampling circuit 10 and a current sampling circuit 11, which are respectively connected to the metering module 8 for providing voltage and current signals to the metering chip.
[0043] The meter also includes a wireless 4G module 6, which is communicatively connected to the main MCU module 1. The wireless 4G module communicates with an external network server. The external network server includes public IoT platforms and internal network servers. The wireless 4G module is an LTE Cat1 wireless communication module developed by Quectel Wireless Solutions for the M2M and IoT fields, supporting a maximum downlink rate of 10Mbps and a maximum uplink rate of 5Mbps. Relying on the existing 4G network, it achieves good coverage, effectively avoids the risks of 2G / 3G network shutdown, and features ultra-low power consumption, low latency, and good mobility, making it suitable for automation needs.
[0044] The electricity meter also includes an RS485 module 5, which is communicatively connected to the main MCU module 1. The RS485 module enables the electricity meter to communicate with RS485-enabled devices via wired connections.
[0045] The meter also includes a temperature measuring module 3, which comprises a temperature probe and a temperature analog input circuit. The temperature analog input circuit is communicatively connected to both the temperature probe and the main MCU module 1. The temperature measuring module 3 includes a temperature probe and a temperature analog input circuit connected in sequence, with the temperature analog input circuit connected to the main MCU module 1. The temperature probe has four channels. The four temperature probes, along with the temperature analog input from the temperature measuring circuit, transmit the temperature data to the main MCU module 1.
[0046] The meter also includes a display module 2, which is communicatively connected to the main MCU module 1.
[0047] The display module 2 is a display module made of a dot-matrix LCD color screen.
[0048] The meter also includes a key input module 4, which is communicatively connected to the main MCU module 1.
[0049] In this embodiment, the display module 2 is used to display relevant information such as electrical parameters, power consumption, and signal values. Combined with the key input module 4, it allows for parameter setting. Unlike ordinary segment LCDs, the display module of this invention uses a dot-matrix color LCD screen, which can utilize a wider character library. It can differentiate three-phase power data by color, not being limited to the limited content displayed on a regular screen, offering strong data expandability. The color screen can also display image icons, making it more intuitive. The key input module 4 is used for simple data input with the main MCU module 1. The key values input by the keys are transmitted to the control module and storage module of the main MCU. The meter also includes a power supply module to provide operating power to other modules.
[0050] The above description is merely a specific embodiment of this utility model, but the protection scope of this utility model is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this utility model, and these modifications or substitutions should all be covered within the protection scope of this utility model. Therefore, the protection scope of this utility model should be determined by the scope of the claims.
Claims
1. A multi-functional electricity meter based on SD card event recording, comprising a main MCU module (1), a voltage and current sampling module (9), a metering module (8), and an SD card module (7), wherein the main MCU module (1) is communicatively connected to the voltage and current sampling module (9), the metering module (8), and the SD card module (7), characterized in that, The SD card module (7) includes an SD card and an SD card adaptation circuit for identifying the SD card type and transmitting data to the SD card, wherein the SD card adaptation circuit is communicatively connected to the SD card.
2. The multi-functional electricity meter based on SD card event recording according to claim 1, characterized in that, The SD card includes a bad block management unit for automatically detecting and marking bad blocks.
3. The multi-functional electricity meter based on SD card event recording according to claim 1, characterized in that, The SD card adaptation circuit includes a power supply circuit for identifying the SD card type.
4. The multi-functional electricity meter based on SD card event recording according to claim 1, characterized in that, The voltage and current sampling module (9) includes a voltage sampling circuit (10) and a current sampling circuit (11), which are respectively connected to the metering module (8) in communication.
5. A multi-functional electricity meter based on an SD card for recording events, as described in claim 1, characterized in that, The meter also includes a wireless 4G module (6), which is connected to the main MCU module (1) for communication.
6. A multi-functional electricity meter based on an SD card for recording events, as described in claim 1, characterized in that, The meter also includes an RS485 module (5), which is communicatively connected to the main MCU module (1).
7. A multi-functional electricity meter based on an SD card for recording events, as described in claim 1, characterized in that, The meter also includes a temperature measuring module (3), which includes a temperature measuring probe and a temperature analog input circuit. The temperature analog input circuit is connected to the temperature measuring probe and the main MCU module (1) for communication.
8. A multi-functional electricity meter based on an SD card for recording events, as described in claim 1, characterized in that, The meter also includes a display module (2), which is communicatively connected to the main MCU module (1).
9. A multi-functional electricity meter based on an SD card for recording events, as described in claim 8, characterized in that, The display module (2) is a display module (2) made of dot matrix LCD color screen.
10. A multi-functional electricity meter based on an SD card for recording events, as described in claim 1, characterized in that, The meter also includes a key input module (4), which is communicatively connected to the main MCU module (1).
Citation Information
Patent Citations
Network multi-functional three-phase electric energy meter possessing electric energy quality analysis function
CN104931775A