Measurement system and sensor circuit for capacitive sensor
By designing the current caused by the voltage difference between the DC reference driver and the sensor driver in the capacitive sensor circuit to flow through the switch matrix, combined with the DC decoupling device, the self-test of the components in the capacitive sensor circuit is realized, solving the existing problem. The technology detects difficult problems and improves the safety and reliability of sensors.
Patent Information
- Application Number
- CN202410366142.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-29
- Filing Date
- 2024-03-28
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-03-28
AI Technical Summary
It is difficult to effectively check and ensure the normal operation of the switch matrix and safety-related components in capacitive sensor circuits with existing technology, especially in safety-related applications in the automotive field. There is a lack of self-testing methods that are simple and do not require additional components.
A sensor circuit is designed, including a DC reference driver, a sensor driver, and a switch matrix. The components in the switch path are checked by generating a voltage difference and measuring the current, using the current flowing caused by the voltage difference between the DC reference driver and the sensor driver. The switch matrix, combined with the DC decoupling device, ensures the isolation of DC signals and enables self-testing.
It enables reliable and simple inspection of the components within the capacitive sensor circuit, enables complete diagnosis of the measurement system without the need for additional components, identifies faults and external error modes of the switch matrix and resistors, and improves the safety of the sensor. and reliability.
Smart Images

Figure CN118730176A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a sensor circuit for a capacitive sensor, the sensor circuit comprising a DC reference driver for generating a DC reference signal, a sensor driver for generating a sinusoidal signal for feeding the capacitive sensor, a plurality of sensor ports for being connected to a capacitive sensor in each case, and a switch matrix for establishing the connection of the sensor ports to the driver. The invention also relates to a capacitive measuring system for evaluating a capacitive sensor, the capacitive measuring system comprising: a sensor, a sensor circuit for the capacitive sensor, and a DC decoupling device between the sensor circuit and the sensor. The invention also relates to a corresponding method for performing an integrated self-test of safety-related components of a sensor circuit of a capacitive sensor. Background Art
[0002] Capacitive sensors and corresponding measuring systems or sensor circuits are used in many areas of everyday life, such as contactless sensors or touch sensors. They are particularly common in the automotive sector and in vehicles. Capacitive sensors are used, for example, when it is necessary to check whether the vehicle driver has his hands on the steering wheel and can or is actively driving the vehicle. In the case of autonomous or semi-autonomous systems, it is checked at regular intervals whether the vehicle driver has his hands on the steering wheel to determine whether the vehicle driver is awake and can manually drive the vehicle if necessary.
[0003] Another area of application in the automotive sector is the detection of seat occupancy. When a passenger sits on a seat in a vehicle, he or she must be wearing a seat belt. To this end, the seat occupancy is detected on the one hand and on the other hand a check is made as to whether the seat belt buckle is fastened by the seat belt. This must always be the case if the seat is occupied. There are various capacitive sensors that perform this check.
[0004] For example, DE 112010004513 B4 proposes a system for detecting occupancy in a vehicle, in which not only the overall occupancy of a seat is detected, but also whether a person or another object with a significantly lower weight than a person is on the seat. In addition to the purely capacitive detection of the presence of a person or an object, the possibility of detecting relative forces is also proposed. For example, multiple sensors and a shielding electrode are used here, which can be interconnected in different ways using a switch matrix.
[0005] Since the use of such capacitive sensors in the automotive sector involves safety-relevant components, all components of these components need to be checked for proper functioning, in particular the switches for switching the individual internal switching paths. Summary of the invention
[0006] This object is achieved by a sensor circuit having the features of claim 1 , by a capacitive measuring system having the features of claim 9 , and by a method having the features of claim 15 .
[0007] In the context of the present invention, it has been recognized that individual components in a sensor circuit can be tested by means of an integrated self-test. It is important that the switches and resistors used in particular in the line paths of the switch matrix function properly. The present invention allows these components to be tested reliably and simply without the need for additional components.
[0008] On the one hand, the present invention relates to a sensor circuit for a capacitive sensor, which includes a DC reference driver for generating a DC reference signal, a sensor driver for generating a sinusoidal signal, a plurality of sensor ports for connecting to each capacitive sensor, and a switch matrix for establishing a connection between the sensor port and the driver. The sensor driver has an output port for outputting a sinusoidal signal for feeding the capacitive sensor. It also includes a current output port for outputting a measurement current corresponding to the sinusoidal signal output at the output port. The measurement current can be used to measure and check safety-related components. The switch matrix has a line path (Leitungspfad) for each sensor port, and the line path includes an RT switch (a switch close to the DC reference driver), a sensor switch, and a load resistor. The RT switch and the load resistor are preferably connected in series between the DC reference driver and the corresponding sensor port. The sensor switch is connected between the sensor port and the sensor driver.
[0009] The switch matrix enables one of the sensor ports of the sensor circuit to be connected to the sensor driver, so that during operation of the sensor circuit and for measuring the connected sensor, the sinusoidal signal output by the sensor driver reaches the capacitive sensor connected at the corresponding sensor port. The other sensor ports are decoupled from the sensor driver by opening the sensor switches in the corresponding line path. The other sensor ports are supplied with a DC reference signal from the DC reference driver in order to raise the port to a defined potential. For this purpose, the RT switch is closed in series with the load resistor.
[0010] A change in the impedance of the capacitive sensor results in a change in the current discharged by the sensor driver. This current is additionally measured at the current output port, so that a change in the impedance is reflected in a change in the current. The measured current at the current output port is fed to an evaluation unit, which can preferably include an analog signal processing unit and a filter in order to provide a signal for an analog-to-digital converter, so that, for example, the current signal can be further processed into a digital signal.
[0011] The DC coupling arrangement between the switch matrix and the capacitive sensor ensures DC decoupling. However, it is passable for the AC signal or sinusoidal signal output by the sensor driver for detecting the capacitive sensor. The DC coupling device only suppresses direct current signals. This can be done, for example, by means of a capacitor (Kondensator) or a capacitance.
[0012] According to the present invention, the sensor circuit is designed to perform a self-test, wherein the sensor driver outputs a DC signal. Therefore, the sensor driver is designed to output not only an AC signal or a sinusoidal signal but also a DC signal at its output. By generating a direct voltage, a voltage difference is formed between the DC reference driver and the sensor driver, which is applied to the switch matrix. Here, during the self-test, the switch path between the DC reference driver and the sensor driver is closed, wherein the switch path includes a RT switch, a sensor switch and a load resistor connected in series. A current that can be measured flows through the switch matrix by the generated voltage difference. Preferably, the current is tapped and measured at the current output port of the sensor driver. This is performed, for example, by an evaluation unit.
[0013] In this way, the components in the switch paths of the switch matrix can be checked for each sensor port, wherein the load resistors, RT switches and sensor switches are assigned to the sensor ports. The individual sensor ports are checked in turn.
[0014] In order to measure only the safety-related components in the switch path for one sensor port, the other sensor port of the sensor circuit is isolated from the two drivers, DC reference driver and sensor driver, by opening the corresponding RT switch and sensor switch associated with this sensor port.
[0015] In another aspect, the invention relates to a capacitive measuring system for evaluating a capacitive sensor, comprising a sensor preferably having sensor electrodes, a sensor circuit for the capacitive sensor, and a DC decoupling device between the sensor circuit and the sensor. The sensor circuit here comprises a DC reference driver for generating a DC reference signal, a sensor driver for generating and outputting an AC signal, such as a sinusoidal signal, at an output port to feed the sensor, a sensor port for connecting to the sensor, and a switch matrix for establishing the connection of the sensor port to the two drivers, namely the DC reference driver and the sensor driver. The sensor circuit preferably comprises a plurality of sensor ports in order to be able to operate and evaluate a plurality of capacitive sensors.
[0016] According to the present invention, the sensor driver has a current output port to output a measurement current corresponding to an AC signal or a sinusoidal signal output at the output port. The switch matrix includes an RT switch, a sensor switch, and a load resistor connected in series with the RT switch. Through these components, the switch matrix allows the connection of the sensor port with a DC reference driver and / or the sensor driver.
[0017] According to the invention, the sensor circuit is designed to perform a self-test, wherein the sensor driver outputs a DC signal, so that a voltage difference is formed between the DC reference driver and the sensor driver, which voltage difference is applied to the switch matrix. During the self-test, the current flowing through the switch matrix can be measured, for example, by evaluating the measurement current output at the current output port.
[0018] To create a voltage difference between the DC reference driver and the sensor driver during self-test, the RT switch and the sensor switch of the associated sensor port are closed to provide a voltage difference between the DC reference driver and the sensor driver. The sensor ports form a switching path. For all other sensor ports, the associated RT switches and sensor switches are preferably disconnected, so that these ports are unconnected and decoupled from the driver. Thus, preferably only one switching path of a sensor port is always measured.
[0019] Further aspects of the invention relate to a corresponding method and a computer program product with a program code for performing the steps of the method when the program code is executed on a computer, and to a storage medium having a computer program stored thereon, which, when executed on a computer, causes the method described herein to be performed. The method can also be implemented completely or partially in hardware.
[0020] The switch matrix of the sensor circuit connects the sensor driver to the various capacitive sensors that are connected and whose impedance is to be measured in turn. The functionality and safety-related components of the switch matrix must be checked regularly for the sensors in the vehicle. The measuring system according to the invention is based on the following principle: the sensors are controlled with AC signals to measure their impedance. There is no DC path between the sensor ports and the ground (Masse) (ground GND) or the voltage supply. This is ensured by a DC decoupling device. In order to check the switch matrix and the resistors in the circuit, a self-test (BIST) is preferably performed cyclically between two measurements. For this purpose, only existing circuits from the sensor circuit to which the impedance measurement is applied are used. No additional measuring circuits, comparators or switches are required.
[0021] The self-test is carried out using a DC voltage which is output by the sensor driver and, if necessary, by the shield driver for the shield electrode instead of the AC signal. The current is measured at the current output using the same signal path that is also used for the impedance measurement. The current is measured for different switch positions of the RT switch and the sensor switch. It must be approximately zero when one of the switches is open. If both switches are closed, the (digitized) current must be between defined limits, which are stored in a memory unit and can be determined in production tests.
[0022] Preferred embodiments of the invention are described in the dependent claims. It is understood that the above-mentioned features and the features to be explained below can be used not only in the respectively specified combination but also in other combinations or individually without departing from the scope of the invention. In particular, the method and the computer program product can be implemented according to the embodiments described in the dependent claims for the sensor circuit and the measuring system.
[0023] According to the invention, the safety-related components of the sensor circuit are checked in a self-test, thereby enabling a diagnosis of the integrity of the measuring path of the measuring system. Here, circuit parts of the sensor circuit which are used, for example, in an IC and for the actual application of AC capacitance measurement are used for DC resistance measurement. No additional components, such as comparators, measuring devices or switches, are required.
[0024] In a preferred embodiment, the sensor circuit comprises at least four sensor ports, preferably at least eight sensor ports. Such a circuit reflects most application requirements of capacitive sensors. In this way, a sensor element with four or eight capacitive sensors can be used. In each case, it has proven to be advantageous if the sensor circuit has 16 sensor ports, so that a total of 16 capacitive sensors can be connected.
[0025] A preferred embodiment of the sensor circuit provides that during the self-test the switch matrix is switched such that the individual sensor ports are actuated in an alternating manner. Thus, all sensor ports and the switches and load resistors present between the sensor ports and the sensor driver and between the sensor ports and the DC reference driver can be checked.
[0026] In a further preferred embodiment, other sensor ports which are not controlled and whose associated components are not checked are set to a defined potential. They are particularly preferably decoupled from the switch matrix.
[0027] In another preferred embodiment of the sensor circuit, the sensor switch and / or the RT switch of the switch path for the relevant sensor port are switched to different switch positions during the self-test. In one embodiment, the RT switch and the sensor switch are both closed. In this case, the determined current value or current measurement value or its digitized value must be between defined limits. These limits can be fixedly defined or determined in production tests after production. If these limit values are determined in production tests, narrower limits can be achieved because tolerances related to manufacturing can be calibrated (auskalibrieren). These limit values are preferably stored in a non-volatile memory.
[0028] If at least one of the two switches in the switching path (RT switch and sensor switch) is open, the current value must be zero.
[0029] The sensor circuit according to the invention has the advantage that existing circuits from capacitive sensors that apply impedance measurement can be used for self-testing. This integrated self-test is called "BIST". This name is also used by experts in the meantime. The term stands for "Built-In Self-Test". The advantage of this BIST measurement is that no additional voltage comparators, measuring devices or switches are required. Therefore, the BIST test should be very simple and cost-effective to perform. This BIST test is also very robust because there are no additional components that may be prone to errors. The BIST measurement is carried out using a DC voltage, which is output by the sensor driver instead of an AC signal, such as a sinusoidal signal. The current is measured with the help of the same signal path as is also used for the impedance measurement.
[0030] With BIST measurements, not only the switches of the switch matrix can be checked, but also their resistance. In addition, however, individual error modes of the external wiring can also be detected. For example, a short circuit of a capacitor connected to a sensor port can be detected. A short-circuited capacitor causes an increase in the DC current and is therefore detected. Line interruptions can usually also be detected, for example in the incoming line between the sensor circuit and the capacitive sensor.
[0031] In a preferred embodiment, the sensor circuit is designed so that it has a DC driver input and a sensor driver input. A DC signal can be fed to a DC reference driver at the DC driver input, which is then output by the driver. At the sensor driver input, an external signal can be used to supply the sensor driver, which outputs the external signal at the sensor driver input. A sinusoidal signal or another AC signal can be fed at the sensor driver input, which is used to measure the applied impedance. For BIST testing, a DC signal can be fed at the sensor driver input instead of an AC signal, which is used and output during the self-test. In this way, it is also easily possible to enable the sensor driver to output not only an AC signal or a sinusoidal signal but also a DC signal.
[0032] In a preferred embodiment, the sensor circuit is designed to also supply and manipulate a shield electrode of the sensor element or a shield electrode belonging to a capacitive sensor. The sensor circuit preferably comprises a shield driver for generating a shield sinusoidal signal or a shield AC signal, wherein the shield sinusoidal signal or the shield AC signal is output at a shield port to which such a shield electrode can be connected. The shield electrode is preferably connected in parallel with the capacitive sensor so that measurements can be performed to improve the sensor accuracy. Furthermore, a shield electrode is usually used in order to suppress parasitic capacitance and other parasitic effects in the impedance measurement of the sensor.
[0033] The sensor circuit preferably includes a shielding switching load port (Schirm-Switchload-Port), which is also arranged to be connected to the shielding electrode, and the sensor circuit has an assigned sensor switching load port for each sensor port for connecting to the sensor. A switching load path is formed between the shielding switching load port and each sensor switching load port, which includes a switching load switch and a switching load resistor. The switching load path can be integrated in the switch matrix of the sensor circuit. Each sensor switching load port is connected to the associated shielding switching load port via the switching load path. The switching load resistor can be formed by one or more resistors arranged in series. In practice, a value of 2.5kOhm has proven to be advantageous.
[0034] In a preferred embodiment of the sensor circuit, it is provided that each switching load path can be checked in a self-test. The shield driver is preferably designed to output a shield DC signal used during the self-test. The screen DC signal is preferably not equal to the DC signal of the sensor driver, and it is particularly preferably less than the DC signal of the sensor driver. In this way, a voltage difference is formed between the two drivers, thereby driving the current through the switching load path during the self-test, and the switching load resistance and the switching load switch can be checked. To this end, a shield check path is formed by closing the sensor switch and establishing a connection between the shield port and the shield switching load port and a connection between the sensor port and the sensor switching load port. In order to check, on the one hand, the switching load switch is closed to check the switching load resistance. The measurement current fed into the current output port by the sensor driver is measured. Comparison of the current with the limit value allows conclusions to be drawn as follows: whether the switching load resistance is fault-free.
[0035] When the switching load switch is open, the measured current value must be close to or equal to zero. In this way, it is also possible to reliably check whether the switching load switch is fault-free by means of these two measurements using a closed and open switching load switch.
[0036] In a preferred embodiment of the measuring system, the sensor circuit is designed to perform a self-test on all sensor ports, preferably on all sensor ports sequentially. In a particularly preferred embodiment, after each measurement of the impedance of the capacitive sensor, a self-test is performed on the corresponding sensor port.
[0037] Preferably, the sensor circuit of the measuring system has a plurality of sensor ports, preferably at least four, particularly preferably at least eight sensor ports. In this way, a plurality of capacitive sensors can be connected to the sensor circuit and checked by means of a self-test.
[0038] In a further preferred embodiment, a filter network is arranged between the sensor circuit and the sensor, which preferably provides a filter for each capacitive sensor. In a preferred embodiment, a filter is arranged between each sensor of the sensor circuit and each sensor port, the filter comprising a coupling capacitor, which preferably forms a DC coupling device. The filter is particularly preferably designed as an EMV filter (electromagnetic compatibility filter) comprising a series inductance and an additional parallel capacitance.
[0039] In a likewise preferred embodiment, the measuring system comprises a shielding electrode, which can preferably be connected in parallel to the sensor. A sensor element is particularly preferably formed by the shielding electrode and the capacitive sensor. Also preferred is a sensor element comprising a shielding electrode and a plurality of capacitive sensors.
[0040] Preferably, the sensor circuit of the measuring system has a shield driver for generating a shield sinusoidal signal or a shield AC signal, wherein the shield sinusoidal signal or the shield AC signal is output at a shield port of the sensor circuit to which the shield electrode is connected. In this way, the sensor accuracy can be improved, for example, parasitic capacitance and its influence can be prevented.
[0041] In a preferred embodiment, the sensor circuit of the measuring system includes two switching load ports, which are connected to each other via a switching load path having a switching load switch and a switching load resistor. One of the switching load ports is a shielding switching load port for connecting to a shielding electrode. The second switching load port is a sensor switching load port for connecting to a sensor. If there are multiple sensor ports in the sensor circuit, the sensor circuit preferably includes a corresponding sensor switching load port for each sensor port, which is assigned to the sensor port. The sensor port is particularly preferably connected to the assigned sensor switching load port. This connection can also be formed, for example, in a filter arranged between the sensor circuit and the sensor.
[0042] A preferred embodiment of the measuring system comprises an evaluation unit, which can preferably be part of the sensor circuit. The evaluation unit particularly preferably has an analog signal processing unit and outputs the measurement signal for AD conversion, for example to an AD converter. The evaluation unit preferably also comprises an amplifier and / or a filter in order to preprocess the measurement signal for AD conversion accordingly. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The present invention will be described and explained in more detail below using some selected embodiments in conjunction with the accompanying drawings.
[0044] Figure 1 The sensor circuit, the sensor element and the plurality of sensors according to the present invention are shown;
[0045] Figure 2 It shows that the Figure 2 A measurement system for a sensor circuit in a
[0046] Figure 3 Shows Figure 1 Alternative implementations of the sensor circuit in;
[0047] Figure 4 A schematic circuit diagram of another embodiment of a sensor circuit having a sensor is shown;
[0048] Figure 5 A block diagram showing the implementation of the sensor circuit on the IC is shown;
[0049] Figure 6 Shown is the Figure 1 The principle flow of the method for integrated self-test of the sensor circuit; and
[0050] Figure 7 Shown according to Figure 3 Method for integrated self-testing of safety-related components in sensor circuits. DETAILED DESCRIPTION
[0051] Figure 1 A sensor circuit 20 is shown, which includes a DC reference driver 22 and a sensor driver 24. The sensor circuit 20 includes a switch matrix 30 arranged between the two drivers and the respective sensor ports 40, wherein the respective sensors 50 can be connected to the respective sensor ports 40. The DC driver output 26 can be connected to each of the sensor ports 40 via an internal line path of the switch matrix 30. The same applies to the output port 28 of the sensor driver 24, which can be switched to each of the sensor ports 40.
[0052] The sensor driver 24 has a current output port 29 at which a measurement current is measured which corresponds to the signal at the output port 28, which is, for example, a copy of this signal. An optional evaluation unit 21 can be connected to the current output port 29, which can be an analog signal processing unit or an analog signal processor (ASP), making the signal available at the measurement output 23, which signal can be processed with an AD converter.
[0053] The switch matrix 30 includes a plurality of switches and load resistors 32 to interconnect the driver outputs with the respective sensor ports 40. The DC driver output 26 can be interconnected with the sensor port 40 via the load resistor 32 and the RT switch 34 connected in series. When the RT switch 34a is closed, the DC reference signal output from the DC reference driver 22 is applied at the sensor port 40. The sensor port 40a is thus raised to a DC voltage potential. At the same time, the sensor switch 36a is open, so that there is no connection to the sensor driver 24.
[0054] If the connected sensor is to be measured at sensor port 40b, the corresponding sensor switch 36b is closed while the RT switch 34b is opened. Thus, the AC signal output by sensor driver 24 at output port 28 is forwarded to sensor port 40b so that measurement can be performed with capacitive sensor 50.
[0055] The sensor circuit 20 may include a DC decoupling device 62, which can be switched to a corresponding path, for example, by means of an RT switch 34, if a DC signal is not to be supplied to the connected sensor port 40. The DC decoupling device 62 is preferably arranged in a filter 60, wherein the filter 60 is arranged between a sensor element 52 having a plurality of capacitive sensors 50 and the sensor circuit 20. The connection between the sensor circuit 20 and the sensor 50 is made via the filter 60. The DC decoupling device 62 can be formed, for example, by a series capacitor arranged in the incoming line to the sensor 50. The filter 60 shown here also includes a series inductor 64 at the filter input and an EMC capacitor connected to ground (GND). 66. In this way, undesired interfering signals are decoupled.
[0056] After measuring the sensor 50 connected to one of the sensor ports 40, for example, the sensor port 40b, as shown in FIG. Figure 1 As shown, the sensor port 40b is decoupled from the sensor driver 24 by opening the sensor switch 36b. Then, the RT switch 34b is closed, so that the sensor port 40b is again at the DC voltage potential of the DC reference driver 22. The DC decoupling device 62 prevents: the DC voltage signal is transmitted to the sensor 50. Then, preferably, all other sensor ports 40 are actuated in sequence so that a measurement can be performed with the corresponding sensor 50. The RT switch 34 and the sensor switch 36 are switched accordingly.
[0057] After each measurement cycle, a self-test is preferably performed on each individual sensor port 40 . Figure 1 , the checking of the sensor port 40b is shown in FIG. 4 . For this purpose, a switch path 38 (dashed line) is formed in the switch matrix 30 . Both the RT switch 34b and the sensor switch 36b are closed. With the aid of the sensor driver 24 , a DC signal (instead of an AC signal) is generated, which is preferably greater than the DC reference signal of the DC reference driver 22 . Due to the voltage difference between the two drivers, the current flowing through the load resistor 32b is also output at the current output port 29 and can be filtered with the aid of analog signal processing in the evaluation unit 21 , can be amplified and digitized using an analog-to-digital converter arranged at the measurement output 23 . With the exception of the sensor port 40b, all other sensor ports 40 are unconnected, since the corresponding RT switches 34 and sensor switches 36 are disconnected.
[0058] During the self-test (BIST), the associated RT switch 34 and sensor switch 36 and the load resistor 32, preferably 500 Ohm, are checked for each sensor port 40. First, the two switches 34, 36 are closed simultaneously. The output voltage of the sensor driver 24 is preferably set to a maximum voltage, for example 1.9V. Therefore, the output voltage is 0.5V higher than the output voltage of the DC reference driver 22, and the output voltage of the DC reference driver 22 is preferably 1.4V. The current provided by the sensor driver 24 is output as a measurement current at the current output port 29 and is amplified in the evaluation unit 21, wherein a high-pass filter that may be present is bridged during the BIST execution so that the DC signal can be measured. The digitized current value is compared with the limit value determined during the production test and can be stored in the memory. Preferably, the measured value must be between these two limits in the production test.
[0059] The self-test measurement for each sensor port 40 is repeated twice, wherein one of the two switches, the RT switch 34 or the sensor switch 36, is opened. For both measurements, the current must be close to zero. It is thus possible to check whether the digitized measured value tapped at the current output port 29 is less than the lower limit value.
[0060] Therefore, the functions of all RT switches 34 and sensor switches 36 can be checked through this circuit. At the same time, the size of the load resistor 32 can also be checked.
[0061] Figure 2 A measuring system 10 is shown, which comprises: a sensor circuit 20, a sensor element 52 with a plurality of sensors 50, and a filter 60 connected between the sensor element 52 and the sensor circuit 20. In the embodiment shown here, the sensor circuit 20 has eight sensor ports, so that eight sensors 50 of the sensor element 52 can be measured. The sensor circuit 20 comprises a switch matrix 30 in order to be able to interconnect the outputs of the DC reference driver 22 and the sensor driver 24 with the individual sensor ports 40. An evaluation unit 21 is connected to the current output port 29, whose output signal is output to the AD converter 12. The AD converter 12 can include a comparator unit in order to check a limit value, for example stored in the memory unit 14, against a digitized current measurement value. The processing unit 16 can perform a comparison between the digitized current value and the limit value and generate a corresponding evaluation signal or output an error signal. In addition, the processing unit 16 can control the sensor circuit 20 and open or close the corresponding switch.
[0062] In the embodiment of the measuring system 10 shown here, a DC source 17 is arranged at a DC driver input 25, which generates a DC signal and is thus fed to a DC reference driver 22. A signal source 18 is arranged at a sensor driver input 27 of the sensor driver 24, which can output an AC signal and alternatively a DC signal. The sensor driver 24 can thus be fed with an AC signal, for example a sinusoidal signal, or with a DC signal. The latter is used for self-testing.
[0063] Figure 3 An alternative embodiment of the sensor circuit 20 is shown, which additionally includes a shield driver 70 connected to the shield electrode 54 of the sensor element 52. The shield electrode 54 and the sensor 50 are each represented as an RC network. The relationship between the shield electrode 54 and the sensor 50 can also be represented using an RC network, such as Figure 3 as shown in .
[0064] During the measurement, the shield driver 70 generates a shield AC signal which is output via a shield port 72 and via the filter 60 to the shield electrode 54. In the filter 60, a node 68 is arranged downstream of the inductor 64, from which a line with a further series inductor 64 leads to a shield switching load port 74 of the sensor circuit 20.
[0065] Each sensor port 40 is assigned a sensor switching load port 76, which is connected to the sensor port 40 at a further node 69 in the filter 60. Between the shielding switching load port 74 and the respective sensor switching load port 76 there is a switchable connection to a switching load resistor 77, wherein in the embodiment shown here, the switching load resistor 77 consists of two single resistors and a switching load switch 78 connected in series. Different measurements can be made by means of a corresponding interconnection and different switching states of the switching load switch 78, the RT switch 34 and the sensor switch 36. In the example of a capacitive seat occupancy sensor shown here, not only can the basic occupancy of the seat be detected, but also qualitative force measurements can be performed.
[0066] Therefore, the switching load switch 78 and the switching load resistor 77 are also safety-related components, whose functional capabilities must be checked using the BIST. In a similar manner, when checking the sensor switch 36 and the RT switch 34, a DC signal is fed to the shield driver 70 so that a DC signal is output at its output. A voltage difference is formed between the shield driver 70 and the sensor driver 24, which are both operated with direct current, which voltage difference causes a current to flow through the switching load path 80, as shown by the dashed line. By opening and closing the switching load switch 78 and the sensor switch 36, the functional capabilities of the switching load path 80d and the components it comprises can be checked for each sensor port 40. Therefore, line interruptions in the switching load path 80, such as a defective inductor 64 in the path, can also be identified.
[0067] Figure 4 A special embodiment of a sensor circuit 20 is shown, which is designed as a sensor IC. The sensor circuit 20 has a total of eight sensor ports 40, of which four sensor ports 40 are connected to a reference element 90 having four inputs. In addition to the four further sensor ports 40, there is a corresponding sensor switching load port 76, which is connected via a filter 60 to a sensor element 52 having four sensors 50. The sensor element further comprises a shielding electrode 54, which is connected to the shielding port 72 via the filter 60. The shielding switching load port 74 is internally connected to the sensor switching load port 76, as shown in FIG. Figure 3 The host microcontroller 92 connected to the sensor circuit 20 is responsible for operating the sensor circuit 20 and providing the necessary signals and receiving the measurement results or the pre-processed measurement current of the sensor driver 24 .
[0068] Figure 5 An implementation of an integrated module, an IC module 94 with a sensor circuit 20, to which eight capacitive sensors 50 and shielding electrodes 54 can be connected. The corresponding sensor port 40, the sensor switching load port 76, the shielding port 72 and the shielding switching load port 74 are connected to the left side. The IC module 94 also includes a signal source module 96, which provides AC signals, such as sinusoidal signals and DC signals, to the corresponding drivers of the sensor circuit 20. The analog signal processor 98 further processes the measurement signal output at the current output port 29 of the sensor driver 24 and provides it to the control unit 100 fed by the clock generator 102. The individual modules are fed via a voltage supply module 104. Other implementations of the IC module are possible. However, the IC shown here represents a very compact structural type.
[0069] Figure 6The principle flow of a method for integrated self-testing of safety-related components of a sensor circuit for a capacitive sensor is shown. The corresponding implementation of the sensor circuit is described above. The method comprises the following steps:
[0070] In a first step S10, the RT switches 34 and the sensor switches 36 of the switch paths 38 of the switch matrix 30 for the selected sensor port 40 are closed. In a further step S12 of the method, the sensor switches 36 and the RT switches 34 of the other switch paths 38 of the switch matrix 30 are opened. The step S14 of outputting a DC reference signal to the DC reference driver 22 is followed by a step S18 of outputting a DC signal to the sensor driver 24, wherein the DC signal is different from the DC reference signal and preferably larger. Step S20 involves measuring a measurement current provided at the current output port 29 of the sensor driver 24. In step S22, the measurement current is compared with a limit value.
[0071] In optional step S24, the RT switch 34 and / or the sensor switch 36 of the selected switch path 38 is opened. Steps S14 to S22 are repeated for each switch position, wherein preferably only one of the two switches 34, 36 is opened. These optional steps are as follows: Figure 6 As shown by the dotted line in .
[0072] Another preferred embodiment of the method includes opening the two switches of the selected switching path 38 of the switch matrix 30 in step S26. In the next step, another switching path is selected and the method begins again with step S10. The method is performed for all sensor ports 40 of the sensor circuit 20.
[0073] Figure 7 Shows that you can follow the Figure 6 When a shielding electrode is used in a sensor element having a plurality of sensors, a self-test method according to Figure 7Method. In step S30, all RT switches 34 and sensor switches 38 for all switch paths 36 of the sensor port 40 are disconnected. In step S32, it is carried out that: a sensor port 40 is selected to check the associated sensor switching load port 76. Next is a step S34, which includes disconnecting the switching load switches 78 of all other switching load paths 80. For the selected sensor port 40, in step S36 it is carried out that: the corresponding sensor switch 36 is closed. Step S38 provides that: a DC shielding signal is output at the shielding driver 70. In step S40, a DC signal different from the DC shielding signal, preferably larger, is output at the sensor driver 24. Step S42 includes: measuring a measurement current provided at the current output port 29 of the sensor driver 24. Next is a step S44 of comparing the measured current with a limit value.
[0074] In an optional embodiment, further optional steps of the method are performed. Step S46 involves opening the switching load switch 78 of the selected switching load path 80. Step S48 involves measuring the measurement current provided at the current output port of the sensor driver 22. This step is followed by step S50, which provides for comparing the measurement current with a limit value.
[0075] Optionally, the process may include further steps. In step S52, the switching load switch 78 and the sensor switch 36 for the selected sensor port 40 are opened. Step S54 includes: selecting another switching load path 80 of the sensor circuit 20. Optionally, this is followed by Figure 7 The other steps of the method.
[0076] Another likewise preferred embodiment of the method provides in step S60 that the measured current is digitized before the comparison with the limit value. In step S62 it is checked whether the digital value of the measured current complies with the corresponding limit value or values. Step S64 involves outputting a verification signal to an output unit.
[0077] The invention has been fully described and explained using the drawings and the specification. The description and explanation are to be understood as illustrative and not restrictive. The invention is not limited to the disclosed embodiments. Other embodiments or variations may occur to those skilled in the art upon use of the invention and careful analysis of the drawings, the disclosure, and the subsequent patent claims.
[0078] In the claims, the words "comprising" and "having" do not exclude the presence of other elements or steps. The indefinite article "a" or "an" does not exclude the presence of a plurality. A single element or a single unit may perform the functions of several of the units mentioned in the patent claims. Elements, units, devices and systems may be implemented partially or completely in hardware and / or in software. The mere mention of some measures in a number of different dependent claims should not be understood as meaning that a combination of these measures can also not be used to advantage. The computer program may be stored / sold on a non-volatile data carrier. The computer program may be sold together with the hardware and / or as part of the hardware, for example via the Internet or via a wired or wireless communication system. The reference numerals in the patent claims should not be understood as restrictive.
[0079] Reference numerals
[0080] 10 Measurement system
[0081] 12 AD converter
[0082] 14 Storage Unit
[0083] 16 Processing Units
[0084] 17 DC power supply
[0085] 18 Signal Source
[0086] 20 Sensor circuit
[0087] 21 evaluation units
[0088] 22 DC reference driver
[0089] 23 Measuring output
[0090] 24 Sensor Driver
[0091] 25 DC driver input terminal
[0092] 26 DC driver output
[0093] 27 Sensor driver input
[0094] 28 Output Ports
[0095] 29 Current output port
[0096] 30 Switch Matrix
[0097] 32 Load resistance
[0098] 34 RT switch
[0099] 36 Sensor switch
[0100] 38 Switch Path
[0101] 40 Sensor Port
[0102] 50 Sensors
[0103] 52 sensor element
[0104] 54 Shielding electrode
[0105] 60 Filters
[0106] 62 DC decoupling device
[0107] 64 Inductor
[0108] 66 EMV capacitor
[0109] 68 nodes
[0110] 69 nodes
[0111] 70 Shield Driver
[0112] 72 Shielded Port
[0113] 74 Shielded switched load port
[0114] 76 Sensor switch load port
[0115] 77 Switching Load Resistance
[0116] 78 Switching load switch
[0117] 80 Switching load path
[0118] 90 Reference Components
[0119] 92 Host Microcontroller
[0120] 94 IC Module
[0121] 96 Signal Source Module
[0122] 98 Analog Signal Processor
[0123] 100 Control Unit
[0124] 102 Clock Generator
[0125] 104 Voltage supply module
Claims
1. A sensor circuit for a capacitive sensor (50), the sensor circuit comprising: a DC reference driver (22) for generating a DC reference signal, a sensor driver (24) for generating an AC signal, the sensor driver having an output port (28) for outputting the AC signal for feeding the capacitive sensor (50) and a current output port (29) for outputting a measurement current corresponding to the AC signal output at the output port, a plurality of sensor ports (40) for connecting to respective capacitive sensors (50), a switch matrix (30) for establishing a connection between the sensor port (40) and the driver, wherein the switch matrix (30) has a switch path for each sensor port (40), the switch path having an RT switch (34), a sensor switch (36) and a load resistor (32), and A DC decoupling device between the switch matrix (30) and the capacitive sensor (50), used for DC decoupling the switch matrix (30) and the capacitive sensor (50), The sensor circuit (20) is designed to perform a self-test in which: - the sensor driver (24) outputs a DC signal, so that a voltage difference is formed between the DC reference driver (22) and the sensor driver (24), and the voltage difference is applied to the switch matrix (30), and - measuring the current flowing through the switch matrix (30) during the self-test.
2. The sensor circuit according to claim 1, characterized in that: During the self-test, the switch matrix (30) is switched such that the individual sensor ports (40) are activated in an alternating manner and the other sensor ports (40) are preferably at a defined potential or are particularly preferably decoupled from the switch matrix (30).
3. The sensor circuit according to claim 1 or 2, characterized in that: The sensor switch (36) and / or the RT switch (34) of a switching path are switched to different switching positions during a self-test.
4. The sensor circuit according to any one of the preceding claims, characterized in that The sensor circuit (20) has a DC driver input (25) and a sensor driver input (27) for feeding a DC signal to the DC reference driver (22) and an AC signal and / or a DC signal to the sensor driver (24), wherein the sensor driver (24) is preferably fed with a DC signal during a self-test and outputs the DC signal.
5. The sensor circuit according to any one of the preceding claims, characterized in that The sensor circuit (20) includes a shield driver (70) for generating a shield AC signal, wherein the shield AC signal is output to a shield port (72) to which a shield electrode (54) can be connected, the shield electrode (54) preferably being connected in parallel with the capacitive sensor (50) so that measurements can be performed to improve sensor accuracy.
6. Sensor circuit according to the preceding claim, characterized in that The sensor circuit (20) includes a shielded switching load port (74) for connecting to the shielding electrode (54), and the sensor circuit has an allocated sensor switching load port (76) for each sensor port (40) for connecting to the sensor (50), wherein a switching load path (80) including a switching load switch (78) and a switching load resistor (77) is formed between the shielded switching load port and each sensor switching load port, so that each sensor switching load port and the shielded switching load port are connected to each other.
7. Sensor circuit according to the preceding claim, characterized in that Each switched load path (80) can be checked in a self-test, and wherein, in the self-test, the shielding driver (70) outputs a shielding DC signal, which is preferably not equal to the DC signal of the sensor driver (24), particularly preferably smaller than the DC signal of the sensor driver (24).
8. A capacitive measurement system for evaluating a capacitive sensor, comprising: A sensor (50) having a sensor electrode, a sensor circuit (20) for the capacitive sensor (50), and a DC decoupling device between the sensor circuit (20) and the sensor, Wherein, the sensor circuit (20) comprises: A DC reference driver (22) for generating a DC reference signal; A sensor driver (24) for generating and outputting an AC signal at an output port to feed the sensor (50); a sensor port (40) for connecting to the sensor; A matrix (30) for establishing a connection between the sensor port (40) and the two drivers; in, - the sensor driver (24) has a current output port (29) for outputting a measurement current corresponding to the AC signal output at the output port (28); - the switch matrix (30) comprises RT switches (34), sensor switches (36) and load resistors (32) for connecting to the sensor ports (40); - the sensor circuit (20) is designed to perform a self-test in which the sensor driver (24) outputs a DC signal so that a voltage difference is formed between the DC reference driver (22) and the sensor driver (24), the voltage difference being applied to the switch matrix (30); and - measuring the current flowing through the switch matrix (30) during the self-test.
9. Measuring system according to the preceding claim, characterized in that A filter network is arranged between the sensor circuit (20) and the sensor (50), the filter network preferably comprising a coupling capacitor, the coupling capacitor being particularly preferably a DC decoupling device.
10. The measuring system according to claim 8 or 9, characterized in that A current flowing through the switch matrix (30) during the self-test is measured at a current output port (29) of the sensor driver (24).
11. The measuring system according to any one of claims 8 to 10, characterized in that The measurement system has a shield electrode, and the sensor circuit (20) includes a shield driver (70) for generating a shield AC signal output to a shield port (72), to which a shield electrode (54) is connected, the shield electrode (54) preferably being connected in parallel with the sensor (50) so that measurements can be performed to improve sensor accuracy.
12. Measuring system according to the preceding claim, characterized in that The sensor circuit (20) comprises two switched load ports, which are connected to each other via a switched load path (80) comprising a switched load switch (78) and a switched load resistor (77), wherein one of the switched load ports is a shielding switched load port (74) for connecting to a shielding electrode (54), and the second switched load port is a sensor switched load port (76) for connecting to the sensor (50), wherein preferably each sensor port (40) is assigned a corresponding sensor switched load port, wherein particularly preferably, the sensor port (40) is connected to the assigned sensor switched load port.
13. The measuring system according to any one of claims 8 to 12, characterized in that The sensor circuit (20) comprises an evaluation unit (21), which is preferably an analog signal processing unit and outputs a measurement signal for AD conversion, wherein the evaluation unit preferably comprises an amplifier and / or a filter.
14. The measuring system according to any one of claims 8 to 13, characterized in that A filter (60) is arranged between the sensor circuit (20) and the sensor (50), respectively. The filter preferably comprises a DC coupling device (62), and is further preferably an EMC filter, which comprises a series inductor (64) and a parallel capacitor.
15. A method for integrated self-testing of safety-related components of a sensor circuit (20) for a capacitive sensor (50), wherein the sensor circuit (20) comprises a DC reference driver (22) for generating a DC reference signal, a sensor driver (24) for generating and outputting an AC signal at an output port (28) for feeding the sensor, a plurality of sensor ports (40) for connection to the sensors, a switch matrix (30) for establishing the connection of the sensor ports (40) to the driver, and a DC decoupling device (62) between the switch matrix (30) and the capacitive sensor for DC decoupling from the capacitive sensor, the method comprising a self-test having the following steps: a. closing the RT switch (34) and the sensor switch (36) of the switch path for the sensor port (40); b. disconnecting the RT switches (34) and sensor switches (36) of other switch paths of the switch matrix; c outputting a DC reference signal at the DC reference driver (22); d. outputting a DC signal different from the DC reference signal at the sensor driver (24); e measuring a measurement current provided at a current output port (29) of the sensor driver (24); f Comparing the measured current with a limit value.
16. Method according to the preceding claim, characterized in that The following steps are also included: h. disconnecting the RT switch (34) and / or the sensor switch (36) of the switch path (38); i Optionally repeat steps c to f of claim 15.
17. The method according to claim 15 or 16, characterized in that The following steps are also included: - disconnecting the RT switch (34) and the sensor switch (36) of one of the switch paths (38) of the switch matrix (30); - Select another switching path.
18. A method according to any one of claims 15 to 17, comprising the further step of self-testing: - opening the RT switch (34) and the sensor switch (36) of all switch paths (38) to the sensor port (40); - selecting a sensor port (40) to check the associated switched load path (80); - opening the switching load switches (78) of all other switching load paths; - closing the sensor switch (36) for the selected sensor port (40); - closing the switching load switch of the selected switching load path; - outputting a DC shield signal at the shield driver (70); - outputting a DC signal different from the DC shielding signal at the sensor driver (24); - measuring a measurement current provided at a current output port (29) of the sensor driver (24); - Comparing the measured current with a limit value.
19. The method according to the preceding claim, characterized in that The following steps are also included: - opening the switching load switch (78) of the selected switching load path (80); - measuring a measurement current provided at the current output port (29) of the sensor driver (24); - Comparing the measured current with a limit value.
20. The method according to the preceding claim, characterized in that The following steps are also included: - opening the switching load switch (78) and the sensor switch (36) for the selected sensor port (40); - selecting another switching load path (80); - optionally performing the steps according to claim 18 or 19 for said further switched load path.
21. The method according to any one of claims 15 to 20, characterized in that The following steps are also included: - digitizing the measured current before comparing it with the limit value; - Check whether the measured current value complies with the corresponding limit value; - Outputting a verification signal to the control unit (100).
Citation Information
Patent Citations
Occupancy detection and classification system
DE112010004513B4
Improved choke circuit, and bus power supply incorporating same
CN104143911A
Capacitive sensing device
CN107148752A
Diagnostics for capacitive sensor
CN111699629A
Capacitive measuring system
CN112074707A
