Gas sensor module and gas sensor system
The gas sensor module adjusts amplifier offset voltage and gain to match AD converter input ranges, ensuring accurate gas detection across wide voltage signals without increased power or size, addressing the limitations of existing technologies.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-03-07
- Publication Date
- 2026-04-15
AI Technical Summary
Analog signals from gas sensors often exceed the voltage range that AD converters can output, leading to incomplete gas detection signals, and widening the voltage range of AD converters increases power consumption and size.
A gas sensor module with an amplifier and AD converter system that adjusts the offset voltage and gain of the amplifier to match the input range of the AD converter, using a microcontroller to control these adjustments without increasing power or size.
Enables accurate acquisition of gas detection signals across wide voltage ranges without increasing power consumption or module size, by dynamically adjusting amplifier settings to fit the AD converter input range.
Smart Images

Figure 0007846543000001 
Figure 0007846543000002 
Figure 0007846543000003
Abstract
Description
Technical Field
[0001] The present disclosure relates to a gas sensor module and a gas sensor system.
Background Art
[0002] There is known a sensor including a volume change body whose volume changes according to the amount of a target (e.g., molecules constituting a gas or a liquid), etc., and detecting stress generated along with the change in the volume of the volume change body. Patent Document 1 discloses a sensor including a main body part, a volume change body, and a detection part. The main body part is in a flat plate shape, and has a housing space that is supported at a first end in a first direction and that opens at at least one of both end faces in the thickness direction. The volume change body changes its volume according to the amount of the target and is supported by the main body part so that at least a part thereof is housed in the housing space. The detection part is connected to a second end in the first direction of the main body part and detects stress generated along with the change in the volume of the volume change body.
[0003] A gas sensor module using such a sensor obtains detection data of a gas by amplifying the voltage of an analog signal of the gas detected by the sensor with an amplifier, then changing the analog signal to a digital signal by an AD converter, and outputting the digital signal to a microcomputer.
Prior Art Documents
Patent Documents
[0004]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0005] The analog signal output to the AD converter may exceed the voltage range that the AD converter can output. When this happens, the microcomputer cannot acquire the gas detection signal. For example, in the case of a gas sensor that uses a sensitive membrane that detects gas based on the stress generated by expansion or contraction in response to the gas, the gas may be detected as a voltage across a wide range including both positive and negative values. In such cases, the detected signal is more likely to exceed the voltage range that the AD converter can output. Naturally, if the detected signal is more likely to exceed the voltage range that the AD converter can output, the gas detection signal cannot be acquired.
[0006] On the other hand, simply widening the voltage range that can be output by the AD converter to address this problem would lead to issues such as requiring a large amount of power or increasing the size of the AD converter.
[0007] This disclosure has been made in view of the above points, and aims to provide a gas sensor module and gas sensor system that facilitates the acquisition of gas detection signals while suppressing increases in power and space when the voltage range of the signal for detecting gas is wide. [Means for solving the problem]
[0008] According to one aspect of this disclosure, a gas sensor module is provided, comprising: a gas sensor; an amplifier that amplifies a first analog signal output from the gas sensor by a predetermined amount according to the measurement result of a target to be measured and outputs a second analog signal; an AD converter that converts the second analog signal into a digital signal; and a control unit that acquires the digital signal, wherein the control unit includes an offset control unit that controls the sliding of the offset voltage of the amplifier.
[0009] The offset control unit may perform control to slide the input range of the AD converter based on a set value.
[0010] The control unit may further include a storage unit for storing the set value.
[0011] The gas sensor module described above may further include a selection switch for selecting the set value.
[0012] The offset control unit may perform control to slide the offset voltage of the amplifier based on the slope of the digital signal over a predetermined time.
[0013] The control unit may further include a gain control unit that performs control to switch the amplification factor of the amplifier.
[0014] The gain control unit may be controlled to reduce the amplification factor of the amplifier when the voltage of the second analog signal exceeds the input range of the AD converter.
[0015] The gain control unit may perform control to switch the amplification factor of the amplifier based on the slope of the digital signal over a predetermined time.
[0016] The control unit may further include a correction unit that performs correction to match the output of the AD converter before and after the offset voltage is slid by the offset control unit or before and after the amplification factor of the amplifier is switched by the gain control unit.
[0017] The gas sensor may include a sensitive membrane whose volume changes according to the amount of gas to be detected, and a detection unit that detects the stress generated as a result of the change in the volume of the sensitive membrane.
[0018] In another aspect of this disclosure, a gas sensor system is provided comprising the gas sensor module and an information processing device that acquires the digital signal from the control unit and outputs information based on the digital signal. [Effects of the Invention]
[0019] According to the present disclosure, even when the width of the voltage range of the signal for detecting gas is large, it is possible to provide a gas sensor module and a gas sensor system that can easily acquire the gas detection signal while suppressing an increase in power and space.
Brief Description of Drawings
[0020] [Figure 1] FIG. 1 is a diagram showing a schematic configuration of a gas sensor system including the gas sensor module according to the present embodiment. [Figure 2] FIG. 2 is a graph showing an example of an analog signal output from a sensor. [Figure 3] FIG. 3 is a diagram showing a configuration example of the gas sensor module. [Figure 4] FIG. 4 is a graph showing an example of a time change of an analog signal output from an amplifier. [Figure 5] FIG. 5 is a graph showing an example of a time change of an analog signal output from an amplifier. [Figure 6] FIG. 6 is a diagram showing an example of correction of a digital signal output from an AD converter. [Figure 7] FIG. 7 is a graph showing an example of a time change of an analog signal output from an amplifier.
Embodiments for Carrying Out the Invention
[0021] Hereinafter, an example of an embodiment of the present disclosure will be described while referring to the drawings. In each drawing, the same or equivalent components and parts are given the same reference numerals. Also, the dimensional ratios in the drawings are exaggerated for convenience of explanation and may be different from the actual ratios.
[0022] FIG. 1 is a diagram showing a schematic configuration of a gas sensor system including the gas sensor module according to the present embodiment. The gas sensor system 1 shown in FIG. 1 includes a gas sensor module 10, a relay device 20, and an information processing device 30. [[ID=IO]]
[0023] The gas sensor module 10 measures the target substance. The target substance is a molecule that makes up a gas, liquid, or solid. Alternatively, for example, the target substance is a molecule that makes up a mixture consisting of at least two of the gas, liquid, and solid substances. The gas sensor module 10 is equipped with a sensor inside. The sensor according to this embodiment is equipped with a volume-changing body whose volume changes according to the amount of the target substance, and is a sensor that detects the stress generated as a result of the volume change of the volume-changing body.
[0024] The relay device 20 acquires the measurement results of the target being measured by the gas sensor module 10 from the gas sensor module 10. The gas sensor module 10 and the relay device 20 are connected by a wire. In addition to acquiring the measurement results of the target being measured from the gas sensor module 10, the relay device 20 also supplies power to the gas sensor module 10.
[0025] The relay device 20 stores the measurement results of the target being measured, acquired from the gas sensor module 10, and transmits the stored measurement results to the information processing device 30 at any time. Transmission from the relay device 20 to the information processing device 30 is performed using a predetermined communication protocol, such as UDP (User Datagram Protocol). Transmission from the relay device 20 to the information processing device 30 may be via wired or wireless transmission. When storing the measurement results, the relay device 20 stores them in a predetermined format, such as CSV (Comma Separated Value) format.
[0026] The information processing device 30 performs information processing on the measurement results measured by the gas sensor module 10 and transmitted from the relay device 20. For example, the information processing device 30 performs processing to display the measurement results measured by the gas sensor module 10 in a graph.
[0027] In this embodiment, the gas sensor module 10 and the relay device 20 are separate devices, but this disclosure is not limited to this example. The gas sensor module 10 may also be equipped with the functions of the relay device 20, and the measurement results may be transmitted directly from the gas sensor module 10 to the information processing device 30.
[0028] The gas sensor module 10 obtains the measurement result of the object being measured by the sensor by amplifying the output from the sensor with an amplifier and converting the amplified analog signal into a digital signal with an AD converter. However, AD converters typically cannot convert inputs of all signal levels; the convertible signal levels are limited to the maximum voltage specified in the specifications. If the range of the analog signal output from the sensor is known in advance, then an AD converter with an input range that can cover that range should be prepared. However, if the range of the analog signal output from the sensor is uncertain, it may not be possible to correctly convert the analog signal output from the sensor into a digital signal.
[0029] Figure 2 is a graph showing an example of an analog signal output from a sensor. For example, when using an AD converter with an input range of 0V to 5V, analog signals within the 0V to 5V range can be converted to digital signals. However, analog signals exceeding the 0V to 5V range will be clipped by the AD converter with an input range of 0V to 5V and cannot be correctly converted to digital signals.
[0030] Furthermore, the sensor used in this embodiment is equipped with a volume-changing element whose volume changes according to the amount of the object being measured. When it expands, it outputs a positive voltage value, and when it contracts, it outputs a negative voltage value. Also, since the waveform output by the sensor is determined by the object being measured and the functional film, it is unknown what kind of waveform data the sensor will output when measuring a new object.
[0031] Furthermore, because the analog signal output from the sensor is very weak, it is amplified by an amplifier before being sent to the AD converter. However, depending on the amplifier's offset voltage, the range of the analog signal after passing through the amplifier may fall outside the input range of the AD converter. Therefore, it is necessary to adjust the amplifier's offset voltage, but this adjustment must be tailored to the object being measured, and the offset voltage drifts with ambient temperature and over time.
[0032] Furthermore, assuming that an analog signal outside the input range is input to the AD converter, using an AD converter with a wide input range or an amplifier that prevents offset voltage drift would lead to increased power consumption and higher costs for the gas sensor module.
[0033] The gas sensor module according to this embodiment is characterized in that, without using components that would increase costs, the offset voltage of the amplifier and the gain of the amplifier can be adjusted without opening the housing of the gas sensor module, enabling it to handle a variety of measurement targets.
[0034] Figure 3 shows an example of the configuration of the gas sensor module 10 according to this embodiment. The gas sensor module 10 comprises a gas sensor 110, an amplifier group 120, an AD converter 130, a microcontroller 140, a DC-DC converter 150, and a switch unit 160.
[0035] The gas sensor 110 is a piezoresistive stress response sensor that includes a functional film 111 whose volume changes according to the amount of the substance to be measured, and a detection unit 112 that detects the stress generated due to the change in volume of the volume-changing element. The gas sensor 110 can be, for example, the sensor disclosed in International Publication No. 2019 / 188164. The gas sensor 110 according to this embodiment is a sensor manufactured using a MEMS (Micro Electro Mechanical Systems) process. The gas sensor 110 according to this embodiment outputs the measurement results of the substance to be measured in four channels. An analog signal output in response to the measurement of the substance by the gas sensor 110 is an example of the first analog signal of this disclosure.
[0036] The amplifier group 120 amplifies the output of the gas sensor 110 by a predetermined amount. The amplifier group 120 consists of amplifiers corresponding to the number of output channels of the gas sensor 110, and in this embodiment, the amplifier group 120 consists of four amplifiers 121, 122, 123, and 124. Each of the amplifiers 121 to 124 constituting the amplifier group 120 is an amplifier whose amplification factor (gain) and offset voltage can be switched externally. The analog signals output by each of the amplifiers 121 to 124 of the amplifier group 120 are an example of the second analog signal of this disclosure.
[0037] The AD converter 130 converts the analog signals output by each amplifier of the amplifier group 120 into digital signals. In this embodiment, the AD converter 130 converts each of the four channels of analog signal inputs into digital signals and outputs the digital signals to the microcontroller 140.
[0038] The microcontroller 140 is an example of a control unit of this disclosure and is an integrated circuit comprising a CPU (Central Processing Unit), ROM (Read Only Memory), and RAM (Random Access Memory). The ROM of the microcontroller 140 stores a range control program that controls the gains of each amplifier 121 to 124 of the amplifier group 120. The CPU of the microcontroller 140 reads and executes the gain control program stored in the ROM, thereby enabling the microcontroller 140 to function as an offset control unit 142, a gain control unit 144, and a correction unit 146.
[0039] The offset control unit 142 controls the switching of the offset voltage of each amplifier 121 to 124 in the amplifier group 120. By switching the offset voltage of amplifiers 121 to 124, the offset control unit 142 can make the output of the amplifier group 120 match the input range of the AD converter 130.
[0040] The gain control unit 144 controls the gain (amplification factor) of each amplifier 121 to 124 in the amplifier group 120. By switching the gain of amplifiers 121 to 124, the gain control unit 144 can make the output of the amplifier group 120 match the input range of the AD converter 130.
[0041] The offset control unit 142 switches the offset voltage of amplifiers 121 to 124 by referring to the setting value stored in the setting value storage unit 148. The gain control unit 144 also switches the gain of amplifiers 121 to 124 by referring to the setting value stored in the setting value storage unit 148. The setting values stored in the setting value storage unit 148 are, for example, offset voltage and gain settings that are obtained by pre-measuring several measurement targets and ensuring that the analog signal output by the gas sensor 110 as the measurement result of those targets fits the input range of the AD converter 130.
[0042] The setting values referenced by the offset control unit 142 and the gain control unit 144 may be switched, for example, by sending a command to switch the setting values from the relay device 20 or the information processing device 30 to the gas sensor module 10. By sending a command to switch the setting values from the relay device 20 or the information processing device 30 to the gas sensor module 10, the analog signal output by the gas sensor 110 can be made to match the input range of the AD converter 130 without having to open the housing of the gas sensor module 10 to adjust the offset voltage or change the gain.
[0043] Figure 4 is a graph showing an example of the time variation of an analog signal output from one of the amplifiers in the amplifier group 120. For example, if the voltage value indicating the measurement result from the gas sensor 110 increases over time, it will exceed a predetermined threshold at a certain time t. If the voltage value continues to rise in this manner, it will eventually reach the upper limit of the input range of the AD converter 130, and the AD converter 130 will no longer be able to correctly convert the voltage value indicating the measurement result into a digital signal.
[0044] Therefore, the offset control unit 142 and the gain control unit 144 may switch the reference setting value when the digital signal output from the AD converter 130 exceeds a predetermined threshold, and set the switched setting value to each amplifier 121 to 124 of the amplifier group 120. For example, when the value of the digital signal output from the AD converter 130 exceeds a predetermined threshold (in other words, when the voltage value of the analog signal output from one of the amplifiers in the amplifier group 120 exceeds a predetermined threshold), the gain control unit 144 switches the reference destination of the setting value stored in the setting value storage unit 148 and changes the gain set for each amplifier in the amplifier group 120.
[0045] Figure 5 is a graph showing an example of the time variation of an analog signal output from one of the amplifiers in the amplifier group 120. In the example shown in Figure 5, the amplifier gain was set to 100 times until time t, but at time t the value of the digital signal output from the AD converter 130 exceeded a predetermined threshold, so after time t the gain control unit 144 switches the amplifier gain to 50 times. By switching the amplifier gain to half at time t, the gain control unit 144 provides a margin of safety before reaching the upper limit of the input range of the AD converter 130, even if the voltage value continues to rise.
[0046] If the offset control unit 142 switches the amplifier's offset voltage or the gain control unit 144 switches the amplifier's gain during measurement, the continuity of the analog signal output from the amplifier is lost. The microcontroller 140 may also include a correction unit 146 that corrects the digital signal output from the AD converter 130 after the offset voltage or gain has been switched to match the offset voltage or gain before the switch. In the example in Figure 5, the correction unit 146 corrects the digital signal output by the AD converter 130 by doubling it after time t.
[0047] Figure 6 shows an example of correction of the digital signal output by the AD converter 130 by the correction unit 146. If the digital signal output by the AD converter 130 is not corrected after time t, the value will be as shown by the dashed line in Figure 6, but this is not a correct value because the gain does not match the measurement result before time t. After time t, the correction unit 146 corrects the digital signal output by the AD converter 130 by a factor of 2, so that the gain matches between the measurement result before time t and the measurement result after time t.
[0048] In the example shown in Figure 5, the gain control unit 144 switched the gain of the amplifier. However, instead of switching the gain of the amplifier, or in addition to switching the gain of the amplifier, the offset control unit 142 may switch the offset voltage of the amplifier.
[0049] Figure 7 is a graph showing an example of the time variation of an analog signal output from one of the amplifiers in the amplifier group 120. In the example shown in Figure 7, the amplifier's offset voltage was set to a predetermined first voltage until time t. However, at time t, the value of the digital signal output from the AD converter 130 exceeded a predetermined threshold, so after time t, the offset control unit 142 switches the amplifier's offset voltage to a predetermined second voltage that is lower than the first voltage. By switching the amplifier's offset voltage downward at time t, the offset control unit 142 provides a margin of safety until the upper limit of the input range of the AD converter 130 is reached, even if the voltage value continues to rise.
[0050] Figure 6 shows an example of correction when the amplifier gain switches before and after time t, but the correction unit 146 similarly corrects the digital signal when the offset voltage switches before and after time t.
[0051] The DC-DC converter 150 performs DC voltage conversion. For example, the DC-DC converter 150 converts the voltage of power supplied from an external source into an internal operating voltage and outputs it to each part. In this embodiment, the voltage of power supplied from the relay device 20 is converted into an internal operating voltage and output.
[0052] The switch section 160 consists of various switches for operating the gas sensor module 10. In this embodiment, the switch section 160 may be provided with switches for switching the set values referenced by the offset control unit 142 and the gain control unit 144. By providing switches for switching the set values in the switch section 160, the gas sensor module 10 does not require an external device to switch the set values referenced by the offset control unit 142 and the gain control unit 144.
[0053] The gas sensor module 10 according to this embodiment has the configuration shown in Figure 3, which makes it easier to acquire gas detection signals while suppressing increases in power and space compared to a configuration in which the gain and offset voltage switching is not performed by the microcontroller.
[0054] Furthermore, the setting values stored in the setting value storage unit 148 may be modified from an external device such as the information processing device 30. Also, setting values may be added to the setting value storage unit 148 from an external device such as the information processing device 30. By modifying or adding setting values from outside the gas sensor module 10, the gas sensor module 10 can accommodate an increase in the types of gases it detects.
[0055] Furthermore, in the above example, the correction unit 146 performed a correction on the digital signal after switching the offset voltage or gain output from the AD converter 130 to match the offset voltage or gain before switching, but this disclosure is not limited to this example. The correction unit 146 may also perform a correction on the digital signal before switching the offset voltage or gain output from the AD converter 130 to match the offset voltage or gain after switching. Such correction by the correction unit 146 is suitable, for example, when the noise is small and it is better to amplify the signal compared to the digital signal before switching.
[0056] Furthermore, in the above example, the offset control unit 142 and the gain control unit 144 switched the gain and offset voltage of each amplifier 121 to 124 by referring to the setting value stored in the setting value storage unit 148, but this disclosure is not limited to such example. For example, the offset control unit 142 or the gain control unit 144 may determine whether the digital signal will exceed a predetermined threshold if the slope of the digital signal continues for a predetermined time, and based on the determination result, perform control to switch the gain or offset voltage of each amplifier 121 to 124. For example, the offset control unit 142 or the gain control unit 144 may perform control to switch the gain or offset voltage of each amplifier 121 to 124 based on the slope of the digital signal for a predetermined time from the start of measurement. By performing such control, the offset control unit 142 or the gain control unit 144 can switch the gain or offset voltage of each amplifier 121 to 124 in real time without referring to the setting value.
[0057] While embodiments of the present disclosure have been described in detail above with reference to the attached drawings, the technical scope of the present disclosure is not limited to these examples. It is clear to any person with ordinary skill in the art of the present disclosure that various modifications or alterations may be conceived within the scope of the technical idea set forth in the claims, and these modifications or alterations are also understood to fall within the technical scope of the present disclosure. [Explanation of symbols]
[0058] 1. Gas Sensor System 10 Gas Sensor Modules 20 Relay device 30 Information Processing Devices 110 Gas Sensor 120 Amplifier Group 130 AD Converters 140 Microcontrollers 150 DC-DC converters 160 Switch section
Claims
1. Gas sensor and, An amplifier that amplifies the first analog signal output from the gas sensor by a predetermined amount according to the measurement result of the object being measured and outputs a second analog signal, The AD converter converts the second analog signal to a digital signal, A control unit that acquires the aforementioned digital signal, Equipped with, The control unit includes an offset control unit that controls the sliding of the offset voltage of the amplifier, The offset control unit controls the offset voltage of the amplifier in real time based on the slope of the digital signal over a predetermined period of time from the start of measurement, and is a gas sensor module.
2. The gas sensor module according to claim 1, wherein the offset control unit controls the input range of the AD converter to slide based on a set value.
3. The gas sensor module according to claim 2, wherein the control unit further comprises a storage unit for storing the set value.
4. The gas sensor module according to claim 2, further comprising a selection switch for selecting the aforementioned set value.
5. The gas sensor module according to any one of claims 1 to 4, wherein the control unit further comprises a gain control unit that performs control for switching the amplification factor of the amplifier.
6. The gas sensor module according to claim 5, wherein the gain control unit controls the amplification factor of the amplifier to decrease when the voltage of the second analog signal exceeds the input range of the AD converter.
7. The gas sensor module according to claim 5, wherein the gain control unit performs control to switch the amplification factor of the amplifier based on the slope of the digital signal over a predetermined time.
8. The gas sensor module according to any one of claims 5 to 7, wherein the control unit further comprises a correction unit that performs correction to adjust the output of the AD converter before and after the offset voltage is slid by the offset control unit or before and after the amplification factor of the amplifier is switched by the gain control unit.
9. The aforementioned gas sensor is A sensitive membrane whose volume changes according to the amount of gas being detected, A detection unit for detecting stress generated in response to a change in the volume of the sensitive membrane, A gas sensor module according to any one of claims 1 to 8, comprising:
10. The gas sensor module according to claim 1, An information processing device that acquires the digital signal from the control unit and outputs information based on the digital signal, A gas sensor system equipped with the following features.
Citation Information
Patent Citations
Sensor signal processing device
JP1995159196A
Automatic gain correction device and automatic gain correction method for amplifier
JP1996265070A
Amplification circuit
JP1997096651A
Gas concentration detector
JP2007285849A
Gas detector
JP2011052976A