Disclosure of Invention
The invention aims to provide a vehicle-mounted storage battery monitoring method and system, a vehicle and a storage medium, so as to overcome the technical defects of the conventional vehicle-mounted storage battery monitoring mode.
In a first aspect, an embodiment of the present invention provides a vehicle-mounted battery monitoring method, including:
step S1, the sensing unit detects the state information of the storage battery in real time, judges whether the storage battery is abnormal according to the state information, and when the storage battery is judged to be abnormal, the sensing unit generates a wake-up signal and sends the wake-up signal to the main node unit;
and step S2, after receiving the wake-up signal, the main node unit acquires the storage battery abnormity judgment result of the sensing unit and controls the alarm unit to give an alarm according to the storage battery abnormity judgment result.
Preferably, the step S1 specifically includes at least one of the following steps S11, S12, and S13:
step S11, the first battery sensor detects the electric quantity of the storage battery in real time, whether the electric quantity of the storage battery is abnormal is judged according to the comparison result of the electric quantity and the first threshold value, and when the electric quantity of the storage battery is judged to be abnormal, the first battery sensor generates a first awakening signal and sends the first awakening signal to the main node unit;
step S12, the second battery sensor detects the discharge current of the storage battery in real time, judges whether the discharge of the storage battery is abnormal according to the comparison result of the discharge current and a second threshold value, and generates a second wake-up signal and sends the second wake-up signal to the main node unit when the discharge of the storage battery is judged to be abnormal;
and step S13, detecting the charging current of the storage battery in real time by the third battery sensor, judging whether the storage battery is abnormally charged according to the comparison result of the charging current and a third threshold value, and generating a third wake-up signal and sending the first wake-up signal to the main node unit by the third battery sensor when the storage battery is judged to be abnormally charged.
Preferably, the step S2 specifically includes at least one of the following steps S21, S22, and S23:
step S21, after receiving the first wake-up signal, the main node unit obtains the storage battery electric quantity abnormity judgment result of the first battery sensor, and controls an alarm unit to alarm low electric quantity according to the storage battery electric quantity abnormity judgment result;
step S22, after receiving the second wake-up signal, the main node unit obtains a storage battery discharge abnormity judgment result of the second battery sensor, and controls an alarm unit to alarm discharge abnormity according to the storage battery discharge abnormity judgment result;
and step S23, after receiving the third wake-up signal, the master node unit obtains a storage battery charging abnormity judgment result of the third battery sensor, and controls an alarm unit to alarm charging abnormity according to the storage battery charging abnormity judgment result.
Preferably, the master node unit is in communication connection with the first battery sensor, the second battery sensor and the third battery sensor through LIN buses respectively.
In a second aspect, an embodiment of the present invention provides a vehicle-mounted battery monitoring system, including:
the sensing unit is used for detecting the state information of the storage battery in real time, judging whether the storage battery is abnormal or not according to the state information, and when the storage battery is judged to be abnormal, the sensing unit generates a wake-up signal and sends the wake-up signal to the main node unit; and
and the main node unit is used for receiving the awakening signal of the sensing unit, acquiring the storage battery abnormity judgment result of the sensing unit after receiving the awakening signal, and controlling the alarm unit to alarm according to the storage battery abnormity judgment result.
Preferably, the sensing unit specifically includes at least one of a first battery sensor, a second battery sensor, and a third battery sensor;
the first battery sensor is used for detecting the electric quantity of the storage battery in real time, judging whether the electric quantity of the storage battery is abnormal or not according to a comparison result of the electric quantity and a first threshold value, and when the electric quantity of the storage battery is judged to be abnormal, the first battery sensor generates a first awakening signal and sends the first awakening signal to the main node unit;
the second battery sensor is used for detecting the discharge current of the storage battery in real time, judging whether the discharge of the storage battery is abnormal or not according to the comparison result of the discharge current and a second threshold value, and when the discharge of the storage battery is judged to be abnormal, the second battery sensor generates a second wake-up signal and sends the second wake-up signal to the main node unit;
the third battery sensor is used for detecting the charging current of the storage battery in real time, judging whether the storage battery is abnormally charged according to the comparison result of the charging current and a third threshold value, and when the storage battery is judged to be abnormally charged, the third battery sensor generates a third wake-up signal and sends the first wake-up signal to the main node unit.
Preferably, the master node unit is specifically configured to:
after receiving the first wake-up signal, the main node unit acquires a storage battery electric quantity abnormity judgment result of the first battery sensor, and controls an alarm unit to alarm at low electric quantity according to the storage battery electric quantity abnormity judgment result;
after receiving the second wake-up signal, the main node unit acquires a storage battery discharge abnormity judgment result of the second battery sensor, and controls an alarm unit to alarm discharge abnormity according to the storage battery discharge abnormity judgment result;
and after receiving the third wake-up signal, the main node unit acquires a storage battery charging abnormity judgment result of the third battery sensor, and controls an alarm unit to alarm charging abnormity according to the storage battery charging abnormity judgment result.
Preferably, the master node unit is in communication connection with the first battery sensor, the second battery sensor and the third battery sensor through LIN buses respectively.
In a third aspect, an embodiment of the present invention provides a vehicle, including the on-vehicle battery monitoring system described in the embodiment of the second aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the vehicle-mounted storage battery monitoring method according to the embodiment of the first aspect.
The technical scheme at least has the following beneficial effects: the sensing unit detects the storage battery in real time, sends out an awakening signal to awaken the main node unit when the state of the storage battery is abnormal, reads the abnormal judgment result of the sensing unit after the main node unit is awakened, confirms the awakening type, controls the alarm unit to give corresponding alarm, the above wake-up mode can avoid the periodic wake-up of the main node unit, and only wake up the main node unit in abnormal condition, therefore, the power consumption is effectively reduced, the timeliness of reporting abnormal information is guaranteed, and the defects of the existing vehicle-mounted storage battery monitoring mode are overcome (firstly, the storage battery is abnormal, but the detection period is not yet reached, the abnormality can be found only by waiting for the next detection, the real-time performance of a detection mechanism is insufficient, secondly, the system function is not abnormal, the main node unit still needs to periodically wake up the battery sensor to confirm information, and unnecessary power consumption is brought).
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
In addition, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present invention. It will be understood by those skilled in the art that the present invention may be practiced without some of these specific details. In some instances, well known means have not been described in detail so as not to obscure the present invention.
Example one
The embodiment of the invention provides a vehicle-mounted storage battery monitoring method, fig. 1 is a flow chart of the method in the embodiment, and referring to fig. 1, the method in the embodiment comprises the following steps:
step S1, the sensing unit detects the state information of the storage battery in real time, judges whether the storage battery is abnormal according to the state information, and when the storage battery is judged to be abnormal, the sensing unit generates a wake-up signal and sends the wake-up signal to the main node unit;
and step S2, after receiving the wake-up signal, the main node unit acquires the storage battery abnormity judgment result of the sensing unit and controls the alarm unit to give an alarm according to the storage battery abnormity judgment result.
Specifically, the sensing unit may include a plurality of battery sensors, the plurality of battery sensors serve as slave nodes of the network, the master node unit serves as a master node of the network, and the slave nodes are in communication connection with the master node through data lines to transmit corresponding data signals. The battery sensor can detect the current, the voltage and the temperature of the storage battery and calculate the internal resistance, and the state of charge (SOC) of the storage battery can be calculated according to the internal model through the 4 parameter battery sensors, wherein the SOC is also called as the battery residual capacity (SOC). The battery sensors are respectively used for detecting different state information of the storage battery in a low power consumption mode and judging whether the storage battery is abnormal or not according to the different state information, when the storage battery is judged to be abnormal, the battery sensors generate wake-up signals and send the wake-up signals to the main node unit so as to wake up the main node unit, the main node unit is woken up after receiving the wake-up signals, whether the wake-up signals are the wake-up signals sent by the battery sensors is judged, the storage battery abnormal judgment result corresponding to the battery sensors is obtained according to the judgment result, and the alarm unit is controlled to give an alarm according to the storage battery abnormal judgment result.
Illustratively, the master node unit is a vehicle body controller or a gateway.
In this embodiment, the plurality of battery sensors serve as slave nodes of the network, and compared with the conventional network sleep wake-up mode completed by the master node, the slave node wake-up mode of this embodiment can avoid the periodic wake-up of the master node unit, and only when there is an abnormal condition, the master node unit is waken up, so that the power consumption is effectively reduced, the timeliness of reporting abnormal information is ensured, and the function realization is facilitated while the power consumption is reduced.
In an embodiment, the step S1 specifically includes at least one of the following steps S11, S12, and S13:
step S11, the first battery sensor detects the electric quantity of the storage battery in real time, whether the electric quantity of the storage battery is abnormal is judged according to the comparison result of the electric quantity and the first threshold value, and when the electric quantity of the storage battery is judged to be abnormal, the first battery sensor generates a first awakening signal and sends the first awakening signal to the main node unit;
specifically, in this embodiment, a first threshold is preset, the electric quantity of the storage battery may be represented by a battery remaining electric quantity SOC, and when the electric quantity is smaller than the first threshold, the first battery sensor determines that the electric quantity of the storage battery is abnormal, that is, the storage battery is at a low electric quantity, and then the first battery sensor generates a first wake-up signal and sends the first wake-up signal to the master node unit to wake up the master node unit.
Step S12, the second battery sensor detects the discharge current of the storage battery in real time, judges whether the discharge of the storage battery is abnormal according to the comparison result of the discharge current and a second threshold value, and generates a second wake-up signal and sends the second wake-up signal to the main node unit when the discharge of the storage battery is judged to be abnormal;
specifically, in this embodiment, a second threshold is preset, and when the discharge current is greater than the second threshold, the second battery sensor determines that the discharge of the storage battery is abnormal, and then the second battery sensor generates a second wake-up signal and sends the second wake-up signal to the master node unit to wake up the master node unit.
And step S13, detecting the charging current of the storage battery in real time by the third battery sensor, judging whether the storage battery is abnormally charged according to the comparison result of the charging current and a third threshold value, and generating a third wake-up signal and sending the first wake-up signal to the main node unit by the third battery sensor when the storage battery is judged to be abnormally charged.
Specifically, in this embodiment, a third threshold is preset, and when the charging current is greater than the third threshold, the third battery sensor determines that the charging of the storage battery is abnormal, and then the third battery sensor generates a third wake-up signal and sends the third wake-up signal to the master node unit to wake up the master node unit.
In an embodiment, the step S2 specifically includes at least one of the following steps S21, S22, and S23:
step S21, when the master node unit receives the first wake-up signal and is woken up, acquiring a storage battery electric quantity abnormity judgment result (namely, the electric quantity is smaller than a first threshold value) of the first battery sensor, generating a first alarm signal according to the storage battery electric quantity abnormity judgment result and sending the first alarm signal to an alarm unit, and the alarm unit gives out a low-electric quantity alarm according to the first alarm signal;
step S22, when the master node unit receives the second wake-up signal and is woken up, the master node unit obtains the judgment result of the discharge abnormality of the storage battery of the second battery sensor (namely, the discharge current is larger than a second threshold), generates a second alarm signal according to the judgment result of the discharge abnormality of the storage battery and sends the second alarm signal to the alarm unit, and the alarm unit carries out alarm of the discharge abnormality according to the second alarm signal;
and step S23, the main node unit is awakened after receiving the third awakening signal, then obtains the storage battery charging abnormity judgment result of the third battery sensor (namely, the charging current is larger than a third threshold), generates a third alarm signal according to the storage battery charging abnormity judgment result and sends the third alarm signal to the alarm unit, and the alarm unit controls the alarm unit to alarm the charging abnormity according to the third alarm signal.
Specifically, the low battery alarm, the discharge abnormality alarm, and the charge abnormality alarm may adopt different alarm modes, such as voice broadcast with different contents, flashing of indicator lights with different colors, and the like.
In a specific embodiment, the master node unit, the first battery sensor, the second battery sensor, and the third battery sensor are in communication connection via an LIN bus respectively to form an LIN network, the master node unit is a master node of the LIN network, and the first battery sensor, the second battery sensor, and the third battery sensor are slave nodes of the LIN network.
Through the description of the above embodiments, the vehicle-mounted storage battery monitoring method of the embodiment is applied to the electric energy management of the low-voltage storage battery of the whole vehicle, and can support a low-power alarm function, an abnormal charging alarm function, an abnormal discharging alarm function, and the like. Because the detection mechanism that the battery sensor wakes up the main node is adopted, the main node is prevented from periodically waking up the bus to read the information of the battery sensor, and the power consumption is reduced.
Example two
An embodiment of the present invention provides a vehicle-mounted battery monitoring system, fig. 2 is a schematic frame diagram of the vehicle-mounted battery monitoring system according to this embodiment, and referring to fig. 2, the system according to this embodiment includes:
the sensing unit 1 is used for detecting the state information of the storage battery in real time, judging whether the storage battery is abnormal or not according to the state information, and when the storage battery is judged to be abnormal, the sensing unit 1 generates a wake-up signal and sends the wake-up signal to the main node unit 2; and
and the main node unit 2 is used for receiving the awakening signal of the sensing unit 1, acquiring the storage battery abnormity judgment result of the sensing unit 1 after receiving the awakening signal, and controlling the alarm unit to give an alarm according to the storage battery abnormity judgment result.
In a specific embodiment, the sensing unit 1 specifically includes at least one of a first battery sensor 11, a second battery sensor 12, and a third battery sensor 13;
the first battery sensor 11 is used for detecting the electric quantity of the storage battery in real time, judging whether the electric quantity of the storage battery is abnormal according to a comparison result of the electric quantity and a first threshold value, and when the electric quantity of the storage battery is judged to be abnormal, the first battery sensor 11 generates a first wake-up signal and sends the first wake-up signal to the main node unit 2;
the second battery sensor 12 is configured to detect a discharge current of the storage battery in real time, determine whether the discharge of the storage battery is abnormal according to a comparison result between the discharge current and a second threshold, and when it is determined that the discharge of the storage battery is abnormal, the second battery sensor 12 generates a second wake-up signal and sends the second wake-up signal to the master node unit 2;
the third battery sensor 13 is configured to detect a charging current of the storage battery in real time, determine whether the storage battery is abnormally charged according to a comparison result between the charging current and a third threshold, and when it is determined that the storage battery is abnormally charged, the third battery sensor 13 generates a third wake-up signal and sends the first wake-up signal to the master node unit 2.
In a specific embodiment, the master node unit 2 is specifically configured to:
after receiving the first wake-up signal, the master node unit 2 obtains a storage battery capacity abnormality determination result of the first battery sensor 11, and controls an alarm unit to alarm at a low capacity according to the storage battery capacity abnormality determination result;
after receiving the second wake-up signal, the master node unit 2 obtains a storage battery discharge abnormality determination result of the second battery sensor 12, and controls an alarm unit to alarm discharge abnormality according to the storage battery discharge abnormality determination result;
after receiving the third wake-up signal, the master node unit 2 obtains a determination result of the abnormal charging of the storage battery of the third battery sensor 13, and controls an alarm unit to alarm the abnormal charging according to the determination result of the abnormal charging of the storage battery.
In a specific embodiment, the master node unit 2 is communicatively connected to the first battery sensor 11, and the first battery sensor 11 through LIN buses, respectively.
It should be noted that the system in the second embodiment corresponds to the method in the first embodiment, and therefore, a part of the system in the second embodiment that is not described in detail in the first embodiment can be obtained by referring to the content of the method in the first embodiment, which is not described herein again.
EXAMPLE III
The third embodiment of the invention provides a vehicle which comprises the vehicle-mounted storage battery monitoring system in the second embodiment.
Example four
The fourth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the vehicle-mounted storage battery monitoring method according to the first embodiment of the present invention.
Specifically, the computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
The terms including ordinal numbers such as "first", "second", "third", and the like used in the present specification may be used to describe various components, but the components are not limited by the terms. These terms are used only for the purpose of distinguishing one constituent element from other constituent elements. For example, a first component may be termed a second component, and similarly, a second component may be termed a first component, and so on, without departing from the scope of the present invention.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.