A dual-mode communication circuit and dual-mode communication electric energy meter
By designing a dual-mode communication circuit that combines wireless and power line communication circuits, and by optimizing the transmission configuration using control chips and data processing chips, the problem of low communication performance in electricity meters has been solved, enabling a flexible and reliable communication method and supporting the development of smart grids.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BAODING ZHAOWEI SOFTWARE TECH CO LTD
- Filing Date
- 2023-08-22
- Publication Date
- 2026-07-14
AI Technical Summary
Existing electricity meters have low communication performance, making it difficult to achieve flexible and reliable multi-mode communication.
Design a dual-mode communication circuit, comprising a wireless communication circuit and a power line communication circuit. Through coordinated control by a control chip, combined with a wireless communication chip, signal transceiver circuit, LC oscillation circuit, and wireless filter circuit, stable wireless signal transmission is achieved. A power line communication chip, power filter module, and power line communication power supply are used to achieve stable communication on the power line. An environmental parameter analysis chip is used to optimize the transmission configuration.
It enables flexible switching between wireless and power line communication, improves communication stability and reliability, adapts to different application scenarios, and supports the construction of smart grids.
Smart Images

Figure CN117060941B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electricity meter technology, and in particular to a dual-mode communication circuit and a dual-mode communication electricity meter. Background Technology
[0002] Wireless communication technology for electricity meters plays a crucial role in the construction and development of smart grids. Currently, most electricity meters still use wired communication methods (such as RS485 communication), but wireless communication technology is gradually being applied to certain specific scenarios, such as remote meter reading and data monitoring.
[0003] Patent application number 2021115040980 discloses a heterogeneous communication method, apparatus, computer, and readable medium based on dual-mode communication, wherein the method includes the following steps:
[0004] When it is determined that the network is not a single network and there are no offline nodes in the next layer, determine whether the service quality of the next layer node is within the effective range.
[0005] If the service quality of the next-layer node is not within the effective range, construct a judgment matrix, calculate the optimal node in the next layer node through the judgment matrix, and send a network command to that node.
[0006] After receiving the networking instruction, the optimal node updates the established global routing table;
[0007] Network communication is completed based on the updated global routing table.
[0008] Patent application No. 2022100405341 discloses a method and system for integrating power lines and wireless communication for the Internet of Things (IoT) in the power sector. The system comprises a central node and multiple terminal nodes, forming a hybrid communication network topology. The cross-layer integration system includes multiple nodes, which can choose to access the network via low-voltage power lines or low-power wireless communication. If there are obstructions between nodes, power line communication is used. If there are power line carrier noise sources between nodes, wireless communication is used to establish a connection. When the distance between the source node and the target node is too large, a multi-hop relay is used to establish a connection. Relay nodes can receive signals and forward them, thereby enabling communication between the central node and other terminal nodes.
[0009] The two invention patent applications mentioned above aim to achieve the integration of multi-mode communication through corresponding systems or methods; however, they do not describe how to achieve the flexibility and reliability of dual-mode communication by integrating different circuit modules and control units.
[0010] It is evident that the existing technology still needs improvement and refinement. Summary of the Invention
[0011] In view of the shortcomings of the prior art, the purpose of this invention is to provide a wireless communication circuit and a dual-mode communication energy meter, which aims to solve the problem of low communication performance of existing energy meters.
[0012] The technical solution of the present invention is as follows:
[0013] A dual-mode communication circuit includes: a wireless communication circuit, a power line communication circuit, and a control circuit, wherein the control circuit is connected to the wireless communication circuit and the power line communication circuit respectively.
[0014] The wireless communication circuit includes:
[0015] A wireless communication chip is connected to the control circuit.
[0016] A wireless signal transceiver circuit, connected to the wireless communication chip, is used to receive and transmit signals;
[0017] An LC oscillation circuit, connected to the wireless communication chip, is used to provide an adjustable frequency clock signal;
[0018] A wireless filtering circuit, connected to the wireless communication chip, is used to filter wireless signals;
[0019] The power line communication circuit includes:
[0020] A power line communication chip is connected to the control circuit.
[0021] The power filtering module is connected to the power line communication chip;
[0022] Power line communication power supply, connected to the power line communication circuit, is used to provide power to the power line communication chip;
[0023] The control circuit includes:
[0024] A control chip is connected to the wireless communication circuit and the power line communication circuit respectively, and is used to control the wireless communication chip and the power line communication circuit.
[0025] The advantages of the above technical solution are as follows: The wireless communication circuit provided by this invention realizes dual-mode communication, that is, it simultaneously supports wireless communication and power line communication, thus providing a more flexible communication method. Users can choose to use wireless communication or power line communication as needed to adapt to different application scenarios. Moreover, through the synergistic effect of the wireless communication chip, signal transceiver circuit, LC oscillation circuit, and wireless filtering circuit, the reception and transmission of wireless signals are realized. The LC oscillation circuit provides an adjustable frequency clock signal, and the wireless filtering circuit filters the wireless signal, thereby realizing stable wireless communication. In addition, through the combination of the power line communication chip, power filtering module, and power line communication power supply, communication on the power line is realized. The power filtering module is used to filter out interference on the power line, and the power line communication power supply provides the necessary power to the power line communication chip, thereby realizing stable power line communication. The control chip connects the wireless communication circuit and the power line communication circuit, realizing centralized control of the two communication modes, allowing users to easily switch communication modes and flexibly control the communication process.
[0026] In one embodiment, the distance between the wireless communication chip and the LC oscillation circuit is less than a first preset distance; the distance between the wireless communication chip and the wireless filtering circuit is less than a second preset distance.
[0027] The advantages of the above technical solution are as follows: By keeping the wireless communication chip and the LC oscillation circuit close together, the present invention ensures stable clock signal transmission, thereby effectively reducing signal attenuation and distortion during transmission, maintaining signal strength and quality, and providing a reliable foundation for communication; by controlling the distance between the wireless communication chip and the wireless filtering circuit, the function of the filtering circuit is maximized to filter out external interference during communication, enabling the communication system to better cope with complex channel environments and improve the stability and anti-interference capability of the communication system; through precise distance control, the present invention integrates the stable clock signal provided by the LC oscillation circuit and the optimized filtering effect of the wireless filtering circuit, enabling the dual-mode communication circuit to overcome transmission loss in wireless communication and interference problems in power line communication, achieving more stable and reliable dual-mode communication, thereby providing strong support for the construction of smart grids.
[0028] In one embodiment, the wireless signal transceiver circuit includes:
[0029] A modulation amplifier circuit, connected to the wireless communication chip, is used to modulate and amplify radio frequency signals;
[0030] The antenna, connected to the radio frequency front end, is used to provide wireless signal transmission and reception functions.
[0031] The advantages of the above technical solution are as follows: the modulation amplifier circuit, with its precise modulation capability, converts digital information into radio frequency signals, which are then amplified. Through a reasonable modulation and amplification process, it ensures that the signal maintains sufficient strength and appropriate spectral characteristics during transmission, bringing efficient signal transmission to the communication system and improving communication speed and transmission distance. The antenna, as a key component of the radio frequency front-end, converts electrical signals into electromagnetic waves and radiates them into space. At the receiving end, the antenna converts external wireless signals into electrical signals and transmits them to the modulation amplifier circuit for further processing. At the transmitting end, the modulation amplifier circuit amplifies the signal and then converts it into a wireless signal through the antenna, ensuring reliable signal transmission in space. This gives the dual-mode communication circuit excellent signal reception and transmission capabilities. By fully integrating the modulation amplification principle and the antenna working principle, this invention makes a positive contribution to the performance improvement and optimization of dual-mode communication circuits, as well as the construction and development of smart grids, in achieving efficient signal transmission and reliable signal reception and transmission.
[0032] In one embodiment, the modulation amplifier circuit includes:
[0033] The radio frequency pin is connected to the wireless communication chip and is used to communicate with the wireless communication chip.
[0034] The first capacitor is connected to the radio frequency pin;
[0035] The first inductor is connected to the first capacitor;
[0036] The second capacitor is connected to the first inductor;
[0037] The second inductor is connected to the second capacitor;
[0038] The third capacitor is connected to the second inductor;
[0039] A transmit / receive switch, connected to the third capacitor and the antenna, is used to switch between transmit and receive states.
[0040] The advantages of the above technical solution are as follows: the capacitors and inductors in the modulation amplifier circuit form a resonant circuit network, aiming to achieve precise modulation and amplification of radio frequency signals. The capacitors store charge, while the inductors store magnetic energy; together, they adjust the amplitude and frequency characteristics of the signal, generating efficient signal modulation and ensuring that the transmitted signal possesses the required characteristics in the spectrum, thereby improving communication quality. The transceiver switch, as a key component of the circuit, realizes the function of switching between transmitting and receiving states. In the transmitting state, the switch connects to the antenna, allowing the modulated and amplified signal to be transmitted into space. In the receiving state, the switch switches to the corresponding position, guiding external signals from the antenna to the subsequent processing unit. This switching enables real-time bidirectional communication. This invention, by ingeniously combining the functions of capacitors, inductors, and transceiver switches, not only achieves efficient signal processing but also successfully realizes the switching function for bidirectional communication, providing more reliable technical support for wireless signal transmission and bidirectional communication in dual-mode communication circuits.
[0041] In one embodiment, the RF pin is a 50-ohm impedance-matched cable or transmission line.
[0042] The advantages of the above technical solution are as follows: 50 ohms impedance is a common standard impedance value in the field of wireless communication. Using 50-ohm impedance-matched RF pins can, on the one hand, achieve maximum power transmission, ensuring maximum signal transmission from the wireless communication chip to other circuit components, thereby improving signal transmission efficiency and system performance. On the other hand, it can effectively reduce signal reflection and distortion. Since wireless communication systems typically operate in high-frequency ranges, reflection and distortion can lead to signal quality degradation. Using 50-ohm impedance-matched RF pins helps reduce signal reflection, improving the accuracy and stability of signal transmission. Furthermore, 50-ohm impedance matching helps match the resistance characteristics between different components, thereby reducing losses during signal transmission to maintain signal strength and reduce energy loss during transmission, thus improving the transmission range and stability of the communication system. Therefore, this invention, by using 50-ohm impedance-matched RF pins, can achieve efficient signal transmission, minimize signal reflection and distortion, and reduce signal loss, thereby providing the system with more reliable and efficient communication performance and providing a solid technical foundation for dual-mode communication of wireless and power line communication.
[0043] In one embodiment, the dual-mode communication circuit further includes:
[0044] A data processing chip, connected to the control chip, is used for energy metering and power measurement.
[0045] The advantages of the above technical solution are as follows: The data processing chip has the ability to accurately measure and calculate electrical energy and power, accurately measure energy consumption and distribution, and monitor power fluctuations in the power system. Through accurate measurement, precise energy management can be achieved, providing data support for the operation and optimization of the smart grid. Since the control chip can process and analyze data from different communication modes, the data processing chip, through its connection with the control chip, achieves data integration and exchange, enabling unified processing of data collected from different communication channels in one place, facilitating data analysis and decision-making. In addition, the data processing chip can monitor changes in electrical energy and power in real time, and through the control chip, it can provide real-time feedback, allowing for real-time monitoring of energy usage. Users can promptly understand energy consumption, thereby better managing energy use and improving energy efficiency.
[0046] In one embodiment, the dual-mode communication circuit further includes a data processing chip used to determine the relationship between environmental parameters and transmission quality.
[0047] The transmission configuration parameters are determined based on the relationship between environmental parameters and transmission quality; the data processing chip is also used to output the transmission configuration parameters to the control chip;
[0048] The control chip is also used to issue dual-mode communication control signals according to the transmission configuration parameters to control the dual-mode communication.
[0049] The advantages of the above technical solution are as follows: the data processing chip can analyze the relationship between environmental parameters and transmission quality, such as physical obstacles and signal interference, thereby adapting to different environmental conditions. Through real-time monitoring and analysis of the environment, the system can automatically adjust transmission configuration parameters, optimize communication settings, and improve transmission quality and stability. Moreover, the data processing chip also determines appropriate transmission configuration parameters (these parameters may involve communication frequency, modulation method, power control, etc.) based on the relationship between environmental parameters and transmission quality. The intelligent determination of transmission configuration parameters enables the dual-mode communication circuit to be flexibly configured according to actual conditions to achieve optimal communication performance. In addition, the control chip can issue dual-mode communication control signals based on the transmission configuration parameters output by the data processing chip to achieve real-time control, enabling the system to optimize and adjust according to current transmission needs and environmental conditions, so as to maintain high efficiency and reliability of communication under different circumstances.
[0050] In one embodiment, the dual-mode communication circuit includes an environmental parameter of time; and transmission configuration parameters including transmission time, transmission method, and signal filtering parameters.
[0051] The advantages of the above technical solution are as follows: By using time as an environmental parameter and transmission time as one of the transmission configuration parameters, the data processing chip can achieve time control of communication. Precisely adjusting the transmission time can help send data at the appropriate time, avoid conflicts and collisions, and maximize transmission efficiency and reliability. Moreover, different transmission methods can be selected according to different environments to adapt to different needs, and the performance and resource utilization of the communication system can be optimized according to specific scenario requirements. The signal filtering parameters in the transmission configuration parameters can be used to optimize the signal reception quality. By reasonably setting the filtering parameters, noise interference can be reduced, irrelevant signals can be eliminated, and the accuracy and stability of the received signal can be improved.
[0052] In one embodiment, the data processing chip is also used to construct a transmission configuration neural network model; the transmission configuration neural network model outputs transmission configuration parameters based on environmental parameters;
[0053] The formula for calculating the loss function of the constructed transport configuration neural network model is as follows:
[0054] L=α×L1+β×log(1+λ×L2)
[0055] Where L1 is the bit error rate loss function, L2 is the interruption probability loss function, α and β are the first and second coefficients, respectively, which control the weights of different parts of the loss, and λ is a regularization parameter.
[0056] The advantages of the above technical solution are as follows: It leverages the capabilities of neural networks to learn the complex relationships between environmental parameters and transmission configuration parameters. Based on this, a neural network model can be constructed to output corresponding transmission configuration parameters based on environmental parameters, thereby automatically adjusting the communication system's operating mode and parameters to adapt to different working scenarios and transmission requirements. The loss function comprehensively considers and balances transmission quality and reliability, enabling the neural network model to learn and predict transmission configuration parameters more effectively, thus giving the communication system better transmission quality and stability. Based on the transmission configuration neural network model and the calculation formula of the loss function, the data processing chip can calculate the optimal transmission configuration parameters based on real-time environmental parameter input. This allows for dynamic adjustment according to different environmental conditions and transmission requirements, improving the adaptability and flexibility of the communication system, optimizing its performance, and enhancing data transmission reliability and efficiency.
[0057] The present invention provides a dual-mode communication energy meter, wherein the dual-mode communication circuit described above is included.
[0058] The advantages of the above technical solution are as follows: The dual-mode communication energy meter of the present invention combines the advantages of wireless communication and power line communication. Through the connection of related circuits and chips, it realizes the functions of wireless communication and power line communication, which can provide a more flexible and reliable communication method to meet the application needs of different scenarios.
[0059] Compared with existing technologies, the wireless communication circuit provided by this invention achieves dual-mode communication, that is, it simultaneously supports wireless communication and power line communication, thus providing a more flexible communication method. Users can choose to use wireless communication or power line communication as needed to adapt to different application scenarios. Moreover, through the synergistic effect of the wireless communication chip, signal transceiver circuit, LC oscillation circuit, and wireless filtering circuit, the reception and transmission of wireless signals are realized. The LC oscillation circuit provides an adjustable frequency clock signal, and the wireless filtering circuit filters the wireless signal, thereby achieving stable wireless communication. In addition, through the combination of power line communication chip, power filtering module, and power line communication power supply, communication on the power line is realized. The power filtering module is used to filter out interference on the power line, and the power line communication power supply provides the necessary power to the power line communication chip, thereby achieving stable power line communication. The control chip connects the wireless communication circuit and the power line communication circuit, realizing centralized control of the two communication modes, allowing users to easily switch communication modes and flexibly control the communication process. Attached Figure Description
[0060] Figure 1 This is a schematic diagram of the dual-mode communication circuit in a preferred embodiment of the present invention.
[0061] Figure 2 This is a schematic diagram of the power supply circuit in a preferred embodiment of the present invention.
[0062] Figure 3 This is a schematic diagram of another dual-mode communication circuit in a preferred embodiment of the present invention. Detailed Implementation
[0063] This invention provides a dual-mode communication circuit and a dual-mode communication energy meter. To make the objectives, technical solutions, and effects of this invention clearer and more explicit, the invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0064] Please see Figure 1 This embodiment provides a wireless communication circuit 10, including: a wireless communication circuit 10, a power line communication circuit 20, and a control circuit 30, wherein the control circuit 30 is connected to the wireless communication circuit 10 and the power line communication circuit 20 respectively.
[0065] The wireless communication circuit 10 includes: a wireless communication chip, a wireless signal transceiver circuit, an LC oscillation circuit, and a wireless filter circuit; the wireless communication chip is connected to the control circuit 30; the wireless signal transceiver circuit is connected to the wireless communication chip and is used to receive and transmit signals; the LC oscillation circuit is connected to the wireless communication chip and is used to provide an adjustable frequency clock signal; the wireless filter circuit is connected to the wireless communication chip and is used to filter the wireless signal.
[0066] The power line communication circuit 20 includes: a power line communication chip, a power supply filtering module, and a power line communication power supply. The power line communication chip is connected to the control circuit 30; the power supply filtering module is connected to the power line communication chip; and the power line communication power supply is connected to the power line communication power supply and is used to provide power to the power line communication chip.
[0067] The control circuit 30 includes a control chip, which is connected to the wireless communication circuit 10 and the power line communication circuit 20 respectively, and is used to control the wireless communication chip and the power line communication circuit 20.
[0068] The wireless communication chip is mainly used to implement the wireless communication function of the electricity meter, such as using protocols like Wi-Fi, Bluetooth, and Zigbee for data transmission. It can communicate wirelessly with data collection systems or user equipment over a wider range, facilitating data transmission and monitoring. Optionally, the wireless communication chip model is ZZW01.
[0069] The wireless filtering circuit is specifically an LDO (Linear Regulator) wireless filtering circuit. Connecting the wireless communication chip to this circuit provides a stable power supply and filters out power noise and ripple, ensuring the normal operation of the wireless communication system. Specifically, the LDO wireless filtering circuit stabilizes the output power voltage, ensuring a reliable and stable power supply for the wireless communication chip. This is crucial for the normal operation of the wireless communication chip, as voltage fluctuations or unstable power can lead to chip malfunction or performance degradation. The LDO wireless filtering circuit effectively suppresses high-frequency noise from the power supply, filtering it out before it reaches the wireless communication chip. This helps reduce the interference of power supply noise on the performance of the wireless communication system, improving communication quality and signal stability. The LDO wireless filtering circuit also filters out ripple in the power supply, i.e., the AC component. The presence of ripple in the power supply causes periodic changes in the power supply voltage, which can lead to communication interference or increased errors in the wireless communication system. Filtering out ripple through the LDO wireless filtering circuit provides a more stable power supply.
[0070] High-speed wireless communication chips and LC oscillator circuits can be connected through frequency tuning. An LC oscillator circuit is a simple oscillator circuit based on inductors (L) and capacitors (C), whose main function is to generate an oscillation signal at a specific frequency.
[0071] Specifically, an LC oscillator circuit can provide a stable, adjustable frequency clock signal as the clock source for a high-speed wireless communication chip. The clock source is crucial for the normal operation of the chip, providing a timing signal to synchronize the actions of various components and ensure accurate data transmission and processing. By adjusting the values of the inductor and capacitor, the oscillation frequency of the LC oscillator circuit can be matched to the operating frequency required by the high-speed wireless communication chip. This allows for frequency control and tuning of the wireless communication signal, ensuring the performance and stability of the communication system. The LC oscillator circuit can directly transmit the oscillation signal as a wireless signal. By adjusting the operating frequency of the LC oscillator circuit, it can transmit wireless signals within an appropriate frequency band, enabling communication with other devices or systems.
[0072] The power line communication chip is a core component of the power line communication circuit 20. Connected to the control circuit 30, it enables data transmission with the wireless communication chip and other power line communication modules. It allows communication on power lines and provides stable data transmission capabilities. Through the power line communication chip, data exchange and remote control functions of the power line communication system can be realized.
[0073] The power filtering module connects to the power line communication chip to filter out noise and interference in the power line, ensuring the reliability and stability of power line communication data. As a transmission medium, power lines are susceptible to noise and interference introduced by environmental and equipment factors. The power filtering module effectively reduces this interference, providing clear and reliable communication signals.
[0074] The power line communication power supply is connected to the power line communication circuit 20 to provide stable power to the power line communication chip. The power line communication chip requires a power supply to provide energy support and ensure normal communication functionality. The power line communication power supply can provide appropriate power according to specific needs, ensuring the continuous and stable operation of the power line communication system.
[0075] Specifically, the wireless communication circuit 10 and the power line communication circuit 20 are respectively connected to the control chip.
[0076] Power line communication chips are primarily used for communication over power lines. They convert digital signals into power line carrier signals and transmit data through the power lines, enabling functions such as data acquisition, remote monitoring, and communication for electricity meters.
[0077] For example, a power line communication chip is a chip used for signal transmission over power lines. It includes transmitting and receiving circuits. The transmitting circuit converts digital signals into power line carrier signals and couples them onto the power line. The receiving circuit intercepts the power line carrier signals from the power line and demodulates them back to digital signals. The power line communication circuit 20 is typically connected to the control chip via interfaces such as SPI or UART.
[0078] A control chip (MCU) is a microprocessor capable of controlling the state of other devices and executing corresponding functions. The control circuit 30 includes a control chip, which is connected to both the wireless communication circuit 10 and the power line communication circuit 20, and is responsible for controlling both circuits. The control chip is connected to both the wireless communication chip and the power line communication chip. Through the control chip, the communication system can be managed and controlled, including adjusting communication parameters, coordinating data transmission between the wireless and power line communication modules, and implementing other functions to improve the performance and efficiency of the entire communication system.
[0079] The power line communication chip, power filter module, power line communication power supply and control circuit 30 work together to realize data transmission, noise filtering, energy supply and system control of the power line communication system, providing users with stable and reliable power line communication services.
[0080] The wireless communication circuit 10 of this invention includes a control chip, which can directly communicate with the wireless communication chip, facilitating control of the wireless communication chip and improving the wireless communication performance of the energy meter. Furthermore, the LC oscillation circuit provides an adjustable frequency clock signal, which is beneficial for the stable operation of the wireless communication circuit 10, ensuring accurate data transmission and processing. The wireless filtering circuit helps reduce functional failures or performance degradation of the wireless communication chip.
[0081] In one implementation, the distance between the wireless communication chip and the LC oscillation circuit is less than a first preset distance. In most scenarios, a smaller distance between the wireless communication chip and the LC oscillation circuit is better, as it helps reduce losses.
[0082] In one implementation, the distance between the wireless communication chip and the wireless filtering circuit is less than a second preset distance. In most scenarios, a smaller distance between the wireless communication chip and the wireless filtering circuit is better, as it helps reduce losses.
[0083] Depending on the context, distance refers to the distance between the two closest points located between two devices or circuits, or distance refers to the distance between two points corresponding to the geometric centers of two devices or circuits.
[0084] For example, the distance between the wireless communication chip and the LC oscillation circuit is 4 cm, and the distance between the wireless communication chip and the wireless filter circuit is 8 cm. Alternatively, the distance between the wireless communication chip and the LC oscillation circuit is 3 cm, and the distance between the wireless communication chip and the wireless filter circuit is 9 cm. In one embodiment, the wireless signal transceiver circuit includes: a modulation amplifier circuit connected to the wireless communication chip for modulating and amplifying the radio frequency signal; and an antenna connected to the radio frequency front end for providing wireless signal transmission and reception functions.
[0085] High-speed wireless communication chips are typically connected to modulation and amplification circuits and antennas. The modulation and amplification circuits include an RF front-end and an interface circuit between the chip and the RF front-end. The high-speed wireless communication chip connects to the RF front-end via a corresponding interface (such as UART or SPI) and uses an antenna for signal transmission and reception.
[0086] Specifically, the antenna provides wireless signal transmission and reception. In the wireless communication module, the antenna connects to the wireless chip via a radio frequency (RF) connector. In the power line communication module, the antenna is directly connected to the power line communication circuit 20. The RF front-end is responsible for receiving and transmitting RF signals, and performing modulation and demodulation operations. It typically includes components such as RF amplifiers, low-noise amplifiers, and mixers. The RF front-end connects to the microcontroller unit (MCU) using specific RF interfaces (such as UART, SPI, etc.).
[0087] Optionally, please refer to Figure 2 The modulation amplifier circuit includes: an RF pin 701 connected to a wireless communication chip for communication with the wireless communication chip; a first capacitor 702 connected to the RF pin 701; a first inductor 703 connected to the first capacitor 702; a second capacitor 704 connected to the first inductor 703; a second inductor 705 connected to the second capacitor 704; a third capacitor 706 connected to the second inductor 705; and a transceiver switch 707 connected to the third capacitor 706 and an antenna 708 for switching between transmit and receive states.
[0088] The RF pin is the RF output pin in a wireless signal transceiver circuit. It is typically used to transmit modulated and amplified RF signals to an external antenna.
[0089] In addition, the modulation amplifier circuit also includes a power supply pin 709 for the power amplifier. Power supply pin 709 provides the power supply voltage to the power amplifier to ensure its proper operation and provide sufficient output power.
[0090] In one implementation, the RF pins are 50-ohm impedance-matched cables or transmission lines.
[0091] Because radio frequency signals can experience reflection and attenuation on different transmission lines, 50-ohm impedance matching can reduce these problems and provide good signal transmission performance.
[0092] In one of the implementation methods, please refer to Figure 3 The dual-mode communication circuit also includes a data processing chip 40. The data processing chip 40 is connected to the control chip and is used for power metering and energy measurement.
[0093] The data processing chip 40 is capable of processing data, performing energy metering, and measuring power. Generally, compared to the control chip, the data processing chip 40 has higher computing power and can perform complex calculations. The data processing chip 40 can be a CPU or a GPU; the specific model can be determined as needed.
[0094] The data processing chip 40 measures current and voltage, and performs calculations based on power measurement and power measurement algorithms to obtain accurate power consumption data. This enables precise monitoring and measurement of power consumption, helping users to manage energy and develop energy-saving measures.
[0095] In addition, the data processing chip 40 can achieve accurate and stable power metering and power measurement based on the acquired data. It can acquire minute changes in current and voltage, which is beneficial to the accuracy and reliability of the measurement results and provides users with real and reliable power data.
[0096] In one embodiment, the dual-mode communication circuit includes a data processing chip 40 that is further configured to determine the relationship between environmental parameters and transmission quality; determine transmission configuration parameters based on the relationship between environmental parameters and transmission quality; and output the transmission configuration parameters to a control chip. The control chip is also configured to issue dual-mode communication control signals based on the transmission configuration parameters to control the dual-mode communication.
[0097] During the research, it was found that the transmission quality of dual-mode communication is affected by environmental factors such as power fluctuations, temperature changes, magnetic field interference, load variations, manufacturing processes, and calibration. Therefore, by determining the relationship between the current environmental parameters of the electricity meter and the transmission quality of dual-mode communication, communication transmission configuration parameters that can reduce the impact of environmental parameters on the transmission quality of dual-mode communication can be determined.
[0098] Environmental parameters are factors or indirectly related factors that affect the quality of dual-mode communication. For example, the relationship between environmental parameters and transmission quality can be established by collecting relevant environmental data and plotting the relationship between these factors and the transmission quality of dual-mode communication. This allows for the determination of communication transmission configuration parameters to reduce the adverse effects of environmental factors on transmission quality.
[0099] Communication transmission configuration parameters can include channel bandwidth, modulation scheme, power level, etc., which can be adjusted according to specific circumstances to maximize transmission quality and anti-interference capability. By adjusting the operating mode and parameters of dual-mode communication in real time, including frequency, power, coding, etc., the performance and transmission quality of the communication system can be optimized, and the reliability and stability of data transmission can be improved.
[0100] In one embodiment, a dual-mode communication circuit is used, wherein the environmental parameter is time, and the transmission configuration parameters include: transmission time, transmission method, and signal filtering parameters.
[0101] The research also revealed a correlation between changes in many relevant environmental factors and time. This is because human activities are a significant environmental factor, and these activities can also affect factors such as magnetic field interference and load changes, thus impacting communication quality. Generally speaking, there is a periodic relationship between time and the transmission quality of dual-mode communication.
[0102] Therefore, due to the correlation between other relevant environmental factors and time, it is not necessary to determine the relationship between a large number of environmental factors and transmission quality, so that high transmission quality can be achieved. At the same time, it can reduce computational complexity and workload, and is also conducive to cost control of dual-mode communication energy meters.
[0103] For example, environmental factors also include weather conditions. Specifically, weather data can be obtained from a backend server or through relevant sensors.
[0104] In one embodiment, the dual-mode communication circuit includes a data processing chip 40 that is also used to construct a transmission configuration neural network model; the transmission configuration neural network model outputs transmission configuration parameters based on environmental parameters.
[0105] Due to varying environments, appropriate transmission configuration parameters need to be set for each dual-mode communication energy meter. Manually determining these parameters would incur significant labor costs. Therefore, a transmission configuration neural network model can be constructed to determine the relationship between time and transmission quality, and output the transmission configuration parameters.
[0106] Generally, transport configuration neural network models do not need to be particularly complex. A transport configuration neural network model can be a simple two-layer neural network model or a VGG neural network. In the simple two-layer neural network model, time is used as input, passing through a simple convolutional neural network containing two convolutional layers and two pooling layers, finally connected to two fully connected layers. The first convolutional layer uses 32 3x3 convolutional kernels, and the second convolutional layer uses 50 3x3 convolutional kernels with a stride of 1. The activation function is ReLU, and each convolutional layer is followed by a 2x2 max-pooling layer. The first fully connected layer uses 24 neurons with the ReLU activation function; the second fully connected layer uses 1 / 2 neurons, and the classifier uses the Softmax function for the output.
[0107] Building a transmission configuration neural network model primarily involves updating the parameters of the neural network model based on a loss function, thereby bringing the loss function to convergence. Specifically, after the electricity meter is deployed, a period of data training is required to train the transmission configuration neural network model; the specific training time depends on the number of training iterations and the training results. The loss function optimizes the configuration parameters by minimizing the bit error rate and the probability of interruption.
[0108] For example, the formula for calculating the loss function is:
[0109] L=α×L1+β×L2
[0110] Where L1 is the bit error rate loss function, L2 is the interruption probability loss function, and α and β are the first and second coefficients, respectively, controlling the weights of different parts of the loss.
[0111] Optionally, the loss function can be calculated as follows:
[0112] L=α×L1+β×L2+γ×L3+δ×L4
[0113] Where L1 is the bit error rate loss function, L2 is the interruption probability loss function, L3 is the communication cost, and L4 is the regularization term, with α, β, γ, and δ being the first, second, third, and fourth coefficients, respectively, controlling the weights of different parts of the loss.
[0114] Communication cost refers to the cost incurred by using different configuration parameters for communication, thereby determining the communication frequency, time, and other configuration parameters.
[0115] Regularization is a technique used to control model complexity. By adding regularization terms, overfitting can be prevented and the model's generalization ability can be improved.
[0116] Optionally, the loss function can be calculated as follows:
[0117] L=α×L1+β×log(1+λ×L2)
[0118] Where L1 is the bit error rate loss function, L2 is the interruption probability loss function, α and β are the first and second coefficients, respectively, which control the weights of different parts of the loss, and λ is a regularization parameter.
[0119] The key feature of this loss function is that it uses a log transformation on the interruption probability loss function to adapt to the characteristics of the interruption probability. log(1+λ×L2) ensures that the loss function is always greater than 0 and is highly sensitive to small changes in the interruption probability. λ is a regularization parameter used to adjust the degree of influence of the interruption probability loss function, which can be adjusted according to actual needs.
[0120] This form of loss function can simultaneously consider both bit error rate and outage probability metrics, balancing their weights during optimization. By appropriately selecting the values of α, β, and λ, the loss function can converge more easily and effectively optimize both bit error rate and outage probability. Further adjustments and optimizations to the form and coefficients of the loss function are needed based on the specific problem and application scenario.
[0121] In some embodiments, the data processing chip 40 uses a neural network algorithm to analyze environmental parameters, such as channel quality and bandwidth utilization, and determines the optimal transmission time based on these parameters. By learning from historical data and real-time environmental parameters, the neural network can predict the optimal transmission time window to maximize communication quality and reliability. This avoids transmitting data during periods of poor channel quality or peak bandwidth utilization, thus improving communication performance.
[0122] In some embodiments, the data processing chip 40 can also utilize a neural network to select the most suitable transmission method based on environmental parameters. The neural network can learn about data transmission patterns under different environmental parameters to determine whether wireless or wired communication is more suitable. Based on the neural network's decision, the data processing chip 40 can automatically switch communication modes to achieve more stable and reliable communication.
[0123] In some embodiments, the data processing chip 40 can also utilize neural network algorithms to determine signal filtering parameters based on environmental parameters. Depending on different environmental conditions, such as channel noise levels and interference levels, the neural network can learn and determine the optimal filtering parameter settings. These parameters can be used to adjust the bandwidth, gain, etc., of the signal filter to optimize the quality of the received signal.
[0124] By utilizing neural network processing methods, the data processing chip 40 can intelligently determine the transmission time, select the transmission method, and determine the signal filtering parameters based on environmental parameters, thereby improving the effectiveness and performance of communication.
[0125] This embodiment also provides a dual-mode communication energy meter, which includes the dual-mode communication circuit described above. Optionally, the data processing chip 40 of the dual-mode communication energy meter is connected to the control chip for energy metering and power measurement.
[0126] This embodiment of the dual-mode communication energy meter combines the advantages of wireless communication and power line communication. Through the connection of related circuits and chips, it realizes the functions of wireless communication and power line communication, which can provide a more flexible and reliable communication method to meet the application needs of different scenarios.
[0127] Optionally, the dual-mode communication energy meter further includes: a memory connected to the data processing chip 40 for storing the energy meter's configuration parameters and historical data information; a display connected to the data processing chip 40 for displaying the energy meter reading and power information; and a sensor connected to the data processing chip 40 for collecting the current and voltage data required by the energy meter.
[0128] Specifically, the data processing chip 40 is used to realize core functions such as energy metering, power measurement, and data processing. The control chip is responsible for the control and management of the entire energy meter system, including data acquisition, processing, and storage from various sensors, chips, and peripheral devices, as well as communication protocol processing. The memory is used to store the energy meter's configuration parameters, historical data, and other information. The display shows the energy meter readings and power information. Sensors, such as current and voltage sensors, are used to collect the current and voltage data required by the energy meter.
[0129] It should be understood that the application of the present invention is not limited to the examples above. Those skilled in the art can make improvements or modifications based on the above description, and all such improvements and modifications should fall within the protection scope of the appended claims.
Claims
1. A dual-mode communication circuit, characterized in that, include: The system includes a wireless communication circuit, a power line communication circuit, and a control circuit, wherein the control circuit is connected to the wireless communication circuit and the power line communication circuit respectively. The wireless communication circuit includes: A wireless communication chip is connected to the control circuit. A wireless signal transceiver circuit, connected to the wireless communication chip, is used to receive and transmit signals; An LC oscillation circuit, connected to the wireless communication chip, is used to provide an adjustable frequency clock signal; A wireless filtering circuit, connected to the wireless communication chip, is used to filter wireless signals; The power line communication circuit includes: A power line communication chip is connected to the control circuit. The power filtering module is connected to the power line communication chip; Power line communication power supply, used to provide power to power line communication chips; The control circuit includes: A control chip is connected to the wireless communication circuit and the power line communication circuit respectively, and is used to control the wireless communication chip and the power line communication circuit; The dual-mode communication circuit further includes: a data processing chip connected to the control chip, used for energy metering and power measurement, and for constructing a transmission configuration neural network model; the transmission configuration neural network model outputs transmission configuration parameters based on environmental parameters; The formula for calculating the loss function of the constructed transport configuration neural network model is as follows: L = α × L1 + β × log(1 + λ × L2) Where L1 is the bit error rate loss function, L2 is the interruption probability loss function, α and β are the first and second coefficients respectively, and λ is a regularization parameter; The transmission configuration neural network model is a two-layer simple neural network model or a VGG neural network; wherein, the two-layer simple neural network model uses time as input, passes through a convolutional neural network containing two convolutional layers and two pooling layers, and is finally connected to two fully connected layers; the first convolutional layer uses 32 3x3 convolutional kernels, the second convolutional layer uses 50 3x3 convolutional kernels, and the stride is 1; the activation function is ReLU, and each convolutional layer is followed by a max pooling layer with a sampling size of 2x2; the first fully connected layer uses 24 neurons, and the activation function is ReLU; the classifier of the second fully connected layer uses the Softmax function for output results.
2. The dual-mode communication circuit according to claim 1, characterized in that, The distance between the wireless communication chip and the LC oscillation circuit is less than a first preset distance; the distance between the wireless communication chip and the wireless filtering circuit is less than a second preset distance.
3. The dual-mode communication circuit according to claim 1, characterized in that, The wireless signal transceiver circuit includes: A modulation amplifier circuit, connected to the wireless communication chip, is used to modulate and amplify radio frequency signals; The antenna, connected to the radio frequency front end, is used to provide wireless signal transmission and reception functions.
4. The dual-mode communication circuit according to claim 3, characterized in that, The modulation and amplification circuit includes an RF pin, a first capacitor, a first inductor, a second capacitor, a second inductor, a third capacitor, and a transceiver switch; The first end of the radio frequency pin is electrically connected to the wireless communication chip for signal interaction with the wireless communication chip, and the second end of the radio frequency pin is electrically connected to the first end of the first capacitor. The second terminal of the first capacitor is electrically connected to the first terminal of the first inductor, and the second terminal of the first inductor is electrically connected to the first terminal of the second capacitor. The second terminal of the second capacitor is electrically connected to the first terminal of the second inductor, and the second terminal of the second inductor is electrically connected to the first terminal of the third capacitor; The second terminal of the third capacitor is electrically connected to the first terminal of the transceiver switch, and the second terminal of the transceiver switch is electrically connected to the antenna. The transceiver switch is used to switch the signal transmission and reception states of the modulation amplifier circuit.
5. The dual-mode communication circuit according to claim 4, characterized in that, The RF pins are 50-ohm impedance matched cables or transmission lines.
6. The dual-mode communication circuit according to claim 1, characterized in that, The data processing chip is also used to determine the relationship between environmental parameters and transmission quality. The data processing chip is also used to determine transmission configuration parameters based on the relationship between the environmental parameters and transmission quality. The data processing chip is also used to output the transmission configuration parameters to the control chip; The control chip is also used to issue dual-mode communication control signals according to the transmission configuration parameters in order to control the dual-mode communication.
7. The dual-mode communication circuit according to claim 1, characterized in that, The environmental parameter is time; the transmission configuration parameters include: transmission time, transmission method, and signal filtering parameters.
8. A dual-mode communication energy meter, characterized in that, Includes the dual-mode communication circuit as described in any one of claims 1 to 7.