Communication conversion device for power terminal

By providing communication conversion devices at the energy controller terminal and integrating multiple functional modules using virtual module technology, the problem of incomplete hardware modules or inflexible configuration is solved, and the effect of reducing costs and improving flexibility is achieved.

CN120074582APending Publication Date: 2025-05-30SHENZHEN FRIENDCOM TECH DEV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510070269.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-16
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

Existing energy controllers often face problems such as incomplete hardware modules or inflexible configuration during production testing, resulting in high system complexity, high cost and poor flexibility.

Method used

A communication conversion device for a power terminal is provided, which simulates a virtual module of corresponding functions through the first control module and works in concert with the second control module and the communication module to realize the integration and flexible configuration of multiple functions.

Benefits of technology

By integrating multiple functions, the energy controller's dependence on hardware modules is reduced, system costs are reduced, flexibility is improved, and data acquisition, testing and control processes are simplified.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120074582A_ABST
    Figure CN120074582A_ABST
Patent Text Reader

Abstract

The invention discloses a communication conversion device for a power terminal. The communication conversion device comprises a communication module, a first control module and a second control module which are connected with one another, the first control module is configured to process the collected data from the energy controller based on the corresponding function of the virtual module to generate test data of the energy controller; the second control module is configured to control the first control module to be simulated into a virtual module with a corresponding function according to instruction data from a host end, and switch the first control module from the virtual module to another virtual module; and the communication module is in communication connection with the energy controller and the host end and is used for interaction of various data. According to the invention, multiple functions required by the production test of the energy controller can be realized based on the cooperation between the host end and the communication conversion device, multiple functions of the required hardware module can be integrated, the dependence of the energy controller on the hardware module can be reduced, and data acquisition, test and control are facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of power terminals, and particularly to a communication conversion device for power terminals. Background Art

[0002] Energy controller (special transformer) terminals usually need to be equipped with multiple functional modules for different types of data acquisition, control, communication, etc. The traditional approach is to use multiple different hardware modules, each responsible for a different function, such as a DC analog quantity acquisition module, a telemetry pulse module, a CAN communication module, an M - Bus module, etc. These modules are physically independent, usually require a large amount of space and increase the complexity of the system, and also increase costs and difficulties during installation, maintenance, and debugging.

[0003] Therefore, this application is proposed based on this technical background, aiming to integrate multiple functions through a communication conversion device. Summary of the Invention

[0004] The purpose of this application is to provide a communication conversion device for power terminals to solve the technical problems in the prior art that existing energy controllers often face incomplete hardware modules or inability to be flexibly configured during production testing. The many technical effects that can be produced by the preferred technical solutions provided in this application are described in detail below.

[0005] To achieve the above - mentioned purpose, this application provides the following technical solutions:

[0006] A communication conversion device for power terminals provided by this application includes: a communication module, a first control module, and a second control module that are interconnected; the first control module is configured to process the acquisition data from the energy controller based on the corresponding functions of the virtual modules to generate test data of the energy controller; the second control module is configured to control the first control module to simulate a virtual module with corresponding functions according to the instruction data from the host end, and switch the first control module from the virtual module to another virtual module; the communication module is communicatively connected to the energy controller and the host end for the interaction of various types of data.

[0007] In some embodiments, the first control module includes a first control chip for processing the acquisition data; the first control chip is further configured to generate a device identification code for adapting to the energy controller, and map virtual channels for communicating with the energy controller according to the number of device interfaces.

[0008] In some embodiments, the second control module includes a second control chip for processing the instruction data; the second control chip is further configured to map the same number of virtual channels according to the virtual channels mapped by the first control chip.

[0009] In some embodiments, the communication module includes a first connection circuit and a second connection circuit; the first control module is connected to the energy controller through the first connection circuit, and the second control module is connected to the host through the second connection circuit.

[0010] In some embodiments, the first connection circuit includes a connector P3, a TVS component E1, a resistor R9, and a resistor R10; one end of the resistor R9 and one end of the resistor R10 are both connected to the USBFS pin of the first control chip, the other end of the resistor R9 is connected to the third end of the TVS component E1 and the fifth end of the connector P3, and the other end of the resistor R10 is connected to the first end of the TVS component E1 and the sixth end of the connector P3; the connector P3 has six pins for connecting to the energy controller.

[0011] In some embodiments, the first control module includes a lighting indication circuit, and the lighting indication circuit includes a power signal lamp D5, an information sending lamp D6, an information receiving lamp D7, a resistor R12, a resistor R13, and a resistor R14; the cathodes of the power signal lamp D5, the information sending lamp D6, and the information receiving lamp D7 are all connected to the ADC pin of the first control chip, the anode of the power signal lamp D5 is connected to one end of the resistor R12, the anode of the information sending lamp D6 is connected to one end of the resistor R13, the anode of the information receiving lamp D7 is connected to one end of the resistor R14, and the other ends of the resistor R12, the resistor R13, and the resistor R14 are all connected to the power supply voltage.

[0012] In some embodiments, the input pin of the first control chip is in a high level state to indicate that the first control module is connected to the energy controller; the input pin of the first control chip is in a low level state to indicate that the second control module is connected to the host.

[0013] In some embodiments, the first control module includes a first resonant circuit; the first control chip is connected to the first resonant circuit through the oscillation pin of the first control chip for receiving a clock signal.

[0014] In some embodiments, the first resonant circuit includes a crystal oscillator Y1, a capacitor C3, and a capacitor C4; the first end and the second end of the crystal oscillator Y1 are both connected to the oscillation pins of the first control chip, the second end of the crystal oscillator Y1 is connected to one end of the capacitor C3, the first end of the crystal oscillator Y1 is connected to one end of the capacitor C4, and the other ends of the capacitor C3 and the capacitor C4 are both grounded.

[0015] In some embodiments, the second connection circuit includes a connector P4, a connector P5, a TVS component E2, a resistor R23, and a resistor R24; one end of the resistor R23 and one end of the resistor R24 are both connected to the USBFS pin of the second control chip, the other end of the resistor R23 is connected to the third end of the TVS component E2, the ninth end of the connector P4, and the ninth end of the connector P5, and the other end of the resistor R24 is connected to the first end of the TVS component E2, the eighth end of the connector P4, and the eighth end of the connector P5; the connector P4 and / or the connector P5 is used to connect to the host end.

[0016] Implementing one of the above technical solutions of the present application has the following advantages or beneficial effects: In the present application, after the first control module is simulated into a virtual module with corresponding functions, the first control module and the second control module respectively process various types of data from the energy controller and from the host end, and at the same time, various types of data are transmitted between the energy controller and the host end by setting up a communication module. In this case, multiple functions required for the production test of the energy controller can be realized based on the cooperation between the host end and the communication conversion device, that is, multiple functions of the required hardware modules can be integrated. Therefore, the dependence of the energy controller on the hardware modules can be reduced, and thus it is convenient to perform data acquisition, testing, and control of the energy controller. By reducing hardware requirements, the system cost can be reduced, and the flexibility can be further improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings. In the drawings:

[0018] Figure 1 is a structural block diagram of a communication conversion device for a power terminal according to an embodiment of the present application;

[0019] Figure 2 is a schematic diagram of a first control chip and a first connection circuit according to an embodiment of the present application;

[0020] Figure 3 is a schematic diagram of the lighting indication circuit according to an embodiment of the present application;

[0021] Figure 4 is a schematic diagram of the first debugging circuit and the first serial debugging circuit according to an embodiment of the present application;

[0022] Figure 5 is a schematic diagram of the second control chip and the second connection circuit according to an embodiment of the present application;

[0023] Figure 6 is a schematic diagram of the second debugging circuit and the second serial debugging circuit according to an embodiment of the present application;

[0024] Figure 7 is a schematic diagram of the voltage stabilizing circuit according to an embodiment of the present application.

[0025] In the figure: 1, a communication conversion device for a power terminal; 10, a first control module; 11, a second control module; 12, a communication module; 120, a first connection circuit; 121, a second connection circuit; 2, an energy controller; 3, a host end. Detailed implementation manners

[0026] In order to make the objectives, technical solutions and advantages of the present application clearer, various exemplary embodiments to be described below will refer to the corresponding drawings, which form a part of the exemplary embodiments and describe various exemplary embodiments that may be adopted to implement the present application. Unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. It should be understood that they are only examples of processes, methods, devices, etc. consistent with some aspects of the present application disclosed in the appended claims in detail. Other embodiments may also be used, or structural and functional modifications may be made to the embodiments listed herein without departing from the scope and essence of the present application.

[0027] In the description of the present application, it should be understood that terms such as "center", "longitudinal", "lateral", etc. indicate the orientation or positional relationship based on the orientation shown in the drawings. These are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the indicated elements must have a specific orientation, be constructed and operated in a specific orientation. Terms such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. The meaning of the term "plurality" is two or more. The terms "connected" and "coupled" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, an integral connection, a mechanical connection, an electrical connection, a communication connection, a direct connection, an indirect connection through an intermediate medium. It can be the communication inside two elements or the interaction relationship between two elements. The term "and / or" includes any and all combinations of one or more of the related listed items. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific circumstances.

[0028] In order to illustrate the technical solutions described in the present application, the following will be described through specific embodiments, and only the parts related to the embodiments of the present application are shown.

[0029] The present application relates to a communication conversion device for a power terminal. The communication conversion device can be connected to a sensor or a control device, such as an energy controller. The communication conversion device can integrate multiple different types of functions required by the energy controller, such as data acquisition, data communication, etc. The communication conversion device can be connected to a host, such as a host computer, for receiving the instruction data of the host computer to implement the use or switching of different virtual modules. Specifically, the user can control the communication conversion device through the host to configure different virtual modules, such as DC analog quantity, CAN communication, etc., and support the real-time data acquisition and display of the energy controller to help the user monitor and analyze the system status. The user can also customize the module information and module data of the virtual module. For example, the user can generate instruction data through the application program of the host and send it to the communication conversion device, so that the hardware and software can work together. When the communication conversion device is connected to the host, the software can automatically identify and initialize the hardware, collect and display data in real time, and at the same time adjust the working mode of the module according to the user configuration.

[0030] As Figures 1 to 7 shown, the present application provides a communication conversion device 1 for a power terminal, including: a communication module 12, a first control module 10 and a second control module 11 that are connected to each other.

[0031] In some embodiments, the first control module 10 may be configured to process the collected data from the energy controller 2 based on the corresponding functions of the virtual modules to generate test data for the energy controller 2. The second control module 11 may be configured to control the first control module 10 to simulate a virtual module with corresponding functions and switch the first control module 10 from one virtual module to another according to the instruction data from the host 3. The communication module 12 may be communicatively connected to the energy controller 2 and the host 3 for the interaction of various types of data.

[0032] In some embodiments, the instruction data may carry data information such as the specific functional module, module information, and module data that the first control module 10 needs to simulate or switch. After the second control module 11 processes the instruction data to obtain the data information, it may synchronize the data information to the first control module 10. The first control module 10 may simulate a virtual module with corresponding functions according to the data information. After the energy controller 2 generates the collected data based on the virtual module, it may send the data to the first control module 10 via the communication module 12. The first control module 10 may generate test data based on the collected data. The communication module 12 may send the test data to the energy controller 2 and / or the host 3. The first control module 10 may switch to other virtual modules according to the instruction data to generate multiple test data. In this case, multiple test data of the energy controller 2 can be obtained to complete multiple production tests of the energy controller 2, which can improve the efficiency of production tests.

[0033] In some embodiments, the first control module 10 may include a first control chip for processing the collected data. The first control chip may also be configured to generate a device identification code for adapting to the energy controller 2 and map virtual channels for communicating with the energy controller 2 according to the number of device interfaces. Specifically, the first control chip may define the device identification code according to requirements. For example, when the device identification code required by the energy controller 2 is 3C93FFFF, the first control chip may define the device identification code of the virtual module as 3C93FFFF as well, so that the energy controller 2 can identify the virtual module, facilitating subsequent communication connections.

[0034] In some embodiments, the first control chip may map corresponding virtual channels according to the number of sub-device interfaces. For example, five virtual channels may be mapped, one of which is a management channel and the rest are data transmission channels.

[0035] In some embodiments, the second control module 11 may include a second control chip for processing the instruction data. The second control chip may also be configured to map the same number of virtual channels according to the virtual channels mapped by the first control chip. The virtual channels mapped by the second control chip may be used for data communication with the corresponding virtual channels of the first control chip.

[0036] In some embodiments, the communication module 12 may include a first connection circuit 120 and a second connection circuit 121. The first control module 10 may be connected to the energy controller 2 through the first connection circuit 120, and the second control module 11 may be connected to the host 3 through the second connection circuit 121.

[0037] In some embodiments, the first control module 10 may be configured to process the information interaction with the energy controller 2 and synchronize it to the second control module 11. The second control module 11 may be configured to process the information interaction with the host 3 and synchronize it to the first control module 10. Specifically, various types of data of the energy controller 2, such as acquisition data, may be transmitted to the first control module 10 through the first connection circuit 120. The first control module 10 may process various types of data from the energy controller 2, and then the first control module 10 may transmit the processed data back to the energy controller 2 and synchronize the processed data to the second control module 11.

[0038] Similarly, various types of data of the host 3, such as instruction data, may be transmitted to the second control module 11 through the second connection circuit 121. The second control module 11 may process various types of data from the host 3, and then the second control module 11 may transmit the processed data back to the host 3 and synchronize the processed data to the second control module 11. Further, since the first control module 10 and the second control module 11 have synchronized data, these synchronized data may also be transmitted through the first connection circuit 120 and the second connection circuit 121, so that communication between the energy controller 2 and the host 3 can be achieved.

[0039] In some embodiments, the first control chip may be connected to the first connection circuit 120 through the USBFS pin of the first control chip, and the first control chip may be connected to the second control module 11 through the main control communication pin of the first control chip.

[0040] In some embodiments, as Figure 2 shown, the 32nd pin and the 33rd pin of the first control chip may represent the USBFS pin, and the main control communication pins of the first control chip may include the 11th pin and the 12th pin of the first control chip, and / or the 18th pin and the 19th pin, and / or the 42nd pin and the 43rd pin.

[0041] In some embodiments, as Figure 2As shown, the first connection circuit 120 may include a connector P3, a TVS component E1, a resistor R9, and a resistor R10. One end of the resistor R9 and one end of the resistor R10 may both be connected to the USBFS pin of the first control chip. The other end of the resistor R9 is connected to the third end of the TVS component E1 and the fifth end of the connector P3. The other end of the resistor R10 may be connected to the first end of the TVS component E1 and the sixth end of the connector P3. The connector P3 has six pins for connecting to the energy controller 2. The connector P3 may be a USB interface.

[0042] In some embodiments, the TVS component E1 may be a TVS (Transient Voltage Suppressor) diode array of the SRV05-4 model, which is used to prevent overvoltage damage to the circuit. The first end and the second end of the connector P3 may both be connected to a regulated voltage, and the third end and the fourth end of the connector P3 may both be grounded. The connector P3 may be a USB interface, that is, the energy controller 2 can be connected to the communication conversion device 1 through the USB interface.

[0043] In some embodiments, as Figure 3 shown, the first control module 10 may include a lighting indication circuit. The lighting indication circuit may include a power signal lamp D5, an information sending lamp D6, an information receiving lamp D7, a resistor R12, a resistor R13, and a resistor R14. The cathodes of the power signal lamp D5, the information sending lamp D6, and the information receiving lamp D7 may all be connected to the ADC pin of the first control chip. The anode of the power signal lamp D5 may be connected to one end of the resistor R12. The anode of the information sending lamp D6 may be connected to one end of the resistor R13. The anode of the information receiving lamp D7 may be connected to one end of the resistor R14. The other ends of the resistor R12, the resistor R13, and the resistor R14 may all be connected to the power supply voltage.

[0044] In some embodiments, as Figure 2 shown, the 13th pin, 14th pin, and 15th pin of the first control chip may represent the ADC pin of the first control chip. Specifically, the 13th pin of the first control chip may be connected to the cathode of the information receiving lamp D7. The 14th pin of the first control chip may be connected to the cathode of the information sending lamp D6. The 15th pin of the first control chip may be connected to the cathode of the power signal lamp D5.

[0045] In some embodiments, when the input pin of the first control chip is in a high level state, it can be used to indicate that the first control module 10 is connected to the energy controller 2. When the input pin of the first control chip is in a low level state, it can be used to indicate that the second control module 11 is connected to the host end 3. The 1st pin of the first control chip may represent the input pin of the first control chip.

[0046] In some embodiments, asFigure 2 As shown, the first control module 10 may include a first resonant circuit. The first control chip may be connected to the first resonant circuit through the oscillation pins of the first control chip for receiving a clock signal. As Figure 2 shown, the 5th and 6th pins of the first control chip may represent the oscillation pins of the first control chip.

[0047] In some embodiments, the first resonant circuit may include a crystal oscillator Y1, a capacitor C3, and a capacitor C4. The first end and the second end of the crystal oscillator Y1 may both be connected to the oscillation pins of the first control chip. The second end of the crystal oscillator Y1 may be connected to one end of the capacitor C3, and the first end of the crystal oscillator Y1 may be connected to one end of the capacitor C4, where the other ends of the capacitor C3 and the capacitor C4 may both be grounded. Specifically, the second end of the crystal oscillator Y1 may be connected to the 5th pin of the first control chip, and the first end of the crystal oscillator Y1 may be connected to the 6th pin of the first control chip.

[0048] In some embodiments, as Figure 2 and Figure 4 shown, the first control module 10 may include a first debugging circuit, a first serial debugging circuit, and a first reset circuit. The first control chip may be connected to the first debugging circuit through the debugging pins of the first control chip, the first control chip may be connected to the first serial debugging circuit through the serial wire debugging pins of the first control chip, and the first control chip may be connected to the first reset circuit through the reset pins of the first control chip.

[0049] In some embodiments, as Figure 2 shown, the 39th and 40th pins of the first control chip may represent the debugging pins of the first control chip, the 34th and 37th pins of the first control chip may represent the serial wire debugging pins of the first control chip, and the 7th pin of the first control chip may represent the reset pin of the first control chip.

[0050] In some embodiments, as Figure 4 shown, the first debugging circuit may include a resistor R7, a resistor R8, and a connector P2. The first end of the connector P2 may be connected to the power supply voltage, the second end of the connector P2 may be connected to one end of the resistor R7, the third end of the connector P2 may be connected to one end of the resistor R8, and the fourth end of the connector P2 may be grounded. The other end of the resistor R7 may be connected to the 40th pin of the first control chip, and the other end of the resistor R8 may be connected to the 39th pin of the first control chip.

[0051] In some embodiments, as Figure 4As shown, the first serial debugging circuit may include resistor R2, resistor R3, resistor R4, resistor R5, resistor R6, and connector P1. The first end of connector P1 may be connected to the power supply voltage, the second end of connector P1 may be connected to one end of resistor R3, the third end of connector P1 may be grounded, the fifth end of connector P1 may be connected to one end of resistor R2, and the seventh end of connector P1 may be connected to one end of resistor R4.

[0052] The other end of resistor R3 may be connected to one end of resistor R6 and the 37th pin of the first control chip, and the other end of resistor R6 is grounded. The other end of resistor R2 may be connected to one end of resistor R5 and the 34th pin of the first control chip, and the other end of resistor R5 is connected to the power supply voltage.

[0053] In some embodiments, the first reset circuit may include resistor R1 and capacitor C5. The 7th pin of the first control chip may be connected to the other end of resistor R4, one end of resistor R1, and one end of capacitor C5, where the other end of resistor R1 is connected to the power supply voltage and the other end of capacitor C5 is grounded.

[0054] In some embodiments, the second control chip may be connected to the second connection circuit 121 through the USBFS pin of the second control chip, and the second control chip may be connected to the main control communication pin of the first control chip through the main control communication pin of the second control chip.

[0055] In some embodiments, as Figure 5 shown, the 32nd pin and the 33rd pin of the second control chip may represent the USBFS pin of the second control chip. The main control communication pins of the second control chip may include the 11th pin and the 12th pin of the second control chip, and / or the 18th pin and the 19th pin of the second control chip, and / or the 42nd pin and the 43rd pin of the second control chip. Specifically, the 11th pin of the second control chip may be connected to the 12th pin of the first control chip, the 12th pin of the second control chip may be connected to the 11th pin of the first control chip, the 18th pin of the second control chip may be connected to the 19th pin of the first control chip, the 19th pin of the second control chip may be connected to the 18th pin of the first control chip, the 42nd pin of the second control chip may be connected to the 43rd pin of the first control chip, and the 43rd pin of the second control chip may be connected to the 42nd pin of the first control chip.

[0056] In some embodiments, the second connection circuit 121 may include a connector P4, a connector P5, a TVS component E2, a resistor R23, and a resistor R24. One end of the resistor R23 and one end of the resistor R24 are both connected to the USBFS pin of the second control chip. The other end of the resistor R23 may be connected to the third end of the TVS component E2, the ninth end of the connector P4, and the ninth end of the connector P5. The other end of the resistor R24 may be connected to the first end of the TVS component E2, the eighth end of the connector P4, and the eighth end of the connector P5. The connector P4 and / or the connector P5 may be used to connect to the host end 3.

[0057] In some embodiments, the first end, the second end, the third end, the fourth end, the fifth end, and the tenth end of the connector P4 are all grounded. The sixth end and the seventh end of the connector P4 are both connected to a regulated voltage. The connector P4 may be a type-C interface. The first end to the tenth end of the connector P5 are all grounded. The connector P5 may be a USB interface. That is, the host end 3 may be connected to the communication conversion device 1 through the type-C interface or the USB interface.

[0058] In some embodiments, the second control module 11 may include a second resonant circuit. The second control chip may be connected to the second resonant circuit through the oscillation pin of the second control chip for receiving a clock signal. As Figure 5 shown, the 5th pin and the 6th pin of the second control chip may represent the oscillation pins of the second control chip.

[0059] In some embodiments, the second resonant circuit may include a crystal oscillator Y2, a capacitor C9, and a capacitor C10. The first end and the second end of the crystal oscillator Y2 may both be connected to the oscillation pins of the second control chip. The second end of the crystal oscillator Y2 may be connected to one end of the capacitor C9. The first end of the crystal oscillator Y2 may be connected to one end of the capacitor C10. The other ends of the capacitor C9 and the capacitor C10 may both be grounded. Specifically, the second end of the crystal oscillator Y2 may be connected to the 5th pin of the second control chip, and the first end of the crystal oscillator Y2 may be connected to the 6th pin of the second control chip.

[0060] In some embodiments, the second control module 11 may include a second debugging circuit, a second serial debugging circuit, and a second reset circuit. The second control chip may be connected to the second debugging circuit through the debugging pin of the second control chip, the second control chip may be connected to the second serial debugging circuit through the serial wire debugging pin of the second control chip, and the second control chip may be connected to the second reset circuit through the reset pin of the second control chip.

[0061] In some embodiments, as Figure 5As shown, the 39th and 40th pins of the second control chip can represent the debug pins of the second control chip, the 34th and 37th pins of the second control chip can represent the serial wire debug pins of the second control chip, and the 7th pin of the second control chip can represent the reset pin of the second control chip.

[0062] In some embodiments, such as Figure 6 As shown, the second debug circuit may include a resistor R21, a resistor R22, and a connector P7. The first end of the connector P7 can be connected to the power supply voltage, the second end of the connector P7 can be connected to one end of the resistor R21, the third end of the connector P7 can be connected to one end of the resistor R22, and the fourth end of the connector P7 can be grounded. The other end of the resistor R21 can be connected to the 40th pin of the second control chip, and the other end of the resistor R22 can be connected to the 39th pin of the second control chip.

[0063] In some embodiments, such as Figure 6 As shown, the second serial debug circuit may include a resistor R16, a resistor R17, a resistor R18, a resistor R19, a resistor R20, and a connector P6. The first end of the connector P6 can be connected to the power supply voltage, the second end of the connector P6 can be connected to one end of the resistor R17, the third end of the connector P6 can be grounded, the fifth end of the connector P6 can be connected to one end of the resistor R16, and the seventh end of the connector P6 can be connected to one end of the resistor R18.

[0064] The other end of the resistor R17 can be connected to one end of the resistor R20 and the 37th pin of the second control chip, and the other end of the resistor R20 is grounded. The other end of the resistor R16 can be connected to one end of the resistor R19 and the 34th pin of the first control chip, and the other end of the resistor R19 is connected to the power supply voltage.

[0065] In some embodiments, such as Figure 5 As shown, the second reset circuit may include a resistor R15 and a capacitor C11. The 7th pin of the second control chip can be connected to the other end of the resistor R18, one end of the resistor R15, and one end of the capacitor C11, wherein the other end of the resistor R15 is connected to the power supply voltage, and the other end of the capacitor C11 is grounded.

[0066] In some embodiments, such as Figure 7As shown, the communication conversion device 1 may further include a voltage stabilizing circuit for providing a regulated voltage. The voltage stabilizing circuit may include a voltage regulator U1, a diode D1, a diode D2, a diode D3, a TVS diode D4, a capacitor C1, and a capacitor C2. The first end of the voltage regulator U1 is connected to one end of the capacitor C1 and grounded. The second end of the voltage regulator U1 is connected to the other end of the capacitor C1, one end of the TVS diode D4, the cathode of the diode D1, the cathode of the diode D2, and the cathode of the diode D3. The other end of the TVS diode D4 is grounded, and a regulated voltage is provided at the anodes of the diode D1, the diode D2, and the diode D3. Specifically, the anode of the diode D1 may be connected to both the first end and the second end of the connector P3. The anode of the diode D2 may be connected to the sixth end of the connector P4 or the sixth end of the connector P5. The anode of the diode D3 may be connected to the seventh end of the connector P4 or the seventh end of the connector P5.

[0067] In this application, after the first control module 10 is simulated into a virtual module with corresponding functions, the first control module 10 and the second control module 11 respectively process various types of data from the energy controller 2 and from the host side 3. At the same time, by setting the communication module 12, the transmission of various types of data between the energy controller 2 and the host side 3 is realized. In this case, multiple functions required for the production test of the energy controller 2 can be realized based on the cooperation between the host side 3 and the communication conversion device 1, that is, multiple functions of the required hardware modules can be integrated. Therefore, the dependence of the energy controller 2 on the hardware modules can be reduced, and thus it is convenient to perform data acquisition, testing, and control of the energy controller 2. By reducing the hardware requirements, the system cost can be reduced, and the flexibility can be further improved.

[0068] The above are only the preferred embodiments of this application. Those skilled in the art know that without departing from the spirit and scope of this application, these features and embodiments can be variously changed or equivalently replaced. Additionally, under the teaching of this application, these features and embodiments can be modified to adapt to specific situations and materials without departing from the spirit and scope of this application. Therefore, this application is not limited by the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of this application belong to the protection scope of this application.

Claims

1. A communication conversion device for a power terminal, characterized in that: include: A communication module, a first control module and a second control module connected to each other; The first control module is configured to process the collected data from the energy controller based on the corresponding function of the virtual module to generate test data of the energy controller; The second control module is configured to control the first control module to simulate a virtual module with corresponding functions according to instruction data from the host side, and to switch the first control module from the virtual module to another virtual module; The communication module is communicatively connected with the energy controller and the host end for interaction of various types of data.

2. The communication conversion device for a power terminal according to claim 1, characterized in that: The first control module includes a first control chip for processing the collected data; the first control chip is also configured to generate a device identification code for adapting to the energy controller, and map a virtual channel for communicating with the energy controller according to the number of device interfaces.

3. The communication conversion device for a power terminal according to claim 2, characterized in that: The second control module includes a second control chip for processing the instruction data; the second control chip is also configured to map the same number of virtual channels according to the virtual channels mapped by the first control chip.

4. The communication conversion device for a power terminal according to claim 2, characterized in that: The communication module includes a first connection circuit and a second connection circuit; the first control module is connected to the energy controller through the first connection circuit, and the second control module is connected to the host end through the second connection circuit.

5. The communication conversion device for a power terminal according to claim 4, characterized in that: The first connection circuit includes a connector P3, a TVS component E1, a resistor R9 and a resistor R10; one end of the resistor R9 and one end of the resistor R10 are both connected to the USBFS pin of the first control chip, the other end of the resistor R9 is connected to the third end of the TVS component E1 and the fifth end of the connector P3, and the other end of the resistor R10 is connected to the first end of the TVS component E1 and the sixth end of the connector P3; the connector P3 has six pins for connecting to the energy controller.

6. The communication conversion device for a power terminal according to claim 2, characterized in that: The first control module includes a light indication circuit, which includes a power signal light D5, an information sending light D6, an information receiving light D7, a resistor R12, a resistor R13 and a resistor R14; the cathode of the power signal light D5, the cathode of the information sending light D6 and the cathode of the information receiving light D7 are all connected to the ADC pin of the first control chip, the anode of the power signal light D5 is connected to one end of the resistor R12, the anode of the information sending light D6 is connected to one end of the resistor R13, the anode of the information receiving light D7 is connected to one end of the resistor R14, and the other end of the resistor R12, the other end of the resistor R13 and the other end of the resistor R14 are all connected to the power supply voltage.

7. The communication conversion device for a power terminal according to claim 2, characterized in that: The input pin of the first control chip is in a high level state, which is used to indicate that the first control module is connected to the energy controller; the input pin of the first control chip is in a low level state, which is used to indicate that the second control module is connected to the host end.

8. The communication conversion device for a power terminal according to claim 2, characterized in that: The first control module includes a first resonant circuit; the first control chip is connected to the first resonant circuit via an oscillation pin of the first control chip, and is used to receive a clock signal.

9. The communication conversion device for a power terminal according to claim 8, characterized in that: The first resonant circuit includes a crystal oscillator Y1, a capacitor C3 and a capacitor C4; the first end and the second end of the crystal oscillator Y1 are both connected to the oscillation pin of the first control chip, the second end of the crystal oscillator Y1 is connected to one end of the capacitor C3, the first end of the crystal oscillator Y1 is connected to one end of the capacitor C4, and the other end of the capacitor C3 and the other end of the capacitor C4 are both grounded.

10. The communication conversion device for a power terminal according to claim 4, characterized in that: The second connection circuit includes a connector P4, a connector P5, a TVS component E2, a resistor R23 and a resistor R24; one end of the resistor R23 and one end of the resistor R24 ​​are both connected to the USBFS pin of the second control chip, the other end of the resistor R23 is connected to the third end of the TVS component E2, the ninth end of the connector P4 and the ninth end of the connector P5, and the other end of the resistor R24 ​​is connected to the first end of the TVS component E2, the eighth end of the connector P4 and the eighth end of the connector P5; the connector P4 and / or the connector P5 are used to connect to the host end.