Vehicle key, circuit, battery capacity control method, computer readable storage medium, computer program product, electronic equipment and vehicle

By using sensors to detect temperature and dynamic voltage in the car key, the transceiver is controlled to send battery status information, which solves the problem that power detection cannot issue alarms in time based on static discharge status in the prior art, and realizes the effect of prompt alarms when the power is insufficient.

CN119851374APending Publication Date: 2025-04-18BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411490684.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-22
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

The power detection of existing car keys is based on the static discharge state, and the alarm of insufficient power cannot be issued in time, resulting in no warning issued if the power cannot support the normal use of the car key.

Method used

By using sensors to detect temperature and battery dynamic voltage when the car key is working, the transceiver is controlled to send battery status information, so as to promptly issue alarms when the power is insufficient.

Benefits of technology

It can issue alarms in a timely manner when the power cannot support the normal use of the car key, improving the user's experience and battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119851374A_ABST
    Figure CN119851374A_ABST
Patent Text Reader

Abstract

The invention relates to a vehicle key, a circuit, a battery capacity control method, a computer readable storage medium, a computer program product, electronic equipment and a vehicle, and the vehicle key comprises a sensor used for detecting temperature; the transceiver is used for transmitting and receiving signals; a controller for controlling the transceiver; the battery is used for supplying power to the controller; the controller is configured to control the transceiver to send battery state information according to the temperature detected by the sensor and the dynamic voltage of the battery when the transceiver works. The method has the beneficial effects that the dynamic voltage of the battery in the load state is detected when the vehicle key works, so that the dynamic electric quantity of the battery is fed back according to the actual condition closer to the working condition of the vehicle key, and a user is warned in time based on the dynamic electric quantity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a vehicle key, a circuit and a battery power control method. Background Art

[0002] The current car key has a power alarm function, which requires the battery power of the car key to be detected. However, the existing power detection is based on the static discharge state of the battery, which easily results in the car key not being able to use the power normally without an alarm. In view of the above situation, it is urgent for those skilled in the art to provide a technical solution that can promptly issue an alarm when the power is unable to support the normal use of the car key. Summary of the invention

[0003] An embodiment of the present application provides a car key, which controls the transceiver to send battery status information by detecting temperature and dynamic voltage of the battery through a sensor when the car key is working. It can send out an alarm message when the power cannot support normal use of the car key, so as to at least partially solve the above technical problems.

[0004] In order to achieve the above-mentioned object, according to a first aspect of the present application, a car key is provided, comprising: a sensor for detecting temperature; a transceiver for sending and receiving signals; a controller for controlling the transceiver; and a battery for supplying power to the controller;

[0005] The controller is configured to control the transceiver to send battery status information according to the temperature detected by the sensor and the dynamic voltage of the battery when the transceiver is working.

[0006] Optionally, the controller is electrically connected to the sensor so that the controller obtains the temperature detected by the sensor when the transceiver is working.

[0007] Optionally, the controller is electrically connected to the sensor and the battery, so that the controller obtains the power parameters of the battery when the transceiver is working.

[0008] Optionally, the controller is electrically connected to the sensor and the battery, so that the controller obtains the no-load voltage and the load voltage of the battery when the transceiver is working.

[0009] Optionally, the controller is electrically connected to the sensor and the battery, so that the controller generates the battery status information according to the temperature detected by the sensor and the power parameter of the battery when the transceiver is working.

[0010] Optionally, the controller comprises: a power calculation unit, configured to calculate a power parameter of the battery according to the temperature detected by the sensor and the dynamic voltage of the battery.

[0011] Optionally, calculating the power parameter of the battery according to the temperature detected by the sensor and the dynamic voltage of the battery includes:

[0012] According to the temperature detected by the sensor and the dynamic voltage of the battery, the discharge depth curve of the battery is queried to obtain the power parameters of the battery.

[0013] Optionally, the controller further includes: a control judgment unit, configured to judge the relationship between the temperature detected by the sensor and the temperature threshold, and the relationship between the power parameter of the battery and the power threshold, and output a judgment result.

[0014] Optionally, the controller further includes: a status generating unit, configured to generate the battery status information according to the judgment result of the control judgment unit.

[0015] Optionally, the battery status information includes: first status information and second status information;

[0016] When the judgment result is that the power parameter of the battery is lower than the power threshold, and the temperature detected by the sensor is lower than the temperature threshold, the state generating unit generates the first state information;

[0017] When the determination result is that the power parameter of the battery is lower than the power threshold and the temperature detected by the sensor is higher than the temperature threshold, the state generating unit generates the second state information.

[0018] Optionally, the controller further includes: a data output unit, configured to send the battery status information via the transceiver.

[0019] Optionally, the transceiver includes: an antenna for generating an electromagnetic signal; when the antenna transmits a signal, the transceiver is in a working state.

[0020] Optionally, the sensor includes: a temperature-sensitive semiconductor, used to obtain the temperature detected by the sensor according to the temperature-sensitive semiconductor voltage.

[0021] Optionally, the controller is electrically connected to the sensor so that the controller supplies power to the sensor.

[0022] According to a second aspect of the present application, a circuit is also provided, comprising: a sensing circuit including a temperature-sensitive semiconductor; a transceiver circuit including an antenna; a control circuit including a control chip; a power supply circuit including a battery;

[0023] Wherein, the control chip is configured to control the transceiver circuit to send a battery status signal corresponding to the battery status information according to the temperature-sensitive semiconductor voltage and the dynamic voltage of the battery when the antenna is working.

[0024] Optionally, an IO pin of the control chip is electrically connected to the first end of the temperature-sensitive semiconductor, so that the control chip supplies power to the temperature-sensitive semiconductor when the antenna is working;

[0025] The ADC pin of the control chip is electrically connected to the second end of the temperature-sensitive semiconductor, so that the control chip detects the voltage of the temperature-sensitive semiconductor when the antenna is working to obtain the temperature of the car key.

[0026] Optionally, the battery is electrically connected to a VBAT pin of the control chip, so that the control chip obtains the dynamic voltage of the battery when the antenna is working, so as to obtain the power parameter of the battery.

[0027] Optionally, the control chip determines the state of the battery when the antenna is working.

[0028] Optionally, the control chip generates the battery status signal according to the temperature of the car key and the power parameter of the battery when the antenna is working.

[0029] Optionally, the antenna is electrically connected to a PA pin of the control chip to implement a communication function of the control chip.

[0030] Optionally, when the antenna transmits a signal, the antenna is in a working state.

[0031] Optionally, the temperature-sensitive semiconductor includes: an NTC resistor.

[0032] According to a third aspect of the present application, a battery power control method is also provided, which is applied to a car key. When the car key is working, based on the temperature of the car key and the dynamic voltage of the battery, the car key sends status information about the battery to the vehicle.

[0033] Optionally, when the car key is working, based on the temperature of the car key and the dynamic voltage of the battery, the car key sends the battery status information of the battery, including:

[0034] When the car key is working, the power parameter of the battery is calculated based on the temperature of the car key and the dynamic voltage of the battery.

[0035] Optionally, when the car key is working, calculating the power parameter of the battery based on the temperature of the car key and the dynamic voltage of the battery includes:

[0036] According to the temperature of the car key and the dynamic voltage of the battery, the discharge depth curve of the battery is queried to obtain the power parameters of the battery.

[0037] Optionally, when the car key is working, based on the temperature of the car key and the dynamic voltage of the battery, the car key sends the battery status information of the battery, including:

[0038] When the car key is working, based on the temperature of the car key and the dynamic voltage of the battery, the relationship between the temperature of the car key and the temperature threshold, and the relationship between the power parameter of the battery and the power threshold are judged, and the judgment result is output.

[0039] Optionally, when the car key is working, based on the temperature of the car key and the dynamic voltage of the battery, the car key sends the battery status information of the battery, including:

[0040] When the vehicle key is working, generating the battery status information based on the judgment result;

[0041] The battery status information includes: first status information and second status information;

[0042] When the judgment result is that the power parameter of the battery is lower than the power threshold, and the temperature of the vehicle key is lower than the temperature threshold, generating the first state information;

[0043] When the judgment result is that the power parameter of the battery is lower than the power threshold and the temperature of the vehicle key is higher than the temperature threshold, second state information is generated.

[0044] Optionally, the vehicle key includes an antenna for generating an electromagnetic signal;

[0045] Wherein, when the car key is working, based on the temperature of the car key and the dynamic voltage of the battery, the car key sends the battery status information of the battery, including:

[0046] When transmitting a signal at the antenna, the vehicle key sends battery status information of the battery based on the temperature of the vehicle key and the dynamic voltage of the battery.

[0047] According to a fourth aspect of the present application, a non-temporary computer-readable storage medium is also provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned battery power control method are implemented.

[0048] According to a fifth aspect of the present application, a computer program product is also provided, comprising a computer program, wherein when the computer program is executed by a processor, the steps of the above-mentioned battery power control method are implemented.

[0049] According to a sixth aspect of the present application, an electronic device is provided, comprising: a memory storing a computer program; and a processor for executing the computer program in the memory to implement the steps of the above-mentioned battery power control method.

[0050] According to a seventh aspect of the present application, a vehicle is also provided for implementing the steps of the above-mentioned battery power control method.

[0051] The benefit of the present application lies in that by detecting the dynamic voltage of the battery under load when the car key is working, the dynamic power of the battery is fed back based on the actual situation when the car key is working, and timely warning is given to the user based on the dynamic power.

[0052] More specifically, some embodiments of the present application may produce the following specific beneficial effects:

[0053] The temperature of the car key is read through the temperature detection circuit, that is, the temperature sensor. Since the temperature detection module is not directly powered by the battery, but is powered by the controller, and the IO port that the sensor uses to power the controller is only turned on when the temperature is detected, the problem of continuous power consumption when the car key is in standby mode can be solved to increase the battery life.

[0054] When the car key is working, the no-load voltage of the car key is read to obtain the temperature of the car key, and the load voltage of the car key is read to query the corresponding DOD curve to obtain the battery power parameters. The power status of the car key can be dynamically obtained instead of obtaining the battery power based on the static discharge curve. Using the battery's DOD curve, the problem of dynamic discharge can be better solved, and the energy consumption of the battery can be mastered. There is no need to record the battery power, but the DOD curve can be queried at any time to detect the battery power range.

[0055] When the car key sends the battery status information, it considers both the car key temperature and the battery power, and distinguishes between low temperature and normal temperature, so it can more reasonably give the information that the car key cannot be used due to low battery or low temperature. In this way, when the car key is at a low temperature, the alarm will only be issued when the battery of the car key is also low, avoiding false alarms when the battery of the car key is normal due to low temperature, or failure to issue an alarm when the battery of the car key is low due to low temperature, thereby avoiding troubles for users.

[0056] The car key sends the battery status information to the left domain through a message, and displays relevant warning information on the dashboard or central control. Users can take corresponding measures in time according to the warning information, such as replacing the battery, to ensure the normal use of the car key.

[0057] Other features and advantages of the present application will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings without creative work.

[0059] In order to more completely understand the present application and its beneficial effects, the following description will be given in conjunction with the accompanying drawings, wherein the same figure numbers represent the same parts in the following description.

[0060] Figure 1 It is a schematic diagram of the overall structure of a car key provided by an embodiment of the present application;

[0061] Figure 2a is a schematic diagram of a DOD curve provided by an embodiment of the present application;

[0062] Figure 2b is a schematic diagram of a DOD curve provided by an embodiment of the present application;

[0063] Figure 2c is a schematic diagram of a DOD curve provided by an embodiment of the present application;

[0064] Figure 2d is a schematic diagram of a DOD curve provided by an embodiment of the present application;

[0065] Figure 2e is a schematic diagram of a DOD curve provided by an embodiment of the present application;

[0066] Figure 3 It is a schematic diagram of the controller structure provided by an embodiment of the present application;

[0067] Figure 4 It is a schematic diagram of a circuit structure provided by an embodiment of the present application;

[0068] Figure 5 This is a schematic diagram of the main steps of a method for controlling battery power provided by an embodiment of the present application;

[0069] Figure 6 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application.

[0070] Description of reference numerals:

[0071] 101. sensor; 102. transceiver; 103. controller; 1031. power calculation unit; 1032. control judgment unit; 1033. state generation unit; 1034. data output unit; 104. battery; 201. sensor circuit; 2011. temperature-sensitive semiconductor; 202. transceiver circuit; 2021. antenna; 203. control circuit; 2031. control chip; 204. power supply circuit; 600. electronic device; 601. processing device; 602. ROM; 603. RAM; 604. bus; 605. I / O interface; 606. input device; 607. output device; 608. storage device; 609. communication device. DETAILED DESCRIPTION

[0072] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0073] According to the first aspect of the present application, referring to Figure 1 The present application provides a car key, including a sensor 101 for detecting temperature; a transceiver 102 for sending and receiving signals; a controller 103 for controlling the transceiver 102; and a battery 104 for powering the controller 103; wherein the controller 103 is configured to control the transceiver 102 to send battery status information according to the temperature detected by the sensor 101 and the dynamic voltage of the battery 104 when the transceiver 102 is working.

[0074] In some embodiments, the transceiver 102 includes an antenna 2021, and the antenna 2021 is used to generate an electromagnetic signal. When the antenna 2021 transmits a signal, it indicates that the transceiver 102 is in working state. The controller 103 is electrically connected with the sensor 101 and the battery 104. When the transceiver 102 is working, the controller 103 supplies power to the sensor 101, reads the no-load voltage and the load voltage of the battery 104 respectively, and obtains the current temperature of the car key through the read no-load voltage. Through the temperature of the car key and the read load voltage, the discharge depth curve of the battery 104 is queried, and the power range of the battery 104 is obtained, that is, the power parameters of the battery 104 are obtained. According to the current temperature of the car key and the power parameters of the battery 104 detected by the sensor 101, the corresponding battery status information is generated, thereby controlling the transceiver 102. The transmitter 102 sends the battery status information, thereby being able to feed back the dynamic power of the battery based on the actual situation when the car key is working, and timely warn the user based on the dynamic power, that is, it can more accurately judge whether the power of the battery 104 is low, and whether the battery 104 is currently in a low temperature state, so that the controller 103 can send accurate battery status information to the left domain, and finally display it on the instrument panel or central control to remind the user of the current status of the battery 104 of the car key. The user can judge whether the battery 104 needs to be replaced according to the battery status information to ensure the normal use of the car key.

[0075] It is understood that the sensor 101 may include a temperature-sensitive semiconductor for obtaining the temperature detected by the sensor 101, i.e., the temperature of the car key, according to the temperature-sensitive semiconductor voltage. It is understood that the no-load voltage of the battery 104 refers to the voltage of the battery 104 measured without a load, i.e., the voltage of the battery 104 measured before the antenna 2021 transmits a high-frequency signal. Correspondingly, the load voltage of the battery 104 is the lowest voltage of the battery 104 measured when the antenna 2021 transmits a high-frequency signal.

[0076] The depth of discharge curve is the DOD curve. DOD (Depth of Discharge) refers to the percentage of the battery discharge amount to the rated capacity of the battery. It indicates the proportion of the amount of electricity released by the battery 104 during the discharge process to its rated capacity. Specifically, DOD is the lowest voltage of the battery 104 with different temperatures and different amounts of electricity under different discharge conditions, which can be used to infer the amount of electricity in the battery 104. For example, if the rated capacity of a battery 104 is 100Ah, if it releases 80Ah of electricity, then its DOD is 80%. DOD can also be expressed in percentage form. For example, a battery 104 with a DOD of 80% means that it has released 80% of its electricity.

[0077] Reference Figure 2a-2eAs shown in the figure, the DOD curve of the battery 104 is shown, wherein the horizontal axis represents the percentage of the power used by the battery 104, in %, and the vertical axis represents the battery voltage of the battery 104 when it is discharged, in V. The four curves shown in the figure represent the DOD curves corresponding to the temperatures of -20°C, -10°C, 0°C and 20°C, respectively. Figure 2a It shows the DOD curves at four different temperatures when the discharge current is 2mA and the discharge time is 50ms. Figure 2b It shows the DOD curves at four different temperatures when the discharge current is 5mA and the discharge time is 50ms. Figure 2c It shows the DOD curves at four different temperatures when the discharge current is 10mA and the discharge time is 50ms. Figure 2d It shows the DOD curves at four different temperatures when the discharge current is 15mA and the discharge time is 50ms. Figure 2e It shows the DOD curves at four different temperatures when the discharge current is 20mA and the discharge time is 50ms. It should be noted that the above curves are obtained by testing a specific model of battery 104. The DOD curves corresponding to different models of batteries 104 will be different. The actual measurement of the specific battery 104 shall prevail, and this application does not limit this.

[0078] Specifically, refer to Figure 3, the controller 103 may include a power calculation unit 1031, a control judgment unit 1032, a state generation unit 1033 and a data output unit 1034. The power calculation unit 1031 is used to calculate the power parameter of the battery 104 according to the temperature detected by the sensor 101 and the obtained dynamic voltage of the battery 104. Specifically, according to the temperature detected by the sensor 101 and the obtained dynamic voltage of the battery 104, the DOD curve of the battery 104 is queried to obtain the power parameter of the battery 104. It can be understood that the power parameter of the battery 104 can be specifically the power range of the battery 104. The control judgment unit 1032 is used to judge the relationship between the temperature detected by the sensor 101 and the temperature threshold, and the relationship between the power parameter of the battery 104 and the power threshold, and output the judgment result. It can be understood that the relationship between the temperature detected by the sensor 101 and the temperature threshold may include that the temperature detected by the sensor 101 is higher than the temperature threshold and that the temperature detected by the sensor 101 is lower than the temperature threshold; the relationship between the power parameter of the battery 104 and the power threshold may include that the power parameter of the battery 104 is higher than the power threshold and that the power parameter of the battery 104 is lower than the power threshold. When the temperature detected by the sensor 101 is lower than the temperature threshold, it can be considered that the battery 104 is currently in a low temperature state, which may affect the use of the battery 104. When the power parameter of the battery 104 is lower than the power threshold, it can be considered that the battery 104 is currently in a low power state, and the battery 104 may need to be replaced to avoid affecting the use.

[0079] The state generating unit 1033 is used to generate the battery state information according to the judgment result of the control judging unit 1032. It is understandable that the battery state information includes the first state information and the second state information, which is used to enable the user to accurately obtain the state of the car key, specifically, whether the car key is currently only in a state of low battery power, or low battery power and low temperature may cause the battery 104 to be unable to be used normally. It is understandable that when the power parameter of the battery 104 is lower than the power threshold, and the temperature of the car key is also lower than the temperature threshold, the state generating unit 1033 generates the first state information to remind the user that the temperature of the current car key is low, and the battery 104 may not be able to be used normally. The user needs to heat the car key or replace the battery 104 in time according to the prompt information to ensure that the car key can be used normally. When the power parameter of the battery 104 is lower than the power threshold, and the temperature of the car key is higher than the temperature threshold, the state generating unit 1033 generates the second state information to remind the user that the battery 104 needs to be replaced in time to ensure the normal use of the car key.

[0080] The data output unit 1034 sends the battery status information generated by the above-mentioned status generation unit 1033 to the left domain through the transceiver 102, and finally displays it on the instrument panel or the central control, so that the user can timely and accurately obtain the status of the battery 104 of the car key and take corresponding measures in time to ensure the normal use of the car key.

[0081] According to the second aspect of the present application, referring to Figure 4 , a circuit is provided, the circuit includes a sensing circuit 201, including a temperature-sensitive semiconductor 2011; a transceiver circuit 202, including an antenna 2021; a control circuit 203, including a control chip 2031; a power circuit 204, including a battery 104; wherein the control chip 2031 is configured to control the transceiver circuit 202 to send a battery status signal corresponding to the battery status information according to the temperature-sensitive semiconductor voltage and the dynamic voltage of the battery 104 when the antenna 221 is working. The circuit is applied to the above-mentioned car key and has all the beneficial effects of the above-mentioned car key, which will not be repeated in this application.

[0082] In some embodiments, the temperature-sensing semiconductor 2011 is a semiconductor device for measuring temperature, and the temperature of the environment is tested by measuring the change of its resistance or voltage. Generally, the temperature-sensing semiconductor 2011 can be specifically a thermistor, a silicon temperature sensor, an infrared temperature sensor, a thermocouple, etc. Of course, the present application can also use other types of temperature-sensing semiconductors 2011, as long as it can measure the temperature of the environment by measuring the change of voltage or resistance, and the present application does not limit this. Preferably, the temperature-sensing semiconductor 2011 of the present application can select an NTC resistor, and by measuring the voltage of the NTC resistor, the resistance value of the NTC resistor can be calculated, and by further querying the temperature change table of the NTC resistor, the current temperature of the car key can be obtained. It can be understood that the present application uses an NTC resistor as a temperature-sensing semiconductor 2011, which has high sensitivity, fast response speed, and a wide temperature range to choose from. By measuring the resistance value of the NTC electronics, the temperature information of the car key can be accurately obtained, thereby realizing accurate monitoring and management of the power control of the battery 104.

[0083] In some embodiments, the control chip 2031 may use a microcontroller unit (MCU). The battery 104 may be electrically connected to the control chip 2031 via the VBAT power supply pin of the control chip 2031 to provide power to the control chip 2031. Specifically, the type of the battery 104 may be a button battery, a rechargeable battery, or other types of batteries, as long as the battery 104 can provide the required power for the control chip 2031. The present application does not specifically limit the specific type of the battery 104. It is understandable that the dynamic voltage of the battery 104 can be detected through the VBAT power supply pin of the control chip 2031, thereby obtaining the power parameters of the battery 104.

[0084] The antenna 2021 is electrically connected to the PA pin of the control chip 2031 to realize the communication function of the control chip 2031. The IO pin of the control chip 2031 is electrically connected to the first end of the temperature-sensing semiconductor 2011 for providing power to the temperature-sensing semiconductor 2011, and the ADC pin of the control chip 2031 is electrically connected to the second end of the temperature-sensing semiconductor 2011. Exemplarily, the temperature-sensing semiconductor 2011 can be an NTC resistor. It can be understood that the present application preferably does not directly use the battery 104 for constant power supply, which can avoid the increase of the standby power consumption of the car key. Specifically, although the standby power consumption of the car key is only 7μA or even lower, if the battery 104 is directly used to provide power to the NTC resistor, even if a 100K NTC resistor is selected, the battery voltage is calculated according to 3V, and a current of 30μA needs to be increased, which will seriously reduce the service life of the battery 104 of the car key.

[0085] Exemplarily, when the car key is working, the car key is ready to send a message. It is understandable that the car key sends a CAN message. At this time, the IO pin of the control chip 2031 outputs a high level to provide power to the NTC resistor. The high level is fed back to the ADC pin of the control chip 2031 after the voltage is divided by the NTC resistor. The resistance value of the NTC resistor can be calculated by the voltage detected by the ADC pin, and the current temperature of the car key can be obtained through the temperature change table of the NTC resistor. It is understandable that since the car key generates little heat, it can be considered that the temperature of the car key detected by the NTC resistor is consistent with the temperature of the battery 104.

[0086] The car key sends a message, that is, the control chip 2031 sends a high-frequency signal through the antenna 2021, which will generate a large pulse current. At this time, the control chip 2031 can detect the load voltage of the battery 104 during the period when the car key sends the message. By combining the temperature of the car key detected by the sensor circuit 201 and the load voltage of the battery 104 during the period when the car key sends the message detected by the control chip 2031, the DOD parameter curve of the battery 104 can be queried to obtain the power range of the battery 104 at this time.

[0087] According to the third aspect of the present application, the embodiment of the present application further provides a battery power control method, which is applied to a car key. When the car key is working, based on the temperature of the car key and the dynamic voltage of the battery 104, the car key sends status information about the battery 104 to the vehicle. The battery power control method has all the beneficial effects of the above-mentioned car key, and the present application will not repeat them here.

[0088] It is understandable that the car key includes an antenna 2021 for generating an electromagnetic signal. When the antenna 2021 transmits a signal, the car key is in a working state.

[0089] When the car key is working, based on the temperature of the car key and the dynamic voltage of the battery 104, the power parameter of the battery 104 is calculated, the relationship between the temperature of the car key and the temperature threshold, and the relationship between the power parameter of the battery 104 and the power threshold are determined, and the judgment result is output. Then, based on the above judgment result, the battery status information is generated. It can be understood that the above battery status information includes the first status information and the second status information, which is used to enable the user to accurately obtain the status of the car key. Specifically, whether the car key is currently only in a low battery state, or the low battery state and low temperature may cause the battery to be unable to be used normally. It can be understood that when the power parameter of the battery 104 is lower than the power threshold, and the temperature of the car key is also lower than the temperature threshold, the state generation unit 1033 generates the first status information to remind the user that the current temperature of the car key is low, and the battery 104 may not be able to be used normally. The user needs to heat the car key according to the prompt information or replace the battery 104 in time to ensure that the car key can be used normally. When the power parameter of the battery 104 is lower than the power threshold and the temperature of the car key is higher than the temperature threshold, the state generating unit 1033 generates second state information to remind the user to replace the battery 104 in time to ensure the normal use of the car key.

[0090] Specifically, refer to Figure 5 The battery power control method of the present application specifically includes the following steps:

[0091] S300: the car key is ready to send a message;

[0092] S310: Read the no-load voltage of the battery 104, and open the IO pin of the control chip 2031 to provide power to the NTC resistor;

[0093] S320: Collect the divided voltage of the ADC pin of the control chip 2031, calculate the resistance value of the NTC resistor, and query the NTC resistor temperature change table to obtain the current temperature of the car key.

[0094] S330: The car key sends a message, reads the load voltage of the battery 104, queries the DOD parameter curve of the battery 104, and obtains the power range of the battery 104;

[0095] S340: Based on the power range of the battery 104 and the temperature of the car key, determine whether an alarm is needed and the alarm information.

[0096] In step S300, the car key is ready to send a message. Specifically, the user can trigger the car key to send a message by pressing a button or searching for a card to achieve communication and interaction with the vehicle or other devices. This triggering method allows the user to actively communicate with the vehicle or other devices and perform corresponding interactive operations.

[0097] In step S310, the no-load voltage of the battery 104 is read, and the IO pin of the control chip 2031 is turned on to provide power to the NTC resistor. Specifically, the no-load voltage of the battery 104 can be instantaneously collected using software, and the opening of the IO pin of the control chip 2031 can be reasonably controlled to provide power to the NTC resistor, that is, the software controls the IO pin to be set to a high level or a low level in a timely manner to provide appropriate power to the NTC resistor. It can be understood that the no-load voltage refers to the voltage of the battery 104 measured without a load.

[0098] In step S320, the divided voltage of the ADC pin of the control chip 2031 is collected, the resistance value of the NTC resistor is calculated, and the temperature of the current car key is obtained by querying the NTC resistor temperature change table. Specifically, after the IO pin of the control chip 2031 is turned on by software control, the divided voltage fed back by the ADC pin of the control chip 2031 is instantaneously collected to calculate the resistance value of the NTC resistor, and the temperature of the current car key is obtained by querying the NTC resistor temperature change table. It can be understood that the divided voltage fed back by the ADC pin of the control chip 2031 is a divided voltage formed by the NTC resistor and other circuit elements. It can be understood that the NTC resistor temperature change table can be pre-established and stored in the control chip 2031, and the temperature value of the current car key can be obtained by querying the table. It can be understood that the above-mentioned NTC resistor can also be replaced by a PTC resistor, and the temperature of the current car key is obtained according to the PTC resistor temperature change table, which is not limited here.

[0099] In step S330, the car key sends a message, reads the load voltage of the battery 104, queries the DOD parameter curve of the battery 104, and obtains the power range of the battery 104. It is equivalent to querying the DOD parameter curve of the battery 104 based on the temperature of the car key and the dynamic voltage of the battery 104 when the car key is working, and calculating the power parameters of the battery 104. It can be understood that the load voltage refers to the voltage measured when there is a load on the battery 104. Specifically, the DOD parameter curve of the battery 104 can be obtained by pre-testing and stored in the control chip 2031 for table lookup. It can be understood that in actual use, several temperatures that need to be controlled can be selected for testing according to actual conditions, and the DOD parameter curve of the battery 104 can be obtained by combining the discharge current and discharge time of the tested battery 104. It can be understood that the DOD parameter curve is a curve that describes the relationship between the power and voltage during the discharge process of the battery. By querying the curve, the power range of the battery 104 can be determined according to the read load voltage value. This curve can be obtained through laboratory testing or other reliable methods, and stored in the control chip 2031 for query.

[0100] In step S340, based on the power range of the battery 104 and the temperature of the car key, it is determined whether an alarm and alarm information are required. This is equivalent to the car key sending the battery status information of the battery 104 based on the temperature of the car key and the dynamic voltage of the battery 104 when the car key is working. Further, the relationship between the temperature of the car key and the temperature threshold, and the relationship between the power parameter of the battery 104 and the power threshold are determined, the judgment result is output, and the battery status information is generated based on the judgment result. Specifically, when the power parameter of the battery 104 is higher than the power threshold, it is not necessary to send an alarm message, and the process ends. When the power parameter of the battery 104 is lower than the power threshold, it is necessary to determine whether the temperature of the current car key is lower than the temperature threshold. If the temperature of the car key is lower than the temperature threshold at this time, a first alarm message, i.e., a first status message, is sent to prompt that the battery of the car key is low and the temperature is low, and to remind the user that the car key may not be used, and the car key needs to be heated or the battery 104 needs to be replaced in time. If the temperature of the car key is higher than the temperature threshold at this time, a second alarm message, i.e., a second status message, is sent to prompt that the battery of the car key is low, and to remind the user that the car key may not be used, and the battery needs to be replaced.

[0101] According to the fourth aspect of the present application, the embodiment of the present application further provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the above-mentioned battery power control method are implemented. The non-transitory computer-readable storage medium has all the beneficial effects of the above-mentioned battery power control method, and the present application will not repeat them here.

[0102] According to the fifth aspect of the present application, an embodiment of the present application also provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the above-mentioned battery power control method and has all the beneficial effects of the above-mentioned battery power control method. This application will not go into details here.

[0103] According to the sixth aspect of the present application, an embodiment of the present application further provides an electronic device, comprising: a memory and a processor, wherein a computer program is stored in the memory; and the processor is used to execute the computer program in the memory to implement the steps of the above-mentioned battery power control method. The electronic device has all the beneficial effects of the above-mentioned battery power control method, and the present application will not repeat them here.

[0104] Please refer to Figure 6 , the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0105] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 6 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0106] In particular, according to some embodiments of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of some embodiments of the present application are executed.

[0107] It should be noted that the computer-readable medium in some embodiments of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above, which is not specifically limited in the present application. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0108] In some embodiments of the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device, or device. In some embodiments of the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, device, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0109] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an adhoc peer-to-peer network), as well as any currently known or future developed network.

[0110] The computer readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device. The computer readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device outputs a torque instruction for controlling the wheels of the first carriage and / or the wheels of the second carriage of the vehicle according to vehicle state data at least related to the relative rotation of the first carriage and the second carriage of the vehicle.

[0111] Computer program code for performing the operations of some embodiments of the present application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network (including a local area network (LAN) or a wide area network (WAN)), or it can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0112] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a portion of a code, which contains one or more executable instructions for implementing a specified logical function.

[0113] It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures.

[0114] For example, two boxes shown in succession may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of boxes in the block diagram and / or flow chart, can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.

[0115] The units described in some embodiments of the present application may be implemented by software or by hardware.

[0116] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0117] According to the seventh aspect of the present application, an embodiment of the present application further provides a vehicle, comprising the above electronic device, which can be used to execute the above battery power control method. The vehicle has all the beneficial effects of the above electronic device, which will not be described in detail in the present application.

[0118] The vehicle may be a plug-in hybrid vehicle or a new energy vehicle, etc., and this application does not make any specific limitation on this.

[0119] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0120] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0121] The embodiments, implementation methods and related technical features of the present application can be combined and replaced with each other without conflict.

[0122] The above are only preferred embodiments of the present application and do not constitute any form of limitation to the present application. However, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application are still within the scope of the technical solution of the present application.

Claims

1. A car key, characterized in that: The vehicle key comprises: Sensor for detecting temperature; transceiver, used to send and receive signals; A controller, used for controlling the transceiver; A battery, used to power the controller; The controller is configured to control the transceiver to send battery status information according to the temperature detected by the sensor and the dynamic voltage of the battery when the transceiver is working.

2. The vehicle key according to claim 1, characterized in that: The controller is electrically connected to the sensor so that the controller can obtain the temperature detected by the sensor when the transceiver is working.

3. The vehicle key according to claim 1, characterized in that: The controller is electrically connected to the sensor and the battery, so that the controller can obtain the power parameters of the battery when the transceiver is working.

4. The vehicle key according to claim 1, characterized in that: The controller is electrically connected to the sensor and the battery, so that the controller obtains the no-load voltage and the load voltage of the battery when the transceiver is working.

5. The vehicle key according to claim 1, characterized in that: The controller is electrically connected to the sensor and the battery, so that the controller generates the battery status information according to the temperature detected by the sensor and the power parameter of the battery when the transceiver is working.

6. The vehicle key according to any one of claims 1 to 5, characterized in that: The controller comprises: The power calculation unit is used to calculate the power parameter of the battery according to the temperature detected by the sensor and the dynamic voltage of the battery.

7. The vehicle key according to claim 6, characterized in that: The calculating the power parameter of the battery according to the temperature detected by the sensor and the dynamic voltage of the battery includes: According to the temperature detected by the sensor and the dynamic voltage of the battery, the discharge depth curve of the battery is queried to obtain the power parameters of the battery.

8. The vehicle key according to claim 6, characterized in that: The controller further comprises: The control judgment unit is used to judge the relationship between the temperature detected by the sensor and the temperature threshold, and the relationship between the power parameter of the battery and the power threshold, and output the judgment result.

9. The vehicle key according to claim 8, characterized in that: The controller further comprises: A status generating unit is used to generate the battery status information according to the judgment result of the control judging unit.

10. The vehicle key according to claim 9, characterized in that: The battery status information includes: first status information and second status information; When the judgment result is that the power parameter of the battery is lower than the power threshold, and the temperature detected by the sensor is lower than the temperature threshold, the state generating unit generates the first state information; When the determination result is that the power level of the battery is lower than the power level threshold, and the temperature detected by the sensor is higher than the temperature threshold, the state generating unit generates the second state information.

11. The vehicle key according to claim 9, characterized in that: The controller further comprises: A data output unit is used to send the battery status information through the transceiver.

12. The vehicle key according to any one of claims 1 to 5, characterized in that: The transceiver comprises: The antenna is used to generate an electromagnetic signal; when the antenna transmits a signal, the transceiver is in a working state.

13. The vehicle key according to any one of claims 1 to 5, characterized in that: The sensor comprises: A temperature-sensitive semiconductor is used to obtain the temperature detected by the sensor according to the temperature-sensitive semiconductor voltage.

14. The vehicle key according to any one of claims 1 to 5, characterized in that: The controller is electrically connected to the sensor so that the controller supplies power to the sensor.

15. A circuit, suitable for a car key; characterized in that: The circuit comprises: A sensing circuit including a temperature sensing semiconductor; transceiver circuitry, including an antenna; A control circuit, including a control chip; a power supply circuit including a battery; Wherein, the control chip is configured to control the transceiver circuit to send a battery status signal corresponding to the battery status information according to the temperature-sensitive semiconductor voltage and the dynamic voltage of the battery when the antenna is working.

16. The circuit according to claim 15, characterized in that: The IO pin of the control chip is electrically connected to the first end of the temperature-sensitive semiconductor, so that the control chip supplies power to the temperature-sensitive semiconductor when the antenna is working; The ADC pin of the control chip is electrically connected to the second end of the temperature-sensitive semiconductor, so that the control chip detects the voltage of the temperature-sensitive semiconductor when the antenna is working to obtain the temperature of the car key.

17. The circuit according to claim 16, characterized in that: The battery is electrically connected to the VBAT pin of the control chip, so that the control chip obtains the dynamic voltage of the battery when the antenna is working, so as to obtain the power parameter of the battery.

18. The circuit according to claim 17, characterized in that: The control chip determines the state of the battery when the antenna is working.

19. The circuit according to claim 17, characterized in that: The control chip generates the battery status signal according to the temperature of the car key and the power parameter of the battery when the antenna is working.

20. The circuit according to claim 15, characterized in that: The antenna is electrically connected to the PA pin of the control chip to realize the communication function of the control chip.

21. The circuit according to any one of claims 15 to 20, characterized in that: When the antenna transmits a signal, the antenna is in an operating state.

22. The circuit according to any one of claims 15 to 20, characterized in that: The temperature-sensitive semiconductor includes an NTC resistor.

23. A method for controlling battery power, applied to a car key, characterized in that: When the car key is working, the car key sends battery status information of the battery based on the temperature of the car key and the dynamic voltage of the battery.

24. The method for controlling battery power according to claim 23, characterized in that: in, When the car key is working, based on the temperature of the car key and the dynamic voltage of the battery, the car key sends the battery status information of the battery, including: When the car key is working, the power parameter of the battery is calculated based on the temperature of the car key and the dynamic voltage of the battery.

25. The method for controlling battery power according to claim 24, characterized in that: When the car key is working, the power parameter of the battery is calculated based on the temperature of the car key and the dynamic voltage of the battery, including: According to the temperature of the car key and the dynamic voltage of the battery, the discharge depth curve of the battery is queried to obtain the power parameters of the battery.

26. The method for controlling battery power according to claim 24, characterized in that: in, When the car key is working, based on the temperature of the car key and the dynamic voltage of the battery, the car key sends the battery status information of the battery, and further includes: When the car key is working, based on the temperature of the car key and the dynamic voltage of the battery, the relationship between the temperature of the car key and the temperature threshold, and the relationship between the power parameter of the battery and the power threshold are judged, and the judgment result is output.

27. The method for controlling battery power according to claim 26, Features: in, When the car key is working, based on the temperature of the car key and the dynamic voltage of the battery, the car key sends the battery status information of the battery, and further includes: When the vehicle key is working, generating the battery status information based on the judgment result; The battery status information includes: first status information and second status information; When the judgment result is that the power parameter of the battery is lower than the power threshold, and the temperature of the vehicle key is lower than the temperature threshold, generating the first state information; When the judgment result is that the power parameter of the battery is lower than the power threshold and the temperature of the vehicle key is higher than the temperature threshold, second state information is generated.

28. The method for controlling battery power according to any one of claims 23 to 27, characterized in that: The vehicle key includes an antenna for generating an electromagnetic signal; Wherein, when the car key is working, based on the temperature of the car key and the dynamic voltage of the battery, the car key sends the battery status information of the battery, including: When transmitting a signal at the antenna, the vehicle key sends battery status information of the battery based on the temperature of the vehicle key and the dynamic voltage of the battery.

29. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the battery power control method according to any one of claims 23 to 28 is implemented.

30. A computer program product, comprising a computer program, characterized in that: When the computer program is executed by a processor, the battery power control method according to any one of claims 23 to 28 is implemented.

31. An electronic device, characterized in that: The electronic device comprises: a memory storing a computer program; A processor, configured to execute the computer program in the memory to implement the battery power control method according to any one of claims 23 to 28.

32. A vehicle, characterized in that: The vehicle is used to implement the battery power control method according to any one of claims 23 to 28.