Method for detecting a wiring fault in a capacitive sensor
First Claim
1. A method for detecting a wiring fault in a capacitive sensor connected to at least one communication port of a computer including a passive acquisition interface comprising capacitors, the capacitive sensor being connected to the communication port via the passive acquisition interface, the communication port being configured in either an input mode or an output mode the method comprising:
- in a preliminary calibration step, delivering a square wave voltage capable of at least partially charging the capacitors of said acquisition interface and the capacitive sensor to the acquisition interface during a charging time by the computer, then acquiring and storing at least one reference data element after delivering the square wave voltage, the reference data element being representative, after at least one time interval tm≧
0 following an interruption of the square wave voltage, of the voltage of said capacitors and the capacitive sensor in the absence of a wiring fault; and
detecting wiring faults byconfiguring, by a microcontroller, the communication port in the output mode and generating a square wave voltage during at least one charging time Tc,switching, by the microcontroller, the communication port to the input mode at the end of the charging time, and acquiring at least one measured data element, which is representative, after each time interval tm≧
0 following the interruption of the square wave voltage by the microcontroller, of the voltage of the capacitors and of the capacitive sensor, andcomparing, by the microcontroller, each measured data element with the corresponding reference data element, so that a wiring fault in the capacitive sensor is deduced when said data elements do not coincide.
3 Assignments
0 Petitions
Accused Products
Abstract
A method for detecting a wiring fault in a capacitive sensor (1), such as a knock sensor, connected, via a passive acquisition interface (5), to a communication port (P1), that can be configured in either input mode or output mode, of a computer (2), wherein the communication port (P1) is configured in output mode, and a square wave voltage Vn capable of at least partially charging the capacitors (C6, C7, C8a, C8b, C10) of the acquisition interface (5) and the capacitive sensor (1) is generated during a time interval Tc, after which the communication port is switched to its input mode, so that at least one data element representative of the voltage of the capacitors and of the capacitive sensor is acquired, and finally these data are compared with previously stored reference data so that a wiring fault can be deduced if there is no matching between the data.
-
Citations
14 Claims
-
1. A method for detecting a wiring fault in a capacitive sensor connected to at least one communication port of a computer including a passive acquisition interface comprising capacitors, the capacitive sensor being connected to the communication port via the passive acquisition interface, the communication port being configured in either an input mode or an output mode the method comprising:
-
in a preliminary calibration step, delivering a square wave voltage capable of at least partially charging the capacitors of said acquisition interface and the capacitive sensor to the acquisition interface during a charging time by the computer, then acquiring and storing at least one reference data element after delivering the square wave voltage, the reference data element being representative, after at least one time interval tm≧
0 following an interruption of the square wave voltage, of the voltage of said capacitors and the capacitive sensor in the absence of a wiring fault; anddetecting wiring faults by configuring, by a microcontroller, the communication port in the output mode and generating a square wave voltage during at least one charging time Tc, switching, by the microcontroller, the communication port to the input mode at the end of the charging time, and acquiring at least one measured data element, which is representative, after each time interval tm≧
0 following the interruption of the square wave voltage by the microcontroller, of the voltage of the capacitors and of the capacitive sensor, andcomparing, by the microcontroller, each measured data element with the corresponding reference data element, so that a wiring fault in the capacitive sensor is deduced when said data elements do not coincide. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
Specification