Key positioning method and system, storage medium and vehicle
By setting antennas inside and outside the vehicle, obtaining signal strength and adjusting thresholds according to vehicle component status, the problem of inaccurate key positioning in the PEPS system is solved, and higher positioning accuracy is achieved.
Patent Information
- Application Number
- CN202410065170.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-16
- Publication Date
- 2025-07-25
AI Technical Summary
The existing PEPS system has inaccurate key positioning due to the shielding effect of the vehicle body and human body on the magnetic field.
Antennas are arranged inside and outside the vehicle cockpit to obtain signal strength information of the key, and a target threshold is determined based on the current status of the vehicle target component, and a key position is determined based on the relationship between the signal strength and the threshold.
Improve the accuracy of key positioning to ensure that the relative relationship between threshold and signal strength remains stable when environmental changes.
Smart Images

Figure CN120379022A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicles, and in particular, to a key positioning method, system, storage medium, and vehicle. Background Art
[0002] With the development of vehicle intelligence, more and more vehicles are equipped with PEPS (Passive-Entry-Passive-Start). When the key is within a specified range, PEPS can automatically identify the legitimacy of the key, thereby automatically unlocking the vehicle door or controlling the vehicle to power on automatically, eliminating some cumbersome steps and simplifying the operation of the vehicle.
[0003] In related technologies, PEPS mainly identifies the position of the key by the magnitude relationship between the magnetic field intensity radiated by the vehicle's low-frequency antenna and a threshold value, and then makes a decision on vehicle control. However, due to the shielding effect of the vehicle body and the human body on the magnetic field, the magnetic field intensity received by the key at the same position but different vehicle body states varies greatly, resulting in PEPS being unable to accurately locate the position of the key. Summary of the Invention
[0004] Based on this, the present application provides a key positioning method, system, storage medium, and vehicle to solve the problem of how to improve the accuracy of key positioning.
[0005] In the first aspect of the embodiments of the present application, a key positioning method is provided. The method is applied to a vehicle, and at least one first antenna is provided in the cockpit of the vehicle, and at least one second antenna is provided outside the cockpit. The method includes:
[0006] In response to the trigger of a preset action, receiving signal strength information sent by the key of the vehicle, where the signal strength information includes a first strength of a first signal radiated by the first antenna received by the key and a second strength of a second signal radiated by the second antenna;
[0007] Based on the current state of the target components of the vehicle, determining a first target threshold for the first antenna and a second target threshold for the second antenna, where the target components include at least one of the vehicle's doors, windows, and seats;
[0008] Based on the magnitude relationship between the first strength and the first target threshold, and the magnitude relationship between the second strength and the second target threshold, determining the position of the key.
[0009] Optionally, determining a first target threshold for the first antenna and a second target threshold for the second antenna based on the current state of the target component of the vehicle includes:
[0010] Based on the current state of the target component, determining a target environment type corresponding to the radiation environment in which the first antenna and the second antenna are located;
[0011] From multiple first preset thresholds corresponding to the first antenna, determining the first preset threshold corresponding to the target environment type as the first target threshold;
[0012] From multiple second preset thresholds corresponding to the second antenna, determining the second preset threshold corresponding to the target environment type as the second target threshold;
[0013] Wherein, different first preset thresholds correspond to different environment types, different second preset thresholds correspond to different environment types, and the target environment type is any one of multiple environment types.
[0014] Optionally, before determining the target environment type corresponding to the radiation environment in which the first antenna and the second antenna are located based on the current state of the target component, the method further includes:
[0015] Obtaining a first intensity information set and a second intensity information set; wherein, the first intensity information set includes third intensities of the first signal received by the key at different positions inside and outside the cockpit under multiple environment types, and the second intensity information set includes fourth intensities of the second signal received by the key at different positions inside and outside the cockpit under multiple environment types;
[0016] Based on the first intensity information set, determining first preset thresholds corresponding to multiple environment types respectively, and based on the second intensity information set, determining second preset thresholds corresponding to multiple environment types respectively.
[0017] Optionally, the first target threshold and the second target threshold when the vehicle door is in the open state are respectively greater than the first target threshold and the second target threshold when the vehicle door is in the closed state;
[0018] The first target threshold and the second target threshold when the vehicle window is in the open state are respectively greater than the first target threshold and the second target threshold when the vehicle window is in the closed state;
[0019] The first target threshold and the second target threshold when the seat is in an unoccupied state are respectively greater than the first target threshold and the second target threshold when the seat is in an occupied state.
[0020] Optionally, determining the position of the key based on the magnitude relationship between the first intensity and the first target threshold, and the magnitude relationship between the second intensity and the second target threshold includes:
[0021] Determining whether there is at least one first intensity of the first antenna greater than or equal to the first target threshold;
[0022] If so, determining that the key is located inside the cockpit of the vehicle;
[0023] If not, determining whether there is at least one second intensity of the second antenna greater than or equal to the second target threshold;
[0024] If so, determining that the key is located outside the cockpit of the vehicle;
[0025] If not, no valid key is found.
[0026] Optionally, determining the first target threshold for the first antenna and the second target threshold for the second antenna based on the current state of the target component of the vehicle includes:
[0027] Determining a first reference threshold for the first antenna based on the attenuation degree of the first signal when the target component is in a preset state, and determining a second reference threshold for the second antenna based on the attenuation degree of the second signal when the target component is in the preset state;
[0028] Determining a first difference between the attenuation degrees of the first signal when the target component is in the preset state and the current state respectively, and determining a second difference between the attenuation degrees of the second signal when the target component is in the preset state and the current state respectively;
[0029] Determining the first target threshold based on the first reference threshold and the first difference, and determining the second target threshold based on the second reference threshold and the second difference.
[0030] Optionally, the vehicle is provided with a plurality of the first antennas and a plurality of the second antennas, and determining the first target threshold for the first antenna and the second target threshold for the second antenna based on the current state of the target component of the vehicle includes:
[0031] Based on the current state of the target component, determine a first set of target thresholds and a second set of target thresholds, where the first set of target thresholds includes a first target threshold corresponding to each of the first antennas, and the second set of target thresholds includes a second target threshold corresponding to each of the second antennas;
[0032] Determining the position of the key based on the magnitude relationship between the first intensity and the first target threshold, and the magnitude relationship between the second intensity and the second target threshold includes:
[0033] Based on the magnitude relationship between the first intensity corresponding to each of the first antennas and the first target threshold corresponding to that first antenna, and the magnitude relationship between the second intensity corresponding to each of the second antennas and the second target threshold corresponding to that second antenna, respectively, determine the position of the key.
[0034] In a second aspect of the embodiments of the present application, a key positioning system is provided. The system is applied to a vehicle, and at least one first antenna is provided in the cockpit of the vehicle, and at least one second antenna is provided outside the cockpit of the vehicle. The system includes:
[0035] An information receiving module, configured to receive signal strength information sent by the key of the vehicle in response to the triggering of a preset action. The signal strength information includes a first intensity of a first signal radiated by the first antenna received by the key, and a second intensity of a second signal radiated by the second antenna.
[0036] A threshold determination module, configured to determine a first target threshold for the first antenna and a second target threshold for the second antenna based on the current state of the target component of the vehicle. The target component includes at least one of a vehicle door, a window, and a seat of the vehicle;
[0037] A decision-making and positioning module, configured to determine the position of the key based on the magnitude relationship between the first intensity and the first target threshold, and the magnitude relationship between the second intensity and the second target threshold.
[0038] In a third aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored, and the program is executed by a processor to implement the steps of the key positioning method described in the first aspect of the embodiments of the present application.
[0039] In a fourth aspect of the embodiments of the present application, a vehicle is provided, including the key positioning system described in the second aspect of the embodiments of the present application, or including a control module, and the control module is configured to implement the steps of the key positioning method described in the first aspect of the embodiments of the present application.
[0040] The present application provides a key positioning method, system, storage medium and vehicle. The method includes: in response to the triggering of a preset action, receiving signal strength information sent by the key of the vehicle, where the signal strength information includes a first strength of a first signal radiated by the first antenna received by the key and a second strength of a second signal radiated by the second antenna; based on the current state of a target component of the vehicle, determining a first target threshold for the first antenna and a second target threshold for the second antenna, where the target component includes at least one of a vehicle door, a window and a seat; and determining the position of the key based on the magnitude relationship between the first strength and the first target threshold and the magnitude relationship between the second strength and the second target threshold.
[0041] In the present application, a first antenna is provided inside the vehicle cockpit, and a second antenna is provided outside the cockpit. Upon the triggering of a preset action, the first strength of the first signal radiated by the first antenna received by the key and the second strength of the second signal radiated by the second antenna are obtained. Subsequently, the current states of the vehicle door, window and seat are determined, and a first target threshold and a second target threshold are determined based on the current states. Finally, the position of the key is determined based on the magnitude relationship between the first target threshold and the first strength and the magnitude relationship between the second target threshold and the second strength. The current states of the vehicle door, window and seat can characterize the shielding effect of objects on the vehicle body related to signal radiation on the first signal and the second signal. Therefore, determining the first target threshold and the second target threshold based on the current state of the target component can associate the magnitudes of the first target threshold and the second target threshold with the shielding effect of the target component on the signal. Thus, when the environments where the first antenna and the second antenna are located change, the first target threshold and the second target threshold can change following the changes in the first strength and the second strength, so as to ensure that the relative magnitude relationship between the first target threshold and the first strength and the relative magnitude relationship between the second target threshold and the second strength do not change with the change of the environment, thereby improving the accuracy of key positioning. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0043] Figure 1 is a flowchart of the steps of a key positioning method provided by an embodiment of the present application;
[0044] Figure 2It is a schematic diagram of the installation positions of a first antenna and a second antenna provided by an embodiment of the present application;
[0045] Figure 3 It is a flowchart of method steps for determining a first target threshold and a second target threshold provided by an embodiment of the present application;
[0046] Figure 4 It is a flowchart of method steps for determining the corresponding relationships between environmental types and a first preset threshold and a second preset threshold respectively provided by an embodiment of the present application;
[0047] Figure 5 It is a flowchart of method steps for determining the position where a key is located provided by an embodiment of the present application;
[0048] Figure 6 It is another flowchart of method steps for determining the position where a key is located provided by an embodiment of the present application;
[0049] Figure 7 It is a flowchart of method steps for determining a target threshold based on a reference threshold provided by an embodiment of the present application;
[0050] Figure 8 It is a flowchart of method steps for determining the key position for multiple first antennas and multiple second antennas provided by an embodiment of the present application;
[0051] Figure 9 It is a flowchart of a key positioning method provided by an embodiment of the present application;
[0052] Figure 10 It is a schematic structural diagram of a key positioning system provided by an embodiment of the present application. Detailed implementation manners
[0053] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the protection scope of the present application.
[0054] With the development of vehicle intelligence, more and more vehicles are equipped with PEPS (Passive-Entry-Passive-Start, keyless entry and start system). When the key is within a specified range, PEPS can automatically complete the identification of the key's legality, thereby automatically unlocking the vehicle door or controlling the vehicle to power on automatically, eliminating some cumbersome steps and simplifying the operation of the vehicle.
[0055] In the related art, PEPS mainly identifies the position of the key through the magnetic field intensity radiated by the vehicle's low-frequency antenna, and then makes a decision on vehicle control. However, due to the shielding effect of the vehicle body and the human body on the magnetic field, the magnetic field intensity received by the key at the same position and different vehicle body states varies greatly, resulting in the inability of PEPS to accurately locate the position of the key.
[0056] Based on this, to solve the problem of how to improve the accuracy of key positioning, the present application provides a key positioning method, system, storage medium and vehicle. A first antenna is arranged inside the vehicle cockpit, and a second antenna is arranged outside the cockpit. Triggered by a preset action, the first intensity of the first signal radiated by the first antenna received by the key and the second intensity of the second signal radiated by the second antenna are obtained. Subsequently, the current states of the vehicle's doors, windows and seats are determined, and a first target threshold and a second target threshold are determined based on the current states. Finally, based on the magnitude relationship between the first target threshold and the first intensity and the magnitude relationship between the second target threshold and the second intensity, the position of the key is determined. The current states of the vehicle's doors, windows and seats can represent the shielding effect of the objects related to signal radiation on the vehicle body on the first signal and the second signal. Therefore, determining the first target threshold and the second target threshold based on the current states of the target components can make the magnitudes of the first target threshold and the second target threshold associated with the shielding effect of the target components on the signal. Thus, when the environment where the first antenna and the second antenna are located changes, the first target threshold and the second target threshold can change with the changes of the first intensity and the second intensity, so as to ensure that the relative magnitude relationship between the first target threshold and the first intensity and the relative magnitude relationship between the second target threshold and the second intensity do not change with the change of the environment, thereby improving the accuracy of key positioning. The specific method is as follows:
[0057] In a first aspect of the present application, an embodiment is proposed, as Figure 1 shown in the step diagram of a key positioning method, the method is applied to a vehicle and specifically applied to an in-vehicle controller. Referring to Figure 2 the schematic diagram of the installation positions of a first antenna and a second antenna shown, the vehicle is provided with at least one first antenna inside the cockpit and at least one second antenna outside the cockpit. The main steps of the key positioning method include:
[0058] Step S101, in response to the trigger of a preset action, receive the signal intensity information sent by the key of the vehicle.
[0059] The signal intensity information includes the first intensity of the first signal radiated by the first antenna received by the key and the second intensity of the second signal radiated by the second antenna.
[0060] The preset actions can be actions such as the user pressing the door handle switch, opening the door, closing the door, pressing the one - key start switch, or stepping on the brake pedal. Different preset actions correspond to different control intentions of the user for the vehicle. For example, when the user presses the door handle switch, it indicates that the user hopes to unlock the door to enter the vehicle. At this time, it is necessary to determine whether there is a valid key inside the vehicle or a valid key outside the vehicle. When the user presses the one - key start switch, it indicates that the user hopes to start the engine to drive the vehicle. At this time, it is necessary to determine whether there is a valid key inside the vehicle. When the user performs a preset action on the vehicle, regardless of the user's control intention, PEPS should judge the position of the key and then determine the legitimacy of the user's identity.
[0061] The first antenna and the second antenna can be low - frequency antennas, and the first signal and the second signal can be magnetic fields emitted by the low - frequency antennas. The key can be an intelligent key of the vehicle, and a receiving module for receiving the first signal and the second signal is arranged on the key. When the user performs a preset action on the vehicle, the vehicle - mounted controller responds to the trigger of the preset action, controls the first antenna to radiate the first signal outward, and controls the second antenna to radiate the second signal outward.
[0062] After the receiving module of the key receives the first signal and the second signal, it determines the signal strength of the received first signal to obtain the first strength of the first signal, and determines the signal strength of the received second signal to obtain the second strength of the second signal. After determining the first strength and the second strength, the key sends the first strength and the second strength as signal strength information to the high - frequency receiver of the vehicle, and it is transmitted to the vehicle - mounted controller by the high - frequency receiver.
[0063] When there are multiple first antennas on the vehicle, the multiple first antennas can radiate the first signal outward simultaneously, or radiate the first signal outward in a preset order in sequence. When the multiple first antennas radiate the first signal outward in a preset order in sequence, among two adjacent first antennas in the preset order, the first antenna with a later order should radiate the first signal outward after the key feeds back the first strength corresponding to the first antenna with an earlier order to the vehicle - mounted control.
[0064] Similarly, when there are multiple second antennas on the vehicle, if the multiple second antennas radiate the second signal outward in a preset order in sequence, the multiple second antennas can also refer to the way that the multiple first antennas radiate the first signal outward in a preset order in sequence, which will not be elaborated here.
[0065] The first signal and the second signal are actually a kind of energy radiated by the first antenna and the second antenna respectively. Their signal strengths will decrease as the propagation distance increases during the propagation process. Therefore, when the key is in different positions of the vehicle, the received signal strengths are different. The greater the received first strength, the closer the key is to the first antenna; conversely, the farther it is from the first antenna. The greater the received second strength, the closer the key is to the second antenna; conversely, the farther it is from the second antenna. Based on this, by the first strength of the first antenna and the second strength of the second antenna received by the key, the distances between the key and the first antenna and the second antenna can be deduced, and then the position of the key can be determined.
[0066] Step S102: Based on the current state of the target component of the vehicle, determine a first target threshold for the first antenna and a second target threshold for the second antenna.
[0067] The target component includes at least one of the vehicle's doors, windows, and seats.
[0068] The target component of the vehicle refers to a component that has multiple states and has a certain shielding effect on the first signal and the second signal. Specifically, it includes the vehicle's doors, windows, and seats. The doors and windows are movable components on the vehicle. According to their positions, the states of the doors and windows include the open state and the closed state. The state of the vehicle seat includes the state with an occupant and the state without an occupant according to whether there is an occupant.
[0069] The shielding effects of the target component on the first signal and the second signal are different in different states. For example, when the door is in the closed state, the first signal radiated by the first antenna located inside the cockpit needs to pass through the door first when propagating outward from the cockpit. Therefore, the closed door has a greater shielding effect on the first signal. When the door is in the open state, there is a gap between the door and the vehicle body, and part of the first signal can directly reach outside the cockpit through the gap. Therefore, the open door has a smaller shielding effect on the first signal. It can be seen that when the key is outside the cockpit, the first strength received by the key when the door is in the open state is greater than that when the door is in the closed state.
[0070] Similarly, the magnitudes of the shielding effects of the door on the second signal in different states, and the magnitudes of the shielding effects of the windows and seats on the first signal and the second signal respectively in different states can refer to the above description of the magnitude of the shielding effect of the door on the first signal in different states, and will not be elaborated here.
[0071] In summary, the current state of the target component characterizes the shielding effect of the vehicle on the first signal and the second signal. The magnitude of the shielding effect directly determines the intensities of the first signal and the second signal received by the key when the distance between the key and the antenna remains unchanged. Therefore, determining the first target threshold and the second target threshold based on the current state of the target component can adapt the first target threshold to the change in the first intensity and the second target threshold to the change in the second intensity, thereby ensuring that when the state of the target component is different, the distances between the key and the antenna represented by different magnitudes of the first intensity and the second intensity are the same.
[0072] Step S103: Determine the position of the key based on the magnitude relationship between the first intensity and the first target threshold, and the magnitude relationship between the second intensity and the second target threshold.
[0073] The first intensity actually represents the distance between the key and the first antenna. The greater the first intensity, the closer the key is to the first antenna. The second intensity actually represents the distance between the key and the second antenna. The greater the second intensity, the closer the key is to the second antenna. At the same time, the first target threshold and the second target threshold actually represent the first preset distance between the key and the first antenna and the second preset distance between the key and the second antenna, respectively.
[0074] Therefore, through the magnitude relationship between the first intensity and the first target threshold, and the magnitude relationship between the second intensity and the second target threshold, the relationship between the distance between the key and the first antenna and the first preset distance, and the relationship between the distance between the key and the second antenna and the second preset distance can be determined, and then the position of the key relative to the vehicle can be determined.
[0075] In this embodiment, a first antenna is arranged inside the vehicle cockpit, and a second antenna is arranged outside the cockpit. When a preset action is triggered, the first intensity of the first signal radiated by the first antenna received by the key and the second intensity of the second signal radiated by the second antenna are obtained. Subsequently, the current states of the vehicle's doors, windows, and seats are determined, and a first target threshold and a second target threshold are determined based on the current states. Finally, based on the magnitude relationship between the first target threshold and the first intensity and the magnitude relationship between the second target threshold and the second intensity, the position of the key is determined. The current states of the vehicle's doors, windows, and seats can represent the shielding effect of the objects on the vehicle body related to signal radiation on the first signal and the second signal. Therefore, determining the first target threshold and the second target threshold based on the current states of the target components can associate the magnitudes of the first target threshold and the second target threshold with the shielding effect of the target components on the signal. Thus, when the environments where the first antenna and the second antenna are located change, the first target threshold and the second target threshold can change following the changes in the first intensity and the second intensity, so as to ensure that the relative magnitude relationship between the first target threshold and the first intensity and the relative magnitude relationship between the second target threshold and the second intensity do not change with the change of the environment, thereby improving the accuracy of key positioning.
[0076] Optionally, referring to Figure 3 As shown in the method step diagram for determining the first target threshold and the second target threshold, based on the current state of the target component of the vehicle, determining the first target threshold for the first antenna and the second target threshold for the second antenna in step S102 includes:
[0077] Step S11, based on the current state of the target component, determine the target environment type corresponding to the radiation environments where the first antenna and the second antenna are located.
[0078] The target component includes at least one of the vehicle's doors, windows, and seats, and the current state of the target component can include the door being in the open state, the window being in the open state, the seat being in the unoccupied state, the door being in the closed state, the window being in the closed state, and the seat being in the occupied state.
[0079] Considering that the influence of the target component on the magnitudes of the first strength and the second strength is mainly reflected in the shielding effect on the first signal and the second signal, the environmental type can be divided based on the magnitude of the shielding effect of the target component. Taking the target component including a car door and a seat as an example, when the car door is in the open state and the seat is in the unoccupied state, the shielding effect of the vehicle on the first signal and the second signal is small, which is the first environmental type. When the car door is in the open state and the seat is in the occupied state, the shielding effect of the vehicle on the first signal and the second signal is greater than that in the first environmental state, which is the second environmental type. Similarly, the car door being in the closed state and the seat being in the unoccupied state can be determined as the third environmental type, and the car door being in the closed state and the seat being in the occupied state can be determined as the fourth environmental type.
[0080] If the current states of the target components, the car door and the seat, are obtained as the car door being in the open state and the seat being in the unoccupied state, then the target environmental type corresponding to the radiation environment where the first antenna and the second antenna are located can be determined as the first environmental type.
[0081] Step S12, from the multiple first preset thresholds corresponding to the first antenna, determine the target first preset threshold corresponding to the target environmental type as the first target threshold; from the multiple second preset thresholds corresponding to the second antenna, determine the target second preset threshold corresponding to the target environmental type as the second target threshold.
[0082] Among them, different first preset thresholds correspond to different environmental types, different second preset thresholds correspond to different environmental types, and the target environmental type is any one of the multiple environmental types.
[0083] The first antenna corresponds to multiple first preset thresholds. Different first preset thresholds represent the intensity of the first signal received by the key in different environmental types when the distance between the key and the antenna is the first preset distance. The second antenna corresponds to multiple second preset thresholds. Different second preset thresholds represent the intensity of the second signal received by the key in different environmental types when the distance between the key and the antenna is the second preset distance.
[0084] In an optional implementation manner, the multiple first preset thresholds corresponding to the first antenna and the multiple second preset thresholds corresponding to the second antenna can be calculated based on the SAR (Specific Absorption Rate) of the car door, the car window, and the seat relative to the air in different states, which will not be elaborated here.
[0085] In this embodiment, the target environment type corresponding to the radiation environment where the first antenna and the second antenna are located is determined based on the current state of the target component, and the first target threshold and the second target threshold are further determined based on the target environment type, which can simplify the calculation process of determining the first target threshold and the second target threshold, save the computing resources of the vehicle-mounted controller, and thus improve the usage performance of the vehicle.
[0086] Optionally, referring to Figure 4 a method step diagram showing the corresponding relationship between the environment type and the first preset threshold and the second preset threshold, before step S1021 of determining the target environment type corresponding to the radiation environment where the first antenna and the second antenna are located based on the current state of the target component, the following steps may further be included:
[0087] Step S01, obtaining a first intensity information set and a second intensity information set.
[0088] Wherein, the first intensity information set includes the third intensity of the first signal received by the key at different positions inside the cockpit and at different positions outside the cockpit under various environment types, and the second intensity information set includes the fourth intensity of the second signal received by the key at different positions inside the cockpit and at different positions outside the cockpit under various environment types.
[0089] The corresponding relationships between the environment type and the first preset threshold, and between the environment type and the second preset threshold can be determined through prior calibration and testing. The steps of calibration and testing include measuring the third intensity of the first signal received by the key at different positions inside the cockpit and at different positions outside the cockpit under various environment types, and measuring the fourth intensity of the second signal received by the key at different positions inside the cockpit and at different positions outside the cockpit under various environment types.
[0090] Combined with the example in the description of step S11 above, taking the target components including the car door and the seat as an example, the multiple environmental types include the first environmental type, the second environmental type, the third environmental type, and the fourth environmental type (specifically refer to the description of step S11 above). The steps of calibration and testing may include: First, in the first environmental type, measure the third intensity of the first signal received by the key at different positions inside the cockpit, such as the driver's seat, the passenger seat, and the middle seat in the back row, etc., and the third intensity of the first signal received by the key at different positions outside the cockpit, such as the outside of the car door, the front of the vehicle, and the rear of the vehicle, etc. Subsequently, repeat the measurement steps performed in the first environmental type in the second environmental type, the third environmental type, and the fourth environmental type respectively, and finally obtain the first intensity information set. Similarly, referring to the acquisition method of the first intensity information set, the second intensity information set can be obtained, which will not be elaborated here.
[0091] In an alternative embodiment, the different positions inside the cockpit may include different positions close to the vehicle body shell inside the cockpit, and the different positions outside the cockpit may include different positions close to the vehicle body shell outside the cockpit.
[0092] Step S02, based on the first intensity information set, determine the first preset thresholds corresponding to the multiple environmental types respectively, and based on the second intensity information set, determine the second preset thresholds corresponding to the multiple environmental types respectively.
[0093] The first intensity information set contains the third intensity of the first signal received by the key at different positions inside the cockpit and at different positions outside the cockpit in multiple environmental types. Therefore, the change trend and the change amplitude of the intensity of the first signal in different environmental types can be deduced based on the first intensity information, so as to determine the first preset thresholds corresponding to each environmental type respectively. Similarly, the second preset thresholds corresponding to each environmental type can also be determined based on the second intensity information.
[0094] In an alternative embodiment, the obtained first intensity information set and the second intensity information set can be respectively input into a self-learning algorithm. Through the self-learning algorithm, the first intensity information set is processed to obtain the first preset thresholds corresponding to the environmental types respectively, and the second intensity information is processed through the self-learning algorithm to obtain the second preset thresholds corresponding to the environmental types respectively.
[0095] Since the number of environment types is finite and small, to reduce the computational load of the vehicle-mounted controller and avoid the cumbersome process of building a mathematical model for calculating the first target threshold and the second target threshold, the corresponding relationships between the environment types and the first preset threshold and the second preset threshold can be directly determined in advance by means of calibration and testing, so that based on the target environment type, the first target threshold and the second target threshold can be quickly determined from the first preset threshold and the second preset threshold.
[0096] Optionally, when the target components are the door, the window, and the seat respectively, the first target threshold and the second target threshold are determined in the following manner, including:
[0097] Method 1: The first target threshold and the second target threshold when the door is in the open state are respectively greater than the first target threshold and the second target threshold when the door is in the closed state.
[0098] When the target component is the door, the states of the target component include the open state and the closed state. When the current state of the door is the closed state, when the first signal radiated by the first antenna propagates outside the cockpit and the second signal radiated by the second antenna propagates inside the cockpit, they need to pass through the closed door. Therefore, the closed door will have a shielding effect on the first signal and the second signal, thereby reducing the first intensity received by the key located outside the door and at the same time reducing the second intensity received by the key located inside the door.
[0099] Based on the above analysis, to make the changes of the first target threshold and the first intensity, and the second target threshold and the second intensity adapt to different states of the door, the first target threshold and the second target threshold when the door is in the open state should be respectively greater than the first target threshold and the second target threshold when the door is in the closed state. That is, the first target threshold when the door is in the open state is greater than the first target threshold when the door is in the closed state, and the second target threshold when the door is in the open state is greater than the second target threshold when the door is in the closed state.
[0100] Method 2: The first target threshold and the second target threshold when the window is in the open state are respectively greater than the first target threshold and the second target threshold when the window is in the closed state.
[0101] When the target component is a window, the states of the target component include an open state and a closed state. When the current state of the window is the closed state, when the first signal radiated by the first antenna propagates outside the cockpit and the second signal radiated by the second antenna propagates inside the cockpit, they need to pass through the window in the closed state. Therefore, the window in the closed state will shield the first signal and the second signal, thereby reducing the first intensity received by the key located outside the window and at the same time reducing the second intensity received by the key located inside the window.
[0102] Based on the above analysis, to make the first target threshold adapt to the changes of the first intensity and the second target threshold adapt to the changes of the second intensity when the window is in different states, the first target threshold and the second target threshold when the window is in the open state should be greater than the first target threshold and the second target threshold when the window is in the closed state respectively. That is, the first target threshold when the window is in the open state is greater than the first target threshold when the window is in the closed state, and the second target threshold when the window is in the open state is greater than the second target threshold when the window is in the closed state.
[0103] In the third method, the first target threshold and the second target threshold when the seat is in the unoccupied state are greater than the first target threshold and the second target threshold when the seat is in the occupied state respectively.
[0104] When the target component is a seat, the states of the target component include an unoccupied state and an occupied state. When the current state of the seat is the occupied state, when the first signal radiated by the first antenna propagates outside the cockpit and the second signal radiated by the second antenna propagates inside the cockpit, they need to pass through the body of the occupant on the seat. Therefore, when the seat is in the occupied state, it is possible that the line connecting the key and the antenna just passes through the body of the occupant, and the body of the occupant will shield the first signal and the second signal, thereby reducing the first intensity received by the key located inside the cockpit.
[0105] Based on the above analysis, to make the first target threshold adapt to the changes of the first intensity and the second target threshold adapt to the changes of the second intensity when the seat is in different states, the first target threshold and the second target threshold when the seat is in the unoccupied state should be greater than the first target threshold and the second target threshold when the seat is in the occupied state respectively. That is, the first target threshold when the seat is in the unoccupied state is greater than the first target threshold when the seat is in the occupied state, and the second target threshold when the seat is in the unoccupied state is greater than the second target threshold when the seat is in the occupied state.
[0106] Optionally, refer to Figure 5A method step diagram for determining the position of a key is shown. When determining the position of the key based on the magnitude relationship between the first intensity and the first target threshold, and the magnitude relationship between the second intensity and the second target threshold in step S103, the following steps may be included:
[0107] Step S1031, determine whether there is at least one first intensity of the first antenna greater than or equal to the first target threshold.
[0108] Reference Figure 2 , Figure 2 The first antenna shown in [reference] is arranged inside the cockpit of the vehicle. The first signal radiated by the first antenna only covers the inside of the cockpit of the vehicle, while the second antenna is arranged outside the cockpit of the vehicle. The coverage range of the second signal radiated by the second antenna includes the outside of the cockpit of the vehicle and the inside of the cockpit of the vehicle. Therefore, it should be first determined whether the key is inside the cockpit of the vehicle based on the first intensity of the first antenna.
[0109] If there is at least one first intensity of the first antenna greater than or equal to the first target threshold, then proceed to step S1032; if there is no first antenna with a first intensity greater than or equal to the first target threshold, then proceed to step S1033.
[0110] Step S1032, determine that the key is located inside the cockpit of the vehicle.
[0111] If there is at least one first intensity of the first antenna greater than or equal to the first target threshold, it indicates that the distance between the key and at least one first antenna is less than or equal to the first preset distance. Thus, it can be inferred that the key is located inside the cockpit of the vehicle.
[0112] Step S1033, determine whether there is at least one second intensity of the second antenna greater than or equal to the second target threshold.
[0113] If there is no first intensity of the first antenna greater than or equal to the first target threshold, that is, the first intensities of all first antennas are less than the first target threshold, it indicates that the distances between the key and all first antennas are greater than the first preset distance. Thus, it can be inferred that the key is not located inside the cockpit.
[0114] When the key is not located inside the cockpit, that is, when the key may be located outside the cockpit, it is also necessary to determine whether there is at least one second intensity of the second antenna greater than or equal to the second target threshold to further judge the position of the key.
[0115] If there is at least one second intensity of the second antenna greater than or equal to the second target threshold, then proceed to step S1034; if there is no second intensity of the second antenna greater than or equal to the second target threshold, then proceed to step S1035.
[0116] Step S1034, determine that the key is outside the cockpit of the vehicle.
[0117] If the second intensity of at least one second antenna is greater than or equal to the second target threshold, it indicates that the key is outside the cockpit of the vehicle. At the same time, the distance between the key and at least one second antenna is less than the second preset distance, indicating that the key is within the effective distance.
[0118] Step S1035, no valid key is found.
[0119] If there is no second antenna with a second intensity greater than or equal to the second target threshold, that is, the second intensity of all second antennas is greater than the second target threshold, it indicates that the distance between the key and all second antennas is greater than the second preset distance, and no valid key is found within the effective distance. At this time, a prompt of not finding a valid key can be output to inform the user that the key is currently far from the vehicle and the vehicle cannot be controlled.
[0120] When determining the position of the key based on the first intensity and the second intensity, first judge the relationship between the first intensity of the first antenna and the first target threshold, and then judge the relationship between the second intensity of the second antenna and the second target threshold, fully considering the characteristics of the coverage ranges of the first signal and the second signal, thereby ensuring the accuracy of key positioning.
[0121] In an alternative embodiment, referring to Figure 6 Another method step diagram showing how to determine the position of the key. To improve the reliability of the system, if there is no second antenna with a second intensity greater than or equal to the second target threshold, the method can also transfer to step S1036. Step S1036 includes determining whether the execution times or execution time of steps S1031 to S1033 is less than a preset value. If the execution times or execution time is less than the preset value, transfer to step S1031 and repeat the above steps; if the execution times or execution time is greater than or equal to the preset value, transfer to step S1035.
[0122] Optionally, referring to Figure 7 A method step diagram showing how to determine the target threshold based on a reference threshold. In step S102, determining the first target threshold for the first antenna and the second target threshold for the second antenna based on the current state of the target component of the vehicle further includes:
[0123] Step S21, based on the attenuation degree of the first signal when the target component is in a preset state, determine the first reference threshold for the first antenna, and based on the attenuation degree of the second signal when the target component is in the preset state, determine the second reference threshold for the second antenna.
[0124] The attenuation degree of the first signal when the target component is in the preset state characterizes the shielding effect of the target component on the first signal when it is in the preset state. The greater the shielding effect of the target component on the first signal, the greater the attenuation degree of the first signal. Similarly, the greater the shielding effect of the target component on the second signal, the greater the attenuation degree of the second signal.
[0125] The preset state can be any state of the target component. For example, if the target components are the car door and the window, the preset state can be that the car door is in the open state and the window is in the open state, or the car door is in the closed state and the window is in the open state, etc.
[0126] The first reference threshold can be determined based on the environmental type corresponding to the preset state of the target component. From the multiple first preset thresholds corresponding to the first antenna, the first preset threshold corresponding to the environmental type of the preset state is determined as the first reference threshold. Similarly, the determination method of the second reference threshold can also refer to that of the first reference threshold.
[0127] Step S22: Determine the first difference between the attenuation degrees of the first signal when the target component is in the preset state and the current state respectively, and determine the second difference between the attenuation degrees of the second signal when the target component is in the preset state and the current state respectively.
[0128] If the first target threshold is understood as an adjustment result, the first reference threshold is the adjustment basis, and the first difference between the attenuation degrees of the first signal when the target component is in the preset state and the current state respectively can be understood as the adjustment direction and the adjustment amplitude.
[0129] For example, if the first difference is positive, it indicates that the attenuation degree of the first signal when the target component is in the preset state is greater than that when the target component is in the current state, that is, the first intensity received by the key when the target component is in the preset state is less than that when the target component is in the current state. Therefore, the first reference threshold is less than the first target threshold. It should be adjusted in the direction of a larger value with the first reference threshold as the adjustment basis to obtain the first target threshold, and the greater the absolute value of the first difference, the greater the adjustment amplitude.
[0130] The relevant description of the second difference can refer to the above description of the first difference, and will not be elaborated here.
[0131] Step S23: Determine the first target threshold based on the first reference threshold and the first difference, and determine the second target threshold based on the second reference threshold and the second difference.
[0132] The first reference threshold is the adjustment basis, and the adjustment direction and amplitude characterized by the first difference. Therefore, based on the first reference threshold, adjusting the corresponding adjustment amplitude in the corresponding adjustment direction can determine the first target threshold. Similarly, the second target threshold can be determined by referring to the determination method of the first target threshold.
[0133] In this embodiment, determining the first target threshold based on the first reference threshold and the first difference, and determining the second target threshold based on the second reference threshold and the second difference can simplify the calculation steps of the first target threshold and the second target threshold. Thus, on the premise of ensuring the accuracy of the first target threshold and the second target threshold, the calculation load of the vehicle-mounted controller can be reduced, thereby realizing the optimization of the key positioning method.
[0134] Optionally, when there are multiple first antennas and multiple second antennas provided on the vehicle, referring to Figure 8 a method step diagram for determining the key position for multiple first antennas and multiple second antennas shown, the method further includes:
[0135] Step S201, based on the current state of the target component, determine a first target threshold set and a second target threshold set. The first target threshold set includes the first target threshold corresponding to each of the first antennas, and the second target threshold set includes the second target threshold corresponding to each of the second antennas.
[0136] When there are multiple first antennas and multiple second antennas, to improve the accuracy of key positioning, the first target threshold corresponding to each first antenna and the second target threshold corresponding to each second antenna can be determined respectively. Among them, the determination methods of the first target thresholds corresponding to the respective first antennas and the second target thresholds corresponding to the respective second antennas can refer to other embodiments in this application. In an optional implementation manner, 1 to 4 first antennas can be provided, and 1 to 2 second antennas can be provided.
[0137] Step S202, respectively determine the position of the key based on the magnitude relationship between the first intensity corresponding to each first antenna and the first target threshold corresponding to the first antenna, and the magnitude relationship between the second intensity corresponding to each second antenna and the second target threshold corresponding to the second antenna.
[0138] Each first antenna corresponds to a first intensity and a first target threshold respectively. Taking a certain first antenna as an example, the first intensity of this first antenna characterizes the distance between the key and this first antenna. The greater the first intensity, the closer the key is to this first antenna. Therefore, based on the magnitude relationship between the first intensity of each first antenna and the first target threshold of this first antenna, the distances between the key and each first antenna can be determined respectively. Similarly, based on the magnitude relationship between the second intensity of each second antenna and the second target threshold of this second antenna, the distances between the key and each second antenna can also be determined respectively. Finally, based on the distances between the key and each first antenna and each second antenna respectively, the accurate position of the key can be determined to improve the accuracy of key positioning.
[0139] Based on the above embodiments, referring to Figure 9 the flowchart of a key positioning method shown in
[0140] Exemplarily, a vehicle is respectively provided with multiple first antennas in the cockpit, including first antenna A, first antenna B, and first antenna C, and multiple second antennas are provided outside the cockpit, including second antenna D and second antenna F. Among them, both the first antenna and the second antenna are low-frequency antennas.
[0141] Before the vehicle leaves the factory, the first preset threshold and the second preset threshold corresponding to each environmental type should be determined by means of calibration and measurement. Exemplarily, the steps of calibration and testing may include:
[0142] It is assumed that the environmental types include multiple environmental types such as the first environmental type, the second environmental type, and the third environmental type. Among them, the first environmental type is that the doors and windows are both in the open state and the seat is in the occupied state; the second environmental type is that the doors and windows are both in the closed state and the seat is in the occupied state; the third environmental type is that the door is in the closed state, the window is in the open state, and the seat is in the occupied state, and so on.
[0143] Specifically, first, in the first environmental type, measure the third intensity A, third intensity B, and third intensity C respectively radiated by multiple first antennas received by the key at multiple positions inside and outside the cockpit, and measure the fourth intensity D and fourth intensity F respectively radiated by multiple second antennas received by the key at multiple positions inside and outside the cockpit. Subsequently, repeat the measurement steps carried out in the first environmental type respectively in the second environmental type and the third environmental type, so as to obtain the first intensity information set and the second intensity information set.
[0144] Among them, the first intensity information set includes the third intensities A, B, and C respectively radiated by multiple first antennas at multiple positions inside and outside the cockpit of the key in the first environmental type, the second environmental type, and the third environmental type; the second intensity information set includes the fourth intensities D and F respectively radiated by multiple second antennas at multiple positions inside and outside the cockpit of the key in the first environmental type, the second environmental type, and the third environmental type.
[0145] Inputting the first intensity information set into the self-learning model can obtain the first preset thresholds corresponding to the environmental types such as the first environmental type, the second environmental type, and the third environmental type. At the same time, inputting the second intensity information set into the self-learning model can obtain the second preset thresholds corresponding to the environmental types such as the first environmental type, the second environmental type, and the third environmental type.
[0146] After obtaining the first preset thresholds corresponding to the environmental types such as the first environmental type, the second environmental type, and the third environmental type, and the second preset thresholds corresponding to the environmental types such as the first environmental type, the second environmental type, and the third environmental type, the above information can be stored in the storage module of the vehicle-mounted controller.
[0147] During the actual use of the vehicle, when the user performs preset actions such as pressing the door handle switch, opening the door, closing the door, pressing the one-key start switch, or stepping on the brake pedal, the vehicle-mounted controller controls the first antenna A, the first antenna B, and the first antenna C to respectively radiate the first signals A, B, and C under the trigger of the preset action, and controls the second antenna D and the second antenna F to respectively radiate the second signals D and F.
[0148] After the key receives the first signals A, B, C, the second signals D, and F, it sends the received first intensities A, B, C, the second intensities D, and F to the high-frequency antenna installed on the vehicle, and the high-frequency antenna transmits them to the vehicle-mounted controller.
[0149] Subsequently, the vehicle-mounted controller obtains the current states of the doors, windows, and seats. If the current states of the doors, windows, and seats are that the doors are in the closed state, the windows are in the open state, and the seats are in the occupied state, the target environmental type is the third environmental type.
[0150] If in the third environmental type, the first preset thresholds corresponding to the first antenna A, the first antenna B, and the first antenna C are E3FI A 、E3FI B 、E3FI C, the first target thresholds corresponding to the first antenna A, the first antenna B, and the first antenna C are the first preset thresholds corresponding to the third environmental type, i.e., E3FI A , E3FI B , E3FI C . Similarly, if in the third environmental type, the first preset thresholds corresponding to the second antenna D and the second antenna F are E3FO D , E3FO F , then the second target thresholds corresponding to the second antenna D and the second antenna F are the second preset thresholds corresponding to the third environmental type, i.e., E3FO D , E3FO F . Thus, it can be determined that the first target threshold of the first antenna A is E3FI A , the first target threshold of the first antenna B is E3FI B , the first target threshold of the first antenna C is E3FI C , the second target threshold of the second antenna D is E3FO D , and the second target threshold of the second antenna F is E3FO F .
[0151] After respectively determining the first target threshold corresponding to each first antenna and the second target threshold corresponding to each second antenna, it is determined whether there is at least one first antenna whose first intensity is greater than or equal to the first target threshold corresponding to that first antenna.
[0152] If there is at least one first antenna whose first intensity is greater than or equal to the first target threshold corresponding to that first antenna, i.e., the first intensity A is greater than or equal to E3FI A , the first intensity B is greater than or equal to E3FI B and / or the first intensity C is greater than or equal to E3FI C , then it is determined that the key is inside the cockpit. If there is no first antenna whose first intensity is greater than or equal to the first target threshold, i.e., the first intensity A is less than E3FI A , the first intensity B is less than E3FI B and the first intensity C is less than E3FI C , then it is determined whether there is at least one second antenna whose second intensity is greater than or equal to the second target threshold corresponding to that second antenna.
[0153] If there is at least one second antenna whose second intensity is greater than or equal to the second target threshold corresponding to that second antenna, i.e., the second intensity D is greater than or equal to E3FO D and / or the second intensity F is greater than or equal to E3FO F , then it is determined that the key is outside the cockpit. If there is no second antenna whose second intensity is greater than or equal to the second target threshold, i.e., the second intensity D is less than E3FOD And the second intensity F is less than E3FO F , a prompt indicating that no valid key is found is output to inform the user that the key is currently far from the vehicle and the vehicle cannot be controlled.
[0154] Based on the same inventive concept, the present disclosure also provides a key positioning system, as shown in the schematic structural diagram of a key positioning system shown below. The system is applied to a vehicle. At least one first antenna is provided in the cockpit of the vehicle, and at least one second antenna is provided outside the cockpit. The system includes: Figure 10 An information receiving module, configured to receive signal intensity information sent by the key of the vehicle in response to the triggering of a preset action. The signal intensity information includes a first intensity of a first signal radiated by the first antenna received by the key, and a second intensity of a second signal radiated by the second antenna;
[0155] A threshold determination module, configured to determine a first target threshold for the first antenna and a second target threshold for the second antenna based on the current state of a target component of the vehicle. The target component includes at least one of a vehicle door, a window, and a seat of the vehicle;
[0156] A decision-making and positioning module, configured to determine the position of the key based on the magnitude relationship between the first intensity and the first target threshold, and the magnitude relationship between the second intensity and the second target threshold.
[0157] Optionally, the threshold determination module is further configured to determine a target environment type corresponding to the radiation environment in which the first antenna and the second antenna are located based on the current state of the target component; from multiple first preset thresholds corresponding to the first antenna, determine the first preset threshold corresponding to the target environment type as the first target threshold; from multiple second preset thresholds corresponding to the second antenna, determine the second preset threshold corresponding to the target environment type as the second target threshold; wherein, different first preset thresholds correspond to different environment types, different second preset thresholds correspond to different environment types, and the target environment type is any one of the multiple environment types.
[0158]
[0159] Optionally, the threshold determination module is further configured to obtain a first intensity information set and a second intensity information set; wherein, the first intensity information set includes third intensities of the first signal received by the key at different positions inside and outside the cockpit under multiple environment types, and the second intensity information set includes fourth intensities of the second signal received by the key at different positions inside and outside the cockpit under multiple environment types; based on the first intensity information set, determine first preset thresholds respectively corresponding to the multiple environment types, and based on the second intensity information set, determine second preset thresholds respectively corresponding to the multiple environment types.
[0160] Optionally, the first target thresholds and the second target thresholds when the vehicle door is in the open state are respectively greater than the first target thresholds and the second target thresholds when the vehicle door is in the closed state; the first target thresholds and the second target thresholds when the vehicle window is in the open state are respectively greater than the first target thresholds and the second target thresholds when the vehicle window is in the closed state; the first target thresholds and the second target thresholds when the seat is in the unoccupied state are respectively greater than the first target thresholds and the second target thresholds when the seat is in the occupied state.
[0161] Optionally, the decision and positioning module is further configured to determine whether there is at least one first intensity of the first antenna greater than or equal to the first target threshold; if so, determine that the key is located inside the cockpit of the vehicle; if not, determine whether there is at least one second intensity of the second antenna greater than or equal to the second target threshold; if so, determine that the key is located outside the cockpit of the vehicle; if not, output a prompt indicating that no valid key is found.
[0162] Optionally, the threshold determination module is further configured to determine a first reference threshold for the first antenna based on the attenuation degree of the first signal when the target component is in a preset state, and determine a second reference threshold for the second antenna based on the attenuation degree of the second signal when the target component is in the preset state; determine a first difference between the attenuation degrees of the first signal when the target component is in the preset state and the current state respectively, and determine a second difference between the attenuation degrees of the second signal when the target component is in the preset state and the current state respectively; based on the first reference threshold and the first difference, determine the first target threshold, and based on the second reference threshold and the second difference, determine the second target threshold.
[0163] Optionally, the threshold determination module is further configured to determine a first set of target thresholds and a second set of target thresholds based on the current state of the target component, where the first set of target thresholds includes first target thresholds corresponding to each of the first antennas, and the second set of target thresholds includes second target thresholds corresponding to each of the second antennas;
[0164] The decision-making and positioning module is further configured to determine the position of the key based on the magnitude relationship between the first intensity corresponding to each of the first antennas and the first target threshold corresponding to the first antenna, and the magnitude relationship between the second intensity corresponding to each of the second antennas and the second target threshold corresponding to the second antenna, respectively.
[0165] The embodiment of the present application further provides a computer-readable storage medium, on which a computer program / instructions are stored, and when the computer program / instructions are executed by a processor, a key positioning method disclosed in the embodiment of the present application is implemented.
[0166] The embodiment of the present application further provides a vehicle, including a key positioning system provided by the present application, or including a control module, where the control module is configured to implement the steps of the key positioning method described in the embodiment of the present application.
[0167] In the embodiment of the present application, a first antenna is provided inside the vehicle cockpit, and a second antenna is provided outside the cockpit. Under the trigger of a preset action, the first intensity of the first signal radiated by the first antenna received by the key and the second intensity of the second signal radiated by the second antenna are obtained. Subsequently, the current states of the vehicle's doors, windows, and seats are determined, and first target thresholds and second target thresholds are determined based on the current states. Finally, based on the magnitude relationship between the first target threshold and the first intensity and the magnitude relationship between the second target threshold and the second intensity, the position of the key is determined. The current states of the vehicle's doors, windows, and seats can represent the shielding effect of the objects on the vehicle body related to signal radiation on the first signal and the second signal. Therefore, determining the first target threshold and the second target threshold based on the current state of the target component can associate the magnitudes of the first target threshold and the second target threshold with the shielding effect of the target component on the signal. Thus, when the environments where the first antenna and the second antenna are located change, the first target threshold and the second target threshold can change following the changes in the first intensity and the second intensity, so as to ensure that the relative magnitude relationship between the first target threshold and the first intensity and the relative magnitude relationship between the second target threshold and the second intensity do not change with the change of the environment, thereby improving the accuracy of key positioning.
[0168] Each embodiment in this specification is described in a progressive manner. The key points of each embodiment are the differences from other embodiments. The same and similar parts among the embodiments can be referred to each other.
[0169] Embodiments of the present application are described with reference to the flowcharts and / or block diagrams of methods, systems, electronic devices, and computer program products according to embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, and the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing terminal devices generate a device for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.
[0170] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.
[0171] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device, such that a series of operation steps are executed on the computer or other programmable terminal device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable terminal device provide steps for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.
[0172] Although the preferred embodiments of the embodiments of the present application have been described, those skilled in the art can make additional changes and modifications to these embodiments once they learn the basic creative concepts. Therefore, the appended claims are intended to be construed as including the preferred embodiments and all changes and modifications falling within the scope of the embodiments of the present application.
[0173] Finally, it should also be noted that in this text, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or terminal device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or terminal device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising the element.
[0174] The above provides a detailed introduction to a key positioning method, system, storage medium and vehicle provided by the present application. Specific examples are used in this text to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.
Claims
1. A method for determining the key position, characterized in that, The method is applied to a vehicle, which is provided with at least one first antenna in the cockpit and at least one second antenna outside the cockpit. The method includes: In response to the triggering of a preset action, receiving signal strength information sent by the key of the vehicle, where the signal strength information includes a first strength of a first signal radiated by the first antenna received by the key and a second strength of a second signal radiated by the second antenna; Based on the current state of a target component of the vehicle, determining a first target threshold for the first antenna and a second target threshold for the second antenna, where the target component includes at least one of a vehicle door, a window, and a seat; Based on the magnitude relationship between the first strength and the first target threshold and the magnitude relationship between the second strength and the second target threshold, determining the position of the key.
2. The key position determination method according to claim 1, wherein The determining the first target threshold for the first antenna and the second target threshold for the second antenna based on the current state of the target component of the vehicle includes: Based on the current state of the target component, determining a target environment type corresponding to the radiation environment where the first antenna and the second antenna are located; From multiple first preset thresholds corresponding to the first antenna, determining the first preset threshold corresponding to the target environment type as the first target threshold; From multiple second preset thresholds corresponding to the second antenna, determining the second preset threshold corresponding to the target environment type as the second target threshold; Wherein, different first preset thresholds correspond to different environment types, different second preset thresholds correspond to different environment types, and the target environment type is any one of the multiple environment types.
3. The key position determination method according to claim 2, characterized in that Before determining the target environment type corresponding to the radiation environment where the first antenna and the second antenna are located based on the current state of the target component, the method further includes: Obtaining a first strength information set and a second strength information set; wherein, the first strength information set includes third strengths of the first signal received by the key at different positions inside and outside the cockpit under multiple environment types, and the second strength information set includes fourth strengths of the second signal received by the key at different positions inside and outside the cockpit under multiple environment types; Based on the first strength information set, determining first preset thresholds corresponding to the multiple environment types respectively, and based on the second strength information set, determining second preset thresholds corresponding to the multiple environment types respectively.
4. The key position determination method according to claim 1, characterized in that The first target threshold and the second target threshold when the vehicle door is in an open state are respectively greater than the first target threshold and the second target threshold when the vehicle door is in a closed state; The first target threshold and the second target threshold when the window is in an open state are respectively greater than the first target threshold and the second target threshold when the window is in a closed state; The first target threshold and the second target threshold when the seat is in an unoccupied state are respectively greater than the first target threshold and the second target threshold when the seat is in an occupied state.
5. The method for determining the key position according to claim 1, wherein Determining the position of the key based on the magnitude relationship between the first intensity and the first target threshold, and the magnitude relationship between the second intensity and the second target threshold includes: Determining whether there is at least one first intensity of the first antenna greater than or equal to the first target threshold; If so, determining that the key is located inside the vehicle's cockpit; If not, determining whether there is at least one second intensity of the second antenna greater than or equal to the second target threshold; If so, determining that the key is located outside the vehicle's cockpit; If not, no valid key is found.
6. The method for determining the key position according to claim 1, wherein Determining the first target threshold for the first antenna and the second target threshold for the second antenna based on the current state of the target component of the vehicle includes: Based on the attenuation degree of the first signal when the target component is in a preset state, determining the first reference threshold for the first antenna, and based on the attenuation degree of the second signal when the target component is in the preset state, determining the second reference threshold for the second antenna; Determining a first difference between the attenuation degrees of the first signal when the target component is in the preset state and the current state respectively, and determining a second difference between the attenuation degrees of the second signal when the target component is in the preset state and the current state respectively; Based on the first reference threshold and the first difference, determining the first target threshold, and based on the second reference threshold and the second difference, determining the second target threshold.
7. The method for determining the key position according to claim 1, wherein The vehicle is provided with a plurality of the first antennas and a plurality of the second antennas. Determining the first target threshold for the first antenna and the second target threshold for the second antenna based on the current state of the target component of the vehicle includes: Based on the current state of the target component, determining a first target threshold set and a second target threshold set. The first target threshold set includes the first target threshold corresponding to each of the first antennas, and the second target threshold set includes the second target threshold corresponding to each of the second antennas; Determining the position of the key based on the magnitude relationship between the first intensity and the first target threshold, and the magnitude relationship between the second intensity and the second target threshold includes: Respectively determining the position of the key based on the magnitude relationship between the first intensity corresponding to each of the first antennas and the first target threshold corresponding to that first antenna, and the magnitude relationship between the second intensity corresponding to each of the second antennas and the second target threshold corresponding to that second antenna.
8. A key positioning system, characterized in that, The system is applied to a vehicle. The vehicle is provided with at least one first antenna inside the cockpit and at least one second antenna outside the cockpit. The system includes: An information receiving module, configured to receive signal strength information sent by a key of the vehicle in response to triggering of a preset action, where the signal strength information includes a first strength of a first signal radiated by the first antenna received by the key and a second strength of a second signal radiated by the second antenna. A threshold determining module, configured to determine a first target threshold for the first antenna and a second target threshold for the second antenna based on a current state of a target component of the vehicle, where the target component includes at least one of a vehicle door, a vehicle window, and a vehicle seat. A decision and positioning module, configured to determine the position of the key based on a magnitude relationship between the first strength and the first target threshold and a magnitude relationship between the second strength and the second target threshold.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by a processor, it implements the steps of the key positioning method according to any one of claims 1-7.
10. A vehicle, characterized in that, It includes the key positioning system according to claim 8, or includes a control module, where the control module is configured to implement the steps of the key positioning method according to any one of claims 1-7.