控制方法、蓄电池传感器、机动车及机器可读存储介质
By judging the ratio of average and peak current and the LIN bus status, the sleep and wake-up mode switching of the battery sensor is optimized, which solves the energy consumption problem caused by the periodic operation after the car is locked and achieves energy consumption reduction.
Patent Information
- Application Number
- CN202210679679.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-16
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-06-16
AI Technical Summary
The vehicle system continues to operate periodically even after the vehicle is locked, resulting in the generation of dark current. This prevents the battery sensors from entering sleep mode, causing unnecessary energy consumption.
By judging the real-time current measurement value and the ratio of the average current value to the peak current value, it is determined whether to switch the battery sensor from sleep mode to wake-up mode. Combining the LIN bus status and current measurement value, the switching between sleep and wake-up modes is optimized.
This effectively avoids the battery sensor being unable to enter sleep mode due to periodic current, thus reducing energy consumption.
Smart Images

Figure CN117293416B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of sensors, and in particular to a control method for a battery sensor, a battery sensor, and a motor vehicle and machine-readable storage medium. Background Technology
[0002] Currently, some power supply systems in the vehicle continue to operate periodically after the vehicle is locked. For example, the Passive Keyless Enter (PKE) system periodically (e.g., every hour) actively searches for nearby keys after the vehicle is locked, which causes the generation of dark current in the vehicle. This prevents the battery sensors from entering sleep mode, resulting in unnecessary energy consumption. Summary of the Invention
[0003] In a first aspect, a control method for a battery sensor is provided according to some embodiments of this application, comprising:
[0004] S1. Determine whether the real-time current measurement value is greater than the first preset threshold.
[0005] S2. If the real-time current measurement value is greater than the first preset threshold, calculate the average current value and the peak current value within a preset time.
[0006] S3. Based on the average current and peak current, determine whether to switch the battery sensor from sleep mode to wake-up mode.
[0007] In this application, the method determines whether to switch the battery sensor from sleep mode to wake-up mode based on the average current and the peak current, thereby avoiding the battery sensor being unable to enter sleep mode due to periodic current and thus reducing energy consumption.
[0008] In some possible embodiments, S3, based on the average current and peak current, determines whether to switch the battery sensor from sleep mode to wake-up mode, including:
[0009] S31. Determine whether the ratio of the average current to the peak current is greater than the second preset threshold.
[0010] S32. If it is determined that the ratio of the average current to the peak current is greater than the second preset threshold, the battery sensor is switched from sleep mode to wake-up mode.
[0011] S33. If it is determined that the ratio of the average current to the peak current is not greater than the second preset threshold, execute S1-S3.
[0012] In some possible embodiments, S32, determining to switch the battery sensor from sleep mode to wake-up mode when the ratio of the average current to the peak current is greater than a second preset threshold, further includes:
[0013] S34. Based on the status and real-time current measurement values of the LIN bus, determine whether to switch the battery sensor from wake-up mode to sleep mode.
[0014] In some possible embodiments, S34, based on the LIN bus status and real-time current measurement, determines whether to switch the battery sensor from wake-up mode to sleep mode, including:
[0015] S341. Determine whether the LIN bus is in a non-working state and whether the real-time current measurement value is less than the third preset threshold.
[0016] S342. When it is determined that the LIN bus is in a non-working state and the real-time current measurement value is less than the third preset threshold, the battery sensor switches from wake-up mode to sleep mode.
[0017] S343. If it is determined that the LIN bus is not in a working state and the real-time current measurement value is greater than or equal to the third preset threshold, repeat S341-S343.
[0018] In some possible embodiments, the third preset threshold is 500mA.
[0019] In some possible embodiments, the second preset threshold is 1.
[0020] In some possible embodiments, the battery sensor is an intelligent battery sensor (IBS).
[0021] In a second aspect, a battery sensor according to some embodiments of this application includes: a processor and a storage medium coupled to the processor, the storage medium being used to store program code, wherein when the processor reads the program code from the storage medium, the battery sensor performs the method as described in any of the above embodiments.
[0022] In a third aspect, a motor vehicle provided according to some embodiments of this application includes a battery sensor of any of the above embodiments.
[0023] In a fourth aspect, a machine-readable storage medium storing program code that, when executed on a machine, causes the machine to perform the method as described in any of the above embodiments. Attached Figure Description
[0024] Figure 1A schematic diagram illustrating a battery sensor provided according to some embodiments of this application applied to an automobile;
[0025] Figure 2 This illustration shows a control method for a battery sensor according to some embodiments of the present application. Figure 1 ;
[0026] Figure 3 This illustration shows a control method for a battery sensor according to some embodiments of the present application. Figure 2 . Detailed Implementation
[0027] The following specific embodiments illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. Although the description of the present invention is presented in conjunction with preferred embodiments, this does not mean that the features of the invention are limited to these embodiments. On the contrary, the purpose of describing the invention in conjunction with embodiments is to cover other options or modifications that may be derived based on the claims of the present invention. To provide a deep understanding of the invention, many specific details will be included in the following description. The invention may also be implemented without using these details. Furthermore, to avoid confusion or obscuring the focus of the invention, some specific details will be omitted in the description. It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of the present invention can be combined with each other.
[0028] Furthermore, various operations will be described as multiple discrete operations in a manner most conducive to understanding the illustrative embodiments; however, the order of description should not be construed as implying that these operations must depend on the order. In particular, these operations do not need to be performed in the order presented. It should be noted that in this specification, similar reference numerals and letters denote similar items in the following figures, and therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0029] It should be understood that although the terms "first," "second," etc., may be used herein to describe various features, these features should not be limited by these terms. The use of these terms is merely for distinction and should not be construed as indicating or implying relative importance. For example, without departing from the scope of the exemplary embodiments, a first feature may be referred to as a second feature, and similarly, a second feature may be referred to as a first feature.
[0030] Unless the context otherwise specifies, the terms “comprising,” “having,” and “including” are synonyms. The phrase “A / B” means “A or B.” The phrase “A and / or B” means “(A), (B), or (A and B).”
[0031] As used herein, the terms “module,” “unit,” and “device” may refer to or include, or include, an application-specific integrated circuit (ASIC), electronic circuitry, a processor (shared, dedicated, or grouped) and / or memory (shared, dedicated, or grouped) executing one or more software or firmware programs, combinational logic circuitry, and / or other suitable components that provide the described functionality, or may be part of an application-specific integrated circuit (ASIC), electronic circuitry, a processor (shared, dedicated, or grouped) and / or memory (shared, dedicated, or grouped) executing one or more software or firmware programs, combinational logic circuitry, and / or other suitable components that provide the described functionality.
[0032] To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
[0033] Figure 1 This diagram illustrates a battery sensor provided according to some embodiments of the present application applied to an automobile. For example... Figure 1 As shown, the battery 10 is directly or indirectly connected to the vehicle's starter motor 31, engine 32, alternator 33, electronic control unit 40 (ECU), electric steering 81, electric brake 82, lighting 83, and other on-board functional modules 84. When the vehicle is off, the battery 10 can power the vehicle's electrical equipment (e.g., lights, audio system, and power windows), but more importantly, it can help start the vehicle. When the vehicle is started, the battery 10 supplies power, first driving the starter motor 31 to rotate, and the starter motor 31 then drives the engine 32 to run. When the engine 32 is running normally, it propels the vehicle through the transmission and simultaneously supplies power to the alternator 33. Thus, the alternator 33 can supply power to the vehicle's electrical equipment and charge the battery 10.
[0034] Therefore, when the battery 10 malfunctions, the car may fail to start. To prevent this, a battery sensor 20 is installed in the car. In this embodiment, the battery sensor 20 is an IBS, which can measure not only the parameters of the battery 10, including but not limited to current, voltage, and temperature, but also provide status information based on the measured values, including but not limited to the state of charge (SOC, the ratio of remaining charge to the battery's maximum capacity), the state of health (SOH, the battery's charge degradation due to aging), and the state of function (the ability to provide the voltage necessary to start the engine). Figure 1 As shown, the battery sensor 20 can send the status information (SOC, SOH, and SOF) to the LIN bus 70, which then sends the status information to the start-stop control module 60, which in turn sends it to the electronic control unit 40, thereby enabling the electronic control unit 40 to control the start and stop of the engine 32. At the same time, the LIN bus 70 also sends the status information to the energy management module 50, which adjusts the power output of the generator 33 to prevent overcharging of the battery 10 and thus shortening its lifespan.
[0035] refer to Figure 1 The battery sensor 20 is mounted on the negative terminal of the battery 10's casing. In this embodiment, the sampling resistor 21 is located inside the casing of the battery sensor 20. In other embodiments, the sampling resistor 21 may be located outside the casing of the battery sensor 20; this is not limited here. One end of the sampling resistor 21 is electrically connected to the negative terminal of the battery 10, and the other end of the sampling resistor 21 is electrically connected to the vehicle body 90 (i.e., chassis GND). In addition to the sampling resistor 21, the battery sensor 20's casing also contains a printed circuit board (PCB), which integrates a microprocessor (including a storage module and a computing module), an analog-to-digital converter (A / D converter), a current sampling module, a voltage sampling module, and a temperature sensor, among other components (not shown in the figure).
[0036] The current sampling module is used to acquire the current signal passing through the sampling resistor 21 (e.g., indirectly obtained by measuring the voltage drop across the sampling resistor 21). The voltage sampling module is used to acquire the voltage signal of the battery 10 (e.g., acquired by connecting to the positive terminal of the battery 10 via a wire). The temperature sensor is used to sense the temperature of the negative terminal of the battery 10 and emit a temperature signal. The current sampling module, voltage sampling module, and temperature sensor send the current signal, voltage signal, and temperature signal to the A / D conversion module, respectively. After receiving these analog signals, the A / D conversion module converts them into digital signals and sends them to the microprocessor. After receiving these digital signals, the microprocessor processes the digital signals by establishing a model and calculates the state information of the battery 10 (e.g., SOC, SOH, and SOF).
[0037] It should be noted that although the embodiments provided by the present invention take the application of the battery sensor 20 in automobiles as an example, those skilled in the art will understand that the battery sensor 20 can also be applied to other fields that require battery detection, and is not limited here.
[0038] To reduce the power consumption of the battery sensor 20, the battery sensor 20 is put into sleep mode when it does not need to send signals to the outside (e.g., LIN bus 70); when it needs to send signals to the outside (e.g., LIN bus 70), the battery sensor 20 is switched from sleep mode to wake-up mode. Figure 2 This illustration shows a control method for a battery sensor according to some embodiments of the present application. Figure 1 .
[0039] like Figure 2 As shown, in step S01, the IBS is in wake-up mode. At this time, the IBS needs to send information (such as...) to the outside (LIN bus 70). Figure 1 (SOC, SOH, and SOF are shown).
[0040] Step S02: Determine whether the LIN bus 70 has been inactive for more than 4 seconds, and whether the current measurement value I is less than or equal to 50mA (charging state) and greater than or equal to -500mA (discharging state). If the determination satisfies the condition that the LIN bus 70 has been inactive for more than 4 seconds, and the current measurement value I is less than or equal to 50mA (charging state) and greater than or equal to -500mA, proceed to step S03.
[0041] In step S03, the IBS switches from wake-up mode to sleep mode. At this time, the IBS does not need to send information to external devices (e.g., LIN bus 70), but it still maintains the detection of current, voltage, and temperature.
[0042] If the LIN bus 70 is inactive for more than 4 seconds and the current measurement value I is less than or equal to 50mA (charging state) and greater than or equal to -500mA, then step S01 is executed, i.e., IBS stays awake mode.
[0043] To further prevent the battery sensor 20 from failing to enter sleep mode due to periodic current (e.g., in a keyless entry system, periodically and actively searching for nearby keys), thus avoiding unnecessary energy consumption, the present invention also provides a control method for the battery sensor 20. Figure 3 This illustration shows a control method for a battery sensor according to some embodiments of the present application. Figure 2 .
[0044] like Figure 3 As shown, in step S11, the IBS enters sleep mode. At this time, the IBS does not need to send information to the outside world, but it still maintains the detection of current, voltage, and temperature.
[0045] Step S12: Determine whether the real-time current measurement value I is greater than the first preset threshold Th1.
[0046] If the real-time current measurement value I is determined to be less than or equal to the first preset threshold Th1, step S12 is executed to repeat the above current measurement value determination process.
[0047] If the real-time current measurement value I is determined to be greater than the first preset threshold Th1, step S13 is executed.
[0048] Step S13, calculate the average current I mean and peak current I peak The average current I mean and peak current I peak This refers to the values calculated within a preset time period. For example, the current sampling module samples the current at certain time intervals, taking the time point corresponding to the first current measurement value I1 that is greater than a first preset threshold Th1 as the starting point of the preset time, and the twelfth current measurement value I... 12 The corresponding time point is taken as the end point of the preset time. The current sampling module will continuously collect a series of current measurement values (e.g., I1, I2, I3, ..., I...). 12 The analog signals are sent to the A / D conversion module to convert them into digital signals. The A / D conversion module then sends these digital signals to the storage module in the microprocessor for data storage. Finally, the calculation module in the microprocessor calculates the average current I over the preset time period. mean and peak current I peakIt should be noted that in other embodiments, the current sampling module may also sample the current at other time intervals, and the preset time may also be set to different values according to, for example, different vehicle models, which is not limited here.
[0049] Step S14, determine the average current I mean With peak current I peak The ratio is checked against a second preset threshold Th2. In this embodiment, the theoretical value of the second preset threshold Th2 is 1. However, considering the error in current measurement, the second preset threshold Th2 is set to be close to 1 but not equal to 1. In other words, theoretically, if the average current value is equal to the peak value of the periodic current, then the current value is determined to be a periodic current, and therefore it is not used as a condition for waking up the battery sensor. In other embodiments, the second preset threshold Th2 can also be other values, which are not specifically limited here.
[0050] In determining whether the average current I is not satisfied mean With peak current I peak If the ratio is greater than the second preset threshold Th2, step S12 is executed to determine whether the real-time current measurement value I is greater than the first preset threshold Th1.
[0051] In determining whether the average current I is satisfied mean With peak current I peak If the ratio is greater than the second preset threshold Th2, step S15 is executed.
[0052] In step S15, the battery sensor 20 switches from sleep mode to wake-up mode. At this time, the battery sensor 20 is able to send information (e.g., SOC, SOH, and SOF) externally (e.g., via the LIN bus 70).
[0053] Step S16: Determine whether the LIN bus 70 is in a non-working state (OFF) and whether the real-time measured current value I is less than the third preset threshold Th3. In this embodiment, the third preset threshold Th3 is 500mA.
[0054] If it is determined that the LIN bus 70 is not in a working state (OFF) and the real-time current measurement value I is less than the third preset threshold Th3, step S16 is executed to repeat the above judgment process of LIN bus 70 and real-time current measurement value I.
[0055] If it is determined that the LIN bus 70 is in an inactive state (OFF) and the real-time current measurement value I is less than the third preset threshold Th3, step S11 is executed, and the battery sensor 20 switches from wake-up mode to sleep mode.
[0056] In this invention, the switch from sleep mode to wake-up mode for the battery sensor is determined based on the average current and the peak current, thus avoiding the battery sensor's inability to enter sleep mode due to periodic current, thereby reducing energy consumption.
[0057] The present invention also provides a battery sensor, comprising: a processor and a storage medium, the storage medium being coupled to the processor, the storage medium being used to store program code, and when the processor reads the program code from the storage medium, causing the battery sensor to execute the method of any of the above embodiments.
[0058] The present invention also provides a motor vehicle including the battery sensor of any of the above embodiments.
[0059] The present invention also provides a machine-readable storage medium storing program code, which, when executed on a machine, enables the machine to perform the methods of any of the above embodiments.
[0060] The methods provided in this application can be implemented entirely or partially through software, hardware, firmware, or any combination thereof. When implemented in software, they can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, an electronic device, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., digital video discs (DVDs)), or semiconductor media (e.g., SSDs), etc.
[0061] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0062] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0063] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0064] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0065] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0066] While the present invention has been illustrated and described with reference to certain preferred embodiments, those skilled in the art should understand that the above description is a further detailed explanation of the invention in conjunction with specific embodiments, and should not be construed as limiting the specific implementation of the invention to these descriptions. Various changes in form and detail can be made by those skilled in the art, including several simple deductions or substitutions, without departing from the spirit and scope of the invention.
Claims
1. A control method for a battery sensor, characterized in that, include: S1. Determine whether the real-time current measurement value is greater than the first preset threshold. If the real-time current measurement value is less than or equal to the first preset threshold, step S1 is repeated. S2. If the real-time current measurement value is determined to be greater than the first preset threshold, calculate the average current value and the peak current value within a preset time period. S3. Based on the average current and the peak current, determine whether to switch the battery sensor from sleep mode to wake-up mode; Step S3, based on the average current and the peak current, determines whether to switch the battery sensor from sleep mode to wake-up mode, including: S31. Determine whether the ratio of the average current to the peak current is greater than a second preset threshold. S32. If it is determined that the ratio of the average current to the peak current is greater than the second preset threshold, it is determined to switch the battery sensor from the sleep mode to the wake-up mode. S33. If it is determined that the ratio of the average current to the peak current is not greater than the second preset threshold, execute S1-S3.
2. The control method for a battery sensor as described in claim 1, characterized in that, S32, determining to switch the battery sensor from sleep mode to wake-up mode when the ratio of the average current to the peak current is greater than the second preset threshold, further includes: S34. Based on the status of the LIN bus and the real-time current measurement value, determine whether to switch the battery sensor from the wake-up mode to the sleep mode.
3. The control method for a battery sensor as described in claim 2, characterized in that, The S34 method, based on the LIN bus status and the real-time current measurement value, determines whether to switch the battery sensor from the wake-up mode to the sleep mode, including: S341. Determine whether the LIN bus is in a non-working state and whether the real-time current measurement value is less than a third preset threshold. S342. When it is determined that the LIN bus is in a non-working state and the real-time current measurement value is less than the third preset threshold, the battery sensor switches from the wake-up mode to the sleep mode. S343. If it is determined that the LIN bus is not in a working state and the real-time current measurement value is less than the third preset threshold, S341-S343 are executed repeatedly.
4. The control method for a battery sensor as described in claim 3, characterized in that, The third preset threshold is 500mA.
5. The control method for a battery sensor as described in claim 1, characterized in that, The battery sensor is an intelligent battery sensor.
6. A battery sensor, characterized in that, include: A processor and a storage medium coupled to the processor, the storage medium being used to store program code that, when the processor reads the program code from the storage medium, causes the battery sensor to perform the method as described in any one of claims 1-5.
7. A motor vehicle, characterized in that, Includes the battery sensor as described in claim 6.
8. A machine-readable storage medium, characterized in that, The machine-readable storage medium stores program code that, when executed on a machine, causes the machine to perform the method as described in any one of claims 1-5.
Citation Information
Patent Citations
Battery management method using learning dark current
KR1020110075152A
