Digital key read-write device and antenna position calibration method, device and medium

By using a daisy-chain topology and standardized business logic for antenna position calibration, the problem of high hardware and software costs and complex assembly in traditional digital key recognition devices is solved, achieving efficient and accurate calibration of antenna node positions and flexible expansion.

CN117456640BActive Publication Date: 2026-02-24STEELMATE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311404642.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-26
Publication Date
2026-02-24
Estimated Expiration
2043-10-26

AI Technical Summary

Technical Problem

In traditional digital key recognition devices, adding antenna nodes requires adding hardware interfaces or recognition programs, resulting in high assembly difficulty, high cost, and complex management, making it difficult to flexibly expand or reduce the number of antenna nodes.

Method used

Using a daisy-chain topology, the controller sends a learning start command through the daisy chain. The antenna nodes respond in an orderly manner and obtain location information. Then, the command is relayed to realize the self-learning of the antenna node position. All nodes execute standardized business logic without the need for additional hardware or programs.

Benefits of technology

It reduces the difficulty and cost of antenna node position calibration, improves the accuracy and flexibility of position calibration, and supports the flexible installation and normal operation of digital key recognition devices in different vehicle models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117456640B_ABST
    Figure CN117456640B_ABST
Patent Text Reader

Abstract

The application relates to a digital key identification device and an antenna position calibration method, device and medium, the method comprising the following steps: after entering a learning mode, a controller sends a learning start instruction along a daisy chain connected to the controller, and a plurality of antenna nodes are connected in series in the daisy chain; each antenna node responds to the learning start instruction in order according to the order of the antenna node in the daisy chain, respectively occupies a data communication link in the daisy chain to obtain position information allocated by the controller, and then relays the learning start instruction to the next antenna node; and the controller switches from the learning mode to a working mode after determining that each antenna node has determined corresponding position information. The application can make each antenna node of the digital key identification device work according to unified business logic and cooperate with the controller to realize accurate position calibration, effectively reduce calibration difficulty and assembly difficulty, expand the flexibility of assembling different numbers of antenna nodes, and reduce various costs.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of automobile control, and in particular to a digital key recognition device, an antenna position calibration method, a device and a medium. BACKGROUND

[0002] The use of digital key control technology in automobiles is becoming more and more popular. Digital keys can be implemented in independent remote controls, cards, wearable devices, mobile terminals, etc. Users only need to carry products that implement digital keys to achieve automobile control through induction, which is very convenient.

[0003] A digital key recognition device is used to recognize digital keys and check the control signals of the digital keys. It usually includes a controller and multiple antenna nodes. The controller and the antenna nodes can be connected to the control network of the automobile to realize interconnection and intercommunication with the control circuit of the automobile, so as to realize the control of the vehicle by the control signals of the digital key. Each antenna node is usually distributed at multiple scattered positions on the vehicle, such as the four corners of the vehicle cabin, etc., for detecting the control signals of the digital key. The controller is responsible for checking the control signals of the digital key. When the check is passed, the vehicle can be controlled by the control signals to perform the corresponding settings, thereby realizing remote control of the vehicle.

[0004] The controller of the digital key recognition device needs to exchange instructions and data with each antenna node, so the controller needs to know the position of each antenna node. This position is mainly reflected in that the controller needs to know which antenna node it communicates with, so as to ensure accurate communication between the controller and each antenna node, and further expand the function according to the reliable communication relationship.

[0005] To solve the above problems, in the traditional technology, different antenna nodes use different hardware interfaces or additional identification programs, and the controller identifies the antenna nodes at different positions through different hardware interfaces or additional identification programs. However, these methods will cause multi-state management problems in vehicle assembly, which are as follows:

[0006] Firstly, it is difficult to implement: each added antenna node requires the controller to add a corresponding hardware interface or identification program. The increase of the hardware interface may lead to the increase of hardware resources or the change of the circuit board, and the software program will inevitably increase the software management cost.

[0007] Secondly, the overall cost is high: it will increase the cost of the device and the complexity of the technology management, and will also increase the difficulty of the production line assembly, thereby causing the overall cost of the device to be high. SUMMARY

[0008] The application aims to provide a digital key identification device, an antenna position calibration method, device and medium.

[0009] According to an aspect of the application, an antenna position calibration method is provided, comprising:

[0010] After entering a learning mode, the controller sends a learning start instruction along a daisy chain connected thereto, and the daisy chain is connected with a plurality of antenna nodes;

[0011] Each of the antenna nodes responds to the learning start instruction in order according to its sequence in the daisy chain, respectively acquires the position information allocated by the controller in a data communication link in the daisy chain, and then relays the learning start instruction to the next antenna node.

[0012] After determining that each of the antenna nodes has determined its corresponding position information, the controller switches from the learning mode to a working mode.

[0013] According to another aspect of the application, a digital key identification device is provided, comprising a controller and a plurality of antenna nodes, and the antenna nodes are used to communicate with a digital key, wherein:

[0014] The controller comprises a central processor and a memory, and the central processor of the controller is used to call and run a computer program stored in the memory of the controller, so as to execute the steps corresponding to the controller in the antenna position calibration method.

[0015] The antenna node comprises a central processor and a memory, and the central processor of the antenna node is used to call and run a computer program stored in the memory of the antenna node, so as to execute the steps corresponding to the antenna node in the antenna position calibration method.

[0016] According to another aspect of the application, a non-volatile storage medium is provided, characterized in that the steps corresponding to the controller and the antenna node are distinguished according to the antenna position calibration method, and a computer program corresponding to the controller and the antenna node is stored in the form of computer readable instructions, and the computer program is called and run by the corresponding controller and antenna node, and each of the steps corresponding thereto is executed.

[0017] Compared with the prior art, the application has many technical advantages, including but not limited to:

[0018] Firstly, the application constructs multiple antenna nodes into a daisy chain topology, based on the daisy chain topology, and according to a certain protocol, each antenna node sequentially responds to the learning start instruction issued by the controller, each antenna node responds to the learning start instruction in turn, each controller obtains the corresponding position information, after each antenna node obtains the position information allocated by the controller, it automatically relays the learning start instruction to the next antenna node, and so on, so that the controller can complete the allocation of the position of each antenna node and complete the learning process of the position of the antenna node of the entire digital key identification device, without the need for additional enhancement of any hardware interface or identification program, only the antenna nodes need to follow the same business logic to respond to the learning start instruction, and the self-learning of the position information can be completed, which greatly reduces the difficulty and comprehensive cost of the implementation of the calibration of the position of the antenna node, and facilitates the popularization and application of the digital key identification device.

[0019] Secondly, when the application calibrates the position of the antenna node, all the antenna nodes can execute standardized business logic, and only the same version of software program needs to be run to cooperate with the controller to realize the calibration of the position, therefore, increasing or reducing individual antenna nodes does not affect the ability of the digital key identification device to calibrate the position of all the antenna nodes, therefore, the digital key identification device can be flexibly assembled, and the number of antenna nodes can be expanded or compressed as needed, and has the unique advantage of flexibility in adapting to the needs of the increase of different vehicle models.

[0020] In addition, since the assembly difficulty is reduced and the flexibility of the number of antenna nodes is obtained, when the antenna module is calibrated, the problem of incorrect positioning caused by incorrect installation of the hardware interface or the identification program does not occur, so that the accuracy of the calibration of the position of the antenna node can be improved, the normal operation of the function of the digital key identification device is ensured, and the situation of abnormal function caused by inaccurate calibration is prevented. BRIEF DESCRIPTION OF DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor.

[0022] Figure 1 It is an electrical structure schematic diagram of the digital key identification device in the embodiment of the application.

[0023] Figure 2 It is a flowchart of the antenna position calibration method in the embodiment of the application.

[0024] Figure 3A flowchart of a process for determining the position information of each antenna node in an embodiment of the present application;

[0025] Figure 4 A flowchart of a process for learning the position information of the antenna nodes in an embodiment of the present application;

[0026] Figure 5 A flowchart of a process for determining the position information by the current node interacting with the controller in an embodiment of the present application;

[0027] Figure 6 A flowchart of a process for the controller checking the learning progress of each antenna node in the daisy chain in an embodiment of the present application;

[0028] Figure 7 A flowchart of a process for the controller responding to the control signal of the digital key in the working mode in an embodiment of the present application;

[0029] Figure 8 A structural diagram of a computer device in an embodiment of the present application. DETAILED DESCRIPTION

[0030] Referring to Figure 1 The exemplary digital key recognition device of the present application includes a controller and a plurality of antenna nodes, and the controller and the plurality of antenna nodes can access the control network of the vehicle, which can be based on the Controller Area Network (CAN) or the Local Interconnect Network (LIN). After accessing the control network of the vehicle, the controller and the antenna nodes can exchange instructions and data through the control network of the vehicle, and at the same time, can also communicate data with various devices of the vehicle and participate in the control of the vehicle.

[0031] The controller in the digital key recognition device can implement corresponding functions by executing corresponding computer programs through its control chip, for example, it can implement calibrating the position of each antenna node, can determine the spatial position of the digital key according to the signal strength data of the control signal corresponding to the digital key submitted by the plurality of antenna nodes, can implement mapping the position of the antenna node and the installation position of the antenna node on the vehicle, etc. The controller can be integrated into the controller of the vehicle infotainment controller or other vehicle-mounted electronic devices, or can be independently configured for the digital key recognition device.

[0032] The antenna node can also implement corresponding functions by executing corresponding computer programs through its control chip, for example, it can cooperate with the controller to complete the calibration of the position of the antenna node, can submit the signal strength data of the control signal corresponding to the digital key to the controller, and can relay the learning start instruction to other antenna nodes, etc.

[0033] The control chip in the controller and the control chip in the antenna node can be implemented by various embedded chips, such as Bluetooth SoC (System on Chip), WiFi SoC, MCU (MicroController Unit), DSP (Digital Signal Processing) chips, etc. The control chip usually includes a central processor and a memory, and is mainly used for storing and executing program instructions of corresponding computer programs to realize corresponding functions.

[0034] For chips without communication components, communication components can be provided as needed, for example, the antenna node needs to be equipped with a communication component to realize wireless communication with the digital key through the antenna of the communication component to detect the control signal emitted by the digital key. The controller with the communication component can communicate with external devices wirelessly or by wire, so that the user can issue external control instructions to the controller through the external device, such as issuing external control instructions to make the controller enter the learning program corresponding to the position of the antenna node, or issuing external control instructions to make the controller establish the mapping relationship between each antenna node and its position in the physical space. The external device can be any terminal device such as a mobile terminal, a wearable device, a personal computer, a vehicle infotainment system, etc.

[0035] In some embodiments, the controller can also be configured with a control panel, a display screen, etc. as needed. The control panel usually provides one or more keys for implementing on-off control and / or state switching of the controller, etc. The display screen can be used to display various control information to cooperate with the keys in the control panel to support the implementation of human-computer interaction functions. In some embodiments, the control panel can be integrated with the display screen into the same touch display screen, such as the vehicle infotainment display screen.

[0036] Please refer to Figure 1The digital key recognition device of this application presents a daisy-chain topology, where the controller is connected to each antenna node. The controller has a successor port, and each antenna node's control chip has a predecessor port and a successor port. Each antenna node's successor port is connected to the predecessor port of its next antenna node, forming a daisy chain. The controller's successor port is connected to the predecessor port of the first antenna node in the daisy chain. The connected successor and predecessor ports can transmit signals from the successor port to the predecessor port, with each port set to a high or low level, respectively. This allows the control chip of the successor port to transmit various instructions and / or data, such as the learning start instruction of this application, to the control chip of the predecessor port. The signal emitted by the controller, by properly coordinating the level states of the predecessor and successor ports of each antenna node in the daisy chain, can be transmitted along the chain, processed or relayed by the corresponding antenna nodes during the process, achieving the purpose of passing through each antenna node.

[0037] Both the predecessor and successor ports can be general-purpose input / output (GPIO) ports, allowing for on-demand switching of their level states. For example, setting the predecessor port low can be considered an input for receiving signals; setting it high can be considered an input for blocking signals. Similarly, setting the successor port low can be considered an output for trigger signals; setting it high can be considered an output for blocking signals. These settings can be flexibly adapted and configured as needed.

[0038] The antenna position calibration method of this application includes steps executed by a controller and antenna nodes. These steps can be implemented as two separate computer programs corresponding to the controller and antenna nodes. The computer program corresponding to the controller is installed and runs in the controller, while the computer program corresponding to the antenna nodes is installed and runs in each antenna node. This allows each antenna node to execute a standardized and unified business logic by running the same computer program, and to cooperate with the controller according to this business logic to complete the implementation of the method of this application. Since the control chips of the controller and antenna nodes typically have built-in memory, the corresponding computer programs can be stored in the memory of the control chips of the controller and antenna nodes. When the method of this application needs to be implemented, the central processing unit in the control chip of the controller and antenna nodes calls the corresponding computer program from its corresponding memory and executes its program instructions, thereby realizing the cooperation between the controller and each antenna node, enabling the controller to complete the position calibration of each antenna node.

[0039] Please see Figure 2 In one embodiment, the antenna position calibration method of this application includes:

[0040] Step S5100: After entering the learning mode, the controller sends a learning start command along the daisy chain connected to it, wherein the daisy chain has multiple antenna nodes connected in series.

[0041] The digital key recognition device includes a controller and multiple antenna nodes. These antenna nodes are connected in series as described above, forming a daisy-chain topology. The entire daisy chain can be viewed as a single chain, connected to the controller through its first antenna node. Specifically, the controller has a successor port, and each antenna node has both a predecessor port and a successor port. The controller's successor port is connected to the predecessor port of the first antenna node. Each antenna node's successor port in the daisy chain is connected to the predecessor port of the next antenna node in the chain. The successor port of the last antenna node in the daisy chain is in a floating state because it is not connected to any antenna node, and therefore can be considered the end node. Thus, the controller is electrically connected to each antenna node.

[0042] When it is necessary to calibrate the position information of each antenna node, it can be driven by the controller. The driving time can be when the controller is powered on, when a command is given to the controller through the buttons on the control panel, or when a corresponding external control command is given to the controller through the terminal device. In short, the controller can regard any of these situations as switching to learning mode and starting to work in learning mode.

[0043] In learning mode, the controller sends a learning start command downlink through its successor port to the daisy chain. This learning start command first reaches the first antenna node in the daisy chain. Throughout the daisy chain, the connected successor and predecessor ports can transmit commands and data when they are at different high and low levels respectively. Accordingly, the first antenna node can receive the learning start command triggered by the controller when its predecessor port is at a different level than the controller's successor port.

[0044] Step S5200: Each of the antenna nodes responds to the learning start command in an orderly manner according to its order in the daisy chain, and obtains the location information allocated by the controller by exclusively occupying the data communication link in the daisy chain, and then relays the learning start command to the next antenna node.

[0045] Each antenna node operates according to a unified business logic and has the ability to independently respond to and relay learning start commands. Specifically, upon receiving a learning start command, each antenna node can switch to learning mode. In learning mode, it communicates with the controller to obtain the location information assigned to it by the controller. This information may be a location sequence number or a specific location identifier, thus completing the learning process of its position information within the daisy chain. After learning the location information, the antenna node can relay the learning start command to the next antenna node in the daisy chain. The next antenna node operates in the same way as the first, and so on, until the last antenna node completes its location information learning. This completes the self-learning process of each antenna node's own location information and enables the controller to calibrate the location information of each antenna node in the daisy chain.

[0046] The process of each antenna node learning its corresponding location information in cooperation with the controller can be carried out under the condition that the antenna node has exclusive access to the data communication link. That is, the controller only performs location information calibration for a single antenna node at a time. In this way, each antenna node is ordered to respond to the learning start command issued by the controller to complete the calibration of the corresponding location information.

[0047] To ensure that each antenna node enters learning mode and exclusively uses the data communication link, each antenna node is implemented to first complete the learning of its corresponding location information before exiting learning mode and relaying the learning start command to the next antenna node. While in learning mode, each antenna node prevents its successor port from sending the learning start command to the predecessor port of the next antenna node. Specifically, while in learning mode, an antenna node can maintain the voltage level of its successor port consistent with that of the predecessor port of the next antenna node, preventing the next antenna node from recognizing its predecessor port as receiving the learning start command, thus keeping the current antenna node in learning mode. Only after the current antenna node has completed learning the location information does it switch its successor port to a voltage level opposite to that of the predecessor port of the next antenna node, forming a trigger signal corresponding to the learning start command. This allows the next antenna node to recognize the trigger signal from its predecessor port and consider it as having received the learning start command.

[0048] In learning mode, the process of calibrating the position information of an antenna node with the controller can be achieved through communication via the vehicle's control network. In one embodiment, the antenna node first sends a position acquisition request to the controller via the control network. The controller responds to the request by sending the position sequence number back to the antenna node as position information. Upon receiving the position information, the antenna node replies with an acknowledgment of receipt. The controller then increments the position sequence number based on this reply to continue providing position information for the next antenna node. The entire process can be communicated via the vehicle's control network. A variable can be set in the controller to determine the position sequence number of each antenna node. The initial value of this variable can be any value; for example, initially setting it to 0 would correspond to the position information of each sequential antenna node in the daisy chain being 0, 1, 2, and so on.

[0049] The controller can store the location information of each antenna node in its own memory, and each antenna node can also store the location information assigned by the controller in its own memory. In this way, when the antenna node submits data to the controller in the working mode, it can submit the data along with the location information of the antenna node to the controller. The controller can then know the specific antenna node based on the location information. If the controller has pre-associated the spatial position of each antenna node in a preset coordinate system, it can determine the spatial position of the data source in the coordinate system by using the case of multiple antenna nodes submitting the same data. This can be used to realize various complex functions, such as identifying the spatial position of the digital key that constitutes the data source.

[0050] Step S5300: After the controller determines that each antenna node has determined its corresponding position information, it switches from the learning mode to the working mode.

[0051] The total number of antenna nodes in the daisy chain can be configured in advance in the controller. Based on this, after each antenna node determines its corresponding location information, the controller can determine whether the total number of antenna nodes whose location information has been determined is equal to the preset total number of antenna nodes. When the two are consistent, it can be confirmed that all antenna nodes in the daisy chain have determined their corresponding location information, thereby exiting the learning mode and directly switching to the working mode to start working.

[0052] In operation, the controller can calculate the spatial position of the digital key in the coordinate system based on the signal strength data of the control signals received by each antenna node from the same digital key, referencing the spatial position of each antenna node in the preset coordinate system, and according to a predetermined algorithm. Based on this, it decides whether to respond to the control signals of the digital key and makes corresponding responses according to the control signals of different command functions.

[0053] As can be seen from the above embodiments, this application has multiple technical advantages, including but not limited to:

[0054] First, this application constructs multiple antenna nodes into a daisy-chain topology. Based on this topology, and following a specific protocol, each antenna node responds sequentially to the learning start command issued by the controller. Each antenna node responds to the learning start command one by one, and each controller obtains the corresponding location information. After each antenna node obtains the location information assigned to it by the controller, it automatically relays the learning start command to the next antenna node, and so on. This allows the controller to complete the allocation of locations for each antenna node, thus completing the entire learning process of antenna node locations for the digital key recognition device. No additional hardware interface or recognition program enhancement is required. Each antenna node only needs to follow the same business logic to respond to the learning start command to complete the self-learning of location information. This greatly reduces the implementation difficulty and overall cost of calibrating the location of antenna nodes, facilitating the widespread application of digital key recognition devices.

[0055] Secondly, when calibrating the position of the antenna nodes, all antenna nodes can execute standardized business logic. They only need to run the same version of the software program to cooperate with the controller to achieve position calibration. Therefore, adding or removing individual antenna nodes will not affect the ability of the digital key recognition device to calibrate the position of all antenna nodes. Thus, the digital key recognition device can be flexibly assembled and the number of antenna nodes can be expanded or reduced as needed. It has a unique advantage in terms of flexibility in adapting to the upgrade needs of different vehicle models.

[0056] Furthermore, due to the reduced assembly difficulty and the increased flexibility in the configuration of antenna nodes, the antenna module calibration will not result in incorrect positioning due to incorrect hardware interface or identification program installation. This improves the accuracy of antenna node positioning, ensures the normal operation of the digital key identification device, and prevents functional abnormalities caused by inaccurate calibration.

[0057] Based on any embodiment of the method in this application, from a business logic perspective, please refer to [link / reference needed]. Figure 3 Each antenna node responds to the learning start command in an orderly manner according to its order in the daisy chain, exclusively occupying the data communication link in the daisy chain to obtain the location information allocated by the controller, and then relays the learning start command to the next antenna node, including:

[0058] Step S5210: The first antenna node in the daisy chain responds to the learning start command sent by the controller as the current node, and exclusively occupies the data communication link in the daisy chain to obtain the location information allocated by the controller.

[0059] As mentioned earlier, when the controller sends a learning start command through its successor port, it is received by the first antenna node in the daisy chain. The antenna node receiving the command, following a unified business logic, switches itself to learning mode and becomes the current node. At this time, the voltage level of its successor port matches the voltage level of the predecessor port of the next antenna node, preventing the relay of the learning start command to the next antenna node. This ensures the current node is fully in learning mode. Simultaneously, since other subsequent antenna nodes in the daisy chain cannot receive the learning start command, and the command has already reached the current node, in this learning mode, the current node communicates with the controller through the control network. This effectively grants it exclusive access to the data communication link with the controller, relative to all antenna nodes in the daisy chain. With this exclusive data communication link, the current node can cooperate with the controller to obtain its corresponding location information, as described earlier.

[0060] Step S5220: After the current node obtains its location information, it relays the learning start command to the next antenna node in the daisy chain, so that the next antenna node becomes the new current node and responds to the learning start command sent by its previous antenna node to determine its location information.

[0061] After the current node, in cooperation with the controller, acquires its location information, it can switch the level state of its successor port. The switch moves from the level state corresponding to the prohibition of relaying the learning command to the next antenna node to the opposite level state. Upon switching to the opposite level state, the current node is considered to have exited learning mode and sends a trigger signal to the next antenna node for identification. At this point, the level state of the next antenna node's predecessor port is exactly opposite to the level state of the current node's successor port. Therefore, this trigger signal can be identified as receiving a learning start command. Accordingly, the next antenna node, following standardized and unified business logic, enters learning mode in exactly the same way as the first antenna node in the previous step, learning location information. After learning the location information, it continues to relay the learning start command to its next antenna node in the same manner.

[0062] Step S5230: Repeat the above steps until all the antenna nodes have completed the determination of their position information.

[0063] Since each antenna node in the daisy chain runs the exact same computer program, it is easy to understand that after receiving the learning start command, each antenna node in the daisy chain first learns its own position information, and then relays the learning start command to the next antenna node. Each antenna node in the daisy chain iterates through the above steps S5210 and S5220 according to the same business logic to complete the learning of its own position information, until the last antenna node in the daisy chain completes the determination of its position information, and then the chain naturally terminates.

[0064] The above embodiments further demonstrate the efficiency advantages of this application, mainly in that each antenna node in the daisy chain can work according to a standardized and unified business logic. As a result, the digital key recognition device can be adapted to different vehicle models. In the corresponding vehicle models, antenna nodes can be added or removed as needed. Regardless of the number of antenna nodes, the controller and antenna nodes can adaptively cooperate with each other to learn the position information of each antenna node without any external intervention. This is both efficient and accurate, and it greatly reduces the assembly and maintenance difficulty of the digital key recognition device, effectively reducing its overall implementation cost.

[0065] Based on any embodiment of the method in this application, viewed from the perspective of the antenna node, please refer to... Figure 4 Each antenna node responds to the learning start command in an orderly manner according to its order in the daisy chain, exclusively occupying the data communication link in the daisy chain to obtain the location information allocated by the controller, and then relays the learning start command to the next antenna node, including:

[0066] Step S6100: When any of the antenna nodes is in a high-level state at its predecessor port, it receives the learning start command as the current node;

[0067] In this embodiment, the successor port and the predecessor port connected to this application are configured with different functions according to the following level state relationship: When the successor port is in a low level state, regardless of whether the predecessor port connected to it is in a high level state or a low level state, the antenna node to which the predecessor port belongs will set its own successor port to a high level state to prevent the output of the learning start command to the next antenna node. However, if the predecessor port is in a high level state at this time, the antenna node can recognize that it has received the learning start command; if the predecessor port is in a low level state at this time, the antenna node will not recognize that it has received the learning start command. When the successor port is in a high level state, as mentioned above, the next antenna node will not be triggered to recognize that it has recognized the learning start command, that is, it will not send or relay the learning start command to the next antenna node.

[0068] Therefore, for each antenna node in the daisy chain, its predecessor port can be initially configured to a high-level state. When the successor port connected to this predecessor port switches to a low-level state, it is considered to have received a learning start command, thus designating this antenna node as the current node and entering learning mode to cooperate with the controller to learn the current node's position information. Each antenna node can also initially configure its successor port to a high-level state to ensure it enters learning mode first. It exits learning mode and enters relay mode to relay the learning start command only when the successor port is switched to a low-level state.

[0069] Step S6200: After receiving the learning start instruction, the current node keeps its successor port in a high-level state to exclusively occupy the data communication link;

[0070] Upon receiving the learning start command and entering learning mode, the current node sets its relay port to a high level to maintain learning mode and avoid mistakenly relaying the learning start command to the next line node. This temporarily disables its relay function. In this case, it ensures that only the current node responds to the learning start command in the daisy chain at the current moment, thereby exclusively occupying the data communication link with the controller to complete the learning process of the current node's position information.

[0071] Step S6300: The current node communicates with the controller under the exclusive data communication link to obtain the location information allocated by the controller.

[0072] When the current node and the controller communicate via a dedicated data communication link, the current node and the controller can communicate in the manner disclosed above. The current node sends a request through the vehicle's control network, the controller responds to the request and allocates corresponding location information to the current node, and then the current node confirms receipt of the location information to the controller, thus completing the learning process. Both the controller and the current node store the location information in their respective memories.

[0073] Step S6400: After obtaining its location information, the current node switches its successor port to a low level state to relay the learning start command received by the current node to the next antenna node in the daisy chain.

[0074] Once the current node receives the location information assigned to it by the controller, it can be considered to have completed the learning process. Based on this, it can begin transmitting the learning start command to the next antenna node to drive the next antenna node to learn its location information. To do this, the current node switches its successor port to a low-level state, allowing the successor port of the next antenna node to receive the corresponding trigger signal. This enables the next antenna node to recognize that it has received the learning start command and continue learning its location information according to the unified business logic. For the current node, since it has already switched its successor port to a low-level state, it has switched from learning mode to relay mode. Even if it receives another learning start command, it will directly relay that command to the next antenna node.

[0075] As can be seen from the above embodiments, each antenna node operates according to the steps outlined in this embodiment. Standardized business logic can be used to implement the same version of computer program, enabling standardized production of each antenna node and demonstrating batch efficiency advantages. Furthermore, the number of antenna nodes in the daisy chain can be increased or decreased as needed, and the controller can complete the self-learning process of each antenna node's position information, which is highly efficient. Therefore, cost advantages are evident in production, assembly, and maintenance.

[0076] Based on any embodiment of the method in this application, please refer to Figure 5 The current node communicates with the controller under the exclusive data communication link to obtain the location information allocated by the controller, including:

[0077] Step S6310: The current node sends a location acquisition request to the controller through the data communication link;

[0078] After entering learning mode, the current node, under the premise of exclusively occupying the data communication link, can encapsulate the location acquisition request in a preset format according to its default business logic, and send the location acquisition request to the controller through the vehicle's control network.

[0079] Step S6320: In response to the location acquisition request, the controller sends the location information corresponding to the current node to the current node through the data communication link, and writes the location information of the current node into the controller's own memory.

[0080] Because the data communication link is exclusively used by the current node, the controller will not receive position acquisition requests from other antenna nodes, thus preventing confusion. The controller maintains a position sequence number, represented by an initially assigned variable. Each time the current position sequence number is assigned to a current node, it is incremented by one unit for use by the next current node. Accordingly, when the controller receives a position acquisition request, it responds by encapsulating the current position sequence number as position information into a corresponding data packet, sending it to the current node via the data communication link, and storing the current node's position information in the controller's control chip's memory. This enables the controller to determine the current node's position in the daisy chain.

[0081] Step S6330: The current node receives the location information assigned by the controller and writes it into the current node's own memory.

[0082] After receiving the data packet from the controller through the data communication link, the current node parses it, obtains the position information assigned to the current node, and writes it into the memory of the current node's control chip, thereby realizing the determination of the current node's sequential position in the daisy chain on the current node side.

[0083] After the current node completes the above calibration, it can reply to the controller to confirm receipt of the location information, so as to complete the closed loop of the entire learning process. This allows the controller to increment the location sequence number and continue to serve the learning process of the next antenna node.

[0084] As can be seen from the above embodiments, each antenna node, as the current node, can quickly cooperate with the controller to complete the calibration of the current node's position information by relying on a simple and efficient handshake mechanism. Furthermore, the process of determining the position information is implemented when the current node exclusively occupies the data communication link, which can ensure that the position information obtained by each antenna node is accurate and corresponding.

[0085] Based on any embodiment of the method of this application, after entering the learning mode, the controller sends a learning start command along the daisy chain connected to it, including:

[0086] Step S5110: The controller responds to external control commands and starts the learning mode;

[0087] In this embodiment, the controller can enter the learning mode through external control. Accordingly, the user sends an external control command to the controller via a terminal device connected to the controller or via buttons on the controller's control panel. Upon receiving the external control command, the controller responds and enters the learning mode. It can perform some basic operations beforehand, such as initializing the position sequence number, presetting the total number of antenna nodes in the daisy chain to be considered a node number threshold, and activating a timing period for all antenna nodes in the entire daisy chain to complete position information learning, with the duration of this timing period serving as a timeout threshold for determining whether the learning process has timed out. Both the node number threshold and the timeout threshold can be pre-configured using external control commands.

[0088] Step S5120: In the learning mode, the controller sets its successor port to a low level to send the learning start command along the daisy chain connected to it.

[0089] After the controller enters the learning mode, considering the working mechanism of the antenna node as described above, it is necessary to set its successor port to a level state opposite to that of the predecessor port of the first antenna node. Since in some embodiments described above, the predecessor port of the antenna node is in a high-level state to receive the learning start command, the successor port of the controller can be set to a low-level state to send a corresponding trigger signal, so that the first antenna node in the daisy chain can recognize that it has received the learning start command, thereby starting the entire daisy chain to learn the position information.

[0090] As can be seen from the above embodiments, the digital key recognition device of this application can provide a human-computer interaction interface to trigger the learning of the position information of multiple antenna nodes, which is convenient for users to configure and more user-friendly.

[0091] Based on any embodiment of the method in this application, please refer to Figure 6 After the controller determines that each antenna node has determined its corresponding location information, it switches from the learning mode to the working mode, including:

[0092] Step S7100: The controller determines whether the total number of antenna nodes whose location information has been determined has reached a preset node number threshold. When the node number threshold is reached, the controller switches from the learning mode to the working mode.

[0093] Users can interact with the controller and pre-set a node number threshold in the controller. This node number threshold represents the number of antenna nodes in the daisy chain that the user informs the controller of and that need to learn their location information.

[0094] The controller can also count the total number of antenna nodes with determined location information to determine the learning progress relative to a node count threshold. In one embodiment, since the controller uses a position sequence number to represent the position of each antenna node, and increments the position sequence number for each completed learning of location information, this position sequence number effectively reflects the function of counting the total number of antenna nodes with determined location information. In this case, the controller can directly compare the final position sequence number with the node count threshold. When the final position sequence number reaches, is equal to or greater than, the node count threshold, it can be confirmed that the location information of all target antenna nodes has been calibrated. At this point, the controller can exit the learning mode and directly switch to the working mode.

[0095] Step S7200: When the number of nodes has not reached the threshold, the controller determines whether the duration of entering the learning mode has reached a preset duration threshold. When the duration threshold is reached, the position information of each antenna node is cleared and an alarm signal is output.

[0096] When the final position sequence number does not reach the node number threshold, it indicates that the learning is not complete. The controller can further detect whether the duration since entering the learning mode has reached the corresponding preset duration threshold. This duration threshold can be set by the user or set by default at the factory. When the duration reaches the duration threshold, it indicates that the learning process has timed out. The controller can end the learning mode and clear the previously determined position information of each antenna node in the memory. At the same time, it outputs an alarm signal corresponding to the incomplete learning process so that the operator can intervene.

[0097] Step S7300: When the duration threshold is not reached, the controller continues to wait until the total number of antenna nodes with known location information reaches the node number threshold.

[0098] When the duration has not reached the duration threshold and the position sequence number has not reached the corresponding node number threshold, it indicates that the learning process is still in progress. The controller can continue to wait for the learning process to continue until the position information of multiple antenna nodes corresponding to the node number threshold is successfully learned within the time period specified by the duration threshold, and then the entire learning process can be ended.

[0099] As can be seen from the above embodiments, by presetting a threshold for the number of antenna nodes to be learned and a threshold for the duration of the learning process, the controller can detect whether the learning process is normal based on the total number of antenna nodes with known location information and the duration of the learning process. This allows for timely identification of abnormalities and alarms, ensuring that the controller can complete the calibration of the location information of all antenna nodes in the daisy chain within a reasonable time range. This makes the calibration capability of the digital key recognition device more reliable, and ensures the reliable use of the digital key recognition device through reliable calibration of location information.

[0100] Based on any embodiment of the method in this application, please refer to Figure 7 After switching from the learning mode to the work mode, the following includes:

[0101] Step S8100: Each of the antenna nodes detects the control signal of the digital key and submits the signal strength data corresponding to the control signal to the controller.

[0102] When a digital key recognition device is deployed in a vehicle, its daisy-chain antenna nodes can be distributed and installed in various locations throughout the vehicle, such as the four corners of the passenger compartment. Simultaneously, the controller pre-defines a corresponding coordinate system for this passenger compartment, marking the spatial position of each antenna node within this system. The spatial positions of each antenna node can be pre-associated with their pre-defined location information. Therefore, when the controller receives data submitted by an antenna node in operating mode, it can determine which antenna node in the coordinate system submitted the data based on the associated location information, thus enabling subsequent calculations.

[0103] When the digital key approaches, each antenna node installed on the car can detect the control signal emitted by the digital key based on the wireless communication mechanism between the digital key and each antenna node, and can also determine the corresponding signal strength data (RSSI, Received signal strength indication) of the received control signal.

[0104] Step S8200: The controller calculates the spatial position of the digital key in the coordinate system based on the spatial position of each antenna node in the preset coordinate system and the signal strength data submitted by each antenna node.

[0105] The spatial position of each antenna node in the preset coordinate system is predetermined and is usually represented by corresponding coordinate information. However, since the distance between the digital key and each antenna node is different, the signal strength data obtained when each antenna node detects the same control signal is also different. Therefore, based on the conventional three-point positioning algorithm, the spatial position of the digital key that emitted the control signal in the coordinate system can be calculated based on the coordinate information of the spatial position of each antenna node in the coordinate system and the different signal strength data of the same control signal. This is represented as the coordinate information of the digital key in the coordinate system.

[0106] Step S8300: When the controller determines that the spatial location of the digital key is within a preset accessible range, it responds to the control signal.

[0107] The controller typically sets an accessible range for the digital key. This accessible range can be represented in various ways, such as the straight-line distance to one or more nearest antenna nodes, or a larger three-dimensional space extended from the three-dimensional space enclosed by the antenna nodes in the reference coordinate system. The specific configuration can be flexibly set as needed. In short, this accessible range allows the controller to identify whether the spatial location of the digital key falls within the specified range, thereby verifying the validity of the control signals from the digital key.

[0108] Specifically, the controller determines whether the spatial location of the digital key is within the accessible range by using the coordinate information of the digital key's spatial location. When it is within the accessible range, the corresponding control signal is valid and can be responded to, and the corresponding control is executed. Otherwise, the corresponding control signal is invalid and no response is required.

[0109] In various exemplary embodiments, the response to the control signal can be any of the following: when the controller recognizes the control signal from the digital key as a door open / close signal, it can correspondingly control the vehicle to open or close the vehicle door; when the controller recognizes the control signal from the digital key as an engine open / close signal, it can correspondingly start or stop the vehicle engine; when the controller recognizes the control signal from the digital key as an air conditioning open / close signal, it can correspondingly start or stop the vehicle air conditioning. Currently, the above response methods are merely examples; in practice, different responses can be made based on control information for different functions, allowing for flexible implementation.

[0110] The above embodiments further reveal that, based on the accurate calibration of the position information of each antenna node, the digital key recognition device can ensure the accurate positioning of the digital key in space, thereby assisting the digital key in effectively controlling the vehicle and ensuring the normal and accurate use of the digital key's functions.

[0111] Based on any embodiment of this application, please refer to Figure 8 Another embodiment of this application also provides an antenna position calibration device, which can act as the controller of the digital key recognition device of this application, and can be implemented based on computer equipment, such as... Figure 8 The diagram shows the internal structure of a computer device. The computer device includes a processor, a computer-readable storage medium, a memory, and a network interface connected via a system bus. The computer-readable storage medium stores an operating system, a database, and computer-readable instructions. The database may store a sequence of control information. When executed by the processor, the computer-readable instructions enable the processor to perform the steps corresponding to the controller in an antenna position calibration method. The processor provides computational and control capabilities, supporting the operation of the entire computer device. The memory stores computer-readable instructions, which, when executed by the processor, enable the processor to perform the steps corresponding to the controller in the antenna position calibration method of this application. The network interface of the computer device is used for communication with a terminal. Those skilled in the art will understand that… Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0112] The memory in this embodiment stores the computer program implemented by the steps corresponding to the controller in the antenna position calibration method of this application, and stores the corresponding program code and data of the computer program.

[0113] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. This computer program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Therefore, this application also provides a storage medium storing computer-readable instructions. When these computer-readable instructions are executed by one or more processors, they cause the one or more processors to perform the steps corresponding to the controller in the antenna position calibration method described in any embodiment of this application. The aforementioned storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0114] Based on the principles of the above embodiments that achieve the same function as the controller using an antenna position calibration device, the steps corresponding to the antenna nodes in the antenna position calibration method of this application can also be implemented as corresponding computer programs. In the architecture of a computer device, the computer program is stored in the memory of the computer device so that the central processing unit of the computer device can call and execute the corresponding program code and data, thereby realizing the execution of the corresponding steps. Similarly, the memory can also be the storage medium mentioned above.

[0115] In summary, this application enables digital key recognition devices to accurately calibrate the positions of their multiple antenna nodes, allowing each antenna node to operate in a standardized and unified business logic in conjunction with the controller to achieve calibration. This effectively reduces the difficulty of calibrating the positions of antenna nodes and the assembly difficulty, expands the scalability of digital key recognition devices to adapt to different types of vehicles by flexibly assembling different numbers of antenna nodes, and reduces various costs in the deployment process of digital key recognition devices.

Claims

1. A method for antenna position calibration, characterized in that, include: After entering learning mode, the controller sends a learning start command along the daisy chain connected to it, which has multiple antenna nodes connected in series. Each of the antenna nodes responds to the learning start command in an orderly manner according to its order in the daisy chain, and obtains the location information allocated by the controller by exclusively occupying the data communication link in the daisy chain, and then relays the learning start command to the next antenna node; After the controller determines that each antenna node has determined its corresponding location information, it switches from the learning mode to the working mode.

2. The antenna position calibration method according to claim 1, characterized in that, Each antenna node responds to the learning start command in an orderly manner according to its sequence in the daisy chain, exclusively occupying the data communication link in the daisy chain to obtain the location information allocated by the controller, and then relays the learning start command to the next antenna node, including: The first antenna node in the daisy chain responds to the learning start command sent by the controller as the current node, and exclusively uses the data communication link in the daisy chain to obtain the location information assigned by the controller. After the current node obtains its location information, it relays the learning start command to the next antenna node in the daisy chain, so that the next antenna node becomes the new current node and responds to the learning start command sent by its previous antenna node to determine its location information. This process continues until all the antenna nodes have completed the determination of their location information.

3. The antenna position calibration method according to claim 1, characterized in that, Each antenna node responds to the learning start command in an orderly manner according to its sequence in the daisy chain, exclusively occupying the data communication link in the daisy chain to obtain the location information allocated by the controller, and then relays the learning start command to the next antenna node, including: When any of the antenna nodes is in a high-level state at its predecessor port, it receives the learning start command as the current node; Upon receiving the learning start command, the current node keeps its successor port in a high-level state to exclusively occupy the data communication link; The current node communicates with the controller under the exclusive access of the data communication link to obtain the location information allocated by the controller. After obtaining its location information, the current node switches its successor port to a low level to relay the learning start command received by the current node to the next antenna node in the daisy chain.

4. The antenna position calibration method according to claim 3, characterized in that, The current node communicates with the controller under the exclusive data communication link to obtain the location information allocated by the controller, including: The current node sends a location acquisition request to the controller via the data communication link; In response to the location acquisition request, the controller sends the location information corresponding to the current node to the current node through the data communication link, and writes the location information of the current node into the controller's own memory. The current node receives the location information assigned by the controller and writes it into its own memory.

5. The antenna position calibration method according to any one of claims 1 to 4, characterized in that, After entering learning mode, the controller sends a learning start command along the daisy chain it is connected to, including: The controller responds to external control commands and initiates learning mode; In the learning mode, the controller sets its successor port to a low level to send the learning start command along the daisy chain connected to it.

6. The antenna position calibration method according to any one of claims 1 to 4, characterized in that, After the controller determines that each antenna node has determined its corresponding location information, it switches from the learning mode to the working mode, including: The controller determines whether the total number of antenna nodes whose location information has been determined has reached a preset node number threshold. When the node number threshold is reached, it switches from the learning mode to the working mode. When the number of nodes has not reached the threshold, the controller determines whether the duration of entering the learning mode has reached a preset duration threshold. When the duration threshold is reached, the position information of each antenna node is cleared and an alarm signal is output. If the duration threshold is not reached, the controller continues to wait until the total number of antenna nodes with known location information reaches the node number threshold.

7. The antenna position calibration method according to any one of claims 1 to 4, characterized in that, After switching from the learning mode to the work mode, the following is included: Each of the antenna nodes detects the control signal of the digital key and submits the signal strength data corresponding to the control signal to the controller. The controller calculates the spatial position of the digital key in the coordinate system based on the spatial position of each antenna node in the preset coordinate system and the signal strength data submitted by each antenna node. When the controller determines that the spatial location of the digital key is within a preset accessible range, it responds to the control signal.

8. The antenna position calibration method according to claim 7, characterized in that, The response to the control signal includes any of the following response methods: When the control signal is a door open / close signal, the vehicle door is opened or closed; When the control signal is an engine switch signal, the vehicle engine is started or stopped; When the control signal is an air conditioning switch signal, the vehicle's air conditioning is turned on or off.

9. A digital key identification device, comprising a controller and multiple antenna nodes, wherein the antenna nodes are used to communicate with a digital key, characterized in that: The controller includes a central processing unit and a memory. The central processing unit of the controller is used to call and run a computer program stored in the memory of the controller to perform the steps corresponding to the controller in the antenna position calibration method as described in any one of claims 1 to 8. The antenna node includes a central processing unit and a memory. The central processing unit of the antenna node is used to call and run a computer program stored in the memory of the antenna node to perform the steps corresponding to the antenna node in the antenna position calibration method as described in any one of claims 1 to 8.

10. A non-volatile storage medium, characterized in that, The method for antenna position calibration according to any one of claims 1 to 8 distinguishes the steps corresponding to the controller and the antenna node, and stores computer programs implemented for the controller and the antenna node respectively in the form of computer-readable instructions. When the computer programs are called and run by the corresponding controller and the antenna node, they execute their respective steps.

Citation Information

Patent Citations

  • Target location and tracking system and method based on low-frequency electromagnetic wave

    CN103217682A

  • Clock tree synthesis method and device, electronic equipment and computer readable storage medium

    CN116167330A