Bus voltage calibration method, vehicle-mounted terminal and vehicle
By generating calibration voltage values and transmitting them to the unit controller, the problem of unstable vehicle operation caused by abnormal bus voltage acquisition was solved, thereby improving the reliability of vehicle operation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
- Filing Date
- 2026-02-02
- Publication Date
- 2026-04-24
AI Technical Summary
In existing technologies, when the bus voltage of high-voltage components in automobiles is abnormally collected, fault response measures are easily triggered, resulting in low vehicle operational reliability.
By collecting bus voltage sampling values from multiple unit controllers, a calibration voltage value is generated and transmitted to each unit controller to ensure normal operation even in the event of abnormal data acquisition, thus avoiding the impact of individual unit acquisition failure on the overall normal operation of the vehicle.
This improves the reliability of vehicle operation, avoids fault response measures caused by individual data acquisition failures, and ensures normal vehicle operation.
Smart Images

Figure CN121917828A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of voltage calibration technology, and more specifically, to a bus voltage calibration method, an on-board terminal, and a vehicle. Background Technology
[0002] Automobiles contain various high-voltage components, such as the Battery Management System (BMS), Motor Control Unit (MCU), Thermistor Heater (PTC), Air Conditioning Controller (AC), On-board Charger (DCDC), and Generator Control Unit (GCU). These high-voltage components need to collect bus voltage data through their respective sensors and use this data as a basis to implement various control logics. For example, the BMS manages charging and discharging based on real-time bus voltage, and the MCU performs torque control based on real-time bus voltage values.
[0003] Currently, the unit controllers in each high-voltage component monitor the bus voltage signal they collect for abnormalities. Once a high-voltage component detects an abnormality in the collected signal or its collection sensor reports a fault code, it will trigger fault response measures. For example, the motor controller will trigger power interruption or power degradation measures, resulting in low vehicle operation reliability. Summary of the Invention
[0004] The purpose of this application is to provide a bus voltage calibration method, an on-board terminal, and a vehicle to improve vehicle operational reliability.
[0005] In a first aspect, embodiments of this application provide a bus voltage calibration method, including: Real-time collection of bus voltage sampling values reported by multiple unit controllers; The calibration voltage value is obtained based on multiple bus voltage sampling values; The calibration voltage value is transmitted to each of the unit controllers so that each unit controller operates according to the calibration voltage value.
[0006] In this embodiment, by collecting multi-source voltage acquisition data, a calibration voltage value is generated based on this data and sent to each relevant unit controller, so that even if a single unit controller experiences an acquisition anomaly, it can still operate normally based on the calibration voltage value, thereby effectively improving the reliability of vehicle operation.
[0007] In some embodiments, before obtaining the calibration voltage value based on the plurality of bus voltage samples, the method further includes: The number of valid sampled values that meet the preset valid conditions among the multiple bus voltage sampled values is determined to be greater than the preset number threshold. The calibration voltage value is obtained based on multiple bus voltage samples, including: The calibration voltage value is obtained based on multiple valid sampled values.
[0008] In this embodiment of the application, when the number of valid data sources exceeds the threshold, the prerequisite for obtaining the calibration voltage is determined, and the valid sampled value is used as the basis for calculating the calibration voltage, thereby further improving the reliability of the calibration voltage calculation.
[0009] In some embodiments, determining the number of valid sample values that satisfy a preset valid condition among the plurality of bus voltage sample values includes: Obtain the reference bus voltage value at the current moment; Obtain the deviation between each of the bus voltage sample values and the reference bus voltage base value; Bus voltage sample values with deviation values less than a preset deviation threshold are determined as valid sample values, and the number of valid sample values is counted.
[0010] In this embodiment, by obtaining the deviation between the voltage sample value and the voltage reference value, and filtering the voltage sample values with a deviation less than a threshold as valid sample values, the reliability of the calibration voltage calculation is further improved.
[0011] In some embodiments, transmitting the calibration voltage value to each of the unit controllers so that each unit controller operates according to the calibration voltage value includes: The calibration voltage values are transmitted to target unit controllers that meet preset sampling fault conditions, so that each target unit controller switches to operate based on the calibration voltage values. or, The calibration voltage value is transmitted to each of the unit controllers, so that each unit controller switches to operate based on the calibration voltage value when it determines that it meets the preset sampling fault conditions.
[0012] In this embodiment, the reliability of vehicle control is further improved by switching to calibration voltage operating mode when sampling fault conditions are met.
[0013] In some embodiments, the method for determining whether a preset sampling fault condition is met includes: The voltage deviation between the sampled bus voltage value of the target unit controller and the calibrated voltage value is acquired in real time; if the voltage deviation value exceeds a preset first deviation level and reaches a preset first duration period, the target unit controller is determined to meet the sampling fault condition; or, If the target unit controller triggers a preset sampling fault event and reaches a preset second duration period, the target unit controller is determined to meet the sampling fault condition.
[0014] In this embodiment, when the voltage sampling deviates from the calibration voltage for a certain period of time, it is determined to meet the sampling fault condition, or when a sampling fault event is detected and continues for a certain period of time, it is determined to meet the sampling fault condition, which further improves the stability of mode switching.
[0015] In some embodiments, the unit controller is configured to: When operating based on the calibration voltage value, if it is determined that it meets the preset fault exit conditions, it switches to operating based on its own bus voltage sampling value.
[0016] In this embodiment, when the preset fault exit condition is met in the voltage correction working mode, the system switches to the voltage sampling working mode, which further improves the flexibility of mode switching.
[0017] In some embodiments, determining that the device meets preset fault exit conditions includes: Real-time acquisition of the voltage deviation between the sampled value of its own bus voltage and the calibrated voltage value; If there is no preset sampling fault event and the voltage deviation value remains within the preset second deviation level and reaches the preset third duration, then it is determined that it meets the fault exit condition.
[0018] In this embodiment, when the voltage sampling is maintained within a certain range of the calibration voltage and reaches a preset duration, it is determined that the fault exit condition is met, which further improves the stability of mode switching.
[0019] In some embodiments, the preset second deviation degree is less than the preset first deviation degree in the preset sampling fault condition, and the preset third duration period is greater than the preset first duration period and the preset second duration period in the preset sampling fault condition.
[0020] In this embodiment of the application, by configuring the deviation judgment range of the exit fault condition to be smaller than the judgment range of the entry fault condition, and configuring the duration judgment range of the exit fault condition to be larger than the duration judgment range of the entry fault condition, the stability of mode switching is further improved.
[0021] Secondly, embodiments of this application provide an on-board terminal, including a bus voltage calibration device, the bus voltage calibration device comprising: The sampling and collection module is used to collect the bus voltage sampling values reported by multiple unit controllers in real time; wherein, the components where each of the unit controllers is located all rely on the same bus voltage to operate; The calibration acquisition module is used to acquire a calibration voltage value based on the multiple bus voltage sample values when it is determined that the multiple bus voltage sample values meet the preset preconditions. The calibration transmission module is used to transmit the calibration voltage value to each of the unit controllers, so that each of the unit controllers switches to a working mode that uses the calibration voltage value as the basis for control logic.
[0022] Thirdly, embodiments of this application provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, can implement the method described in any embodiment of the first aspect.
[0023] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, can implement the method described in any embodiment of the first aspect.
[0024] Fifthly, embodiments of this application provide a computer program product, which includes a computer program, wherein the computer program, when executed by a processor, can implement the method described in any embodiment of the first aspect.
[0025] In a sixth aspect, embodiments of this application provide a vehicle, including a vehicle body and the vehicle-mounted terminal described in the second aspect, wherein the vehicle-mounted terminal is installed in the interior space of the vehicle body. Attached Figure Description
[0026] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0027] Figure 1 A schematic flowchart illustrating a bus voltage calibration method provided in an embodiment of this application; Figure 2 A system architecture diagram for voltage calibration provided in the embodiments of this application; Figure 3 This is a schematic diagram of the voltage calibration control process provided in the embodiments of this application; Figure 4 This is a schematic diagram of the structure of a bus voltage calibration device provided in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0028] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0029] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, the terms "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0030] It should be noted that automobiles (mainly pure electric vehicles or hybrid vehicles) contain various high-voltage components, such as the Battery Management System (BMS), Motor Control Unit (MCU), Positive Temperature Coefficient (PTC), Air Conditioning (AC), Direct Current-to-Direct Current (DCDC) charger, and Generator Control Unit (GCU). These high-voltage components need to collect the bus voltage through their respective sensors and use this as a basis to implement various control logics. For example, the BMS manages charging and discharging based on the real-time bus voltage, and the MCU performs torque control based on the real-time bus voltage value.
[0031] In existing technologies, once a high-voltage component detects an abnormal acquisition signal or its acquisition sensor reports a fault code, it will trigger fault response measures. For example, the motor controller will trigger power interruption or power degradation measures, which will affect the normal operation of the vehicle and result in low vehicle reliability.
[0032] To address the problems existing in the prior art, this application provides a bus voltage calibration method. By collecting multi-source voltage sampling data and generating a calibration voltage value, the method can still operate normally based on the calibration voltage value even when a unit controller experiences a fault such as abnormal signal acquisition. This avoids affecting the overall normal operation of the vehicle due to the failure of a single unit acquisition, thereby effectively improving the reliability of vehicle operation.
[0033] like Figure 1 As shown in the figure, this application provides a bus voltage calibration method, which may include the following steps: S1. Collect bus voltage sampling values reported by multiple unit controllers in real time.
[0034] For example, the method in this application embodiment can be executed by the vehicle control unit (VCU) or by an additional on-board terminal. Each unit controller refers to the controller responsible for implementing its corresponding control logic in different high-voltage components (such as the battery management system BMS, motor controller MCU, thermistor heater PTC, air conditioning controller AC, on-board charger, etc.). It is understood that these high-voltage components all rely on the same bus voltage to operate.
[0035] The unit controllers of different components in the vehicle will collect the bus voltage sampling value in real time during operation. The vehicle controller can collect the bus voltage sampling value transmitted by these unit controllers through the vehicle's CAN bus.
[0036] For example, each unit controller can sample the bus voltage based on an independent ADC (Analogue-To-Digital Conversion) sampling circuit. Alternatively, various sampling methods can be used, such as resistor divider sampling, isolation amplifier sampling, or Hall voltage sensor sampling.
[0037] For example, hardware redundancy can be designed within a single unit controller, such as using two or more independent voltage sampling circuits (e.g., two sampling resistors + two ADC channels), and then the validity is determined by a "voting" or "comparison" mechanism, and finally the bus voltage sampling value determined to be valid is adopted.
[0038] S2. The calibration voltage value is obtained based on multiple bus voltage sampling values.
[0039] For example, a calibration voltage value can be calculated based on multiple bus voltage sample values collected at present. Specifically, the average value of multiple bus voltage sample values can be used as the calibration voltage value; or, a weighted fusion of multiple bus voltage sample values can be performed to obtain the calibration voltage value. The weight of each bus voltage sample value can be set according to its corresponding high-voltage component. For example, the voltage value collected by the battery management system (BMS) is generally more reliable, so a higher weight can be set.
[0040] S3. Transmit the calibration voltage value to each unit controller so that each unit controller can operate according to the calibration voltage value.
[0041] Finally, the calibration voltage value can be transmitted to each unit controller, so that each unit controller can switch to the working mode based on the calibration voltage value as the control logic (i.e., work based on the calibration voltage value) as needed.
[0042] For example, when the unit controller detects a voltage acquisition failure, meaning it cannot perform control operations based on the bus voltage value it has acquired, it can switch to an operating mode that uses the calibration voltage value as the basis for control logic. Thus, compared to traditional solutions that trigger power interruption or power degradation upon acquisition failure, this embodiment can perform a soft switch based on the calibration voltage value to continue normal operation, thereby effectively improving the reliability of vehicle operation.
[0043] Based on this, by generating calibration voltage values based on the collected multi-source voltage acquisition data and sending them to each relevant unit controller, each unit controller can still operate normally based on the calibration voltage values when acquisition anomalies occur, avoiding the triggering of fault response measures due to individual acquisition failures, thereby effectively improving the reliability of vehicle operation.
[0044] In some embodiments, before obtaining the calibration voltage value based on multiple bus voltage samples, the method further includes: The number of valid sampled values that meet the preset valid conditions among multiple bus voltage sampled values is determined, and the number exceeds the preset number threshold. The calibration voltage value is obtained based on multiple bus voltage samples, including: The calibration voltage value is obtained based on multiple valid sample values.
[0045] For example, based on the collected bus voltage sample values, it can be determined whether the currently collected sample value meets a preset precondition. When it is determined that the preset precondition is met, a calibration voltage value is obtained based on the multiple bus voltage sample values. For instance, it can be determined whether the CAN bus signal transmission has successfully passed the verification; if so, it is considered to meet the preset precondition; otherwise, it is considered not to meet the preset precondition.
[0046] It should be noted that, in addition to using the successful verification of CAN bus signal transmission as the basis for determining whether the preset preconditions are met, the number of valid sampled values can also be used to determine whether the preset preconditions are met.
[0047] For example, firstly, valid sample values are selected from multiple bus voltage sample values collected according to preset valid conditions, and the number of current valid sample values is determined; then, it is determined whether the number of valid sample values exceeds a preset number threshold. If so, it is determined that the preset preconditions are met; otherwise, it is determined that the preset preconditions are not met.
[0048] For example, the preset quantity threshold can be set according to the actual situation. Generally, the number of valid sampled values needs to be greater than the number of invalid sampled values in order to meet the calibration requirements (meet the prerequisite). For example, assuming that there are a total of 8 unit controllers participating in multi-source data fusion calibration in the vehicle, the current condition is considered to be met only when the number of valid sampled values is greater than 5 (the preset quantity threshold is set to 5).
[0049] Based on this, when the number of valid data sources exceeds the threshold, the prerequisite for obtaining the calibration voltage is met, thus avoiding the impact of a large amount of invalid data on the accuracy of the calibration data and further improving the reliability of the calibration voltage calculation.
[0050] Understandably, when calculating the calibration voltage value based on multiple bus voltage samples, in order to further improve the reliability of the calibration voltage value, only the valid sample values can be used as the basis for calculation to avoid interference from invalid data on the calibration data.
[0051] For example, when there are many valid sampled values, the multiple valid sampled values can be further processed to remove extreme values, that is, the maximum and minimum values among the multiple valid sampled values are removed, and then the calibration voltage value is calculated based on the remaining valid sampled values.
[0052] Based on this, by using effective sampled values as the basis for calculating the calibration voltage, the reliability of the calibration voltage calculation is further improved.
[0053] In some embodiments, determining the number of valid sample values that satisfy a preset validity condition among a plurality of bus voltage sample values includes: Obtain the reference bus voltage value at the current moment; Obtain the deviation between the sampled voltage values of each bus and the reference bus voltage base value; Bus voltage sample values with deviation values less than a preset deviation threshold are identified as valid sample values, and the number of valid sample values is counted.
[0054] For example, valid sampled values can be filtered based on the reference bus voltage reference value at the current moment.
[0055] Specifically, the bus voltage value collected by the target unit controller among multiple unit controllers can be used as the reference bus voltage base value at the current moment. Alternatively, the reference bus voltage base value at the current moment can be obtained by weighted averaging of the bus voltage values collected by a specific number of unit controllers among multiple unit controllers.
[0056] Then, based on the reference bus voltage benchmark value at the current moment, the deviation value corresponding to each bus voltage sample value is calculated. Finally, data with large deviation values (deviation values not less than the preset deviation threshold) are removed, and the remaining bus voltage sample values (deviation values less than the preset deviation threshold) are retained as the current valid sample values. The number of the valid sample values is then counted.
[0057] Based on this, by obtaining the deviation between the voltage sample value and the voltage reference value, and filtering the voltage sample values with a deviation less than the threshold as valid sample values, the reliability of the calibration voltage calculation is further improved.
[0058] In some embodiments, the calibration voltage value is transmitted to each unit controller so that each unit controller operates according to the calibration voltage value, including: The calibration voltage values are transmitted to the target unit controllers that meet the preset sampling fault conditions, so that each target unit controller switches to operate based on the calibration voltage values. or, The calibration voltage value is transmitted to each unit controller so that each unit controller can switch to working based on the calibration voltage value if it determines that it meets the preset sampling fault conditions.
[0059] For example, the application of calibration voltage values can include, but is not limited to, the following two methods: 1. The vehicle controller (or vehicle terminal) determines in real time whether each unit controller meets the preset sampling fault conditions and transmits the calibration voltage value to the target unit controller that meets the preset sampling fault conditions. In this way, these target unit controllers can directly switch to the working mode that uses the calibration voltage value as the basis for control logic when they receive the calibration voltage value. 2. When the vehicle controller (or vehicle terminal) calculates the calibration voltage value, it directly sends it to each unit controller. Each unit controller then determines whether it meets the preset sampling fault conditions. If it does, it switches to the working mode that uses the calibration voltage value as the basis for control logic; otherwise, it ignores the calibration voltage value.
[0060] Based on this, the reliability of vehicle control is further improved by using whether the preset sampling fault conditions are met as the basis for switching the calibration voltage working mode.
[0061] In some embodiments, the determination method for meeting preset sampling failure conditions includes: The voltage deviation between the sampled bus voltage value and the calibrated voltage value of the target unit controller is acquired in real time; if the voltage deviation value exceeds a preset first deviation level and reaches a preset first duration period, the target unit controller is determined to meet the sampling fault condition; or, If the target unit controller triggers a preset sampling fault event and reaches a preset second duration period, the target unit controller is determined to meet the sampling fault conditions.
[0062] For example, the methods for determining whether the preset sampling fault conditions are met may include, but are not limited to, the following two: 1. The voltage deviation between the bus voltage sample value and the calibration voltage value of the unit controller exceeds a preset first deviation level and reaches a preset first duration period (i.e., the voltage sample value deviation exceeds the standard and lasts for a certain period of time). 2. The unit controller triggers a preset sampling fault event (e.g., the controller's own sensor reports a fault code) and reaches a preset second duration period.
[0063] It should be noted that when both of the above methods exist simultaneously, once either of the conditions is met, it is determined that the preset sampling fault condition is met.
[0064] For example, the degree of the first deviation can be a percentage, such as ±5%.
[0065] For example, the first duration and the second duration can be equal or different values, which can be set according to requirements. In addition, the duration can be set to a certain duration or number of times. For example, the first duration or the second duration can be set to 30 message cycles or 1 second.
[0066] Based on this, by determining that the sampling is in violation of the sampling fault condition when the voltage sampling deviates from the calibration voltage by a certain range or when a sampling fault event is detected and continues for a certain period of time, the stability of mode switching is further improved.
[0067] In some embodiments, the unit controller is configured to: When operating based on the calibration voltage value, if it determines that it meets the preset fault exit conditions, it will switch to operating based on its own bus voltage sampling value.
[0068] Understandably, when a unit controller is operating in a mode that uses the calibration voltage value as the basis for control logic, it can determine in real time whether it meets the preset fault exit conditions. If so, it will automatically switch to an operating mode that uses its own bus voltage sampling value as the basis for control logic, thereby restoring normal operation.
[0069] For example, during the operation mode that uses the calibration voltage value as the basis for control logic, the bus voltage value acquisition may not be performed, or the bus voltage sample value acquired by the unit controller may be regarded as invalid data, which may be discarded locally by the unit controller or discarded after being transmitted to the vehicle controller.
[0070] Based on this, in the voltage correction mode, when the preset fault exit condition is met, the system switches to the voltage sampling mode, further improving the flexibility of mode switching.
[0071] In some embodiments, determining that the device meets preset fault exit conditions includes: Real-time acquisition of the voltage deviation between the sampled value and the calibrated voltage value of its own bus voltage; If there is no preset sampling fault event and the voltage deviation value remains within the preset second deviation level and reaches the preset third duration, then it is determined that it meets the fault exit condition.
[0072] It should be noted that, corresponding to the entry judgment of the sampling fault condition, the judgment to meet the fault exit condition requires two conditions to be met simultaneously and for a certain duration (preset third duration period): 1. There is no preset sampling fault event in the unit controller (i.e. all relevant fault codes have been cleared); 2. The voltage deviation value is maintained within the preset second deviation level.
[0073] Based on this, when there is no fault code and the voltage sampling is maintained within a certain range of the calibration voltage and reaches the preset duration, it is determined that the fault exit condition is met, which further improves the stability of mode switching.
[0074] In some embodiments, the preset second deviation degree is less than the preset first deviation degree in the preset sampling fault condition, and the preset third duration period is greater than the preset first duration period and the preset second duration period in the preset sampling fault condition.
[0075] Understandably, the threshold for determining the exit fault condition (meeting the preset fault exit condition) can be set more conservatively than the threshold for determining the entry fault condition (meeting the preset sampling fault condition), thereby ensuring that the local sampling of the unit controller has truly and stably returned to normal before the exit fault condition, rather than fluctuating momentarily.
[0076] It should be noted that the duration of entering the fault condition includes the first duration and the second duration mentioned above. For example, assuming that both the first duration and the second duration are set to 30 message cycles (e.g., each message cycle is 0.02s, so 30 message cycles is 0.6s), then the third duration can be set to 5s (greater than the duration determination threshold for entering the fault condition, i.e., greater than the preset first duration and preset second duration in the preset sampling fault condition).
[0077] For example, the first deviation level can be set to ±5%, and the second deviation level can be set to ±4% (less than the first deviation level).
[0078] Based on this, by configuring the deviation judgment range of the exit fault condition to be smaller than the judgment range of the entry fault condition, and configuring the duration judgment range of the exit fault condition to be larger than the duration judgment range of the entry fault condition, the stability of mode switching is further improved.
[0079] Please combine Figure 2 and Figure 3 The following specific examples illustrate this application in detail: (1) Precondition judgment: a. Vehicle power-on: The vehicle controller (VCU) and all high-voltage components (BMS, DC-DC, MCU, etc.) complete initialization, the CAN communication network is established and reaches a stable state, and the vehicle's high-voltage system is powered on.
[0080] b. Data transmission verification is valid: The signal transmitted on the CAN bus has successfully passed the verification.
[0081] c. Minimum size of the data consortium: The number of valid data sources participating in the calculation of the calibration voltage value is no less than a preset minimum (e.g., ≥4). This is a prerequisite for ensuring the reliability of the calibration voltage value itself.
[0082] (2) Entry condition judgment: When all the above prerequisites are met, if any of the following occurs, the high-voltage component will immediately activate the protection logic and operate using the calibration voltage value: a. Voltage deviation exceeds the standard: The absolute deviation between the local bus voltage sample value and the calibrated voltage value continues to exceed the threshold range (e.g., ±5%) for a period of time (e.g., 30 message cycles).
[0083] b. Voltage sampling circuit failure: A high-voltage component explicitly reports a voltage sampling failure fault (triggering a preset sampling failure event), which continues for a period of time (e.g., 30 message cycles).
[0084] (3) Exit condition judgment: After the system enters the operating mode using the calibrated voltage value, it will continuously monitor the status. When all of the following conditions are met simultaneously and continue for a period of time, the system will exit this mode and resume operation using the local bus voltage sampling value of the high-voltage components.
[0085] a. Voltage deviation recovery: The absolute deviation between the sampled bus voltage value and the calibrated voltage value of the high-voltage component is recovered to within the threshold range (e.g., ±4%). The threshold for exiting the condition is set lower than the threshold for entering the condition to prevent frequent state switching.
[0086] b. Voltage sampling circuit valid: There is no fault in the voltage sampling circuit or voltage sampling link of the high voltage component, and all relevant fault codes have been cleared.
[0087] Steady-state continuation: Only when conditions a and b above are met simultaneously and remain stable for a period of time (e.g., 5s) is the exit condition considered met, to fully prove that the local sampling has truly and stably returned to normal, rather than being a momentary fluctuation.
[0088] Some embodiments of this application provide an on-board terminal, including a bus voltage calibration device.
[0089] Please refer to Figure 4 , Figure 4 A block diagram illustrating the composition of a bus voltage calibration apparatus provided in some embodiments of this application is shown. It should be understood that this bus voltage calibration apparatus is similar to the one described above. Figure 1 The corresponding method embodiments are capable of performing the various steps involved in the above method embodiments. The specific functions of the bus voltage calibration device can be found in the description above. To avoid repetition, detailed descriptions are appropriately omitted here.
[0090] Figure 4 The bus voltage calibration device includes at least one software function module that can be stored in a memory or embedded in the bus voltage calibration device in the form of software or firmware. The bus voltage calibration device includes: The sampling and collection module 410 is used to collect the bus voltage sampling values reported by multiple unit controllers in real time; wherein, the components where each unit controller is located all rely on the same bus voltage to operate; The calibration acquisition module 420 is used to acquire a calibration voltage value based on multiple bus voltage sample values when it is determined that multiple bus voltage sample values meet preset preconditions. The calibration transmission module 430 is used to transmit the calibration voltage value to each unit controller so that each unit controller can switch to the working mode based on the calibration voltage value as the control logic.
[0091] It is understood that the above-described device embodiments correspond to the method embodiments of the present invention. The bus voltage calibration device provided by the embodiments of the present invention can implement the bus voltage calibration method provided by any one of the method embodiments of the present invention.
[0092] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the device described above can be referred to the corresponding process in the aforementioned method, and will not be elaborated further here.
[0093] like Figure 5As shown, some embodiments of this application provide an electronic device 500, which includes a memory 510, a processor 520, and a computer program stored in the memory 510 and executable on the processor 520. When the processor 520 reads the program from the memory 510 via a bus 530 and executes the program, it can implement any of the methods included in the above-described bus voltage calibration method.
[0094] Processor 520 can process digital signals and can include various computing architectures. For example, it can be a complex instruction set computer architecture, a reduced instruction set computer architecture, or an architecture that implements multiple instruction set combinations. In some examples, processor 520 can be a microprocessor.
[0095] Memory 510 can be used to store instructions executed by processor 520 or data related to the execution of instructions. These instructions and / or data may include code for implementing some or all of the functions of one or more modules described in the embodiments of this application. The processor 520 of this disclosure embodiment can be used to execute instructions in memory 510 to implement the methods shown above. Memory 610 includes dynamic random access memory, static random access memory, flash memory, optical memory, or other memories well known to those skilled in the art.
[0096] Some embodiments of this application also provide a computer-readable storage medium storing a computer program that, when executed by a processor, describes the method described in the method embodiments.
[0097] Some embodiments of this application also provide a computer program product that, when run on a computer, causes the computer to perform the methods described in the method embodiments.
[0098] Some embodiments of this application also provide a vehicle, including a vehicle body and the aforementioned vehicle-mounted terminal, wherein the vehicle-mounted terminal is installed in the interior space of the vehicle body.
[0099] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For apparatus embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0100] It should be understood, in the several embodiments provided in this application, that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0101] In addition, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0102] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0103] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application. It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0104] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0105] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
Claims
1. A bus voltage calibration method, characterized in that, include: Real-time collection of bus voltage sampling values reported by multiple unit controllers; The calibration voltage value is obtained based on multiple bus voltage sampling values; The calibration voltage value is transmitted to each of the unit controllers so that each unit controller operates according to the calibration voltage value.
2. The bus voltage calibration method according to claim 1, characterized in that, Before obtaining the calibration voltage value based on the plurality of said bus voltage samples, the method further includes: The number of valid sampled values that meet the preset valid conditions among the multiple bus voltage sampled values is determined to be greater than the preset number threshold. The calibration voltage value is obtained based on multiple bus voltage samples, including: The calibration voltage value is obtained based on multiple valid sampled values.
3. The bus voltage calibration method according to claim 2, characterized in that, Determining the number of valid sample values that meet the preset valid conditions among the plurality of bus voltage sample values includes: Obtain the reference bus voltage value at the current moment; Obtain the deviation between each of the bus voltage sample values and the reference bus voltage base value; Bus voltage sample values with deviation values less than a preset deviation threshold are determined as valid sample values, and the number of valid sample values is counted.
4. The bus voltage calibration method according to claim 1, characterized in that, The step of transmitting the calibration voltage value to each of the unit controllers, so that each of the unit controllers operates according to the calibration voltage value, includes: The calibration voltage values are transmitted to target unit controllers that meet preset sampling fault conditions, so that each target unit controller switches to operate based on the calibration voltage values. or, The calibration voltage value is transmitted to each of the unit controllers, so that each unit controller switches to operate based on the calibration voltage value when it determines that it meets the preset sampling fault conditions.
5. The bus voltage calibration method according to claim 4, characterized in that, The methods for determining whether the preset sampling fault conditions are met include: The voltage deviation between the sampled bus voltage value of the target unit controller and the calibrated voltage value is acquired in real time; if the voltage deviation value exceeds a preset first deviation level and reaches a preset first duration period, the target unit controller is determined to meet the sampling fault condition; or, If the target unit controller triggers a preset sampling fault event and reaches a preset second duration period, the target unit controller is determined to meet the sampling fault condition.
6. The bus voltage calibration method according to claim 4, characterized in that, The unit controller is configured as follows: When operating based on the calibration voltage value, if it is determined that it meets the preset fault exit conditions, it switches to operating based on its own bus voltage sampling value.
7. The bus voltage calibration method according to claim 6, characterized in that, The determination that it meets the preset fault exit conditions includes: Real-time acquisition of the voltage deviation between the sampled value of its own bus voltage and the calibrated voltage value; If there is no preset sampling fault event and the voltage deviation value remains within the preset second deviation level and reaches the preset third duration, then it is determined that it meets the fault exit condition.
8. The bus voltage calibration method according to claim 7, characterized in that, The preset second deviation degree is less than the preset first deviation degree in the preset sampling fault condition, and the preset third duration period is greater than the preset first duration period and the preset second duration period in the preset sampling fault condition.
9. A vehicle-mounted terminal, characterized in that, Includes a bus voltage calibration device, the bus voltage calibration device comprising: The sampling and collection module is used to collect the bus voltage sampling values reported by multiple unit controllers in real time; wherein, the components where each of the unit controllers is located all rely on the same bus voltage to operate; The calibration acquisition module is used to acquire a calibration voltage value based on the multiple bus voltage sample values when it is determined that the multiple bus voltage sample values meet the preset preconditions. The calibration transmission module is used to transmit the calibration voltage value to each of the unit controllers, so that each of the unit controllers switches to a working mode that uses the calibration voltage value as the basis for control logic.
10. A vehicle, characterized in that, It includes a vehicle body and an in-vehicle terminal as described in claim 9, wherein the in-vehicle terminal is installed in the interior space of the vehicle body.