Detection apparatus, sensor module and circuit control method

The elastic wave sensor achieves self-testing and sampling through an independent detection device. By adopting an analog voltage signal transmission and mode switching module, the problems of increased single-board area of ​​the control device and low signal detection accuracy are solved, resulting in higher detection accuracy and lower system cost.

WO2026237003A1PCT designated stage Publication Date: 2026-11-19YINWANG INTELLIGENT TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/095095
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-05-15
Publication Date
2026-11-19

AI Technical Summary

Technical Problem

In the prior art, the self-test module and sampling module of the elastic wave sensor are integrated into the control device, which leads to an increase in the area of ​​the control device board and the number of interfaces. The capacitive impedance of the cable affects the signal detection accuracy, and the signal is susceptible to electromagnetic interference.

Method used

The detection device is independent of the control device, including a self-test module, a sampling module and a mode switching module. The mode switching module realizes automatic switching between self-test and sampling signals under the control signal. The signal transmission adopts the form of analog voltage to enhance the anti-interference capability, and the cable length is shortened to reduce capacitive impedance error.

Benefits of technology

It simplifies the single-board design of the control device, improves signal detection accuracy, reduces system cost, and reduces the risk of electromagnetic compatibility interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025095095_19112026_PF_FP_ABST
    Figure CN2025095095_19112026_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are a detection apparatus, a sensor module and a circuit control method, which are applied to the technical fields of signal detection and vehicles. The detection apparatus is configured to be connected to an elastic wave sensor. The detection apparatus comprises a self-detection module, a sampling module and a mode switching module, and the mode switching module is separately connected to the self-detection module and the sampling module. A control apparatus outputs a control signal to the detection apparatus, and the mode switching module configures, on the basis of the control signal, the self-detection module or the sampling module to be connected to the elastic wave sensor, so as to output a self-detection signal generated by the self-detection module or a sampling signal generated by the sampling module, wherein the detection apparatus is arranged independently of the control apparatus. In this way, self-detection and sampling of elastic wave sensor signals can be implemented at a low hardware cost, which helps to reduce the difficulty in designing a single board of the control apparatus and improve signal detection accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

A detection device, a sensor module, and a circuit control method. Technical Field

[0001] This application relates to the fields of signal detection and vehicle technology, and in particular to a detection device, sensor module, and circuit control method. Background Technology

[0002] Elastic wave sensors are commonly used in automobiles for applications such as low-speed collision detection, vehicle safety monitoring, pedestrian protection, knock-knock detection, and battery pack safety monitoring. Utilizing the piezoelectric effect, elastic wave sensors convert impact forces into a differential electrical analog signal. This signal is then detected by a downstream control unit (such as an Electronic Control Unit, ECU), which reports the detection results to the vehicle control center (e.g., the controller in the body domain or the intelligent driving domain).

[0003] To ensure the effectiveness of signal detection, the elastic wave sensor is usually first applied to the self-test module for self-testing. If the self-test result of the elastic wave sensor is normal, the elastic wave sensor is then applied to the sampling module for signal sampling.

[0004] In some implementations, the control device integrates a self-test module and a sampling module. As the number of elastic wave sensors connected to the control device increases, the number of self-test modules and sampling modules will also increase exponentially, resulting in an increase in the board area of ​​the control device and an increase in the requirement for the number of interfaces. In addition, the cables connecting the elastic wave sensors and the control device are often long, and the capacitive impedance of the cables themselves affects the accuracy of signal detection. Summary of the Invention

[0005] This application discloses a detection device, a sensor module, and a circuit control method, which can realize the self-testing and sampling of elastic wave sensor signals with low hardware cost, which is beneficial to simplify the single-board design of the control device and improve the signal detection accuracy.

[0006] In a first aspect, this application provides a detection device configured to connect to an elastic wave sensor. The detection device includes a self-test module, a sampling module, and a mode switching module. The mode switching module is connected to both the self-test module and the sampling module. The mode switching module is configured to connect the self-test module or the sampling module to the elastic wave sensor under a control signal, and to output a self-test signal generated by the self-test module or a sampling signal generated by the sampling module. The control signal comes from a control device, and the detection device is set independently of the control device.

[0007] Alternatively, the detection device can be integrated into an application-specific integrated circuit (ASIC) chip.

[0008] In the above implementation, the detection device is set up independently of the control device rather than integrated into it, which simplifies the single-board design on the control device side and reduces the single-board area of ​​the control device. Furthermore, under the control signal from the control device, the detection device can automatically switch between signal self-testing and signal sampling. Compared to a scheme where both the self-testing module and the sampling module are integrated into the control device, the cable length between the self-testing module, the sampling module, and the elastic wave sensor is significantly shortened. This greatly reduces the detection error introduced by the capacitive impedance of the cable itself during self-testing or sampling, improving signal detection accuracy. In addition, the signal transmitted between the sensor module and the control device is no longer the weak current signal but an analog voltage signal, resulting in stronger anti-interference capabilities and facilitating long-distance cable transmission, thus reducing the risk of electromagnetic compatibility interference for the entire vehicle.

[0009] In one possible implementation of the first aspect, the detection device is integrated into a sensor module, which also includes an elastic wave sensor. Compared to a solution where both the self-test module and the sampling module are integrated into the control device, the cable lengths between the self-test module, the sampling module, and the elastic wave sensor are significantly shortened, greatly reducing the detection error introduced by the capacitive impedance of the cable itself during the self-test or sampling process. Compared to a solution where the control chip is integrated into the sensor module, this saves on the control chip on the sensor module side, reducing system costs.

[0010] In one possible implementation of the first aspect, the control signal includes a first control signal and a second control signal, and the mode switching module includes a first switch module and a second switch module. The first switch module is used to configure the self-test module or the sampling module to be connected to the elastic wave sensor based on the first control signal. The second switch module is used to configure the self-test signal generated by the self-test module to be output to the target signal line, or to configure the sampling signal generated by the sampling module to be output to the target signal line, based on the second control signal. The target signal line is used to connect the second switch module and the control device.

[0011] For example, the first control signal and the second control signal may be the same or different.

[0012] In the above implementation, the second switch module enables the self-test signal generated by the self-test module or the sampling signal generated by the sampling module to be output to the target signal line. The self-test signal and the sampling signal share the same signal channel, which can save the interface consumption on the control device side, reduce the requirement for the number of interfaces of the control device, and also reduce the number of signals connected to the control device by the detection device.

[0013] In one possible implementation of the first aspect, the elastic wave sensor is differentially connected to the first and second terminals of the first switching module; the third and fourth terminals of the first switching module are connected to the two input terminals of the self-test module; the fifth and sixth terminals of the first switching module are connected to the two input terminals of the sampling module; the output terminal of the self-test module is connected to the first terminal of the second switching module; the output terminal of the sampling module is connected to the second terminal of the second switching module; and the third terminal of the second switching module is connected to the target signal line. Specifically, the first switching module is used to connect the first and second terminals of the first switching module with the third and fourth terminals of the first switching module based on a first control signal to form two channels, or to connect the first and second terminals of the first switching module with the fifth and sixth terminals of the first switching module to form two channels. Specifically, the second switching module is used to connect the first terminal of the second switching module or the second terminal of the second switching module with the third terminal of the second switching module based on a second control signal.

[0014] In the above implementation, the elastic wave sensor is connected to the first switching module in a differential ground configuration, which effectively suppresses common-mode interference signals. Based on the connection structure of the first switching module, switching to the link where the self-test module or the sampling module is located can be achieved. Based on the connection structure of the second switching module, the self-test signal generated by the self-test module or the sampling signal generated by the sampling module can be output to the target signal line.

[0015] In one possible implementation of the first aspect, the first switch module is a dual-channel single-pole double-throw switch or includes two single-pole double-throw switches, and the second switch module is a dual-channel single-pole double-throw switch or a single-pole double-throw switch.

[0016] Here, the dual-channel single-pole double-throw (SPDT) switch is an integrated or monolithic design, combining the functions of two SPDT switches into a single switching device for synchronous control. This means that a single control signal can simultaneously switch the switching states of both channels. In other words, at any given time, both channels are either connected to their respective output terminals or both are connected to their respective output terminals. This helps reduce the space occupied by the switching device. Furthermore, each of the two SPDT switches can be controlled independently, allowing for more flexible signal combinations by controlling the states of the two switches according to actual needs and connecting them to different output terminals.

[0017] In one possible implementation of the first aspect, the first control signal and the second control signal are transmitted via the same control line. This control line connects the control terminals of the first and second switch modules to the control terminal of the control device, respectively. Controlling both the first and second switch modules via the same control line reduces the number of interfaces required on the control device side, simplifies the design and area of ​​the control device's circuit boards, and facilitates future integration and flexible layout of the control device.

[0018] In one possible implementation of the first aspect, the self-test module, sampling module, and mode switching module in the detection device are also connected to the control device via the same power line. This shared power line facilitates intelligent power management by the control device based on the operating status of the detection device, promoting energy conservation and environmental protection. Furthermore, it eliminates the need for a separate power supply and related circuitry for the detection device, reducing costs on the detection device side.

[0019] Optionally, the detection device and the control device are also grounded through the same ground wire. A shared ground wire allows the detection device and the control device to be at the same potential, reducing the potential difference between different grounding points and avoiding the generation of ground loop current.

[0020] In one possible implementation of the first aspect, when the detection device is deployed on the vehicle, the length of the cable connecting the detection device and the elastic wave sensor is shorter than the length of the cable connecting the detection device and the control device. Compared to the scheme where the self-test module and sampling module are integrated into the control device, the cable lengths between the self-test module and the sampling module and the elastic wave sensor are significantly shortened, which can greatly reduce the detection error introduced by the capacitive impedance of the cable itself during the self-test or sampling process. In addition, the signal transmitted between the sensor module and the control device is no longer the original weak current signal, but an analog voltage signal, which has stronger anti-interference capability and is more conducive to long-distance cable transmission, thus reducing the risk of electromagnetic compatibility interference for the entire vehicle.

[0021] Secondly, this application provides a sensor module, which includes an elastic wave sensor and a detection device. The elastic wave sensor is differentially connected to the detection device, and the detection device is the detection device described in the first aspect or any possible implementation of the first aspect.

[0022] In the above implementation, the detection device and the elastic wave sensor are integrated together, meaning the detection device is integrated into the sensor module. Compared to the solution where the self-test module and sampling module are integrated into the control device, this simplifies the single-board design on the control device side and reduces the board area. Furthermore, the cable lengths between the self-test module, sampling module, and elastic wave sensor are significantly shortened, greatly reducing detection errors introduced by the capacitive impedance of the cables during self-testing or sampling. In addition, the signal transmitted between the sensor module and the control device is no longer the weak current signal but an analog voltage signal, resulting in stronger anti-interference capabilities and facilitating long-distance cable transmission, thus reducing the risk of electromagnetic compatibility interference for the entire vehicle. Compared to the solution where the control chip is integrated into the sensor module, this saves on the control chip on the sensor module side, reducing system costs.

[0023] Thirdly, this application provides a circuit control method applied to a detection device. The detection device includes a self-test module, a sampling module, and a mode switching module, with the mode switching module connected to both the self-test module and the sampling module. The circuit control method includes: first, the mode switching module receives a control signal from a control device and configures either the self-test module or the sampling module to connect to the elastic wave sensor based on the control signal; subsequently, the self-test module generates a self-test signal when connected to the elastic wave sensor, and the sampling module generates a sampling signal when connected to the elastic wave sensor; finally, the mode switching module configures the output of either the self-test signal or the sampling signal based on the control signal. The detection device is set up independently of the control device.

[0024] In the above method, the mode switching module selects to connect to either the self-test module or the sampling module based on a control signal. When connected to the self-test module, the mode switching module outputs the self-test signal generated by the self-test module; when connected to the sampling module, it outputs the sampling signal generated by the sampling module. Thus, the detection device can automatically switch between signal self-testing and signal sampling. Furthermore, the detection device is set up independently of the control device rather than integrated into it. This not only significantly reduces the detection error introduced by the capacitive impedance of the cable itself during self-testing or sampling, improving signal detection accuracy, but also simplifies the design and area of ​​the control device's circuit board, reducing system costs.

[0025] In one possible implementation of the third aspect, the mode switching module includes a first switch module and a second switch module, and the control signal includes a first control signal and a second control signal. In this case, the mode switching module receives the control signal from the control device and configures a self-test module or a sampling module to connect to the elastic wave sensor based on the control signal, including: the first switch module receiving the first control signal and the second switch module receiving the second control signal; the first switch module configuring the self-test module or the sampling module to connect to the elastic wave sensor based on the first control signal. The mode switching module configures the output of a self-test signal or a sampling signal based on the control signal, including: the second switch module configuring the output of a self-test signal or a sampling signal based on the second control signal.

[0026] For example, the first control signal and the second control signal may be the same or different.

[0027] In the above implementation, multiple switch modules are used to perform different functions to achieve automatic switching of self-testing and sampling of elastic wave sensor signals. For example, the first switch module has the function of selecting the function type (signal self-test or signal sampling), and the second switch module has the function of multiplexing signal lines between the self-test module and the sampling module, which helps to save the number of interfaces consumed by the control device.

[0028] In one possible implementation of the third aspect, the elastic wave sensor is differentially connected to the first and second terminals of the first switching module. The third and fourth terminals of the first switching module are connected to the two input terminals of the self-test module. The fifth and sixth terminals of the first switching module are connected to the two input terminals of the sampling module. The output terminal of the self-test module is connected to the first terminal of the second switching module. The output terminal of the sampling module is connected to the second terminal of the second switching module. The third terminal of the second switching module is connected to the target signal line. The first switching module is configured to connect the self-test module or the sampling module to the elastic wave sensor based on a first control signal, including: connecting the first and second terminals of the first switching module to the third and fourth terminals of the first switching module to form two channels, or connecting the first and second terminals of the first switching module to the fifth and sixth terminals of the first switching module to form two channels. The second switch module is configured to output a self-test signal or a sampling signal based on the second control signal, including: the second switch module connects the first terminal of the second switch module to the third terminal of the second switch module based on the second control signal to output a self-test signal, or connects the second terminal of the second switch module to the third terminal of the second switch module based on the second control signal to output a sampling signal.

[0029] In the above implementation, the first switch module can, based on the first control signal, activate the channel corresponding to the self-test module in the first switch module to connect the elastic wave sensor to the input terminal of the self-test module, or activate the channel corresponding to the sampling module in the first switch module to connect the elastic wave sensor to the input terminal of the sampling module. The second switch module can, based on the second control signal, activate the channel corresponding to the self-test module in the second switch module to output a self-test signal, or activate the channel corresponding to the sampling module in the second switch module to output a sampling signal.

[0030] For the beneficial effects of the features not mentioned in the third aspect below, please refer to the description of the beneficial effects of the corresponding features in the first aspect above, which will not be repeated here.

[0031] In one possible implementation of the third aspect, the first switch module is a dual-channel single-pole double-throw switch or includes two single-pole double-throw switches, and the second switch module is a dual-channel single-pole double-throw switch or a single-pole double-throw switch.

[0032] In one possible implementation of the third aspect, the first control signal and the second control signal are transmitted by the same control line, which is used to connect the control terminals of the first switch module and the second switch module to the control terminal of the control device, respectively.

[0033] In one possible implementation of the third aspect, the self-test module, sampling module, and mode switching module are also connected to the control device via the same power line. Optionally, the detection device and the control device are grounded via the same ground wire.

[0034] In one possible implementation of the third aspect, when the detection device is deployed on a vehicle, the length of the connecting cable between the detection device and the elastic wave sensor is less than the length of the connecting cable between the detection device and the control device.

[0035] Fourthly, this application provides a circuit control method applied to a control device. The control device is configured to connect to a detection device, and the detection device is configured to connect to an elastic wave sensor. The detection device includes a self-test module, a sampling module, and a mode switching module, with the mode switching module connected to both the self-test module and the sampling module. The circuit control method includes: first, determining a control signal according to a preset instruction; then, outputting the control signal to the detection device; and finally, acquiring the self-test signal generated by the detection device or the sampling signal generated by the detection device. The control device is independent of the detection device.

[0036] In the above method, the control device can control the detection device to output self-test signals or sampling signals via control signals. The control device is independent of the detection device, simplifying the single-board design on the control device side, reducing the single-board area of ​​the control device, facilitating flexible deployment of the control device during application, and enabling future integration of the control device into the vehicle body domain or intelligent driving domain controller. Thus, achieving self-testing and sampling of elastic wave sensor signals with lower hardware costs is beneficial for improving the detection accuracy of the elastic wave sensor signals by the detection device.

[0037] In one possible implementation of the fourth aspect, a preset instruction is used to instruct the execution of a signal self-test or signal sampling, wherein the signal self-test is performed before the signal sampling. Thus, performing the signal self-test first allows for timely detection of whether the elastic wave sensor is functioning correctly, thereby ensuring that the sampled signal output during signal sampling is valid and reliable data, which helps improve the accuracy of signal detection.

[0038] For the beneficial effects of the features not mentioned in the fourth aspect below, please refer to the description of the beneficial effects of the corresponding features in the second aspect above, which will not be repeated here.

[0039] In one possible implementation of the fourth aspect, the mode switching module includes a first switch module and a second switch module. The control signals include a first control signal and a second control signal. The first switch module is configured to connect to the elastic wave sensor. The first switch module is also connected to a self-test module and a sampling module, respectively. The self-test module and the sampling module are respectively connected to the control device through the second switch module. The aforementioned output control signal to the detection device includes: outputting a first control signal to the first switch module and outputting a second control signal to the second switch module.

[0040] In one possible implementation of the fourth aspect, the first control signal and the second control signal are transmitted by the same control line, which is used to connect the control terminal of the control device to the control terminal of the first switch module and the control terminal of the second switch module, respectively.

[0041] For example, the first control signal and the second control signal may be the same or different.

[0042] In one possible implementation of the fourth aspect, there are N elastic wave sensors and N detection devices. The N detection devices are connected to the control device, and each detection device is also connected to one of the N elastic wave sensors. N is an integer greater than 1. The control signal is transmitted by the control device to the mode switching modules in the N detection devices through the same control line or M control lines. M is an integer greater than 1 and less than or equal to N.

[0043] For example, when N detection devices are connected to a control device through M control lines, the correspondence between the detection devices and the control lines can be one-to-one or many-to-one.

[0044] When multiple detection devices share the same control line, the control device can control multiple detection devices based on the same control line, saving interface consumption on the control device side and reducing the requirement for the number of interfaces on the control device. When each detection device has its own independent control line, the control device can flexibly add, delete, replace, and activate detection devices according to actual needs without affecting the normal operation of other detection devices, and it is also conducive to personalized control of detection devices.

[0045] In one possible implementation of the fourth aspect, the N detection devices are also connected to the control device via the same power line. This allows the control device to uniformly power all the detection devices, ensuring stable and consistent power supply voltage and frequency for each device. Furthermore, it eliminates the need for separate power supplies and related circuits for each device, reducing the number and cost of power supply equipment. In addition, the control device can intelligently manage power supply based on the actual operating status of each detection device, improving power utilization efficiency.

[0046] In one possible implementation of the fourth aspect, all N detection devices and control devices are grounded through the same ground wire. This shared ground wire ensures that all detection and control devices are at the same potential, reducing potential differences between different grounding points and preventing ground loop currents. This helps reduce electromagnetic interference, improves the anti-interference capability of the detection system, and ensures the accuracy of the elastic wave sensor measurements and the stability of the control device operation.

[0047] Fifthly, this application provides a control device configured to connect to a detection device, which in turn is configured to connect to an elastic wave sensor. The detection device includes a self-test module, a sampling module, and a mode switching module, with the mode switching module connected to both the self-test module and the sampling module. The control device includes: a processing unit for determining a control signal according to a preset instruction; and a communication unit for outputting the control signal to the detection device and acquiring the self-test signal or the sampling signal generated by the detection device. The control device is independent of the detection device.

[0048] In one possible implementation of the fifth aspect, a preset instruction is used to instruct the execution of a signal self-test or signal sampling, wherein the signal self-test is performed before the signal sampling.

[0049] In one possible implementation of the fifth aspect, the mode switching module includes a first switch module and a second switch module, and the control signals include a first control signal and a second control signal. The first switch module is configured to connect to the elastic wave sensor, and is also connected to a self-test module and a sampling module, respectively. The self-test module and the sampling module are respectively connected to the control device through the second switch module. Specifically, the communication unit is used to: output a first control signal to the first switch module and output a second control signal to the second switch module.

[0050] In one possible implementation of the fifth aspect, the first control signal and the second control signal are transmitted by the same control line, which is used to connect the control terminal of the control device to the control terminal of the first switch module and the control terminal of the second switch module, respectively.

[0051] In one possible implementation of the fifth aspect, there are N elastic wave sensors and N detection devices. The N detection devices are connected to the control device, and each detection device is also connected to one of the N elastic wave sensors. N is an integer greater than 1. The control signal is transmitted by the control device to the mode switching modules in the N detection devices through the same control line or M control lines. M is an integer greater than 1 and less than or equal to N.

[0052] In one possible implementation of the fifth aspect, the N detection devices are also connected to the control device via the same power line.

[0053] In one possible implementation of the fifth aspect, all N detection devices and control devices are grounded through the same ground wire.

[0054] In a sixth aspect, this application provides a detection system, which includes a control device, multiple detection devices, and multiple elastic wave sensors. The multiple detection devices are respectively connected to the control device, and each detection device is also connected to one of the multiple elastic wave sensors. The detection devices are the detection devices in the first aspect or any possible implementation of the first aspect.

[0055] In the above implementation, the detection system supports signal self-testing or sampling of multiple elastic wave sensors with relatively low hardware cost. Compared to the approach of integrating the self-testing module and sampling module into the control device, this simplifies the single-board design and reduces the board area on the control device side. It also significantly reduces the detection error introduced by the capacitive impedance of the cable between the elastic wave sensor and the detection device, thus improving signal detection accuracy. Furthermore, the signal transmitted between the detection device and the control device is an analog voltage signal, which has stronger anti-interference capability than a current signal and is more conducive to long-distance cable transmission.

[0056] For the beneficial effects of the features not mentioned in the sixth aspect below, please refer to the description of the beneficial effects of the corresponding features in the fourth aspect above, which will not be repeated here.

[0057] In one possible implementation of the sixth aspect, the number of multiple detection devices is N, where N is an integer greater than 1, and the multiple detection devices are connected to the control device through the same control line or M control lines, where M is a positive integer less than or equal to N.

[0058] In one possible implementation of the sixth aspect, multiple detection devices are also connected to the control device via the same power line.

[0059] In one possible implementation of the sixth aspect, multiple detection devices are also connected to the control device via the same ground wire.

[0060] In one possible implementation of the sixth aspect, the detection system includes a control device and multiple sensor modules. Each sensor module includes one elastic wave sensor from a plurality of elastic wave sensors and one detection device from a plurality of detection devices. The elastic wave sensor and the detection device are different between any two sensor modules. In this implementation, integrating the detection device and the elastic wave sensor into a sensor module helps save device deployment space, facilitates flexible deployment of the sensor module, and reduces the probability of failure due to poor connection, signal transmission interference, and other factors, thereby improving the stability and reliability of the detection system.

[0061] In a seventh aspect, this application provides a control device, which includes at least one processor and a general purpose input / output (GPIO) communication interface. The GPIO communication interface is used to provide information input and / or output to the at least one processor, and the at least one processor is used to implement the method in the fourth aspect or any possible implementation of the fourth aspect.

[0062] For example, the control device may be a chip or an integrated circuit, or it may be a device in the fifth aspect or any possible implementation thereof.

[0063] Eighthly, this application provides a vehicle that includes a detection device as described in the first aspect or any possible implementation of the first aspect, or includes a sensor module as described in the second aspect or any possible implementation of the second aspect, and / or includes a control device as described in the fifth aspect or any possible implementation of the seventh aspect, or includes a detection system as described in the sixth aspect or any possible implementation of the sixth aspect.

[0064] Ninthly, this application provides a computer-readable storage medium including computer instructions that, when executed by a processor, implement the method in the fourth aspect or any possible implementation thereof.

[0065] Tenthly, this application provides a computer program product that, when executed by a processor, implements the methods described in the fourth aspect or any possible embodiment of the fourth aspect. The computer program product may, for example, be a software installation package. When the methods provided by any possible design of the fourth aspect are required, the computer program product can be downloaded and executed on a processor to implement the methods in the fourth aspect or any possible implementation of the fourth aspect. Attached Figure Description

[0066] Figure 1 is a schematic diagram of the architecture of a detection system provided in an embodiment of this application;

[0067] Figure 2 is a schematic diagram of the structure of a detection device in the detection system provided in an embodiment of this application;

[0068] Figure 3 is a schematic diagram of the structure of another detection device in the detection system provided in the embodiment of this application;

[0069] Figure 4A is a schematic diagram of another detection device provided in an embodiment of this application;

[0070] Figure 4B is a schematic diagram of another detection device provided in an embodiment of this application;

[0071] Figure 5 is a schematic diagram of the architecture of another detection system provided in an embodiment of this application;

[0072] Figure 6 is a schematic diagram of the architecture of another detection system provided in an embodiment of this application;

[0073] Figure 7A is a schematic diagram of the architecture of another detection system provided in an embodiment of this application;

[0074] Figure 7B is a schematic diagram of the architecture of another detection system provided in an embodiment of this application;

[0075] Figure 8 is a flowchart of a circuit control method provided in an embodiment of this application;

[0076] Figure 9 is a schematic diagram of a control device provided in an embodiment of this application;

[0077] Figure 10 is a schematic diagram of the structure of a computing device provided in an embodiment of this application. Detailed Implementation

[0078] In this scheme, prefixes such as "first" and "second" are used solely to distinguish different descriptive objects and do not impose any restrictions on the position, order, priority, quantity, or content of the described objects. For example, if the described object is a "field," the ordinal numbers preceding "field" in "first field" and "second field" do not restrict the position or order of the "fields." "First" and "second" do not restrict whether the modified "fields" are in the same message, nor do they restrict the order of "first field" and "second field." Similarly, if the described object is a "level," the ordinal numbers preceding "level" in "first level" and "second level" do not restrict the priority of the "levels." Furthermore, the number of described objects is not limited by prefixes; it can be one or more. For example, in "first device," the number of "devices" can be one or more. Furthermore, the objects modified by different prefixes can be the same or different. For example, if the object being described is "device," then "first device" and "second device" can be the same device, devices of the same type, or devices of different types. Similarly, if the object being described is "information," then "first information" and "second information" can be information with the same content or information with different content. In summary, the use of prefixes to distinguish the objects being described in the embodiments of this application does not constitute a limitation on the objects being described. The description of the objects being described is based on the claims or the context of the embodiments, and should not constitute an unnecessary limitation due to the use of such prefixes.

[0079] In this scheme, the device may involve different modules. Some modules may have multiple ports. Some of these ports are used as input terminals and others are used as output terminals. In this case, in order to clearly describe the connection structure between different modules, different ports of the same module will be distinguished by numbers such as "1", "2", "3", etc. Here, number "1" represents the first terminal of the module, number "2" represents the second terminal of the module, and number "3" represents the third terminal of the module.

[0080] To facilitate understanding, the relevant terms that may be involved in the embodiments of this application will be introduced below.

[0081] (1) Elastic wave sensor

[0082] Elastic wave sensors utilize the characteristic that the propagation speed, amplitude, frequency, and phase of elastic waves change with the physical properties of the medium and environmental factors as they propagate through it, in order to sense changes in external physical quantities (such as pressure, temperature, and displacement). Elastic waves are generated by external forces and are mechanical waves that propagate in an elastic medium.

[0083] For example, elastic waves can be classified into transverse waves, longitudinal waves, and surface waves. Surface waves can be further classified into Rayleigh waves, Röhler waves, and other types. Transverse waves are also known as shear waves, and longitudinal waves are also known as compression waves or compression waves.

[0084] For example, elastic wave sensors typically utilize the piezoelectric effect of piezoelectric materials (or piezoelectric elements). When a piezoelectric material is subjected to an external force, an electric charge is generated on its surface, the amount of which is proportional to the magnitude of the force. Conversely, when an electric field is applied to a piezoelectric material, the material deforms. This property allows piezoelectric materials to convert mechanical vibrations (elastic waves) into electrical signals, or vice versa.

[0085] For example, piezoelectric materials can be piezoelectric ceramics, piezoelectric crystals, piezoelectric polymers, etc. Among them, piezoelectric ceramics can be lead zirconate titanate (PZT) ceramics, barium titanate (BaTiO3) ceramics, lead magnesium niobate (PMN) ceramics, etc.; piezoelectric crystals can be quartz crystals, lithium niobate crystals, lithium tantalate crystals, etc.; piezoelectric polymers can be polyvinylidene fluoride (PVDF), nylon, etc.

[0086] (2) Self-test module

[0087] The self-test module is used to detect the working status of the elastic wave sensor itself, determine whether it can work properly, so as to detect faults in time and take corresponding measures to ensure the reliability and stability of the sensor system.

[0088] For example, the self-test module detects the characteristics of the output signal of the elastic wave sensor, such as the presence, amplitude, frequency, and waveform of the signal, and compares them with a preset normal operating parameter range. If the signal characteristics are within the normal operating parameter range, the elastic wave sensor is determined to be working normally; if the signal characteristics exceed the normal operating parameter range or abnormal conditions occur (e.g., no signal output, large frequency shift, abnormal amplitude, waveform distortion, etc.), the elastic wave sensor is determined to be malfunctioning. For example, an elastic wave sensor based on the piezoelectric effect will output an electrical signal with a specific frequency and amplitude range under certain elastic wave excitation during normal operation, and the self-test module uses this to determine the working status of the elastic wave sensor.

[0089] In one implementation, the self-test module can detect the frequency of the signal based on the operational amplifier to determine the operating state of the elastic wave sensor. Alternatively, the self-test module can detect the period of the signal based on the charging and discharging characteristics of the RC circuit to determine the operating state of the elastic wave sensor.

[0090] (3) Sampling module

[0091] The sampling module is responsible for acquiring the analog signal output by the elastic wave sensor. During the signal acquisition process, it performs signal filtering, signal amplification, and signal conditioning to optimize the signal quality and provide a good foundation for accurate signal sampling and detection in subsequent circuits.

[0092] For example, the sampling module mainly includes a filtering circuit, an operational amplifier circuit, and other circuits. The filtering circuit is used to filter out signals within the useful signal frequency range. The operational amplifier circuit is used to amplify the weak signal output by the elastic wave sensor. In some solutions, the operational amplifier circuit may also have a gain adjustment function, so that the signal output by the elastic wave sensor undergoes appropriate gain processing. The processing of the signal received by the elastic wave sensor by the sampling module facilitates more accurate signal detection on the control device side.

[0093] The terms above may optionally be used in the embodiments described below.

[0094] Current methods for signal detection in elastic wave sensors suffer from drawbacks such as large board area, high interface requirements, high cost, and low signal detection accuracy due to the integration of multiple self-testing and sampling modules in the control device. Additionally, integrating the control device into the sensor module increases the sensor module's cost. To address these issues, this solution provides a detection device, sensor module, detection system, and circuit control method. This approach enables self-testing and sampling of elastic wave sensor signals at a lower hardware cost, simplifying the board design of the control device and improving signal detection accuracy.

[0095] Referring to Figure 1, Figure 1 is a schematic diagram of the architecture of a detection system provided in an embodiment of this application. As shown in Figure 1, the detection system 10 includes an elastic wave sensor, a detection device, and a control device, wherein the detection device is connected to both the elastic wave sensor and the control device. Exemplarily, based on the output signal characteristics of the elastic wave sensor, the elastic wave sensor is generally connected to the detection device in a differential ground configuration.

[0096] For example, the elastic wave sensor and the detection device may be manufactured by different manufacturers or by the same manufacturer.

[0097] In some solutions, the detection device can also be integrated with the elastic wave sensor. In this case, the detection system includes a sensor module and a control device. The sensor module includes the detection device and the elastic wave sensor, and the sensor module is connected to the control device.

[0098] For example, the detection device can also be integrated into an application-specific integrated circuit (ASIC) chip.

[0099] A control device is a device with computing capabilities. For example, a control device may be an electronic control unit (ECU), a microcontroller unit (MCU), a microprocessor unit (MPU), a digital signal processor (DSP), a field-programmable gate array (FPGA), an ASIC, or other devices with analog-to-digital processing capabilities.

[0100] In one implementation, the connection line between the detection device and the control device includes at least a signal line and a control line. The control device outputs a control signal to the detection device through the control line, and the detection device outputs an output signal under the control signal to the control device through the signal line.

[0101] In this scheme, the connection between the detection device and the control device includes at least one of a power supply line and a ground wire. It is understood that if the detection device integrates an independent power supply, then no power supply line is needed between the detection device and the control device, thus reducing the cost, size, and weight of the detection device. Even when the detection device does not have an independent power supply, it is still connected to the control device via a power supply line, meaning the control device can supply power to the detection device. This allows the control device to perform intelligent power management based on the actual operating status of the detection device, which is beneficial for energy conservation and environmental protection. Similarly, the detection device and the control device can be grounded separately, eliminating the need for a ground wire between them, thus avoiding mutual interference and facilitating troubleshooting. Alternatively, the detection device and the control device can be grounded together via the same ground wire, reducing grounding resistance and ensuring that the detection device and the control device are at the same ground potential, which is beneficial for achieving system electrical compatibility.

[0102] In this solution, the sensor module includes a detection device and an elastic wave sensor, which are connected to the detection device. Here, the elastic wave sensor and the detection device can be manufactured by the same company; as shown in Figure 1, the detection device is integrated into the sensor module. When the detection system 10 is deployed in a vehicle, the length of the cable connecting the detection device and the elastic wave sensor is shorter than the length of the cable connecting the detection device and the control device. Compared to a solution where the self-test module and sampling module are integrated into the control device, the cable lengths between the self-test module, the sampling module, and the elastic wave sensor are significantly shortened, greatly reducing the detection error introduced by the capacitive impedance of the cable itself during self-testing or sampling. Furthermore, the signal transmitted between the sensor module and the control device is no longer the weak current signal but an analog voltage signal, resulting in stronger anti-interference capabilities and facilitating long-distance cable transmission, thus reducing the electromagnetic compatibility (EMC) interference risk of the entire vehicle.

[0103] The detection device includes a self-test module, a sampling module, and a mode switching module. The mode switching module is connected to both the self-test module and the sampling module. The mode switching module is used, at least under a control signal, to configure either the self-test module or the sampling module to connect to the elastic wave sensor. The control signal originates from a control device, and the detection device is independent of the control device. Here, the self-test module performs a self-test on the signal from the elastic wave sensor to generate a self-test signal, and the sampling module samples the signal from the elastic wave sensor to generate a sampling signal.

[0104] For example, the detection device can be used to implement the detection device-side method described in the embodiment of FIG8 below. For example, in the embodiment of FIG8, the mode switching module in the detection device can be used to execute S802 and S805, the self-test module can be used to execute S803, and the sampling module is also used to execute S804.

[0105] Considering whether the self-test module and the sampling module reuse signal lines, the number of signal lines connecting the detection device and the control device can be different.

[0106] In one implementation, when the self-test module and sampling module share signal lines, only one signal line connects the detection device and the control device. In this case, the interface of the control device connected to this signal line simultaneously has pulse width modulation (PWM) input and analog-to-digital converter (ADC) input functions, or simultaneously supports both PWM and ADC input functions (i.e., one interface supporting PWM input and one interface supporting ADC input within the control device are connected together). By sharing signal lines between the self-test module and sampling module, the number of interfaces on the control device side can be reduced, lowering the requirement for the number of interfaces on the control device and also reducing the number of signals connected to the control device.

[0107] Furthermore, when the self-test module and the sampling module share signal lines, the mode switching module is also used to output the self-test signal generated by the self-test module or the sampling signal generated by the sampling module. The self-test signal is obtained by the self-test module performing a self-test on the signal of the elastic wave sensor when connected to the elastic wave sensor, and the sampling signal is obtained by the sampling module sampling the signal of the elastic wave sensor when connected to the elastic wave sensor.

[0108] In one implementation, the mode switching module includes a first switch module and a second switch module. The control signals include a first control signal and a second control signal. The first switch module is used to configure the self-test module or the sampling module to connect to the elastic wave sensor based on the first control signal. The second switch module is used to configure the output of the self-test signal generated by the self-test module to the target signal line, or to configure the output of the sampling signal generated by the sampling module to the target signal line, based on the second control signal. The target signal line is used to connect the second switch module and the control device. It can be seen that the self-test module and the sampling module share the target signal line.

[0109] For example, the elastic wave sensor is differentially connected to a first terminal and a second terminal of a first switching module. The third and fourth terminals of the first switching module are connected to two input terminals of a self-test module. The fifth and sixth terminals of the first switching module are connected to two input terminals of a sampling module. The output terminal of the self-test module is connected to a first terminal of a second switching module. The output terminal of the sampling module is connected to a second terminal of the second switching module. The third terminal of the second switching module is connected to the target signal line. In this case, the first switching module is specifically used to connect the first, second, third, and fourth terminals of the first switching module to form two channels based on a first control signal, or to connect the first, second, fifth, and sixth terminals of the first switching module to form two channels. The second switching module is specifically used to connect the first terminal of the second switching module or the second terminal of the second switching module to the third terminal of the second switching module to form one channel based on a second control signal.

[0110] In other words, the first switch module has two input terminals and four output terminals. The first and second terminals of the first switch module are both input terminals, and the third, fourth, fifth, and sixth terminals are all output terminals. The second switch module has two input terminals and one output terminal. The first and second terminals of the second switch module are both input terminals, and the third terminal is an output terminal.

[0111] As an example, the first switching module is a dual-channel single-pole double-throw (SPD) switch or includes two SPD switches, and the second switching module is a dual-channel SPD switch or a single-pole double-throw (SPD) switch. Here, the dual-channel SPD switch is an integrated or monolithic design, combining the functions of two SPD switches into a single switching device to achieve synchronous control. That is, a single control signal can simultaneously switch the switching states of both channels. In other words, at any given time, both channels are either connected to one of their respective output terminals or both are connected to their respective other output terminal. This helps reduce the space occupied by the switching device. For the two SPD switches mentioned above, each SPD switch can be controlled independently, meaning that the states of the two switches can be controlled separately according to actual needs, allowing them to connect to different output terminals, thus achieving more flexible signal combinations.

[0112] For example, the first control signal and the second control signal may be the same or different.

[0113] For example, the first control signal and the second control signal can be transmitted via the same control line or via different control lines. For instance, when the first control signal and the second control signal are the same, they can be transmitted via the same control line or via different control lines respectively. When the first control signal and the second control signal are different, they can be transmitted via different control lines respectively.

[0114] When the first control signal and the second control signal are different, a level conversion circuit (e.g., a combination of resistors, transistors / MOSFETs, and capacitors) can be used to ensure that the first and second control signals are transmitted via the same control line. For example, the control device outputs a control signal to the mode switching module (i.e., including the first switch module and the second switch module) through the target control line. Assuming the first switch module is directly connected to the control device through the target control line, and the second switch module is connected to the control device through the level conversion circuit and the target control line, then the first control signal is the control signal itself, and the second control signal is the signal processed by the level conversion circuit. In some solutions, a level conversion circuit may not be used; instead, the connection of each channel within the first and second switch modules can be pre-adjusted to make the first and second control signals identical.

[0115] The connection relationship between the modules in the detection device when the self-test module and the sampling module share signal lines is explained in detail below with reference to Figure 2 or Figure 3.

[0116] Referring to Figure 2, which is a schematic diagram of a detection device in the detection system provided in an embodiment of this application, the detection device includes a self-test module, a sampling module, and a mode switching module. In Figure 2, the mode switching module includes a first switch module and a second switch module. The elastic wave sensor is differentially connected to the first switch module. The first switch module is also connected to the self-test module and the sampling module, respectively. The self-test module is also connected to the second switch module, the sampling module is also connected to the second switch module, and the second switch module is also connected to a control device.

[0117] In Figure 2, both the first and second switch modules are dual-channel single-pole double-throw switches. The first switch module has two input terminals (terminal "1" and terminal "2") and four output terminals (terminals "3", "4", "5", and "6"). Here, the third terminal of the first switch module is terminal "3", the fourth terminal is terminal "4", the fifth terminal is terminal "5", and the sixth terminal is terminal "6". The second switch module has four input terminals (terminals "1", "2", "4", and "5") and two output terminals (terminals "3" and "6").

[0118] For example, in Figure 2, the elastic wave sensor is differentially connected to terminals "1" and "2" of the first switch module, terminal "3" of the first switch module is connected to one input terminal of the self-test module, terminal "4" of the first switch module is connected to the other input terminal of the self-test module, the output terminal of the self-test module is connected to terminal "1" of the second switch module, terminal "5" of the first switch module is connected to one input terminal of the sampling module, terminal "6" of the first switch module is connected to the other input terminal of the sampling module, the output terminal of the sampling module is connected to terminal "2" of the second switch module, and terminal "3" of the second switch module is connected to the control device.

[0119] In this case, the aforementioned first control signal causes a channel to be formed between terminal "1" and terminal "3" of the first switch module (denoted as channel 1-3) and between terminal "2" and terminal "4" of the first switch module (denoted as channel 2-4) to connect the elastic wave sensor to the self-test module; or, it causes a channel to be formed between terminal "1" and terminal "5" of the first switch module (denoted as channel 1-5) and between terminal "2" and terminal "6" of the first switch module (denoted as channel 2-6) to connect the elastic wave sensor to the sampling module; when the elastic wave sensor is connected to the self-test module... The second control signal causes a channel (referred to as channel 1-3) to be formed between terminal "1" and terminal "3" of the second switch module, and terminals "4" and "6" of the second switch module are connected (referred to as channel 4-6) and grounded. In this way, a self-test signal is output to the signal line (i.e., the target signal line mentioned above). When the elastic wave sensor is connected to the sampling module, the second control signal causes a channel (referred to as channel 2-3) to be formed between terminal "2" and terminal "3" of the second switch module, and terminals "5" and "6" of the second switch module are connected (referred to as channel 5-6) and grounded. In this way, a sampling signal is output to the signal line (i.e., the target signal line mentioned above).

[0120] As shown in Figure 2, both the first and second switch modules are connected to the control device via the same power supply line. The first and second control signals are transmitted via the same control line, which connects the control terminals of the first and second switch modules to the control terminal of the control device, respectively. Furthermore, the detection device and the control device are each grounded separately. Here, Figure 2 is merely an example of one internal structure of the detection device. In some implementations, the first and second control signals in Figure 2 may be transmitted via different control lines, and / or the detection device and the control device may be grounded via the same ground wire, etc.

[0121] The connection method of the internal channels of the first switch module and the second switch module is shown in Figure 2. The following explanation, based on Figure 2, describes how the first control signal and the second control signal are transmitted through the same control line.

[0122] Case 1: The first control signal is the same as the second control signal.

[0123] In one implementation, when the enable level of the first switch module and the enable level of the second switch module are the same, the channels that are connected by both can form a closed circuit. Taking a high level as an example, for the first switch module, it is assumed that the set of channels connected when the level is high includes channels 1-3 and 2-4; for the second switch module, it is assumed that the set of channels connected when the level is high includes channels 1-3 and 4-6. In this case, the first control signal and the second control signal are the same (i.e., both are high-level signals), and the control device transmits the high-level signal through the same control line, enabling the elastic wave sensor to connect to the self-test module and output a self-test signal to the control device.

[0124] Case 2: The first control signal is different from the second control signal.

[0125] In one implementation, when the enable level states of the first switch module and the second switch module are opposite, the channels that are activated by both can form a closed circuit. For example, for the first switch module, assuming that the set of channels activated when the level is high includes channels 1-3 and 2-4; for the second switch module, assuming that the set of channels activated when the level is low includes channels 1-3 and 4-6. In this case, the first control signal and the second control signal are opposite, and the first control signal and the second control signal can be transmitted through the same control line by combining the above-mentioned level conversion circuit. For example, the first switch module is directly connected to the control device through the target control line, and the second switch module is connected to the control device through the level conversion circuit and the target control line. The control device transmits a high-level signal through the target control line, then the first control signal is a high-level signal, and the second control signal is a low-level signal obtained after processing the high-level signal by the level conversion circuit. In this way, the elastic wave sensor can be connected to the self-test module and output a self-test signal to the control device.

[0126] Regarding scenario 2, in some solutions, the connection method of the channels within the first or second switch module can be changed to make the first control signal and the second control signal identical. For example, changing the connection between the self-test module and terminal "1" of the second switch module to terminal "2", and changing the connection between the sampling module and terminal "2" of the second switch module to terminal "1", makes the first control signal and the second control signal identical, for example, a high-level signal. The control device outputs a high-level signal through the control line, and the first switch module activates channels 1-3 and 2-4 based on the high-level signal. The second switch module activates channels 2-3 and 5-6 based on the high-level signal, thus realizing the connection between the elastic wave sensor and the self-test module and the output of a self-test signal to the control device.

[0127] Referring to Figure 3, which is a schematic diagram of another detection device in the detection system provided in this application embodiment, the detection device includes a self-test module, a sampling module, and a mode switching module. In Figure 3, the mode switching module includes a first switch module and a second switch module. Further, the first switch module includes two single-pole double-throw switches, namely switch 1 and switch 2, and the second switch module is a single-pole double-throw switch. Switch 1 has one input terminal (i.e., terminal "1") and two output terminals (i.e., terminals "3" and "5"); switch 2 has one input terminal (i.e., terminal "2") and two output terminals (i.e., terminals "4" and "6"); and the second switch module has two input terminals (i.e., terminals "1" and "2") and one output terminal (i.e., terminal "3"). Here, terminal "3" of switch 1 is the third terminal of the first switch module, terminal "4" of switch 2 is the fourth terminal of the first switch module, terminal "5" of switch 1 is the fifth terminal of the first switch module, and terminal "6" of switch 2 is the sixth terminal of the first switch module.

[0128] For example, in Figure 3, the elastic wave sensor is differentially connected to terminal "1" of switch 1 and terminal "2" of switch 2. Terminal "3" of switch 1 is connected to one input terminal of the self-test module, terminal "4" of switch 2 is connected to the other input terminal of the self-test module, the output terminal of the self-test module is connected to terminal "1" of the second switch module, terminal "5" of switch 1 is connected to one input terminal of the sampling module, terminal "6" of switch 2 is connected to the other input terminal of the sampling module, the output terminal of the sampling module is connected to terminal "2" of the second switch module, and terminal "3" of the second switch module is connected to the control device.

[0129] In this case, the first control signal causes a channel to be formed between terminal "1" of switch 1 and terminal "3" of switch 1, and between terminal "2" of switch 2 and terminal "4" of switch 2, to connect the elastic wave sensor to the self-test module; or, it causes a channel to be formed between terminal "1" of switch 1 and terminal "5" of switch 1, and between terminal "2" of switch 2 and terminal "6" of switch 2, to connect the elastic wave sensor to the sampling module. When the elastic wave sensor is connected to the self-test module, the second control signal causes a channel to be formed between terminal "1" of the second switch module and terminal "3" of the second switch module, thus outputting a self-test signal to the signal line (i.e., the aforementioned target signal line). When the elastic wave sensor is connected to the sampling module, the second control signal causes a channel to be formed between terminal "2" of the second switch module and terminal "3" of the second switch module, thus outputting a sampling signal to the signal line (i.e., the aforementioned target signal line).

[0130] As shown in Figure 3, the first switch module (i.e., switch 1 and switch 2) and the second switch module are also connected to the control device via the same power line. The first control signal and the second control signal are transmitted via the same control line, which connects the control terminals of switch 1, switch 2, and the second switch module to the control terminal of the control device, respectively. Furthermore, the detection device and the control device are each grounded separately. Here, Figure 3 is only an example of one internal structure of the detection device. In some implementations, the first control signal and the second control signal in Figure 3 may be transmitted via different control lines, and / or the detection device and the control device may be grounded via the same ground wire, etc.

[0131] In another implementation, where the self-test module and sampling module do not reuse signal lines, two signal lines connect the detection device and the control device. One signal line connects the self-test module and the control device, and the other connects the sampling module and the control device. In this case, the connection between the elastic wave sensor and the detection device refers to the connection between the elastic wave sensor and the mode switching module in the detection device. It can be understood that on the control device side, the interface for acquiring the self-test signal has a PWM input function, and the interface for acquiring the sampling signal has an ADC input function.

[0132] In another implementation, the mode switching module includes a first switch module, a first switch, and a second switch. The control signals include control signal 1, control signal 2, and control signal 3. The first switch module is used to configure the self-test module or sampling module to connect to the elastic wave sensor based on control signal 1. The first switch is used to configure the output of the self-test signal generated by the self-test module to a first signal line based on control signal 2. Alternatively, the second switch is used to configure the output of the sampling signal generated by the sampling module to a second signal line based on control signal 3. The first and second signal lines are different, and the states of the first and second switches are mutually exclusive. Here, mutual exclusivity between the states of the first and second switches means that if the first switch is on, the second switch is off, or vice versa.

[0133] For example, the first switch module is a dual-channel single-pole double-throw switch or includes two single-pole double-throw switches. The first switch and the second switch can be single-pole single-throw switches or single-pole double-throw switches.

[0134] For example, control signal 1, control signal 2, and control signal 3 can be transmitted via the same control line or via different control lines. For example, control signal 1, control signal 2, and control signal 3 can be the same or different.

[0135] For example, regarding the first switch module and the first switch, if the enable level of the first switch module is the same as the enable level of the first switch, their conductive channels can form a closed circuit, then control signal 1 and control signal 2 are the same; if the enable level of the first switch module is opposite to the enable level of the first switch, their conductive channels can form a closed circuit, then control signal 1 and control signal 2 are opposite. Similarly, regarding the first switch module and the second switch, if the enable level of the first switch module is the same as the enable level of the second switch, their conductive channels can form a closed circuit, then control signal 1 and control signal 3 are the same; if the enable level of the first switch module is opposite to the enable level of the second switch, their conductive channels can form a closed circuit, then control signal 1 and control signal 3 are opposite. It can be understood that if both the first switch and the second switch are closed at a high level and open at a low level, since the state of the first switch must be mutually exclusive with the state of the second switch, then control signal 2 and control signal 3 are opposite.

[0136] Referring to Figure 4A, which is a schematic diagram of another detection device provided in an embodiment of this application, the detection device includes a self-test module, a sampling module, and a mode switching module. In Figure 4A, the mode switching module includes a first switch module, a first switch, and a second switch. The elastic wave sensor is differentially connected to the first switch module. The first switch module is also connected to both the self-test module and the sampling module. The self-test module is connected to a first signal line via the first switch, and the sampling module is connected to a second signal line via the second switch. The first signal line connects the first switch to the control device, and the second signal line connects the second switch to the control device. Here, the first switch module is the same as the one shown in Figure 2. Please refer to the description of the corresponding content in the aforementioned embodiment of Figure 2; it will not be repeated here.

[0137] For example, in Figure 4A, when control signal 1 causes the first switch module to connect the self-test module to the elastic wave sensor, control signal 2 causes the first switch to connect the self-test module to the control device. Optionally, control signal 3 causes the second switch to disconnect the sampling module from the control device.

[0138] For example, in Figure 4A, when control signal 1 causes the first switch module to configure the sampling module to connect with the elastic wave sensor, control signal 2 causes the first switch to disconnect the self-test module from the control device. Optionally, control signal 3 causes the second switch to connect the sampling module to the control device.

[0139] It is understood that Figure 4A is merely an example of the structure of the detection device when the self-test module and the sampling module do not reuse signal lines. In some solutions, the detection device can also be as shown in Figure 4B when the self-test module and the sampling module do not reuse signal lines. The difference from Figure 4A is that the first switch module in Figure 4B is the same as the first switch module shown in Figure 3. In Figures 4A and 4B, the detection device and the control device are grounded separately, or grounded through the same ground line. In some solutions, the detection device shown in Figure 4A or Figure 4B may not have a first switch and a second switch; that is, the output of the self-test module is directly connected to the control device through the first signal line, and the output of the sampling module is directly connected to the control device through the second signal line.

[0140] Taking Figure 4A as an example, the connection of the first switch module, the first switch, and the second switch within the detection device is shown in Figure 4A. The following explanation, based on Figure 4A, illustrates how control signals 1, 2, and 3 are transmitted via the same control line. It is assumed that the first switch module conducts through channels 1-3 and 2-4 under a high-level signal and through channels 1-5 and 2-6 under a low-level signal.

[0141] If the first switch is closed under a high-level signal and opened under a low-level signal, and the enable level state of the first switch module is the same as the enable level state of the first switch (e.g., high level), the channel between the two can form a circuit. Then the control device transmits a high-level signal through the same control line. Both control signal 1 and control signal 2 are this high-level signal, which enables the elastic wave sensor to connect with the self-test module and output a self-test signal to the control device.

[0142] If the second switch is closed under a low-level signal and open under a high-level signal, in this case, the channel through which the first switch module and the second switch are connected when the enable level is the same (e.g., low level) can form a circuit. The control device transmits a low-level signal through the same control line. Then, control signal 1 and control signal 3 are both low-level signals, which enables the elastic wave sensor to connect with the sampling module and output a sampling signal to the control device.

[0143] In some solutions, if the second switch is closed under a high-level signal and open under a low-level signal, then the channels that connect the first switch module and the second switch when their enable levels are opposite can form a closed circuit. Thus, the level conversion circuit described above can be used to transmit control signals using the same control signal. For example, the first switch module can be directly connected to the control device via a target control line, and the second switch can be connected to the control device via the level conversion circuit and the target control line. The control device transmits a low-level signal via the target control line. Control signal 1 is this low-level signal, and control signal 3 is the high-level signal obtained after processing this low-level signal by the level conversion circuit. This allows the elastic wave sensor to connect to the sampling module and output a sampling signal to the control device.

[0144] In the detection systems shown in Figures 1-3, 4A, or 4B, the control device controls the self-testing or sampling of the signal from a single elastic wave sensor. In some possible embodiments, the control device in the detection system can also control the self-testing or sampling of signals from multiple elastic wave sensors. In this case, the detection system includes a control device, multiple elastic wave sensors, and multiple detection devices, with each elastic wave sensor corresponding to one of the multiple detection devices, which are connected to the control device. In some solutions, the detection device and the elastic wave sensor are integrated together as a sensor module, meaning the detection system includes a control device and multiple sensor modules.

[0145] Referring to Figure 5, which is a schematic diagram of the architecture of another detection system provided in an embodiment of this application, the detection system 10 includes multiple sensor modules and a control device. The multiple sensor modules are connected to the control device, including sensor module 1, ..., sensor module n, where n is an integer greater than 1. Each sensor module includes an elastic wave sensor and a detection device. For details on the elastic wave sensor, the detection device, and the internal connections of the detection device, please refer to the descriptions in Figures 2, 3, 4A, or 4B above.

[0146] As shown in Figure 5, each sensor module has its own corresponding signal line. For example, sensor module 1 corresponds to signal line 1, ..., sensor module n corresponds to signal line n. The signal line is used to transmit the output signal from the self-test module or sampling module in the sensor module to the control device. The number of sensor modules is n, that is, the number of elastic wave sensors and the number of detection devices are both n. These n sensor modules are connected to the control device through the same control line, which is used to transmit control signals to the detection devices in each of these n sensor modules.

[0147] Additionally, in Figure 5, the control device and each detection device can be powered independently, or multiple detection devices can be powered by the control device. The control device and each detection device are individually grounded, or the control device and at least some detection devices are grounded through the same ground wire. Figure 5 is merely an example of a detection system for self-testing or sampling control of signals from multiple elastic wave sensors. In some schemes, the detection system can also be as shown in Figure 6, which differs from the detection system shown in Figure 5 in the following aspects; please refer to the descriptions of differences 1-3 below.

[0148] Difference 1: These n sensor modules are also connected to the control device via the same power cable. This allows the control device to uniformly power all n sensor modules, ensuring stable and consistent power supply voltage and frequency for each module. Furthermore, it eliminates the need for separate power supplies and related circuitry for each sensor module, reducing the number and cost of power supply equipment. Additionally, the control device can intelligently manage power supply based on the actual operating status of each sensor module, improving power utilization efficiency.

[0149] Difference 2: These n sensor modules are also connected to the control device through the same ground wire. This shared ground wire ensures that all sensor modules and the control device are at the same potential, reducing potential differences between different grounding points and preventing ground loop currents. This helps reduce electromagnetic interference, improves the anti-interference capability of the detection system, and ensures the accuracy of the elastic wave sensor measurements and the stability of the control device operation.

[0150] Difference 3: Each of these n sensor modules is connected to the control device via a different control line. For example, sensor module 1 is connected to the control device via control line 1, ..., sensor module n is connected to the control device via control line n. In this way, each sensor module has an independent control line. The control device can flexibly add, delete, replace, and activate sensor modules according to actual needs without affecting the normal operation of other sensor modules. The control device can also achieve personalized control of the sensor modules.

[0151] Similarly, Figure 6 is merely an example of a detection system that performs self-testing or sampling control on the signals from multiple elastic wave sensors. In some possible embodiments, the power lines and / or ground lines can also be flexibly deployed. Taking the power lines as an example, for the aforementioned n sensor modules, different sensor modules can be connected to the control device through different power lines, or some sensor modules can be connected to the control device through the same power line. Similarly, different sensor modules can be connected to the control device through different ground lines, or some sensor modules can be connected to the control device through the same ground line. Of course, in some solutions, the control lines can also be flexibly deployed; for example, some sensor modules can be connected to the control device through the same control line, while other sensor modules each have their own independent control lines.

[0152] To more clearly illustrate the connection relationships between the modules in the detection system shown in Figure 5 or Figure 6, please refer to the description of the embodiment in Figure 7A or Figure 7B below. Figures 7A and 7B are schematic diagrams of the structure of some detection systems provided in the embodiments of this application.

[0153] For example, in Figure 7A, the detection device in each of the n sensor modules adopts the circuit structure of the detection device shown in Figure 2. The control device transmits the control signal to the mode switching module (specifically including the first switch module and the second switch module) in the n detection devices through the same control line. In Figure 7B, the detection device in each of the n sensor modules adopts the circuit structure of the detection device shown in Figure 3, and each detection device has its own independent control line. For example, detection device 1 is connected to the control device through control line 1, ..., detection device n is connected to the control device through control line n.

[0154] In Figure 7A or Figure 7B, the self-test module and the sampling module in the detection device reuse the same signal line to save on the number of interfaces consumed by the control device side; the control device also supplies power to these n detection devices through the same power line, specifically realizing the power supply to the self-test module and / or sampling module, as well as the first switch module and the second switch module in the detection device; the control device and the n detection devices are each grounded, or grounded through the same ground line.

[0155] In some solutions, some of the detection devices in Figure 7A may also adopt the circuit structure of the detection devices shown in Figures 3, 4A, or 4B, or some of the detection devices in Figure 7B may also adopt the circuit structure of the detection devices shown in Figures 2, 4A, or 4B. In some solutions, the self-test module and sampling module in some detection devices may each have independent signal lines, instead of multiplexing signal lines. In some solutions, ground lines may also be shown in Figures 7A or 7B; for details regarding the deployment of ground lines, please refer to the description of the corresponding content in the aforementioned embodiment of Figure 6, which will not be repeated here.

[0156] The circuit control method in this solution is described below in conjunction with the detection system provided above.

[0157] Referring to Figure 8, which is a flowchart of a circuit control method provided in an embodiment of this application, this method can be applied to the detection system 10 in the above embodiments, specifically between the elastic wave sensor, the detection device, and the control device.

[0158] As described in the aforementioned detection system, the control device is connected to the detection device. The detection device includes a self-test module, a sampling module, and a mode switching module. The mode switching module is connected to both the self-test module and the sampling module. The connections between the modules within the detection device can be referred to the descriptions of the corresponding contents in the embodiments shown in Figures 2, 3, 4A, or 4B, and will not be repeated here. In some solutions, the control device can be integrated into the sensor module.

[0159] The method shown in Figure 8 includes, but is not limited to, the following steps S801-S805.

[0160] S801: The control device determines the control signal according to the preset command and outputs the control signal to the detection device. Correspondingly, the detection device receives the control signal.

[0161] Here, "output control signal to detection device" refers to outputting control signal to the mode switching module in the detection device.

[0162] For example, a preset command indicates whether to enable self-test or enable sampling. If the preset command indicates to enable self-test, the control signal is used to connect the elastic sensor to the self-test module; if the preset command indicates to enable sampling, the control signal is used to connect the elastic sensor to the sampling module.

[0163] As an example, when the self-test module and the sampling module share signal lines, the detection device can be, for example, the detection device shown in Figure 2 or Figure 3. The above-mentioned output control signal to the mode switching module refers to: outputting a first control signal to the first switch module and outputting a second control signal to the second switch module.

[0164] For example, regarding the detection device shown in Figure 2, when the preset command indicates that self-test is enabled, the first control signal indicates that a channel is formed between terminal "1" and terminal "3" of the first switch module, and a channel is formed between terminal "2" and terminal "4" of the first switch module. The second control signal indicates that a channel is formed between terminal "1" and terminal "3" of the second switch module, and terminal "4" and terminal "6" of the second switch module are connected and grounded. When the preset command indicates that sampling is enabled, the first control signal indicates that a channel is formed between terminal "1" and terminal "5" of the first switch module, and a channel is formed between terminal "2" and terminal "6" of the first switch module. The second control signal indicates that a channel is formed between terminal "2" and terminal "3" of the second switch module, and terminal "5" and terminal "6" of the second switch module are connected and grounded.

[0165] For example, regarding the detection device shown in Figure 3, when the preset command indicates that self-test is enabled, the first control signal indicates that a channel is formed between end "1" of switch 1 and end "3" of switch 1, and a channel is formed between end "2" of switch 2 and end "4" of switch 2. The second control signal indicates that a channel is formed between end "1" of the second switch module and end "3" of the second switch module. When the preset command indicates that sampling is enabled, the first control signal indicates that a channel is formed between end "1" of switch 1 and end "5" of switch 1, and a channel is formed between end "2" of switch 2 and end "6" of switch 2. The second control signal indicates that a channel is formed between end "2" of the second switch module and end "3" of the second switch module.

[0166] As an example, when the self-test module and the sampling module do not reuse signal lines, the detection device can be, for example, the detection device shown in Figure 4A or Figure 4B. The aforementioned output control signal to the mode switching module includes: output control signal 1 to the first switch module, output control signal 2 to the first switch, and output control signal 3 to the second switch. Specifically, when control signal 1 causes the first switch module to connect the elastic wave sensor to the self-test module, control signal 2 causes the first switch to connect the self-test module to the control device, and control signal 3 causes the second switch to disconnect the sampling module from the control device; conversely, when control signal 1 causes the first switch module to connect the elastic wave sensor to the sampling module, control signal 2 causes the first switch to disconnect the self-test module from the control device, and control signal 3 causes the second switch to connect the sampling module to the control device. In some solutions, when control signal 1 causes the first switch module to connect the elastic wave sensor to the self-test module, only control signal 2 may be output to the first switch, without outputting control signal 3; similarly, when control signal 1 causes the first switch module to connect the elastic wave sensor to the sampling module, only control signal 3 may be output to the second switch, without outputting control signal 2.

[0167] For example, regarding the detection device shown in Figure 4A, when the preset command indicates that the self-test is started, control signal 1 indicates that a channel is formed between end "1" and end "3" of the first switch module and between end "2" and end "4" of the first switch module. Control signal 2 indicates that the first switch is closed and control signal 3 indicates that the second switch is open. When the preset command indicates that sampling is enabled, control signal 1 indicates that a channel is formed between end "1" and end "5" of the first switch module and between end "2" and end "6" of the first switch module. Control signal 2 indicates that the first switch is open and control signal 3 indicates that the second switch is closed.

[0168] For example, regarding the detection device shown in Figure 4B, when the preset command indicates that sampling is enabled, and when the preset command indicates that self-test is enabled, control signal 1 indicates that a channel is formed between end "1" of switch 1 and end "3" of switch 1, and a channel is formed between end "2" of switch 2 and end "4" of switch 2. For control signal 2 and control signal 3, please refer to the description of the corresponding content in Figure 4A above. When the preset command indicates that sampling is enabled, control signal 1 indicates that a channel is formed between end "1" of switch 1 and end "5" of switch 1, and a channel is formed between end "2" of switch 2 and end "6" of switch 2. For control signal 2 and control signal 3, please refer to the description of the corresponding content in Figure 4A above.

[0169] In some implementations, the detection device shown in Figure 4A or Figure 4B may omit the first and second switches. That is, the self-test module is directly connected to the control device via the first signal line, and the sampling module is directly connected to the control device via the second signal line. In this case, outputting a control signal to the mode switching module means outputting a control signal to the first switch module. The control signal can be the aforementioned control signal 1.

[0170] S802: The mode switching module in the detection device is configured to connect the self-test module or sampling module to the elastic wave sensor based on the control signal.

[0171] As an example, for the detection device shown in Figures 2, 3, 4A, or 4B above, the mode switching module configures the self-test module or sampling module to connect with the elastic wave sensor based on a control signal, including: a first switch module configures the self-test module or sampling module to connect with the elastic wave sensor based on a first control signal. For the detection device shown in Figure 4A or 4B, the first control signal can be referred to as the aforementioned control signal 1.

[0172] For example, in Figure 2 or Figure 4A, the first switch module configures the self-test module or sampling module to connect with the elastic wave sensor based on the first control signal, including: the first switch module connects the terminals "1" and "2" of the first switch module with the terminals "3" and "4" of the first switch module based on the first control signal to form two channels.

[0173] For example, in Figure 3 or Figure 4B, the first switch module configures the self-test module or sampling module to connect with the elastic wave sensor based on the first control signal, including: the switch 1 connects the terminal "1" of the switch 1 to the terminal "3" of the switch 1 based on the first control signal, and the switch 2 connects the terminal "2" of the switch 2 to the terminal "4" of the switch 2 based on the first control signal.

[0174] S803: The self-test module in the detection device generates a self-test signal when connected to the elastic wave sensor.

[0175] For example, the self-test signal includes sensor performance parameter information, and further, the self-test signal also includes at least one of the following: power status information, environmental parameter information, etc.

[0176] For example, sensor performance parameters include at least one of the following: sensitivity, linearity, frequency response, and zero-point offset; power supply status information includes the current supply voltage and current of the elastic wave sensor; environmental parameters include the temperature and humidity of the internal or surrounding environment of the elastic wave sensor. Power supply status information allows for quick determination of whether the elastic wave sensor is faulty. For instance, excessively high or low supply voltage may damage the sensor or cause instability; abnormal current may indicate a short circuit or overload within the sensor. Monitoring temperature allows for temperature compensation of measurement results or determination of whether temperature abnormalities are causing sensor malfunctions, while unsuitable humidity will affect the sensor's insulation performance and material properties, thus impacting its performance and lifespan.

[0177] S804: The sampling module in the detection device generates a sampling signal when connected to the elastic wave sensor.

[0178] S805: The mode switching module in the detection device is configured to output a self-test signal or a sampling signal based on the control signal.

[0179] As an example, for the detection device shown in Figure 2 or Figure 3, the mode switching module configures the output of a self-test signal or a sampling signal based on the control signal, including: the second switch module connects terminal "1" of the second switch module to terminal "3" of the second switch module based on the second control signal to output a self-test signal, or connects terminal "2" of the second switch module to terminal "3" of the second switch module based on the second control signal to output a sampling signal.

[0180] As another example, for the detection device shown in Figure 4A or Figure 4B, the mode switching module is configured to output a self-test signal or a sampling signal based on the control signal, including: the first switch is closed based on the control signal 2 and the second switch is opened based on the control signal 3 to output a self-test signal; or, the first switch is opened based on the control signal 2 and the second switch is closed based on the control signal 3 to output a sampling signal.

[0181] In the embodiment shown in Figure 8, the detection device is set up independently of the control device and is not integrated into it, which simplifies the single-board design of the control device and reduces its area. Compared with the solution of integrating the control chip into the sensor module, this saves the control chip on the sensor module side and reduces system costs. In addition, under the control signal of the control device, the detection device can automatically switch between signal self-testing and signal sampling. Compared with the solution of integrating the self-testing module and the sampling module into the control device, the cable length between the self-testing module and the sampling module and the elastic wave sensor is greatly shortened, which can greatly reduce the detection error introduced by the capacitive impedance of the cable itself during the self-testing or sampling process. In addition, the signal transmitted between the sensor module and the control device is no longer the original weak current signal, but an analog voltage signal, which has stronger anti-interference capability and is more conducive to long-distance cable transmission, reducing the risk of electromagnetic compatibility interference of the entire vehicle.

[0182] In some possible embodiments, the detection system shown in Figures 5, 6, 7A, or 7B can perform signal self-testing and signal detection for multiple elastic wave sensors (or multiple sensor modules, i.e., sensor module 1 to sensor module n). Taking the detection system shown in Figure 6 or 7B as an example, the circuit control method includes, but is not limited to, the following steps 1-3.

[0183] Step 1: The control device is powered on and initialized, and power is supplied to the multiple sensor modules. These multiple sensor modules include sensor module 1, ..., sensor module n. For a description of the sensor modules, please refer to the description of the corresponding content in the previous embodiments, which will not be repeated here.

[0184] Step 2: The control device controls the mode switching module in the detection device of each sensor module to switch to the self-test link where the self-test module is located to output a self-test signal, so as to start these multiple sensor modules to perform signal self-test.

[0185] For example, these multiple sensor modules can perform signal self-tests simultaneously or sequentially. The process by which each detection device outputs a self-test signal based on the control signal from the control device is described in the corresponding content of the aforementioned embodiment in Figure 8, and will not be repeated here.

[0186] Step 3: After these multiple sensor modules complete their signal self-test, the control device controls the mode switching module in the detection device of each sensor module to switch to the sampling link where the sampling module is located to output the sampling signal, so as to start these multiple sensor modules to sample signals.

[0187] For example, these multiple sensor modules can sample signals simultaneously or sequentially. The process by which each detection device outputs a sampling signal based on a control signal from the control device is described in the corresponding content of the aforementioned embodiment in Figure 8, and will not be repeated here.

[0188] For example, in the detection system shown in Figure 5 or Figure 7A, multiple sensor modules are connected to the control device through the same control line. In this case, multiple sensor modules can perform signal self-testing or signal sampling simultaneously.

[0189] By implementing the above embodiments, the self-test signal and the sampling signal are multiplexed on the same signal line. When multiple elastic wave sensors are connected, it can not only support the signal self-test and signal sampling of multiple elastic wave sensors, but also reduce the number of signals connected to the control device by multiple elastic wave sensors, saving the number of interfaces on the control device side and helping to reduce the manufacturing cost of the control device.

[0190] Referring to Figure 9, which is a schematic diagram of a control device according to an embodiment of this application, the control device 30 includes a communication unit 310 and a processing unit 312. The control device 30 can be implemented in hardware, software, or a combination of both.

[0191] The processing unit 312 is used to determine the control signal according to a preset instruction; the communication unit 310 is used to output the control signal to the detection device and to acquire the self-test signal or the sampling signal generated by the detection device. The control device 30 is independent of the detection device. The detection device is configured to connect to the elastic wave sensor and includes a self-test module, a sampling module, and a mode switching module, with the mode switching module connected to both the self-test module and the sampling module.

[0192] The control device 30 can be used to implement the control device-side method described in the embodiment of FIG8. In the embodiment of FIG8, the communication unit 310 can be used to execute S801 and S805, and the processing unit 312 can be used to execute S801.

[0193] It should be understood that the division of the units in the control device 30 described above is only a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, the units in the device can be implemented by a processor calling software; for example, the device includes a processor connected to a memory containing instructions. The processor calls the instructions stored in the memory to implement any of the above methods or to implement the functions of each unit in the device. The processor can be, for example, a general-purpose processor, such as a central processing unit (CPU) or a microprocessor, and the memory can be internal or external to the device. Alternatively, the units in the device can be implemented as hardware circuits. The functionality of some or all units can be achieved through the design of these hardware circuits, which can be understood as one or more processors. For example, in one implementation, the hardware circuit is an application-specific integrated circuit (ASIC). The functionality of some or all of the above units is achieved through the design of the logical relationships between the components within the circuit. In another implementation, the hardware circuit can be implemented using a programmable logic device (PLD). Taking a field-programmable gate array (FPGA) as an example, it can include a large number of logic gates. The connection relationships between the logic gates are configured through a configuration file, thereby achieving the functionality of some or all of the above units. All units of the above device can be implemented entirely through processor-invoked software, entirely through hardware circuits, or partially through processor-invoked software with the remaining parts implemented through hardware circuits.

[0194] In this application embodiment, a processor is a circuit with signal processing capabilities. In one implementation, the processor can be a circuit with instruction reading and execution capabilities, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a type of microprocessor), or a digital signal processor (DSP). In another implementation, the processor can implement certain functions through the logical relationships of hardware circuits. These logical relationships of hardware circuits are fixed or reconfigurable. For example, the processor is a hardware circuit implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document and configuring the hardware circuit can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. Furthermore, it can also be a hardware circuit designed for artificial intelligence, which can be understood as a type of ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc.

[0195] As can be seen, each unit in the above device can be one or more processors (or processing circuits) configured to implement the above methods, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.

[0196] Furthermore, the units in the above devices can be integrated in whole or in part, or they can be implemented independently. In one implementation, these units are integrated together as a system-on-a-chip (SOC). The SOC may include at least one processor for implementing any of the above methods or implementing the functions of the units in the device. The at least one processor may be of different types, such as CPU and FPGA, CPU and artificial intelligence processor, CPU and GPU, etc.

[0197] Referring to Figure 10, which is a schematic diagram of the structure of a computing device according to an embodiment of this application, the computing device 40 includes a processor 401, a communication interface 402, a memory 403, and a bus 404. The processor 401, the memory 403, and the communication interface 402 communicate with each other via the bus 404. It should be understood that this application does not limit the number of processors and memories in the computing device 40.

[0198] In one implementation, the computing device 40 may be the aforementioned control device or a device containing the aforementioned control device. Here, the control device is described in the corresponding content of the embodiment in FIG1 above, and will not be repeated here.

[0199] Bus 404 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, only one line is used in Figure 10, but this does not imply that there is only one bus or one type of bus. Bus 404 can include channels for transmitting information between various components of computing device 40 (e.g., memory 403, processor 401, communication interface 402).

[0200] The processor 401 can be referred to the relevant description of the processor in the above embodiments, and will not be repeated here.

[0201] Memory 403 provides storage space, which can store data such as the operating system and computer programs. Memory 403 can be one or a combination of several of the following: random access memory (RAM), erasable programmable read-only memory (EPROM), read-only memory (ROM), or compact disc read memory (CD-ROM). Memory 403 can exist alone or be integrated into processor 401.

[0202] The communication interface 402 can be used to provide information input or output to the processor 401. Alternatively, the communication interface 402 can be used to receive and / or send data to externally transmitted data, and can be a wired link interface including an Ethernet cable, or a wireless link interface (such as Wi-Fi, Bluetooth, general wireless transmission, etc.). Alternatively, the communication interface 402 may also include a transmitter (such as an RF transmitter, antenna, etc.) or a receiver coupled to the interface.

[0203] The processor 401 in the computing device 40 is used to read the computer program stored in the memory 403 to execute the aforementioned method, such as the control device side method described in the embodiment of FIG8, or other control device side circuit control methods.

[0204] In one possible design, computing device 40 may be one or more modules in an execution entity (e.g., a control device) that performs the method shown in FIG8, and processor 401 may be used to read one or more computer programs stored in memory for performing the following operations:

[0205] The control signal is determined according to the preset command;

[0206] The communication unit 310 outputs control signals to the detection device and acquires self-test signals or sampling signals generated by the detection device.

[0207] In the embodiments described above, each embodiment has its own emphasis. For parts not described in detail in a particular embodiment, please refer to the relevant descriptions in other embodiments. Furthermore, in the embodiments of this application, unless otherwise specified or logically conflicting, the terminology and / or descriptions between the embodiments are consistent and can be mutually referenced. Technical features from different embodiments can be combined to form new embodiments based on their inherent logical relationships.

[0208] Those skilled in the art will recognize that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. This program can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.

[0209] The technical solution of this application, in essence, or the part that makes the contribution, or all or part of the technical solution, can be embodied in the form of a software product. The computer program product is stored in a storage medium and includes several instructions to cause a device (which may be a personal computer, server, network device, robot, microcontroller, chip, robot, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.

Claims

1. A detection device, characterized in that, The detection device is configured to connect to an elastic wave sensor. The detection device includes a self-test module, a sampling module, and a mode switching module. The mode switching module is connected to both the self-test module and the sampling module. The mode switching module is configured, under a control signal, to connect the self-test module or the sampling module to the elastic wave sensor, and to output the self-test signal generated by the self-test module or the sampling signal generated by the sampling module. The control signal comes from the control device, and the detection device is set up independently of the control device.

2. The apparatus of claim 1, wherein, The detection device is integrated into the sensor module, which also includes the elastic wave sensor.

3. The apparatus of claim 1 or 2, wherein, The control signals include a first control signal and a second control signal, and the mode switching module includes a first switch module and a second switch module, wherein... The first switch module is used to configure the self-test module or the sampling module to connect to the elastic wave sensor based on the first control signal; The second switch module is configured, based on the second control signal, to output the self-test signal generated by the self-test module to the target signal line, or to output the sampling signal generated by the sampling module to the target signal line; The target signal line is used to connect the second switch module and the control device.

4. The apparatus according to claim 3, characterized in that, The elastic wave sensor is differentially connected to the first and second terminals of the first switching module. The third and fourth terminals of the first switching module are connected to the two input terminals of the self-test module. The fifth and sixth terminals of the first switching module are connected to the two input terminals of the sampling module. The output terminal of the self-test module is connected to the first terminal of the second switching module. The output terminal of the sampling module is connected to the second terminal of the second switching module. The third terminal of the second switching module is connected to the target signal line. The first switch module is specifically used to connect the first end and the second end of the first switch module with the third end and the fourth end of the first switch module to form two channels based on the first control signal, or to connect the first end and the second end of the first switch module with the fifth end and the sixth end of the first switch module to form two channels. The second switch module is specifically used to connect the first terminal or the second terminal of the second switch module to the third terminal of the second switch module based on the second control signal.

5. The apparatus of claim 3, wherein, The first switch module is a dual-channel single-pole double-throw switch or includes two single-pole double-throw switches, and the second switch module is a dual-channel single-pole double-throw switch or a single-pole double-throw switch.

6. The device of any one of claims 3-5, wherein, The first control signal and the second control signal are transmitted through the same control line, which is used to connect the control terminals of the first switch module and the second switch module to the control terminal of the control device, respectively.

7. The device of any one of claims 1-6, wherein, In the detection device, the self-test module, the sampling module, and the mode switching module are also connected to the control device via the same power line.

8. The device of any one of claims 1-7, wherein, When the detection device is deployed on a vehicle, the length of the connecting cable between the detection device and the elastic wave sensor is less than the length of the connecting cable between the detection device and the control device.

9. A sensor module, characterized in that, The sensor module includes an elastic wave sensor and a detection device. The elastic wave sensor is connected to the detection device in a differential manner. The detection device is the device as described in any one of claims 1-7.

10. A circuit control method, characterized in that, The method is applied to a detection device, which includes a self-test module, a sampling module, and a mode switching module. The mode switching module is connected to both the self-test module and the sampling module. The mode switching module receives control signals from the control device and configures the self-test module or the sampling module to connect to the elastic wave sensor based on the control signals. The self-test module generates a self-test signal when connected to the elastic wave sensor. The sampling module generates a sampling signal when connected to the elastic wave sensor. The mode switching module is configured to output the self-test signal or the sampling signal based on the control signal; The detection device is set up independently of the control device.

11. The method according to claim 10, characterized in that, The mode switching module includes a first switch module and a second switch module, and the control signals include a first control signal and a second control signal. The mode switching module receives control signals from the control device and configures the self-test module or the sampling module to connect to the elastic wave sensor based on the control signals, including: The first switch module receives the first control signal and the second switch module receives the second control signal; The first switch module configures the self-test module or the sampling module to connect to the elastic wave sensor based on the first control signal; The mode switching module is configured to output the self-test signal or the sampling signal based on the control signal, including: The second switch module is configured to output the self-test signal or the sampling signal based on the second control signal.

12. The method according to claim 11, characterized in that, The elastic wave sensor is differentially connected to the first and second terminals of the first switching module. The third and fourth terminals of the first switching module are connected to the two input terminals of the self-test module. The fifth and sixth terminals of the first switching module are connected to the two input terminals of the sampling module. The output terminal of the self-test module is connected to the first terminal of the second switching module. The output terminal of the sampling module is connected to the second terminal of the second switching module. The third terminal of the second switching module is connected to the target signal line. The first switch module configures the self-test module or the sampling module to connect with the elastic wave sensor based on the first control signal, including: the first switch module connects the first end and the second end of the first switch module with the third end and the fourth end of the first switch module to form two channels, or connects the first end and the second end of the first switch module with the fifth end and the sixth end of the first switch module to form two channels. The second switch module is configured to output the self-test signal or the sampling signal based on the second control signal, including: The second switch module connects its first terminal to its third terminal based on the second control signal to output the self-test signal, or connects its second terminal to its third terminal based on the second control signal to output the sampling signal.

13. The apparatus according to claim 11 or 12, characterized in that, The first control signal and the second control signal are transmitted through the same control line, which is used to connect the control terminals of the first switch module and the second switch module to the control terminal of the control device, respectively.

14. The apparatus according to any one of claims 10-13, characterized in that, The self-test module, the sampling module, and the mode switching module are also connected to the control device via the same power line.

15. The apparatus according to any one of claims 10-14, characterized in that, When the detection device is deployed on a vehicle, the length of the connecting cable between the detection device and the elastic wave sensor is less than the length of the connecting cable between the detection device and the control device.

16. A circuit control method, characterized in that, An application is made in a control device configured to connect to a detection device, the detection device being configured to connect to an elastic wave sensor, the detection device including a self-test module, a sampling module, and a mode switching module, the mode switching module being connected to both the self-test module and the sampling module, the method comprising: The control signal is determined according to the preset command; The control signal is output to the detection device; Acquire the self-test signal generated by the detection device or the sampling signal generated by the detection device; The control device is set up independently of the detection device.

17. The method according to claim 16, characterized in that, The preset instruction is used to instruct the execution of signal self-test or signal sampling, wherein the signal self-test is executed before the signal sampling.

18. The method according to claim 16 or 17, characterized in that, The mode switching module includes a first switch module and a second switch module. The control signal includes a first control signal and a second control signal. The first switch module is configured to connect to the elastic wave sensor. The first switch module is also connected to the self-test module and the sampling module respectively. The self-test module and the sampling module are respectively connected to the control device through the second switch module. Outputting the control signal to the detection device includes: The first control signal is output to the first switch module, and the second control signal is output to the second switch module.

19. The method according to claim 18, characterized in that, The first control signal and the second control signal are transmitted through the same control line, which is used to connect the control terminal of the control device to the control terminal of the first switch module and the control terminal of the second switch module, respectively.

20. The method according to any one of claims 10-12, characterized in that, The number of elastic wave sensors is N, and the number of detection devices is also N. The N detection devices are connected to the control device, and each detection device is also connected to one of the N elastic wave sensors. N is an integer greater than 1. The control signal is transmitted by the control device to the mode switching modules of the N detection devices through the same control line or M control lines. M is an integer greater than 1 and less than or equal to N.

21. The method according to claim 20, characterized in that, The N detection devices are also connected to the control device via the same power line.

22. The method according to claim 20 or 21, characterized in that, The N detection devices and the control device are all grounded through the same ground wire.

23. A detection system, characterized in that, The detection system includes a control device, multiple detection devices, and multiple elastic wave sensors. The multiple detection devices are respectively connected to the control device, and each detection device is also connected to one of the multiple elastic wave sensors. The detection device is the detection device as described in any one of claims 1-8.

24. The detection system according to claim 23, characterized in that, The number of the plurality of detection devices is N, where N is an integer greater than 1. The plurality of detection devices are connected to the control device through the same control line or M control lines, where M is a positive integer less than or equal to N.

25. The detection system according to claim 23 or 24, characterized in that, The multiple detection devices are also connected to the control device via the same power line.

26. The detection system according to any one of claims 23-25, characterized in that, The multiple detection devices are also connected to the control device via the same ground wire.

27. The detection system according to any one of claims 23-26, characterized in that, The detection system includes the control device and multiple sensor modules. Each sensor module includes one elastic wave sensor and one detection device from the multiple elastic wave sensors. The elastic wave sensor and the detection device are different between any two sensor modules.

28. A control device, characterized in that, The control device includes a communication unit and a processing unit, and the control device is used to implement the method as described in any one of claims 16-22.

29. A control device, characterized in that, The control device includes at least one processor and a general-purpose input / output (GPIO) interface; The GPIO interface is used to receive and / or send data, and / or the GPIO interface is used to provide input and / or output to the processor; the at least one processor is used to implement the method according to any one of claims 16-22.

30. A vehicle, characterized in that, The vehicle includes a detection device as described in any one of claims 1-8 or a sensor module as described in claim 9, and / or a control device as described in claim 28 or 29, or a detection system as described in any one of claims 23-27.

31. A computer-readable storage medium containing computer instructions, characterized in that, When the computer instructions are executed by the processor, they implement the method as described in any one of claims 10-15, or the method as described in any one of claims 16-22.

32. A computer program product containing instructions, characterized in that, When the instruction is executed by the control device, the control device performs the method as described in any one of claims 10-15, or performs the method as described in any one of claims 16-22.