Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
A vehicle battery monitoring method and apparatus according to embodiments of the present application will be described in detail with reference to the accompanying drawings.
As mentioned above, in the related art, it is common to automatically detect the voltage and temperature of the battery using the battery charging chip and determine whether the detected voltage and temperature are within a healthy value range.
Fig. 1 is a block diagram of a related art system for vehicle battery health monitoring. As shown in fig. 1, the health monitoring system may include a charging unit, a vehicle battery, and an MCU (Microcontroller Unit, micro-control unit). The vehicle battery may be, for example, a T-BOX battery backup, and a high-reliability wide-temperature nickel-metal hydride battery is generally used. The charging unit may include a charging chip.
The charging unit is connected with the vehicle battery to acquire the real-time voltage and the real-time temperature of the vehicle battery. The real-time voltage can be detected by the battery positive electrode of the battery of the vehicle, and the real-time temperature can be detected by the battery of the vehicle by the charging unit, for example, a temperature sensitive element in the battery of the vehicle.
The charging unit compares the acquired real-time voltage and real-time temperature with a preset healthy voltage range and a preset healthy temperature range to obtain a health state indication of the vehicle battery. The preset healthy voltage range of the charging chip in the related art is typically less than 5.8V (volts), and the preset healthy stable range is typically-10 ℃ to 50 ℃. If the acquired real-time voltage is less than 5.8V and the real-time temperature is greater than-10 ℃ and less than 50 ℃, the charging power supply determines that the health status indication of the vehicle battery is true. On the other hand, if the obtained real-time voltage is greater than or equal to 5.8V, or the real-time temperature is less than or equal to-10 ℃, or the real-time temperature is greater than or equal to 50 ℃, the charging power supply determines that the state of health of the vehicle battery indicates false.
The charging unit may send the health status indication to the MCU. The software processing unit of the MCU processes the health status indication. If the software processing unit receives the health state indication with the true value, no additional operation is performed on the charging unit, so that the charging unit can perform normal charging and discharging operations on the vehicle battery. And if the software processing unit receives the healthy state indication with the false value, sending an enabling signal to the charging unit so as to enable the charging unit to stop performing the charging and discharging operation on the vehicle battery.
When a charging chip in the charging unit fails or fails, it may not be able to upload the obtained health indication state of the vehicle battery to the MCU, so that the MCU monitors the health state of the vehicle battery based on the health indication state.
In view of this, the embodiment of the application provides a vehicle battery monitoring method, obtain the detection voltage and the detection temperature of the vehicle battery through the vehicle-mounted micro-control unit, determine the first health state based on the detection voltage and the detection temperature, receive the second health state determined by the system on the vehicle slide based on the detection voltage and the detection temperature, and the third health state determined by the charging unit, and determine that the vehicle battery is in the health state under the condition that the first health state, the second health state and the third health state are all true, thereby providing a multi-path vehicle battery health state monitoring path, improving the reliability of vehicle battery health monitoring, and further improving the safety of the vehicle.
Fig. 2 is a flow chart of a vehicle battery monitoring method according to an embodiment of the present application. As shown in fig. 2, the method comprises the steps of:
in step S201, a detection voltage of the vehicle battery is acquired from the voltage detection circuit, and a detection temperature of the vehicle battery is acquired from the temperature detection circuit.
In step S202, a first state of health of the vehicle battery is determined based on the detected voltage and the detected temperature.
In step S203, a second state of health of the vehicle battery is obtained from the on-chip system, the second state of health being determined by the on-chip system based on the detected voltage and the detected temperature of the vehicle battery.
In step S204, a third state of health of the vehicle battery is obtained from the charging unit of the vehicle battery.
In step S205, in response to determining that the first state of health, the second state of health, and the third state of health are all true, it is determined that the vehicle battery is in a state of health.
In some embodiments of the application, the method may be performed by an onboard MCU for monitoring a vehicle battery. The vehicle battery may be a low-voltage battery in a vehicle, such as a vehicle controller battery including a main battery and a backup battery of a controller, such as a T-BOX, a cabin, and other storage batteries in the vehicle.
That is, the low-voltage battery in the vehicle may be a battery other than a power battery in the vehicle. In some embodiments, the low voltage battery in the vehicle may be a wide temperature nickel metal hydride battery, or a ternary lithium battery, or other battery, without limitation.
In some embodiments, the vehicle-mounted MCU may obtain a detected voltage of the vehicle battery from the voltage detection circuit and a detected temperature of the vehicle battery from the temperature detection circuit. The voltage detection circuit and the temperature detection circuit are detection circuits which are built outside the vehicle battery.
In other embodiments, the on-board MCU may determine a first state of health of the vehicle battery based on the detected voltage and the detected temperature. On the other hand, the on-vehicle MCU may also acquire the second state of health of the vehicle battery from the on-vehicle SoC (System on Chip), and acquire the third state of health of the vehicle battery from the charging unit of the vehicle battery.
The method for determining the vehicle battery state of health by the SoC is the same as the method for determining the vehicle battery state of health by the MCU, i.e., the second state of health may be determined by the SoC based on the detected voltage and the detected temperature of the vehicle battery. The method for determining the state of health of the vehicle battery by the charging unit can be implemented by using a preset detection range and preset judgment logic in the charging chip.
The state of health of the vehicle battery may include a state true and a state false, wherein the state true is used to indicate that the vehicle battery is in a state of health, at which time the charging unit may perform a charging and discharging operation thereon. Otherwise, the state false is used for indicating that the vehicle battery is in an unhealthy state, and the charging unit needs to be controlled to stop performing the charging and discharging operation on the vehicle battery.
In some embodiments of the present application, the MCU may determine each health state after acquiring the first health state, the second health state, and the third health state. If the first, second, and third health states are all true, it may be determined that the vehicle battery is in a healthy state.
According to the technical scheme provided by the embodiment of the application, the detection voltage and the detection temperature of the vehicle battery are obtained through the vehicle-mounted micro-control unit, the first health state is determined based on the detection voltage and the detection temperature, the second health state determined by the system on the vehicle slide based on the detection voltage and the detection temperature and the third health state determined by the charging unit are received, and the vehicle battery is determined to be in the health state under the condition that the first health state, the second health state and the third health state are all true, so that a multipath vehicle battery health state monitoring path is provided, the reliability of vehicle battery health monitoring is improved, and the safety of the vehicle is further improved.
As mentioned above, a charging chip is generally used in the related art to detect the voltage and temperature of a vehicle battery. The preset healthy voltage range of the charging chip is usually less than 5.8V (volts), and the preset healthy stable range is usually-10 ℃ to 50 ℃. That is, the voltage and temperature accuracy that the charging chip can detect is limited, and the range is also narrow.
In some embodiments of the application, the voltage detection circuit includes a first voltage division circuit constructed based on a first voltage division resistor, and the temperature detection circuit includes a second voltage division circuit constructed based on a temperature sensitive element and a second voltage division resistor. The detection voltage is the output voltage of the first voltage dividing circuit, and the detection temperature is the temperature corresponding to the output voltage of the second voltage dividing circuit.
In an example, one or more voltage dividing resistors may be used to provide a voltage dividing circuit, where an input end of the voltage dividing circuit is connected to an anode of the vehicle battery, and an output end of the voltage dividing circuit is connected to a detection voltage input port of the MCU or the SoC, so that the MCU and the SoC may obtain a detection voltage of the vehicle battery using the voltage dividing circuit.
In another example, a temperature sensing circuit may be provided using a temperature sensitive element, which may be a built-in temperature sensitive resistor in a vehicle battery, and one or more voltage dividing resistors. The input end of the temperature detection circuit is connected to the output end of the temperature sensitive resistor, and the output end of the temperature detection circuit is connected to the detection temperature input port of the MCU or the SoC, so that the MCU and the SoC can acquire the detection temperature of the vehicle battery by utilizing the voltage division circuit.
The temperature-sensitive resistor has different resistance values at different temperatures, and the resistance values have certain errors. The upper limit value, the lower limit value and the intermediate value can be taken for the resistance of the temperature-sensitive resistor under each temperature range, for example, in the temperature range of-40 ℃ to 105 ℃, and 146 groups of total 438 resistance data of the temperature-sensitive resistor can be obtained. And determining and obtaining the output voltage ranges of the temperature detection circuit at different temperatures by utilizing the resistance data and the voltage dividing resistor, and recording the mapping relation between the temperature and the output voltage ranges. In actual detection, the MCU and the SoC can acquire output voltage from the temperature detection circuit, and then query the pre-recorded mapping relation to determine the temperature corresponding to the output voltage.
For example, if the voltage range corresponding to the temperature of 10 ℃ is 4.85V to 4.86V, and the output voltage obtained by the mcu or the SoC self-stabilization detection circuit is 4.857V, it is determined that the detected temperature is 10 ℃. And so on.
The resistance values of the voltage dividing resistors in the voltage dividing circuit and the temperature detecting circuit can be set according to actual needs, and the voltage dividing resistors are not limited here. By selecting reasonable circuit structures and component parameters, the voltage range which can be detected by the voltage detection circuit provided by the embodiment of the application can reach 4.8V to 5.8V, and the temperature range which can be detected by the temperature detection circuit can reach-40 ℃ to 105 ℃.
By adopting the mode, the voltage and the temperature of the vehicle battery can be detected rapidly, the detection range is improved, and the detection precision is improved.
Fig. 3 is a flowchart of a method for determining a state of health of a vehicle battery based on a detected voltage and a detected temperature according to an embodiment of the present application. As shown in fig. 3, the method comprises the steps of:
in step S301, in response to determining that the detected voltage and the detected temperature correspond to the preset voltage temperature state of health combination, it is determined that the state of health of the vehicle battery is true.
In step S302, in response to determining that the detected voltage and the detected temperature do not correspond to the preset voltage temperature state of health combination, it is determined that the state of health of the vehicle battery is false.
In some embodiments of the present application, the detected voltage and the detected temperature may be input to software processing units in the MCU and the SoC, respectively, where the software processing unit determines whether the detected voltage and the detected temperature correspond to a preset voltage temperature health status combination, if so, determines that the health status of the vehicle battery is true, and if not, determines that the health status of the vehicle battery is false. The method comprises the steps of determining that a detected voltage and a detected temperature correspond to a preset voltage and temperature health state combination, wherein the step of determining that the detected voltage and the detected temperature correspond to the preset voltage and temperature health state combination can be carried out by acquiring a preset truth table, wherein the preset truth table comprises health states corresponding to different voltage and temperature combinations, and determining that the detected voltage and the detected temperature correspond to the preset voltage and temperature health state combination in response to the fact that the health state corresponding to the voltage and temperature combination formed by the detected voltage and the detected temperature in the preset truth table is true.
On the other hand, determining that the detected voltage and the detected temperature do not correspond to the preset voltage temperature health state combination may be to obtain a preset truth table, where the preset truth table includes health states corresponding to different voltage temperature combinations, and determining that the detected voltage and the detected temperature do not correspond to the preset voltage temperature health state combination in response to determining that the health state corresponding to the voltage temperature combination formed by the detected voltage and the detected temperature in the preset truth table is false. In an example, an analog-to-digital conversion unit may be respectively disposed in the MCU and the SoC, and the output voltage of the first voltage dividing circuit and the output temperature of the temperature detecting circuit are respectively input to the analog-to-digital conversion unit, so as to obtain digital signals of the detected voltage and the detected temperature. The software processing unit uses the digital signal to inquire in a preset truth table so as to obtain the vehicle battery health state corresponding to the combination of the detection voltage and the detection temperature.
In some embodiments, if the processing capability or the storage capability of the SoC is limited, the SoC may transmit the acquired detection voltage and detection temperature to the MCU, and the MCU may determine the battery health detection result of the SoC based on the detection voltage and detection temperature received from the SoC.
As mentioned above, the charging chips in the charging unit may malfunction or fail. At this time, if the MCU has judged that the state of health of the vehicle battery is false, it is necessary to control the charging unit to stop performing the charging and discharging operations on the vehicle battery, and the control signal may not be transmitted to the charging unit due to a failure or a failure of the charging chip, so that the charging and discharging of the vehicle battery in the unhealthy state may not be stopped in time, thereby bringing about a potential safety hazard.
In view of this, in the technical solution provided in the embodiment of the present application, a power supply switch may be further disposed between the charging unit and the power supply thereof, and the MCU controls the power supply switch. If the MCU determines that the vehicle battery is in a healthy state, the power supply switch is controlled to be closed, and the power supply normally supplies power to the charging unit. Otherwise, if the MCU determines that the vehicle battery is in a non-healthy state, the power supply switch is controlled to be turned off, and the charging unit stops working at the moment, so that the potential safety hazard that the charging and discharging of the vehicle battery cannot be stopped due to the fault or failure of the charging chip is avoided.
Fig. 4 is a flowchart of another vehicle battery monitoring method according to an embodiment of the present application. Step S401 to step S405 in the embodiment shown in fig. 4 are substantially the same as step S201 to step S205 in the embodiment shown in fig. 2, and are not described herein. As shown in fig. 4, the method further comprises the steps of:
in step S406, a power supply switch of the charging unit is controlled to be closed.
In step S407, in response to determining that at least one of the first health state, the second health state, and the third health state is false, the power supply switch of the charging unit is controlled to be turned off.
In some embodiments of the present application, if it is determined that the vehicle battery is in a healthy state, the MCU may control the power switch of the charging unit to be turned on. It will be appreciated that if the power switch is already in the closed state, the MCU may not perform any operation on the power switch.
On the other hand, if it is determined that at least one of the first health state, the second health state, and the third health state is false, the vehicle battery may be in an abnormal state, i.e., a non-health state. At this time, the MCU may control the power supply switch of the charging unit to be turned off to stop the charging unit from charging or discharging the vehicle battery.
By adopting the mode, the charging unit can be timely controlled to stop executing the charging and discharging operation when the abnormality of the vehicle battery is determined, and the potential safety hazard brought to the vehicle battery by the incapability of executing the stopping of the charging and discharging operation due to the failure of the charging chip is avoided.
Fig. 5 is a flowchart of another vehicle battery monitoring method according to an embodiment of the present application. Step S501 to step S507 in the embodiment shown in fig. 5 are substantially the same as step S401 to step S407 in the embodiment shown in fig. 4, and are not described herein. As shown in fig. 5, the method further comprises the steps of:
in step S508, the abnormal unit is updated.
The abnormal unit is a vehicle-mounted control unit, a vehicle-mounted system or a charging unit with the output health state being false.
In step S509, the first health state, the second health state, and the third health state are determined again using the normal unit and the updated abnormal unit.
The normal unit is a vehicle-mounted control unit, a vehicle-mounted system or a charging unit with the output health state being true.
In step S510, in response to determining that the redetermined first, second, and third health states are all true, the power supply switch of the charging unit is controlled to be closed.
In some embodiments of the present application, the MCU may also update the abnormal unit after the power switch controlling the charging unit is turned off. In an example, if the abnormal unit is an SoC or a charging unit, the MCU may first check whether a communication link between itself and the SoC and the charging unit is normal, if so, repair and update the communication link, and then determine whether the communication link after repair and update is normal.
If the communication link between the MCU and the SoC and the charging unit is normal, and the SoC or the charging unit is still an abnormal unit, the MCU may prompt the SoC or the charging unit to function abnormally, so that the user checks and updates the SoC and the charging unit.
In another example, if the abnormal unit is the MCU itself, the user may be directly prompted to detect and update the MCU.
After the abnormal unit update is completed, the MCU may determine the first health state, the second health state, and the third health state again using the normal unit and the updated abnormal unit. If the first health state, the second health state and the third health state which are determined again are all true, the power supply switch of the charging unit can be controlled to be closed.
Fig. 6 is a block diagram of a system for monitoring vehicle battery health according to an embodiment of the present application. As shown in fig. 6, the health monitoring system may include a charging unit, a vehicle battery, an MCU, an SoC, and a power switch.
Wherein the charging unit performs conventional voltage detection and temperature detection on the vehicle battery and generates a battery state of health, which is transmitted as a status indication to the MCU. The MCU and the SoC each include an ADC (Analog Digital Convert, analog-to-digital conversion) unit and a software processing unit, and the ADC unit receives the battery voltage detected by the voltage detection circuit and the battery temperature detected by the temperature detection circuit and converts the battery voltage and the battery temperature into digital signals. The software processing unit compares the digital signals of the voltage and the temperature with a preset truth table to determine the battery health state corresponding to the voltage and the temperature combination.
The SoC can send the determined state of health to the MCU, and the software processing module of the MCU can determine whether the battery state of health determined by the SoC, and the battery state of health determined by the charging unit are all true, and if so, the battery is determined to be in the state of health. Otherwise, if at least one of the health states is false, the vehicle battery may be in an abnormal state, and the MCU may control the power switch to be turned off, so that the charging unit stops charging and discharging the vehicle battery.
That is, in the system shown in fig. 6, a voltage detection circuit may be provided to convert the voltage of the vehicle battery to an input range acceptable to the MCUs and ADCs of the socs. And a temperature detection circuit is arranged to convert the temperature of the vehicle battery into an acceptable input range of the MCU and the ADC of the SoC.
The power switch can be implemented by a triode or a field effect transistor, etc. for controlling the power input. Under the condition that the vehicle battery is in an abnormal state, the MCU can utilize the power switch to timely disconnect the input power supply of the charging unit, so that the charging risk caused by the fact that the MCU sends an enabling signal to the charging unit can not stop executing the charging and discharging operation when the charging chip in the charging unit fails or fails is avoided.
And the MCU and the ADC of the SoC are used for jointly acquiring the voltage and the temperature of the battery for health monitoring, and the software processing unit is used for monitoring and managing the health data of the battery. Data interaction between the MCU and the SoC can be performed through SPI (SERIAL PERIPHERAL INTERFACE ), UART (Universal Asynchronous Receiver/Transmitter), or USB (Universal Serial Bus ) communication ports.
The charging unit may detect a temperature range of-10 ℃ to 50 ℃ and a voltage range below 5.8V. That is, if the temperature of the vehicle battery detected by the charging unit is greater than-10 ℃ and less than 50 ℃ and the voltage is less than 5.8V, the charging unit determines that the state of health of the vehicle battery is true. Otherwise, the charging unit determines that the state of health of the vehicle battery is false.
On the other hand, MCUs and socs can detect a temperature range of-40 ℃ to 105 ℃, and a voltage range of 0 to 6.6V. A reasonable state of health temperature range and voltage range may be set according to the type, model, etc. of the vehicle battery. In one example, for a wide temperature nickel-metal hydride battery, the health temperature range may be set to-10 ℃ to 50 ℃ and the health voltage range 4.8V to 5.8V. If the battery temperature detected by the MCU and the SoC is greater than-10 ℃ and less than 50 ℃ and the voltage is greater than 4.8V and less than 5.8V, the MCU and the SoC determine that the health state of the vehicle battery is true. Otherwise, the MCU and the SoC determine that the health state of the vehicle battery is false.
If any one of the charging unit, the MCU and the SoC detects that the health state of the vehicle battery is false, the power switch needs to be disconnected, and the charging and discharging operation on the vehicle battery is stopped. For example, if the temperature detected by the MCU or the SoC is not in the range of-10 ℃ to 50 ℃, or the voltage detected by the MCU or the SoC is lower than 4.8V, the function of the MCU or the SoC and the signal transmission link need to be checked. For another example, if the health status returned by the charging unit is false, the function of the charging unit and the signal transmission link need to be checked.
In the embodiment of the application, the MCU is selected to execute the operations of integrating a plurality of battery health states to determine whether the battery is healthy and controlling the power switch of the charging unit to be closed and the port, because the extensible interfaces of the MCU are more. It will be appreciated that in the case where the SoC is provided with an idle interface (which typically increases the cost of the SoC), the vehicle battery monitoring method described above may alternatively be performed by the SoC. That is, the SoC receives the battery state of health determined by the MCU and the battery state of health determined by the charging unit, and the SoC itself determines the state of health of the battery according to the detection voltage and the detection temperature. And if the SoC determines that all the health states are true, controlling the power switch to be closed. Otherwise, if the SoC determines that at least one of the health states is false, the power switch is controlled to be turned off.
By adopting the technical scheme provided by the embodiment of the application, the battery is monitored by utilizing the plurality of monitoring units, so that the battery health risk caused by the failure of a single monitoring chip can be avoided, the state health of the vehicle battery is ensured, and the driving safety can be ensured under emergency conditions.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present application, which is not described herein.
The following are examples of the apparatus of the present application that may be used to perform the method embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method of the present application.
Fig. 7 is a schematic diagram of a vehicle battery monitoring device according to an embodiment of the present application. As shown in fig. 7, the apparatus includes:
the in-vehicle micro control unit 701 is configured to acquire a detection voltage of the vehicle battery from the voltage detection circuit and a detection temperature of the vehicle battery from the temperature detection circuit.
The onboard micro control unit 701 is further configured to determine a first state of health of the vehicle battery based on the detected voltage and the detected temperature.
The on-chip system 702 is configured to obtain a detected voltage of the vehicle battery from the voltage detection circuit and a detected temperature of the vehicle battery from the temperature detection circuit.
The on-chip system 702 is further configured to determine a second state of health of the vehicle battery based on the detected voltage and the detected temperature.
A charging unit 703 configured to determine a third state of health of the vehicle battery.
The onboard micro control unit 701 is further configured to receive the second health status and the third health status, and determine that the vehicle battery is in a healthy state if the first health status, the second health status, and the third health status are all determined to be true.
According to the technical scheme provided by the embodiment of the application, the detection voltage and the detection temperature of the vehicle battery are obtained through the vehicle-mounted micro-control unit, the first health state is determined based on the detection voltage and the detection temperature, the second health state determined by the system on the vehicle slide based on the detection voltage and the detection temperature and the third health state determined by the charging unit are received, and the vehicle battery is determined to be in the health state under the condition that the first health state, the second health state and the third health state are all true, so that a multipath vehicle battery health state monitoring path is provided, the reliability of vehicle battery health monitoring is improved, and the safety of the vehicle is further improved.
In some embodiments, the voltage detection circuit comprises a first voltage division circuit constructed based on a first voltage division resistor, the temperature detection circuit comprises a second voltage division circuit constructed based on a temperature sensitive element and a second voltage division resistor, the detection voltage is the output voltage of the first voltage division circuit, and the detection temperature is the temperature corresponding to the output voltage of the second voltage division circuit.
In some embodiments, determining the state of health of the vehicle battery based on the detected voltage and the detected temperature includes determining that the state of health of the vehicle battery is true in response to determining that the detected voltage and the detected temperature correspond to a preset voltage temperature state of health combination and determining that the state of health of the vehicle battery is false in response to determining that the detected voltage and the detected temperature do not correspond to the preset voltage temperature state of health combination.
In some embodiments, determining that the detected voltage and the detected temperature correspond to the preset voltage temperature health state combination comprises obtaining a preset truth table, wherein the preset truth table comprises health states corresponding to different voltage temperature combinations, determining that the detected voltage and the detected temperature do not correspond to the preset voltage temperature health state combination in response to determining that the health state corresponding to the voltage temperature combination formed by the detected voltage and the detected temperature in the preset truth table is true, determining that the detected voltage and the detected temperature do not correspond to the preset voltage temperature health state combination comprises obtaining a preset truth table, wherein the preset truth table comprises health states corresponding to different voltage temperature combinations, and determining that the detected voltage and the detected temperature do not correspond to the preset voltage temperature health state combination in response to determining that the health state corresponding to the voltage temperature combination formed by the detected voltage and the detected temperature in the preset truth table is false.
In some embodiments, after determining that the vehicle battery is in a healthy state, further comprising controlling a power switch of the charging unit to be closed, and after determining the first, second, and third healthy states, further comprising controlling the power switch of the charging unit to be opened in response to determining that at least one of the first, second, and third healthy states is false.
In some embodiments, after the power supply switch of the charging unit is controlled to be disconnected, the method further comprises the steps of updating an abnormal unit, wherein the abnormal unit is a vehicle-mounted control unit, a vehicle-mounted system or a charging unit with a false output health state, determining a first health state, a second health state and a third health state again by using the normal unit and the updated abnormal unit, wherein the normal unit is the vehicle-mounted control unit, the vehicle-mounted system or the charging unit with a true output health state, and controlling the power supply switch of the charging unit to be closed in response to the fact that the determined first health state, the determined second health state and the determined third health state are all true.
In some embodiments, the vehicle-mounted micro control unit and the vehicle-mounted on-chip system respectively comprise an analog-to-digital conversion unit, the detection voltage is a voltage obtained by performing analog-to-digital conversion on the output voltage of the first voltage dividing circuit, and the detection temperature is a temperature obtained by performing analog-to-digital conversion on the temperature corresponding to the output voltage of the second voltage dividing circuit.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
Fig. 8 is a schematic diagram of an electronic device according to an embodiment of the present application. As shown in fig. 8, the electronic device 8 of this embodiment comprises a processor 801, a memory 802 and a computer program 803 stored in the memory 802 and executable on the processor 801. The steps of the various method embodiments described above are implemented by the processor 801 when executing the computer program 803. Or the processor 801 when executing the computer program 803 implements the functions of the modules/units in the above-described apparatus embodiments.
The electronic device 8 may be a desktop computer, a notebook computer, a palm computer, a cloud server, or the like. The electronic device 8 may include, but is not limited to, a processor 801 and a memory 802. It will be appreciated by those skilled in the art that fig. 8 is merely an example of the electronic device 8 and is not limiting of the electronic device 8 and may include more or fewer components than shown, or different components.
The Processor 801 may be a central processing unit (Central Processing Unit, CPU) or other general purpose Processor, digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like.
The memory 802 may be an internal storage unit of the electronic device 8, for example, a hard disk or a memory of the electronic device 8. The memory 802 may also be an external storage device of the electronic device 8, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the electronic device 8. Memory 802 may also include both internal storage units and external storage devices for electronic device 8. The memory 802 is used to store computer programs and other programs and data required by the electronic device.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, and the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. The computer program may comprise computer program code, which may be in source code form, object code form, executable file or in some intermediate form, etc. The computer readable medium can include any entity or device capable of carrying computer program code, recording medium, USB flash disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), electrical carrier signals, telecommunications signals, and software distribution media, among others.
The foregoing embodiments are merely for illustrating the technical solution of the present application, but not for limiting the same, and although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that the technical solution described in the foregoing embodiments may be modified or substituted for some of the technical features thereof, and that these modifications or substitutions should not depart from the spirit and scope of the technical solution of the embodiments of the present application and should be included in the protection scope of the present application.