Wake-up methods and systems
By adjusting the data frame format and transmission rate in the remote key system, and combining hardware and software decoding, the problems of data baud rate error and the influence of high and low temperatures were solved, achieving a low-power, high-precision wake-up effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-11
- Publication Date
- 2026-03-13
AI Technical Summary
Existing wake-up schemes in remote key systems have poor tolerance for data baud rate errors, are easily affected by high and low temperatures, resulting in low data accuracy and high power consumption at the receiving end.
By generating data frames at the transmitter of the remote key and determining the transmission rate according to the clock period of the synchronization clock control signal line, the transmitter sends wake-up frames and the same data frames in sequence. The receiver uses an interrupt method to capture the wake-up frames and query the data frames to switch states.
It improved data transmission accuracy, reduced power consumption of the vehicle controller, and maintained wake-up sensitivity.
Smart Images

Figure CN117877148B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technology, and in particular relates to a wake-up method and system. Background Technology
[0002] A remote key (RKE) allows users to control their vehicle, such as unlocking, locking, raising, and lowering windows, via the transmitter of the remote key and the receiver of the vehicle controller. To reduce power consumption, the vehicle controller enters a low-power state after not receiving control data from the remote key for an extended period. Therefore, to continue controlling the vehicle, the vehicle controller needs to be restored to its normal state, i.e., a wake-up state.
[0003] However, in the wake-up schemes of related technologies, the transmitter has poor tolerance for data baud rate errors and is easily affected by high and low temperatures, resulting in low accuracy of transmitted data. In addition, the receiver sets periodic timed queries and periodic capture of radio frequency data before sleep mode to adopt a periodic wake-up method, which results in high power consumption for wake-up. Summary of the Invention
[0004] This application provides a wake-up method and system that can reduce the power consumption of the automotive controller while maintaining wake-up sensitivity.
[0005] In a first aspect, embodiments of this application provide a wake-up method applied to a transmitter inside a remote key, the transmitter including a transmitter chip and a first microprocessor controller;
[0006] The wake-up method includes:
[0007] In response to a user's trigger input to the remote key, the first microprocessor controller generates a data frame based on the trigger information corresponding to the trigger input. The data frame includes a synchronization header, which is used to indicate the start bit of the data frame.
[0008] The first microprocessor controller sends the data frame to the transmitter chip through the first general-purpose input / output interface;
[0009] The transmitting chip sequentially sends a wake-up frame and at least three identical data frames to the receiving chip of the vehicle controller according to a preset transmission rate, so that the receiving chip, in response to detecting the wake-up frame, triggers an input / output interrupt and receives the data frame and sends the received data frame to the second microprocessor controller through the data interface. The second microprocessor controller queries the data frame to obtain a query result, and switches from the sleep state to the wake-up state according to the query result.
[0010] The preset transmission rate is determined based on the clock period corresponding to the pre-connected synchronous clock control signal line.
[0011] Secondly, embodiments of this application provide a wake-up method applied to an automotive controller, the automotive controller including a receiving chip and a second microprocessor controller;
[0012] The wake-up method includes:
[0013] In response to the receiving chip detecting a wake-up frame, an input / output interrupt is triggered and a data frame is received;
[0014] The receiving chip sends at least three identical data frames received to the second microprocessor controller via a data interface;
[0015] The second microprocessor controller queries the data frame to obtain the query result, and switches from the sleep state to the wake-up state according to the query result;
[0016] The wake-up frame and the data frame are sent sequentially by the transmitter chip inside the remote key according to a preset transmission rate. The preset transmission rate is determined according to the clock cycle corresponding to the pre-connected synchronization clock control signal line. The data frame is sent to the transmitter chip by the first microprocessor controller of the transmitter through the first general-purpose input / output interface. The data frame is generated by the first microprocessor controller in response to the user's trigger input to the remote key according to the trigger information corresponding to the trigger input. The data frame includes a synchronization header, which is used to indicate the start bit of the data frame.
[0017] Thirdly, embodiments of this application provide a wake-up system, including a transmitter inside a remote key and a vehicle controller;
[0018] The transmitter includes a transmitter chip and a first microprocessor controller, and the vehicle controller includes a receiver chip and a second microprocessor controller.
[0019] The first microprocessor controller is configured to respond to a user's trigger input to the remote key, generate a data frame based on the trigger information corresponding to the trigger input, the data frame including a synchronization header, the synchronization header being used to indicate the start bit of the data frame; and send the data frame to the transmitter chip through a first general-purpose input / output interface.
[0020] The transmitting chip is used to sequentially send a wake-up frame and at least three identical data frames to the receiving chip of the vehicle controller according to a preset transmission rate.
[0021] The receiving chip is configured to trigger an input / output interrupt and receive data frames in response to detecting the wake-up frame; and to send at least three identical data frames received to the second microprocessor controller via a data interface.
[0022] The second microprocessor controller is used to query the data frame, obtain the query result, and switch from sleep state to wake-up state according to the query result.
[0023] The wake-up method and system of this application embodiment, when there is user input to trigger the remote key, generates a data frame through the microprocessor controller of the transmitter inside the remote key, and determines the data transmission rate according to the clock cycle corresponding to the connected synchronous clock control signal line, so as to solve the data baud rate error caused by high and low temperature and crystal oscillator differences, thereby improving the data transmission accuracy; then, the transmitter chip of the transmitter sends a wake-up frame and at least three identical data frames sequentially to the receiver chip of the vehicle controller at this transmission rate, so as to avoid the problem that the receiver chip cannot receive the data frame due to communication interference; thus, the receiver chip uses an interrupt method to capture the wake-up frame, so that when the wake-up frame is detected, the microprocessor controller of the vehicle controller queries the data frame, and then switches from the sleep state to the wake-up state according to the query result, thereby reducing the power consumption of the vehicle controller while maintaining wake-up sensitivity. Attached Figure Description
[0024] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 This is a flowchart illustrating a wake-up method provided in an embodiment of this application;
[0026] Figure 2 This is a schematic diagram of an exemplary data frame format provided in an embodiment of this application;
[0027] Figure 3 This is a schematic diagram illustrating exemplary data transmission provided in an embodiment of this application;
[0028] Figure 4 This is a flowchart illustrating another wake-up method provided in an embodiment of this application;
[0029] Figure 5 This is an exemplary decoding diagram provided in an embodiment of this application;
[0030] Figure 6 This is a schematic diagram of the structure of a wake-up system provided in an embodiment of this application;
[0031] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0032] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.
[0033] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0034] It should be noted that the acquisition, storage, use, and processing of data in this application embodiment all comply with the relevant provisions of national laws and regulations.
[0035] Serial communication is used to transmit data bit by bit sequentially using a single data line, with each bit occupying a fixed time length.
[0036] Serial baud rate is used to represent the data transmission rate of a serial communication interface, expressed in baud rate (bits per second).
[0037] A remote key (RKE) allows users to control their vehicle, such as unlocking, locking, raising, and lowering windows, via the transmitter of the remote key and the receiver of the vehicle controller. To reduce power consumption, the vehicle controller enters a low-power state after not receiving control data from the remote key for an extended period. Therefore, to continue controlling the vehicle, the vehicle controller needs to be restored to its normal state, i.e., a wake-up state.
[0038] However, in the wake-up schemes of related technologies, the transmitter has poor tolerance for data baud rate errors and is easily affected by high and low temperatures, resulting in low accuracy of transmitted data. In addition, the receiver sets periodic timed queries and periodic capture of radio frequency data before sleep mode to adopt a periodic wake-up method, which results in high power consumption for wake-up.
[0039] Specifically, the transmitter using packet mode needs to send data according to the packet format and cannot customize the data frame format, which affects the selection of the receiver chip. The transmitter using only pass-through mode sends data with low accuracy. The receiver using only hardware interrupt mode has poor tolerance for data baud rate errors and is easily affected by high and low temperatures. The receiver using only software to capture radio frequency signals has high power consumption due to periodic wake-up, and the wake-up sensitivity is insufficient due to the short wake-up time setting.
[0040] To address the problems in the related technologies, embodiments of this application provide a wake-up method and system.
[0041] It should be noted that the specific types of the microprocessor controller, transmitting chip, and receiving chip in the embodiments of this application are not limited, and the microprocessor controller and transmitting chip at the transmitting end, as well as the microprocessor controller and receiving chip at the receiving end, can communicate through a serial port or interface.
[0042] The wake-up method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.
[0043] Figure 1 A flowchart illustrating a wake-up method 100 according to an embodiment of this application is shown. Specifically, the wake-up method 100 is applied to a transmitter inside a remote key, and the transmitter includes a transmitter chip and a first microprocessor controller.
[0044] like Figure 1 As shown, the wake-up method 100 may specifically include the following steps:
[0045] S101. In response to the user's trigger input to the remote key, the first microprocessor controller generates a data frame according to the trigger information corresponding to the trigger input. The data frame includes a synchronization header, which is used to indicate the start bit of the data frame.
[0046] S102, the first microprocessor controller sends the data frame to the transmitter chip through the first general purpose input / output interface (GPIO);
[0047] S103. The transmitting chip sequentially sends a wake-up frame and at least three identical data frames to the receiving chip of the vehicle controller according to a preset transmission rate. This causes the receiving chip to trigger an input / output (I / O) interrupt and receive the data frame in response to detecting the wake-up frame. The receiving chip then sends the received data frame to a second microprocessor controller via a data interface. The second microprocessor controller queries the data frame to obtain a query result and switches from a sleep state to a wake-up state based on the query result. The preset transmission rate is determined based on the clock period corresponding to a pre-connected synchronous clock control signal line.
[0048] Therefore, when there is user input to trigger the remote key, the microprocessor controller of the transmitter inside the remote key generates a data frame and determines the data transmission rate according to the clock cycle corresponding to the connected synchronous clock control signal line. This solves the data baud rate error caused by high and low temperatures and crystal oscillator differences, thereby improving data transmission accuracy. Then, the transmitter chip of the transmitter sends a wake-up frame and at least three identical data frames sequentially to the receiving chip of the vehicle controller at this transmission rate to avoid communication interference that could prevent the receiving chip from receiving data frames. The receiving chip uses an interrupt method to capture the wake-up frame. When the wake-up frame is detected, the microprocessor controller of the vehicle controller queries the data frame and switches from sleep state to wake-up state based on the query result, thereby reducing the power consumption of the vehicle controller while maintaining wake-up sensitivity.
[0049] The specific implementation methods for each of the above steps are described below.
[0050] In some embodiments, in step 101, the user's trigger input may include key input to the remote key, thereby generating a data frame based on the key information corresponding to the key input. Specifically, the data frame includes plaintext data and ciphertext data, and both the plaintext data and the ciphertext data include a remote key identifier (e.g., a production serial number) and trigger information (i.e., key information).
[0051] For more specific details, please refer to Figure 2 This is a schematic diagram illustrating an exemplary data frame format. For example... Figure 2As shown, the plaintext data includes a repeat message indicator (Repeat, 1 bit), an RKE low voltage indicator (TranVolt, 1 bit), trigger information (i.e., trigger information corresponding to the user's trigger input to the remote key, such as button status, 4 bits), and a remote key identifier (SN, 32 bits). The ciphertext data includes the manufacturer code OEM (VID, 64 bits), a reserved bit (Reserved, 4 bits), trigger information (Button Status, 4 bits), the remote key identifier (SN, 32 bits), and a rolling code (Cnt, 24 bits). Therefore, the plaintext data Fixed Portion consists of 38 bits, and the ciphertext data Cipher Portion consists of 128 bits. The manufacturer code is a defined manufacturer code, the remote key identifier can be a production serial number, the reserved bit is a custom identifier, and the rolling code corresponds to the number of user trigger inputs; that is, the rolling code increments by 1 each time the user presses a button on the remote key.
[0052] In some embodiments, the encrypted data is determined using a pre-generated key based on a remote key identifier, trigger information, vendor code, reserved bits, and a rolling code. Specifically, the key is generated using the AES encryption algorithm. Taking AES-128 as an example, the key length is 16 bytes, the seed length is 16 bytes (0x00, 0x01, 0x02, ..., 0x0f), and the number of encryption rounds is 10.
[0053] Furthermore, in some embodiments, the plaintext and ciphertext data are encoded using Manchester encoding by a first microprocessor controller to generate data frames. In this way, the synchronous clock encoding method of Manchester encoding uses high-low level switching to represent "0" or "1", i.e., rising edge is 1 and falling edge is 0; and each bit has a transition in the middle, which serves as both a clock signal and a data signal.
[0054] Additionally, the bitrate can be set as follows: 1 Chip = 100µs, Manchester bitrate = 10kbps. It should be understood that a higher bitrate results in higher efficiency, but also places higher demands on the transmitter; while a bitrate that is too low will cause the receiver's wake-up window to be too long, increasing power consumption.
[0055] In some embodiments, the data frame includes a synchronization header, which indicates the start bit of the data frame. Thus, the synchronization header can be considered a marker indicating the start of a data frame to identify a complete data frame. Therefore, the integrity of the data can be determined by detecting the marker in the synchronization header, and subsequent data processing, i.e., decoding of the data frame, can be performed based on the synchronization header.
[0056] Specifically, the synchronization header can be determined based on the RKE identification code of different manufacturers, and can be defined as 2 bytes, such as 0xFF or 0xFE. That is, different manufacturers correspond to different synchronization fields to reduce data interference between different manufacturers.
[0057] In some embodiments, in step S102, since the first microprocessor controller is provided with GPIO (General Purpose Input / Output) pins, the encoded data frame can be sent to the transmitter chip via GPIO, so that the transmitter chip can transmit the data frame from the transmitter to the vehicle controller at the receiver.
[0058] In some embodiments, in step S103, the wake-up frame is sent independently of the data frame. Furthermore, the length of the wake-up frame is determined based on the length of the data frame and the power consumption requirements of the receiving chip. It can be understood that the shorter the wake-up frame, the higher the query frequency, and thus the greater the power consumption of the receiving end. Specifically, the wake-up frame can be a segment of data bytes consisting entirely of 1s or all 0s; for example, the bytes of the wake-up frame can be defined as 0xFF.
[0059] It should be noted that electromagnetic interference, as well as high-frequency and low-frequency noise interference, may occur during communication. Therefore, in order to avoid communication interference causing the receiving chip to be unable to receive data frames, at least three identical data frames need to be sent sequentially to ensure that the receiving end can receive the data corresponding to the user's one-time trigger input, thereby improving the wake-up sensitivity of the receiving end.
[0060] refer to Figure 3 This is an example diagram illustrating the transmission of data. For example... Figure 3 As shown, at least three identical data frames are separated by a first preset frame interval (e.g., 10ms), and a second preset frame interval is included between the wake-up frame and the data frames. The first and second preset frame intervals can be the same or different. Furthermore, the second preset frame interval can be zero. Thus, the first preset frame interval ensures that the subsequent receiving end has sufficient time to process the current data frame before receiving the next data frame.
[0061] In addition, in some embodiments, the radio frequency can be 433MHz, ASK modulation mode, and the transmitted byte order can be MSB, depending on the remote key communication requirements.
[0062] Furthermore, in some embodiments, the transmitting chip sends data frames at a preset transmission rate. This preset transmission rate can be determined by the clock period corresponding to a pre-connected synchronous clock control signal line. Specifically, the connected synchronous clock control signal line provides a synchronous clock CLK (Clock) for an I / O signal, and the clock frequency setting data needs to be hardware-connected to the GPIO interface to transmit the data byte to be sent to the data interface DATA pin by judging the falling edge.
[0063] In this way, based on the synchronous clock signal as the reference clock, CLK generates a clock corresponding to the data baud rate, ensuring that the standard time for the data high or low level is completely synchronized with the clock cycle of CLK. That is, the synchronous clock signal serves as the scale and reference for switching levels. This solves the problem of deviations caused by high or low temperatures or crystal oscillator differences when relying solely on software monitoring and delay control for high and low levels. Therefore, it improves the accuracy of the data transmission baud rate, achieving data transmission error control within 3µs.
[0064] As another implementation of this application, refer to Figure 4 This application also provides another wake-up method 400. Specifically, the wake-up method 400 is applied to an automotive controller, and the automotive controller includes a receiver chip and a second microprocessor controller.
[0065] like Figure 4 As shown, the wake-up method 400 may specifically include the following steps:
[0066] S401, In response to the receiving chip detecting a wake-up frame, an input / output interrupt is triggered and a data frame is received;
[0067] S402, the receiving chip sends at least three identical data frames received to the second microprocessor controller through the data interface;
[0068] S403. The second microprocessor controller queries the data frame to obtain the query result, and switches from the sleep state to the wake-up state according to the query result;
[0069] The wake-up frame and the data frame are sent sequentially by the transmitter chip inside the remote key according to a preset transmission rate. The preset transmission rate is determined according to the clock cycle corresponding to the pre-connected synchronization clock control signal line. The data frame is sent to the transmitter chip by the first microprocessor controller of the transmitter through the first general-purpose input / output interface. The data frame is generated by the first microprocessor controller in response to the user's trigger input to the remote key according to the trigger information corresponding to the trigger input. The data frame includes a synchronization header, which is used to indicate the start bit of the data frame.
[0070] In some embodiments, in step S401, in response to the receiving chip detecting a wake-up frame, an input / output interrupt is triggered to send an excitation signal to the second microprocessor controller through the second general-purpose input / output interface; in response to the second microprocessor controller receiving the excitation signal, the second microprocessor controller controls the receiving chip to be in a normal receiving state through a serial peripheral interface; in response to the receiving chip being in a normal receiving state, the receiving chip receives a data frame.
[0071] In some embodiments, when GPIO is used as an input pin, the relevant read signal pin function interface can be called to poll and detect the input signal in a loop within the program. Thus, based on the GPIO pin, a wake-up frame is captured using an interrupt method, and when the receiving chip detects the wake-up frame, an IO interrupt is triggered to generate a stimulus signal, which is then sent to the second microprocessor controller via the GPIO interface.
[0072] In some embodiments, when the second microprocessor controller receives an excitation signal, it controls the receiving chip to be in a normal receiving state through the serial peripheral interface SPI, that is, controls and adjusts the receiving time of the receiving chip to enable the receiving chip to receive data frames for a long time.
[0073] In this way, using interrupts to capture wake-up frames to know that a wake-up frame has been detected can reduce power consumption during periodic polling compared to setting periodic timer polling and periodic capture of RF data before sleep mode to use periodic wake-up.
[0074] Furthermore, in step S402, the receiving chip sends the received data frame to the second microprocessor controller through the data interface DATA.
[0075] In some embodiments, in step S403, the second microprocessor controller queries the data frame within a preset query time to obtain the query result, so as to switch from the sleep state to the wake-up state according to the query result.
[0076] Specifically, the preset query time is determined based on the length of the wake-up frame and the length of the data frame. It's understood that the query time cannot be shorter than the wake-up frame length; otherwise, data loss will occur, leading to poor reception sensitivity. For example, the preset query time can be 2 to 3 times the length of the data frame. In this way, by using wake-up query and setting the query time, the wake-up sensitivity is improved, allowing valid wake-up data to be received in the wake-up query state. This causes the receiving chip to exit low-power mode and then wake up the second microprocessor controller.
[0077] In some embodiments, the second microprocessor controller decodes the data frame according to a preset pulse width recognition range to obtain decoded plaintext data and decoded ciphertext data; decrypts the decoded ciphertext data to obtain a decrypted remote key identifier and decrypted trigger information; and determines to switch from sleep state to wake-up state in response to the fact that the decrypted remote key identifier is consistent with the remote key identifier in the decoded plaintext data and the decrypted trigger information is consistent with the trigger information in the decoded plaintext data.
[0078] In specific implementation, since the data encoding method is Manchester, the corresponding synchronization field is 0xFE, 0xFE, the baud rate is 4kbps and the MSB data transmission bit sequence is set, and the pulse width recognition range is set to 125us±25us. By setting a larger baud rate error range, the redundancy of the receiver can be improved, thereby solving the data baud rate error caused by high and low temperatures and crystal oscillator differences to a certain extent.
[0079] In specific implementation, during the software decoding process, if the previous data byte's last_bit = 0, the next state must be a rising edge. Therefore, the next logic level can be determined by calculating the length of the low level, i.e., the 1TE-0 level remains unchanged, and the 2TE-1 level toggles. If the previous data byte's last_bit = 1, the next state must be a falling edge. Therefore, the next logic level can be determined by calculating the length of the high level, i.e., the 1TE-1 level remains unchanged, and the 2TE-1 level toggles.
[0080] In this way, Figure 5 Taking the exemplary decoding diagram as an example, it can be understood that... Figure 5 The wake-up frame precedes the 0xFE synchronization header. The software determines the start bit of the data frame based on the 0xFE synchronization header to decode the data frame, and according to the Manchester format, analyzes the rising and falling edges of the waveform to parse 1s and 0s to reconstruct the data, resulting in... Figure 5 The data bytes shown.
[0081] Furthermore, in some embodiments, a key (a symmetric key based on the AES-128 algorithm) is used to decrypt the decoded ciphertext data, and the decrypted data is compared with the plaintext data. If they match, the data is valid, and the second microprocessor controller switches from sleep state to wake-up state.
[0082] Specifically, the detection of a valid wake-up frame can be configured to be 3 bytes, then the length of the valid wake-up frame is: T 有效唤醒帧 =3 * 8 * 0.25 = 6ms. Therefore, the overall system power consumption is around 2.5mA. This achieves high wake-up sensitivity, ensuring a single user trigger for wake-up.
[0083] Furthermore, in some embodiments, the decrypted data can be used to generate control commands, which are then sent to the corresponding control module. This allows the control module to start the engine or open the door according to the control commands, thereby enabling control functions such as unlocking and locking the door, raising and lowering the window.
[0084] Therefore, by adjusting the RKE data frame format (wake-up frame, encoding method, bit rate, frame interval), adding a synchronization clock at the transmitting end, and using a combination of hardware decoding and software decoding at the receiving end to achieve wake-up, the data accuracy at the transmitting end and the wake-up sensitivity at the receiving end can be improved. Furthermore, with less hardware resource consumption, the power consumption at the receiving end can be reduced, effectively lowering costs while conserving microprocessor chip resources.
[0085] It should be noted that the above description describes some embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0086] In addition, refer to Figure 6 This application also provides a wake-up system 600. For example... Figure 6 As shown, the wake-up system 600 includes a transmitter inside the remote key and a vehicle controller (receiver); wherein the transmitter includes a transmitter chip 610 and a first microprocessor controller 620, and the vehicle controller includes a receiver chip 630 and a second microprocessor controller 640.
[0087] In some embodiments, the first microprocessor controller 620 is configured to, in response to a user's trigger input to a remote key, generate a data frame based on trigger information corresponding to the trigger input, the data frame including a synchronization header for indicating the start bit of the data frame; and send the data frame to the transmitter chip 610 via a first general-purpose input / output interface.
[0088] In some embodiments, the transmitting chip 610 is configured to sequentially transmit a wake-up frame and at least three identical data frames to the receiving chip 630 of the vehicle controller according to a preset transmission rate.
[0089] In some embodiments, the receiving chip 630 is configured to trigger an input input and receive data frames in response to detecting the wake-up frame; and to send at least three identical data frames received to the second microprocessor controller 640 via a data interface.
[0090] In some embodiments, the second microprocessor controller 640 is configured to query the data frame to obtain a query result, and switch from a sleep state to a wake-up state based on the query result.
[0091] Taking the first microprocessor controller 620 as an example, which uses MCU-UM8005, the transmitter chip 610 as UM2001, the second microprocessor controller 640 as MCU-S32K144, and the receiver chip 630 as UM2002, as follows: Figure 6 As shown, the synchronous clock control signal line provides a synchronous clock CLK for an IO signal, and the clock frequency setting data needs to be connected to the GPIO interface in hardware to transmit data by judging the falling edge; the UM2002 is configured using the SPI interface, the IO pin is used for wake-up frame interrupt detection, and the DATA pin is used for data capture to achieve wake-up.
[0092] In some embodiments, the data frame includes plaintext data and ciphertext data, both of which include a remote key identifier and the trigger information. The ciphertext data is determined using a pre-generated key based on the remote key identifier and the trigger information.
[0093] In some embodiments, the first microprocessor controller 620 is specifically used to encode the plaintext data and ciphertext data using Manchester encoding to generate a data frame.
[0094] In some embodiments, a first preset frame interval is included between the at least three identical data frames.
[0095] In some embodiments, a second preset frame interval is included between the wake-up frame and the data frame, and the length of the wake-up frame is determined based on the length of the data frame and the required power consumption of the receiving chip.
[0096] In some embodiments, the receiving chip 630 is specifically configured to trigger an input / output interrupt in response to the detection of a wake-up frame in order to send an excitation signal to the second microprocessor controller 640 via a second general-purpose input / output interface.
[0097] In some embodiments, the second microprocessor controller 640 is specifically configured to, in response to receiving the excitation signal, control the receiver chip 630 to be in a normal receiving state via a serial peripheral interface, so that the receiver chip 630 receives data frames.
[0098] In some embodiments, the second microprocessor controller 640 is further configured to query the data frame within a preset query time to obtain a query result, so as to switch from a sleep state to a wake-up state according to the query result. The preset query time is determined based on the length of the wake-up frame and the length of the data frame.
[0099] In some embodiments, the second microprocessor controller 640 is further configured to decode the data frame according to a preset pulse width recognition range to obtain decoded plaintext data and decoded ciphertext data; decrypt the decoded ciphertext data to obtain a decrypted remote key identifier and decrypted trigger information; and determine to switch from a sleep state to a wake-up state in response to the fact that the decrypted remote key identifier is consistent with the remote key identifier in the decoded plaintext data and the decrypted trigger information is consistent with the trigger information in the decoded plaintext data.
[0100] Therefore, the first microprocessor controller 620 generates data frames and determines the data transmission rate according to the clock cycle corresponding to the connected synchronous clock control signal line to solve the data baud rate error caused by high and low temperatures and crystal oscillator differences, thereby improving data transmission accuracy. Then, the transmitting chip 610 sequentially sends a wake-up frame and at least three identical data frames to the receiving chip 630 at this transmission rate to avoid communication interference causing the receiving chip 630 to fail to receive data frames. Thus, the receiving chip 630 uses an interrupt method to capture the wake-up frame. When the wake-up frame is detected, the second microprocessor controller 640 queries the data frame and switches from sleep state to wake-up state according to the query result, thereby reducing power consumption while maintaining wake-up sensitivity.
[0101] It should be noted that, for ease of description, the above devices are described in terms of function, divided into various modules. Of course, in implementing this application, the functions of each module can be implemented in one or more software and / or hardware.
[0102] Based on the same technical concept, corresponding to any of the above embodiments, this application also provides an electronic device.
[0103] Figure 7 A schematic diagram of a more specific electronic device hardware structure provided in this embodiment is shown.
[0104] The electronic device 700 may include a processor 701 and a memory 702 storing computer program instructions.
[0105] Specifically, the processor 701 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0106] Memory 702 may include mass storage for data or instructions. For example, and not limitingly, memory 702 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 702 may include removable or non-removable (or fixed) media. Where appropriate, memory 702 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 702 is non-volatile solid-state memory.
[0107] In certain embodiments, the memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Thus, typically, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of this application.
[0108] The processor 701 implements any of the wake-up methods described in the above embodiments by reading and executing computer program instructions stored in the memory 702.
[0109] In some examples, the electronic device 700 may also include a communication interface 703 and a bus 710. For example, Figure 7 As shown, the processor 701, memory 702, and communication interface 703 are connected through bus 710 and complete communication with each other.
[0110] The communication interface 703 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.
[0111] Bus 710 includes hardware, software, or both, that couples components of an online data traffic metering device together. For example, and not as a limitation, bus 710 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 710 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, any suitable bus or interconnect is contemplated herein.
[0112] For example, the electronic device 700 can be a mobile phone, tablet computer, laptop computer, handheld computer, in-vehicle electronic device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc.
[0113] Based on the same technical concept, corresponding to any of the methods in the above embodiments, this application also provides a non-transitory computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when executed by a processor, these computer program instructions implement any of the wake-up methods in the above embodiments. Examples of computer-readable storage media include non-transitory computer-readable storage media such as portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, etc.
[0114] Based on the same technical concept, corresponding to any of the above-described embodiments, this application also provides a computer program product, which includes computer program instructions. In some embodiments, the computer program instructions can be executed by one or more processors of a computer to cause the computer and / or the processors to perform the wake-up method. Corresponding to the execution entity for each step in each embodiment of the wake-up method, the processor executing the corresponding step may belong to the corresponding execution entity.
[0115] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.
[0116] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0117] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0118] The aspects of this application have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by dedicated hardware performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
[0119] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A wake-up method, applied to a transmitter inside a remote key, the transmitter including a transmitter chip and a first microprocessor controller; The wake-up method includes: In response to a user's trigger input to the remote key, the first microprocessor controller generates a data frame based on the trigger information corresponding to the trigger input. The data frame includes a synchronization header, which is used to indicate the start bit of the data frame. The first microprocessor controller sends the data frame to the transmitter chip through the first general-purpose input / output interface; The transmitting chip sequentially sends a wake-up frame and at least three identical data frames to the receiving chip of the vehicle controller according to a preset transmission rate, so that the receiving chip, in response to detecting the wake-up frame, triggers an input / output interrupt and receives the data frame and sends the received data frame to the second microprocessor controller through the data interface. The second microprocessor controller queries the data frame to obtain a query result, and switches from the sleep state to the wake-up state according to the query result. The preset transmission rate is determined based on the clock period corresponding to the pre-connected synchronous clock control signal line.
2. The method according to claim 1, characterized in that, The data frame includes plaintext data and ciphertext data. Both the plaintext data and the ciphertext data include a remote key identifier and the trigger information. The ciphertext data is determined using a pre-generated key based on the remote key identifier and the trigger information.
3. The method according to claim 2, characterized in that, The first microprocessor controller generates a data frame based on the trigger information corresponding to the trigger input, including: The first microprocessor controller encodes the plaintext and ciphertext data using Manchester encoding to generate a data frame.
4. The method according to claim 1, characterized in that, The at least three identical data frames are separated by a first preset frame interval.
5. The method according to claim 1, characterized in that, The wake-up frame and the data frame include a second preset frame interval, and the length of the wake-up frame is determined according to the length of the data frame and the power consumption requirements of the receiving chip.
6. A wake-up method applied to an automotive controller, the automotive controller including a receiver chip and a second microprocessor controller; The wake-up method includes: In response to the receiving chip detecting a wake-up frame, an input / output interrupt is triggered and a data frame is received; The receiving chip sends at least three identical data frames received to the second microprocessor controller via a data interface; The second microprocessor controller queries the data frame to obtain the query result, and switches from the sleep state to the wake-up state according to the query result; The wake-up frame and the data frame are sent sequentially by the transmitter chip inside the remote key according to a preset transmission rate. The preset transmission rate is determined according to the clock cycle corresponding to the pre-connected synchronization clock control signal line. The data frame is sent to the transmitter chip by the first microprocessor controller of the transmitter through the first general-purpose input / output interface. The data frame is generated by the first microprocessor controller in response to the user's trigger input to the remote key according to the trigger information corresponding to the trigger input. The data frame includes a synchronization header, which is used to indicate the start bit of the data frame.
7. The method according to claim 6, characterized in that, The response of the receiving chip detecting a wake-up frame, triggering an input / output interrupt and receiving a data frame includes: In response to the receiving chip detecting a wake-up frame, an input / output interrupt is triggered to send an excitation signal to the second microprocessor controller through the second general-purpose input / output interface; In response to the second microprocessor controller receiving the excitation signal, the second microprocessor controller controls the receiving chip to be in normal receiving state through the serial peripheral interface; In response to the receiving chip being in normal receiving state, the receiving chip receives data frames.
8. The method according to claim 6, characterized in that, The second microprocessor controller queries the data frame to obtain a query result, and switches from a sleep state to a wake-up state based on the query result, including: The second microprocessor controller queries the data frame within a preset query time to obtain the query result, and switches from sleep state to wake-up state according to the query result; The preset query time is determined based on the length of the wake-up frame and the length of the data frame.
9. The method according to claim 6, characterized in that, The second microprocessor controller queries the data frame to obtain a query result, and switches from a sleep state to a wake-up state based on the query result, including: The second microprocessor controller decodes the data frame according to a preset pulse width recognition range to obtain decoded plaintext data and decoded ciphertext data; The decoded ciphertext data is decrypted to obtain the decrypted remote key identifier and the decrypted trigger information; In response to the fact that the decrypted remote key identifier is consistent with the remote key identifier in the decoded plaintext data and the decrypted trigger information is consistent with the trigger information in the decoded plaintext data, the system determines to switch from the sleep state to the wake-up state.
10. A wake-up system, comprising a transmitter inside a remote key and a vehicle controller; The transmitter includes a transmitter chip and a first microprocessor controller, and the vehicle controller includes a receiver chip and a second microprocessor controller. The first microprocessor controller is configured to respond to a user's trigger input to a remote key and generate a data frame based on trigger information corresponding to the trigger input. The data frame includes a synchronization header, which is used to indicate the start bit of the data frame. The data frame is sent to the transmitting chip through the first general-purpose input / output interface; The transmitting chip is used to sequentially send a wake-up frame and at least three identical data frames to the receiving chip of the vehicle controller according to a preset transmission rate. The receiving chip is used to trigger an input / output interrupt and receive a data frame in response to detecting the wake-up frame; At least three identical data frames received are sent to the second microprocessor controller via the data interface; The second microprocessor controller is used to query the data frame, obtain the query result, and switch from sleep state to wake-up state according to the query result.
Citation Information
Patent Citations
A control apparatus and method of a monitor for reducing the power consumption of a monitor
KR102507174B1
In-vehicle equipment remote control system
US20040196141A1