Proximity sensor assembly and method for detecting failure thereof
By using conductive circuits and control circuits in the proximity sensor assembly to monitor signal changes, detect and correct faults, the activation signal changes caused by aging of the proximity sensor is solved, and the reliability and user experience of the switch are improved.
Patent Information
- Application Number
- CN201810862483.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2017-08-08
- Filing Date
- 2018-08-01
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2038-08-01
AI Technical Summary
Existing proximity sensors are prone to failure when mechanical/electrical aging, affecting the activation signal detection of switches and causing inconvenience to users.
A proximity sensor assembly is designed, including conductive circuits and control circuits, by monitoring signal changes, comparing previous signals with current signals, determining fault status, and generating warning signals to indicate faults, adjusting baseline values to correct faults.
Effectively detect and reduce inconvenience to users, ensure the reliability and stability of the proximity sensor, and avoid the misactivated switches caused by failures.
Smart Images

Figure CN109388084B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates generally to proximity sensors and, more particularly, to a sensor assembly and method for detecting a proximity sensor failure. Background Art
[0002] Motor vehicles are often equipped with a variety of user-actuable switches, such as switches for operating devices including power windows, headlights, windshield wipers, sunroofs, interior lights, radios and infotainment devices, and various other devices. Typically, these types of switches need to be actuated by the user in order to activate or deactivate the device or perform some type of control function. Proximity switches (e.g., capacitive switches) employ one or more proximity sensors (e.g., capacitive sensors) to generate a sense activation field, and sense changes in the activation field that indicate user actuation of the switch, typically caused by a user's finger being in close proximity to or contacting the sensor. Capacitive switches are typically configured to detect user actuation of the switch based on a comparison of the sense activation field to a threshold value.
[0003] Capacitive switches can be manufactured using thin film technology in which a conductive ink mixed with a solvent is printed and cured to achieve a circuit layout. Capacitive switches can also be manufactured using pre-printed sensors in the form of flexible circuits made of conductive material (e.g., copper) and adhered to a substrate. Capacitive sensors can be subject to mechanical / electrical aging that can cause failure of the sensor (including the wiring circuit to the sensor). Aging of the sensor can cause changes in the capacitive sensor signal that can have a significant impact on the signal that is processed to determine the activation of the switch. For example, a slight crack in the conductive circuit can cause a significant change in the signal, resulting in a failure. Therefore, it is desirable to provide a proximity sensor assembly that can detect failure of the sensor. It is further desirable to provide a method for detecting failure of the proximity sensor to alleviate any inconvenience to the user. Summary of the invention
[0004] According to one aspect of the present invention, a proximity sensor assembly is provided, which includes a proximity sensor containing a conductive circuit and generating a signal based on a sensed activation field, and a control circuit for processing the signal to sense activation of the sensor, the control circuit monitoring the signal and comparing the signal with a previous signal and determining a fault state based on a change between the current signal and the previous signal.
[0005] Embodiments of the first aspect of the present invention may include any one or combination of the following features:
[0006] The previous signal includes an initial signal measured during initialization of the sensor;
[0007] The control circuit compares one or more signal parameters of a previous signal to the signal, and wherein the one or more signal parameters comprise an average original signal;
[0008] ● one or more signal parameters including the noise level of the previous signal;
[0009] The assembly comprises a memory for storing one or more parameters of a previous signal;
[0010] ●Proximity sensors are installed in vehicles for use by passengers of the vehicle;
[0011] ●Proximity sensors include capacitive sensors;
[0012] The control circuit generates a baseline value of a previous signal and adjusts the baseline value to an adjusted baseline value when a fault condition is detected to attempt to correct the fault condition;
[0013] The proximity sensor is configured to operate as a capacitive switch, and wherein the control circuit adjusts the threshold value based on the adjusted baseline value and compares the adjusted threshold value to the signal to determine activation of the switch; and
[0014] ●The control circuit further generates a warning signal to indicate a fault condition.
[0015] According to another aspect of the present invention, a proximity sensor assembly includes a proximity sensor including a conductive circuit and generating a signal based on a sensed activation field, and a control circuit for processing the signal to sense activation of the sensor, the control circuit further monitoring the signal and comparing the signal to one or more parameters of a previous signal stored in a memory and determining a fault condition based on a change between the one or more parameters of the current signal and the previous signal, wherein the control circuit generates a baseline value of the previous signal and adjusts the baseline value to an adjusted baseline value when a fault condition is detected to attempt to correct the fault condition.
[0016] ● Embodiments of the second aspect of the present invention may include any one or combination of the following features:
[0017] The previous signal includes an initial signal measured during initialization of the sensor;
[0018] ● one or more signal parameters including the average original signal and the noise level of the signal;
[0019] ●Proximity sensors are installed in vehicles for use by passengers of the vehicle;
[0020] ●Proximity sensors include capacitive sensors;
[0021] The control circuit further generates a warning signal to indicate a fault condition; and
[0022] - The proximity sensor is adapted to operate as a capacitive switch and wherein the control circuit adjusts the threshold value based on the adjusted baseline value and compares the adjusted threshold value to the signal to determine activation of the switch.
[0023] According to another aspect of the present invention, a method for detecting a fault condition of a proximity sensor assembly is provided, the method comprising the steps of generating a signal from an activation field using a proximity sensor and storing an initial baseline value based on one or more parameters of a previous signal. The method further comprises the steps of monitoring the signal during use to detect a difference in the signal from a previous signal by a predetermined amount, and determining a fault condition based on a change between the current signal and the previous signal.
[0024] Embodiments of the third aspect of the present invention may include any one or combination of the following features:
[0025] The method further adjusts the baseline value to an adjusted baseline value upon detection of the fault condition to attempt to correct the fault condition; and
[0026] • The method further generates a warning signal to indicate the fault condition.
[0027] According to the present invention, there is provided a proximity sensor assembly, comprising:
[0028] a proximity sensor comprising a conductive circuit and generating a signal based on a sensed activation field; and
[0029] A control circuit is provided for processing the signal to sense activation of the sensor, the control circuit further monitoring the signal and comparing the signal to one or more parameters of a previous signal stored in a memory and determining a fault condition based on a change between the one or more parameters of the current signal and the previous signal, wherein the control circuit generates a baseline value of the previous signal and adjusts the baseline value to an adjusted baseline value when the fault condition is detected to attempt to correct the fault condition.
[0030] According to an embodiment of the present invention, the previous signal comprises an initial signal measured during initialization of the sensor.
[0031] According to an embodiment of the present invention, the one or more signal parameters include an average original signal and a noise level of the signal.
[0032] According to one embodiment of the present invention, the proximity sensor is installed in a vehicle for use by passengers of the vehicle.
[0033] According to an embodiment of the present invention, the proximity sensor comprises a capacitive sensor.
[0034] According to an embodiment of the invention, the capacitive sensor is configured to operate as a capacitive switch, and wherein the control circuit adjusts the threshold value based on the adjusted baseline value and compares the adjusted threshold value to the signal to determine activation of the switch.
[0035] According to an embodiment of the present invention, the control circuit further generates a warning signal to indicate a fault condition.
[0036] According to the present invention, there is provided a proximity sensor assembly, comprising:
[0037] a proximity sensor comprising a conductive circuit and generating a signal based on a sensed activation field; and
[0038] A control circuit is connected to the sensor for processing the signal by monitoring and comparing the signal to previously measured signals stored in a memory and determining a fault condition of the sensor based on changes between the signal and the previously measured signal.
[0039] According to an embodiment of the present invention, the previously measured signal comprises an initial signal measured during initialization of the sensor.
[0040] According to an embodiment of the invention, the control circuit compares the signal with one or more signal parameters of a previously measured signal, and wherein the one or more signal parameters comprise an average raw signal.
[0041] According to an embodiment of the present invention, the one or more signal parameters include a noise level of a previously measured signal.
[0042] According to an embodiment of the invention, one or more parameters of a signal previously measured are stored in a memory.
[0043] According to one embodiment of the present invention, the proximity sensor is installed on a vehicle for use by passengers of the vehicle.
[0044] According to an embodiment of the present invention, the proximity sensor comprises a capacitive sensor.
[0045] According to one embodiment of the present invention, the control circuit generates a baseline value of a previously measured signal and when a fault condition is detected adjusts the baseline value to an adjusted baseline value to attempt to correct the fault condition.
[0046] According to an embodiment of the invention, the proximity sensor is configured to operate as a capacitive switch, and wherein the control circuit adjusts the threshold value based on the adjusted baseline value and compares the adjusted threshold value to the signal to determine activation of the switch.
[0047] According to an embodiment of the present invention, the control circuit further generates a warning signal to indicate a fault condition.
[0048] According to the present invention, there is provided a proximity sensor assembly, comprising:
[0049] a proximity sensor comprising a conductive circuit and generating a signal based on a sensed activation field; and
[0050] A control circuit is connected to the sensor for processing the signal by monitoring the signal and comparing the signal to one or more parameters of previously measured signals stored in a memory and determining a fault condition based on a change between the signal and the one or more parameters of the previously measured signal, wherein the control circuit generates a baseline value of the previously measured signal and when the fault condition is detected adjusts the baseline value to an adjusted baseline value to attempt to correct the fault condition.
[0051] According to an embodiment of the present invention, the previous signal comprises an initial signal measured during initialization of the sensor.
[0052] According to an embodiment of the present invention, the one or more signal parameters include an average original signal and a noise level of the signal.
[0053] According to one embodiment of the present invention, the proximity sensor is installed in a vehicle for use by passengers of the vehicle.
[0054] According to an embodiment of the present invention, the proximity sensor comprises a capacitive sensor.
[0055] According to an embodiment of the invention, the capacitive sensor is configured to operate as a capacitive switch, and wherein the control circuit adjusts the threshold value based on the adjusted baseline value and compares the adjusted threshold value to the signal to determine activation of the switch.
[0056] According to an embodiment of the present invention, the control circuit further generates a warning signal to indicate a fault condition.
[0057] According to the present invention, there is provided a method for detecting a fault state of a proximity sensor assembly, comprising:
[0058] generating a signal from the activation field using a proximity sensor;
[0059] storing an initial baseline value based on one or more parameters of a previously measured signal stored in a memory;
[0060] monitoring the signal during use to detect a difference in the signal that deviates by a predetermined amount from a previously measured signal; and
[0061] A fault condition is determined based on a change between the signal and a previously measured signal.
[0062] According to one embodiment of the present invention, the method further comprises adjusting the baseline value to an adjusted baseline value when a fault condition is detected to attempt to correct the fault condition.
[0063] According to an embodiment of the present invention, the method further comprises generating a warning signal to indicate a fault condition.
[0064] These and other aspects, objects and features of the present invention will be understood and appreciated by those skilled in the art from a study of the following specification, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] In the attached picture:
[0066] Figure 1 is a perspective view of a passenger compartment of a motor vehicle having an overhead console employing a proximity switch assembly according to one embodiment;
[0067] Figure 2 yes Figure 1 an enlarged view of the overhead console and proximity switch assembly shown in;
[0068] Figure 3 is through Figure 2 An enlarged cross-sectional view taken along line III-III in FIG. 1 , showing the arrangement of the proximity switch relative to the user's finger;
[0069] Figure 4 yes Figure 3 A schematic diagram of a capacitive sensor used in each capacitive switch shown in FIG.
[0070] Figure 5 is a block diagram illustrating a proximity switch assembly with fault detection, mitigation, and recovery according to one embodiment;
[0071] Figure 6 is a graph illustrating signal counts for one channel associated with a capacitive sensor showing an activation motion profile;
[0072] Figure 7 is a graph illustrating signal counts of two channels associated with a capacitive sensor showing a sliding exploration / search motion profile;
[0073] Figure 8 is a graph illustrating signal counts of a signal channel associated with a capacitive sensor showing a slow activation motion profile;
[0074] Fig. 9 is a graph illustrating signal counts of two channels associated with a capacitive sensor showing a fast sliding exploration / search motion profile;
[0075] Fig.10 is a graph illustrating signal counts for three channels associated with a capacitive sensor in an exploration / search mode illustrating steady press activation at a peak according to an embodiment;
[0076] Fig.11 is a graph illustrating signal counts for three channels associated with a capacitive sensor in an exploration / search mode according to another embodiment, illustrating a steady press activation as the signal drops below a peak value;
[0077] Fig.12 is a graph illustrating signal counts for three channels associated with a capacitive sensor in an exploration / search mode illustrating increasing steady pressure on a keypad to activate a switch according to yet another embodiment;
[0078] Fig.13 is a graph illustrating signal counts for three channels associated with a capacitive sensor in an exploration mode and selection of a keypad based on increasing steady pressure according to another embodiment;
[0079] Fig.14 is a state diagram illustrating five states of a capacitor switch assembly implemented using a state machine according to one embodiment;
[0080] Fig.15 is a flow chart illustrating a routine for executing a method of activating a switch of a switch assembly according to an embodiment;
[0081] Fig.16 is a flow chart illustrating the process of switch activation and switch release;
[0082] Fig.17 is a flow chart illustrating the logic for transitioning between no switch and switch active states;
[0083] Fig.18 is a flow chart illustrating the logic for switching from a switch active state to a no switch or switch threshold state;
[0084] Fig.19 is a flow chart illustrating a routine for switching between a switch threshold and a switch search state;
[0085] Fig. 20 is a flow chart illustrating a method for implementing a virtual button switch search state;
[0086] Fig.21 is a graph illustrating signal counts of a signal channel associated with a capacitive sensor experiencing the effects of condensation droplets;
[0087] Fig. 22is a graph illustrating signal counts of a signal channel associated with a capacitive sensor employing threshold-based rate monitoring according to one embodiment;
[0088] Fig.23 is a flow chart illustrating a routine for performing rate monitoring to enable activation of a proximity switch according to one embodiment;
[0089] Fig.24A is a graph illustrating a raw signal generated using a capacitive sensor during a fault caused by a hairline crack in a conductive circuit according to one example;
[0090] Fig. 24B is a graph illustrating a raw signal generated by a capacitive sensor during a fault caused by a crack in a conductive circuit when subjected to vibration according to another example;
[0091] Fig.24C is a graph illustrating a raw signal generated by a capacitive sensor according to yet another example, showing changes in the signal for reconnection when a finger mechanically pushes a touch interface to reconnect a broken conductive circuit element;
[0092] Fig.25A is a graph illustrating a raw signal generated by a capacitive sensor during a quick tap touch activation according to one example;
[0093] Fig.25B is a graph illustrating a raw signal generated by a capacitive sensor showing a user input quick tap and hold according to one example;
[0094] Fig.25C is a graph illustrating a raw signal generated by a capacitive sensor during a potential failure caused by a crack in a conductive circuit according to one example;
[0095] Fig.26A is a graph illustrating a raw signal generated by a capacitive sensor subject to a fault and correction by adjusting a baseline threshold signal according to one embodiment;
[0096] Fig.26B is a graph illustrating a delta sensor count signal generated by a capacitive sensor according to one example, further illustrating adjusting an activation threshold based on a fault-to-baseline ratio; and
[0097] Figure 27-27C A routine for detecting and correcting failures of a capacitive sensor according to one embodiment is described. DETAILED DESCRIPTION
[0098] As specified, detailed embodiments of the present invention are disclosed herein; however, it should be understood that the disclosed embodiments are merely exemplary of the present invention, which may be implemented in various alternative forms. The drawings are not necessarily to a specific design; certain schematic diagrams may be enlarged or reduced to show functional overviews. Therefore, the specific structural and functional details disclosed herein should not be construed as limiting, but merely as a representative basis for teaching those skilled in the art to variously employ the present invention.
[0099] Reference Figure 1 and 2 According to one embodiment, the interior of a motor vehicle 10 is generally shown having a passenger compartment and a switch assembly 20 that employs a plurality of proximity switches 22 having switch activation monitoring and determination. The vehicle 10 generally includes an overhead console 12 mounted on a roof or ceiling underside of a roof atop the vehicle's passenger compartment, generally above a front passenger seating area. According to one embodiment, the switch assembly 20 has a plurality of proximity switches 22 disposed adjacent to one another on the overhead console 12. The various proximity switches 22 may control any of a number of vehicle devices and functions, such as controlling movement of a sunroof 16, controlling movement of a sunroof visor 18, controlling activation of one or more lighting devices (e.g., an interior map / reading light and a dome light 30), and controlling a variety of other devices and functions. However, it should be appreciated that the proximity switch 22 may be located elsewhere in the vehicle 10 , such as on the instrument panel, on another console (e.g., a center console), incorporated into a touch screen display 14 of a radio or infotainment system (e.g., a navigation and / or audio display), or elsewhere within the vehicle 10 depending on the vehicle application.
[0100] According to one embodiment, the proximity switches 22 are represented and described herein as capacitive switches. Each proximity switch 22 includes at least one proximity sensor that provides a sensing activation field to sense a user's contact or close proximity (e.g., within 1 mm) relative to one or more proximity sensors, such as a sliding motion of a user's finger. Therefore, in an exemplary embodiment, the sensing activation field of each proximity switch 22 is a capacitive electric field, and it should be apparent to those skilled in the art that the user's finger has conductive and dielectric properties that cause changes and disturbances in the sensing activation field. However, those skilled in the art should recognize that additional or alternative types of proximity sensors may also be used, such as, but not limited to, inductive sensors, optical sensors, temperature sensors, resistive sensors, etc., or combinations thereof. April 9, 2009 Exemplary proximity sensors are described in Touch Sensor Design Guide, 10620D-AT42-04 / 09, which is hereby incorporated by reference in its entirety.
[0101] Figure 1and 2 Each of the proximity switches 22 shown in provides control of a vehicle component or device, or provides a specified control function. One or more of the proximity switches 22 can be dedicated to controlling the movement of the sunroof 16 so that the sunroof 16 moves in an open or closed direction, tilts the sunroof, or stops the movement of the sunroof according to a control algorithm. One or more other proximity switches 22 can be dedicated to controlling the sunroof visor 18 to move between an open and closed position. Each of the sunroof 16 and the sun visor 18 can be actuated by a motor in response to the actuation of the corresponding proximity switch 22. Other proximity switches 22 can be dedicated to controlling other devices, such as turning on the interior map / reading light 30, turning off the interior map / reading light 30, turning on or off the dome light, unlocking the trunk, opening the rear door, or eliminating the door light switch. Other controls by proximity switches 22 can include actuating the door electric window to rise or fall. Various other vehicle controllers can be controlled by the proximity sensor 22 described herein.
[0102] Reference Figure 3 , illustrates a portion of a proximity switch assembly 20 having an array of three proximity switches 22 arranged in series in close relation to one another relative to a user's finger 34 during use of the switch assembly 20. Each proximity switch 22 includes one or more proximity sensors 24 for generating a sensing activation field. According to an embodiment, each proximity sensor 24 may be formed by printing a conductive ink on an upper surface of a polymer overhead console 12. Figure 4 2 shows an example of a printed ink proximity sensor 24 generally having a drive electrode 26 and a receive electrode 28, each having interdigitated elements for generating a capacitive electric field 32. It should be appreciated that each proximity sensor 24 may be formed in other ways, for example, by assembling prefabricated conductive circuit wiring onto a substrate according to other embodiments. The drive electrode 26 receives a voltage V I The receiving electrode 28 has a square wave driving pulse for generating an output voltage V O It should be appreciated that electrodes 26 and 28 may be arranged in various other configurations for generating a capacitive electric field such as activation field 32.
[0103] In the embodiment shown and described herein, a square wave pulse voltage input V is applied to the drive electrode 26 of each proximity sensor 24. I, the square wave pulse has a charging pulse period sufficient to charge the receiving electrode 28 to the desired voltage. The receiving electrode 28 is therefore used as a measuring electrode. In the illustrated embodiment, adjacent sensing activation fields 32 generated by adjacent proximity switches 22 overlap slightly, however, according to other embodiments, there may be no overlap. When a user or operator (e.g., a user's finger 34) enters the activation field 32, the proximity switch assembly 20 detects the disturbance caused by the finger 34 to the activation field 32, and determines whether the disturbance is sufficient to activate the corresponding proximity switch 22. The disturbance of the activation field 32 is detected by processing the charging pulse signal associated with the corresponding signal channel. When the user's finger 34 contacts two activation fields 32, the proximity switch assembly 20 detects the disturbance of the two contacted activation fields 32 through a separate signal channel. Each proximity switch 22 has its own dedicated signal channel for generating a charging pulse count, which is processed as described herein.
[0104] Reference Figure 5 , which shows a proximity switch assembly 20 according to one embodiment. Multiple proximity sensors 24 are shown as providing input to a controller 40 (e.g., a microcontroller). The controller 40 may include control circuitry, such as a microprocessor 42 and a memory 48. The control circuitry may include a sensing control circuit that processes the activation field of each sensor 22 to sense user activation of the corresponding switch by comparing the activation field signal to one or more thresholds in accordance with one or more control routines. It should be appreciated that other analog and / or digital control circuits may also be used to process each activation field, determine user activation, and initiate an action. According to one embodiment, the controller 40 may employ Available QMatrix acquisition method. ATMEL acquisition method uses Host C / C++ compiler and WinAVR debugger to simplify development and testing of the Hawkeye utility, which allows real-time monitoring of the internal state of key software variables as well as collection of data logs for post-processing.
[0105] The controller 40 provides an output signal to one or more devices that are configured to perform a specific action in response to the correct activation of the proximity switch. For example, one or more devices may include a sunroof 16 having a motor that moves the sunroof panel between an open and closed position and a tilted position, a sunroof visor 18 that moves between an open and closed position, and a lighting device 30 that can be turned on and off. Other devices may be controlled, such as radios for performing opening and closing functions, volume control, scanning, and other types of devices for performing other specific functions. One of the proximity switches 22 may be dedicated to actuating the sunroof to close, another proximity switch 22 may be dedicated to actuating the sunroof to open, and another proximity switch 22 may be dedicated to actuating the sunroof to a tilted position, and all proximity switches cause the motor to move the sunroof to a desired position. The sunroof visor 18 may be opened in response to one proximity switch 22 and may be closed in response to another proximity switch 22.
[0106] The controller 40 is further shown as having an analog-to-digital (A / D) comparator 44 connected to the microprocessor 42. The A / D comparator 44 receives the voltage output V from each proximity switch 22. O , converting the analog signal into a digital signal, and providing the digital signal to the microprocessor 42. In addition, the controller 40 includes a pulse counter 46 connected to the microprocessor 42. The pulse counter 46 counts the charging signal pulses applied to each driving electrode of each proximity sensor, performs the counting of the required pulses to charge the capacitor until the voltage output V O The controller 40 is further shown in communication with the pulse width modulation drive buffer 15. The controller 40 provides a pulse width modulation signal to the pulse width modulation drive buffer 15 to generate a square wave pulse train V applied to each drive electrode of each proximity sensor / switch 22. I The controller 40 processes the control routine 100 stored in the memory to monitor and make a decision to activate one of the proximity switches. The control routine may include routines for executing a method of using rate monitoring to activate proximity switches to reduce or eliminate adverse effects caused by condensation droplets.
[0107] exist Figure 6-13 In various embodiments, a plurality of proximity switches 22 (eg Figure 32 , shown in FIG. 1 , the change in sensor charge pulse counts of multiple signal channels associated with the three proximity switches 22 (shown in FIG. 1 ), shown as ΔSensorCount. The change in sensor charge pulse count is the difference between the initial reference count value and the corresponding sensor reading when no finger or other object is present in the activation field. In these examples, as a user's finger moves through the switch array, the user's finger enters the activation field 32 associated with each of the three proximity switches 22, typically one sensing activation field at a time, with overlap between adjacent activation fields 32. Channel 1 is the change (Δ) in sensor charge pulse count associated with a first capacitive sensor 24, channel 2 is the change in sensor charge pulse count associated with an adjacent second capacitive sensor 24, and channel 3 is the change in sensor charge pulse count associated with a third capacitive sensor 24 adjacent to the second capacitive sensor. In the disclosed embodiment, the proximity sensors 24 are capacitive sensors. When a user's finger touches or is in close proximity to a sensor 24, the finger changes the capacitance measured at the corresponding sensor 24. The capacitance is parallel to the untouched sensor pad parasitic capacitance, and therefore, the measured value is an offset. The capacitance sensed by the user or operator is proportional to the dielectric constant of the user's finger or other body part, the surface exposed to the capacitive keypad, and inversely proportional to the distance of the user's limb from the switch button. According to one embodiment, a series of voltage pulses are used to excite each sensor through a pulse width modulation (PWM) electronic device until the sensor is charged to a set potential. This acquisition method charges the receiving electrode 28 to a known potential. This cycle is repeated until the voltage across the measured capacitance reaches a preset voltage. Placing the user's finger on the contact surface of the switch 24 introduces an external capacitor, which increases the amount of charge transferred per cycle, thereby reducing the total number of cycles required for the measured capacitance to reach the preset voltage. Because this value is based on the initial reference count minus the sensor reading, the user's finger causes the sensor charging pulse count to change.
[0108] When a hand (particularly a finger) is in close proximity to the proximity sensor 22, the proximity switch assembly 20 is able to identify the user's hand movement to distinguish whether the user's intention is to activate the switch 22, explore a specific switch button while focusing on a high priority task (such as driving), or the result of a task unrelated to the actuation of the proximity switch 22 (such as adjusting a rearview mirror). The proximity switch assembly 20 can operate in an exploration or search mode that enables a user to explore a keypad or button by passing or swiping a finger very close to a switch without causing activation of the switch until the user's intention is determined. The proximity switch assembly 20 monitors the amplitude of the signal generated in response to the activation field, determines the differential change of the generated signal, and generates an activation output when the differential signal exceeds a threshold. Therefore, exploration of the proximity switch assembly 20 is allowed so that the user can freely explore the switch interface keypad with his finger without inadvertently triggering an event, the response time of the interface is fast, activation occurs when the finger contacts the surface panel, and inadvertent activation of the switch is prevented or reduced.
[0109] Reference Figure 6 , when the user's finger 34 approaches the switch 22 associated with signal channel 1, the finger 34 enters the activation field 32 associated with the sensor 24, which causes a disturbance in the capacitance, thereby causing the sensor count to increase, as shown in signal 50A having a typical activation motion curve. According to one embodiment, an entry ramp slope method can be used to determine whether the operator intends to press a button or explore the interface, which is based on the slope of the entry ramp in signal 50A of the channel 1 signal, that is, the slope between the point 52 where the signal 50A crosses the active level (LVL_ACTIVE) count and the point 54 where the signal 50A crosses the threshold level (LVL_THRESHOLD) count. The slope of the entry ramp is the differential change in the generated signal between points 52 and 54, which occurs at time t th and t ac Because the counter threshold level, the activity level, usually changes only when the presence of gloves is detected, otherwise it is a constant, so the slope can be calculated as the time from the activity level to the threshold level, referred to as t active2threshold , which is time t th and t ac The direct push switch keypad usually occurs in a time period ranging from about 40 to 60 milliseconds, called t directpush If time t active2threshold Less than or equal to the direct push time t directpush , then it is determined that the switch is activated. Otherwise, it is determined that the switch is in the exploration mode.
[0110] According to another embodiment, the slope of the entry ramp can be calculated as the time t at point 52 acThe time t at which the peak count value at point 56 is reached pk The time difference is called t active2peak Time t active2peak can be called t direct_push_pk Compared with the direct driving peak value, according to one embodiment, t direct_push_pk can have a value of 100 milliseconds. active2peak Less than or equal to t direct_push_pk , it is determined that switch activation occurs. Otherwise, the switch assembly operates in the exploration mode.
[0111] exist Figure 6 In the example shown, the channel 1 signal is shown to increase as the capacitive disturbance increases, rising rapidly from point 52 to a peak value at point 56. The proximity switch assembly 20 determines the entry ramp slope as the time period t during which the signal increases from the first threshold point 52 to the second threshold at point 54 or the peak threshold at point 56. active2threshold or active2peak The slope or differential change of the generated signal is then used to compare with the typical direct drive threshold t direct_push or direct_push_pk Specifically, when time t active2peak Less than t direct_push or active2threshold Less than t direct_push , the switch assembly is determined to be activated. Otherwise, the switch assembly remains in the exploration mode.
[0112] Reference Figure 7 , an example of a sliding / exploring motion across two switches is shown as a finger passing or swiping through the activation fields of two adjacent proximity sensors, which are shown as signal channel 1 labeled 50A and signal channel 2 labeled 50B. When the user's finger approaches the first switch, the finger enters the activation field associated with the first switch sensor, causing the sensor count change of signal 50A to rise at a slower rate, so that the differential change of the generated signal is determined to be reduced. In this example, the curve of signal channel 1 is not less than or equal to t direct_push Time t active2peak According to one embodiment, because t active2threshold is an indication of a slow differential change of the generated signal, so activation of the switch button is not initiated. According to another embodiment, because the time t active2peak Not less than or equal to t direct_push_pk, indicating a slow differential change in the generated signal, so no activation is initiated. The second signal channel, labeled 50B, is shown as becoming a maximum signal at transition point 58 and having a rising change of Δ sensor counts, where the differential change in the signal is similar to signal 50A. Therefore, the first and second channels 50A and 50B reflect the sliding action of the finger across the two capacitive sensors in the exploration mode, resulting in no activation of either switch. When the capacitance level of the proximity switch reaches the signal peak, the time period t active2threshold or active2peak , a decision can be made to activate or not activate the proximity switch.
[0113] For Figure 8 The slow direct push action shown may be handled with additional care to ensure inadvertent activation. Figure 8 As can be seen in FIG. 1 , signal channel 1, designated as signal 50A, is shown as being in the time period t active2threshold or active2peak When this sliding / exploration state is detected, time t active2threshold Greater than t direct_push If a channel fails, the condition is that the first signal channel enters the exploration mode and when its capacitance drops below the LVL_KEYUP_Threshold at point 60, it is still the largest channel (the channel with the highest strength), and the start switch is activated.
[0114] Reference Fig. 9 , shows a quick motion of a user's finger passing near the switch assembly without switch activation. In this example, for the two channels 1 and 2 represented by lines 50A and 50B, respectively, a relatively large differential change in the generated signals of channels 1 and 2 is detected. The switch assembly uses a delay time period to postpone the activation decision until the second signal channel 50B rises above the transition point 58 at the first signal channel 50A. According to one embodiment, the time delay can be set equal to the time threshold t direct_push_pk Thus, very rapid exploration of the proximity keyboard prevents inadvertent activation of the switch by employing a delay time period before determining switch activation. Introducing a time delay in the response can make the interface less sensitive and work better when the operator's finger motion is substantially uniform.
[0115] According to one embodiment, if a threshold event that did not result in activation was recently detected, the exploration mode can be automatically entered. Therefore, once an unintentional actuation is detected and rejected, more caution can be exercised during a period of time in the exploration mode.
[0116] Another way to allow the operator to enter the exploration mode is to use one or more appropriately marked and / or textured areas or keypads on the switch panel surface, which are associated with a dedicated proximity switch that has the function of sending an operator's blind exploration intention signal to the proximity switch assembly. One or more exploration reservation keypads can be located in a location that is easily accessible and unlikely to generate other signal channel activity. According to another embodiment, a larger unmarked exploration reservation keypad surrounding the entire switch interface can be used. When the operator's hand runs across the trim on the overhead console to find a landmark and start a blind exploration of the proximity switch assembly from that landmark, it is likely that such an exploration keypad will be touched first.
[0117] Once the proximity sensor assembly determines that the increase in sensor count change is the result of a switch activation or a probing action, the assembly proceeds to determine whether and how the probing action should be terminated or the proximity switch is not activated. According to one embodiment, the proximity switch assembly searches for a steady press of the switch button for at least a predetermined amount of time. In a specific embodiment, the predetermined amount of time is equal to or greater than 50 milliseconds, and more preferably about 80 milliseconds. Figure 10-13 An example of switch assembly operation using the settling time method is shown in FIG.
[0118] Reference Fig.10 , shows exploration of three proximity switches corresponding to signal channels 1-3, labeled signals 50A-50C, respectively, while a finger slides past the first and second switches in exploration mode and then activates the third switch associated with signal channel 3. As the finger explores the first and second switches associated with channels 1 and 2, no activation is determined due to the absence of stable signals on lines 50A and 50B. The signal on line 50A of channel 1 starts with a maximum signal value until channel 2 on line 50B becomes a maximum, and finally channel 3 becomes a maximum. Signal channel 3 is shown to have a stable change in sensor counts around the peak value for a sufficiently long period of time, such as 80 milliseconds. stable , the time period t stable When the level threshold triggering condition has been met and the peak value has been reached, the stable level method continues for at least the time period t when the switch level is limited to a narrow range. stable This allows the operator to explore different proximity switches and, once the user's finger is found to be in a stable position close to the switch for a period of time t stable After that, activate the desired switches.
[0119] Reference Fig.11, which shows another embodiment of the stable level method, in which the third signal channel of line 50C has a sensor count change with a stable state in the signal drop. In this example, the sensor count change of the third channel exceeds the threshold level and has a duration period t stable The detected steady press therefore determines that the third switch is activated.
[0120] like Fig.12 and 13 As shown, according to another embodiment, the proximity switch assembly can use a virtual button method, which searches for an initial peak of sensor count changes in the exploration mode, followed by an additional continuous rise in sensor count changes, to make a determination of activating the switch. Fig.12 In the third signal channel of line 50C, the sensor count changes C as it rises to an initial peak and then rises further. vb This is equivalent to the user's finger rubbing against the switch assembly surface as it swipes across the switch assembly, contacts the desired button, and then presses down on the virtual mechanical switch, so that the user's finger presses against the switch contact surface and increases the volume of the finger close to the switch. When the fingertip presses against the keypad surface, the increased fingertip surface causes an increase in capacitance. The increased capacitance may be detected Fig.12 occurs immediately after the peak shown in , or can be Fig.13 As shown, it occurs after the sensor count change decreases. The proximity switch assembly detects the initial peak, which is followed by a stable level or stable time period t stable The capacitance C vb A detected stable level generally means no sensor count value absent noise variation, or a small sensor count value absent noise variation, which can be predetermined in calibration.
[0121] It should be appreciated that for shorter time periods t stable May cause unintended activation, especially after a reversal of finger movement direction and for a long period of time t stable Will result in a less responsive interface.
[0122] It should also be appreciated that the stable value method and the virtual button method can be used simultaneously. In this case, since the operator can always trigger the button with the virtual button method without having to wait for the stable press timeout, the stable time t stable Relax to something longer, like 1 second.
[0123] The proximity switch assembly may further employ robust noise rejection to prevent nuisance accidental actuation. For example, with an overhead console, accidental opening and closing of the sunroof should be avoided. Too much noise rejection may end up rejecting intentional activations, which should be avoided. One method of rejecting noise is to check if multiple adjacent channels are reporting a trigger event simultaneously, and if so, select the signal channel with the highest signal and activate it, thereby ignoring all other signal channels until the selected signal channel is released.
[0124] The proximity switch assembly 20 may include a signature noise rejection method based on two parameters, a signature parameter, which is the ratio of the highest intensity channel (max_channel) to the overall cumulative level (sum_channel), and a dac parameter, which is the number of channels that are at least proportional to max_channel. In one embodiment, dacα dac =0.5. The characteristic parameters can be defined by the following equation:
[0125]
[0126] The dac parameters can be defined by the following equation:
[0127]
[0128] According to the DAC, for a recognition activation not to be rejected, the channel must generally be clear, i.e. the feature must be above a predefined threshold. dac=1 =0.4 and α dac=2 =0.67. According to one embodiment, if dac is greater than 2, activation is rejected.
[0129] When making a decision to activate or deactivate the switch in the descending phase of the curve, its peak values peak_max_channel and peak_sum_channel can be used to replace max_channel and sum_channel to calculate the characteristic parameters. The characteristic parameters can be the following equation:
[0130]
[0131] A noise rejection trigger search mode may be used. When a detected activation is rejected due to unclear features, a search or exploration mode should be used automatically. Thus, when blindly exploring, the user may use all outstretched finger touches in an effort to establish a reference frame from which to begin the search. This may trigger multiple channels simultaneously, thus resulting in poor features.
[0132] Reference Fig.14 , shows a state diagram of a proximity switch assembly 20 in a state machine implementation according to one embodiment. The implementation of the state machine is shown as having five states, including a SW_NONE state 70, a SW_ACTIVE state 72, a SW_THRESHOLD state 74, a SW_HUNTING state 76, and a SWITCH_ACTIVATED state 78. The SW_NONE state 70 is a state in which no sensor activity is detected. The SW_ACTIVE state is a state in which some activity is detected by the sensor, but not enough to trigger switch activation at this point in time. The SW_THRESHOLD state is a state in which the activity determined by the sensor is high enough to warrant activation, search / exploration, or accidental action of the switch assembly. When the activity pattern determined by the switch assembly is consistent with an exploration / hunting interaction, the SW_HUNTING state 76 is entered. The SWITCH_ACTIVATED state 78 is a state in which switch activation has been confirmed. In the SWITCH_ACTIVATED state 78, the switch button will remain active and no other selections can be made until the corresponding switch is released.
[0133] The state of the proximity switch assembly 20 changes based on the detection and processing of the sensed signal. When in the SW_NONE state 70, the system 20 can advance to the SW_ACTIVE state 72 when certain activity is detected by one or more sensors. If sufficient activity is detected to warrant activation, searching, or accidental action, the system 20 can directly enter the SW_THRESHOLD state 74. When in the SW_THRESHOLD state 74, the system 20 can enter the SW_HUNTING state 76 when a pattern indicating exploration is detected, or the system 20 can directly enter the SWITCH_ACTIVATED state 78. When the switch is activated in the SW_HUNTING state, the activation of the switch can be detected to change to the SWITCH_ACTIVATED state 78. If the signal is rejected and unintentional action is detected, the system 20 can return to the SW_NONE state 70.
[0134] Reference Fig.15, which shows a main method 100 for monitoring and determining when to generate an activation output with a proximity switch arrangement according to one embodiment. Method 100 begins at step 102 and then proceeds to step 104 to perform an initial calibration, which can be performed once. At step 106, a calibrated signal channel value is calculated from the raw channel data and the calibration reference value by subtracting the reference value from the raw data. Then, at step 108, the highest count value called max_channel and the sum of all channel sensor readings called sum_channel are calculated from all signal channel sensor readings. In addition, the number of active channels is determined. At step 110, method 100 calculates the nearest range of max_channel and sum_channel to subsequently determine whether an action is in progress.
[0135] After step 110, the method 100 proceeds to decision step 112 to determine if there is any switch activity. If there is no switch activity, the method 100 proceeds to step 114 to perform an online real-time calibration. Otherwise, the method 116 processes the switch release at step 116. Therefore, if the switch has been activated, the method 100 proceeds to a module where it waits and locks all activity until it is released.
[0136] After real-time calibration, the method 100 proceeds to decision step 118 to determine if there is any channel lock indicating recent activation, and if so, proceeds to step 120 to reduce the channel lockout timer. If no channel lock is detected, the method 100 proceeds to decision step 122 to find a new max_channel. If the current max_channel has changed so that there is a new max_channel, the method 100 proceeds to step 124 to reset the max_channel, calculate the sum of the ranges, and set the threshold level. Therefore, if a new max_channel is determined, the method resets the most recent signal range and, if necessary, updates the search / exploration parameters. If the switch_status is less than SW_ACTIVE, the hunting / exploration flag is set equal to true (hunting / exploration_on=true), and the switch status is set equal to SW_NONE. In addition, step 124, the rate flag is reset. In addition, the rate flag is reset in step 124. After step 124, routine 100 proceeds to step 131 to update a rate flag. The rate flag enables activation of the switch when the monitored rate of change of the delta signal counts, such as the average rate of change, exceeds a valid activation rate, thereby preventing false activations due to changes in condensation droplets. When the rate flag is set, activation of the switch is allowed. When the rate flag is not set, activation of the switch is prevented.
[0137] If the current max_channel has not changed, the method 100 proceeds to step 126 to process the max_channel bare (no glove) finger state. This may include processing such as Fig.14 126, the method 100 proceeds to decision step 128 to determine if there is any switch activity. If no switch activation is detected, the method 100 proceeds to step 130 to detect the presence of a possible glove on the user's hand. The presence of a glove can be detected based on a change in the decrease in the capacitance count value. The method 100 then proceeds to step 131 to update the rate flag, and then to step 132 to update the history of max_channel and sum_channel. The index of the active switch, if any, is then output to the software hardware module in step 134 before terminating at step 136.
[0138] When the switch is activated, Fig.1614. The process switch release routine 116 begins at step 140 and then proceeds to decision step 142 to determine whether the active channels are less than LVL_RELEASE, and if so, ends at step 152. If the active channels are less than LVL_RELEASE, then routine 116 proceeds to decision step 144 to determine whether LVL_DELTA_THRESHOLD is greater than 0, and if not, if the signal is strong, then proceeds to step 146 to increase the threshold level. This can be achieved by reducing LVL_DELTA_THRESHOLD. Step 146 also sets the threshold, release level, and activity level. Routine 116 then proceeds to step 148 to reset the channel maximum and total history timer for long-term stable signal search / exploration parameters. Before terminating at step 152, the switch state is set to equal SW_NONE at step 150. To exit the process switch release module, the signal on the active channel must fall below LVL_RELEASE, which is an adaptive threshold that changes when glove interaction is detected. When the switch button is released, all internal parameters are reset and a lockout timer is started to prevent further activation until a certain wait time, such as 100 milliseconds, has elapsed. In addition, the threshold level is adjusted based on the presence or absence of gloves.
[0139] Reference Fig.17 , shows a routine 200 for determining a state change from a SW_NONE state to a SW_ACTIVE state according to one embodiment. Routine 200 begins at step 202 to process the SW_NONE state and then proceeds to decision step 204 to determine whether max_channel is greater than LVL_ACTIVE. If max_channel is greater than LVL_ACTIVE, the proximity switch assembly changes state from the SW_NONE state to the SW_ACTIVE state and ends at step 210. If max_channel is not greater than LVL_ACTIVE, routine 200 checks at step 208 whether to reset the search flag before terminating at step 210. Therefore, when max_channel triggers the above-mentioned LVL_ACTIVE, the state changes from the SW_NONE state to the SW_ACTIVE state. If the channel remains below this level, then after a certain waiting time, if the search flag is set, the search flag is reset to no search, which is one of the ways to leave the search mode.
[0140] Reference Fig.18, shows a method 220 for processing a state change from a SW_ACTIVE state to a SW_THRESHOLD state or a SW_NONE state according to one embodiment. The method 220 begins at step 222 and proceeds to decision step 224. If max_channel is not greater than LVL_THRESHOLD, the method 220 proceeds to step 226 to determine whether max_channel is less than LVL_ACTIVE, and if so, proceeds to step 228 to change the switch state to SW_NONE. Therefore, when the max_channel signal drops below LVL_ACTIVE, the state of the state machine moves from the SW_ACTIVE state to the SW_NONE state. A delta value may also be subtracted from LVL_ACTIVE to introduce some hysteresis. If max_channel is greater than LVL_THRESHOLD, the routine 220 proceeds to decision step 230 to determine whether the most recent threshold event or glove has been detected, and if so, sets the search for the flag equal to true at step 232. The method 220 transitions the state to the SW_THRESHOLD state at step 234 before terminating at step 236. Thus, if the max_channel triggers the LVL_THRESHOLD described above, the state changes to the SW_THRESHOLD state. If a glove is detected, or a previous threshold event that did not cause activation was recently detected, then the search / exploration mode may be automatically entered.
[0141] Reference Fig.19, shows a method 240 for determining switch activation from a SW_THRESHOLD state according to one embodiment. The method 240 begins at step 242 to process the SW_THRESHOLD state and proceeds to decision box 244 to determine whether the signal is stable or the signal channel is at a peak, and if not, terminates at step 256. If the signal is stable or the signal channel is at a peak, the method 240 proceeds to decision step 246 to determine whether a search or exploration mode is active, and if so, jumps to step 250. If the search or exploration mode is not active, the method 240 proceeds to decision step 248 to determine whether the signal channel is clear and the fast activity is greater than a threshold, and if so, proceeds to decision step 249 to determine whether a rate flag is set, and if so, sets the switch activity equal to the maximum channel at step 250. If the signal channel is not clear and the fast activity is not greater than the threshold, the method 240 proceeds directly to step 252. Likewise, if the rate flag is not set, the method 240 proceeds directly to step 252. At decision block 252, the method 240 determines if there is switching activity, and if so, terminates at step 256. If there is no switching activity, the method 240 proceeds to step 254 to initialize the search variable SWITCH_STATUS equal to SWITCH_HUNTING and initialize PEAK_MAX_BASE equal to MAX_CHANNELS before terminating at step 256.
[0142] In the SW_THRESHOLD state, no determination is made until a peak of MAX_CHANNEL is detected. The condition for detecting a peak is a reversal of the signal direction, or that both MAX_CHANNEL and SUM_CHANNEL remain stable (within a range) for at least a certain period of time, such as 60 milliseconds. Once a peak is detected, the search flag is checked. If the search mode is off, the entry ramp slope method is applied. If SW_ACTIVE to SW_THRESHOLD is less than a threshold such as 16 milliseconds, and the characteristics of the noise suppression method indicate that it is a valid trigger event, the state changes to SWITCH_ACTIVE and the process moves to the PROCESS_SWITCH_RELEASE module, otherwise the search flag is set equal to true. If a delayed activation method is used instead of activating the switch immediately, the state changes to SW_DELAYED_ACTIVATION, in which a delay is enforced, and at the end of the delay, if the current MAX_CHANNEL index has not changed, the button is activated.
[0143] Reference Fig. 20, showing a virtual button method implementing the SW_HUNTING state according to one embodiment. Method 260 begins at step 262 to process the SW_HUNTING state and proceeds to decision step 264 to determine whether MAX_CHANNEL has dropped below LVL_KEYUP_THRESHOLD, and if so, sets MAX_PEAK_BASE equal to MIN(MAX_PEAK_BASE, MAX_CHANNEL) at step 272. If MAX_CHANNEL has dropped below LVL_KEYUP_THRESHOLD, method 260 proceeds to step 266 to use the first channel trigger search method to check whether the event should trigger a button activation. This depends on determining whether the first and only channel is traversed and the signal is clear. If so, method 260 proceeds to decision step 269 to determine whether the rate flag is set, and if so, sets the switch activity equal to the maximum channel at step 270 before terminating at step 282. If the rate flag is not set, method 260 ends at step 282. If the first and only channel is not traversed or if the signal is not clear, the method 260 proceeds to step 268 to abort and determine that an actuation was unintentional and set SWITCH_STATUS equal to the SW_NONE state before terminating at step 282 .
[0144] After step 272, the method 260 proceeds to decision step 274 to determine if a channel has been clicked. This can be determined by whether MAX_CHANNEL is greater than MAX_PEAK_BASE plus a delta value. If a channel has been clicked, the method 260 proceeds to decision step 276 to determine if the signal is stable and clear, and if so, proceeds to decision step 279 to determine if the rate flag is set, and if so, the switch activity state is set to the maximum channel at step 280 before terminating at step 282. If a channel has not been clicked, the method 260 proceeds to decision step 278 to see if the signal is long, stable, and clear, and if so, proceeds to decision step 279 to determine if the rate flag is set, and if so, proceeds to step 280 to set the switch activity equal to the maximum channel before terminating at step 282. If the rate flag is not set, the method 260 ends at step 282.
[0145] Thus, the proximity switch monitoring and determination routine advantageously determines activation of the proximity switch. The routine advantageously allows the user to explore the proximity switch keypad, which may be particularly useful in motor vehicle applications to avoid driver distraction.
[0146] The proximity sensor can be manufactured using thin film technology, which can include printing a conductive ink mixed with a solvent to achieve the desired circuit layout. The printed ink can be formed into a thin sheet that is cured using controlled heat and light / heat gating to remove the solvent during the curing process. Variations in existing curing processes can cause residual solvent to remain in the electrical outlet, which can result in a sensor that is sensitive to temperature and humidity changes. When condensation droplets form on the proximity sensor, the raw capacitance signal and the delta signal count will change. Condensation droplet formation can occur in a vehicle, for example, when driving in a rainstorm before turning on the defrost or when entering the vehicle on a hot, humid summer day and the HVAC fan blows moisture onto the switch. Similarly, when the condensation droplets dry up, the raw capacitance signal and the delta signal count will change in the opposite direction. Fig.21 An example of a delta signal count change during a condensation droplet change is shown. The signal 50 is shown to increase in value due to the changing condensation droplets, such as a decrease in condensation droplets, which can trigger a false activation event if the signal 50 reaches a certain threshold. As condensation increases, which can also cause the triggering of a false activation event, the delta sensor count signal 50 can also decrease. In order to compensate for condensation droplets and prevent or reduce false activations, the proximity switch assembly 20 and method 100 employ a rate monitoring routine to determine valid switch activations based on false condensation droplet events.
[0147] Reference Fig. 22 , shows a delta signal count signal 50 during a potential switch activation and with a particular signal sampling rate using continuously acquired signal samples. The signal samples include the current signal sample C0, the previously monitored signal samples C -1 , the next previously monitored signal sample C -2 , and the next previously monitored signal sample C -3 . Thus, a history of samples of the delta sensor count signal 50 is monitored and employed by a rate monitoring routine. The rate monitoring routine monitors the amplitude of the signal generated in response to the activation field, determines the rate of change of the generated signal, compares the rate of change to a threshold rate, and generates an output based on the rate of change exceeding the threshold rate. The generated output is then employed by a method for activating the proximity sensor. In one embodiment, the rate flag enables activation of the proximity sensor when it is set and prevents activation of the proximity sensor when the rate flag is not set. The rate of change may be a period of time taken, such as samples C0-C0. -3The moving average ratio of changes in more than two such signal samples. To eliminate or remove noise from the signal rise estimate, the moving average can be calculated, for example, through a low pass filter to enable activation of the sensor and prevent false activation due to condensation droplets. The moving average can be calculated by calculating the difference between the first count signal and the second count signal, where the first and second count values are taken over a time period that includes more than two samples. In addition, the rate monitoring routine can determine, for example, whether samples C0 and C1 are different. -1 The incremental rate of change of values between such consecutive signal samples, and further comparing the continuous rate of change of values with a step rate threshold, wherein when the continuous rate of change of the signal exceeds the step rate threshold, an activation output is generated. In addition, according to one embodiment, the rate of change of the generated signal can be, for example, a sample C -0 and C -1 Comparison of the difference between two such consecutive signal counts to the rapid activation rate. It is generally known that when a threshold determination value is reached due to condensation droplets, the condensation droplets will rise at a slower rate than activation by the user so that the slower rate of activation prevents activation of the sensor.
[0148] The rate monitoring routine 300 is Fig.23 3 is shown implemented as an update rate flag routine starting at step 302. Routine 300 proceeds to decision step 304 to calculate the difference between the current maximum delta sensor count value MAX_CH(t) and the previously determined maximum delta sensor count value MAX_CH(t-3) and determine whether the calculated difference is greater than the effective activation rate. The difference between the maximum delta sensor count values is higher than, for example, four samples C0-C0 obtained at consecutive sampling times t, t-1, t-2 and t-3. -3Such multiple signal samples. Likewise, the difference provides a moving average of the delta sensor counts. If the moving average is greater than the activation rate, the method 300 proceeds to decision step 306. At decision step 306, the routine 300 compares each change increment of the maximum delta sensor count signal MAX_CH(t) between consecutive monitored samples and compares the incremental difference to the step rate value. This includes comparing the current maximum channel signal MAX_CH(t) with the previous maximum channel signal MAX_CH(t-1) to see if the difference is greater than the step rate, comparing the previous maximum channel signal MAX_CH(t-1) with the second previous maximum channel signal MAX_CH(t-2) to see if the difference is greater than the step rate, and comparing the second previous maximum channel signal MAX_CH(t-2) with the third previous maximum channel signal MAX_CH(t-3) to see if the difference is greater than the step rate value. If the difference of each incremental signal channel is greater than the step rate value, the method 300 proceeds to step 310 to set the rate flag before terminating at step 312. If any difference in the incremental signal channels is not greater than the step rate value, the routine terminates at step 312. Once the rate flag is set, the monitoring routine is enabled to activate the sensor output. The setting of the rate flag reduces or eliminates false activations that may be attributed to the effects of condensation droplets.
[0149] The routine 300 includes a decision step 308, which is implemented if the delta sensor count value does not exceed the effective activation rate. The decision step 308 compares the difference between the current maximum channel signal MAX_CH(t) and the previous maximum channel signal MAX_CH(t-1) to the effective fast activation rate. If the difference exceeds the effective fast activation rate, the method 300 proceeds to set the rate flag at step 310. The decision step 308 allows the rapid increase difference of the delta sensor count of the current signal sample from the previous signal sample to enable activation and ignore the previous sample history. Therefore, if the difference between the two most recent delta sensor count values indicates a very fast rate, the rate flag is set.
[0150] In one embodiment, the effective activation rate can be set to a value of 50 counts, the stepping rate can be set to a value of 1 count, and the effective fast activation rate can be set to a value of 100 counts. Thus, according to one embodiment, the effective fast activation rate is about two times greater than the effective activation rate. The effective fast activation rate is greater than the effective activation rate. However, it should be appreciated that according to other embodiments, the effective activation rate, the effective fast activation rate, and the stepping rate can be set to different values.
[0151] According to the illustrated embodiment, the rate monitoring routine 300 monitors the maximum signal channel value and sets or resets the rate flag for the maximum signal channel. By monitoring the maximum signal channel, the signal most likely to have activation is constantly monitored and used to enable the rate flag to minimize the impact of condensation droplets. It should be appreciated that according to other embodiments, any signal channel other than the maximum signal channel may be monitored. The rate monitoring routine 300 sets and resets the rate flag for the maximum signal channel, however, according to another embodiment, the rate monitoring routine 300 sets and resets the rate flag for other signal channels other than the maximum signal channel. It should be further appreciated that the sampling rate used to obtain the delta count signal samples can vary. A faster sampling rate will provide an increased speed for determining activation and determining the presence of condensation droplets. Signal monitoring can be continuous, and noise filtering can be used to eliminate noise.
[0152] Thus, the rate monitoring routine 300 advantageously monitors the rate of change of the delta sensor counts and enables activation of the switch if the rate is of sufficient value. This enables false activations due to condensation droplets and other potential influences to be avoided. The proximity switch assembly is thereby able to generate an output signal indicating switch activation based on the rate flag being set and prevent activation when the rate flag is not set.
[0153] In order for the capacitive sensor 24 to achieve good performance, it is desirable to place the sensor 24 close to the user interface touch surface. Therefore, it is desirable to use conductive ink that is printed to form a capacitive sensor directly on the substrate, or to use a thin pre-printed sensor that is adhered to the back of the touch surface. The use of thin film conductive circuits may be susceptible to cracks and other damage that may cause failure of the capacitive sensor and thus cause a faulty capacitive switch. Cracks (e.g., micro-line cracks) formed in the conductive circuit of the capacitive sensor including the distributed circuit from the connector to the sensor may cause aging and failure of the sensor. Such failures may be experienced during large-scale manufacturing or may develop later and become significantly worse during the use of the sensor and switch. The reduced conductivity that may be experienced due to the failure reduces the original signal output of the sensor and may increase the amount of noise or adversely affect the sensor signal-to-noise ratio (SNR). Small cracks formed in the circuit during manufacturing may increase to larger cracks over time due to use and vibration. The proximity switch assembly includes a control circuit and a method for detecting failures of the proximity sensor, and can adapt to the failure and correct the failure to allow continued use of the sensor and / or can notify the user that such a failure state exists so that the user can seek maintenance to repair the faulty component.
[0154] Reference Fig.24A, shows a raw signal generated by a capacitive sensor that is experiencing an aged sensor signal caused by a faulty sensor ground wire to a connector to the capacitive sensor. The signal is shown by line 400, and the signal drops significantly and immediately on line 402, from a first amplitude signal to a reduced second amplitude signal 404. The signal drop on line 402 indicates a break in conductivity experienced in the conductive circuit. This may be caused by a hairline crack on the circuit being exposed to heat and expanding to separate and causing a significant drop in the electrical signal. When this occurs, the raw signal may not correctly generate activation of the switch due to the fault.
[0155] Reference Fig. 24B , shows a raw signal 400 generated by a capacitive sensor when a vehicle travels over a rough surface such as a gravel road and the capacitive sensor is thereby subjected to vibrations. Microcracks present in the conductive circuit wiring may repeatedly open and close due to the rough road vibrations, thus causing the raw signal 400 to repeatedly decrease on line 402 and increase on line 406 as shown. When this occurs, activation of the capacitive switch may not be detected.
[0156] Reference Fig.24C , shows the raw signal generated by a capacitive sensor when a user applies a mechanical force, where the user's finger pushes onto the front panel touch surface of the touch sensor to make a better electrical connection across a conductive circuit wiring that has a crack or other defect. In this example, the circuit wiring has a crack and the pressure of the finger on the touch interface causes the conductive elements to reconnect and form a better electrical connection, as shown by signal 404, which quickly increases or jumps to signal 400 on line 408. When this happens, it can be difficult to decipher between the user activating the switch and not activating the switch.
[0157] Reference Fig.25A , shows the raw signal generated by the capacitive sensor when a user applies a switch input in the form of a quick tap to the touch surface interface. As shown, a baseline value is established, as shown by line 410. The baseline value 410 is established when the proximity sensor is first started or turned on (activated) in order to perform initialization and calibration and self-assessment. During this initial power-on activation, one or more initial signal parameters are collected for each capacitive sensor, which may include an average raw signal, minimum and maximum signals, noise level of the signal, and temperature. These signal parameters can be stored in a non-volatile memory such as an EEPROM, and can be used to compare with subsequently generated real-time signal values to determine whether a fault condition exists and whether one or more capacitive sensors need to be calibrated. When a signal change (e.g. Fig.25A), the timer is activated for the time period shown from timer on to timer off. If the signal returns quickly to baseline 410 before the timer expires at timer off, as shown in FIG. Fig.25A As shown, it is determined that the user activates the switch.
[0158] Reference Fig.25B , shows the raw signal generated by the capacitive sensor during a user switch input in the form of a quick tap and hold. In this example, the quick tap user input produces a sharp drop in the signal on line 412, and the signal slightly partially returns to a reduced stable value indicating that the user's finger is held on the touch surface. If the signal remains at the reduced stable value for a time period exceeding the timer period, a quick tap and hold action is determined.
[0159] Reference Fig.25C , shows a potential fault condition of a raw signal generated by a capacitive sensor having a fault condition in a circuit (e.g., a microcrack in a circuit component or connection). In this example, the signal experiences a severe dip at line 412 and the signal dip remains at a reduced value for a period greater than the timer expiration such that a fault condition is detected. When this fault condition is detected, the initial baseline 410 can be readjusted to a fault-induced adjusted baseline 420, as shown in FIG. Fig.26A As such, the fault-induced adjusted baseline 420 experienced during the fault condition is reestablished as a new adjusted baseline value and used to compare to the activation thresholds to determine activation of the proximity sensor and activation of the switch.
[0160] You can use Fig.26A and 26B 420 shown in the figure to determine the activation of the sensor. When this occurs, the signal changes relative to the fault-induced adjusted baseline 420 are processed to determine the activation of the sensor and switch. According to an embodiment, this may include comparing the signal change to a threshold. The threshold may be a predetermined value or may be a fault-induced adjusted threshold based on the ratio of the fault-induced baseline divided by the initial baseline. Thus, the new raw signal may be immediately set to a new temporary fault-induced adjusted baseline and the threshold adjusted based on the adjusted baseline. The adjusted baseline value and the adjusted threshold may then be used to detect the activation of the sensor and switch. When a user touches the surface, the same reduced conductivity that affects the raw signal may also proportionally affect the delta signal measured by the sensor. As such, the delta signal may be scaled by a factor equal to the fault-induced baseline divided by the initial baseline, or the threshold may be scaled by a factor divided by the inverse factor of the delta signal fault ratio. Then, by using the adjusted baseline and the adjusted threshold, the capacitive sensor may continue to operate in the event of a fault condition.
[0161] The amplitude of the raw signal of each sensor and its variation can be stored in memory. As more events occur, the stored events and their frequency and amplitude distribution can be monitored. Any trends can be inferred, and if the pattern indicates that one or more sensors have completely failed, the customer can be notified of a warning that the vehicle needs to be serviced.
[0162] Reference Figure 27-27C , shows a fault detection, mitigation and recovery routine 500 for detecting a fault condition of one or more capacitive sensors and for recovering from the fault condition to allow continued use of the proximity sensor and switch and / or to notify a user of an unrecoverable fault condition. The fault detection, mitigation and recovery routine 500 may be stored in the memory 48 of the controller 40, such as Figure 5 As such, the fault detection, mitigation, and recovery routine 500 may be executed by control circuitry in the form of a microprocessor 42. The routine 500 may detect a fault in one or more capacitive sensors, may take corrective action to continue using the faulty sensor, and may provide a sensor fault warning 450 as an output so that a user may be notified that maintenance is required.
[0163] Return to Figure 27-27C , routine 500 begins at step 502 and proceeds to step 504 to wait for a time period of 1000 milliseconds to allow the proximity sensor assembly unit to stabilize after power-on. Next, at step 506, routine 500 obtains a board initialized flag (Borad_Initialized_Flag) (BIF) stored in memory. The board initialized flag may include one or more initialization signal parameters stored in memory when the capacitive sensor is initially powered on (e.g., during an initialization process during assembly or thereafter). These signal parameters may include an average baseline signal, a minimum signal, a maximum signal, a signal range, and a temperature. When the signal parameters are stored in the memory, the BIF is set to true. The proximity assembly uses the signal parameters from a previous signal (preferably an initial signal) to establish a baseline value.
[0164] At decision step 508, the routine 500 determines whether BIF is set to true, and if not, proceeds to start the initialization process at step 510. The initialization process proceeds to step 512 to acquire the raw signal CH[i] of each capacitive sensor. Next, at decision step 514, the routine 500 determines whether the collected data is greater than N samples indicating a sufficient amount of collected data. If not, return to step 512 to continue acquiring raw data until the number of samples collected exceeds N samples. Thereafter, the routine 500 proceeds to step 516 to calculate the average raw signal CHavg (baseline), the minimum signal CH (MIN), the maximum signal CH (MAX), and the range CHrange of the signal CH. Next, at step 518, the routine 500 acquires a temperature baseline Tbaseline using a temperature sensor. Next, at step 520, the routine 500 stores all collected signal parameters in memory, and then proceeds to step 522 to set BIF to true and store the BIF in memory. Thereafter, the initialization process ends at step 524 and the routine 500 is able to process real-time signals.
[0165] Once the BIF flag is set, the routine 500 proceeds to step 526 to obtain the raw signal CH[i] for the current signal. Next, the routine 500 proceeds to decision step 528 to determine whether the signal jump flag (Signal_Jump_Flag) is set equal to true. The signal jump flag is set when the signal changes at a sufficiently high rate. If the signal jump flag is not set equal to true, the routine 500 proceeds to decision step 530 to determine whether the difference between the previous raw signal (CH[i-1]) and the current raw signal (CH[i]) is greater than the fault delta (Δ) (Failure_Delta) signal, and if so, proceed to step 538 to set the signal jump flag to true, and then to step 540 to set the jump time (Time_of_Jump) (Tj) equal to i before storing the current signal CH[i] in the storage buffer at step 542. If the difference between the previous signal and the current raw data signal is not greater than the fault delta signal, the routine 500 proceeds to step 532 to determine a real-time noise estimate of the current signal CH range. Next, at decision step 534, the routine 500 determines whether the signal CH range (CH_range) is greater than K times the CH range baseline (CH_range_baseline), where K is the noise multiplier, and if so, determines at step 536 that a line noise fault has been detected before returning to step 526. If the CH range is not greater than K times the CH range baseline, the routine 500 proceeds directly to step 526 without indicating a line noise fault detection.
[0166] Returning to decision step 528, if the routine 500 determines that the signal jump flag is set equal to true, the routine 500 proceeds to step 542 to store the current signal CH[i] in a storage buffer, and then to decision step 544 to determine whether the signal setup jump time CH[Tj] is greater than the current signal CH[i] plus the overshoot, and if so, proceed to step 556 to set the signal jump flag equal to false (flase) and process the potential touch event before returning to step 526. If the signal at the jump time is greater than the current signal plus the overshoot, the routine 500 proceeds to decision step 546 to determine whether the current signal sample is greater than the jump time sample plus N jump values (nJump), and if not, returns to step 526. If the current signal is greater than the jump time plus N jumps, the routine 500 proceeds to decision step 548 to determine whether the difference between the maximum and minimum signal values of the stable signal CHstable is less than a defined range, and if so, proceeds to step 552 to determine that a line "cut" fault condition is detected. A line "cut" fault state can be a crack in a conductive circuit that causes a change in resistance, resulting in a change in the electrical signal. Next, routine 500 proceeds to step 554 to update the threshold to an adjusted threshold based on the adjusted baseline. The adjusted threshold can be determined by multiplying the touch threshold by 1 / Δ signal failure rate (DELTA_SIGNAL_FAULT_RATIO) (CH[Tj] / CH[Tj-1]) before returning to step 526. The adjusted threshold is based on the ratio of the previous threshold multiplied by the adjusted baseline divided by the previous baseline. The adjusted baseline and the adjusted threshold can then be used to determine the activation of the proximity sensor and therefore the switch. If the channel stability CHmax minus CHmin is not less than the range, the routine 500 proceeds to step 550 to set the signal jump flag equal to false before returning to step 526.
[0167] Thus, the proximity sensor assembly advantageously detects the presence of a fault caused by a degradation signal associated with one of the capacitive sensors by comparing an initial baseline value to a real-time value. Additionally, the proximity sensor assembly can adjust the baseline in order to recover and allow continued use of the proximity sensor assembly despite the presence of the fault. If the fault is severe, the assembly can alert the user that repair of the assembly is needed or required.
[0168] It will be understood that changes and modifications may be made to the structures and methods described above without departing from the concepts of the present invention, and it will be further understood that such concepts are intended to be covered by the following claims unless such claims by their language expressly dictate otherwise.
Claims
1. A proximity sensor assembly, comprising: a proximity sensor comprising a conductive circuit and generating a signal based on a sensed activation field; and a control circuit for processing the signal to sense activation of the sensor, the control circuit monitoring the signal and comparing the signal to a previous signal and determining a fault condition based on a change between the current signal and the previous signal remaining at a decreasing value for a period of time greater than expiration of a timer. 2 . The assembly of claim 1 , wherein the previous signal comprises an initial signal measured during initialization of the sensor.
3. The assembly of claim 1, wherein the control circuit compares one or more signal parameters of the previous signal to the signal, and wherein the one or more signal parameters comprise an average raw signal.
4. The assembly of claim 3, wherein the one or more signal parameters include a noise level of the previous signal.
5. The assembly of claim 1, further comprising a memory for storing one or more parameters of the previous signal.
6. The assembly of claim 1 wherein the proximity sensor is mounted on a vehicle for use by passengers of the vehicle.
7. The assembly of claim 1 wherein the proximity sensor comprises a capacitive sensor.
8. The assembly of any one of claims 1-7, wherein the control circuit generates a baseline value of the previous signal and when a fault condition is detected adjusts the baseline value to an adjusted baseline value to attempt to correct the fault condition.
9. The assembly of claim 8 wherein the proximity sensor is configured to operate as a capacitive switch and wherein the control circuit adjusts a threshold value based on the adjusted baseline value and compares the adjusted threshold value to the signal to determine activation of the switch.
10. The assembly of claim 1 wherein said control circuit further generates a warning signal to indicate said fault condition.
11. A method for detecting a fault condition of a proximity sensor assembly, comprising: generating a signal from the activation field using a proximity sensor; storing an initial baseline value based on one or more parameters of a previous signal; monitoring the signal during use to detect a difference in the signal that deviates from the previous signal by a predetermined amount; and The fault condition is determined based on a change between the current signal and the previous signal remaining at a decreasing value for a time period greater than expiration of a timer.
12. The method of claim 11, further comprising adjusting the baseline value to an adjusted baseline value when the fault condition is detected to attempt to correct the fault condition.
13. The method of any one of claims 11-12, further comprising generating a warning signal to indicate the fault condition.
14. A proximity sensor assembly, comprising: a proximity sensor comprising a conductive circuit and generating a signal based on a sensed activation field; and a control circuit for processing the signal to sense activation of the sensor, the control circuit further monitoring the signal and comparing the signal to one or more parameters of a previous signal stored in a memory and determining a fault condition based on a change between the one or more parameters of the current signal and the previous signal remaining at a decreasing value for a time period greater than expiration of a timer, wherein the control circuit generates a baseline value for the previous signal and adjusts the baseline value to an adjusted baseline value when a fault condition is detected to attempt to correct the fault condition.
