On-vehicle system
The in-vehicle system synchronizes current values using auxiliary battery sensors and control units to address desynchronization, ensuring accurate resistance calculation and timely abnormality notifications.
Patent Information
- Application Number
- JP2024054644
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-03-28
- Publication Date
- 2025-10-10
AI Technical Summary
In in-vehicle systems, time information transmitted by different transmitters may not be synchronized, leading to potential desynchronization issues.
An in-vehicle system with auxiliary battery, voltage and current sensors, and electronic control units that detect and store time-series data to ensure simultaneity of current values, allowing for synchronized data processing and accurate resistance calculation.
Ensures simultaneity of current values without relying on time synchronization, preventing erroneous determinations and enabling accurate resistance calculation and timely notification of abnormalities.
Smart Images

Figure 2025152645000001_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to an in-vehicle system. [Background technology]
[0002] The in-vehicle system described in Patent Document 1 includes an electronic control unit, a first transmitting device that transmits first time-dependent data including time data to the electronic control unit, and a second transmitting device that transmits second time-dependent data including time data to the electronic control unit. The electronic control unit ensures the simultaneity of the two time-dependent data by comparing the time data included in the first time-dependent data with the time data included in the second time-dependent data. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2005-201144 Summary of the Invention [Problem to be solved by the invention]
[0004] However, in an in-vehicle system such as that described in Patent Document 1, the time information transmitted by the first transmitter and the time information transmitted by the second transmitter may not be synchronized. In this case, even if the electronic control unit compares the two pieces of time information, synchronism may not be ensured. [Means for solving the problem]
[0005] In order to solve the above problems, the present invention provides an on-vehicle system including an auxiliary battery that supplies power to auxiliary devices of a vehicle, a first voltage sensor that detects a voltage value of the auxiliary battery as a first voltage value, a first current sensor that detects a current value of the auxiliary battery when the first voltage value is detected as a first current value, a second voltage sensor that detects a voltage value of the auxiliary battery as a second voltage value, a second current sensor that detects a current value of the auxiliary battery when the second voltage value is detected as a second current value, a first electronic control unit that acquires the first voltage value from the first voltage sensor and the first current value from the first current sensor, and a second electronic control unit that has a ring buffer and acquires the second voltage value from the second voltage sensor and the second current value from the second current sensor, wherein the first electronic control unit transmits the first voltage value and and the second electronic control unit receives the first voltage value and the first current value from the first electronic control unit; and when a combination of the first voltage value and the first current value is defined as a first set and a combination of the second voltage value and the second current value is defined as a second set, stores time series data of a predetermined specified period of either the first set or the second set in the ring buffer as time series data of a buffer set; and identifies, among the voltage values included in the time series data of the buffer set, the current value included in the buffer set that has a voltage value closest to a voltage value included in a non-buffer set that is a set different from the buffer set among the first set and the second set, as a current value detected simultaneously with the current value included in the non-buffer set.
[0006] According to the above configuration, even if the time information when the first current value is detected and the time information when the second current value is detected are not synchronized, it is possible to prevent the combination of the first current value and the second current value from losing synchronism. [Brief explanation of the drawings]
[0007] [Figure 1]FIG. 1 is a schematic diagram showing an in-vehicle system. [Figure 2] FIG. 2 is a flowchart showing a series of processes including the transmission of the first set. [Figure 3] FIG. 3 is a flowchart showing a series of processes including the generation of the second set. [Figure 4] FIG. 4 is a flowchart showing a series of processes including calculation of the resistance value of the auxiliary battery. DETAILED DESCRIPTION OF THE INVENTION
[0008] (One embodiment) An embodiment of an in-vehicle system will be described below with reference to the drawings. <Outline of the in-vehicle system> 1, a vehicle 10 includes an on-board system 20. The on-board system 20 includes an auxiliary battery 30, a first voltage sensor 41, a second voltage sensor 42, a first current sensor 51, and a second current sensor 52.
[0009] The auxiliary battery 30 supplies power to the auxiliary devices of the vehicle 10. The auxiliary battery 30 is a secondary battery. For example, the auxiliary battery 30 is a lithium-ion battery. The auxiliary devices of the vehicle 10 are, for example, an electric oil pump, a navigation system, and lamps.
[0010] The first voltage sensor 41 detects the voltage value of the output voltage of the auxiliary battery 30 as a first voltage value V1. The second voltage sensor 42 detects the voltage value of the output voltage of the auxiliary battery 30 as a second voltage value V2. The second voltage sensor 42 detects the second voltage value V2 at the same detection location as the first voltage sensor 41 detects the first voltage value V1. The detection cycle of the first voltage sensor 41 is the same as the detection cycle of the second voltage sensor 42.
[0011] The first current sensor 51 detects the value of the current flowing through the auxiliary battery 30 when the first voltage value V1 is detected as a first current value I1. The first current sensor 51 detects the current value during discharging as a positive value and the current value during charging as a negative value.
[0012] The second current sensor 52 detects the value of the current flowing through the auxiliary battery 30 when the second voltage value V2 is detected as a second current value I2. The second current sensor 52 detects the current value during discharging as a positive value and the current value during charging as a negative value. The detection cycle of the first current sensor 51 is the same as the detection cycle of the second current sensor 52.
[0013] The in-vehicle system 20 includes a first electronic control unit 60, a second electronic control unit 70, and a notification unit 80. The first electronic control unit 60 and the second electronic control unit 70 are capable of communicating with each other via a network such as a CAN (Controller Area Network).
[0014] The first electronic control unit 60 acquires a first voltage value V1 from the first voltage sensor 41. The first electronic control unit 60 acquires a first current value I1 from the first current sensor 51. The first electronic control unit 60 includes a CPU 61, a peripheral circuit 62, a RAM 63, a storage device 64, and a bus 65. The bus 65 connects the CPU 61, the peripheral circuit 62, the RAM 63, and the storage device 64 so that they can communicate with each other. The CPU 61 processes information by executing various programs stored in the storage device 64. The peripheral circuit 62 includes a circuit that generates time information, a circuit that generates a clock signal that regulates internal operation, a power supply circuit, a reset circuit, etc. The RAM 63 stores data generated as the CPU 61 operates. The storage device 64 stores a transmission program PR1 of the first set ST1 executed by the CPU 61.
[0015] The second electronic control unit 70 obtains a second voltage value V2 from the second voltage sensor 42. The second electronic control unit 70 obtains a second current value I2 from the second current sensor 52. The second electronic control unit 70 receives a first set ST1 including a first voltage value V1 and a first current value I1 from the first electronic control unit 60.
[0016] The second electronic control device 70 includes a CPU 71, a peripheral circuit 72, a RAM 73, a storage device 74, and a bus 75. The bus 75 connects the CPU 71, the peripheral circuit 72, the RAM 73, and the storage device 74 so that they can communicate with one another.
[0017] The CPU 71 performs information processing by executing various programs stored in the storage device 74. The peripheral circuit 72 includes a circuit that generates time information, a circuit that generates a clock signal that regulates internal operations, a power supply circuit, a reset circuit, etc. In this embodiment, the time information generated by the peripheral circuit 72 is not synchronized with the time information generated by the peripheral circuit 62. The storage device 74 stores a storage program PR2 for the buffer set STB and a resistance value calculation program PR3 for the auxiliary battery 30, which are executed by the CPU 71.
[0018] The RAM 73 stores data generated as the CPU 71 operates. The RAM 73 has a ring buffer 73A. The ring buffer 73A stores time-series data for a predetermined specified period of the second set ST2, which is a combination of the second voltage value V2 and the second current value I2 acquired by the second electronic control unit 70, as time-series data for the buffer set STB. The buffer set STB is a combination of the voltage values and the current values stored in the ring buffer 73A.
[0019] The notification device 80 issues an abnormality notification indicating that an abnormal state has occurred. The notification device 80 has, for example, a display, and is capable of displaying an image indicating the abnormality notification on the display.
[0020] Next, a series of processes including the generation of the first set ST1 of the first electronic control unit 60 will be described. The CPU 61 starts executing the transmission program PR1 of the first set ST1 at a predetermined transmission period. The transmission period is, for example, 100 milliseconds.
[0021] 2, when the CPU 61 starts executing the transmission program PR1, it first performs the process of step S11. In step S11, the CPU 61 acquires a first voltage value V1 and a first current value I1. Specifically, the CPU 61 acquires the first voltage value V1 from the first voltage sensor 41. The CPU 61 also acquires the first current value I1 from the first current sensor 51. Thereafter, the CPU 61 proceeds to the process of step S12.
[0022] In step S12, the CPU 61 generates a first set ST1. The first set ST1 is a combination of a first voltage value V1 and a first current value I1. That is, the first voltage value V1 and the first current value I1 included in the first set ST1 are values detected at the same time. Then, the CPU 61 proceeds to step S13.
[0023] In step S13, the CPU 61 transmits the first set ST1 to the second electronic control unit 70. Thereafter, the CPU 61 ends the current series of processes. In this way, the CPU 61 repeats the series of processes at the transmission cycle, and thereby transmits the first set ST1 to the second electronic control unit 70 at the transmission cycle. In this embodiment, the transmission cycle is longer than the detection cycles of the first voltage sensor 41 and the first current sensor 51.
[0024] Next, a series of processes including generation of the second set ST2 of the second electronic control unit 70 will be described. When the CPU 71 acquires the second voltage value V2 and the second current value I2, it starts executing the stored program PR2 of the buffer set STB. That is, the CPU 71 repeatedly executes the stored program PR2 at the detection cycles of the second voltage sensor 42 and the second current sensor 52.
[0025] 3, when the CPU 71 starts executing the stored program PR2 of the buffer set STB, it first starts the process of step S21. In step S21, the CPU 71 generates a second set ST2. The second set ST2 is a combination of a second voltage value V2 and a second current value I2. Thereafter, the CPU 71 proceeds to step S22.
[0026] In step S22, the CPU 71 deletes buffer sets STB older than a predetermined period from the time series data of the buffer sets STB stored in the ring buffer 73A. Thereafter, the CPU 71 proceeds to step S23. Note that if no buffer sets STB older than the predetermined period are stored from the time series data of the buffer sets STB, the CPU 71 proceeds to step S23 without performing the process of step S22.
[0027] In step S23, the CPU 71 stores the second set ST2 generated in step S21 in the ring buffer 73A as the latest buffer set STB. Then, the CPU 71 ends this series of processes. In this way, the CPU 71 repeats the series of processes to store the time series data of the specified period of the second set ST2 in the ring buffer 73A as the time series data of the buffer set STB.
[0028] Next, a series of processes including calculation of the resistance value of the auxiliary battery 30 by the second electronic control unit 70 will be described. When the CPU 71 acquires the first set ST1 as the non-buffer set STN, it starts execution of a resistance value calculation program PR3 for the auxiliary battery 30. In this embodiment, the first set ST1 is a non-buffer set STN that is different from the second set ST2, which is the buffer set STB.
[0029] As shown in FIG. 4, when the CPU 71 starts executing the resistance value calculation program PR3, it first starts processing in step S31. In step S31, the CPU 71 references the ring buffer 73A to identify a specific buffer set STBS having the same timing as the non-buffer set STN. The specific buffer set STBS is a buffer set STB having, among the voltage values included in the time-series data of the buffer set STB, a voltage value closest to the voltage value included in the non-buffer set STN. Specifically, the CPU 71 selects, from the voltage values of the multiple buffer sets STB stored in the ring buffer 73A, the voltage value closest to the voltage value of the non-buffer set STN. The CPU 71 then identifies the selected buffer set STB having the closest voltage value as the specific buffer set STBS. The CPU 71 then proceeds to step S32.
[0030] In step S32, the CPU 71 identifies the current value included in the specific buffer set STBS as the current value detected simultaneously with the current value included in the non-buffer set STN, and then the CPU 71 proceeds to step S33.
[0031] In step S33, the CPU 71 calculates a deviation DD between the current values included in the non-buffer set STN and the current values included in the specific buffer set STBS. Specifically, the CPU 71 calculates the absolute value of the difference between the current values included in the non-buffer set STN and the current values included in the specific buffer set STBS as the deviation DD. Thereafter, the CPU 71 proceeds to step S34.
[0032] In step S34, the CPU 71 determines whether the deviation DD is equal to or less than a predetermined specified deviation DDR. The specified deviation DDR is determined in advance through testing or simulation as the maximum deviation when the first current sensor 51 and the second current sensor 52 are in a normal state. If the deviation DD is equal to or less than the specified deviation DDR (S34: YES), the CPU 71 proceeds to step S35.
[0033] In step S35, the CPU 71 determines that the first current sensor 51 and the second current sensor 52 are in a normal state. After that, the CPU 71 advances the process to step S36. In step S36, the CPU 71 calculates the resistance value of the auxiliary battery 30. Specifically, first, the CPU 71 sets the current value included in the specific buffer set STBS or the current value included in the non-buffer set STN as the normal current value. Next, the CPU 71 sets the current value included in the specific buffer set STBS or the voltage value included in the non-buffer set STN as the normal voltage value. Next, the CPU 71 calculates the resistance value of the auxiliary battery 30 based on the normal current value and the normal voltage value. Thereafter, the CPU 71 ends this series of processes.
[0034] Meanwhile, when the deviation DD is greater than the specified deviation DDR (S34: NO), the CPU 71 proceeds to step S41. In step S41, the CPU 71 determines that at least one of the first current sensor 51 and the second current sensor 52 is in an abnormal state. Thereafter, the CPU 71 proceeds to step S42.
[0035] In step S42, the CPU 71 outputs a request to issue an abnormality notification indicating that an abnormal state exists to the notification device 80. In response, the notification device 80 issues an abnormality notification indicating that an abnormal state exists. Thereafter, the CPU 71 ends this series of processes.
[0036] (Operation of the embodiment) In the above embodiment, the second electronic control unit 70 repeatedly acquires the second set ST2 at a detection cycle. As a result, the second electronic control unit 70 stores the time-series data of the second set ST2 for a specified period in the ring buffer 73A as time-series data of the buffer set STB. The second electronic control unit 70 then receives the first set ST1 at a transmission cycle. As a result, the second electronic control unit 70 identifies the specific buffer set STBS by comparing the non-buffer set STN with the buffer set STB, using the first set ST1 as the non-buffer set STN.
[0037] (Effects of the embodiment) (1) According to the above embodiment, the second electronic control unit 70 compares the voltage values included in the specific buffer set STBS with the voltage values included in the non-buffer set STN. This allows the second electronic control unit 70 to ensure simultaneity between the current values included in the specific buffer set STBS and the current values included in the non-buffer set STN. Therefore, the in-vehicle system 20 can identify a combination of the first current value I1 and the second current value I2 that ensures simultaneity without relying on a comparison of the time information when the first current value I1 was acquired and the time information when the second current value I2 was acquired.
[0038] (2) According to the above embodiment, the second electronic control unit 70 compares the deviation DD between the current values included in the specific buffer set STBS and the current values included in the non-buffer set STN, which ensure simultaneity, with the specified deviation DDR. If the deviation DD is greater than the specified deviation DDR, the second electronic control unit 70 determines that at least one of the first current sensor 51 and the second current sensor 52 is in an abnormal state. This prevents an erroneous determination of an abnormal state based on the deviation DD between two current values that do not ensure simultaneity.
[0039] (3) According to the above embodiment, when the second electronic control unit 70 determines that an abnormality has occurred, the notification device 80 issues an abnormality notification. As a result, for example, by notifying the user of the vehicle 10 of the abnormality, it is possible to encourage the user to take measures to resolve the abnormality, such as taking the vehicle 10 to a dealer.
[0040] (4) According to the above embodiment, after determining that the battery is in a normal state, the second electronic control unit 70 determines the current value included in the specific buffer set STBS or the current value included in the non-buffer set STN as the normal current value. The second electronic control unit 70 also determines the voltage value included in the specific buffer set STBS or the voltage value included in the non-buffer set STN as the normal voltage value. The second electronic control unit 70 then calculates the resistance value of the auxiliary battery 30 based on the normal current value and normal voltage value. Thus, according to the above embodiment, the second electronic control unit 70 can calculate the resistance value of the auxiliary battery 30 using the current and voltage values determined to be in a normal state using two sets that ensure simultaneity. Therefore, by using a set of current and voltage values that does not ensure simultaneity, the second electronic control unit 70 can prevent erroneous calculation of the resistance value of the auxiliary battery 30.
[0041] (5) In the above embodiment, the time series data of the buffer set STB is time series data of the second set ST2 for a specified period. The detection period, which is the period during which the second electronic control unit 70 acquires the second set ST2, is longer than the transmission period, which is the period during which the second electronic control unit 70 receives the first set ST1 from the first electronic control unit 60. In other words, according to the above embodiment, of the first set ST1 and the second set ST2, the second set ST2, which is acquired by the second electronic control unit 70 at a shorter period, is set as the buffer set STB. Therefore, the time series data of the buffer set STB is more likely to include values detected simultaneously with the non-buffer set STN.
[0042] (Other embodiments) This embodiment can be modified as follows: This embodiment and the following modifications can be combined and implemented within the scope of technical compatibility.
[0043] The second electronic control unit 70 does not have to calculate the resistance value of the auxiliary battery 30. That is, the second electronic control unit 70 may omit the process of step S36. In this case, another device such as the notification device 80 may perform the process of step S36.
[0044] The second electronic control unit 70 does not have to output the abnormality notification. That is, the second electronic control unit 70 may omit the process of step S42. In this case, another device such as the notification device 80 may perform the process of step S42.
[0045] The second electronic control unit 70 does not have to calculate the deviation DD. Also, the second electronic control unit 70 does not have to determine that an abnormal state exists. That is, the second electronic control unit 70 may omit the processes of steps S34, S35, and S41. In this case, another device such as the notification device 80 may perform the processes of steps S34, S35, and S41.
[0046] The first set ST1 may be the buffer set STB and the second set ST2 may be the non-buffer set STN. Even in this case, the second electronic control unit 70 can identify a combination of current values in the first set ST1 and the second set ST2 that ensures simultaneity by comparing the voltage values in the first set ST1 and the second set ST2.
[0047] The deviation DD is not limited to the absolute value of the difference between the current value included in the specific buffer set STBS and the current value included in the non-buffer set STN. For example, the deviation DD may be a value obtained by dividing the current value included in the specific buffer set STBS by the current value included in the non-buffer set STN. [Explanation of symbols]
[0048] 10...vehicle, 20...in-vehicle system, 30...auxiliary battery, 41...first voltage sensor, 42...second voltage sensor, 51...first current sensor, 52...second current sensor, 60...first electronic control unit, 70...second electronic control unit, 73A...ring buffer, 80...notification device, DD...deviation, DDR...specified deviation, I1...first current value, I2...second current value, ST1...first set, ST2...second set, STB...buffer set, STN...non-buffer set, V1...first voltage value, V2...second voltage value
Claims
1. an auxiliary battery that supplies power to auxiliary devices of the vehicle; a first voltage sensor that detects a voltage value of the auxiliary battery as a first voltage value; a first current sensor that detects, as a first current value, a current value of the auxiliary battery when the first voltage value is detected; a second voltage sensor that detects a voltage value of the auxiliary battery as a second voltage value; a second current sensor that detects, as a second current value, a current value of the auxiliary battery when the second voltage value is detected; a first electronic control unit that acquires the first voltage value from the first voltage sensor and the first current value from the first current sensor; a second electronic control unit having a ring buffer, the second electronic control unit acquiring the second voltage value from the second voltage sensor and the second current value from the second current sensor, the first electronic control unit transmits the first voltage value and the first current value to the second electronic control unit; The second electronic control unit is receiving the first voltage value and the first current value from the first electronic control unit; when a combination of the first voltage value and the first current value is defined as a first set and a combination of the second voltage value and the second current value is defined as a second set, storing time series data of either the first set or the second set for a predetermined specified period in the ring buffer as time series data of a buffer set; Identifying a current value included in the buffer set having a voltage value closest to a voltage value included in a non-buffer set, which is a set different from the buffer set among the first set and the second set, among the voltage values included in the time-series data of the buffer set, as a current value detected simultaneously with the current value included in the non-buffer set; Run In-vehicle systems.
2. The second electronic control unit is Calculating a degree of discrepancy between a current value included in the identified buffer set and a current value included in the non-buffer set; determining whether the calculated deviation is greater than a predetermined deviation; determining that at least one of the first current sensor and the second current sensor is in an abnormal state when the deviation is greater than the specified deviation; Do more The in-vehicle system according to claim 1 .
3. a notification device that notifies the abnormality notification indicating the abnormal state; The second electronic control unit further outputs the abnormality notification from the notification device when the deviation degree is greater than the specified deviation degree. The in-vehicle system according to claim 2 .
4. The second electronic control unit is When the deviation is equal to or less than the specified deviation, a resistance value of the auxiliary battery is calculated based on a normal current value, which is the specified current value included in the buffer set or the specified current value included in the non-buffer set, and a normal voltage value, which is the specified current value included in the buffer set or the specified voltage value included in the non-buffer set. The in-vehicle system according to claim 2 .
5. the time series data of the buffer set is the time series data of the second set for the specified period, The period during which the second electronic control unit acquires the second set is longer than the period during which the second electronic control unit receives the first set from the first electronic control unit. The in-vehicle system according to claim 1 .
Citation Information
Patent Citations
Battery control device and battery control method
JP2009292282A
Battery state estimating device and battery information notifying device
JP2011257214A
Power storage system
JP2020177813A
Vehicle control system
JP2005201144A