Special upgrading device for single-phase meter
By providing a single-phase table dedicated upgrade device including microcontrol module, RS485 interface module and carrier interface module, the problems of complex processes and cumbersome processes during the upgrade and update of single-phase tables are solved, and upgrades without disassembly are achieved, reducing costs and time.
Patent Information
- Application Number
- CN202421500933.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2034-06-28
AI Technical Summary
The upgrade and update process of the single-phase table version has problems such as complex upgrade and update process and cumbersome process.
Provide a special upgrade device for single-phase meters, including microcontrol module, RS485 interface module, carrier interface module and corresponding power supply module. These modules are upgraded and updated with the interface of single-phase meters, avoiding the need to disassemble the finished product.
Without disassembling the finished single-phase watch product, the upgrade and update process is simplified, the process is simplified, the cost is reduced, the upgrade and update cycle is shortened, and the efficiency is improved.
Smart Images

Figure CN222672316U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of instruments and meters, in particular to a special upgrading device for a single-phase meter. Background Art
[0002] With the continuous development of modern information technology, more and more traditional industries are accelerating their digital transformation. As an important measure for digital transformation, the upgrade of traditional electricity meters to smart electricity meters can improve the accuracy, reliability and intelligence of power grid management, thereby improving the quality and experience of users' electricity consumption and promoting the sustainable development of the power industry. The intelligent manufacturing of State Grid's single-phase electricity meters (single-phase meters for short) and the intelligent maintenance and upgrade of finished product inventory also need to keep pace with the times. In the production process of single-phase meters, the update step of the initial version is to first burn it into the PCB through the corresponding interface during the production tooling process, and then assemble the finished product. In the subsequent process of upgrading the single-phase meter version, it is necessary to disassemble the finished electricity meter, remove the PCB, and then upgrade and reassemble the version. In this way, the upgrade and update process of the single-phase meter version has problems such as complex upgrade and update procedures and cumbersome processes. Utility Model Content
[0003] The embodiment of the present application solves the technical problems of complicated upgrading procedures and cumbersome processes in the upgrading and updating process of single-phase meter versions in the prior art by providing a special upgrading device for a single-phase meter, and achieves the technical effects of upgrading and updating the single-phase meter without disassembling the finished single-phase meter, simplifying the upgrading and updating process of the single-phase meter, simplifying the upgrading and updating process, reducing the upgrading and updating cost of the single-phase meter, shortening the upgrading and updating cycle of the single-phase meter, and improving the upgrading and updating efficiency of the single-phase meter.
[0004] In a first aspect, an embodiment of the utility model provides a dedicated upgrade device for a single-phase meter, comprising: a micro-control module, and a first communication module and / or a second communication module connected to the micro-control module;
[0005] The first communication module includes: an RS485 interface module and a USB power supply module connected to the micro-control module, the RS485 interface module is connected to the single-phase meter through a conversion line between the first USB interface and the alligator clip, so that the single-phase meter is upgraded and updated through the RS485 interface module, and the USB power supply module is used to provide power during the upgrade and update of the single-phase meter through the RS485 interface module;
[0006] The second communication module includes: a carrier interface module and a carrier power supply module connected to the micro-control module, the carrier interface module is connected to the carrier interface of the single-phase meter, so that the single-phase meter is upgraded and updated through the carrier interface module, and the carrier power supply module is used to obtain electric energy from the single-phase meter and provide it to a dedicated upgrading device during the process of upgrading and updating the single-phase meter through the carrier interface module.
[0007] Preferably, the micro-control module is a chip of model SCM301L080JG.
[0008] Preferably, the carrier interface module comprises: a carrier interface pin;
[0009] The signal sending pin of the carrier interface pin is connected to the carrier signal receiving pin ZBRXD pin of the micro-control module, the signal receiving pin of the carrier interface pin is connected to the carrier signal sending pin ZBTXD pin of the micro-control module, the reset pin of the carrier interface pin is connected to the carrier reset pin ZBRST pin of the micro-control module, the event pin of the carrier interface pin is connected to the carrier event pin ZBEVT pin of the micro-control module, and the communication status pin of the carrier interface pin is connected to the carrier communication status pin ZBSTA pin of the micro-control module.
[0010] Preferably, the carrier power supply module includes: a carrier power supply chip;
[0011] The input pin VIN pin of the carrier power supply chip is used to be connected to the carrier power supply interface of the single-phase meter;
[0012] The output pin SW of the carrier power supply chip is connected to the anode of the first diode of the dual diode D101, and the cathode of the first diode of the dual diode D101 is the voltage output end of the carrier power supply module.
[0013] Preferably, the RS485 interface module comprises: a second USB interface, a thermistor, a diode TVS101 and an RS485 chip;
[0014] The first end of the second USB interface is connected to the first end of the diode TVS101, the second end of the second USB interface is connected to one end of the thermistor, and the second USB interface is also used to connect to the first USB interface;
[0015] The first end of the diode TVS101 is also connected to the A pin of the RS485 chip, and the other end of the thermistor and the second end of the diode TVS101 are connected to the B pin of the RS485 chip;
[0016] The signal sending pin of the RS485 chip is connected to the 485 signal receiving pin 485RXD pin of the micro-control module, the signal receiving pin of the RS485 chip is connected to the 485 signal sending pin 485TXD pin of the micro-control module, and the control pin of the RS485 chip is connected to the 485 control pin 485CTRL pin of the micro-control module.
[0017] Preferably, the USB power supply module comprises: a USB male connector, a load resistor, a capacitor C118 and an ESD diode;
[0018] The VBUS pin of the USB male connector is connected to one end of the load resistor, one end of the ESD diode and one end of the capacitor C118; one end of the capacitor C118 is also connected to the anode of the second diode of the dual diode D101, and the cathode of the second diode of the dual diode D101 is the voltage output end of the USB power supply module; the GND pin of the USB male connector, the other end of the load resistor, the other end of the ESD diode and the other end of the capacitor C118 are connected to the ground.
[0019] Preferably, it also includes: a storage module connected to the micro-control module, and the storage module includes a FLSAH memory and an EEPROM memory.
[0020] Preferably, it further comprises: a FLASH power supply module connected to the FLASH memory, the FLASH power supply module comprising a FLASH power supply management chip;
[0021] The input pin IN of the FLASH power management chip is connected to the FLASH control pin FLASH CTRL of the micro-control module, and the output pin OUT of the FLASH power management chip is connected to the FLASH memory.
[0022] Preferably, it further comprises: an indicator light module connected to the micro-control module, the indicator light module comprises a plurality of indicator lights, and the plurality of indicator lights are respectively connected to the LED POWER pin, the LED RXTX Load pin and the LED485Load pin of the micro-control module.
[0023] Preferably, it further comprises: a key module connected to the micro-control module, the key module comprises a key, and the key is connected to a key pin KEY BUTTON pin of the micro-control module.
[0024] One or more technical solutions in the embodiments of the present utility model have at least the following technical effects or advantages:
[0025] Under the premise that the finished single-phase meter does not need to be disassembled, when the battery compartment cover of the single-phase meter can be opened, the carrier interface module is connected to the carrier interface of the single-phase meter, so that the single-phase meter is upgraded and updated through the carrier interface module. At the same time, through the carrier power supply module, during the process of upgrading and updating the single-phase meter through the carrier interface module, electric energy is obtained from the carrier power supply interface of the single-phase meter and provided to the special upgrading device to keep the normal operation of the device. In this way, the device is directly plugged into the carrier interface of the single-phase meter to complete the upgrade and update of the single-phase meter version. In the case that the battery compartment cover of the single-phase meter cannot be opened, the RS485 interface of the single-phase meter is connected through the RS485 interface module and the conversion line between the first USB interface and the alligator clip, so that the single-phase meter is upgraded and updated through the RS485 interface module. At the same time, through the USB power supply module, electric energy is provided during the process of upgrading and updating the single-phase meter through the RS485 interface module. In this way, the upgrade and update of the single-phase meter version is completed through the external RS485 communication method. Therefore, without disassembling the finished single-phase meter, the single-phase meter can be upgraded and updated through this device, which simplifies the upgrade and update process of the single-phase meter, facilitates the upgrade and update process, reduces the upgrade and update cost and labor cost of the single-phase meter, shortens the upgrade and update cycle of the single-phase meter, and improves the upgrade and update efficiency of the single-phase meter. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Various other advantages and benefits will become apparent to those skilled in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only used for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference figures are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0027] Figure 1 A module schematic diagram of a dedicated upgrade device for a single-phase meter in an embodiment of the utility model is shown;
[0028] Figure 2 The schematic diagram of the circuit structure of the micro-control module in the embodiment of the utility model is shown;
[0029] Figure 3 A schematic diagram of the circuit structure of the carrier interface module in an embodiment of the utility model is shown;
[0030] Figure 4 A schematic diagram of the circuit structure of the carrier power supply module and the USB power supply module in the embodiment of the utility model is shown;
[0031] Figure 5 A schematic diagram showing the structure of the RS485 interface module in the embodiment of the utility model being connected to the RS485 interface of the single-phase meter via the second USB interface;
[0032] Figure 6Shown is a schematic diagram of the circuit structure of the RS485 interface module in the embodiment of the utility model;
[0033] Figure 7 A schematic diagram of the circuit structure of the FLASH memory in the embodiment of the utility model is shown;
[0034] Figure 8 The schematic diagram of the circuit structure of the EPROM memory in the embodiment of the utility model is shown;
[0035] Fig. 9 A schematic diagram of the circuit structure of the FLASH power supply module in the embodiment of the utility model is shown;
[0036] Fig.10 A schematic diagram of the circuit structure of the indicator light module in the embodiment of the utility model is shown;
[0037] Fig.11 The schematic diagram of the circuit structure of the key module in the embodiment of the utility model is shown.
[0038] In the figure, 201 is a micro-control module; 202 is an RS485 interface module; 203 is a USB power supply module; 204 is a carrier interface module; 205 is a carrier power supply module; 206 is a storage module; 207 is an indicator light module; and 208 is a button module. DETAILED DESCRIPTION
[0039] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0040] Embodiment 1
[0041] The first embodiment of the utility model provides a dedicated upgrade device for a single-phase meter, such as Figure 1 As shown, it includes: a micro-control module 201, and a first communication module and / or a second communication module connected to the micro-control module 201. The first communication module includes: an RS485 interface module 202 and a USB power supply module 203 connected to the micro-control module 201. The RS485 interface module 202 is connected to the single-phase meter through a conversion line between a first USB interface and an alligator clip, so that the single-phase meter is upgraded and updated through the RS485 interface module 202. The USB power supply module 203 is used to provide power during the process of upgrading and updating the single-phase meter through the RS485 interface module 202.
[0042] The second communication module includes: a carrier interface module 204 and a carrier power supply module 205 connected to the microcontroller module 201. The carrier interface module 204 is connected to the carrier interface of the single-phase meter, so that the single-phase meter is upgraded and updated through the carrier interface module 204. The carrier power supply module 205 is used to obtain electric energy from the single-phase meter and provide it to the dedicated upgrade device during the process of upgrading and updating the single-phase meter through the carrier interface module 204.
[0043] It should be noted that the single-phase meter comes with a carrier interface, a carrier power supply interface, and an RS485 interface. The carrier interface and the carrier power supply interface of the single-phase meter are located under the battery compartment cover of the single-phase meter. The RS485 interface of the single-phase meter is not under the battery compartment cover of the single-phase meter, but is directly set on the single-phase meter. Before using this device, it is necessary to import the new version of the program to be upgraded into this module through the host computer, and configure the upgrade parameters. This process only needs to be performed once. Subsequent upgrades to the single-phase meter no longer need to involve the host computer. The upgrade operation of multiple single-phase meters can be completed through this module alone. Before upgrading and updating the single-phase meter, it is necessary to ensure that the single-phase meter is in a powered-on state, and to ensure that the single-phase meter is upgraded and updated without losing power during the upgrade and update process.
[0044] In this embodiment, under the premise that the finished single-phase meter does not need to be disassembled, when the battery compartment cover of the single-phase meter can be opened, the carrier interface module 204 is connected to the carrier interface of the single-phase meter, so that the single-phase meter is upgraded and updated through the carrier interface module 204. At the same time, through the carrier power supply module 205, during the process of upgrading and updating the single-phase meter through the carrier interface module 204, electric energy is obtained from the carrier power supply interface of the single-phase meter and provided to the dedicated upgrading device to keep the normal operation of the device. In this way, the device is directly plugged into the carrier interface of the single-phase meter to complete the upgrade and update of the single-phase meter version. In the case that the battery compartment cover of the single-phase meter cannot be opened, the RS485 interface of the single-phase meter is connected through the RS485 interface module 202 and then through the conversion line between the first USB interface and the alligator clip, so that the single-phase meter is upgraded and updated through the RS485 interface module 202. At the same time, through the USB power supply module 203, electric energy is provided during the process of upgrading and updating the single-phase meter through the RS485 interface module 202. In this way, the upgrade and update of the single-phase meter version is completed through the external RS485 communication method. Therefore, without disassembling the finished single-phase meter, the single-phase meter can be upgraded and updated through the device, which simplifies the upgrade and update process of the single-phase meter, simplifies the upgrade and update process, reduces the upgrade and update cost of the single-phase meter, shortens the upgrade and update cycle of the single-phase meter, and improves the upgrade and update efficiency of the single-phase meter.
[0045] Next, combine Figure 1 The circuit structure of each module of this device is described in detail:
[0046] The microcontrol module 201 of the device is preferably a chip of the SCM301L080JG model, and can also be configured as other chips according to actual needs. The pins of the chip of the SCM301L080JG model and their definitions are as follows: Figure 2 As shown, the chip has multiple IOA pins, IOB pins, IOC pins, IOD pins and IOE pins, which can be set to corresponding defined pins according to actual needs, for example, the IOA14 pin is set as the 485 signal receiving pin 485RXD pin of the chip. In the subsequent introduction of other modules, the pins connected to the micro-control module 201 will be introduced accordingly. The chip also has other pins, such as VDD pins, AVCC pins, and DVCC pins, which are configured accordingly according to the functional definition of the chip.
[0047] The carrier interface module 204 of the present device includes: a carrier interface pin. The signal sending pin of the carrier interface pin is connected to the carrier signal receiving pin ZBRXD pin of the micro-control module 201, the signal receiving pin of the carrier interface pin is connected to the carrier signal sending pin ZBTXD pin of the micro-control module 201, the reset pin of the carrier interface pin is connected to the carrier reset pin ZBRST pin of the micro-control module 201, the event pin of the carrier interface pin is connected to the carrier event pin ZBEVT pin of the micro-control module 201, and the communication state pin of the carrier interface pin is connected to the carrier communication state pin ZBSTA pin of the micro-control module 201.
[0048] Specifically, Figure 3 As shown, the TXD pin of the carrier interface pin is connected to the ZBRXD pin of the micro-control module 201 through a resistor R117, and the end of the resistor R117 connected to the ZBRXD pin is also connected to the output voltage of the carrier power supply module 205 through a resistor R100. The RXD pin of the carrier interface pin is connected to the ZBTXD pin of the micro-control module 201 through a resistor R119. The RST pin of the carrier interface pin is connected to the ZBRST pin of the micro-control module 201 through a resistor R120. The EVENTOUT pin of the carrier interface pin is connected to the carrier event pin ZBEVT pin of the micro-control module 201 through a resistor R121. The STA pin of the carrier interface pin is connected to the ZBSTA pin of the micro-control module 201 through a resistor R118.
[0049] Among them, the working mode of the carrier interface module 204 is an open-drain output and normal high-impedance working mode. The RXD pin of the carrier interface pin requires the carrier interface module 204 to output in an open-drain mode, and the normal state is a high-impedance state, and the module is required to have a low-level current driving capability ≥ 2mA. The setting pin SET of the carrier interface pin is used to set the enable of the carrier interface module 204: the carrier interface module 204 can only be set when it is at a low level. The RST pin of the carrier interface pin is used for reset output, which is valid at a low level, and the reset signal pulse width is ≥ 0.2s. The STA pin of the carrier interface pin is used to output a 0.2s high-impedance state when the address match is correct during reception, and the carrier interface module 204 outputs a high-impedance state during the sending process. The single-phase meter determines that the relay is prohibited from operating when the communication is sent. The carrier interface module 204 outputs an open-drain mode and the normal state is a low level. The low-level current driving capability of the carrier interface module 204 is ≥ 2mA.
[0050] Under the premise that the finished single-phase meter does not need to be disassembled, when the battery compartment cover of the single-phase meter can be opened, the carrier interface module 204 is connected to the carrier interface of the single-phase meter, so that the single-phase meter is upgraded and updated through the carrier interface module 204. In this way, the device can be directly inserted into the carrier interface of the single-phase meter to complete the upgrade and update of the single-phase meter version. This reflects the advantages of the device for upgrading and updating the single-phase meter, such as simple operation, simple upgrade and update process, and improved upgrade and update efficiency of the single-phase meter. The device also has the advantages of saving labor costs and material costs, and shortening the upgrade and update cycle of the single-phase meter.
[0051] The carrier power supply module 205 of the device includes: a carrier power supply chip. The carrier power supply chip is preferably a LA1631 chip, and other chips can also be selected according to actual needs.
[0052] exist Figure 4 In the embodiment, the input pin VIN pin of the carrier power supply chip is used to connect to the carrier power supply interface of the single-phase meter, so as to obtain electric energy from the single-phase meter and provide it to the device during the upgrade and update of the single-phase meter through the carrier interface module 204. An exemplary specific connection relationship of the VIN pin of the carrier power supply chip is as follows: Figure 4 As shown, the VIN pin of the carrier power supply chip is connected to one end of the resistor R124, one end of the capacitor C115, one end of the capacitor C114 and one end of the fuse F100. The other end of the fuse F100 is connected to the carrier power supply interface of the single-phase meter to obtain a 12V voltage. The other end of the capacitor C114 and the other end of the capacitor C115 are both grounded. The other end of the capacitor R124 is connected to the EN pin of the carrier power supply chip and one end of the resistor R125, and the other end of the resistor R125 is grounded.
[0053] The output pin SW of the carrier power supply chip is connected to the anode of the first diode of the dual diode D101, and the cathode of the first diode of the dual diode D101 is the voltage output terminal of the carrier power supply module 205. An exemplary specific connection relationship of the SW pin of the carrier power supply chip is as follows: Figure 4 As shown, the SW pin of the carrier power supply chip is connected to one end of the inductor L100 and one end of the capacitor C116. The other end of the capacitor C116 is connected to the BST pin of the carrier power supply chip. The other end of the inductor L100 is connected to one end of the resistor R130, one end of the capacitor C117, one end of the polar capacitor EC100 and the anode of the first diode of the dual diode D101. The cathode of the first diode of the dual diode D101 is the voltage output end of the carrier power supply module 205, and the voltage output end outputs the output voltage of the carrier power supply module 205. The other end of the polar capacitor EC100 is grounded. The FB pin of the carrier power supply chip is connected to one end of the resistor R129, the other end of the resistor R130 and the other end of the capacitor C117, and the other end of the resistor R129 is grounded.
[0054] Through the carrier power supply module 205, when the single-phase meter is upgraded and updated through the carrier interface module 204, power is obtained from the single-phase meter and provided to the device, without the need for an additional power supply to provide power, which can reduce the size of the device. In addition, the upgrade and update process of the single-phase meter is simplified, and the upgrade and update efficiency of the single-phase meter is improved.
[0055] The RS485 interface module 202 of the device includes: a second USB interface (ie, J104), a thermistor, a diode TVS101, and an RS485 chip. The RS485 chip is preferably a BL3085N chip. The TVS diode is a transient voltage suppressor diode (abbreviated as TVS). Figure 5 As shown, the second USB interface matches and connects with the first USB interface. If the first USB interface is a USB male connector, the second USB interface is a USB female connector. If the first USB interface is a USB female connector, the second USB interface is a USB male connector. The other end of the first USB interface is an alligator clip, and the first clip of the alligator clip is connected to the A port of the single-phase meter RS485 interface, and the second clip of the alligator clip is connected to the B port of the single-phase meter RS485 interface.
[0056] exist Figure 6In the embodiment, the first end of the second USB interface (i.e., J104) (i.e., the USB VBUS pin of the second USB interface) is connected to the first end of the diode TVS101, and the second end of the second USB interface (i.e., the GND pin of the second USB interface) is connected to one end of the thermistor RT100°. The first end of the diode TVS101 is connected to the A pin of the RS485 chip, and is also connected to one end of the resistor R132. The other end of the resistor R132 is grounded. The other end of the thermistor and the second end of the diode TVS101 are connected to the B pin of the RS485 chip, and are also connected to one end of the resistor R131. The other end of the resistor R131 is grounded. Among them, the A and B pins are used to receive signals, thereby forming a received differential signal to complete half-duplex communication.
[0057] The signal sending pin of the RS485 chip (i.e., the RD pin of the RS485 chip) is connected to the 485 signal receiving pin 485RXD pin of the micro-control module 201. The signal receiving pin of the RS485 chip (i.e., the DI pin of the RS485 chip) is connected to the 485 signal sending pin 485TXD pin of the micro-control module 201. The control pin of the RS485 chip (i.e., the RF pin and the DE pin of the RS485 chip) is connected to the 485 control pin 485CTRL pin of the micro-control module 201. The voltage pin VCC pin of the RS485 chip is connected to the output voltage of the voltage output end of the USB power supply module 203.
[0058] Under the premise that the finished single-phase meter does not need to be disassembled, when the battery compartment cover of the single-phase meter cannot be opened, the RS485 interface module 202 is connected to the RS485 interface of the single-phase meter, so that the single-phase meter is upgraded and updated through the RS485 communication mode. In this way, the RS485 interface module 202 of the device is connected to the RS485 interface of the single-phase meter to complete the upgrade and update of the single-phase meter version. This reflects the advantages of the device for upgrading and updating the single-phase meter, such as simple operation, simple upgrade and update process, and improved upgrade and update efficiency of the single-phase meter. The device also has the advantages of saving labor costs and material costs, shortening the upgrade and update cycle of the single-phase meter, etc.
[0059] The USB power supply module 203 of the device includes: a USB male connector (ie, J103), a load resistor, a capacitor C118, and an ESD diode. The ESD (Electrostatic Discharge Protection Diode) diode is an electrostatic discharge protection diode. Figure 4As shown, the VBUS pin of the USB male connector is connected to one end of the load resistor, one end of the ESD diode and one end of the capacitor C118. Specifically, the USB male connector is used to obtain electrical energy from the connected external power supply (i.e., power bank) to provide to the device during the upgrade and update of the single-phase meter through the RS485 interface module 202. The load resistor is a load resistor formed by three resistors R144, R145, and R146 connected in parallel. A fuse F101 is also connected between one end of the ESD diode and one end of the capacitor C118. One end of the capacitor C118 is also connected to the anode of the second diode of the dual diode D101. The cathode of the second diode of the dual diode D101 is the voltage output end of the USB power supply module 203, and the voltage output end of the USB power supply module 203 outputs the output voltage. The GND pin of the USB male connector, the other end of the load resistor, the other end of the ESD diode and the other end of the capacitor C118 are connected to the ground. Among them, the cathode of the first diode of the dual diode D101 and the cathode of the second diode of the dual diode D101 are connected to the power supply output end.
[0060] It should be noted that the working principle of the dual diode D101 is as follows: In this embodiment, the dual diode D101 acts as a switch. When there is a voltage of 5.2V, the diode from pin 1 to pin 3 in D101 is forward-conducted. Since the first diode of D101 is a Schottky tube, the tube voltage drop is 0.2V, and the voltage of pin 3 of D101 is 5V. The voltage of the VUSB pin is 5V supplied by the external power supply (i.e., the power bank). At this time, the level of 5V of pin 2 in D101 is equal to the level of 5V of pin 3, then the diode from pin 2 to pin 3 in D101 cannot be forward-conducted. Therefore, when there is a voltage of 5.2V, the diode from pin 1 to pin 3 in D101 is forward-conducted, and the diode from pin 2 to pin 3 in D101 is turned off. When there is no voltage on pin 1 in D101, the diode from pin 1 to pin 3 in D101 is turned off, and the diode from pin 2 to pin 3 in D101 is forward-conducted.
[0061] Through the USB power supply module 203, power is obtained from an external power supply and provided to the device during the upgrade and update of the single-phase meter through the RS485 interface module 202. In addition, the USB power supply module 203 and the carrier power supply module 205 can be used as switches through the dual diode D101, simplifying the circuit structure, thereby simplifying the upgrade and update process of the single-phase meter and improving the upgrade and update efficiency of the single-phase meter.
[0062] The device further includes: a storage module 206 connected to the microcontroller module 201. The storage module 206 includes a FLSAH memory and an EEPROM (Electrically Erasable Programmable read only memory) memory. The FLSAH memory is preferably a memory chip of the MX25L3233FM2I-08G model or a memory chip of the MX25L3206EM2I-12G model. Figure 7 As shown, the CS pin of the FLASH memory is connected to the FLASH CS pin of the microcontrol module 201, the SCLK pin of the FLASH memory is connected to the SPI1 SCK pin of the microcontrol module 201, and the SI / SIO0 pin of the FLASH memory is connected to the SPI1 MOSI pin of the microcontrol module 201. The FLASH memory is configured in open-drain output mode. Figure 8 As shown, the EPROM memory is preferably a memory chip of the BL24C512A model. The SCL pin of the EPROM memory is connected to the SCL pin of the micro-control module 201, and the SDA pin of the EPROM memory is connected to the SDA pin vector of the micro-control module 201. An exemplary specific connection relationship between each pin of the FLSAH memory and the EEPROM memory is shown as follows: Figure 7 and 8 As shown, no further description is given here.
[0063] Since there are new and old versions of single-phase meters, different versions have different upgrade methods. The upgrade methods of single-phase meters and three-phase meters are also different. The default communication transmission rates of single-phase meters in different regions are also different. In view of these differences, the upper computer needs to be used to configure the functions of this device. These configuration data will be saved in the EPROM memory and can be stored even if the power is off, so that the staff can use it multiple times after setting it once, without having to reset it after each power outage. The FLASH memory is used to store version-related files that need to be upgraded and updated for single-phase meters. Whenever the version of the single-phase meter is upgraded or replaced, it is cleared through the FLASH memory. Therefore, the EPROM memory focuses more on storing the functional configuration data of this device, and the FLASH memory focuses more on storing the version files that need to be upgraded and updated for single-phase meters.
[0064] The device also includes: a FLASH power module connected to the FLASH memory, and the FLASH power module includes a FLASH power management chip. The FLASH power management chip is preferably a power management chip of the ME6230C33M5G model. Fig. 9As shown, the input pin EN of the FLASH power management chip is connected to the FLASH control pin FLASH CTRL of the microcontroller module 201, and the output pin OUT of the FLASH power management chip is connected to the FLASH memory. An exemplary specific connection relationship of each pin of the FLASH power management chip is as follows: Fig. 9 As shown, no further description is given here.
[0065] The device further includes: an indicator light module 207 connected to the micro-control module 201, the indicator light module 207 includes a plurality of indicator lights, and the plurality of indicator lights are respectively connected to the LED POWER pin, the LED RXTX Load pin and the LED485 Load pin of the micro-control module 201. Fig.10 As shown, the indicator light module 207 includes three indicator lights, and the indicator light L101 is connected to the LED POWER pin of the micro-control module 201 through a resistor R136 to play the role of indicating the power switch of the device. The indicator light L102 is connected to the LED RXTX Load pin of the micro-control module 201 through a resistor R137, and the indicator light L103 is connected to the LED 485Load pin of the micro-control module 201 through a resistor R138. The color and state of each indicator light can be set according to actual needs. For example, the indicator light for indicating the power switch is in a long-on state, indicating that the device is in a power-on state, and the indicator light for indicating the power switch is in a long-off state, indicating that the device is in a power-off state. When the yellow indicator light flashes, it means that the device is upgrading and updating the single-phase meter. When the yellow indicator light is long on, it means that the device has completed the upgrade and update of the single-phase meter. Through the indicator light module 207, the working status of the device can be conspicuously notified to the staff.
[0066] The device further includes: a key module 208 connected to the micro-control module 201. The key module 208 includes a key, and the key is connected to the key pin KEY BUTTON pin of the micro-control module 201. Fig.11 As shown, the button K100 is connected to the button pin KEY BUTTON pin of the micro-control module 201 through the resistor R140. The button module 208 plays the role of a corresponding button of the device, such as a power button. The button module 208 can be used to more conveniently operate the device.
[0067] It should be noted that each module of the device can also be provided with circuit components such as capacitors, resistors, inductors or connectors in a manner of adding or reducing according to actual needs. Taking the carrier interface module 204 as an example, in the carrier interface module 204, resistors R100, R117, etc. are provided according to actual needs, and the setting positions are as follows: Figure 3 As shown, no further elaboration is given.
[0068] Those skilled in the art will appreciate that, although preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0069] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A dedicated upgrade device for a single-phase meter, characterized in that: include: A micro-control module, and a first communication module and / or a second communication module connected to the micro-control module; The first communication module includes: an RS485 interface module and a USB power supply module connected to the micro-control module, the RS485 interface module is connected to the single-phase meter through a conversion line between the first USB interface and the alligator clip, so that the single-phase meter is upgraded and updated through the RS485 interface module, and the USB power supply module is used to provide power during the upgrade and update of the single-phase meter through the RS485 interface module; The second communication module includes: a carrier interface module and a carrier power supply module connected to the micro-control module, the carrier interface module is connected to the carrier interface of the single-phase meter, so that the single-phase meter is upgraded and updated through the carrier interface module, and the carrier power supply module is used to obtain electric energy from the single-phase meter and provide it to a dedicated upgrading device during the process of upgrading and updating the single-phase meter through the carrier interface module.
2. The dedicated upgrade device for a single-phase meter as claimed in claim 1, characterized in that: The microcontrol module is a chip of model SCM301L080JG.
3. The dedicated upgrade device for a single-phase meter as claimed in claim 1, characterized in that: The carrier interface module includes: a carrier interface pin; The signal sending pin of the carrier interface pin is connected to the carrier signal receiving pin ZBRXD pin of the micro-control module, the signal receiving pin of the carrier interface pin is connected to the carrier signal sending pin ZBTXD pin of the micro-control module, the reset pin of the carrier interface pin is connected to the carrier reset pin ZBRST pin of the micro-control module, the event pin of the carrier interface pin is connected to the carrier event pin ZBEVT pin of the micro-control module, and the communication status pin of the carrier interface pin is connected to the carrier communication status pin ZBSTA pin of the micro-control module.
4. The dedicated upgrade device for a single-phase meter as claimed in claim 3, characterized in that: The carrier power supply module includes: a carrier power supply chip; The input pin VIN pin of the carrier power supply chip is used to be connected to the carrier power supply interface of the single-phase meter; The output pin SW of the carrier power supply chip is connected to the anode of the first diode of the dual diode D101, and the cathode of the first diode of the dual diode D101 is the voltage output end of the carrier power supply module.
5. The dedicated upgrade device for a single-phase meter as claimed in claim 1, characterized in that: The RS485 interface module includes: a second USB interface, a thermistor, a diode TVS101 and an RS485 chip; The first end of the second USB interface is connected to the first end of the diode TVS101, the second end of the second USB interface is connected to one end of the thermistor, and the second USB interface is also used to connect to the first USB interface; The first end of the diode TVS101 is also connected to the A pin of the RS485 chip, and the other end of the thermistor and the second end of the diode TVS101 are connected to the B pin of the RS485 chip; The signal sending pin of the RS485 chip is connected to the 485 signal receiving pin 485RXD pin of the micro-control module, the signal receiving pin of the RS485 chip is connected to the 485 signal sending pin 485TXD pin of the micro-control module, and the control pin of the RS485 chip is connected to the 485 control pin 485CTRL pin of the micro-control module.
6. The dedicated upgrade device for a single-phase meter as claimed in claim 5, characterized in that: The USB power supply module includes: a USB male connector, a load resistor, a capacitor C118 and an ESD diode; The VBUS pin of the USB male connector is connected to one end of the load resistor, one end of the ESD diode and one end of the capacitor C118; one end of the capacitor C118 is also connected to the anode of the second diode of the dual diode D101, and the cathode of the second diode of the dual diode D101 is the voltage output end of the USB power supply module; the GND pin of the USB male connector, the other end of the load resistor, the other end of the ESD diode and the other end of the capacitor C118 are connected to the ground.
7. The dedicated upgrade device for a single-phase meter as claimed in claim 1, characterized in that: Also includes: A storage module connected to the micro-control module includes a FLASH memory and an EEPROM memory.
8. The dedicated upgrade device for a single-phase meter as claimed in claim 7, characterized in that: Also includes: A FLASH power supply module connected to the FLASH memory, wherein the FLASH power supply module includes a FLASH power management chip; The input pin IN of the FLASH power management chip is connected to the FLASH control pin FLASHCTRL of the micro-control module, and the output pin OUT of the FLASH power management chip is connected to the FLASH memory.
9. The dedicated upgrade device for a single-phase meter as claimed in claim 1, characterized in that: Also includes: An indicator light module connected to the micro-control module, wherein the indicator light module comprises a plurality of indicator lights, and the plurality of indicator lights are respectively connected to an LED POWER pin, an LED RXTX Load pin and an LED 485Load pin of the micro-control module.
10. The dedicated upgrading device for a single-phase meter according to claim 1, characterized in that: Also includes: A key module connected to the micro-control module, the key module includes a key, and the key is connected to a key pin KEYBUTTON pin of the micro-control module.