Test circuit and test system of electricity meter or acquisition terminal
By introducing a first conversion module and a second conversion module into the electricity meter or data acquisition terminal testing system, information interaction between the test host and multiple electricity meters or data acquisition terminals is realized, solving the problem of low testing efficiency of electricity meters or data acquisition terminals in the prior art and realizing efficient batch testing.
Patent Information
- Application Number
- CN202520811589.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-27
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2035-04-27
AI Technical Summary
Existing technologies have low testing efficiency for electricity meters or data acquisition terminals, making it impossible to achieve efficient batch testing.
A test circuit including a first conversion module and a second conversion module is adopted. Multiple electricity meters or acquisition terminals are connected through a communication bus to realize information interaction between the test host and the target electricity meter or target acquisition terminal. The first conversion module converts the test information into serial port information, and the second conversion module converts the instruction information into information that can be recognized by the electricity meter or acquisition terminal.
It enables simultaneous testing of multiple electricity meters or data acquisition terminals, thus improving testing efficiency.
Smart Images

Figure CN223955797U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of conversion circuits, and more particularly, to a test circuit and a test system for electric meters or collection terminals. BACKGROUND
[0002] In the test of the related functions or performances of electric meters or collection terminals, each electric meter or collection terminal can only be tested one by one, and such a test method has a low efficiency. CONTENT
[0003] In view of the above problems, the present application provides a test circuit and a test system for electric meters or collection terminals, which can effectively improve the test efficiency of electric meters or collection terminals.
[0004] In a first aspect, the present application provides a test circuit for electric meters or collection terminals, which comprises a first conversion module and a second conversion module, a first end of the first conversion module is used for connecting a test host, a second end of the first conversion module is connected with a first end of the second conversion module, and a second end of the second conversion module is used for connecting a plurality of electric meters or collection terminals, the plurality of electric meters or collection terminals are connected through a communication bus, wherein: the first conversion module is used for converting test information into first serial port information when receiving the test information sent by the test host, and converting second serial port information into reply information when receiving the second serial port information sent by the second conversion module, and sending the reply information to the test host; and the second conversion module is used for converting the first serial port information into test instruction information when receiving the first serial port information, and sending the test instruction information to a target electric meter or a target collection terminal, and converting instruction reply information into the second serial port information when receiving the instruction reply information sent by the target electric meter or the target collection terminal, the target electric meter or the target collection terminal being an electric meter or a collection terminal included in the plurality of electric meters or collection terminals.
[0005] In a second aspect, the present application further provides a test system for electric meters or collection terminals, which comprises a test host, a plurality of electric meters or collection terminals, and a test circuit for electric meters or collection terminals as described above, wherein: the test host is connected with the test circuit, the test circuit is further connected with the plurality of electric meters or collection terminals, and the plurality of electric meters or collection terminals are connected through a communication bus.
[0006] The technical scheme provided in the application, a test circuit of an electric meter or a collection terminal comprises a first conversion module and a second conversion module, a first end of the first conversion module is used for connecting a test host, a second end of the first conversion module is connected with a first end of the second conversion module, and a second end of the second conversion module is used for connecting a plurality of electric meters or collection terminals, the plurality of electric meters or collection terminals are connected through a communication bus, wherein: the first conversion module is used for converting test information into first serial port information when the test information sent by the test host is received, converting second serial port information into reply information when the second serial port information sent by the second conversion module is received, and sending the reply information to the test host; the second conversion module is used for converting the first serial port information into test instruction information and sending the test instruction information to a target electric meter or a target collection terminal when the first serial port information is received, and converting instruction reply information into the second serial port information when the instruction reply information sent by the target electric meter or the target collection terminal is received, the target electric meter or the target collection terminal being an electric meter or a collection terminal included in the plurality of electric meters or collection terminals. Thus, through cooperation between the first conversion module and the second conversion module, information interaction between the test host and the target electric meter or the target collection terminal is realized, the target electric meter or the target collection terminal is tested at one time, and therefore the test efficiency of the electric meter or the collection terminal is improved. BRIEF DESCRIPTION OF DRAWINGS
[0007] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments of the present application, all other embodiments and drawings obtained by those skilled in the art without creative labor are within the scope of the present application.
[0008] Figure 1 is a structural schematic diagram of a test circuit of an electric meter or a collection terminal provided by the embodiments of the present application.
[0009] Figure 2 is a structural schematic diagram of another test circuit of an electric meter or a collection terminal provided by the embodiments of the present application.
[0010] Figure 3 is a structural schematic diagram of still another test circuit of an electric meter or a collection terminal provided by the embodiments of the present application.
[0011] Figure 4 is a structural schematic diagram of yet another test circuit of an electric meter or a collection terminal provided by the embodiments of the present application.
[0012] Figure 5 is a structural schematic diagram of still another test circuit of an electric meter or a collection terminal provided by the embodiments of the present application.
[0013] Figure 6 is another structure schematic diagram of a test circuit of an electric meter or collection terminal provided by an embodiment of the present application.
[0014] Figure 7 is a structure schematic diagram of a power module provided by an embodiment of the present application.
[0015] Figure 8 is a structure schematic diagram of a test system of an electric meter or concentrator provided by an embodiment of the present application. DETAILED DESCRIPTION
[0016] In order to make the purposes, technical solutions and advantages of the present application more clear, the present application will be further described in detail below with reference to the drawings, and the described embodiments should not be regarded as limiting the present application, and all other embodiments obtained by those skilled in the art without making creative efforts fall within the scope of protection of the present application.
[0017] In the following description, “some embodiments” are described, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” can be the same subset or different subset of all possible embodiments, and can be combined with each other without conflict. In the following description, the term “a plurality of” refers to at least two.
[0018] In the following description, the term “first\second” is only to distinguish similar objects, and does not represent a specific order of the objects. It can be understood that “first\second” can be interchanged in a specific order or sequence as allowed, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0019] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application, and are not intended to limit the present application.
[0020] In the test of the related functions or performance of the electric meter or collection terminal, each electric meter or collection terminal can only be tested one by one, and such a test method has a low efficiency.
[0021] In order to improve the above problems, the application provides a test circuit and a test system of an electric meter or a collection terminal, the test circuit of the electric meter or the collection terminal comprising: a first conversion module and a second conversion module, a first end of the first conversion module being used for connecting a test host, a second end of the first conversion module being connected with a first end of the second conversion module, and a second end of the second conversion module being used for connecting a plurality of electric meters or collection terminals, the plurality of electric meters or collection terminals being connected through a communication bus.
[0022] Thus, through cooperation between the first conversion module and the second conversion module, information interaction between the test host and the target electric meter or the target collection terminal is realized, the target electric meter or the target collection terminal is tested at one time, and the test efficiency of the electric meter or the collection terminal is improved.
[0023] The technical solutions in the embodiments of the application will be clearly and completely described in combination with the accompanying drawings in the embodiments of the application.
[0024] Please refer to Figure 1 , Figure 1 is a structural schematic diagram of a test circuit of an electric meter or a collection terminal provided by the embodiments of the application. As Figure 1 shown, Figure 1 the test circuit 100 in the embodiment comprises a first conversion module 110 and a second conversion module 120, a first end of the first conversion module 110 being used for connecting a test host, a second end of the first conversion module 110 being connected with a first end of the second conversion module 120, and a second end of the second conversion module 120 being used for connecting a plurality of electric meters or collection terminals, the plurality of electric meters or collection terminals being connected through a communication bus.
[0025] The first conversion module 110 is used for converting test information into first serial port information when the test information is received from the test host, and converting second serial port information into reply information when the second serial port information is received from the second conversion module, and sending the reply information to the test host.
[0026] The second conversion module 120 is configured to, in a case of receiving the first serial port information, convert the first serial port information into test instruction information, and send the test instruction information to the target electric meter or the target collection terminal; and in a case of receiving instruction reply information sent by the target electric meter or the target collection terminal, convert the instruction reply information into second serial port information, the target electric meter or the target collection terminal being an electric meter or a collection terminal included in the plurality of electric meters or collection terminals.
[0027] That is, in the process of testing the target electric meter or the target collection terminal in the plurality of electric meters or collection terminals, the test host determines test information according to information required to be tested, and sends the test information to the first conversion module 110; the first conversion module 110, in a case of receiving the test information, converts the test information into first serial port information, and transmits the first serial port information to the second conversion module 120; the second conversion module 120, in a case of receiving the first serial port information transmitted by the first conversion module 110, converts the first serial port information into test instruction information, and transmits the test instruction information to the target electric meter or the target collection terminal; the target electric meter or the target collection terminal, according to the received test instruction information, performs corresponding test operation, so as to determine data required by the test information, and further determine instruction reply information.
[0028] That is, in the one-way loop from the test host to the target electric meter or the target collection terminal, the transmission path of information is: test host-first conversion module 110-second conversion module 120-target electric meter or target collection terminal; and the transmission form of information is: test information-first serial port information-test instruction information.
[0029] After the target electric meter or the target collection terminal determines the instruction reply information, the target electric meter or the target collection terminal sends the instruction reply information to the second conversion module 120; the second conversion module 120, in a case of receiving the instruction reply information, converts the instruction reply information into second serial port information, and sends the second serial port information to the first conversion module 110; the first conversion module 110, in a case of receiving the second serial port information, converts the second serial port information into reply information, and sends the reply information to the test host, thereby completing the test of the target electric meter or the target collection terminal.
[0030] That is, in the one-way loop from the target electric meter or the target collection terminal to the test host, the transmission path of information is: target electric meter or target collection terminal-second conversion module 120-first conversion module 110-test host; and the transmission form of information is: instruction reply information-second serial port information-reply information.
[0031] Further, in one embodiment, the electric meter can include an ammeter and / or a voltmeter. In another embodiment, the collection terminal can be a terminal device for collecting relevant parameters of a certain device. For example, the collection terminal is a collection device for collecting relevant parameters in the process of a certain device being in working state.
[0032] In one embodiment, the test information can include a data packet corresponding to the instruction information required by the test host to test the function or performance of the target electric meter or the target collection terminal. In another embodiment, the first serial port information can include a data packet for converting the test information into test information that can be read and received by the second conversion module 120. In another embodiment, the test instruction information can include a data packet for converting the test information into test information that can be read and received by the target electric meter and the target collection terminal.
[0033] In one embodiment, the instruction reply information can include a data packet corresponding to the reply information of the target electric meter and the target collection terminal based on the test information. In another embodiment, the second serial port information can include a data packet for converting the instruction reply information into a data packet that can be read and received by the first conversion module 110. In another embodiment, the reply information can include a data packet for converting the instruction reply information into a data packet that can be read and received by the test host.
[0034] As described above, through the cooperation of the first conversion module 110 and the second conversion module 120, and the connection between the multiple electric meters or collection terminals through the communication bus, the information interaction between the test host and the multiple electric meters or collection terminals is realized, so as to realize the test of the function or performance of the target electric meter or the target collection terminal by the test host, thereby improving the test efficiency of the electric meter or the collection terminal.
[0035] The first conversion module 110 converts the test information into the first serial port information, and converts the second serial port information into the reply information, so as to cooperate with the second conversion module 120 to realize the information interaction between the test host and the multiple electric meters or collection terminals. Specifically, please refer to Figure 2 , Figure 2 is another structure diagram of the test circuit of the electric meter or the collection terminal provided by the embodiment of the present application. As shown in Figure 2 , the first conversion module 110 in Figure 2 includes a network port unit 111 and an RS232 conversion unit 112, the network port unit 111 is connected with the test host and the RS232 conversion unit 112 respectively, and the RS232 conversion unit 112 is further connected with the multiple electric meters or collection terminals.
[0036] The network port unit 111 is configured to receive test information sent by the test host, transmit the test information to the RS232 conversion unit 112, and receive reply information sent by the RS232 conversion unit 112, and transmit the reply information to the test host.
[0037] The RS232 conversion unit 112 is configured to, in a case of receiving the test information, convert the test information into first serial port information, and in a case of receiving the second serial port information, convert the second serial port information into the reply information.
[0038] That is, in the one-way loop from the test host to the target electric meter or the target collection terminal, the transmission path of information is: test host-network port unit 111-RS232 conversion unit 112-second conversion module 120-target electric meter or target collection terminal. In the one-way loop from the target electric meter or the target collection terminal to the test host, the transmission path of information is: target electric meter or target collection terminal-second conversion module 120-RS232 conversion unit 112-network port unit 111-test host.
[0039] Further, in a specific embodiment, please refer to Figure 3 , Figure 3 is another structure diagram of the test circuit of the electric meter or the collection terminal provided by the embodiment of the present application. As shown in Figure 3 , Figure 3 The network port unit in the above embodiment includes a connector CON1, and the RS232 conversion unit includes an RS232 conversion chip U1. The first end (pin 9 of the connector CON1) and the second end (pin 10 of the connector CON1) of the connector CON1 are connected with the test host respectively, the data sending end (TX+ pin of the connector CON1) of the connector CON1 is connected with the first data receiving end (T1OUT pin of the RS232 conversion unit) of the RS232 conversion unit, and the data receiving end (RX+ pin of the connector CON1) of the connector CON1 is connected with the first data sending end (R1IN pin of the RS232 conversion unit) of the RS232 conversion unit.
[0040] The second data sending end (T1IN pin of the RS232 conversion unit) and the second data receiving end (R1OUT pin of the RS232 conversion unit) of the RS232 conversion unit 112 are connected with the second conversion module 112 respectively.
[0041] In another specific embodiment, please continue to refer to Figure 3The VCC pin of the first conversion module 110 is connected with a power supply (for example, a 3.3V power supply), and the VCC pin of the first conversion module 110 is also connected with a first end of a first capacitor C1, and a second end of the first capacitor C1 is grounded to provide a stable working voltage for the first conversion module 110.
[0042] In another specific embodiment, please continue to refer to Figure 3 The V+ pin of the first conversion module 110 is also connected with a first end of a second capacitor C2, and the V- pin of the first conversion module 110 is also connected with a first end of a third capacitor C3, and a second end of the second capacitor C2 and a second end of the third capacitor C3 are grounded.
[0043] In another specific embodiment, please continue to refer to Figure 3 The C+ pin of the first conversion module 110 is also connected with a first end of a fourth capacitor C4, and the C- pin of the first conversion module 110 is connected with a second end of the fourth capacitor C4.
[0044] In another specific embodiment, please continue to refer to Figure 3 The C2+ pin of the first conversion module 110 is also connected with a first end of a fifth capacitor C5, and the C2- pin of the first conversion module 110 is connected with a second end of the fifth capacitor C5.
[0045] So far, through cooperation of the connector CON1 and the RS232 conversion chip U1, the test information sent by the test host is fed back to the target electric meter or the target acquisition terminal, and the instruction reply information sent by the target electric meter or the target acquisition terminal is fed back to the test host, so that one-time testing of multiple electric meters or acquisition terminals is realized. In the information interaction process between the test host and the target electric meter or the target acquisition terminal, the second conversion module 120 converts the first serial port information into test instruction information, and converts the instruction reply information into the second serial port information, so as to cooperate with the first conversion module 110, thereby realizing information conversion of two different protocols. Specifically, please refer to Figure 4 , Figure 4 is another structure diagram of a test circuit of an electric meter or an acquisition terminal provided by the embodiment of the present application. As shown in Figure 4 , Figure 4 The second conversion module 120 includes an RS485 conversion unit 121, a first passage unit 122 and a second passage unit 123, a first end of the RS485 conversion unit 121 is connected with a first end of the first passage unit 122, and a second end of the first passage unit 122 is connected with the first conversion module 110; a second end of the RS485 conversion unit 121 is connected with a first end of the second passage unit 123, and a second end of the second passage unit 123 is connected with the first conversion module 122; a third end and a fourth end of the RS485 conversion unit 121 are connected with multiple electric meters or acquisition terminals.
[0046] The first channel unit 122 is configured to receive the first serial port information sent by the first conversion module 110 and transmit the first serial port information to the RS485 conversion unit 121. The RS485 conversion unit 121 is configured to convert the first serial port information into test instruction information and transmit the test instruction information to the target electric meter or target collection terminal, and convert the instruction reply information into second serial port information. The second channel unit 123 is configured to transmit the second serial port information to the first conversion module.
[0047] That is, in the one-way loop from the test host to the target electric meter or target collection terminal, the transmission path of information is: test host - network port unit 111 - RS232 conversion unit 112 - first channel unit 122 - RS485 conversion unit 121 - target electric meter or target collection terminal. In the one-way loop from the target electric meter or target collection terminal to the test host, the transmission path of information is: target electric meter or target collection terminal - RS485 conversion unit 121 - second channel unit 123 - RS232 conversion unit 112 - network port unit 111 - test host.
[0048] In a specific embodiment, the RS485 conversion unit 121 can be a chip of model AZRS485.
[0049] In a specific embodiment, please refer to Figure 5 , Figure 5 is another structure diagram of the test circuit of the electric meter or collection terminal provided by the embodiment of the present application. As shown in Figure 5 , Figure 5 The first channel unit 122 includes a first triode T1, a first resistor R1 and a second resistor R2. The first end of the first triode T1 is connected with the first end of the first resistor R1, and the second end of the first resistor R1 is connected with a power supply (for example, a power supply of 5V). The second end of the first triode T1 is connected with the first end of the RS485 conversion unit 121 (the RD pin of the RS485 conversion unit 121). The third end of the first triode T1 is connected with the first end of the second resistor R2 and the first conversion module 110 respectively, and the second end of the second resistor R2 is connected with a power supply (for example, a power supply of 3.3V).
[0050] In a specific embodiment, please continue to refer to Figure 5 , Figure 5The second path unit 122 includes a second transistor T2, a third resistor R3, and a fourth resistor R4, wherein: the first end of the second transistor T2 is connected to the first end of the third resistor R3, and the second end of the third resistor R3 is connected to a power supply (e.g., a 5V power supply); the second end of the second transistor T2 is connected to the first conversion module 110; the third end of the second transistor T2 is connected to the first end of the fourth resistor R4 and the second end (DI pin of the RS485 conversion unit 121), respectively, and the second end of the fourth resistor R4 is connected to a power supply (e.g., a 3.3V power supply).
[0051] In one specific embodiment, please refer to [link / reference needed]. Figure 5 , Figure 5 The second conversion module 120 also includes a control unit 124, which is connected to the fifth terminal (RE pin and DE pin of RS485 conversion unit 121) of RS485 conversion unit 121. The control unit 124 is used to control the working state of RS485 conversion unit 121.
[0052] Further, please continue to refer to Figure 5 , Figure 5 The control unit 124 includes a third transistor T3, a fifth resistor R5, and a sixth resistor R6. The first end of the third transistor T3 is connected to the first end of the sixth resistor R6. The second end of the sixth resistor R6 is connected to the first end of the fifth resistor R5 and the sixth end (DI pin of the RS485 conversion unit 121) of the RS485 conversion unit 121. The second end of the third transistor T3 is connected to the power supply. The third end of the third transistor T3 is connected to the first end of the sixth resistor R6, the seventh end (RE pin of the RS485 conversion unit 121), and the eighth end (RE pin of the RS485 conversion unit 121) of the RS485 conversion unit 121. The second end of the sixth resistor R6 is connected to the ground terminal.
[0053] In one specific embodiment, please continue to refer to Figure 5 The VCC terminal of the RS485 conversion unit 121 is connected to the power supply. The RS485 conversion unit 121 also includes a sixth capacitor C6 and a seventh capacitor C7. The first terminals of the sixth capacitor C6 and the seventh capacitor C7 are respectively connected to the power supply and the VCC terminal of the RS485 conversion unit 121, and the second terminals of the sixth capacitor C6 and the seventh capacitor C7 are respectively used for grounding.
[0054] In one specific embodiment, please continue to refer to Figure 6The RS485 conversion unit 121 further comprises a pull-up resistor R1, a pull-down resistor R2 and a diode RD1. A first end of the pull-up resistor R1 is connected to ground, and a second end of the pull-up resistor R1 is connected to a first end of the diode RD1, a B pin of the RS485 conversion unit 121 and a plurality of electric meters or collection terminals respectively. A first end of the pull-down resistor R2 is connected to a power supply (for example, a 5V power supply), and a second end of the pull-down resistor R2 is connected to a second end of the diode RD1, an A pin of the RS485 conversion unit 121 and the plurality of electric meters or collection terminals respectively.
[0055] Through the cooperation of the first conversion module 110 and the second conversion module 120, the conversion between the RS232 and RS485 communication protocols is realized, and the information interaction between the test host and the plurality of electric meters or concentrators is realized.
[0056] In some embodiments, referring to Figure 6 , Figure 6 is another structural schematic diagram of a test circuit of an electric meter or collection terminal provided by an embodiment of the present application. As Figure 6 indicated, Figure 7 The test circuit further comprises a power supply module 130. An input end of the power supply module 130 is connected to a first voltage, and an output end of the power supply module 130 is connected to the first conversion module 110. The power supply module 130 is configured to convert the first voltage into a second working voltage and provide the second working voltage to the first conversion module 110.
[0057] In a specific embodiment, the first voltage can be 5V, and the second working voltage can be 3.3V. It can be understood that the present application does not limit the specific values of the first voltage and the second working voltage, and the specific values of the first voltage and the second working voltage can be adjusted flexibly according to actual conditions.
[0058] Further, in a specific embodiment, referring to Figure 7 , Figure 7 is a structural schematic diagram of a power supply module provided by an embodiment of the present application. As Figure 8 indicated, the power supply module 130 comprises a voltage conversion chip U3. An input end of the voltage conversion chip U3 is connected to the first voltage, an output end of the voltage conversion chip U3 is connected to the first conversion module 110, and a ground end of the voltage conversion chip U3 is connected to ground.
[0059] In another specific embodiment, the power module 130 further comprises an eighth capacitor C8, a ninth capacitor C9, a tenth capacitor C10 and an eleventh capacitor C11, the first ends of the eighth capacitor C8 and the ninth capacitor C9 are connected with the power supply and the input end of the voltage conversion chip U3 respectively, the second ends of the eighth capacitor C8 and the ninth capacitor C9 are used for grounding; the first ends of the tenth capacitor C10 and the eleventh capacitor C11 are connected with the output end of the voltage conversion chip U3 respectively, the second ends of the tenth capacitor C10 and the eleventh capacitor C11 are used for grounding. Filtering processing is performed through the eighth capacitor C8, the ninth capacitor C9, the tenth capacitor C10 and the eleventh capacitor C11, so that the test circuit 100 can work more stably.
[0060] Please refer to Figure 8 , Figure 8 is a structural schematic diagram of a test system of a meter or concentrator provided by the embodiment of the present application. As shown, the test system 200 comprises a test host 210, a plurality of meters or concentrators 220 and the test circuit 100 of the meter or concentrator described above, wherein:
[0061] The test host 210 is connected with the test circuit 100, and the test circuit 100 is further connected with the plurality of meters or concentrators 220, and the plurality of meters or concentrators 220 are connected through a communication bus.
[0062] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the test host 210, the plurality of meters or concentrators 220 and the test circuit 100 can refer to the corresponding processes in the foregoing method embodiments, which will not be described here.
[0063] The application provides a test circuit and a test system for an electric meter or concentrator collection terminal, the test circuit comprising: a first conversion module and a second conversion module, a first end of the first conversion module being configured to be connected to a test host, a second end of the first conversion module being connected to a first end of the second conversion module, and a second end of the second conversion module being configured to be connected to a plurality of electric meters or concentrator collection terminals, the plurality of electric meters or concentrator collection terminals being connected through a communication bus, wherein: the first conversion module is configured to convert test information into first serial port information when receiving the test information sent by the test host, and convert second serial port information into reply information when receiving the second serial port information sent by the second conversion module, and send the reply information to the test host; and the second conversion module is configured to convert the first serial port information into test instruction information when receiving the first serial port information, and send the test instruction information to a target electric meter or target concentrator collection terminal, and convert instruction reply information into the second serial port information when receiving the instruction reply information sent by the target electric meter or target concentrator collection terminal, the target electric meter or target concentrator collection terminal being an electric meter or concentrator collection terminal included in the plurality of electric meters or concentrator collection terminals. Thus, the information interaction between the test host and the target electric meter or target concentrator collection terminal is realized through the cooperation between the first conversion module and the second conversion module, the target electric meter or target concentrator collection terminal is tested at one time, and the test efficiency of the electric meter or concentrator collection terminal is improved.
[0064] Finally, it should be noted that: the above examples are only used to illustrate the technical solutions of the application, and not to limit them; although the application has been described in detail with reference to the foregoing examples, those skilled in the art will understand that: it can still modify the technical solutions recorded in the foregoing examples, or make equivalent replacement for part of the technical features; and these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the application.
Claims
1. A test circuit for an electricity meter or data acquisition terminal, characterized in that, The system includes a first conversion module and a second conversion module. A first end of the first conversion module is connected to a test host. A second end of the first conversion module is connected to the first end of the second conversion module. The second end of the second conversion module is used to connect to multiple electricity meters or data acquisition terminals. These multiple electricity meters or data acquisition terminals are connected via a communication bus. The first conversion module is configured to convert the test information into first serial port information when it receives test information sent by the test host, and to convert the second serial port information into response information when it receives second serial port information sent by the second conversion module, and to send the response information to the test host. The second conversion module is configured to, upon receiving the first serial port information, convert the first serial port information into test instruction information and send the test instruction information to the target meter or target acquisition terminal; and upon receiving instruction reply information sent by the target meter or target acquisition terminal, convert the instruction reply information into the second serial port information, wherein the target meter or target acquisition terminal is one of the multiple meters or acquisition terminals included in the list.
2. The test circuit for the electricity meter or data acquisition terminal according to claim 1, characterized in that, The first conversion module includes a network port unit and an RS232 conversion unit. The network port unit is connected to the test host and the RS232 conversion unit respectively. The RS232 conversion unit is also connected to the plurality of electricity meters or data acquisition terminals. The network port unit is used to receive the test information sent by the test host, so as to transmit the test information to the RS232 conversion unit, and to receive the reply information sent by the RS232 conversion unit, so as to transmit the reply information to the test host; The RS232 conversion unit is used to convert the test information into the first serial port information when the test information is received, and to convert the second serial port information into the reply information when the second serial port information is received.
3. The test circuit for the electricity meter or data acquisition terminal according to claim 2, characterized in that, The network port unit includes a connector CON1, and the RS232 conversion unit includes an RS232 conversion chip U1, wherein: The first end and the second end of the connector CON1 are respectively connected to the test host, the data transmitting end of the connector CON1 is connected to the first data receiving end of the RS232 conversion unit, and the data receiving end of the connector CON1 is connected to the first data transmitting end of the RS232 conversion unit. The second data transmitting end and the second data receiving end of the RS232 conversion unit are respectively connected to the second conversion module.
4. The test circuit for the electricity meter or data acquisition terminal according to claim 1, characterized in that, The second conversion module includes an RS485 conversion unit, a first path unit, and a second path unit, wherein: The first end of the RS485 conversion unit is connected to the first end of the first channel unit, and the second end of the first channel unit is connected to the first conversion module; the second end of the RS485 conversion unit is connected to the first end of the second channel unit, and the second end of the second channel unit is connected to the first conversion module; the third and fourth ends of the RS485 conversion unit are connected to the plurality of electricity meters or data acquisition terminals. The first channel unit is used to receive the first serial port information sent by the first conversion module, so as to transmit the first serial port information to the RS485 conversion unit. The RS485 conversion unit is used to convert the first serial port information into the test command information, so as to transmit the test command information to the target meter or target acquisition terminal, and to convert the command reply information into the second serial port information; The second path unit is used to transmit the second serial port information to the first conversion module.
5. The test circuit for the electricity meter or data acquisition terminal according to claim 4, characterized in that, The first path unit includes a first transistor T1, a first resistor R1, and a second resistor R2, wherein: The first terminal of the first transistor T1 is connected to the first terminal of the first resistor R1, and the second terminal of the first resistor R1 is connected to the power supply; the second terminal of the first transistor T1 is connected to the first terminal of the RS485 conversion unit; the third terminal of the first transistor T1 is connected to the first terminal of the second resistor R2 and the first conversion module, respectively, and the second terminal of the second resistor R2 is connected to the second voltage.
6. The test circuit for the electricity meter or data acquisition terminal according to claim 4, characterized in that, The second path unit includes a second transistor T2, a third resistor R3, and a fourth resistor R4, wherein: The first terminal of the second transistor T2 is connected to the first terminal of the third resistor R3, and the second terminal of the third resistor R3 is connected to the power supply; the second terminal of the second transistor T2 is connected to the first conversion module; the third terminal of the second transistor T2 is connected to the first terminal of the fourth resistor R4 and the second terminal of the RS485 conversion unit, respectively, and the second terminal of the fourth resistor R4 is connected to the power supply.
7. The test circuit for the electricity meter or data acquisition terminal according to claim 4, characterized in that, The second conversion module also includes a control unit, which is connected to the fifth terminal of the RS485 conversion unit and is used to control the working state of the RS485 conversion unit.
8. The test circuit for the electricity meter or data acquisition terminal according to claim 1, characterized in that, The test circuit also includes a power supply module, the input terminal of which is connected to a first voltage, and the output terminal of which is connected to the first conversion module. The power module is used to convert the first voltage into a second operating voltage and provide the second operating voltage to the first conversion module.
9. The test circuit for the electricity meter or data acquisition terminal according to claim 8, characterized in that, The power module includes a voltage conversion chip U3. The input terminal of the voltage conversion chip U3 is connected to the first voltage, the output terminal of the voltage conversion chip U3 is connected to the first conversion module, and the ground terminal of the voltage conversion chip U3 is used for grounding.
10. A testing system for an electricity meter or data acquisition terminal, characterized in that, It includes a test host, multiple electricity meters or data acquisition terminals, and a test circuit for the electricity meters or data acquisition terminals as described in any one of claims 1-9, wherein: The test host is connected to the test circuit, and the test circuit is also connected to the plurality of electricity meters or data acquisition terminals. The plurality of electricity meters or data acquisition terminals are connected to each other through a communication bus.