Methane gas sensor module testing equipment, system and method
By designing methane gas sensor module testing equipment and systems, and utilizing the connection between the host computer and the channel switching control board, the simultaneous testing of multiple methane gas sensor modules is achieved, solving the problems of low testing efficiency and high labor costs in the existing technology. problems, improving testing efficiency and reducing labor costs.
Patent Information
- Application Number
- CN202410855118.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-10
AI Technical Summary
The existing methane gas sensor module testing method is inefficient, requiring multiple testers to test together, which increases labor costs.
A methane gas sensor module testing equipment and system is designed, including a sensor module placement board and a channel switching control board. Through the connection between the host computer and the transmission channel, multiple methane gas sensor modules can be tested simultaneously to improve testing efficiency.
Through the connection between the host computer and the channel switching control board, multiple methane gas sensor modules can be tested simultaneously, which improves testing efficiency without increasing labor costs.
Smart Images

Figure CN118624831A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of product testing technology, and in particular to a methane gas sensor module testing device, system and method. Background Art
[0002] Since natural gas is mainly composed of methane, in order to improve the safe use of natural gas energy, a methane gas sensor module is usually used to monitor the methane concentration in the user's room.
[0003] Since the methane gas sensor module is closely related to the safe use of natural gas, the methane gas sensor module usually needs to be fully tested before leaving the factory to ensure that the methane gas sensor module can be used normally.
[0004] At present, methane gas sensor modules are usually tested one by one by testers. This detection method is inefficient. In order to improve the test efficiency, more testers are usually required to conduct the test together, which will result in higher test labor costs. Summary of the invention
[0005] The embodiments of the present application provide a methane gas sensor module testing device, system and method to improve the testing efficiency while ensuring low labor costs.
[0006] In a first aspect, an embodiment of the present application provides a methane gas sensor module testing device, including: a sensor module placement board and a channel switching control board;
[0007] The sensor module placement board is provided with a preset number of placement slots, and the channel switching control board is provided with a preset number of transmission channels;
[0008] The placement slots are connected to the transmission channels in a one-to-one correspondence, and the channel switching control board is connected to the host computer to enable the methane gas sensor module placed in the placement slot to communicate with the host computer through the transmission channel.
[0009] In a second aspect, an embodiment of the present application provides a methane gas sensor module testing system, the system comprising a host computer and a methane gas sensor module testing device as provided in any embodiment of the present application;
[0010] The methane gas sensor module test equipment is connected to the host computer for communication.
[0011] In a third aspect, an embodiment of the present application further provides a methane gas sensor module testing method, which is applied to a methane gas sensor module testing system provided in any embodiment of the present application, and the method includes:
[0012] The host computer responds to the preset channel switching strategy and controls the channel switching control board to switch to the target transmission channel;
[0013] The host computer sends data collection instructions to the methane gas sensor module in the corresponding placement slot through the target transmission channel;
[0014] The methane gas sensor module transmits the detected sensor data to the upper computer through the target transmission channel according to the data collection instruction;
[0015] The host computer tests the performance of the methane gas sensor module based on the sensing data.
[0016] The technical solution of the embodiment of the present application, the methane gas sensor module test equipment includes: a sensor module placement board and a channel switching control board; the sensor module placement board is provided with a preset number of placement slots, and the channel switching control board is provided with a preset number of transmission channels; the placement slots are connected to the transmission channels in a one-to-one correspondence, and the channel switching control board is connected to the host computer, so as to enable the methane gas sensor modules placed in the placement slots to communicate with the host computer through the transmission channels. Based on this, by using the sensor module placement board and the channel switching control board, the host computer can be used to test a preset number of methane gas sensor modules at the same time, thereby improving the test efficiency and not increasing the labor cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A schematic diagram of the structure of a methane gas sensor module testing device provided in Example 1 of the present application;
[0018] Figure 2 A schematic diagram of the structure of a channel switching control board provided in Example 1 of the present application;
[0019] Figure 3 A schematic diagram of the circuit structure of a relay drive circuit provided in Embodiment 1 of the present application;
[0020] Figure 4 A structural schematic diagram of a methane gas sensor module testing system provided in Example 2 of the present application;
[0021] Figure 5 A schematic flow chart of a methane gas sensor module testing method provided in Example 3 of the present application. DETAILED DESCRIPTION
[0022] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only the parts related to the present application, rather than all structures, are shown in the accompanying drawings.
[0023] Embodiment 1
[0024] Figure 1 This is a schematic diagram of the structure of the methane gas sensor module testing equipment provided in Example 1 of the present application, as shown in Figure 1 As shown, the methane gas sensor module testing equipment of this embodiment may include: a sensor module placement board and a channel switching control board;
[0025] The sensor module placement board is provided with a preset number of placement slots, and the channel switching control board is provided with a preset number of transmission channels;
[0026] The placement slots are connected to the transmission channels in a one-to-one correspondence, and the channel switching control board is connected to the host computer to enable the methane gas sensor module placed in the placement slot to communicate with the host computer through the transmission channel.
[0027] In order to facilitate the connection of the methane gas sensor module to the methane gas sensor module testing device of this embodiment, in this embodiment, a sensor input contact and a sensor output contact may be set in the aforementioned placement slot.
[0028] When the methane gas sensor module is placed in the placement slot, the input end of the methane gas sensor module is in contact with and connected to the sensor input contact, and the output end of the methane gas sensor module is in contact with and connected to the sensor output contact.
[0029] Correspondingly, the input and output ends of the methane gas sensor module can also be set in the form of contacts, and the shape and size of the placement slot can be consistent with the shape and size of the methane gas sensor module, so that the methane gas sensor module can be placed in the placement slot and can play a certain snapping role, so that the input and output ends of the methane gas sensor module correspond to the sensor input contacts and the sensor output contacts to form a connection state.
[0030] Furthermore, the channel switching control board also includes a channel switching drive circuit and a sensor communication circuit;
[0031] The channel switching drive circuit is connected to the control end of each transmission channel, and one end of any transmission channel is connected to the sensor input contact and the sensor output contact of the corresponding placement slot;
[0032] The other end of each transmission channel is communicatively connected to one end of the sensor communication circuit, and the other end of the sensor communication circuit is communicatively connected to the host computer.
[0033] Among them, the channel switching drive circuit may include a host computer communication interface, a level conversion chip and a single-chip microcomputer, wherein the host computer communication interface is used to connect to the host computer, receive the switching signal sent by the host computer, and then the level conversion chip converts the switching signal into a level signal that can be received by the single-chip microcomputer. Based on the level signal, the sensor controls the on and off of the transmission channel through the connected control end.
[0034] In addition, the sensor communication circuit is mainly used to receive data acquisition instructions from the host computer, as well as the sensor data sent back by the methane gas sensor module according to the data acquisition instructions.
[0035] In a specific example, the channel switching control panel can refer to Figure 2 , Figure 2 This is a schematic diagram of the structure of a channel switching control board provided in Example 1 of the present application. Figure 2 As shown, the host computer communication interface can be an RS232 interface, the level conversion chip can be a MAX232 chip, the single-chip microcomputer can be an STM32L073V8T6 single-chip microcomputer, and the sensor communication circuit can be a TTL interface circuit.
[0036] Among them, the sensing communication circuit is divided into end A and end B, which correspond to the A end and B end of the transmission channel, that is, the A end of the sensing communication circuit is connected to the A end of the transmission channel, and the B end of the sensing communication circuit is connected to the B end of the transmission channel.
[0037] In addition, the C end of the transmission channel is connected to the sensor input contact, and the D end is connected to the sensor output contact, such as Figure 2 As shown, there are 20 transmission channels in total. Since each transmission channel is connected to a placement slot, in order to facilitate distinction, the C end and D end of the transmission channel are numbered, that is, transmission channel No. 1 is C1 end and D1 end, transmission channel No. 2 is C2 end and D2 end, transmission channel No. 20 is C20 end and D20 end, and so on.
[0038] Figure 2 In order to facilitate representation, the switch and control end of the transmission channel are separated. Figure 2 The transmission channels shown in the figure only illustrate the relay switch side, namely S1 and S2. Since each transmission channel includes an input channel and an output channel, a double-pole double-throw switch is used for on-off control. The relay control side is included in the relay drive circuit. For ease of understanding, the relay drive circuit will be explained later.
[0039] Specifically, in this embodiment, any transmission channel includes a relay drive circuit, wherein the relay drive circuit includes a relay and an enabling module;
[0040] The relay is provided with one end connected to the placement slot, the other end connected to the host computer for communication, and an enabling end; one end of the enabling module is connected to the enabling end, and the other end is the control end.
[0041] For a specific example, see Figure 3 , Figure 3 The circuit structure diagram of the relay driving circuit provided in the first embodiment of the present application is shown in FIG. Figure 3 As shown in the figure, taking the relay drive circuit in transmission channel No. 1 as an example, Relay1 represents relay No. 1; MCU_Relay1 is the GPIO pin of the microcontroller, which is used to enable the relay drive circuit; Sensor1_RX and Sensor1_TX are used to connect to the UART receiving and sending pins of the sensor module, respectively. Figure 2 The C1 and D1 terminals in the figure; PC_TX and PC_RX represent the TX and RX of the TTL communication interface respectively. Figure 2 The A and B ends.
[0042] It should be noted that the above-mentioned relay can be a double-pole double-throw relay. In addition, the enabling module is provided with a grounding on-off module; one end of the grounding on-off module is the control end, and the other end is connected to the enabling end; the grounding on-off module is provided with a grounding end, and the grounding end is grounded.
[0043] In a specific example, the grounding switch module can be a triode circuit, such as Figure 3 As shown, Q1 of model SS8050 is a transistor. When the single chip microcomputer controls MCU_Relay1 to a high level, pins 2 and 3 of the transistor Q1 are turned on. At this time, pin 12 of Relay1 is connected to GND, and +5V is used to power the relay Relay1, so that pins 4 and 5, and pins 8 and 9 are turned on, that is, Sensor1_RX and PC_TX, Sensor1_TX and PC_RX are turned on, and the light-emitting diode LED2 lights up, which serves as a prompt that the Relay1 channel is turned on.
[0044] When the single chip microcomputer controls MCU_Relay1 to a low level, pins 2 and 3 of transistor Q1 are no longer conducting. At this time, pin 12 of Relay1 is no longer connected to GND, and +5V no longer supplies power to relay Relay1. At this time, pins 4 and 3, and pins 9 and 10 are conducted, while pins 3 and 10 are empty pins, that is, the relay channel is closed, and the light-emitting diode LED2 is off, which serves as a prompt that the Relay1 channel is disconnected.
[0045] It should be noted that the sensor module placement board is provided with a first voltage-stabilized power supply module, and the channel switching control board is provided with a second voltage-stabilized power supply module. The first voltage-stabilized power supply module can provide power for 20 methane gas sensor modules with a voltage of 5V; the second voltage-stabilized power supply module provides a 12V working voltage for the channel switching control board. Among them, the core power supply components in the first voltage-stabilized power supply module and the second voltage-stabilized power supply module can both be of the IT6720 model.
[0046] It should be noted that the above numbers are examples and can be adjusted as needed.
[0047] In this embodiment, the methane gas sensor module test equipment includes: a sensor module placement board and a channel switching control board; the sensor module placement board is provided with a preset number of placement slots, and the channel switching control board is provided with a preset number of transmission channels; the placement slots are connected to the transmission channels in a one-to-one correspondence, and the channel switching control board is connected to the host computer, so as to enable the methane gas sensor modules placed in the placement slots to communicate with the host computer through the transmission channels. Based on this, by using the sensor module placement board and the channel switching control board, the host computer can simultaneously test a preset number of methane gas sensor modules, thereby improving the test efficiency without increasing the labor cost.
[0048] Embodiment 2
[0049] See also Figure 4 , Figure 4 A structural schematic diagram of a methane gas sensor module testing system provided in Example 2 of the present application.
[0050] like Figure 4 As shown, the methane gas sensor module testing system of this embodiment may include a host computer and a methane gas sensor module testing device as provided in any embodiment of the present application; the methane gas sensor module testing device is communicatively connected to the host computer.
[0051] Among them, the host computer refers to a computer device with test software installed. The user controls the switching of the transmission channel by performing relevant operations on the test software in the host computer, thereby issuing data acquisition instructions, and then the methane gas sensor module returns the sensor data according to the data acquisition instructions, thereby testing the performance of the methane gas sensor module based on the sensor data.
[0052] It should be noted that the host computer can configure the temperature, methane gas concentration, etc. of the environment in which the methane gas sensor module is located, so as to compare the errors with the returned sensor data, thereby determining the performance of the methane gas sensor module.
[0053] In a specific example, when testing a group of methane gas sensor modules, the user can first configure the test environment and select the channel switching strategy. After clicking the start button of the test software, the transmission channel is automatically switched based on the channel switching strategy, and data acquisition instructions are issued, sensor data is received, and test analysis is performed.
[0054] Embodiment 3
[0055] See also Figure 5 , Figure 5 A flow chart of a methane gas sensor module testing method provided in the third embodiment of the present application is provided. The methane gas sensor module testing method can be applied to the host computer and the methane gas sensor module in the methane gas sensor module testing system mentioned above, and the two cooperate to perform the test.
[0056] like Figure 5 As shown, the methane gas sensor module testing method provided in this embodiment may include:
[0057] Step 501: The host computer controls the channel switching control board to switch to the target transmission channel in response to a preset channel switching strategy.
[0058] In this step, the channel switching strategy refers to the strategy for switching the transmission channel. In a specific example, the channel switching strategy may be to switch to the next channel each time the methane gas sensor module corresponding to the current transmission channel is tested, and then cycle N times.
[0059] Of course, the channel switching strategy may also be to test the methane gas sensor module corresponding to the current transmission channel N times before switching to the next channel.
[0060] For the sake of distinction, the transmission channel switched to is called the target transmission channel.
[0061] Step 502: The host computer sends a data collection instruction to the methane gas sensor module in the corresponding placement slot through the target transmission channel.
[0062] In this step, the data collection instructions may include instruction information such as concentration calibration, concentration data collection, temperature data collection, humidity data collection, and module ID writing.
[0063] Step 503: The methane gas sensor module transmits the detected sensor data to the upper computer through the target transmission channel according to the data acquisition instruction.
[0064] In this step, the methane gas sensor module will use the collected concentration data, temperature data, humidity data, voltage data, transmission channel number, and product number of the methane gas sensor module as sensing data and transmit it back to the host computer through the target transmission channel.
[0065] Step 504: The host computer tests the performance of the methane gas sensor module according to the sensing data.
[0066] In this step, when the performance analysis is performed, it can be compared with the configuration parameters of the test environment configured above, and the configuration parameters may include the concentration, humidity, temperature, etc. of the test environment. By comparison, the accuracy of the sensor data can be tested, and the accuracy can be used as the test result of the performance test.
[0067] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims
1. A methane gas sensor module testing device, characterized in that: include: Sensor module placement board and channel switching control board; The sensor module placement board is provided with a preset number of placement slots, and the channel switching control board is provided with the preset number of transmission channels; The placement slots are connected to the transmission channels in a one-to-one correspondence, and the channel switching control board is connected to a host computer, so as to enable the methane gas sensor module placed in the placement slots to communicate with the host computer through the transmission channel.
2. The device according to claim 1, characterized in that The placement slot is provided with a sensor input contact and a sensor output contact; When the methane gas sensor module is placed in the placement slot, the input end of the methane gas sensor module is in contact and connected with the sensor input contact, and the output end of the methane gas sensor module is in contact and connected with the sensor output contact.
3. The device according to claim 2, characterized in that The channel switching control board also includes a channel switching drive circuit and a sensor communication circuit; The channel switching drive circuit is connected to the control end of each transmission channel, and one end of any transmission channel is connected to the sensor input contact and the sensor output contact of the corresponding placement slot; The other end of each of the transmission channels is communicatively connected to one end of the sensor communication circuit, and the other end of the sensor communication circuit is communicatively connected to the host computer.
4. The device according to any one of claims 1 to 3, characterized in that: Any of the transmission channels includes a relay driving circuit.
5. The device according to claim 4, characterized in that The relay driving circuit includes a relay and an enabling module; The relay is provided with one end connected to the placement slot, the other end connected to the host computer for communication, and an enabling end; One end of the enabling module is connected to the enabling end, and the other end is the control end.
6. The device according to claim 5, characterized in that The relay is a double-pole double-throw relay.
7. The device according to claim 5, characterized in that The enabling module is provided with a grounding on-off module; One end of the grounding on-off module is the control end, and the other end is connected to the enabling end; The grounding on-off module is provided with a grounding terminal, and the grounding terminal is grounded.
8. The device according to claim 1, characterized in that The sensor module placement board is provided with a first voltage-stabilized power supply module, and the channel switching control board is provided with a second voltage-stabilized power supply module.
9. A methane gas sensor module testing system, characterized in that: The system comprises a host computer and a methane gas sensor module testing device according to any one of claims 1 to 8; The methane gas sensor module testing equipment is communicatively connected to the host computer.
10. A methane gas sensor module testing method, characterized in that: Applied to the methane gas sensor module testing system as claimed in claim 9, the method comprises: The host computer responds to the preset channel switching strategy and controls the channel switching control board to switch to the target transmission channel; The host computer sends a data collection instruction to the methane gas sensor module in the corresponding placement slot through the target transmission channel; The methane gas sensor module transmits the detected sensor data back to the upper computer through the target transmission channel according to the data acquisition instruction; The host computer tests the performance of the methane gas sensor module according to the sensing data.
