A switching control method, device and vehicle
Patent Information
- Application Number
- CN202611160651.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-31
- Publication Date
- 2026-10-20
AI Technical Summary
[0004]然而,电容式触摸开关在实际使用中常常会发生误触发的情况,影响驾驶安全与系统稳定性
[0026]应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,而非限制本申请的技术方案。
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
Technical Field
[0001] This application relates to the field of new energy vehicle technology, and in particular to a switch control method, device and vehicle. Background Technology
[0002] As automotive interior design continues to prioritize aesthetics and technological sophistication, more and more in-vehicle switches are adopting touch-sensitive designs to replace traditional physical travel switches, thereby enhancing the overall visual appeal and user experience.
[0003] In touch switches, capacitive solutions are widely used due to their simple structure and sensitive response. The basic principle is to determine whether a touch operation has occurred by detecting changes in capacitance, and a fixed capacitance threshold is usually set as the trigger condition.
[0004] However, capacitive touch switches are often accidentally triggered in actual use, affecting driving safety and system stability. Summary of the Invention
[0005] This application provides a switch control method, device, and vehicle that can effectively prevent accidental triggering of touch switches.
[0006] The technical solution of this application embodiment is implemented as follows: In a first aspect, embodiments of this application provide a switch control method, the method comprising: When a touch operation is detected on the in-vehicle switch, an in-vehicle image is acquired, and the target object is determined based on the in-vehicle image. The target object is the subject that performs the touch operation on the in-vehicle switch. Retrieve the switch operation threshold range corresponding to the target object from the database; the switch operation threshold range includes the capacitance threshold range and the touch pressure threshold range. Whether to activate the in-vehicle switch is determined based on the switch operation threshold range.
[0007] Based on the aforementioned technical means, when a touch operation is detected by the in-vehicle switch, an image of the in-vehicle interior is acquired and the target object is identified. This image is then combined with the capacitance threshold range and touch pressure threshold range corresponding to the target object to determine whether to activate the switch. Since different users have different operating habits and capacitance response characteristics—for example, some users have very low touch pressure while others have high capacitance response—distinguishing between the corresponding switch operation threshold ranges for different users to determine whether the in-vehicle switch is on or off effectively avoids false triggering and misjudgments caused by changes in user physical condition, thus improving the accuracy of switch control and the user experience.
[0008] In one embodiment, the in-vehicle switch includes an active touch area and an inactive touch area. Determining whether to activate the in-vehicle switch based on a switch operation threshold range includes: If a touch operation is detected in the valid touch area and no touch operation is detected in the invalid touch area, obtain the touch capacitance and touch pressure corresponding to the touch operation; The system compares the touch capacitance with the capacitance threshold range and the touch pressure with the touch pressure threshold range, and determines whether to activate the in-vehicle switch based on the comparison results.
[0009] Based on the aforementioned technical methods, by setting valid and invalid touch areas, and only when a touch operation is detected in the valid touch area and there is no operation in the invalid touch area, further touch capacitance and pressure data are collected for comparison. This design can effectively eliminate false triggers caused by large-area contact of the palm or arm, because if the user touches with something other than their fingers, it often causes both the valid and invalid areas to be triggered simultaneously, thus being judged as an invalid operation by the system. Combining capacitance and pressure dual threshold judgment further enhances the ability to prevent accidental touches.
[0010] In one embodiment, the method further includes: If a touch operation is detected in both the valid and invalid touch areas, the in-vehicle switch will not be activated. If no touch operation is detected in the valid touch area, the in-vehicle switch will not be activated.
[0011] Based on the aforementioned technical means, when both the valid and invalid touch areas are triggered simultaneously, it can be directly determined as an invalid operation, avoiding abnormal function activation due to accidental touches; when no operation is detected in the valid touch area, it is also directly determined not to activate, ensuring that subsequent judgments are only made when a valid touch occurs in the correct area. This design achieves dual verification in physical space, significantly improving the safety and reliability of switch control.
[0012] In one embodiment, the invalid touch area is located around the valid touch area and connected to the valid touch area.
[0013] This layout is simple, low-cost, and easy to integrate into existing touch switch designs, effectively improving the performance against accidental touches.
[0014] In one embodiment, the switch operation threshold range includes capacitance threshold ranges and touch pressure threshold ranges corresponding to different body parts; determining whether to activate the in-vehicle switch based on the comparison result includes: If the touch capacitance falls within the capacitance threshold range corresponding to the first body part, or the touch pressure falls within the touch pressure threshold range corresponding to the first body part, the in-vehicle switch will not be activated. If the touch capacitance falls within the capacitance threshold range corresponding to the second body part, and the touch pressure falls within the touch pressure threshold range corresponding to the second body part, then the in-vehicle switch is activated.
[0015] Based on the aforementioned technical methods, the validity of a touch operation is determined by identifying the corresponding body part through touch capacitance and touch pressure, thereby deciding whether to activate the in-vehicle switch. This effectively distinguishes between operations performed by a second body part and touches performed by a first body part, thus improving the touch switch's ability to prevent accidental touches. This, in turn, optimizes the user experience and enhances the safety and reliability of the vehicle's human-machine interaction.
[0016] In one embodiment, determining the target object based on the in-vehicle image includes: Multiple candidate objects and their locations were identified from images inside the vehicle. The target object is determined based on the location of each candidate object and the location of the switches inside the vehicle.
[0017] Based on the aforementioned technical methods, image recognition technology is used to locate the positions of people inside the vehicle. Combined with the spatial location of switches within the vehicle, the system accurately determines which object is performing a touch operation. This process avoids misidentification caused by multiple people being inside the vehicle simultaneously, ensuring that the acquired target object is the actual entity performing the touch action, thereby guaranteeing the accuracy of subsequent threshold matching.
[0018] In one embodiment, the method further includes: For each registered user, the capacitance and touch pressure values of multiple target body parts of the registered user when they touch the switches inside the vehicle are collected; there are multiple registered users, multiple capacitance values, and multiple touch pressure values. For each target body part, the capacitance threshold range corresponding to the target body part is determined based on multiple capacitance values corresponding to the target body part, and the touch pressure threshold range corresponding to the target body part is determined based on multiple touch pressure values corresponding to the target body part. The switch operation threshold range for registered users is generated based on the capacitance threshold range and touch pressure threshold range corresponding to each target body part.
[0019] Based on the aforementioned technical methods, by repeatedly collecting capacitance and pressure values from multiple key parts of each registered user's fingers, and calculating statistical ranges as thresholds, a personalized switch operation parameter library is constructed. This method considers individual user differences and operating habits, adapts to the physiological characteristics of different users, and improves recognition accuracy.
[0020] In one embodiment, obtaining the switching operation threshold range corresponding to the target object includes: If the target object is an unregistered user, then the corresponding switch operation threshold range for the target object is obtained based on the factory-calibrated capacitance threshold range and touch pressure threshold range.
[0021] Based on the aforementioned technical means, when an unregistered user is detected, the system can automatically switch to a factory-preset universal threshold range, facilitating operation of vehicle functions by temporary passengers or visitors. This design balances security and convenience, preventing unauthorized users from abusing the system while ensuring basic operational usability, demonstrating the system's flexibility and practicality.
[0022] Secondly, embodiments of this application also provide a switch control device, the device comprising: The acquisition module is used to acquire images inside the vehicle when a touch operation is detected by an in-vehicle switch. The processing module is used to determine the target object based on the in-vehicle image. The target object is the subject that performs a touch operation on the in-vehicle switch. It retrieves the corresponding switch operation threshold range from the database. The switch operation threshold range includes a capacitance threshold range and a touch pressure threshold range. It determines whether to activate the in-vehicle switch based on the switch operation threshold range.
[0023] Thirdly, embodiments of this application also provide a vehicle, including a processor and a memory, wherein the memory stores a program or instructions that can run on the processor, and the program or instructions, when executed by the processor, implement the steps of the switch control method as described in any of the above embodiments.
[0024] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program or computer-executable instructions, wherein when the computer program or computer-executable instructions are executed by a processor, the steps of the switch control method as described in any of the above embodiments are implemented.
[0025] Fifthly, embodiments of this application provide a computer program product, including a computer program or computer-executable instructions, wherein when the computer program or computer-executable instructions are executed by a processor, the steps of the switch control method as described in any of the above embodiments are implemented.
[0026] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of this application. Attached Figure Description
[0027] Figure 1 This is a flowchart illustrating a switch control method provided in an embodiment of this application. Figure 1 ; Figure 2 This is a flowchart illustrating a method for generating a switch operation threshold range according to an embodiment of this application; Figure 3 This is a flowchart illustrating a switch control method provided in an embodiment of this application. Figure 2 ; Figure 4 This is a schematic diagram of a touch structure for an in-vehicle switch provided in an embodiment of this application. Figure 1 ; Figure 5 This is a schematic diagram of a touch structure for an in-vehicle switch provided in an embodiment of this application. Figure 2 ; Figure 6 This is a schematic diagram of a touch structure for an in-vehicle switch provided in an embodiment of this application. Figure 3 ; Figure 7 This is a schematic diagram of the framework of a switch control method provided in an embodiment of this application; Figure 8 This is a logic block diagram of a switch control device provided in an embodiment of this application; Figure 9 This is a schematic diagram of the hardware structure of a vehicle provided in an embodiment of this application. Detailed Implementation
[0028] In order to gain a more detailed understanding of the features and technical content of the embodiments of this application, the implementation of the embodiments of this application will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for reference and illustration only and are not intended to limit the embodiments of this application.
[0029] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0030] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0031] It should also be noted that the terms "first, second, and third" used in the embodiments of this application are only used to distinguish similar objects and do not represent a specific order of objects. It is understood that "first, second, and third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0032] Furthermore, the reference to "embodiment" herein means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0033] As automotive interior design continues to prioritize aesthetics and technological sophistication, more and more in-vehicle switches are adopting touch-sensitive designs to replace traditional physical travel switches, thereby enhancing the overall visual appeal and user experience.
[0034] In touch switches, capacitive solutions are widely used due to their simple structure and sensitive response. The basic principle is to determine whether a touch operation has occurred by detecting changes in capacitance, and a fixed capacitance threshold is usually set as the trigger condition.
[0035] However, capacitive touch switches are prone to false triggering in practical use, affecting driving safety and system stability. For example, unintentional actions such as a user's arm approaching the touch switch or a metal object touching the touch switch can cause the touch switch to activate falsely.
[0036] In addition, existing technologies mostly rely on a single capacitance threshold for judgment, resulting in limited ability to prevent accidental touches and an inability to balance sensitivity and accuracy.
[0037] To address the aforementioned technical problems, this application proposes a switch control method that controls the activation of in-vehicle touch switches based on the identification of target objects and the matching of multi-dimensional operation thresholds.
[0038] The core of the switch control method provided in this application lies in introducing a target object recognition mechanism. This mechanism combines image recognition technology to determine the identity of the operating entity and retrieves personalized capacitance and pressure threshold ranges from a database based on that identity. Then, it uses multi-dimensional parameter comparison to determine whether to activate the switch. Furthermore, by setting a combination of valid / invalid touch areas for judgment and continuously updating personalized thresholds, the robustness and adaptability of the system are further enhanced. This solution allows for setting personalized thresholds based on different users' operating habits to determine whether to activate the in-vehicle touch switch, effectively preventing accidental touches and achieving intelligent and personalized switch control.
[0039] The various embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0040] The execution entity of the switch control method provided in this application embodiment can be a vehicle, a processor configured in the vehicle, or a chip with processing capabilities. A database is pre-deployed in the vehicle. The processor or chip with processing capabilities in the vehicle integrates a computing system, which can retrieve the switch operation threshold range corresponding to the target object from the database, and determine whether to activate the in-vehicle switch based on the switch control method provided in this application embodiment in response to a touch operation detected by the in-vehicle switch.
[0041] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0042] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating a switch control method provided in an embodiment of this application. Figure 1 The method includes: Step 101: When the in-vehicle switch detects a touch operation, acquire an in-vehicle image and determine the target object based on the in-vehicle image.
[0043] The target object is the entity that performs touch operations on the switches inside the vehicle.
[0044] In this embodiment, the in-vehicle switch refers to an in-vehicle touch switch, which typically integrates a capacitive sensor and a pressure sensor to monitor in real time whether physical contact occurs. When a user's finger or other object touches the switch surface, the sensor captures the change in capacitance or pressure signal, thereby determining that a touch operation has been detected and triggering the subsequent determination process.
[0045] In one implementation, the in-vehicle image can be acquired in real time. That is, when an in-vehicle switch detects a touch operation, an in-vehicle image can be acquired using a real-time image from an onboard camera. This image is then transmitted to a computing system for analysis and identification of the entity operating the switch.
[0046] In another implementation, when the vehicle starts, the vehicle can capture and store interior images using an onboard camera without the user's awareness. When an in-vehicle switch detects a touch operation, the captured interior image, which was captured when the vehicle started, can be retrieved from the stored data.
[0047] In another implementation, after the vehicle starts, it can periodically capture images of the vehicle's interior using an onboard camera without the user's awareness. The image from the previous period is replaced with the image captured in the current period, and the latest captured image is stored in a database. When an in-vehicle switch detects a touch operation, it can retrieve the most recently captured image from the stored data.
[0048] In this embodiment, multiple occupants may be seated in the vehicle, and the target object refers to the occupant who performs a touch operation on the in-vehicle switch. For example, the in-vehicle image shows occupants A, B, C, and D. If occupant D performs a touch operation on the in-vehicle switch, then occupant D is identified as the target object. In this embodiment, facial recognition can be performed on the in-vehicle image to identify the multiple occupants, and the target object who performed the touch operation on the in-vehicle switch can be determined from among the multiple occupants.
[0049] In some embodiments, there may be multiple target objects. Specifically, if multiple in-vehicle switches each detect a touch operation, then the target object corresponding to each in-vehicle switch can be determined.
[0050] In this embodiment of the application, image recognition technology can be used to identify the subject that has performed a touch operation on the in-vehicle switch, thereby providing a basis for candidate personalized threshold extraction.
[0051] Step 102: Retrieve the switch operation threshold range corresponding to the target object from the database.
[0052] The switch operation threshold range includes a capacitance threshold range and a touch pressure threshold range. Different target objects correspond to different switch operation threshold ranges.
[0053] In this embodiment of the application, the switch operation threshold range refers to the range of two key parameters used to determine whether a touch operation is effective, including the capacitance threshold range and the touch pressure threshold range.
[0054] The capacitance threshold range reflects the capacitance change characteristics generated when a user's body part (especially fingers) comes into contact with the surface of a switch inside the vehicle. Since the capacitance values of different parts of the human body vary significantly—for example, the capacitance value of fingers is typically between 0.5-3 pF, the palm between 3-10 pF, the arm between 5-20 pF, and the torso can reach 10-50 pF—setting personalized capacitance threshold ranges can effectively distinguish finger operations from operations using other body parts, thus accurately determining whether a false touch has occurred. For example, if a capacitance value of 8 pF is detected, it can be determined as palm contact, not finger operation.
[0055] The touch pressure threshold range reflects the amount of force applied by the user. Due to differences in individual habits, different users apply different pressures during operation. For example, the average operating force for adult women is about 2-3N, for adult men it is 3-5N, and for children or the elderly it may be less than 2N. By setting a reasonable pressure threshold range, invalid operations such as light touches, swipes, or unintentional touches can be further filtered out. For example, if a user only lightly touches the switch with their fingertip, the pressure value is only 1N, which is far below the set minimum threshold, and can be judged as an invalid operation.
[0056] In this embodiment, a multi-dimensional judgment standard is formed by combining the capacitance threshold range and the touch pressure threshold range. The decision is made by integrating capacitance and pressure information, avoiding reliance on a single parameter and greatly improving the accuracy and robustness of the judgment.
[0057] In this embodiment, the database stores the personal information of all registered users, including registration data and the corresponding switch operation threshold range for each registered user. The registration data includes facial data, capacitance data, and touch pressure data collected during user registration. The switch operation threshold range is determined based on the capacitance data and touch pressure data.
[0058] Please refer to Figure 2 , Figure 2 This is a flowchart illustrating a method for generating a switch operation threshold range according to an embodiment of this application. The method includes: Step 201: For each registered user, collect the capacitance and touch pressure values of multiple target body parts of the registered user when they touch the switches inside the vehicle.
[0059] Among them, there are multiple registered users, multiple capacitance values, and multiple touch pressure values.
[0060] These targets multiple body parts, such as fingers, palms, arms, and torso. Registered users are typically car owners and their family members, as well as people who frequently use the vehicle.
[0061] Step 202: For each target body part, determine the capacitance threshold range corresponding to the target body part based on multiple capacitance values corresponding to the target body part, and determine the touch pressure threshold range corresponding to the target body part based on multiple touch pressure values corresponding to the target body part.
[0062] Step 203: Generate the switch operation threshold range corresponding to the registered user based on the capacitance threshold range and touch pressure threshold range corresponding to each target body part.
[0063] First, registered users can log into the vehicle's computing system using their owner's account and initiate the registration process. In one implementation, users can complete registration via a mobile terminal, and the registration information is then transmitted to the vehicle via the mobile terminal. In another implementation, users can register via the in-vehicle display screen.
[0064] Taking registration via an in-vehicle display screen as an example, the in-vehicle display screen can prompt the registered user to start recording facial data as well as the capacitance and touch pressure values of different parts of the body when touching the switches inside the vehicle.
[0065] Facial data refers to user facial feature data collected and stored through in-vehicle cameras, including but not limited to facial contours, the position of facial features, skin tone, and texture, used to uniquely identify a user. For example, when a car owner logs into the vehicle for the first time, the computing system can guide the owner to face the camera to complete facial registration, generating a unique biometric code that is then linked to the user's account. Facial data can be used for identity verification every time the owner gets into the vehicle, enabling seamless switching of personalized settings.
[0066] Registered users can begin recording their facial data by facing the camera. Upon successful recording, the in-vehicle display will indicate this. The display will then prompt the user to begin recording the capacitive values of their fingers, and will instruct them to perform N touch operations on in-vehicle switches with each finger, where N can be an integer between 5 and 10. The display will collect the capacitive and pressure values corresponding to each touch operation. In this way, N capacitive and pressure values can be collected for each finger.
[0067] The sensor can transmit the collected capacitance data and touch pressure data to the computing system, which can then calculate the average capacitance based on the N capacitance values corresponding to the finger, and also calculate the average touch pressure based on the N touch pressure values corresponding to the finger.
[0068] Finally, the average capacitance and average touch pressure for all fingers are obtained, and the capacitance threshold range for each finger is determined based on the average capacitance of all fingers. The touch pressure threshold range for each finger is determined based on the average touch pressure of all fingers.
[0069] The capacitance threshold range corresponding to a finger refers to the typical capacitance change range generated when a user's finger touches a switch. This capacitance threshold range is highly individualized and can effectively distinguish between different users or different fingers of the same user.
[0070] The touch pressure threshold range corresponding to a finger refers to the vertical force applied by the user operating the switch during operation, which is measured in real time by a built-in pressure sensor. For example, the touch pressure threshold range corresponding to a female user's finger is [2.0N, 3.5N], while the touch pressure threshold range corresponding to a male user's finger is [3.0N, 5.0N].
[0071] Based on the same process, the capacitance threshold range and touch pressure threshold range corresponding to the registered user's palm, the capacitance threshold range and touch pressure threshold range corresponding to the registered user's arm, the capacitance threshold range and touch pressure threshold range corresponding to the registered user's torso, and so on, can also be obtained.
[0072] The capacitance threshold range and touch pressure threshold range corresponding to different body parts of the registered user can be summarized to form the switch operation threshold range corresponding to the registered user and stored in the database.
[0073] In one possible implementation, a body part framework is pre-defined, which may include, for example, a face, eight fingers, two palms, two arms, and a torso. Then, when each registered user registers, data is collected and entered according to this unified body part framework, ensuring that each registered user can construct a data set consisting of a face, eight fingers, two palms, two arms, and a torso.
[0074] In this embodiment, the database can store the switch operation threshold ranges for multiple registered users. The database can be deployed in the vehicle domain controller or connected to a cloud server to achieve cross-vehicle data synchronization and backup.
[0075] Once the target object is identified, the computing system can retrieve the target object's unique threshold configuration from the database based on the facial data of the target object in the in-vehicle image, which is the threshold range for the switch operation corresponding to the target object, based on the identity matching mechanism.
[0076] For example, if the target object is identified as occupant A, the corresponding switch operation threshold range for occupant A is retrieved. For example, the capacitance threshold range for occupant A is [0.8pF, 2.5pF] and the pressure threshold range is [2.5N, 4.5N].
[0077] In some scenarios, temporary passengers may ride in the vehicle. These temporary passengers are not registered, meaning they are unregistered users. If the target is an unregistered user, it may be impossible to retrieve their corresponding switch operation threshold range from the database.
[0078] To address this issue, this application proposes that when searching for facial data of a target object in an in-vehicle image in a database, if a search fails, the target object is determined to be an unregistered user. In this case, the factory-calibrated capacitance threshold range and touch pressure threshold range can be obtained and used as the switch operation threshold range corresponding to the unregistered user.
[0079] It should be noted that, in the embodiments of this application, the factory-calibrated capacitance threshold range and touch pressure threshold range may include the capacitance threshold range and touch pressure threshold range corresponding to each body part in the aforementioned body part frame.
[0080] For example, if the target object is identified as passenger B, and passenger B is determined to be an unregistered user, then the default threshold ranges [1.0pF, 5.0pF] and [1.0N, 6.0N] are invoked.
[0081] This dynamic threshold retrieval mechanism ensures a suitable user experience for different user groups, while effectively preventing misoperations caused by unauthorized users or accidental touches. Furthermore, the database supports dynamic threshold updates. For example, when a user's physical condition changes (such as sweaty hands or dry skin) or capacitance drift occurs after long-term use, the threshold range for that user can be automatically adjusted through a rolling calculation mechanism to maintain the system's continuous effectiveness.
[0082] Step 103: Determine whether to activate the in-vehicle switch based on the switch operation threshold range.
[0083] In this embodiment, when a touch operation is detected by the in-vehicle switch, the touch capacitance and touch pressure corresponding to this touch operation can be collected. After obtaining the capacitance threshold range and touch pressure threshold range corresponding to the target object, the touch capacitance and touch pressure corresponding to this touch operation can be compared with the threshold range.
[0084] Specifically, when both the touch capacitance and touch pressure fall within the corresponding range, the touch operation is deemed valid, thereby activating the in-vehicle switch and realizing the functions associated with the in-vehicle switch (such as turning on the lights, adjusting the air conditioning, raising and lowering the windows, etc.).
[0085] For example, the touch capacitance for this touch operation is 1.2pF, and the touch pressure is 3.2N. The capacitance threshold range for the target object is [0.8pF, 2.5pF], and the touch pressure threshold range is [2.5N, 4.5N]. By comparison, it is determined that both the touch capacitance and touch pressure fall within the corresponding ranges; therefore, the touch operation is valid, and the vehicle's in-car switch is activated.
[0086] Conversely, if the touch capacitance corresponding to this touch operation is 7pF, which exceeds the upper limit of the capacitance threshold range [0.8pF, 2.5pF] for the target object, or if the touch pressure is 1.0N, which is lower than the lower limit of the touch pressure threshold range [2.5N, 4.5N], then the touch operation is deemed invalid and the in-vehicle switch will not be activated.
[0087] In summary, the switch control method provided in this application acquires an in-vehicle image and identifies the target object when the in-vehicle switch detects a touch operation. It then retrieves the capacitance threshold range and touch pressure threshold range corresponding to the target object from a database. Finally, it determines whether to activate the in-vehicle switch based on multi-dimensional parameter comparison. Utilizing the target object's specific threshold range to determine the validity of the touch operation and thus whether to activate the in-vehicle switch effectively solves the problem of false triggering and improves the intelligence and flexibility of the in-vehicle switch.
[0088] Based on the above embodiments, please refer to Figure 3 , Figure 3 This is a flowchart illustrating a switch control method provided in an embodiment of this application. Figure 2 The method includes: Step 301: Detect touch operation through in-vehicle switch, which includes valid touch area and invalid touch area.
[0089] The target object is the entity that performs touch operations on the switches inside the vehicle.
[0090] Please refer to Figure 4 , Figure 4 This is a schematic diagram of a touch structure for an in-vehicle switch provided in an embodiment of this application. Figure 1 The touch structure of the in-vehicle switch includes a touch panel, a touch diaphragm, and a PCBA board. When a user's finger touches the touch panel, the touch diaphragm located below the touch panel can detect touch capacitance and touch pressure.
[0091] In this embodiment, the in-vehicle switch has a touch structure with valid touch areas and invalid touch areas. The valid touch area refers to the designated touch region used to normally trigger the in-vehicle switch function. It is typically located in the core area of the switch panel and is the area the user expects to operate. The boundaries of the valid touch area are clearly defined through hardware design or software definition, ensuring that only touches occurring within this area are considered valid inputs. The invalid touch area refers to the auxiliary detection area surrounding the valid touch area. This auxiliary detection area identifies whether the user has simultaneously touched a non-target area, thereby determining whether there has been a false touch. For example, on a square touch switch, the valid touch area might be a central rectangular area, while the invalid touch areas are distributed in four edge strip-shaped areas.
[0092] Please refer to Figure 5, Figure 5 This is a schematic diagram of a touch structure for an in-vehicle switch provided in an embodiment of this application. Figure 2 .exist Figure 5 In this embodiment, the invalid touch area comprises multiple unconnected area blocks, which surround the valid touch area. In this application, the shape and size of each area block in the invalid touch area are not limited, nor are the shape and size of the valid touch area.
[0093] Please refer to Figure 6 , Figure 6 This is a schematic diagram of a touch structure for an in-vehicle switch provided in an embodiment of this application. Figure 3 .exist Figure 6 In this context, the invalid touch area is located outside the valid touch area and is connected to the valid touch area. Figure 6 The example illustrates a circular active touch area and a circular inactive touch area. This application does not limit the shape and size of the active / inactive touch area.
[0094] When a user's finger touches the valid touch area, the MCU (microcontroller unit) inside the vehicle's switch activates a sensor array to collect the touch capacitance and touch pressure at the touch point. The touch capacitance reflects the change in the electric field between the finger and the panel; the touch pressure is measured by a piezoelectric sensor or force-sensitive resistor.
[0095] Step 302: If a touch operation is detected in the effective touch area and no touch operation is detected in the invalid touch area, obtain the touch capacitance and touch pressure corresponding to the touch operation; if a touch operation is detected in both the effective and invalid touch areas, determine not to start the in-vehicle switch; if no touch operation is detected in the effective touch area, determine not to start the in-vehicle switch.
[0096] In this embodiment, if a touch operation is detected in the effective touch area and no touch operation is detected in the invalid touch area, it indicates that the user has accurately performed a touch operation. At this time, it can be determined that the touch operation is valid, and then the data acquisition stage is entered to collect the touch capacitance and touch pressure corresponding to the touch operation.
[0097] If both the valid and invalid touch areas are touched simultaneously, the operation is immediately deemed invalid. This spatial isolation design enhances the system's ability to detect accidental touches, making it particularly suitable for multi-switch layouts in confined spaces.
[0098] If no touch operation is detected in the valid touch area but a touch operation is detected in the invalid touch area, it means that the user did not have a clear intention to trigger the in-vehicle switch, so it can be determined directly not to start.
[0099] Step 303: Obtain in-vehicle images, determine the target object based on the in-vehicle images, and retrieve the corresponding switch operation threshold range from the database.
[0100] The switch operation threshold range includes the capacitance threshold range and the touch pressure threshold range.
[0101] In this embodiment, when there are multiple occupants in the vehicle, accurately identifying the target object that triggered the touch operation is crucial for subsequently obtaining the specific threshold. This embodiment proposes to determine the target object based on the position of each occupant and the position of the switches inside the vehicle.
[0102] In one implementation, the process of determining the target object based on in-vehicle images includes: Step S1: Identify multiple candidate objects and the location of each candidate object from the in-vehicle image.
[0103] In this embodiment, computer vision algorithms can be used to identify multiple occupants, i.e., candidate objects, from in-vehicle images. Each occupant is located in a different position within the vehicle; for example, occupant A is in the front passenger seat, occupant B is in the left rear seat, occupant C is in the driver's seat, and so on.
[0104] In this embodiment of the application, it is necessary not only to identify each candidate object from the in-vehicle image, but also to identify the position of each candidate object inside the vehicle.
[0105] Step S2: Determine the target object based on the position of each candidate object and the position of the switch inside the vehicle.
[0106] In this embodiment, the in-vehicle switch refers to a switch that detects a touch operation. The location of the in-vehicle switch indicates its position within the vehicle, specifically the location of the switch that was triggered in this instance.
[0107] Vehicles typically have multiple touch switches located in different parts of the vehicle. For example, the air conditioning touch switch is located on the center console, while the window and door touch switches are located in the control areas of each door.
[0108] In this embodiment of the application, the position of each candidate object can be spatially matched with the position of the in-vehicle switch to determine the candidate object that matches the position of the in-vehicle switch, which is the target object.
[0109] This application embodiment uses spatial matching to determine the candidate object as the target object when the candidate object is located in the space corresponding to the in-vehicle switch, so as to accurately identify the target object that performs the touch operation on the in-vehicle switch from multiple occupants.
[0110] Step 304: Compare the touch capacitance with the capacitance threshold range, and compare the touch pressure with the touch pressure threshold range. Based on the comparison results, determine whether to activate the in-vehicle switch.
[0111] In this embodiment, the switching operation threshold range corresponding to the target object includes the capacitance threshold range and the touch pressure threshold range corresponding to different body parts. The capacitance threshold range and touch pressure threshold range are different for different body parts.
[0112] When determining the validity of a touch operation, the embodiments of this application provide the following determination strategy.
[0113] The system detects the body parts corresponding to the capacitance threshold range hit by the touch capacitor and the body parts corresponding to the touch pressure threshold range hit by the touch pressure, and determines whether to activate the in-vehicle switch based on the body parts.
[0114] If the touch capacitance falls within the capacitance threshold range corresponding to the first body part, or the touch pressure falls within the touch pressure threshold range corresponding to the first body part, the in-vehicle switch will not be activated.
[0115] Among them, the first body parts, such as the palm, arm, and torso, are common in accidental touch scenarios.
[0116] If the touch capacitance falls within the capacitance threshold range corresponding to the second body part, and the touch pressure falls within the touch pressure threshold range corresponding to the second body part, then the in-vehicle switch is activated. The second body part is, for example, a finger.
[0117] The capacitance generated when touching a switch inside a car varies significantly depending on the body part. For example, fingers typically have a capacitance of 0.5-3 pF, palms 3-10 pF, arms 5-20 pF, and the torso can reach 10-50 pF. Therefore, the size of the capacitance can indicate the corresponding body part involved in the touch. If the body part is a finger, the touch operation is considered valid, and the switch can be activated. However, if the body part is another part, a false trigger has occurred.
[0118] This application embodiment determines the validity of a touch operation by identifying the corresponding body part based on touch capacitance and touch pressure, thereby determining whether to activate the in-vehicle switch. This effectively distinguishes between operations performed by a second body part and touches performed by a first body part, thus improving the touch switch's ability to prevent accidental touches. This, in turn, optimizes the user experience and enhances the safety and reliability of vehicle human-machine interaction.
[0119] In this embodiment, touch operations are initially filtered by identifying effective and ineffective touch areas. Then, the positions of multiple candidate objects are spatially matched with the positions of in-vehicle switches to accurately identify the target object. Next, the body part triggering the touch operation is precisely identified by using the target object's switch operation threshold range, which includes capacitance and touch pressure threshold ranges corresponding to different body parts. This allows for a determination of whether to activate the in-vehicle switch. By comparing multiple parameters, a highly flexible, accurate, and low-false-triggering-rate switch control strategy is formed.
[0120] Based on the above embodiments, please refer to Figure 7 , Figure 7 This is a schematic diagram of the framework of a switch control method provided in an embodiment of this application. Figure 7 The image shows a touch switch 701, an in-vehicle camera 702, an in-vehicle controller 703, and a touch switch actuator controller 704. The touch switch 701 includes a touch panel, a touch diaphragm, and a PCBA board.
[0121] In this embodiment, the in-vehicle camera 702 is used to capture images inside the vehicle and send the images to the in-vehicle controller 703.
[0122] The touch switch 702 is used to collect touch operations issued by the user and send the touch capacitance and touch pressure corresponding to the touch operation to the in-vehicle controller 703.
[0123] The in-vehicle controller 703 is used to identify the position of the touch switch 702 and to identify candidate objects and their positions based on in-vehicle images. The positions of the candidate objects are spatially matched with the positions of the touch switch 702, and the matched candidate objects are identified as the target objects. A specific threshold range corresponding to the target object is retrieved from a database, and then the touch capacitance and touch pressure corresponding to the touch operation are compared with the specific threshold range.
[0124] When making comparisons, the in-vehicle controller 703 can determine the body part corresponding to the current touch operation based on the body part corresponding to the capacitance threshold range hit by the touch capacitance and the body part corresponding to the touch pressure threshold range hit by the touch pressure.
[0125] If the body part corresponding to this touch operation is a finger, then the in-vehicle switch is turned on. At this time, the in-vehicle controller 703 sends a control command to the touch switch execution controller 704.
[0126] The touch switch actuator controller 704 responds to control commands to turn on the in-vehicle switch, thereby realizing the corresponding function of the in-vehicle switch.
[0127] If the body part corresponding to this touch operation is not a finger part, a false trigger has occurred. Therefore, it is determined not to turn on the in-vehicle switch and the process is terminated.
[0128] It should be understood that the steps in the aforementioned accompanying drawings are not necessarily performed in the order indicated in the drawings. Unless otherwise expressly stated herein, there is no strict order restriction on the execution of these steps, and they may be performed in other orders. Moreover, at least some of the steps in these drawings may include multiple sub-steps or multiple stages, which are not necessarily completed at the same time, but may be executed at different times, and the execution order of these sub-steps or stages is not necessarily sequential, but may be performed alternately or in turn with other steps or at least a portion of the sub-steps or stages of other steps.
[0129] In another embodiment of this application, a switch control device is provided, please refer to... Figure 8 , Figure 8 This is a logic block diagram of a switch control device provided in an embodiment of this application. The switch control device 800 may include: an acquisition module 801 and a processing module 802, wherein: The acquisition module 801 is used to acquire an image inside the vehicle when a touch operation is detected by the in-vehicle switch; The processing module 802 is used to determine the target object based on the in-vehicle image, the target object being the subject performing a touch operation on the in-vehicle switch; retrieve the switch operation threshold range corresponding to the target object from the database; wherein the switch operation threshold range includes a capacitance threshold range and a touch pressure threshold range; and determine whether to activate the in-vehicle switch based on the switch operation threshold range.
[0130] In one embodiment, the in-vehicle switch includes a valid touch area and an invalid touch area, and the processing module 802 is specifically used for: If a touch operation is detected in the valid touch area and no touch operation is detected in the invalid touch area, obtain the touch capacitance and touch pressure corresponding to the touch operation; The system compares the touch capacitance with the capacitance threshold range and the touch pressure with the touch pressure threshold range, and determines whether to activate the in-vehicle switch based on the comparison results.
[0131] In one embodiment, the processing module 802 is specifically used for: If a touch operation is detected in both the valid and invalid touch areas, the in-vehicle switch will not be activated. If no touch operation is detected in the valid touch area, the in-vehicle switch will not be activated.
[0132] In one embodiment, the invalid touch area is located around the valid touch area and connected to the valid touch area.
[0133] In one embodiment, the switch operation threshold range includes capacitance threshold ranges and touch pressure threshold ranges corresponding to different body parts; the processing module 802 is specifically used for: If the touch capacitance falls within the capacitance threshold range corresponding to the first body part, or the touch pressure falls within the touch pressure threshold range corresponding to the first body part, the in-vehicle switch will not be activated. If the touch capacitance falls within the capacitance threshold range corresponding to the second body part, and the touch pressure falls within the touch pressure threshold range corresponding to the second body part, then the in-vehicle switch is activated.
[0134] In one embodiment, the processing module 802 is specifically used for: Multiple candidate objects and their locations were identified from images inside the vehicle. The target object is determined based on the location of each candidate object and the location of the switches inside the vehicle.
[0135] In one embodiment, the processing module 802 is specifically used for: For each registered user, the capacitance and touch pressure values of multiple target body parts of the registered user when they touch the switches inside the vehicle are collected; there are multiple registered users, multiple capacitance values, and multiple touch pressure values. For each target body part, the capacitance threshold range corresponding to the target body part is determined based on multiple capacitance values corresponding to the target body part, and the touch pressure threshold range corresponding to the target body part is determined based on multiple touch pressure values corresponding to the target body part. The switch operation threshold range for registered users is generated based on the capacitance threshold range and touch pressure threshold range corresponding to each target body part.
[0136] In one embodiment, the processing module 802 is specifically used for: If the target object is an unregistered user, then the corresponding switch operation threshold range for the target object is obtained based on the factory-calibrated capacitance threshold range and touch pressure threshold range.
[0137] Each module in the aforementioned switch control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the vehicle's processor in hardware form or independent of it, or stored in the vehicle's memory in software form, so that the processor can call and execute the corresponding operations of each module.
[0138] In yet another embodiment of this application, please refer to Figure 9 , Figure 9This is a schematic diagram of the hardware structure of a vehicle according to an embodiment of this application. The vehicle may include a communication interface 901, a memory 902, and a processor 903; the various components are coupled together through a bus system 904. It is understood that the bus system 904 is used to realize the connection and communication between these components. In addition to a data bus, the bus system 904 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 9 The general labeled all buses as Bus System 904.
[0139] In this embodiment, the communication interface 901 is used to send and receive information with other external devices; the memory 902 is used to store a computer program that can run on the processor 903; the processor 903 is used to execute the steps of the switch control method described in any of the foregoing embodiments when running the computer program.
[0140] It is understood that the memory 902 in this embodiment of the application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate Synchronous DRAM (DDRSDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 902 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0141] The processor 903 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of the processor 903 or by software instructions. The processor 903 can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory 902, and the processor 903 reads the information in memory 902 and, in conjunction with its hardware, completes the steps of the above method.
[0142] It is also understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or combinations thereof.
[0143] For software implementation, the techniques described herein can be implemented through modules (e.g., procedures, functions, etc.) that perform the functions described herein. Software code can be stored in memory and executed by a processor. The memory can be implemented in the processor or externally. Wherein, if implemented as a software functional module and not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0144] In another embodiment of this application, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of the switch control method described in the foregoing embodiments.
[0145] In another embodiment of this application, a computer program product is also provided, including a computer program or instructions that, when executed by a processor, implement the steps of the switch control method as described in the foregoing embodiments.
[0146] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, devices, or computer program products. Therefore, this application can take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage) containing computer-usable program code.
[0147] It should be noted that, in this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0148] The sequence numbers of the embodiments in this application are merely for descriptive purposes and do not represent the superiority or inferiority of the embodiments. The features disclosed in the several product embodiments provided in this application can be arbitrarily combined to obtain new product embodiments without conflict. Similarly, the features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined to obtain new method or device embodiments without conflict. The above descriptions are merely specific implementations of this application, but the protection scope of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the protection scope of this application.
Claims
1. A switching control method, characterized in that, The method includes: When a touch operation is detected by the in-vehicle switch, an in-vehicle image is acquired, and a target object is determined based on the in-vehicle image. The target object is the subject that performs the touch operation on the in-vehicle switch. Retrieve the switch operation threshold range corresponding to the target object from the database; wherein, the switch operation threshold range includes a capacitance threshold range and a touch pressure threshold range; Whether to activate the in-vehicle switch is determined based on the switch operation threshold range.
2. The method according to claim 1, characterized in that, The in-vehicle switch includes an effective touch area and an ineffective touch area. Determining whether to activate the in-vehicle switch based on the switch operation threshold range includes: If the touch operation is detected in the effective touch area and not detected in the invalid touch area, the touch capacitance and touch pressure corresponding to the touch operation are obtained. The system compares the touch capacitance with the capacitance threshold range and the touch pressure with the touch pressure threshold range, and determines whether to activate the in-vehicle switch based on the comparison results.
3. The method according to claim 2, characterized in that, The method further includes: If the touch operation is detected in both the valid touch area and the invalid touch area, it is determined that the in-vehicle switch will not be activated; If no touch operation is detected in the valid touch area, it is determined that the in-vehicle switch will not be activated.
4. The method according to claim 2, characterized in that, The invalid touch area is located around the valid touch area and is connected to the valid touch area.
5. The method according to claim 2, characterized in that, The switch operation threshold range includes capacitance threshold ranges and touch pressure threshold ranges corresponding to different body parts; determining whether to activate the in-vehicle switch based on the comparison result includes: If the touch capacitance falls within the capacitance threshold range corresponding to the first body part, or the touch pressure falls within the touch pressure threshold range corresponding to the first body part, then the in-vehicle switch will not be activated. If the touch capacitance falls within the capacitance threshold range corresponding to the second body part, and the touch pressure falls within the touch pressure threshold range corresponding to the second body part, then the in-vehicle switch is activated.
6. The method according to claim 1, characterized in that, The step of determining the target object based on the in-vehicle image includes: Multiple candidate objects and the location of each candidate object are identified from the in-vehicle images; The target object is determined based on the location of each candidate object and the location of the in-vehicle switch.
7. The method according to claim 1, characterized in that, The method further includes: For each registered user, the capacitance and touch pressure values of multiple target body parts of the registered user when they touch the in-vehicle switch are collected; wherein, there are multiple registered users, multiple capacitance values, and multiple touch pressure values; For each target body part, the capacitance threshold range corresponding to the target body part is determined based on the multiple capacitance values corresponding to the target body part, and the touch pressure threshold range corresponding to the target body part is determined based on the multiple touch pressure values corresponding to the target body part. The switch operation threshold range for the registered user is generated based on the capacitance threshold range and touch pressure threshold range corresponding to each of the target body parts.
8. The method according to claim 1, characterized in that, The step of obtaining the switching operation threshold range corresponding to the target object includes: If the target object is an unregistered user, then the switch operation threshold range corresponding to the target object is obtained according to the factory-calibrated capacitance threshold range and touch pressure threshold range.
9. A switch control device, characterized in that, The device includes: The acquisition module is used to acquire images inside the vehicle when a touch operation is detected by an in-vehicle switch. The processing module is used to determine a target object based on the in-vehicle image, wherein the target object is the subject performing a touch operation on the in-vehicle switch; retrieve the switch operation threshold range corresponding to the target object from the database; wherein the switch operation threshold range includes a capacitance threshold range and a touch pressure threshold range; and determine whether to activate the in-vehicle switch based on the switch operation threshold range.
10. A vehicle comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the switching control method as described in any one of claims 1 to 8.