Metering module for controlling and protecting switching device

By designing the metering modules of current transformers, voltage transformers, resistor voltage dividers and microcontrollers in control and protection switch appliances, the problem of CPS lacking metering function is solved, and high-precision power metering and remote monitoring are achieved.

CN119846306APending Publication Date: 2025-04-18ZHEJIANG ZHONGKAI SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411995129.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

In the prior art, control and protection switch appliances (CPS) rarely have metrological functions, making it difficult to meet the market's demand for precise metrology.

Method used

A metering module including a current transformer, a voltage transformer, a resistive voltage divider unit and a microcontroller is designed to collect, divide and convert current and voltage signals through these components to achieve accurate measurement of the alternating current inside the CPS.

Benefits of technology

It improves the accuracy and reliability of power metering, realizes accurate measurement under the premise of safety, and realizes remote monitoring and parameter modification through the communication interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119846306A_ABST
    Figure CN119846306A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electric energy metering, and discloses a metering module for controlling and protecting a switching device, which comprises a current transformer, a voltage transformer, a first resistance voltage dividing unit, a second resistance voltage dividing unit and a microcontroller, the current transformer is used for collecting a current analog signal of alternating current in the CPS; the voltage transformer is used for collecting a voltage analog signal of alternating current in the CPS; the first resistance voltage division unit is used for performing voltage division on the collected current analog signal to obtain a first voltage analog signal suitable for metering; the second resistance voltage division unit is used for performing voltage division on the acquired voltage analog signal to obtain a second voltage analog signal suitable for metering; and the microcontroller is used for respectively converting the first voltage analog signal and the second voltage analog signal into a first voltage digital signal and a second voltage digital signal, and then metering the electric energy of the alternating current in the CPS. According to the invention, the electric energy of the alternating current in the CPS can be accurately metered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of metering, and in particular to a metering module for controlling and protecting a switch electrical appliance. Background Art

[0002] In the related art, control and protective switching devices (CPS) rarely have metering functions, which makes it difficult to meet the market demand for accurate metering of control and protective switching devices. Summary of the invention

[0003] In view of this, an embodiment of the present invention provides a metering module for controlling and protecting a switch electrical appliance to solve the technical problems in the related art.

[0004] The embodiment of the present invention provides a metering module for controlling and protecting a switch electrical appliance, comprising: a current transformer, a voltage transformer, a first resistor voltage dividing unit, a second resistor voltage dividing unit and a microcontroller;

[0005] The current transformer is used to collect the current analog signal of the alternating current inside the CPS;

[0006] The voltage transformer is used to collect the voltage analog signal of the alternating current inside the CPS;

[0007] The first resistor voltage dividing unit is connected to the current transformer and is used to divide the collected current analog signal to obtain a first voltage analog signal suitable for measurement;

[0008] The second resistor voltage dividing unit is connected to the voltage transformer and is used to divide the collected voltage analog signal to obtain a second voltage analog signal suitable for measurement;

[0009] The microcontroller is connected to the first resistor voltage divider unit and the second resistor voltage divider unit, respectively, and is used to convert the first voltage analog signal and the second voltage analog signal into a first voltage digital signal and a second voltage digital signal, respectively, and to measure the electric energy of the alternating current inside the CPS according to the first voltage digital signal and the second voltage digital signal.

[0010] In an optional implementation, the microcontroller includes: a storage unit;

[0011] The storage unit is used to store the electric energy measured for the internal alternating current of the CPS.

[0012] In an optional implementation, the microcontroller includes: a clock unit;

[0013] The clock unit is used to record the time data corresponding to the pulse;

[0014] The microcontroller is also used to count the total number of pulses in a preset time period, and obtain the electric energy corresponding to the internal alternating current of the CPS in the preset time period based on the total number of pulses, the preset pulse constant, the first voltage digital signal and the second voltage digital signal.

[0015] In an optional implementation, it further includes: a communication interface;

[0016] The communication interface is connected to the CPS controller and the microcontroller respectively, and is used to realize information exchange between the CPS controller and the microcontroller;

[0017] The microcontroller is also used to obtain or modify information related to electric energy according to the control instructions generated by the CPS controller.

[0018] In an optional implementation, the first resistor voltage dividing unit includes: four resistors;

[0019] One end of the first resistor is respectively connected to one end of the second resistor and one end of the current transformer, the other end of the first resistor is connected to the microcontroller, the other end of the second resistor is connected to one end of the third resistor and the ground, the other end of the third resistor is respectively connected to the other end of the current transformer and one end of the fourth resistor, and the other end of the fourth resistor is connected to the microcontroller.

[0020] In an optional implementation, it further includes: a first filtering circuit and a second filtering circuit;

[0021] The first filtering circuit is connected between the first resistor voltage dividing unit and the microcontroller, and is used to filter the first voltage analog signal suitable for measurement;

[0022] The second filtering circuit is connected between the second resistor voltage divider unit and the microcontroller, and is used for filtering the second voltage analog signal suitable for measurement.

[0023] In an optional implementation, the first filtering circuit includes a first capacitor and a second capacitor;

[0024] One end of the first capacitor is connected to one end of the second capacitor and the ground end respectively, and the other end of the first capacitor and the other end of the second capacitor are both connected to the microcontroller and the first resistor voltage divider unit.

[0025] In an optional implementation, the clock unit includes a third capacitor, a fourth capacitor, a fifth resistor, and a crystal oscillator;

[0026] One end of the third capacitor is connected to one end of the fourth capacitor and the ground end, the other end of the third capacitor is respectively connected to one end of the fifth resistor and one end of the crystal oscillator, the other end of the fourth capacitor is respectively connected to the other end of the fifth resistor and the other end of the crystal oscillator, and both ends of the crystal oscillator are also connected to the microcontroller.

[0027] It can be seen from the above technical solutions that the present invention has the following advantages:

[0028] 1. The current and voltage data are collected through high-precision current transformers and voltage transformers, which can greatly improve the accuracy of data collection. The current signal is converted into a voltage signal with strong anti-interference through the resistor voltage divider unit, which can achieve accurate measurement under the premise of safety.

[0029] 2. A filter circuit is connected to the rear stage of the resistor voltage divider unit to remove noise and interference in the electrical signal, thereby smoothing the data and further improving the accuracy and reliability of the electric energy measurement of the metering module.

[0030] 3. By adding a communication interface, information interaction between the CPS controller and the microcontroller is realized, so that users can control the modification and inquiry of parameters related to the metering module by controlling the CPS control, thereby realizing remote monitoring, which is beneficial for enterprise users to monitor electric energy. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0032] Figure 1 It is a structural block diagram of a metering module of a control and protection switch electrical appliance provided in an embodiment of the present invention.

[0033] Figure 2 is a chip pin diagram of a microcontroller provided in an embodiment of the present invention;

[0034] Figure 3 is a circuit schematic diagram of a clock unit provided by an embodiment of the present invention;

[0035] Figure 4 is a circuit schematic diagram of a first resistor voltage dividing unit and a first filtering unit of phase A provided in an embodiment of the present invention;

[0036] Figure 5 is a circuit schematic diagram of a first resistor voltage divider unit and a first filter unit of phase B provided in an embodiment of the present invention;

[0037] Figure 6 is a circuit schematic diagram of a first resistor voltage dividing unit and a first filtering unit of phase C provided in an embodiment of the present invention;

[0038] Figure 7 is a circuit schematic diagram of a second resistor voltage divider unit and a second filter unit of phase A provided in an embodiment of the present invention;

[0039] Figure 8 is a circuit schematic diagram of a second resistor voltage divider unit and a second filter unit of phase B provided in an embodiment of the present invention;

[0040] Fig. 9 It is a circuit schematic diagram of the second resistor voltage divider unit and the second filtering unit of the C phase provided in an embodiment of the present invention.

[0041] illustrate:

[0042] 1. Current transformer; 2. Voltage transformer; 3. First resistor voltage divider unit; 4. Second resistor voltage divider unit; 5. Microcontroller; 501. Storage unit; 502. Clock unit; 6. Communication interface; 7. First filter circuit; 8. Second filter circuit; C3. First capacitor; C4. Second capacitor; C15. Third capacitor; C16. Fourth capacitor; C9. Fifth capacitor; C10. Sixth capacitor; R5. First resistor; R6. Second resistor; R7. Third resistor; R8. Fourth resistor; R33. Fifth resistor; R17. Sixth resistor; R18. Seventh resistor; R20. Eighth resistor; R21. Ninth resistor; CR1. Crystal oscillator. DETAILED DESCRIPTION

[0043] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0044] In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper", "lower", "left", "right", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0045] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can also be the internal connection of two components, it can be a wireless connection, or it can be a wired connection. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0046] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0047] The embodiment of the present invention provides a metering module for a control and protective switching device, which is suitable for electric energy metering of a control and protective switching device (CPS for short).

[0048] Figure 1 is a structural block diagram of a metering module for a control and protection switch electrical appliance according to an embodiment of the present invention, such as Figure 1 As shown, an embodiment of the present invention provides a metering module for controlling and protecting a switch electrical appliance, comprising: a current transformer 1, a voltage transformer 2, a first resistor voltage dividing unit 3, a second resistor voltage dividing unit 4 and a microcontroller 5.

[0049] Specifically, the current transformer 1 is used to collect the current analog signal of the alternating current inside the CPS; the voltage transformer 2 is used to collect the voltage analog signal of the alternating current inside the CPS; the first resistor divider unit 3 is connected to the current transformer 1, and the first resistor divider unit 3 is used to divide the collected current analog signal to obtain a first voltage analog signal suitable for measurement; the second resistor divider unit 4 is connected to the voltage transformer 2, and the second resistor divider unit 4 is used to divide the collected voltage analog signal to obtain a second voltage analog signal suitable for measurement; the microcontroller 5 is respectively connected to the first resistor divider unit 3 and the second resistor divider unit 4, and the microcontroller 5 is used to convert the first voltage analog signal and the second voltage analog signal into a first voltage digital signal and a second voltage digital signal, respectively, and to measure the electric energy of the alternating current inside the CPS according to the first voltage digital signal and the second voltage digital signal.

[0050] The internal AC power of the CPS may be the AC power running inside the control and protection switch electrical appliance. In an example, the internal AC power of the CPS may be 220V 50Hz AC mains power.

[0051] The working principle of the current transformer 1 is based on the law of electromagnetic induction. It contains a primary winding and a secondary winding. When the primary current passes through the primary winding of the current transformer 1, an alternating magnetic field will be generated in the iron core. The alternating magnetic field will induce an electromotive force in the secondary winding, thereby generating a secondary current. Since the number of turns of the secondary winding is much larger than the number of turns of the primary winding, the secondary current is proportional to the primary current, but the value is much smaller than the primary current, that is, the ratio of the number of turns of the primary winding and the secondary winding is inversely proportional to the voltage ratio of the primary side and the secondary side. In one example, the turns ratio of the current transformer is 5:1000, that is, when the primary current is 1000A, the secondary current is 5A. It can be seen that by measuring the secondary current, the magnitude of the primary current can be indirectly known.

[0052] The working principle of the voltage transformer 2 is based on the principle of electromagnetic induction. It includes a primary winding, a secondary winding and a closed iron core. The primary winding is connected to the internal alternating current of the CPS, and the output side is the secondary winding. When voltage is applied to the primary winding, an alternating current will pass through the winding, and an alternating magnetic flux with the same frequency as the internal alternating current of the CPS will be generated in the iron core. According to the law of electromagnetic induction, the secondary winding will generate an induced electromotive force with the same frequency but different values. Due to the different number of turns, the induced electromotive force of the two windings is different. The specific numerical relationship is N1 / N2=U1 / U2, that is, the turn ratio of the primary winding and the secondary winding is proportional to the voltage ratio of the primary side and the secondary side. In one example, the turns ratio of the voltage transformer is 1000:5, that is, when the primary voltage is 1000V, the secondary current is 5V. It can be seen that by measuring the secondary voltage, the magnitude of the primary voltage can be indirectly known.

[0053] Since the alternating current inside a CPS is usually high voltage and high current, which may easily damage the measuring equipment or endanger personnel safety, the embodiment of the present invention converts the high current into a low current and the high voltage into a low voltage through the current transformer 1 and the voltage transformer 2, thereby achieving accurate measurement under the premise of safety.

[0054] It should be noted that the current analog signal of the internal AC power of the CPS collected by the current transformer 1 is a current analog signal that has been converted into a small current on the secondary side, and the voltage analog signal of the internal AC power of the CPS collected by the voltage transformer 2 is a current analog signal that has been converted into a low voltage on the secondary side.

[0055] Since the voltage signal is more stable and reliable in transmission and processing, the first resistor divider unit 3 converts the current analog signal output by the secondary side of the current transformer 1 into a first voltage analog signal suitable for measurement, making measurement and signal processing more convenient, and the voltage signal has strong anti-interference ability, which can improve the measurement accuracy.

[0056] The second resistor voltage dividing unit 4 converts the voltage analog signal outputted from the secondary side of the voltage transformer 2 into a first voltage analog signal suitable for measurement, which can ensure that the output voltage value thereof is reduced to the voltage value range required by the microcontroller, thereby avoiding overvoltage.

[0057] like Figure 2 As shown, the microcontroller 5 may include a programmable logic control component (such as a PLC or a CPU), a memory, and electronic components connected to the editable logic control component, etc., which are well known to those skilled in the art and will not be described in detail here.

[0058] As an example, the microcontroller 5 can obtain the voltage value before voltage division, that is, the secondary voltage value, according to the second voltage digital signal and the resistance value of each resistor in the second resistor voltage divider unit, and then obtain the voltage value (measured value) of the primary side according to the turns ratio of the voltage transformer 2. The microcontroller 5 can obtain the current value before voltage division, that is, the secondary current value, according to the first voltage digital signal and the resistance value of each resistor in the first resistor voltage divider unit, and then obtain the current value (measured value) of the primary side according to the turns ratio of the current transformer 1. At this time, the primary side voltage value and the primary side current value are known, the real-time active power is calculated, and the active power is converted into pulses; at the same time, the time data corresponding to the pulse is recorded according to the clock unit inside the microcontroller 5, and the microcontroller 5 counts the number of pulses in the target time period according to the time data to obtain the corresponding number of pulses; and according to the corresponding number of pulses and the preset pulse constant, the electric energy in the target time period is obtained.

[0059] In an optional implementation, the microcontroller 5 includes: a storage unit 501.

[0060] Specifically, the storage unit 501 is used to store the electric energy measured for the internal alternating current of the CPS.

[0061] In an optional implementation, the microcontroller 5 includes: a clock unit 502.

[0062] Specifically, the clock unit 502 is used to record the time data corresponding to the pulse.

[0063] The microcontroller 5 is also used to count the total number of pulses within a preset time period, and obtain the electric energy corresponding to the internal alternating current of the CPS within the preset time period according to the total number of pulses, the preset pulse constant, the first voltage digital signal and the second voltage digital signal.

[0064] It should be noted that the preset time period and the preset pulse constant can be set according to actual needs and are not specifically limited here.

[0065] In an optional embodiment, if Figure 3As shown, the clock unit 502 includes a third capacitor C15, a fourth capacitor C16, a fifth resistor R33, and a crystal oscillator CR1;

[0066] One end of the third capacitor C15 is connected to one end of the fourth capacitor C16 and the ground end, the other end of the third capacitor C15 is respectively connected to one end of the fifth resistor R33 and one end of the crystal oscillator CR1, the other end of the fourth capacitor C16 is respectively connected to the other end of the fifth resistor R33 and the other end of the crystal oscillator CR1, and both ends of the crystal oscillator are also connected to the microcontroller 5.

[0067] In an optional implementation, one end of the crystal oscillator CR1 is connected to the 37th pin (OSCI pin) of the microcontroller 5 , and the other end of the crystal oscillator CR1 is connected to the 36th pin (OSCO pin) of the microcontroller 5 .

[0068] In an optional implementation, the metering module of the control and protection switch electrical appliance further includes: a communication interface 6;

[0069] The communication interface 6 is connected to the CPS controller and the microcontroller 5 respectively, and is used to realize information exchange between the CPS controller and the microcontroller;

[0070] The microcontroller 5 is also used to obtain or modify information related to electric energy according to the control instructions generated by the CPS controller.

[0071] In an optional implementation, the communication interface 6 is preferably an SPI interface.

[0072] In an optional embodiment, if Figure 4 As shown, the first resistor voltage dividing unit 3 includes: four resistors;

[0073] One end of the first resistor R5 is respectively connected to one end of the second resistor R6 and one end of the current transformer 1 (CT2), the other end of the first resistor R5 is connected to the microcontroller 5, the other end of the second resistor R6 is connected to one end of the third resistor R7 and the ground end, the other end of the third resistor R7 is respectively connected to the other end of the current transformer 1 and one end of the fourth resistor R8, and the other end of the fourth resistor R8 is connected to the microcontroller 5.

[0074] In an optional implementation, the other end of the first resistor R5 is connected to the fourth pin (IAP pin) of the microcontroller 5 , and the other end of the fourth resistor R8 is connected to the fifth pin (IAN pin) of the microcontroller 5 .

[0075] It should be noted that the alternating current in the CPS is three-phase alternating current, namely phase A, phase B, and phase C. The current transformer 1 can collect the current analog signal of any phase among phase A, phase B, or phase C. The circuit structure of the first resistor voltage divider unit 3 mentioned above is only based on phase A as an example. The circuit structure of the first resistor voltage divider unit 3 corresponding to the remaining phases B and C is the same as that of phase A. Figure 5 and Figure 6 As shown, the only difference is the pins connected to the microcontroller 5.

[0076] In one example, one end of the first resistor voltage divider unit 3 of phase B is connected to the seventh pin (IBP pin) of the microcontroller, and the other end is connected to the eighth pin (IBN pin) of the microcontroller 5 .

[0077] In one example, one end of the first resistor voltage divider unit 3 of phase C is connected to the 10th pin (ICP pin) of the microcontroller, and the other end is connected to the 11th pin (ICN pin) of the microcontroller 5 .

[0078] In an optional embodiment, if Figure 7 As shown, the second resistor voltage dividing unit 4 also includes four resistors;

[0079] One end of the sixth resistor R17 is respectively connected to one end of the seventh resistor R18 and the third pin of the voltage transformer 2 (U1), the other end of the sixth resistor R17 is connected to the microcontroller 5, the other end of the seventh resistor R18 is connected to one end of the eighth resistor R20 and the ground end, the other end of the eighth resistor R20 is respectively connected to the fourth pin of the current transformer 1 and one end of the ninth resistor R21, and the other end of the ninth resistor R21 is connected to the microcontroller 5.

[0080] In an optional implementation, the other end of the sixth resistor R17 is connected to the 12th pin (VAP pin) of the microcontroller 5 , and the other end of the ninth resistor R21 is connected to the 13th pin (VAN pin) of the microcontroller 5 .

[0081] It should also be noted that the internal alternating current of the CPS is three-phase alternating current, namely phase A, phase B, and phase C. Its voltage transformer 2 can collect the voltage analog signal of any phase among phase A, phase B, or phase C. The circuit structure of the second resistor voltage divider unit 4 mentioned above only takes phase A as an example. The circuit structure of the second resistor voltage divider unit 4 corresponding to the remaining phases B and C is the same as that of phase A. Figure 8 and Fig. 9 As shown, the only difference is the pins connected to the microcontroller 5.

[0082] In one example, one end of the second resistor voltage divider unit 4 of phase B is connected to the 14th pin (VBP pin) of the microcontroller, and the other end is connected to the 15th pin (VBN pin) of the microcontroller 5 .

[0083] In one example, one end of the second resistor voltage divider unit 4 of phase C is connected to the 16th pin (VCP pin) of the microcontroller, and the other end is connected to the 17th pin (ICN pin) of the microcontroller 5 .

[0084] There are two resistors connected in series at the front end of the voltage transformer 2 .

[0085] In an optional implementation, the metering module of the control and protection switch electrical appliance further includes: a first filter circuit 7 and a second filter circuit 8 .

[0086] Specifically, the first filter circuit 7 is connected between the first resistor voltage divider unit 3 and the microcontroller 5, and the first filter circuit 7 is used to filter the first voltage analog signal suitable for measurement; the second filter circuit 8 is connected between the second resistor voltage divider unit 4 and the microcontroller 5, and the second filter circuit 8 is used to filter the second voltage analog signal suitable for measurement.

[0087] In an optional embodiment, if Figure 4 As shown, the first filter circuit 7 includes a first capacitor C3 and a second capacitor C4; one end of the first capacitor C3 is connected to one end of the second capacitor C4 and the ground end, and the other end of the first capacitor C3 and the other end of the second capacitor C4 are both connected to the microcontroller 5 and the first resistor divider unit 3.

[0088] In an optional implementation, the other end of the first capacitor C3 is connected to the fourth pin (IAP pin) of the microcontroller 5 , and the other end of the second capacitor C4 is connected to the fifth pin (IAN pin) of the microcontroller 5 .

[0089] It should also be noted that the internal alternating current of the CPS is three-phase alternating current, namely phase A, phase B, and phase C. The current transformer 1 can collect the voltage analog signal of any phase among phase A, phase B, or phase C. The circuit structure of the aforementioned first filter circuit 7 only takes phase A as an example, and the circuit structure of the first filter circuit 7 corresponding to the remaining phases B and C is the same as that of phase A. Figure 5 and Figure 6 As shown, the only difference is the pins connected to the microcontroller 5.

[0090] In an example, one end of the first filter circuit 7 of the B phase is connected to the 7th pin (IBP pin) of the microcontroller, and the other end is connected to the 8th pin (IBN pin) of the microcontroller 5.

[0091] In one example, one end of the first filter circuit 7 of the C phase is connected to the 10th pin (ICP pin) of the microcontroller, and the other end is connected to the 11th pin (ICN pin) of the microcontroller 5 .

[0092] In an optional embodiment, if Figure 7 As shown, the second filtering circuit 8 includes a fifth capacitor C9 and a sixth capacitor C10; one end of the fifth capacitor C9 is connected to one end of the sixth capacitor C10 and the ground end, and the other end of the fifth capacitor C9 and the other end of the sixth capacitor C10 are both connected to the microcontroller 5 and the second resistor divider unit 4.

[0093] In an optional implementation, the other end of the fifth capacitor C9 is connected to the 12th pin (VAP pin) of the microcontroller 5 , and the other end of the sixth capacitor C10 is connected to the 13th pin (VAN pin) of the microcontroller 5 .

[0094] It should also be noted that the internal alternating current of the CPS is three-phase alternating current, namely phase A, phase B, and phase C. The voltage transformer 2 can collect the voltage analog signal of any phase among phase A, phase B, or phase C. The circuit structure of the aforementioned second filter circuit 8 is only based on phase A as an example. The circuit structure of the second filter circuit 8 corresponding to the remaining phases B and C is the same as that of phase A. Figure 8 and Fig. 9 As shown, the only difference is the pins connected to the microcontroller 5.

[0095] In one example, one end of the second filter circuit 8 of the B phase is connected to the 14th pin (VBP pin) of the microcontroller, and the other end is connected to the 15th pin (VBN pin) of the microcontroller 5 .

[0096] In one example, one end of the second filter circuit 8 of the C phase is connected to the 16th pin (VCP pin) of the microcontroller, and the other end is connected to the 17th pin (ICN pin) of the microcontroller 5 .

[0097] In summary, the embodiments of the present invention have the following advantages:

[0098] It can be seen from the above technical solutions that the present invention has the following advantages:

[0099] 1. The current and voltage data are collected through high-precision current transformers and voltage transformers, which can greatly improve the accuracy of data collection. The current signal is converted into a voltage signal with strong anti-interference through the resistor voltage divider unit, which can achieve accurate measurement under the premise of safety.

[0100] 2. A filter circuit is connected to the rear stage of the resistor voltage divider unit to remove noise and interference in the electrical signal, thereby smoothing the data and further improving the accuracy and reliability of the electric energy measurement of the metering module.

[0101] 3. By adding a communication interface, information interaction between the CPS controller and the microcontroller is realized, so that users can control the modification and inquiry of parameters related to the metering module by controlling the CPS control, thereby realizing remote monitoring, which is beneficial for enterprise users to monitor electric energy.

[0102] Although example embodiments and their advantages have been described in detail, those skilled in the art may make various changes, substitutions and modifications to these embodiments without departing from the spirit and defined scope of the present invention, and such modifications and variations are all within the defined scope.

Claims

1. A metering module for controlling and protecting a switchgear, characterized in that: include: A current transformer, a voltage transformer, a first resistance voltage dividing unit, a second resistance voltage dividing unit and a microcontroller; The current transformer is used to collect the current analog signal of the alternating current inside the CPS; The voltage transformer is used to collect the voltage analog signal of the alternating current inside the CPS; The first resistor voltage dividing unit is connected to the current transformer and is used to divide the collected current analog signal to obtain a first voltage analog signal suitable for measurement; The second resistor voltage dividing unit is connected to the voltage transformer and is used to divide the collected voltage analog signal to obtain a second voltage analog signal suitable for measurement; The microcontroller is connected to the first resistor voltage divider unit and the second resistor voltage divider unit, respectively, and is used to convert the first voltage analog signal and the second voltage analog signal into a first voltage digital signal and a second voltage digital signal, respectively, and to measure the electric energy of the alternating current inside the CPS according to the first voltage digital signal and the second voltage digital signal.

2. The metering module according to claim 1, characterized in that: The microcontroller comprises: a storage unit; The storage unit is used to store the electric energy measured for the internal alternating current of the CPS.

3. The metering module according to claim 2, characterized in that: The microcontroller comprises: a clock unit; The clock unit is used to record the time data corresponding to the pulse; The microcontroller is also used to count the total number of pulses in a preset time period, and obtain the electric energy corresponding to the internal alternating current of the CPS in the preset time period based on the total number of pulses, the preset pulse constant, the first voltage digital signal and the second voltage digital signal.

4. The metering module according to claim 1, characterized in that: Also includes: Communication interface; The communication interface is connected to the CPS controller and the microcontroller respectively, and is used to realize information exchange between the CPS controller and the microcontroller; The microcontroller is also used to obtain or modify information related to electric energy according to the control instructions generated by the CPS controller.

5. The metering module according to claim 1, characterized in that: The first resistor voltage dividing unit includes: four resistors; One end of the first resistor is respectively connected to one end of the second resistor and one end of the current transformer, the other end of the first resistor is connected to the microcontroller, the other end of the second resistor is connected to one end of the third resistor and the ground, the other end of the third resistor is respectively connected to the other end of the current transformer and one end of the fourth resistor, and the other end of the fourth resistor is connected to the microcontroller.

6. The metering module according to claim 1, characterized in that: Also includes: a first filtering circuit and a second filtering circuit; The first filtering circuit is connected between the first resistor voltage dividing unit and the microcontroller, and is used to filter the first voltage analog signal suitable for measurement; The second filtering circuit is connected between the second resistor voltage divider unit and the microcontroller, and is used for filtering the second voltage analog signal suitable for measurement.

7. The metering module according to claim 6, characterized in that: The first filtering circuit includes a first capacitor and a second capacitor; One end of the first capacitor is connected to one end of the second capacitor and a ground terminal, and the other end of the first capacitor and the other end of the second capacitor are both connected to the microcontroller and the first resistor voltage divider unit.

8. The metering module according to claim 3, characterized in that: The clock unit includes a third capacitor, a fourth capacitor, a fifth resistor, and a crystal oscillator; One end of the third capacitor is respectively connected to one end of the fourth capacitor and the ground end, the other end of the third capacitor is respectively connected to one end of the fifth resistor and one end of the crystal oscillator, the other end of the fourth capacitor is respectively connected to the other end of the fifth resistor and the other end of the crystal oscillator, and both ends of the crystal oscillator are also connected to the microcontroller.