Sensor signal processing circuit and method

By designing sensor signal processing circuits for detection, judgment and matching modules, the problem of low sensor signal processing efficiency in the prior art is solved, and the function of quickly identifying and matching different types of sensor signals is realized, and the compatibility and efficiency of signal processing are improved.

CN117783626BActive Publication Date: 2025-03-18E-QUALITY INTELLIGENT TECHNOLOGY WUXI CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311855997.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2025-03-18
Estimated Expiration
2043-12-28

AI Technical Summary

Technical Problem

Existing signal processing circuits are difficult to quickly identify and match different types of sensor signals, resulting in inefficient signal processing.

Method used

A sensor signal processing circuit including a detection module, a judgment module and a matching module is designed. The detection module determines the connection form with the target sensor through the control signal and performs voltage or resistance detection. The judgment module determines the sensor type based on the detection value, and the matching module matches the corresponding signal processing circuit according to the type.

Benefits of technology

By quickly identifying the sensor type and matching the corresponding signal processing circuit, the compatibility and matching of sensor signal processing are improved, signal processing errors are avoided, and signal processing efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117783626B_ABST
    Figure CN117783626B_ABST
Patent Text Reader

Abstract

The present application relates to a sensor signal processing circuit and method. The circuit includes: a detection module, a judgment module and a matching module. The detection module is used to determine the target connection form with the target sensor according to the control signal, and detect the target sensor to obtain the voltage detection value or resistance detection value of the target sensor; the judgment module is connected to the detection module, used to determine the control signal, and collect the voltage detection value or the resistance detection value, and determine the target type of the target sensor according to the voltage detection value or the resistance detection value; the matching module is connected to the judgment module, and is used to determine the target processing circuit that matches the target sensor according to the target type, and the target processing circuit is used to perform signal processing on the target sensor. This circuit helps to improve the compatibility and matching of the sensor signal processing circuit, avoid signal processing problems caused by the mismatch between the sensor signal and the signal processing circuit, and improve signal processing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of signal processing, and in particular to a sensor signal processing circuit and method. Background Art

[0002] With the development of signal processing technology, during the operation of the engine, the engine's electronic control unit can obtain the sensor signals of the engine's external sensors, and identify and control the engine's operating status through the signal processing circuit of the electronic control unit to improve fuel economy and reduce carbon emissions.

[0003] At present, the signal processing circuit processes the received sensor signal. However, the number of external sensors is large and the types are different. Different types of sensors require corresponding signal processing circuits. It is urgent to have a method that can determine the sensor type based on the sensor signal, quickly determine the signal processing circuit corresponding to the sensor, and improve the efficiency of sensor signal processing. Summary of the invention

[0004] Based on this, it is necessary to provide a sensor signal processing circuit and method to address the above technical issues.

[0005] In a first aspect, the present application provides a sensor signal processing circuit, comprising:

[0006] A detection module, the detection module is used to determine the target connection form with the target sensor according to the control signal, and detect the target sensor to obtain a voltage detection value or a resistance detection value of the target sensor;

[0007] A judgment module, connected to the detection module, is used to determine the control signal, collect the voltage detection value or the resistance detection value, and determine the target type of the target sensor according to the voltage detection value or the resistance detection value;

[0008] The matching module is connected to the judging module and is used to determine a target processing circuit that matches the target sensor according to the target type, and the target processing circuit is used to perform signal processing on the target sensor.

[0009] In one embodiment, the detection module includes a switch circuit, a voltage detection circuit and a resistance detection circuit, and the switch circuit is connected to the voltage detection circuit and the resistance detection circuit respectively, wherein:

[0010] A switch circuit is connected to the target sensor and is used to connect the voltage detection circuit to the target sensor or the resistance detection circuit to the target sensor according to a control signal;

[0011] A voltage detection circuit is used to detect the voltage of the target sensor and obtain a voltage detection value;

[0012] The resistance detection circuit is used to perform resistance detection on the target sensor to obtain a resistance detection value.

[0013] In one embodiment, the determination module is specifically used for:

[0014] When the detection module is not connected to the target sensor, an initial voltage value of the target sensor is collected, and a sensor type of the target sensor is determined according to the initial voltage value, wherein the sensor type includes a resistance sensor, a voltage sensor or a current sensor;

[0015] When the detection module is connected to the target sensor, the voltage detection value or resistance detection value of the target sensor after detection by the detection circuit is collected, and the target type is determined according to the sensor type and the voltage detection value, or according to the sensor type and the resistance detection value.

[0016] In one embodiment, the determination module is further configured to:

[0017] When the sensor type is a voltage type sensor or a current type sensor, a voltage control signal is determined, and a voltage detection circuit is controlled to be connected to the target sensor according to the voltage control signal;

[0018] When the sensor type is a resistance type sensor, a resistance control signal is determined, and the resistance detection circuit is controlled to be connected to the target sensor according to the resistance control signal.

[0019] In one embodiment, the resistance detection module is specifically used for:

[0020] When the sensor type is a resistance type sensor, the maximum measured resistance and the minimum measured resistance of the resistance type sensor are obtained;

[0021] Determine the matching resistance according to the maximum measured resistance and the minimum measured resistance;

[0022] The target sensor is subjected to resistance detection according to the matching resistance to obtain a resistance detection value.

[0023] In a second aspect, the present application also provides a sensor signal processing method. The method is applied to a sensor signal processing circuit, wherein the sensor signal processing circuit includes a detection module, a judgment module and a matching module, and the detection module, the judgment module and the matching module are connected in sequence, and the method includes:

[0024] The detection module determines the target connection form with the target sensor according to the control signal, and detects the target sensor to obtain a voltage detection value or a resistance detection value of the target sensor;

[0025] The judgment module determines the target type of the target sensor according to the voltage detection value or the resistance detection value;

[0026] The matching module determines a target processing circuit that matches the target sensor according to the target type, and the target processing circuit is used to perform signal processing on the target sensor.

[0027] In one embodiment, the detection module includes a switch circuit, a voltage detection circuit and a resistance detection circuit, the switch circuit is connected to the voltage detection circuit and the resistance detection circuit respectively, and the method includes:

[0028] The switch circuit connects the voltage detection circuit to the target sensor, or connects the resistance detection circuit to the target sensor according to the control signal;

[0029] The voltage detection circuit performs voltage detection on the target sensor to obtain a voltage detection value;

[0030] The resistance detection circuit performs resistance detection on the target sensor to obtain a resistance detection value.

[0031] In one embodiment, the method includes:

[0032] When the detection module is not connected to the target sensor, the judgment module collects the initial voltage value of the target sensor, and determines the sensor category of the target sensor according to the initial voltage value, wherein the sensor category includes a resistance sensor, a voltage sensor or a current sensor;

[0033] When the detection module is connected to the target sensor, the judgment module collects the voltage detection value or resistance detection value of the target sensor after detection by the detection circuit, and determines the target type according to the sensor type and the voltage detection value, or according to the sensor type and the resistance detection value.

[0034] In one embodiment, wherein the control signal comprises a voltage control signal and a resistance control signal, the method comprises:

[0035] When the sensor type is a voltage type sensor or a current type sensor, the judgment module determines a voltage control signal, and controls the voltage detection circuit to connect with the target sensor according to the voltage control signal;

[0036] When the sensor type is a resistance type sensor, the judgment module determines a resistance control signal, and controls the resistance detection circuit to be connected to the target sensor according to the resistance control signal.

[0037] In one embodiment, wherein the detection module includes a voltage detection module and a resistance detection module, the method includes:

[0038] When the sensor type is a resistance type sensor, the resistance detection module obtains the maximum measured resistance and the minimum measured resistance of the resistance type sensor;

[0039] The resistance detection module determines the matching resistance according to the maximum measured resistance and the minimum measured resistance;

[0040] The resistance detection module performs resistance detection on the target sensor according to the matching resistance to obtain a resistance detection value.

[0041] The sensor signal processing circuit and method mentioned above, the circuit includes a detection module, a judgment module and a matching module. The detection module is used to determine the target connection form with the target sensor according to the control signal, and detect the target sensor to obtain the voltage detection value or resistance detection value of the target sensor; the judgment module is connected to the detection module, used to determine the control signal, and collect the voltage detection value or the resistance detection value, and determine the target type of the target sensor according to the voltage detection value or the resistance detection value; the matching module is connected to the judgment module, and is used to determine the target processing circuit that matches the target sensor according to the target type, and the target processing circuit is used to perform signal processing on the target sensor. The circuit determines the target type of the target sensor, matches the target processing circuit according to the target type for signal processing, which helps to improve the compatibility and matching of sensor signal processing, avoids signal processing problems caused by mismatch between sensor signals and signal processing circuits, and improves signal processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1 Schematic diagram of the module structure of a sensor signal processing circuit in one embodiment;

[0044] Figure 2 Schematic diagram of the module structure of a detection module in one embodiment;

[0045] Figure 3 is a schematic diagram of the module structure of a detection module in another embodiment;

[0046] Figure 4 FIG. 4 is a schematic diagram of a module structure of a sensor signal processing circuit in another embodiment. DETAILED DESCRIPTION

[0047] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.

[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0049] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first resistor may be referred to as a second resistor, and similarly, a second resistor may be referred to as a first resistor. Both the first resistor and the second resistor are resistors, but they are not the same resistor.

[0050] It can be understood that the “connection” in the following embodiments should be understood as “electrical connection”, “communication connection”, etc. if the connected circuits, modules, units, etc. have electrical signals or data transmission between each other.

[0051] It can be understood that “at least one” means one or more, “plurality” means two or more, and “at least a portion of an element” means a part or all of an element.

[0052] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" and the like specify the presence of stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. At the same time, the term "and / or" used in this specification includes any and all combinations of the relevant listed items.

[0053] In an exemplary embodiment, Figure 1 As shown, a sensor signal processing circuit 100 is provided, which includes a detection module 120, a judgment module 140 and a matching module 160. The detection module 120 is used to determine the target connection form with the target sensor according to the control signal, and detect the target sensor to obtain the voltage detection value or the resistance detection value of the target sensor; the judgment module 140 is connected to the detection module 120, and is used to determine the control signal, and collect the voltage detection value or the resistance detection value, and determine the target type of the target sensor according to the voltage detection value or the resistance detection value; the matching module 160 is connected to the judgment module 140, and is used to determine the target processing circuit matching the target sensor according to the target type, and the target processing circuit is used to perform signal processing on the target sensor.

[0054] The target sensor refers to a device used to measure, detect and sense physical quantities or physical states in the environment, and the types of target sensors include resistance sensors, voltage sensors and current sensors. The target connection forms include the target sensor being not connected to the detection module 120, and the target sensor being connected to the detection module 120. The target processing circuit includes a voltage sensor signal processing circuit, a resistance sensor signal processing circuit and a current sensor signal processing circuit.

[0055] Exemplarily, the target sensor of the generator generates a sensor signal, and the sensor signal is input into the sensor signal processing circuit 100 for signal processing. After the sensor signal processing circuit receives the sensor signal, the judgment module 140 determines the control signal and inputs the control signal into the detection module 120. The control signal can control the switch circuit of the detection module 120 to control the connection form between the detection module 120 and the target sensor. The control signal controls the detection module 120 to disconnect the target sensor from the detection module 120, and the judgment module 140 directly collects the voltage signal of the sensor signal to obtain the voltage detection value. The judgment module 140 can determine the initial type of the target sensor according to the voltage detection value. The initial type can be a sensor type such as a resistance sensor, a voltage sensor, or a current sensor. The control signal controls the target sensor to be connected to the detection module 120. The detection module 120 performs signal detection on the sensor signal to obtain the voltage detection value or resistance detection value of the sensor signal, and the current detection value of the target sensor can be determined according to the voltage detection value. The detection module 120 inputs the voltage detection value or the resistance detection value into the judgment module 140. The judgment module 140 determines the target type of the target sensor according to the voltage detection value and the initial type of the target sensor, or the resistance detection value and the initial type of the target sensor. For example, when the initial type is a resistance type sensor, the target type can be a specific sensor type such as a Pt100 temperature sensor or a Pt1000 temperature sensor. The judgment module 140 determines the matching control signal according to the target type corresponding to the target sensor, and inputs the matching control signal into the matching module 160. The matching module 160 determines the target processing circuit that matches the target type according to the matching control signal corresponding to the target type, and processes the sensor signal of the target sensor according to the target processing circuit, so as to realize sensor signal processing.

[0056] In this embodiment, the circuit includes a detection module 120, a judgment module 140 and a matching module 160. The detection module 120 is used to determine the target connection form with the target sensor according to the control signal, and detect the target sensor to obtain the voltage detection value or the resistance detection value of the target sensor; the judgment module 140 is connected to the detection module 120, and is used to determine the control signal, and collect the voltage detection value or the resistance detection value, and determine the target type of the target sensor according to the voltage detection value or the resistance detection value; the matching module 160 is connected to the judgment module 140, and is used to determine the target processing circuit matching the target sensor according to the target type, and the target processing circuit is used to perform signal processing on the target sensor. The circuit determines the target type of the target sensor, matches the target processing circuit according to the target type for signal processing, and helps to improve the compatibility and matching of sensor signal processing, avoids signal processing problems caused by mismatch between sensor signals and signal processing circuits, and improves signal processing efficiency.

[0057] In an exemplary embodiment, Figure 2 As shown, the detection module 120 includes a switch circuit 122, a voltage detection module 124 and a resistance detection module 126, and the switch circuit 122 is connected to the voltage detection module 124 and the resistance detection module 126 respectively, wherein: the switch circuit 122 is connected to the target sensor, and is used to connect the voltage detection module 124 to the target sensor according to a control signal, or to connect the resistance detection module 126 to the target sensor; the voltage detection module 124 is used to perform voltage detection on the target sensor to obtain a voltage detection value; the resistance detection module 126 is used to perform resistance detection on the target sensor to obtain a resistance detection value.

[0058] For example, Figure 3As shown, the voltage detection module 124 includes a voltage detection subcircuit and a current detection subcircuit, and the switch circuit 122 includes a current control switch corresponding to the current detection subcircuit, a voltage control switch corresponding to the voltage detection subcircuit, and a resistance control switch corresponding to the voltage detection module 124. When the initial type of the target sensor is a voltage type sensor, the control signal controls the switch of the voltage detection subcircuit to be turned on, and the voltage of the sensor signal is measured by the voltage detection subcircuit to obtain a voltage detection value, and the target type of the voltage type sensor is determined according to the voltage detection value; when the initial type of the target sensor is a current type sensor, the control signal controls the switch of the current detection subcircuit to be turned on, and the current detection subcircuit includes a plurality of parallel resistors and switches corresponding to each parallel resistor. Based on the closing and opening of the switch of the current detection subcircuit, the circuit resistance value of the current detection subcircuit is adjusted, and the voltage of the sensor signal is measured by the current detection subcircuit to obtain a voltage detection value. The detection module 120 outputs the voltage detection value and the circuit resistance value of the current detection subcircuit to the judgment module 140, and the judgment module 140 determines the current detection value according to the voltage detection value and the circuit resistance value, and then determines the target type of the current type sensor according to the current detection value. When the detection module 120 receives the control signal, if the control signal is used to control the resistance control switch to be turned on, the resistance detection module 126 is connected to the target sensor, and the sensor signal is input to the resistance detection module 126 for detection to obtain the resistance detection value. The resistance detection module 126 includes a plurality of parallel resistors and switches corresponding to the parallel resistors. Based on the closing and opening of the switches, the resistance value of the resistance detection module 126 is adjusted to a matching resistance. The resistance detection module 126 corresponding to the matching resistance measures the resistance of the sensor signal to obtain a resistance detection value.

[0059] In this embodiment, by controlling the switch circuit, different detection sub-circuits can be selectively switched as needed, thereby performing quantitative or qualitative detection of different parameters to achieve different measurement or detection tasks, thereby improving the versatility of the detection module 120.

[0060] In an exemplary embodiment, when the detection module 120 is not connected to the target sensor, the initial voltage value of the target sensor is collected, and the sensor category of the target sensor is determined based on the initial voltage value, wherein the sensor category includes a resistance sensor, a voltage sensor, or a current sensor; when the detection module 120 is connected to the target sensor, the voltage detection value or the resistance detection value of the target sensor after detection by the detection module 120 is collected, and the target type is determined based on the sensor category and the voltage detection value, or based on the sensor category and the resistance detection value.

[0061] Exemplarily, as shown in Table 1 below, Q1 is the resistance control switch corresponding to the resistance detection module 126, Q2 is the voltage control switch corresponding to the voltage detection module 124, and a first interval, a second interval, and a third interval are set. When the detection module 120 is not connected to the target sensor, that is, when the resistance control switch Q1 and the voltage control switch are both disconnected, the judgment module 140 collects the initial voltage value of the target sensor, compares the magnitude relationship between the initial voltage value and each interval, determines the target interval where the initial voltage value is located, and determines the sensor category according to the target interval. The first voltage interval is set to a voltage value less than 0.2 volts, the second voltage interval is set to a voltage value greater than 0.2 and less than 4.8 volts, and the third voltage interval is set to a voltage value greater than 4.9 volts. When the initial voltage value is in the first voltage interval, the category of the target sensor is a temperature sensor, when the initial voltage value is in the second voltage interval, the category of the target sensor is a voltage type sensor, and when the initial voltage value is in the third voltage interval, the category of the target sensor is a current type sensor. Taking the initial voltage value in the first voltage interval as an example, the sensor category of the target sensor is a temperature sensor. The judgment module 140 sends a control signal to the detection module 120 according to the sensor category of the target sensor being a temperature sensor. The detection module 120 controls the switch Q1 to be turned on according to the control signal, and the voltage control switch Q2 is turned off. The resistance detection module 126 is connected to the target sensor, and the sensor signal is input to the resistance detection module 126. The resistance detection module 126 detects the resistance value of the sensor signal according to the matching resistance to obtain the detection resistance value. Set the first resistance interval and the second resistance interval, compare the size relationship between the detection resistance value and each interval, determine the target resistance interval where the detection resistance value is located, and determine the target type according to the target resistance interval. For example, set the first resistance interval to a resistance value greater than 90 and less than 125 ohms, and the second resistance interval to a resistance value greater than 900 ohms and less than 1200 ohms. When the resistance detection value is in the first resistance interval, the target type is a Pt100 temperature sensor, and when the resistance detection value is in the second resistance interval, the target type is a Pt1000 temperature sensor.

[0062] When the sensor type of the target sensor is a voltage type sensor or a current type sensor, a control signal is sent to the voltage detection module 124, and the target type of the target sensor is determined by the voltage detection module 124. When the initial voltage value is in the second interval, the resistor control switch Q1 is disconnected, and the voltage control switch Q2 turns on the voltage detection subcircuit, and the voltage of the sensor signal is detected by the voltage detection subcircuit to obtain a detection voltage value, wherein the voltage detection subcircuit includes a resistor and a switch corresponding to the resistor, and if the detection voltage value remains in the second interval and the detection voltage value is less than the initial voltage value, then the target type of the target sensor is verified to be a voltage type sensor. When the initial voltage value is in the third interval, the resistor control switch Q1 is disconnected, and the voltage control switch Q2 turns on the current detection subcircuit, and the voltage of the sensor signal is detected by the current detection subcircuit to obtain a detection voltage value, wherein the current detection subcircuit includes multiple resistors and switches corresponding to each resistor, and if the detection voltage value is in the second interval, then the target type of the target sensor is verified to be a current type sensor, and the judgment module 140 can determine the detection current value of the sensor signal according to the detection voltage value and the second matching resistor of the current detection subcircuit, and the target type of the target sensor can be determined according to the detection current value.

[0063]

[0064] Table 1

[0065] In this embodiment, by judging the relationship between the voltage value of the target sensor and the preset interval, the major category of the target sensor can be determined, such as a voltage sensor, a resistance sensor, etc. Different types of sensors may have different detection ranges, sensitivities, or resolutions and other parameters under the same major category. By further detecting the voltage or resistance value, more specific information can be obtained to obtain the specific sensor type, which helps to automatically identify and match different types of signal processing circuits.

[0066] In an exemplary embodiment, the control signal includes a voltage control signal and a resistance control signal, and the judgment module 140 is also used to: when the sensor type is a voltage type sensor or a current type sensor, determine the voltage control signal, and control the voltage detection module 124 to connect with the target sensor according to the voltage control signal; when the sensor type is a resistance type sensor, determine the resistance control signal, and control the resistance detection module 126 to connect with the target sensor according to the resistance control signal.

[0067] Exemplarily, the control signal sent by the judgment module 140 is obtained, and different detection modules 120 of the detection module 120 are controlled to be turned on according to different control signals, so as to realize the connection between the detection module 120 and the target sensor. The judgment module 140 detects the sensor signal of the target sensor according to the voltage detection module 124 to obtain the voltage detection value, and detects the sensor signal of the target sensor according to the resistance detection module 126 to obtain the resistance detection value. In addition, when the sensor type is a current type sensor, the current detection subcircuit in the voltage detection module 124 can be turned on to obtain the voltage detection value corresponding to the current type sensor measured by the current detection subcircuit. The detection module 120 sends the voltage detection value obtained by the current detection subcircuit current detection to the judgment module 140. The judgment module 140 can further calculate the current value corresponding to the current type sensor according to the voltage detection value to obtain a more specific type of the current type sensor, that is, the target type corresponding to the current type sensor.

[0068] In this embodiment, the control signal of the judgment module 140 controls the on and off of different switches in the switch circuit, and different detection sub-circuits can be selectively switched as needed to detect different parameters, thereby improving the versatility of the detection module 120.

[0069] In an exemplary embodiment, the resistance detection module 126 is specifically used to: when the sensor type is a resistance type sensor, obtain the maximum measured resistance and the minimum measured resistance of the resistance type sensor; determine the matching resistance according to the maximum measured resistance and the minimum measured resistance; perform resistance detection on the target sensor according to the matching resistance to obtain a resistance detection value.

[0070] The maximum measured resistance refers to the maximum value of resistance that the target sensor can measure, and the minimum measured resistance refers to the minimum value of resistance that the sensor can measure.

[0071] Exemplarily, as described in the above embodiment, there are multiple parallel resistors in the resistance detection module 126, and the switches corresponding to each parallel resistor are controlled to realize that the available resistance value of the resistance detection module 126 is a matching resistance value. The measurement resistance range of the resistance type sensor is queried in a table to determine the maximum measurement resistance Rmax and the minimum measurement resistance Rmin of the target sensor. In the resistance detection module 126, the matching resistor R, the maximum measurement resistance Rmax and the minimum measurement resistance Rmin are divided, and the voltage value corresponding to the maximum measurement resistance Rmax is Umin, and the voltage value corresponding to the minimum measurement resistance Rmin is Umax. By adjusting the conduction and closure of the switches of each parallel resistor, so that the voltage value Umin is less than or equal to 0.5V, the voltage value Umax is greater than or equal to 4.5V, and the difference between the voltage value Umax and the voltage value Umin is as large as possible, the matching resistor R is obtained. The resistance value of the target sensor is measured according to the matching resistor R to obtain the resistance value of the resistance type sensor, and the target type is determined according to the resistance value of the resistance type sensor.

[0072] Furthermore, when the sensor type is a current type sensor, the voltage value of the sensor signal is measured through the current detection subcircuit to obtain the maximum measurement current Imax and the minimum measurement current Imin of the current type sensor, and the matching resistance of the current detection subcircuit is determined according to the maximum measurement current Imax and the minimum measurement current Imin. The resistance value of the current type sensor is measured through the matching resistance, and the target type is determined according to the measurement result.

[0073] In this embodiment, by controlling the switch of the parallel resistor and adjusting the available resistance of each detection module 120 to obtain a matching resistor, the resistance of the target sensor is calculated based on the matching resistor, which can improve the calculation accuracy and thus improve the accuracy of the target type.

[0074] In an exemplary embodiment, Figure 4 As shown, a sensor signal processing circuit is provided, which includes: a detection module 120, a judgment module 140 and a matching module 160, wherein the detection module 120 includes a switch circuit 122, a voltage detection module 124, a resistance detection module 126 and a current detection module 128, the judgment module 140 is connected to the switch circuit 122, the voltage detection module 124, the resistance detection module 126, the current detection module 128 and the matching module 160, the switch circuit 122 is connected to the voltage detection module 124, the resistance detection module 126, the current detection module 128, the target sensor is connected to the switch circuit 122, and the target sensor is also connected to the judgment module 140.

[0075] Exemplarily, when the sensor signal processing circuit is working, the switches of the switch circuit are all disconnected, and the judgment module 140 directly collects the sensor signal to obtain an initial voltage value. The judgment module 140 compares the initial voltage value with the size relationship of the preset interval to determine the sensor category of the target sensor, and determines the control signal according to the sensor category. For example, the sensor category is a voltage sensor, and the control signal is a voltage control signal. The judgment module 140 sends the voltage control signal to the detection module 120, and the detection module 120 turns on the switch of the voltage detection module 124 according to the voltage control signal. The voltage value of the sensor signal is detected by the voltage detection module 124 to obtain a voltage detection value, and the voltage detection module 124 sends the voltage detection value to the judgment module 140. The judgment module 140 compares the size relationship between the voltage detection value and the preset interval to determine the target type of the target sensor, and sends the control signal to the matching module 160 according to the target type. The matching module 160 determines the processing circuit matching the target type according to the control signal, obtains the target processing circuit, turns on the target processing circuit, and processes the sensor signal through the target processing circuit.

[0076] In this embodiment, the circuit determines the target type of the target sensor and matches the target processing circuit for signal processing according to the target type, which helps to improve the compatibility and matching of sensor signal processing, avoid signal processing problems caused by mismatch between sensor signals and signal processing circuits, and improve signal processing efficiency.

[0077] Based on the same inventive concept, an embodiment of the present application also provides a sensor signal processing method. The implementation solution for solving the problem provided by the method is similar to the implementation solution recorded in the above-mentioned circuit. Therefore, the specific limitations in one or more sensor signal processing method embodiments provided below can refer to the limitations on the sensor signal processing circuit in the above text and will not be repeated here.

[0078] In one embodiment, a sensor signal processing method is applied to a sensor signal processing circuit, wherein the sensor signal processing circuit includes a detection module, a judgment module and a matching module, and the detection module, the judgment module and the matching module are connected in sequence. The method includes: the detection module determines a target connection form with a target sensor according to a control signal, and detects the target sensor to obtain a voltage detection value or a resistance detection value of the target sensor; the judgment module determines a target type of the target sensor according to the voltage detection value or the resistance detection value; the matching module determines a target processing circuit that matches the target sensor according to the target type, and the target processing circuit is used to perform signal processing on the target sensor.

[0079] Exemplarily, after the sensor signal processing circuit acquires the sensor signal of the target sensor, the judgment module sends a control signal to the detection module, the control detection module is not connected to the target sensor, the judgment module directly collects the voltage signal according to the sensor signal, obtains the initial voltage value, the judgment module makes a first judgment on the sensor type of the target sensor according to the initial voltage value, obtains the initial type of the target sensor, and then sends a control signal to the detection module according to the initial type, the control detection module is connected to the target sensor, the detection module detects the voltage value or resistance value of the target sensor according to the control signal, obtains the voltage detection value or the resistance detection value, and the judgment module determines the target type of the target sensor according to the voltage detection value and the initial type, or according to the resistance detection value and the initial type. Match the corresponding target processing circuit according to the target type, turn on the switch corresponding to the target processing circuit, and perform signal processing on the sensor signal of the target sensor through the target processing circuit.

[0080] In this embodiment, the method determines the target type of the target sensor and matches the target processing circuit for signal processing according to the target type, which helps to improve the compatibility and matching of sensor signal processing, avoid signal processing problems caused by mismatch between sensor signals and signal processing circuits, and improve signal processing efficiency.

[0081] In one embodiment, the detection module includes a switching circuit, a voltage detection circuit and a resistance detection circuit, and the switching circuit is connected to the voltage detection circuit and the resistance detection circuit respectively. The method includes: the switching circuit connects the voltage detection circuit to the target sensor according to a control signal, or connects the resistance detection circuit to the target sensor; the voltage detection circuit performs voltage detection on the target sensor to obtain a voltage detection value; the resistance detection circuit performs resistance detection on the target sensor to obtain a resistance detection value.

[0082] Exemplarily, during the detection process of voltage value and resistance value, whether the voltage detection switch and the resistance detection switch in the switching circuit are turned on is determined according to the control signal. When the voltage detection switch is turned on, the detection module detects the voltage value of the target sensor to obtain a voltage detection value. When the resistance detection switch is turned on, the detection module detects the resistance value of the target sensor to obtain a resistance detection value.

[0083] In one embodiment, the method includes: when the detection module is not connected to the target sensor, the judgment module collects the initial voltage value of the target sensor, and determines the sensor category of the target sensor based on the initial voltage value, wherein the sensor category includes a resistance sensor, a voltage sensor or a current sensor; when the detection module is connected to the target sensor, the judgment module collects the voltage detection value or the resistance detection value of the target sensor after detection by the detection circuit, and determines the target type based on the sensor category and the voltage detection value, or based on the sensor category and the resistance detection value.

[0084] Exemplarily, when the detection module is not connected to the target sensor, an initial voltage value is obtained, which is obtained by the judgment module directly collecting the voltage value corresponding to the sensor signal of the target sensor. Different voltage intervals are set in advance according to different types of sensor types to obtain multiple preset voltage intervals, and the sensor category is determined according to each preset voltage interval. The judgment module sends different control signals according to different sensor categories, obtains the control signal sent by the judgment module, and controls the different detection circuits of the detection module to be turned on to achieve the connection between the detection module and the target sensor. The judgment module detects the sensor signal of the target sensor according to the voltage detection circuit to obtain the voltage detection value, and detects the sensor signal of the target sensor according to the resistance detection circuit to obtain the resistance detection value. In addition, when the sensor category is a current type sensor, the current detection subcircuit in the voltage detection circuit can be turned on to obtain the voltage detection value corresponding to the current type sensor measured by the current detection subcircuit. The detection module sends the voltage detection value obtained by the current detection subcircuit to the judgment module, and the judgment module can further calculate the current value corresponding to the current type sensor according to the voltage detection value to obtain a more specific type of the current type sensor, that is, the target type corresponding to the current type sensor.

[0085] Wherein, the control signal includes a voltage control signal and a resistance control signal, and the method includes:

[0086] In one embodiment, when the sensor type is a voltage type sensor or a current type sensor, the judgment module determines a voltage control signal, and controls the voltage detection circuit to be connected to the target sensor according to the voltage control signal; when the sensor type is a resistance type sensor, the judgment module determines a resistance control signal, and controls the resistance detection circuit to be connected to the target sensor according to the resistance control signal.

[0087] Exemplarily, the sensor category obtained by the first judgment of the acquisition judgment module is obtained, and the control signal corresponding to the sensor category is obtained. For example, when the sensor category is a voltage type sensor or a current type sensor, the target type of the target sensor is determined according to the voltage value. Therefore, a voltage control signal is obtained, and the voltage detection switch of the voltage detection circuit is turned on according to the voltage control signal. The voltage detection circuit can detect the target sensor to obtain a voltage detection value; when the sensor category is a resistance type sensor, the target type is determined according to the resistance value. Therefore, a resistance control signal is obtained, and the resistance detection switch of the resistance detection circuit is turned on according to the resistance control signal. The resistance detection circuit can detect the target sensor to obtain a resistance detection value.

[0088] In one embodiment, the detection module includes a voltage detection module and a resistance detection module, and the method includes: when the sensor category is a resistance type sensor, the resistance detection module obtains the maximum measurement resistance and the minimum measurement resistance of the resistance type sensor; the resistance detection module determines the matching resistance according to the maximum measurement resistance and the minimum measurement resistance; the resistance detection module performs resistance detection on the target sensor according to the matching resistance to obtain a resistance detection value.

[0089] Exemplarily, during the detection process of the resistance detection circuit, the switches of each parallel resistor in the resistance detection circuit can be controlled according to the resistance measurement range of the target sensor to adjust the resistance value of the resistance detection circuit to obtain a matching resistance, and the resistance value of the target sensor is detected according to the resistance detection circuit corresponding to the matching resistance to obtain a resistance detection value.

[0090] It can be understood that the above analog-to-digital conversion circuit can also adopt other forms, not limited to the forms mentioned in the above embodiments, as long as it can achieve the function of completing the analog-to-digital conversion.

[0091] The above circuit can be applied to a switching power supply device or the like of an electronic device such as an AC adapter, a television receiver, or a video game device.

[0092] In the description of this specification, the description with reference to the terms "some embodiments", "other embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic description of the above terms does not necessarily refer to the same embodiment or example.

[0093] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0094] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A sensor signal processing circuit, characterized in that: The circuit comprises: A detection module, the detection module is used to determine the target connection form with the target sensor according to the control signal, and detect the target sensor to obtain the voltage detection value or resistance detection value of the target sensor; the detection module includes a switch circuit, a voltage detection circuit and a resistance detection circuit, the switch circuit is connected to the voltage detection circuit and the resistance detection circuit respectively, wherein: a switch circuit connected to the target sensor and used to connect the voltage detection circuit to the target sensor or connect the resistance detection circuit to the target sensor according to a control signal; The voltage detection circuit is used to perform voltage detection on the target sensor to obtain the voltage detection value; The resistance detection circuit is used to perform resistance detection on the target sensor to obtain the resistance detection value; the resistance detection circuit includes a plurality of parallel resistors and switches corresponding to the parallel resistors, and based on the closing and opening of the switches, the resistance value of the resistance detection circuit is adjusted to a matching resistor, and the resistance detection circuit corresponding to the matching resistor measures the resistance of the sensor signal; a judgment module, connected to the detection module, for determining the control signal, setting the first interval, the second interval and the third interval; when the detection module is not connected to the target sensor, the judgment module collects the initial voltage value of the target sensor, compares the magnitude relationship between the initial voltage value and each interval, determines the target interval where the initial voltage value is located, and determines the sensor category according to the target interval; and collects the voltage detection value or the resistance detection value, and determines the target type of the target sensor according to the voltage detection value or the resistance detection value; A matching module is connected to the judgment module and is used to determine a target processing circuit that matches the target sensor according to the target type, and the target processing circuit is used to perform signal processing on the target sensor.

2. The circuit according to claim 1, characterized in that The judgment module is specifically used for: When the detection module is connected to the target sensor, the voltage detection value or the resistance detection value of the target sensor after detection by the detection circuit is collected, and the target type is determined according to the sensor category and the voltage detection value, or according to the sensor category and the resistance detection value; wherein the sensor category includes a resistance type sensor, a voltage type sensor or a current type sensor.

3. The circuit according to claim 2, characterized in that The control signal includes a voltage control signal and a resistance control signal, and the judgment module is further used for: When the sensor type is a voltage type sensor or a current type sensor, determining the voltage control signal, and controlling the voltage detection circuit to connect to the target sensor according to the voltage control signal; When the sensor type is a resistance type sensor, the resistance control signal is determined, and the resistance detection circuit is controlled to be connected to the target sensor according to the resistance control signal.

4. The circuit according to claim 1, characterized in that The resistance detection module is specifically used for: When the sensor type is a resistance type sensor, obtaining a maximum measured resistance and a minimum measured resistance of the resistance type sensor; determining a matching resistance according to the maximum measured resistance and the minimum measured resistance; The target sensor is subjected to resistance detection according to the matching resistance to obtain the resistance detection value.

5. A sensor signal processing method, characterized in that: The sensor signal processing circuit according to claim 1, wherein the sensor signal processing circuit comprises a detection module, a judgment module and a matching module, the detection module, the judgment module and the matching module are connected in sequence, and the method comprises: The detection module determines the target connection form with the target sensor according to the control signal, and detects the target sensor to obtain a voltage detection value or a resistance detection value of the target sensor; The judgment module determines the target type of the target sensor according to the voltage detection value or the resistance detection value; The matching module determines a target processing circuit that matches the target sensor according to the target type, and the target processing circuit is used to perform signal processing on the target sensor.

6. The method according to claim 5, characterized in that The detection module includes a switch circuit, a voltage detection circuit and a resistance detection circuit, the switch circuit is connected to the voltage detection circuit and the resistance detection circuit respectively, and the method includes: The switch circuit connects the voltage detection circuit with the target sensor, or connects the resistance detection circuit with the target sensor according to a control signal; The voltage detection circuit performs voltage detection on the target sensor to obtain the voltage detection value; The resistance detection circuit performs resistance detection on the target sensor to obtain the resistance detection value.

7. The method according to claim 6, characterized in that The method comprises: When the detection module is not connected to the target sensor, the judgment module collects the initial voltage value of the target sensor, and determines the sensor type of the target sensor according to the initial voltage value, wherein the sensor type includes a resistance sensor, a voltage sensor or a current sensor; When the detection module is connected to the target sensor, the judgment module collects the voltage detection value or the resistance detection value of the target sensor after detection by the detection circuit, and determines the target type according to the sensor category and the voltage detection value, or according to the sensor category and the resistance detection value.

8. The method according to claim 7, characterized in that in, The control signal includes a voltage control signal and a resistance control signal, and the method includes: When the sensor type is a voltage type sensor or a current type sensor, the judgment module determines the voltage control signal, and controls the voltage detection circuit to connect with the target sensor according to the voltage control signal; When the sensor type is a resistance type sensor, the judgment module determines the resistance control signal, and controls the resistance detection circuit to be connected to the target sensor according to the resistance control signal.

9. The method according to claim 8, characterized in that in, The detection module includes a voltage detection module and a resistance detection module, and the method includes: When the sensor type is the resistance type sensor, the resistance detection module obtains the maximum measured resistance and the minimum measured resistance of the resistance type sensor; The resistance detection module determines a matching resistance according to the maximum measured resistance and the minimum measured resistance; The resistance detection module performs resistance detection on the target sensor according to the matching resistance to obtain the resistance detection value.

Citation Information

Patent Citations

  • Adaptive data acquisition device for multiple types of sensing signals

    CN105938343A

  • Multiplex collecting port circuit, controller, analog quantity input collection method and system

    CN107992143A

  • Intelligent self-adaptive temperature measuring circuit

    CN110031122A