control device
The control device corrects voltage errors in vehicles with multiple power supplies, enhancing detection accuracy by adjusting 3.3V and 5V voltages, addressing inaccuracies in analog circuits.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- TOYOTA JIDOSHA KK
- Filing Date
- 2024-10-18
- Publication Date
- 2026-05-01
AI Technical Summary
Existing control devices for vehicle power supply face increased detection errors due to the use of different voltage power supplies (3.3V and 5V) leading to inaccuracies in analog detection circuits.
A control device with a microcontroller that performs error correction on both 3.3V and 5V voltage power supplies, correcting for initial variations, temperature changes, and degradation by calculating offset differences and using resistors to adjust voltage readings.
Improves detection accuracy in analog circuits by reducing errors associated with multiple power supplies, especially in vehicles with varying load conditions.
Smart Images

Figure 2026072184000001_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a control device for controlling the power supply of a vehicle.
Background Art
[0002] Patent Document 1 discloses a voltage detection circuit that enables detection of an input voltage with high precision by inputting a high-precision power supply from the outside to a microcomputer for a power supply circuit with low voltage accuracy, comparing the power supply voltages of both, and performing correction.
Prior Art Documents
Patent Documents
[0003]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0004] In a control device (analog circuit) for controlling the power supply of a vehicle, an analog detection circuit that uses a 5V voltage different from the 3.3V voltage used as the power supply of a microcomputer for driving may be connected to an external interface as a load. For this reason, it is necessary to prepare a control device having two configurations of a power supply circuit for a 3.3V voltage and a power supply circuit for a 5V voltage. However, since the 3.3V voltage and the 5V voltage are generated individually, there is a problem that the detection error in the analog detection circuit increases due to the respective voltage errors.
[0005] The present disclosure has been made in view of the above problems, and an object thereof is to provide a control device that can achieve both combined use of two types of voltage power supplies and high-precision analog detection.
Means for Solving the Problems
[0006] To solve the above problems, one aspect of the disclosed technology is a control device for controlling the power supply of a vehicle, comprising: a microcontroller for controlling the vehicle; a first power supply circuit unit for generating a first voltage power supply for driving the microcontroller from a main power supply; and a second power supply circuit unit for generating a second voltage power supply for driving an external load connected to the control device from a main power supply, wherein the microcontroller performs error correction of the first voltage and / or the second voltage based on the difference between the set value of the first voltage and the actual value output from the first power supply circuit unit and the difference between the set value of the second voltage and the actual value output from the second power supply circuit unit. [Effects of the Invention]
[0007] According to the control device of the present disclosure, it is possible to improve the detection accuracy in the analog detection circuit while using both a 3.3V voltage power supply and a 5V voltage power supply. [Brief explanation of the drawing]
[0008] [Figure 1] Schematic diagram of a control device according to the first embodiment of this disclosure [Figure 2] Processing flowchart of error correction control performed by the control device according to the first embodiment [Figure 3] A diagram illustrating the difference between the set value and the actual value of the power supply voltage. [Figure 4] Schematic diagram of a control device according to the second embodiment of this disclosure [Figure 5] Error correction control processing flowchart performed by the control device according to the second embodiment [Figure 6] Error correction control processing flowchart using the first application example [Figure 7] Schematic diagram of the control device according to the second application example. [Figure 8] Schematic diagram of the control device according to the third application example. [Modes for carrying out the invention]
[0009] The control device disclosed herein corrects the offset error for each vehicle trip for two different power supplies: a power supply for the external load (5V) and a power supply for the microcontroller core (3.3V). This allows for correction of not only initial variations but also variations due to temperature and degradation, enabling highly accurate analog detection. Hereinafter, one embodiment of this disclosure will be described in detail with reference to the drawings.
[0010] <First Embodiment> [composition] Figure 1 is a schematic diagram illustrating an example of the configuration of a control device 100 and its peripheral components according to a first embodiment of the present disclosure. The control device 100 illustrated in Figure 1 is an analog circuit comprising a first power supply circuit unit 110, a second power supply circuit unit 120, and a microcontroller 130. A sensor 150 is connected to the microcontroller 130. This control device 100 can be mounted, for example, in a vehicle.
[0011] The first power supply circuit 110 is an electrical circuit (12V to 3.3V step-down circuit) that receives the "+B power supply (12V voltage)," which is the main power supply supplied to the vehicle, and generates a 3.3V voltage (first voltage) power supply (hereinafter referred to as "3.3V power supply") from this +B power supply. This 3.3V power supply is the power supply (power supply for the microcontroller core) used to drive the microcontroller 130. Note that 3.3V is just an example, and any other voltage value that can drive the microcontroller 130 may be used.
[0012] The second power supply circuit 120 is an electrical circuit (12V to 5V step-down circuit) that receives a +B power supply and generates a 5V voltage (second voltage) power supply (hereinafter referred to as the "5V power supply") from this +B power supply. This 5V power supply is used to drive external loads such as sensors 150 connected to the 5V interface of the control device 100 (load power supply). Note that 5V is just an example, and any other voltage value that can drive an external load may be used.
[0013] The microcomputer 130 is configured to control a predetermined operation in a vehicle driven by a 3.3V power supply. In particular, in this embodiment, the microcomputer 130 performs error correction for 3.3V voltage and 5V voltage. In addition to the 3.3V power supply for its own drive, this microcomputer 130 also inputs a 5V power supply and recognizes two different power supply voltages. The error correction performed by the microcomputer 130 will be described later.
[0014] This control device 100 is typically configured as an electronic control unit (e.g., integrated ECU) including a processor such as the microcomputer 130, a memory, and an input / output interface. This electronic control unit realizes the above-described functions by the processor reading and executing a program stored in the memory.
[0015] [Control] Referring further to FIG. 2, the control executed by the control device 100 according to the first embodiment of the present disclosure will be described. FIG. 2 is a flowchart for explaining the processing procedure of error correction control executed by each component of the control device 100. The error correction control illustrated in FIG. 2 is repeatedly executed.
[0016] (Step S201) The +B power supply (vehicle system) of the vehicle is turned on. Thereby, the +B power supply, which is the main power supply, is supplied to the control device 100. When the +B power supply is turned on, the process proceeds to step S202.
[0017] (Step S202) The control device 100 completes startup. Thereby, a 3.3V power supply and a 5V power supply are generated, and the microcomputer 130 also starts operating. When the startup of the control device 100 is completed, the process proceeds to step S203.
[0018] (Step S203) The microcontroller 130 acquires (reads) the 3.3V offset and the 5V offset. The 3.3V offset is the difference between the set value (ideal value) of 3.3V and the actual value of 3.3Vad that is actually output from the first power supply circuit 110, as shown in Figure 3(a) (3.3V offset = 3.3V - 3.3Vad). The 5V offset is the difference between the set value (ideal value) of 5V and the actual value of 5Vad that is actually output from the second power supply circuit 120, as shown in Figure 3(b) (5V offset = 5V - 5Vad). Once the 3.3V offset and the 5V offset are acquired, the process proceeds to step S204.
[0019] (Step S204) The microcontroller 130 performs error correction for the 3.3V and 5V voltages. This error correction is performed, for example, by using resistors R1, R2, and Rsense related to sensor 150, and calculating the voltage Vsense based on the following formula. Vsense=(5Vad+5Voffset)×R1 / (R1+R2 / / Rsense) Then, the microcontroller 130's reading Value is determined according to the voltage Vsense, and the process is executed as follows. Value=4096LSB×Vsense / (3.3Vad+3.3Voffset) Once error correction is performed for the 3.3V and 5V voltages, the process proceeds to step S205.
[0020] (Step S205) The vehicle is put into the Ready-ON state. This makes the vehicle ready to drive (trip start state). Once the vehicle is in the Ready-ON state, the process proceeds to step S206.
[0021] (Step S206) The trip is performed until the vehicle is in the Ready-OFF state. The process then proceeds to step S207.
[0022] (Step S207) The vehicle is put into the Ready-OFF state. This makes the vehicle inoperable (trip end state). Once the vehicle is in the Ready-OFF state, the process proceeds to step S208.
[0023] (Step S208) The vehicle's +B power supply (vehicle system) is turned OFF. This terminates the supply of the main power supply, the +B power supply, to the control device 100. Once the +B power supply is turned OFF, the process proceeds to step S209.
[0024] (Step S209) The control device 100 executes a predetermined termination sequence. Once the termination sequence by the control device 100 is complete, the process returns to step S201 and waits for the vehicle's +B power supply to be turned ON.
[0025] [Effects / Effects] As described above, the control device 100 according to the first embodiment of this disclosure enables high-precision analog value detection using a 5V driven external load while utilizing a 3.3V driven microcontroller 130 that is compatible with reducing the vehicle's dark current (standby current). In other words, the control device 100 can reduce the detection error of analog detection circuits using multiple power supplies. Furthermore, by correcting for each trip of the vehicle, the control device 100 can correct not only the initial variation of power supply variation but also the temperature characteristic variation and degradation variation one by one.
[0026] <Second Embodiment> [composition] Figure 4 is a schematic diagram illustrating an example of the configuration of a control device 400 and its peripheral components according to a second embodiment of the present disclosure. The control device 400 illustrated in Figure 4 is an analog circuit comprising a first power supply circuit unit 110, a second power supply circuit unit 120, and a microcontroller 130. Multiple external loads, such as a sensor 150, load 1_460, and load 2_470, are connected to the microcontroller 130. This control device 400 can be mounted, for example, in a vehicle.
[0027] The control device 400 according to this second embodiment differs from the control device 100 according to the first embodiment in that loads 1_460 and 2_470 are connected to the microcontroller 130, but otherwise has the same configuration.
[0028] When multiple external loads such as load 1_460 and load 2_470 are connected to the microcontroller 130, the 5V offset of the 5V power supply is more likely to fluctuate when the operation of the external loads changes. Therefore, in the control device 400 according to the second embodiment, when the operation of the external loads changes, error correction is performed only for the 5V voltage as follows.
[0029] [control] The control performed by the control device 400 according to the second embodiment of this disclosure will be described with further reference to Figure 5. Figure 5 is a flowchart illustrating the processing procedure of the error correction control performed by each configuration of the control device 400. In Figure 5, the same processing as in Figure 2 is given the same step number and the explanation is omitted.
[0030] (Step S205) The vehicle is put into the Ready-ON state. This makes the vehicle ready to drive (trip start state). Once the vehicle is in the Ready-ON state, the process proceeds to step S401.
[0031] (Step S401) The microcontroller 130 determines whether the vehicle trip has finished or not. If the vehicle trip has finished (step S401, yes), the process proceeds to step S207; if the vehicle trip has not finished (step S401, no), the process proceeds to step S402.
[0032] (Step S402) The microcontroller 130 determines whether or not the external load has changed. In other words, the microcontroller 130 determines whether or not it has detected an increase or decrease in the load of the analog detection circuit. This determination is made to determine whether or not to perform error correction on the 5V voltage, because the offset voltage of the 5V power supply for the external load tends to fluctuate depending on the load. If the external load has changed (an increase / decrease in the load of the analog detection circuit has been detected) (step S402, yes), the process proceeds to step S403. If the external load has not changed (an increase / decrease in the load of the analog detection circuit has not been detected) (step S402, no), the process proceeds to step S401.
[0033] (Step S403) The microcontroller 130 only performs error correction for the 5V voltage. This error correction is performed, for example, by using resistors R1, R2, and Rsense related to sensor 150, and calculating the voltage Vsense based on the following formula. Vsense=(5Vad+5Voffset)×R1 / (R1+R2 / / Rsense) Then, the microcontroller 130's reading Value is determined according to the voltage Vsense, and the process is executed as follows. Value = 4096LSB × Vsense / 3.3Vad Once error correction is performed for the 3.3V and 5V voltages, the process proceeds to step S401.
[0034] [Effects / Effects] As described above, the control device 400 according to the second embodiment of this disclosure, in addition to the effects of the control device 100 according to the first embodiment described above, can reduce detection errors in response to concerns about increased errors due to load fluctuations caused by the connection of multiple loads, as the control device 400 becomes an integrated ECU.
[0035] <First Application Example> An example of an application in which the error correction of 3.3V and 5V voltages performed by the control device 100 according to the first embodiment described above is performed at the time of vehicle shipment from the factory will be explained.
[0036] [control] Figure 6 is a flowchart illustrating the error correction control process performed by the control device 100 based on the first application example. Note that in Figure 6, processes identical to those in Figure 2 are given the same step numbers and their explanations are omitted.
[0037] (Step S204) The microcontroller 130 performs error correction for the 3.3V and 5V voltages. This error correction is as described above. Once the error correction for the 3.3V and 5V voltages is performed, the process proceeds to step S601.
[0038] (Step S601) The vehicle undergoes factory inspections and software programming. Once the inspections and software programming are complete, the process proceeds to step S208.
[0039] [Effects / Effects] As described above, according to the first application example of this disclosure, initial variations can be corrected by performing error correction at the time of vehicle shipment from the factory. Compared to correction in one trip, since the correction is performed only once at the time of factory shipment, there is no increase in the processing load or startup time of the ECU, and accuracy can be improved.
[0040] <Second application example> Figure 7 shows a specific example in which multiple external loads using a 5V power supply are connected to the microcontroller 430 (MCU, etc.), as described in the control device 400 (integrated ECU, etc.) of the second embodiment described above.
[0041] In the example shown in Figure 7, the microcontroller 430 is connected to analog detection circuits 1 (AD circuit 1) such as an exhaust gas sensor, analog detection circuit 2 (AD circuit 2) such as an outside temperature sensor, analog detection circuit 3 (AD circuit 3) such as a solar radiation sensor, and analog detection circuit 4 (AD circuit 4) such as a volume switch.
[0042] Thus, even when the control device 400 (integrated ECU) has multiple analog detection circuits using multiple power supplies, the detection accuracy of all analog detection circuits using multiple power supplies in the control device 400 (integrated ECU) can be improved.
[0043] <Third application example> Figure 8 shows a schematic diagram illustrating an example of the configuration of a control device 800 and its peripheral parts according to the third application example. The control device 800 illustrated in Figure 8 differs from the control device 400 according to the second embodiment described above in the configuration of the first power supply circuit section 810.
[0044] The first power supply circuit 810 is an electrical circuit (5V to 3.3V step-down circuit) that receives the 5V power supply generated by the second power supply circuit 120 and generates a 3.3V power supply (first voltage) from this 5V power supply. This 3.3V power supply is used to drive the microcontroller 130 (power supply for the microcontroller core).
[0045] As in this third application example, even if the analog circuit is constructed using a configuration that generates a 5V power supply from the main power supply (+B power supply) and a configuration that generates a 3.3V power supply from the generated 5V power supply, it is possible to correct the errors of the 3.3V and 5V voltages.
[0046] Although one embodiment of the disclosed technology has been described above, the disclosure can be understood as a control device, a method performed by a control device comprising a processor and memory, a program for performing this method, a computer-readable non-temporary storage medium storing this program, and a vehicle equipped with the control device. [Industrial applicability]
[0047] The control device described herein can be used in cases where it is desirable to achieve both the simultaneous use of two types of voltage power supplies and high accuracy of analog detection. [Explanation of symbols]
[0048] 100, 400, 800 control devices 110, 810 1st power supply circuit section 120 2nd power supply circuit section 130, 430 microcontrollers 460, 470 load
Claims
1. A control device for controlling the power supply of a vehicle, A microcontroller that controls the vehicle, A first power supply circuit unit generates a first voltage power supply for driving the microcontroller from the main power supply, The control device is equipped with a second power supply circuit that generates a second voltage power supply from the main power supply for driving an external load connected to the control device, The microcontroller is a control device that corrects errors in the first voltage and / or the second voltage based on the difference between the set value of the first voltage and the actual value output from the first power supply circuit and the difference between the set value of the second voltage and the actual value output from the second power supply circuit.
2. The control device according to claim 1, wherein the microcontroller, when it detects a fluctuation in the external load, performs error correction of the second voltage based on the difference between the ideal value of the second voltage and the actual value output from the second power supply circuit.
3. The control device according to claim 1 or 2, wherein the microcontroller performs the error correction for each trip from when the vehicle system is turned ON until it is turned OFF.
4. The control device according to claim 1 or 2, wherein the microcontroller performs the error correction when the vehicle is shipped from the factory.
Citation Information
Patent Citations
Circuit and method for detecting input voltage
JP2001282368A