Dual-mode communication module detection system and method
By designing an integrated dual-mode communication module detection system, the coordinated work of the upper computer, control module, access module, accompanying test module and detection module is solved, and a more efficient detection process is achieved.
Patent Information
- Application Number
- CN202510225875.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-27
- Publication Date
- 2025-06-24
AI Technical Summary
In the prior art, when detecting different functions of dual-mode modules, more instruments and equipment are used, resulting in lower detection efficiency.
A dual-mode communication module detection system is provided, including a computer, a control module, an access module, a test module and a detection module. Through the coordinated work of these modules, multi-function detection of the dual-mode communication module is realized.
Through the integrated inspection system, the number of instruments and equipment used is reduced, the inspection efficiency is improved, and the cost is reduced.
Smart Images

Figure CN120196023A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of communication detection, and in particular to a dual-mode communication module detection system and method. Background Art
[0002] The dual-mode module in the electricity meter is a meter accessory integrating communication and data processing functions, which can realize the intelligent and automated management of the electricity meter. The dual-mode module mainly includes two parts: a communication module and a data module. The communication module can support multiple methods such as a radio module, an optical fiber communication module, a PLC communication module, etc. to meet the needs of different users; the data module includes a data acquisition module, a data storage module, a data processing module, etc., and can collect, process, and transmit the electricity meter data.
[0003] Currently, after the electricity meter is produced, it is necessary to detect the dual-mode module of the electricity meter to ensure the ex-factory quality of the electricity meter. In the prior art, when detecting the dual-mode module of the electricity meter, it is necessary to detect each working unit of the dual-mode module and other external interfaces. For example: HPLC communication detection, RF detection, zero-crossing detection, IO detection, RF calibration, Ethernet interface detection, and overall machine power consumption detection, etc. When detecting different functions of the existing dual-mode module, different instruments or devices are used, and the number of instruments and devices used is large, the cost is high, and the detection efficiency is low.
[0004] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:
[0005] When detecting different functions of the dual-mode module, the number of instruments and devices used is large, and the detection efficiency is low. Summary of the Invention
[0006] The purpose of the present invention is to provide a dual-mode communication module detection system and method to solve the technical problem in the prior art that when detecting different functions of the dual-mode module, the number of instruments and devices used is large, and the detection efficiency is low.
[0007] The many technical effects that can be produced by the preferred technical solutions among the many technical solutions provided by the present invention are described in detail below.
[0008] To achieve the above purpose, the present invention provides the following technical solutions:
[0009] A dual-mode communication module detection system provided by the present invention includes: a host computer, a control module, an access module, a co-test module, and a detection module, and the host computer, the access module, the co-test module, and the detection module are all connected to the control module;
[0010] The access module is used to access the dual-mode communication module to be tested;
[0011] The host computer is used to send instructions to the control module, and the control module forwards the instructions to the detection module and / or the co-test module. The detection module and / or the co-test module test the dual-mode communication module to be tested through the access module.
[0012] One end of the co-test module is connected to the access module, and the other end is connected to the control module. The co-test module is used to send test signals to the dual-mode communication module to be tested and cooperate with the control module to perform HPLC tests and RF tests on the dual-mode communication module to be tested.
[0013] The detection module is connected to the dual-mode communication module to be tested through the access module. The detection module is used to receive the instructions forwarded by the control module and detect the interfaces and working status of the dual-mode communication module to be tested according to the instructions.
[0014] Optionally, the detection module includes a power control unit and a communication management unit.
[0015] The power control unit is connected to the dual-mode communication module to be tested through the access module and is used to power on and off the dual-mode communication module to be tested.
[0016] The communication management unit is connected to the dual-mode communication module to be tested through the access module and is used to communicate with the dual-mode communication module to be tested, send the instructions forwarded by the control module to the dual-mode communication module to be tested, and make the dual-mode communication module to be tested enter the test state.
[0017] Optionally, the detection module further includes an IO detection unit and a power consumption detection unit.
[0018] The IO detection unit is connected to the dual-mode communication module to be tested through the access module and is used to test the IO interfaces of the dual-mode communication module to be tested.
[0019] The power consumption detection unit is connected to the dual-mode communication module to be tested through the access module and is used to detect the power consumption status of the dual-mode communication module to be tested.
[0020] Optionally, the detection module further includes a capacitance detection unit and an Ethernet detection unit.
[0021] The capacitance power consumption unit is connected to the dual-mode communication module to be tested through the access module and is used to detect the charge and discharge status of the dual-mode communication module to be tested.
[0022] The Ethernet detection unit is connected to the dual-mode communication module to be tested through the access module, and is used to detect the Ethernet interface of the dual-mode communication module to be tested.
[0023] Optionally, the detection system further includes an attenuator, which is respectively connected to the module to be accompanied and the access module, and the attenuator is used to attenuate the test signal sent by the module to be accompanied.
[0024] Optionally, the detection system further includes a phase control module, which is respectively connected to the attenuator, the control module and the access unit, and the phase control module is used to control the phase of the dual-mode communication module to be tested accessing the access module according to the instruction forwarded by the control module.
[0025] Optionally, the detection system further includes a power supply module, which is respectively connected to the module to be accompanied, the control module, the detection module and the access module, and is used to supply power to the module to be accompanied, the control module, the detection module and the access module.
[0026] Optionally, the detection system further includes a mains control unit, which is respectively connected to the control module, the module to be accompanied and the access module, and is used to perform zero-crossing signal detection on the dual-mode communication module to be tested connected to the access module.
[0027] In a second aspect, the present invention further provides a method for detecting a dual-mode communication module, which is applied to the dual-mode communication module detection system described in any one of the above, and includes:
[0028] The host computer sends a power-on instruction to the control module, and the control module controls the detection module to power on the dual-mode communication module to be tested according to the power-on instruction;
[0029] The host computer sends a test instruction to the control module to make the dual-mode communication module to be tested enter the test mode, and at the same time, the module to be accompanied and the detection module test the dual-mode communication module to be tested according to the test instruction to complete the corresponding test items; wherein, there are multiple test instructions, and each test instruction corresponds to a different test item;
[0030] The host computer sends a power-off instruction to the control module, and the control module controls the detection module to power off the dual-mode communication module to be tested according to the power-off instruction and outputs the test result.
[0031] Optionally, the host computer sends a test instruction to the control module to make the dual-mode communication module to be tested enter the test mode, and at the same time, the module to be accompanied and the detection module test the dual-mode communication module to be tested according to the test instruction to complete the corresponding test items, including:
[0032] The host computer sends a first test instruction to the control module, and the control module controls the co-test module to perform HPLC tests and RF tests on the dual-mode communication module to be tested based on the first test instruction;
[0033] The host computer sends a second test instruction to the control module, and the control module controls the detection module to test the dual-mode communication module to be tested based on the second test instruction; wherein, the second test instruction includes an IO test instruction, a power consumption test instruction, a capacitance test instruction, and an Ethernet test instruction, and the IO test instruction, the power consumption test instruction, the capacitance test instruction, and the Ethernet test instruction are respectively used to control the IO detection unit, the power consumption detection unit, the capacitance detection unit, and the Ethernet detection unit in the detection module to detect the IO interface, the power consumption state, the charge and discharge state, and the Ethernet interface of the dual-mode communication module to be tested.
[0034] Implementing one of the above technical solutions of the present invention has the following advantages or beneficial effects:
[0035] The test system described in this embodiment includes: a host computer, a control module, an access module, a co-test module, and a detection module. The host computer, the access module, the co-test module, and the detection module are all connected to the control module; the access module is used to access the dual-mode communication module to be tested; one end of the co-test module is connected to the access module, and the other end is connected to the control module; the co-test module is used to send test signals to the dual-mode communication module to be tested, and cooperate with the control module to perform HPLC tests and RF tests on the dual-mode communication module to be tested; the detection module is connected to the dual-mode communication module to be tested through the access module, and the detection module is used to receive the signal sent by the control module and detect the interface and working state of the dual-mode communication module to be tested according to the signal.
[0036] The detection system described in this embodiment includes a host computer, a control module, an access module, a co-test module, and a detection module. The host computer can send corresponding instructions to the control module, and the control module controls the co-test module and the detection module to test the dual-mode communication module to be tested connected to the access module. According to the test requirements of the dual-mode communication module, multiple test items are integrated into a system, and are controlled by a main control MCU, which can save test time, reduce costs, and improve detection efficiency. Description of the Drawings
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, 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 invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained according to these drawings. In the drawings:
[0038] Figure 1 It is a schematic diagram of the overall structure of the first embodiment of the present invention;
[0039] Figure 2 It is a schematic diagram of the circuit of the control module in the first embodiment of the present invention;
[0040] Figure 3 It is a schematic diagram of the circuit of the co-test module in the first embodiment of the present invention;
[0041] Figure 4 It is a schematic diagram of the circuit of the attenuator in the first embodiment of the present invention;
[0042] Figure 5 It is a schematic diagram of the circuit of the phase control module in the first embodiment of the present invention;
[0043] Figure 6 It is a schematic diagram of the circuit of the access module in the first embodiment of the present invention;
[0044] Figure 7 It is a schematic diagram of the circuit for detecting the overall machine current in the power consumption detection unit in the first embodiment of the present invention;
[0045] Figure 8 It is a schematic diagram of the circuit for voltage detection in the power consumption detection unit in the first embodiment of the present invention;
[0046] Figure 9 It is a schematic diagram of the circuit for detecting the capacitor charging current in the first embodiment of the present invention;
[0047] Figure 10 It is a schematic diagram of the circuit for capacitor discharge detection in the first embodiment of the present invention;
[0048] Figure 11 It is a schematic diagram of the circuit of the Ethernet detection unit in the first embodiment of the present invention;
[0049] Figure 12 It is a flowchart of the operation of the second embodiment of the present invention. Detailed implementation manners
[0050] To make the objectives, technical solutions and advantages of the present invention more clear and understandable, various exemplary embodiments to be described hereinafter 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 invention. Unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. It should be understood that they are merely examples of processes, methods, devices, etc. consistent with some aspects of the present invention as detailed in the appended claims. 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 invention.
[0051] In the description of the present invention, it should be understood that terms such as "center", "longitudinal", "lateral", etc. indicate the orientation or positional relationship based on the drawings shown, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the elements referred to 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 may 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, and may be the internal communication of 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 invention can be understood according to specific circumstances.
[0052] To illustrate the technical solutions of the present invention, the following will be described by specific embodiments, and only the parts related to the embodiments of the present invention are shown.
[0053] Embodiment 1:
[0054] As Figure 1As shown in the figure, the present invention provides a dual-mode communication module detection system, including: a host computer, a control module, an access module, a co-test module, and a detection module. The host computer, the access module, the co-test module, and the detection module are all connected to the control module. The access module is used to access the dual-mode communication module to be tested. The host computer is used to send instructions to the control module, and the control module forwards the instructions to the detection module and / or the co-test module. The detection module and / or the co-test module test the dual-mode communication module to be tested through the access module. Among them, one end of the co-test module is connected to the access module, and the other end is connected to the control module. The co-test module is used to send test signals to the dual-mode communication module to be tested and cooperate with the control module to perform HPLC tests and RF tests on the dual-mode communication module to be tested. The detection module is connected to the dual-mode communication module to be tested through the access module. The detection module is used to receive the instructions forwarded by the control module and detect the interface and working status of the dual-mode communication module to be tested according to the instructions.
[0055] Specifically, the dual-mode communication module detection system described in this embodiment is used to detect the dual-mode communication module. The specific detection object can be the dual-mode communication module in the electric energy meter to ensure the ex-factory quality of the electric energy meter and improve its detection efficiency at the same time.
[0056] The detection system described in this embodiment includes a host computer, a control module, an access module, a co-test module, and a detection module. The access module, the co-test module, and the detection module are all connected to the control module. The following will combine Figure 1-11 Describe in detail the connection relationship and functions between the various modules of the dual-mode communication module detection system.
[0057] The control module is used to control the co-test module, the access module, and the detection module, and control the test system to test the dual-mode communication module to be tested. During the test process, the control module is used to send signals to test the dual-mode communication module to be tested.
[0058] It should be noted that the detection system described in this embodiment also includes a host computer. The control module is connected to the host computer through a serial port, used to communicate with the host computer, complete various test tasks, and output instructions to the control module. Among them, the serial port is a DB9 interface. In the actual test process, the host computer is used to send corresponding instructions to the control module, and the control module outputs corresponding signals to the corresponding modules according to the corresponding instructions sent by the host computer, so as to realize the test of the dual-mode communication module to be tested. In this embodiment, the instructions sent by the host computer are divided into power-on instructions, test instructions, and power-off instructions.
[0059] Furthermore, the control module in this embodiment is a main control MCU. The circuit diagram of the control module is as Figure 2As shown, the main control MCU is preferably the GD32F407ZGT6 single-chip microcomputer, which has an ARM-Cortex M4 core, a main frequency of 192MHz, and 144 PIN pins. It has high performance and low power consumption, with rich peripheral interfaces and powerful computing capabilities, enabling easy data exchange and communication with external devices, and providing test guarantees for the detection system described in this embodiment.
[0060] One end of the co-testing module is connected to the access module through an attenuator, and the other end is connected to the control module; the co-testing module sends test signals to the dual-mode communication module to be tested through the attenuator, and the co-testing module cooperates with the control module to perform HPLC tests and RF tests on the dual-mode communication module to be tested.
[0061] Furthermore, the co-testing module includes a co-testing unit and a co-testing unit socket. The co-testing unit is connected to the co-testing unit socket, and the co-testing unit socket is also connected to the control module and the access module respectively. The co-testing unit socket is of the size of a standard single-phase electric energy meter communication module socket, including weak-current terminals and strong-current terminals, and both the weak-current terminals and the strong-current terminals conform to the terminal definitions of the national grid single-phase electric energy meter communication module.
[0062] The strong-current terminals of the co-testing unit socket are connected to the access module through an attenuator, used to send HPLC test signals to the dual-mode communication module to be tested. At the same time, the co-testing unit, in cooperation with the control module, performs HPLC tests (high-voltage power line carrier tests) and RF tests (radio frequency tests) on the dual-mode communication module to be tested. Among them, the HPLC test includes HPLC communication detection and calibration; the RF test includes RF communication detection and calibration. It should be noted that the attenuator set in this embodiment is an HPLC attenuator, and the attenuation value of the attenuator is fixedly set to 60dB, used to attenuate the HPLC test signals sent by the co-testing unit, control the signal strength, ensure the correct range of HPLC signal transmission, and protect circuit components.
[0063] Furthermore, the test system also includes a phase control module, which is respectively connected to the attenuator, the control module, and the access module. After the control module receives the instruction sent by the host computer, the phase control module will control the phase of the dual-mode communication module to be tested accessing the access module according to the instruction forwarded by the control module, and cooperate with the co-testing module to perform HPLC tests and RF tests on the dual-mode communication module to be tested. It should be noted that the phase control module uses multiple relays to control the phase of the dual-mode communication module to be tested accessing the access module, and one or more phases among the three phases A / B / C can be selected to access for testing according to the actual situation, enabling flexible selection of the access phase and ensuring the accuracy of detection.
[0064] The access module is actually a socket for connecting the dual-mode communication module under test, the co-test module, the control module, and the detection module. The access module includes a strong-current terminal and a weak-current terminal. The strong-current terminal of the access module is connected to the strong-current terminal in the co-test unit socket through a phase control unit and an attenuator, and its strong-current terminal is also connected to the control module through a phase control module. The weak-current terminal of the access module is directly connected to the detection module, and can test the interface and working state of the dual-mode communication module under test under the action of the detection module.
[0065] It should be noted that the circuit diagram of the co-test module is as Figure 3 shown. The co-test module includes a connector J8. The RXD pin of the connector J8 is connected to the 136th pin of the control module, and the TXD pin is connected to the 137th pin of the control module for communicating with the control module. The circuit diagram of the attenuator is as Figure 4 shown. The input end of the attenuator is connected to the co-test module, and the output end is connected to the phase control module.
[0066] The circuit diagram of the phase control module is as Figure 5 shown. The phase control module is respectively connected to the attenuator, the control module, and the access module. The phase control module includes separate A-phase unit, B-phase unit, and C-phase unit. One input end of the A-phase unit is connected to the output end of the attenuator, and the other input end is connected to the 65th pin of the control module. The output end is connected to the access unit and finally to the dual-mode communication module under test. One input end of the B-phase unit is connected to the output end of the attenuator, and the other input end is connected to the 66th pin of the control module. The output end is connected to the access unit and finally to the dual-mode communication module under test. One input end of the C-phase unit is connected to the output end of the attenuator, and the other input end is connected to the 67th pin of the control module. The output end is connected to the access unit and finally to the dual-mode communication module under test. It should be noted that the A-phase unit, B-phase unit, and C-phase unit in the phase control module are all connected to the strong-current terminal of the access module.
[0067] The circuit diagram of the access module is as Figure 6 shown. The access module includes a connector J6. The 7th pin of the connector J6 is connected to the 96th pin of the control module, the 8th pin is connected to the 97th pin of the control module, the 9th pin is connected to the 88th pin of the control module, the 10th pin is connected to the 87th pin of the control module, the 11th pin is connected to the 56th pin of the control module, and the 12th pin is connected to the 57th pin of the control module. The access module also includes a strong-current terminal interface J7. The A-phase unit, B-phase unit, and C-phase unit in the phase control module are all connected to the J7 of the access module.
[0068] As an optional implementation manner, the detection module includes a power control unit and a communication management unit; the power control unit is connected to the dual-mode communication module to be tested through an access module, and is used for powering on and off the dual-mode communication module to be tested; the communication management unit is connected to the dual-mode communication module to be tested through an access module, and is used for communicating with the dual-mode communication module to be tested, sending the instructions forwarded by the control module to the dual-mode communication module to be tested, and enabling the dual-mode communication module to be tested to enter the test state.
[0069] Specifically, the function of the power control unit is to be able to power on and off the dual-mode communication module to be tested. When the host computer sends a power-on instruction to the control module, the control module will send a power-on signal to the power control unit. At the same time, the power control unit powers on the dual-mode communication module to be tested through the access module. After power-on, the host computer can send different test instructions to the control module according to different test items, and the control module controls the corresponding test units in the detection module to test the dual-mode communication module to be tested. After the dual-mode communication module to be tested completes the corresponding test, the host computer will send a power-off instruction, and the control module controls the power control unit to power off to complete the test of the dual-mode communication module to be tested. After the test of the dual-mode communication module to be tested is completed, the control module will receive the corresponding test data and finally send it to the host computer.
[0070] The communication management unit communicates with the serial port of the dual-mode communication module to be tested through the access module, and is used for forwarding the signals sent by the control module to enable the dual-mode communication module to be tested to enter the test state. After the host computer sends a power-on instruction to the control module to power on the dual-mode communication module to be tested, the host computer will send a second test instruction to the control module. Since the communication management unit is connected to the serial port of the dual-mode communication module to be tested, the communication management unit will forward the corresponding test signals to the dual-mode communication module to be tested and enable the dual-mode communication module to be tested to enter the test state. Among them, after the control module receives the corresponding test instructions, they will all be forwarded to the dual-mode communication module to be tested through the communication management unit, which can ensure the normal forwarding of test data and accurately test different items of the dual-mode communication module to be tested.
[0071] Among them, the second test instruction is used to control the detection module to perform tests. The second test instruction includes an IO test instruction, a power consumption test instruction, a capacitance test instruction, and an Ethernet test instruction. It should be noted that the IO test instruction, the power consumption test instruction, the capacitance test instruction, and the Ethernet test instruction correspond to the IO detection unit, the power consumption detection unit, the capacitance detection unit, and the Ethernet detection unit respectively, and are respectively used to control the IO detection unit, the power consumption detection unit, the capacitance detection unit, and the Ethernet detection unit to detect the IO interface, the power consumption state, the charge and discharge state, and the Ethernet interface of the dual-mode communication module to be tested.
[0072] As an alternative embodiment, the detection module further includes an IO detection unit and a power consumption detection unit; the IO detection unit is connected to the dual-mode communication module to be tested through an access module for testing the IO interface of the dual-mode communication module to be tested; the power consumption detection unit is connected to the dual-mode communication module to be tested through an access module for detecting the power consumption status of the dual-mode communication module to be tested.
[0073] Specifically, the IO detection unit is connected to the dual-mode communication module to be tested through an access module. The main functions of the IO detection unit include data acquisition and transmission, signal conversion, etc. It is responsible for collecting corresponding data from the dual-mode communication module to be tested to test the IO interface of the dual-mode communication module to be tested, confirm whether the IO interface of the dual-mode communication module to be tested is normally connected, and determine whether its IO interface can accurately transmit the corresponding data.
[0074] The power consumption detection unit is used to detect the power consumption status of the dual-mode communication module to be tested. It can measure the power consumption of the dual-mode communication module to be tested, measure its power, voltage, current and other parameters, and can also monitor and analyze the power, voltage, current and other parameters of the dual-mode communication module to be tested to confirm whether the power consumption of the dual-mode communication module to be tested is within a reasonable range.
[0075] Specifically, the power consumption detection unit can perform overall machine current detection and voltage detection on the dual-mode communication module to be tested. Figure 7 is a circuit schematic diagram for overall machine current detection, which includes an integrated chip U5. The first pin of the integrated chip U5 is connected to the twentieth pin of the control module, and the third and fourth pins are connected to the first pin of the connector J6 in the access module. The circuit diagram of voltage detection is as Figure 8 shown.
[0076] It should be noted that when detecting the power consumption status, the power consumption status includes dynamic power consumption and static power consumption. In addition to being able to detect the power consumed by the dual-mode communication module to be tested during state switching, the power consumption detection unit can also detect the power consumed by the dual-mode communication module to be tested in a stable state. And it can judge whether its dynamic power consumption and static power consumption are within a reasonable range. In this embodiment, the reasonable ranges of dynamic power consumption and static power consumption are not limited, and can be limited according to industry standards during actual detection.
[0077] As an alternative embodiment, the detection module further includes a capacitance detection unit and an Ethernet detection unit; the capacitance power consumption unit is connected to the dual-mode communication module to be tested through an access module for detecting the charge and discharge status of the dual-mode communication module to be tested; the Ethernet detection unit is connected to the dual-mode communication module to be tested through an access module for detecting the Ethernet interface of the dual-mode communication module to be tested.
[0078] The capacitance detection module is connected to the dual-mode communication module to be tested through the access unit. It is used to detect the charging and discharging of the supercapacitor in the dual-mode communication module to be tested, and to determine whether the connection of the supercapacitor is normal and whether its capacitance is within a reasonable range.
[0079] The capacitance detection module can detect the capacitance charging current and capacitance discharging of the dual-mode communication module to be tested. Figure 9 As shown in the circuit schematic diagram for capacitance charging current detection, it includes an integrated chip U7. The first pin of the integrated chip U7 is connected to the twenty-first pin of the control module, and the third and fourth pins are used to output the 12VCHARGE signal to detect the charging current of the dual-mode communication module to be tested. Figure 10 As shown in the circuit schematic diagram for capacitance discharging detection, when detecting the capacitance discharging, it is respectively connected to the twenty-eighth pin and the fiftieth pin of the control module, and is used to detect the capacitance discharging of the dual-mode communication module to be tested.
[0080] The Ethernet detection unit is connected to the dual-mode communication module to be tested through the access unit. It is used to detect whether the Ethernet interface connection of the dual-mode communication module to be tested is normal. The circuit diagram of the Ethernet detection unit is as Figure 11 shown. It includes an integrated chip U2. The third, fourth, and fifth pins of the integrated chip U2 are respectively connected to the seventieth, seventy-third, and seventy-fourth pins of the control module.
[0081] The above describes multiple units of the detection module and provides a detailed explanation of the functions of the multiple units in the detection module. In this embodiment, the setting of the detection module can detect different functions or corresponding interfaces of the dual-mode communication module to be tested. The data obtained after the detection can effectively support the judgment of whether the dual-mode communication module can leave the factory, improve the detection efficiency of the dual-mode communication module to be tested, and improve the detection accuracy.
[0082] It should be noted that the instructions sent by the host computer all use the same communication protocol, and the formats of the test instructions are the same. After receiving the test instructions, the serial port of the control module can process the data and forward the instructions, and the corresponding units in the detection module can quickly respond to the corresponding test instructions.
[0083] As an alternative embodiment, the detection system further includes a power supply module, which is respectively connected to the co-test module, the control module, the detection module and the access module, and is used to supply power to the co-test module, the control module, the detection module and the access module. Specifically, the power supply module is used to input a 12VDC power supply, and after step-down, it supplies power to the co-test module, the control module, the detection module and the access module, providing effective support for the normal operation of the co-test module, the control module, the detection module and the access module.
[0084] As an alternative embodiment, the detection system further includes a mains control unit, which is respectively connected to the control module, the co-test module and the access module, and is used to perform zero-crossing signal detection on the dual-mode communication module to be tested connected to the access module. One end of the mains control unit is connected to the control module and is used to receive the signal sent by the main control module. The other end of the mains control unit is respectively connected to the co-test module and the access module. When the mains control unit is connected to the access module, it uses the same connection path as the co-test module and the access module. In this embodiment, the mains control unit uses a relay, which can control the access and disconnection of the mains power and is used to detect the zero-crossing signal of the dual-mode communication module to be tested. The zero-crossing signal is a pulse signal generated by a zero-crossing detection circuit. A pulse signal is generated when the voltage of each mains power drops to 0V in each cycle, and the frequency is 50Hz. In this embodiment, detecting the zero-crossing signal of the dual-mode communication module to be tested can detect the accuracy of the zero-crossing signal frequency of the dual-mode communication module to be tested and can determine whether the zero-crossing detection circuit in the dual-mode communication module to be tested is normal.
[0085] The detection system described in this embodiment includes a host computer, a control module, an access module, a co-test module and a detection module. The host computer can send corresponding instructions to the control module, and the control module controls the co-test module and the detection module to test the dual-mode communication module to be tested connected to the access module. According to the test requirements of the dual-mode communication module, multiple test items are integrated into a system and are controlled by a main control MCU, which can save test time, reduce costs and improve detection efficiency.
[0086] The embodiment is only a special case and does not indicate that the present invention has only such an implementation manner.
[0087] Embodiment Two:
[0088] As Figure 12 shown, the present invention also provides a method for detecting a dual-mode communication module, which is applied to the dual-mode communication module detection system of Embodiment One and includes:
[0089] S10. The host computer sends a power-on instruction to the control module, and the control module controls the detection module to power on the dual-mode communication module to be tested according to the power-on instruction;
[0090] S20. The host computer sends a test instruction to the control module to put the dual-mode communication module under test into the test mode. Meanwhile, the accompanying test module and the detection module test the dual-mode communication module under test according to the test instruction to complete the corresponding test items. Among them, there are multiple test instructions, and each test instruction corresponds to a different test item.
[0091] S30. The host computer sends a power-off instruction to the control module. The control module controls the detection module according to the power-off instruction to cut off the power supply of the dual-mode communication module under test and outputs the test result.
[0092] In this embodiment, the host computer sends instructions to the control module, and the control module forwards the instructions to control different modules or units to test the dual-mode communication module. Specifically, the instructions include a power-on instruction, a test instruction, and a power-off instruction.
[0093] When starting the test, the host computer first sends a power-on instruction to the control module, and the control module powers on the dual-mode communication module under test to supply power to the dual-mode communication module under test, providing a power supply basis for subsequent tests. The specific process is that the host computer first sends a power-on instruction to the control module, and the control module sends a signal to the power control unit in the detection module, and the power control unit powers on the dual-mode communication module under test, and finally the dual-mode communication module under test is successfully powered on.
[0094] After the dual-mode communication module under test is powered on, the host computer will send the corresponding test instruction to the control module, and the control module will detect the dual-mode communication module under test connected to the access module according to the test instruction sent by the host computer. The host computer sends a test instruction to the control module, and the control module will transmit the corresponding instruction to the dual-mode communication module under test through the communication management unit in the detection module, so that the dual-mode communication module under test enters the test mode. Meanwhile, the corresponding units in the accompanying test module and the detection module will test the dual-mode communication module under test according to the test instruction to complete the corresponding test items, including:
[0095] The host computer sends a first test instruction to the control module, and the control module controls the accompanying test module to perform HPLC test and RF test on the dual-mode communication module under test based on the first test instruction.
[0096] The host computer sends a second test instruction to the control module, and the control module controls the detection module to test the dual-mode communication module to be tested based on the second test instruction. Among them, the second test instruction includes an IO test instruction, a power consumption test instruction, a capacitance test instruction, and an Ethernet test instruction. The IO test instruction, the power consumption test instruction, the capacitance test instruction, and the Ethernet test instruction are respectively used to control the IO detection unit, the power consumption detection unit, the capacitance detection unit, and the Ethernet detection unit in the detection module to detect the IO interface, the power consumption state, the charge and discharge state, and the Ethernet interface of the dual-mode communication module to be tested.
[0097] In this embodiment, the co-testing module and the detection module can perform different tests on the dual-mode communication module to be tested.
[0098] The co-testing module is connected to the access module through an attenuator and a phase control module, and the access unit is connected to the dual-mode communication module to be tested. The co-testing module can perform HPLC tests and RF tests on the dual-mode communication module to be tested under the action of the control module. When it is necessary for the co-testing module to test the dual-mode communication module to be tested, the host computer sends a first test instruction to the control module, and the control module controls the co-testing module to test the dual-mode communication module to be tested based on the first test instruction.
[0099] The detection module is connected to the dual-mode communication module to be tested through the access module. In addition to including a power control unit for powering on the dual-mode communication module to be tested, the detection module also includes a communication management unit, an IO detection unit, a power consumption detection unit, a capacitance detection unit, and an Ethernet detection unit. The IO detection unit, the power consumption detection unit, the capacitance detection unit, and the Ethernet detection unit can detect the IO interface, the power consumption state, the charge and discharge state, and the Ethernet interface of the dual-mode communication module to be tested according to the second test instruction sent by the host computer.
[0100] It should be noted that the second test instruction is sent to the dual-mode communication module to be tested through the communication management unit, so that the dual-mode communication module to be tested starts corresponding work according to different second test instructions, and at the same time enables the IO detection unit, the power consumption detection unit, the capacitance detection unit, and the Ethernet detection unit to detect the IO interface, the power consumption state, the charge and discharge state, and the Ethernet interface of the dual-mode communication module to be tested. The second test instruction includes an IO test instruction, a power consumption test instruction, a capacitance test instruction, and an Ethernet test instruction. The corresponding test instruction can activate the corresponding test unit in the detection module and enable the units in the dual-mode communication module to be tested, facilitating the testing of the dual-mode communication unit to be tested.
[0101] Finally, after completing the corresponding test items, the host computer will send a power-off command to the control module, and the control module will power off the dual-mode communication module to be tested. The specific process is that the host computer first sends a power-off command to the control module, and the control module sends a signal to the power control unit in the detection module, and the power control unit powers off the dual-mode communication module to be tested.
[0102] The dual-mode communication module detection method described in this embodiment can detect multiple different test items of the dual-mode communication module to be tested on the same detection system, integrate multiple different test items, and can detect the dual-mode communication module more efficiently, improving the detection efficiency and ensuring the detection quality.
[0103] The above are only the preferred embodiments of the present invention. Those skilled in the art know that various changes or equivalent replacements can be made to these features and embodiments without departing from the spirit and scope of the present invention. In addition, under the teaching of the present invention, these features and embodiments can be modified to adapt to specific situations and materials without departing from the spirit and scope of the present invention. Therefore, the present invention 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 the present invention.
Claims
1. A dual-mode communication module detection system, characterized in that: include: A host computer, a control module, an access module, a test module and a detection module, wherein the host computer, the access module, the test module and the detection module are all connected to the control module; The access module is used to access the dual-mode communication module to be tested; The host computer is used to send instructions to the control module, and the control module forwards the instructions to the detection module and / or the accompanying test module, and the detection module and / or the accompanying test module tests the dual-mode communication module to be tested through the access module; Among them, one end of the accompanying test module is connected to the access module, and the other end is connected to the control module; the accompanying test module is used to send a test signal to the dual-mode communication module to be tested, and cooperate with the control module to perform HPLC test and RF test on the dual-mode communication module to be tested; The detection module is connected to the dual-mode communication module to be tested through the access module. The detection module is used to receive instructions forwarded by the control module and detect the interface and working state of the dual-mode communication module to be tested according to the instructions.
2. The dual-mode communication module detection system according to claim 1, characterized in that: The detection module includes a power control unit and a communication management unit; The power control unit is connected to the dual-mode communication module to be tested through the access module, and is used to power on and off the dual-mode communication module to be tested; The communication management unit is connected to the dual-mode communication module to be tested through the access module, and is used to communicate with the dual-mode communication module to be tested, and sends the instructions forwarded by the control module to the dual-mode communication module to be tested, so that the dual-mode communication module to be tested is in a test state.
3. The dual-mode communication module detection system according to claim 1, characterized in that: The detection module also includes an IO detection unit and a power consumption detection unit; The IO detection unit is connected to the dual-mode communication module to be tested through the access module, and is used to test the IO interface of the dual-mode communication module to be tested; The power consumption detection unit is connected to the dual-mode communication module to be tested through the access module, and is used to detect the power consumption state of the dual-mode communication module to be tested.
4. The dual-mode communication module detection system according to claim 1, characterized in that: The detection module also includes a capacitance detection unit and an Ethernet detection unit; The capacitor power consumption unit is connected to the dual-mode communication module to be tested through the access module, and is used to detect the charging and discharging state of the dual-mode communication module to be tested; The Ethernet detection unit is connected to the dual-mode communication module to be tested through the access module, and is used to detect the Ethernet interface of the dual-mode communication module to be tested.
5. The dual-mode communication module detection system according to claim 1, characterized in that: The detection system further comprises an attenuator, which is connected to the accompanying test module and the access module respectively, and is used to attenuate the test signal sent by the accompanying test module.
6. The dual-mode communication module detection system according to claim 5, characterized in that: The detection system also includes a phase control module, which is respectively connected to the attenuator, the control module and the access unit, and is used to control the phase of the dual-mode communication module to be tested accessing the access module according to the instructions forwarded by the control module.
7. The dual-mode communication module detection system according to claim 1, characterized in that: The detection system further comprises a power supply module, which is respectively connected to the accompanying measurement module, the control module, the detection module and the access module, and is used to supply power to the accompanying measurement module, the control module, the detection module and the access module.
8. The dual-mode communication module detection system according to claim 1, characterized in that: The detection system further comprises a mains power control unit, which is respectively connected to the control module, the accompanying test module and the access module, and is used for performing zero-crossing signal detection on the dual-mode communication module to be tested which is connected to the access module.
9. A dual-mode communication module detection method, characterized in that: The dual-mode communication module detection system applied to any one of claims 1 to 8 comprises: The host computer sends a power-on instruction to the control module, and the control module controls the detection module to power on the dual-mode communication module to be tested according to the power-on instruction; The host computer sends a test instruction to the control module, so that the dual-mode communication module to be tested enters the test mode, and the accompanying test module and the detection module test the dual-mode communication module to be tested according to the test instruction to complete the corresponding test items; wherein the test instruction includes a plurality of test instructions, and each of the test instructions corresponds to a different test item; The host computer sends a power-off instruction to the control module, and the control module controls the detection module to power off the dual-mode communication module to be tested according to the power-off instruction, and outputs the test result.
10. The dual-mode communication module detection method according to claim 9, characterized in that: The host computer sends a test instruction to the control module to make the dual-mode communication module to be tested enter a test mode, and the accompanying test module and the detection module test the dual-mode communication module to be tested according to the test instruction to complete the corresponding test items, including: The host computer sends a first test instruction to the control module, and the control module controls the accompanying test module to perform HPLC test and RF test on the dual-mode communication module to be tested based on the first test instruction; The host computer sends a second test instruction to the control module, and the control module controls the detection module to test the dual-mode communication module to be tested based on the second test instruction; wherein the second test instruction includes an IO test instruction, a power consumption test instruction, a capacitance test instruction and an Ethernet test instruction, and the IO test instruction, the power consumption test instruction, the capacitance test instruction and the Ethernet test instruction are respectively used to control the IO detection unit, the power consumption detection unit, the capacitance detection unit and the Ethernet detection unit in the detection module to detect the IO interface, the power consumption state, the charge and discharge state and the Ethernet interface of the dual-mode communication module to be tested.