Electric vehicle
By using offset learning processing technology in electric vehicles and adjusting the voltage threshold, the problem of low accuracy of access connector determination in the prior art is solved, and high-precision connector installation judgment is achieved.
Patent Information
- Application Number
- CN202411091749.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-11-07
- Filing Date
- 2024-08-09
- Publication Date
- 2025-05-09
AI Technical Summary
When the prior art determines whether a connector is installed on the electric vehicle access portal, due to the predetermined potential range and threshold setting, it is difficult to accommodate internal circuit errors and detection errors, resulting in a decrease in determination accuracy.
By adopting the offset learning process, the first detection circuit detects the open and closed state of the cover, and the second detection circuit outputs a voltage indicating the connector installation state. The control device calculates the correction value at a specific time and adjusts the voltage threshold to improve the determination accuracy.
It realizes high-precision determination of whether a connector is installed on the access port, reduces the situation of misjudgment and improves the reliability of the charging process.
Smart Images

Figure CN119953207A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to electric vehicles. Background Art
[0002] In an electric vehicle that uses an electric motor such as a pure electric vehicle or a plug-in hybrid electric vehicle as a driving source, a vehicle-mounted power storage device that supplies power to the driving source is charged using a power source external to the electric vehicle (hereinafter referred to as external charging). This external charging is performed, for example, by installing (connecting) a connector connected to an external power source to an inlet provided in the electric vehicle. Therefore, it is required to correctly determine whether a connector is installed at the inlet.
[0003] Japanese Patent Application Laid-Open No. 2021-126009 discloses a technique for determining the type of connector and whether the connector is mounted in the inlet based on the potential of a signal provided via the inlet when the connector is mounted in the inlet. Summary of the invention
[0004] When judging whether a connector is installed at the access port based on the potential of a signal provided via the access port as described above, a predetermined range and a threshold value within the predetermined range are set as the range that the potential can take. On the other hand, if the vehicle side and the connector side consider compatibility, it is required to allow certain errors such as errors in resistance of the internal circuit, detection errors on the vehicle side, etc. However, when the range of potentials that can be taken due to the allowable error exceeds the predetermined range, it may be impossible to set the threshold value for judging whether a connector is installed at the access port.
[0005] The present disclosure has been made to solve the above-mentioned problems, and an object of the present disclosure is to provide an electric vehicle that can accurately determine whether a connector is attached to an inlet.
[0006] An electric vehicle according to one aspect of the present disclosure includes:
[0007] an access port, covered by a cover, having a shape capable of mounting a connector of an external device;
[0008] A first detection circuit detects the open or closed state of the cover;
[0009] a second detection circuit that outputs a voltage indicating whether a connector is installed at the access port; and
[0010] A control device that performs an offset learning process in which a correction value is calculated using a difference between a voltage output by the second detection circuit and a predetermined voltage when no connector is attached to the inlet.
[0011] The control device performs an offset learning process using a detection result of the first detection circuit.
[0012] In this way, it is possible to reliably determine that the charging connector is not engaged with the charging port based on the state of the charging port cover. Thus, it is possible to learn the voltage offset when the charging connector is not engaged at an appropriate timing (immediately before the connector is engaged).
[0013] In one embodiment, the control device uses the detection result to perform an offset learning process when the cover changes from a closed state to an open state.
[0014] Thus, at the moment when the cover changes from the closed state to the open state, there is a high possibility that the connector is not yet fitted and is in a state just before the connector is fitted. Therefore, it can be determined that this is a timing suitable for performing offset learning.
[0015] In a further embodiment, the control device executes the offset learning process using a detection result of the second detection circuit most recently before the cover changes to the open state when the cover changes from the closed state to the open state.
[0016] In this way, since the possibility of the connector being mated at the moment of changing from the closed state to the open state is not zero, the offset learning is performed using the mating signal voltage when the cover is closed instead of the mating signal voltage at the moment of opening the cover. Thus, the offset learning can be performed using the mating signal voltage before the connector is mated.
[0017] In one embodiment, the electric vehicle further includes a locking mechanism controlled by the control device to fix the connector to the inlet. The control device performs the offset learning process when the lid is closed and the locking mechanism is switched from the locked state to the unlocked state.
[0018] This makes it almost certain that the charging connector is not engaged when the lid is closed. If the lid lock is released, there is a high probability that the charging lid is opened and the charging connector is engaged thereafter, so it can be determined that it is the appropriate timing to perform offset learning.
[0019] Another aspect of the present disclosure provides an electric vehicle comprising:
[0020] An access port having a shape capable of receiving a connector of an external device;
[0021] A first detection circuit, detecting the speed of the vehicle;
[0022] a second detection circuit that outputs a voltage indicating whether a connector is installed at the access port; and
[0023] The control device performs the following offset learning processing: when the connector is not installed at the inlet, the correction value is calculated using the difference between the voltage output by the second detection circuit and the predetermined voltage,
[0024] The control device executes the offset learning process when it is determined that the speed of the vehicle is equal to or greater than the threshold value.
[0025] In this way, when the vehicle speed is above a certain level, the vehicle is moving, so it can be said that the connector is not fitted, which is reliable. Therefore, it can be determined that the timing is appropriate to perform offset learning.
[0026] According to the present disclosure, it is possible to provide an electric vehicle that can accurately determine whether a connector is attached to an inlet. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Features, advantages, technical and industrial significance of exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which like reference numerals represent like elements, and in which:
[0028] Figure 1 It is a diagram showing an example of the structure of a vehicle.
[0029] Figure 2 This is a diagram showing an example of a circuit configuration in a power supply facility and a vehicle.
[0030] Figure 3 This is a diagram for explaining the operation of the ECU.
[0031] Figure 4 This is a diagram for explaining an example of the operation of the ECU in the modified example.
[0032] Figure 5 This is a diagram for explaining another example of the operation of the ECU in the modified example.
[0033] Figure 6 This is a diagram for explaining still another example of the operation of the ECU in the modified example. DETAILED DESCRIPTION
[0034] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. In addition, the same reference numerals are given to the same or corresponding parts in the drawings, and their description will not be repeated.
[0035] Hereinafter, the structure of the electric vehicle (hereinafter referred to as a vehicle) 2 according to the present embodiment will be described. Figure 1 2 is a diagram showing an example of the structure of the vehicle 2. The vehicle 2 includes, for example, a plug-in hybrid vehicle and a pure electric vehicle that can exchange electric power with an external electrical device of the vehicle 2. Figure 1 In the example, it is assumed that the vehicle 2 is parked in the parking space where the power supply equipment 10 is provided.
[0036] like Figure 1As shown, the vehicle 2 includes an ECU (Electronic Control Unit) 1 , a vehicle speed sensor 9 , an inlet 3 , a power conversion device 204 , a lid switch 5 , a lock mechanism 6 , a battery 214 , an inverter 216 , and a motor generator (MG) 218 .
[0037] The motor generator 218 is composed of, for example, a single or multiple three-phase AC rotating motors. The motor generator 218 exchanges power with the inverter 216. When the vehicle 2 is driven, the motor generator 218 uses the power supplied from the inverter 216 to provide a rotational force to the drive wheel 222. The drive wheel 222 rotates by the rotational force provided by the motor generator 218, so that the vehicle 2 travels.
[0038] Inverter 216 bidirectionally converts power between AC power of motor generator 218 and DC power of battery 214 based on a control signal from ECU 1. A step-up / step-down converter may be provided between inverter 216 and battery 214.
[0039] The battery 214 is, for example, a rechargeable power storage unit (power storage device), and typically, a secondary battery such as a nickel-metal hydride battery or a lithium-ion battery having a solid or liquid electrolyte is used. Alternatively, a large-capacity capacitor may be used instead of the battery 214 .
[0040] Battery 214 is externally charged using power supplied from power supply facility 10 . External charging includes AC charging in which AC power supplied from power supply facility 10 as an external device of vehicle 2 is converted into DC power in power conversion device 204 to charge battery 214 .
[0041] The inlet 3 is provided together with the cover 4 on the exterior of the vehicle 2 and has a shape capable of mounting a connector 8 described later. The inlet 3 is configured to be capable of transmitting power to and from an external device. The inlet 3 is provided with AC connection parts 202a, 202b and communication parts 202c to 202e.
[0042] When the connector 8 is installed in the inlet 3, the AC connection part of the connector 8 (see Figure 2 ) is electrically connected to the AC connection parts 202a, 202b of the inlet 3, and the communication part of the connector 8 is connected to the communication parts 202c to 202e of the inlet 3.
[0043] The power conversion device 204 performs power conversion between the battery 214 and the inlet 3 based on a control signal from the ECU 1 .
[0044] The lid switch 5 outputs a signal indicating an open state to the ECU 1 when the lid is open, and stops outputting the signal indicating an open state or outputs a signal indicating a closed state to the ECU 1 when the lid is closed. The vehicle speed sensor 9 detects the speed of the vehicle 2 and outputs a signal indicating the detected speed of the vehicle 2 to the ECU 1.
[0045] The locking mechanism 6 is set to a state (locked state) that restricts the removal and installation of the connector 8 relative to the access port 3, or to a state (unlocked state) in which the restriction on the installation and removal of the connector 8 is released, using an actuator (not shown) or the like. The locking mechanism 6 switches from one of the locked state and the unlocked state to the other state according to a control signal from the ECU 1. For example, the locking mechanism 6 switches to the unlocked state when the vehicle 2 is in a stopped state, and switches to the locked state when the vehicle 2 is in a driving state and the connector 8 is installed in the access port 3. The ECU 1 stores information related to the state of the actuator (information such as a value indicating whether the locking mechanism 6 is in a locked state or an unlocked state) in a memory.
[0046] ECU1 has a built-in CPU (Central Processing Unit) 101 and a memory (e.g., ROM (Read Only Memory), RAM (Random Access Memory), etc.) 102. Based on information such as a map and a program stored in the memory 102 and information from various sensors (e.g., a vehicle speed sensor 9, a lid switch 5), ECU1 controls various devices (e.g., a locking mechanism 6, etc.) to bring the vehicle 2 into a desired state. In addition, various controls performed by ECU1 are not limited to software-based processing, and dedicated hardware (electronic circuits) can also be constructed for processing. The history of information obtained from various sensors is stored in a storage device such as a memory.
[0047] Furthermore, when the connector 8 is mounted on the inlet 3, the ECU 1 performs communication processing to receive predetermined information from the device on the connector side (power supply device 10). The predetermined information includes, for example, information on the power that can be transferred between the power supply device 10 and the battery 214 (such as the connector connection signal PISW described later).
[0048] Below, refer to Figure 2 , a circuit configuration in the power supply device 10 and the vehicle 2 will be described by taking a case where the connector 8 is mounted on the inlet 3 as an example. Figure 2 1 is a diagram showing an example of a circuit configuration in power supply facility 10 and vehicle 2 .
[0049] The power supply device 10 includes power supply relays K1 and K2, a power supply control device 10a, and an oscillation circuit 10b. When the power supply relays K1 and K2 are in an open state, the power supply path is cut off. In addition, when the power supply relays K1 and K2 are in a closed state, the AC power supply (not shown) of the power supply device 10 can supply power to the vehicle 2 via the connector 8 and the inlet 3.
[0050] The oscillation circuit 10b outputs a pilot signal CPLT to the ECU 1 via the connector 8 and the inlet 3. The pilot signal CPLT is set to a potential by the ECU 1 and is used as a signal for remotely controlling the power supply relays K1 and K2 from the ECU 1.
[0051] The power supply control device 10a controls the power supply relays K1 and K2 based on the potential of the pilot signal CPLT. In addition, the pilot signal CPLT is used as a signal for notifying the ECU 1 of the rated current during AC charging from the oscillation circuit 10b.
[0052] Power supply control device 10a includes a CPU and a memory (not shown). Power supply control device 10a detects the potential of pilot signal CPLT output by oscillation circuit 10b and controls the operation of oscillation circuit 10b based on the detected potential of pilot signal CPLT.
[0053] When the connector 8 is not connected to the inlet 3 , the power supply control device 10 a controls the operation of the oscillation circuit 10 b so that the battery voltage is V0 (for example, +12 V) and a non-oscillating pilot signal CPLT is output.
[0054] When connector 8 is connected to inlet 3 , power supply control device 10 a controls the operation of oscillation circuit 10 b so as to output pilot signal CPLT oscillating at a predetermined frequency and duty ratio.
[0055] When the upper limit value of the potential of the pilot signal CPLT drops to V2 (<V1), the power supply control device 10a controls the power supply relays K1 and K2 to be in a closed state. As a result, the power from the AC power supply is supplied to the inlet 3 via the connector 8. The upper limit value of the potential of the pilot signal CPLT drops to V2 by turning on the switch S2.
[0056] The connector 8 includes a resistor R4, a resistor RC, and a switch S3. One end of the switch S3 is connected to the ground line L3. The other end of the switch S3 is connected to one end of the resistor RC. The resistor R4 is connected in parallel to the switch S3. The other end of the resistor RC is connected to the signal line L2. The signal line L2 is electrically connected to the communication unit 202d when the connector 8 is installed in the access port 3.
[0057] The switch S3 is linked to a button (not shown) provided on the connector 8. When the button is not pressed, the switch S3 is in a closed state. When the button is pressed, the switch S3 is in an open state.
[0058] The communication unit 202d is connected to one end of the resistor R5, and the other end of the resistor R5 is connected to the power supply Vsmp. The ECU 1 is configured to obtain the potential between the resistor R5 and the communication unit 202d. The resistors RC, R4, R5, the switch S3, and the power supply Vsmp constitute a connection detection circuit for detecting the connection state between the connector 8 and the inlet 3.
[0059] When the connector 8 is not installed in the access port 3, a signal of a potential (voltage) V3 determined by the voltage of the power supply Vsmp and the resistance value of the resistor R5 is generated as a connector connection signal PISW (hereinafter also simply recorded as "PISW") on the signal line L2. When the connector 8 is installed in the access port 3 and the button is in a non-operated state, a signal of a potential (voltage) V4 determined by the voltage of the power supply Vsmp, the resistor R5, and the RC is generated as PISW on the signal line L2. When the button is operated with the connector 8 installed in the access port 3, a signal of a potential (voltage) V5 determined by the voltage of the power supply Vsmp, the resistors R4, R5, and the RC is generated as PISW on the signal line L2.
[0060] Therefore, the ECU 1 can detect the connection state between the connector 8 and the inlet 3 by acquiring the potential (voltage) of the PISW using a voltage sensor or the like.
[0061] When the connector 8 is not attached to the inlet 3 , the potential of the PISW is V3 , and when the connector 8 is attached to the inlet 3 , the potential of the PISW is V4 or V5 depending on the operation state of the button.
[0062] That is, the ECU 1 can determine whether the connector 8 is installed in the inlet 3 according to whether the potential of the PISW is V3. However, in order to determine whether the potential of the PISW is any one of V3 to V5, a certain range is set with the potentials V3, V4, and V5 as the center, which are the respective references. Whether the connector 8 is installed in the inlet 3 is determined according to whether the potential is within the range.
[0063] In this case, the certain range is set in consideration of, for example, the resistance value errors of various resistors (e.g., resistor R4, resistor RC) provided in the connector 8, the resistance value errors of the resistors (e.g., resistor R5) provided on the vehicle 2 side, the detection errors on the vehicle 2 side, etc. If the permissible ranges of these errors are set widely to ensure compatibility in the market (i.e., even if several connectors used in the market are installed, it is possible to determine whether to install), the potential range for determining the potential V3 is set to be wide, and if the range for determining the potentials V4 and V5 is involved, etc., there is a case where the installation determination becomes difficult.
[0064] For example, suppose that the range of the potential set for determining the potential V3 is such that an error of ±5% from the reference potential is allowed as the upper and lower limits due to a standard for ensuring compatibility. In this case, if the sum of the error of the resistance value and the detection error exceeds ±5%, it may not be possible to accurately determine the state of the connector not being installed. The same applies to the determination of the potentials V4 and V5.
[0065] Therefore, in the present embodiment, the ECU 1 performs the following offset learning process when the connector 8 is not installed in the inlet 3: the correction value is calculated using the difference between the voltage output from the connection detection circuit (the potential of PISW) and a predetermined reference voltage (a voltage equivalent to the potential V3) serving as a reference. More specifically, the ECU 1 performs the offset learning process when the value indicated by the lid switch 5 changes from a value indicating that the lid 4 is in a closed state to a value indicating that the lid 4 is in an open state.
[0066] By executing the offset learning process, the value indicated by PISW can be obtained with high accuracy, so the sum of the resistance error and the detection error can be controlled within the potential range for determining the potential V3. This makes it possible to determine with high accuracy whether the connector 8 is attached to the inlet 3.
[0067] Below, refer to Figure 3 , the processing executed by the ECU 1 of the vehicle 2 according to the present embodiment will be described. Figure 3 It is a diagram for explaining an example of the operation of the ECU 1 .
[0068] In step (hereinafter referred to as S) 100, the ECU 1 determines whether the current value of the voltage value output by the lid switch 5 (hereinafter referred to as the current value of the lid switch 5) is a value indicating the open state. For example, the lid switch 5 outputs a voltage value indicating the on state when the lid 4 is in the open state, and outputs a voltage value indicating the off state or stops outputting the voltage value when the lid 4 is in the closed state. When it is determined that the current value is a value indicating the open state (Yes in S100), the process moves to S102.
[0069] In S102, the ECU 1 determines whether the previous value of the voltage value output by the lid switch 5 (hereinafter referred to as the previous value of the lid switch 5) is a value indicating the closed state. The ECU 1 obtains the previous value from the memory and determines whether the obtained previous value is a value indicating the closed state. When it is determined that the previous value is a value indicating the closed state (yes in S102), the process moves to S104.
[0070] In S104 , the ECU 1 performs an offset learning process. The ECU 1 detects the voltage of the PISW, and calculates the difference between the detected voltage and the reference voltage as a correction value (learning value) α. Thereafter, the process shifts to S106 .
[0071] In S106, ECU 1 sets the current value of lid switch 5 to the previous value. Then, the process ends. In addition, when it is determined that the current value is not a value indicating the open state (No in S100) or when it is determined that the previous value is not a value indicating the closed state (No in S102), the process transfers to S106.
[0072] An example of the operation of the ECU 1 based on the above-described structure and flowchart will be described. Figure 3 The dialog box shows a timing diagram with time on the horizontal axis and various voltages on the vertical axis. Figure 3 LN1 indicates the voltage change of PISW. Figure 3 LN2 represents the change in voltage output by cover switch 5.
[0073] Without the connector 8 installed, the PISW Figure 3 As shown in LN1 of FIG. 1 , the voltage V(0) is set to a voltage lower than the reference voltage (potential V3) due to the error of the resistance value, the detection error, etc. When the operation of opening the cover 4 is not performed, the cover 4 is in the closed state. When the cover 4 is maintained in the closed state (No in S100), the current value of the cover switch 5 becomes the same as the previous value (S106).
[0074] On the other hand, at time T (0), when the user opens the cover 4 in order to install the connector 8 to the access port 3, the voltage value of the cover switch 5 changes to a value indicating the open state (yes in S100). At this time, since the previous value is a value indicating the closed state (yes in S102), an offset learning process is performed (S104). When the offset learning process is performed, a correction value α is calculated based on the difference between the detected value of the voltage of PISW at time T (0) and the reference voltage. Then, the current value of the voltage value output by the cover switch 5 is set to the previous value (S106). Then, ECU1 obtains the value obtained by adding the correction value α to the detected voltage as PISW. As a result, as Figure 3 As shown in LN1, PISW obtained by ECU1 is consistent with the reference voltage.
[0075] As described above, according to the electric vehicle of this embodiment, by executing the offset learning process, the value indicated by PISW can be obtained with high accuracy. Therefore, the sum of the error of the resistance value and the detection error can be controlled within the range of the potential for determining the potential V3 described above. Therefore, it is possible to provide an electric vehicle that can determine with high accuracy whether the connector is installed at the inlet.
[0076] Modifications will be described below.
[0077] In the above embodiment, the offset learning is performed using the current value of PISW detected when the cover 4 changes from the open state to the closed state. However, for example, the offset learning may be performed using the previous value of PISW.
[0078] Figure 4 1 is a diagram for explaining an example of the operation of the ECU 1 in the modified example. Figure 4 The processing of S100, S102 and S106 shown in the flowchart of Figure 3 The contents of the processes of S100, S102, and S106 shown in the flowchart of FIG. 1 are the same. Therefore, the detailed description thereof will not be repeated.
[0079] When it is determined that the previous value of lid switch 5 is a value indicating the closed state (YES in S102 ), the process proceeds to S200 .
[0080] In S200, ECU1 implements offset learning. More specifically, ECU1 obtains, for example, the previous value of the detection value of PISW in a state where connector 8 is not installed, and calculates the difference of the reference voltage (potential V3) corresponding to the uninstalled state. ECU1 uses the calculated difference to calculate the correction value. ECU1 calculates the correction value in such a way that the sum of the previous value and the correction value becomes the reference voltage. ECU1 calculates the value obtained by subtracting the previous value from the reference voltage as the correction value (learning value). Moreover, ECU1 adds the correction value to the detection value of the voltage of PISW to obtain the current value of PISW. Thereafter, the processing is transferred to S106. And, after the processing of S106, it moves to S202.
[0081] In S202 , the ECU 1 sets the current value of PISW as the previous value of PISW. Thereafter, the process ends.
[0082] An example of the operation of the ECU 1 in a modified example based on the above flowchart will be described. Figure 4 The dialog box shows a timing diagram with time on the horizontal axis and various voltages on the vertical axis. Figure 4 LN3 indicates the change in the current value of PISW. Figure 6 LN4 indicates the change of the previous value of PISW. Figure 6 LN5 indicates a change in the state of the lid switch 5 (open or closed state of the lid).
[0083] like Figure 6 As shown in LN3 and LN4 of FIG. 1 , when the connector 8 is not installed, the voltage becomes V (0). When the cover 4 is not opened, the cover 4 is closed. When the cover 4 is kept closed (No in S100), the current value of the cover switch 5 becomes the same as the previous value (S106), and the current value of the PISW becomes the same as the previous value (S202).
[0084] On the other hand, at time T (1), when the user performs an operation to open the cover 4 and the cover 4 is opened, the voltage value of the cover switch 5 changes to a value indicating an open state (yes in S100). At this time, since the previous value is a value indicating a closed state (yes in S102), an offset learning process is performed (S200). When the offset learning process is performed, a correction value β is calculated based on the difference between the previous value of PISW at time T (1) and the reference voltage (potential V3). Then, the current value of the cover switch 5 is set to the previous value (S106). Then, ECU1 obtains the value obtained by adding the detection value of PISW and the correction value β as the current value of PISW. As a result, as shown in FIG. Figure 6 As shown in LN3 of FIG. 1 , at time T (1), the potential of PISW changes to the corrected value. Also, since the current value of PISW is set to the previous value (S202), Figure 6 As shown in LN4, at time T(2), the previous value at the time of the next calculation changes to the corrected value (reference voltage).
[0085] Thus, even when the current value of PISW changes immediately from the potential of the state in which the connector 8 is not connected, such as when the connector 8 is connected immediately after the cover 4 is opened, it is possible to accurately determine whether the connector 8 is connected.
[0086] In the above embodiment, the opening and closing state of the cover 4 is used to determine whether to execute the offset learning process. However, for example, the state of the lock mechanism 6 may be used in addition to the opening and closing state of the cover 4 to determine whether to execute the offset learning process. Figure 5 This is a diagram for explaining another example of the operation of the ECU 1 in the modified example.
[0087] In S300, the ECU 1 determines whether the current value of the value indicating the state of the lock mechanism 6 (hereinafter referred to as the current value of the lock mechanism 6) is a value indicating the unlocked state. If it is determined that the current value of the lock mechanism 6 is a value indicating the unlocked state (Yes in S300), the process moves to S302.
[0088] In S302 , the ECU 1 determines whether the current value of the lock mechanism 6 is a value indicating a locked state. If it is determined that the previous value of the lock mechanism 6 is a value indicating a locked state (YES in S302 ), the process proceeds to S304 .
[0089] In S304 , the ECU 1 determines whether the current value of the lid switch 5 is a value indicating the closed state. If it is determined that the current value of the lid switch 5 is a value indicating the closed state (YES in S304 ), the process proceeds to S306 .
[0090] In S306, ECU1 performs an offset learning process. Figure 3 The process is the same as that of S106. Thereafter, the process transfers to S308.
[0091] In S308, ECU 1 sets the current value of the lock mechanism 6 to the previous value. After that, the process ends. In addition, when it is determined that the current value of the lock mechanism 6 is not a value indicating the unlocked state (No in S300), when it is determined that the previous value of the lock mechanism 6 is not a value indicating the locked state (No in S302), when it is determined that the current value of the lid switch 5 is not a value indicating the closed state (No in S304), the process transfers to S308.
[0092] Another example of the operation of the ECU 1 in the modified example based on the above-described flowchart will be described. Figure 5 In the dialog box, a timing diagram is shown with the horizontal axis set to time and the vertical axis set to various voltages. Figure 5 LN6 indicates changes in PISW. Figure 5 LN7 indicates a change in the state of the locking mechanism 6 . Figure 5 LN8 indicates a change in the state of the cover switch 5 (open / closed state of the cover 4 ).
[0093] In the case where the connector 8 is not installed, Figure 5 As shown in LN6 of , the voltage becomes V(0). When the cover 4 is not opened, the cover 4 is maintained in the closed state (No in S300), and the locking mechanism 6 is also in the locked state (No in S300), so the current value of the locking mechanism 6 becomes the same as the previous value (S308).
[0094] On the other hand, at time T (3), the locking mechanism 6 is switched to the unlocked state, and the current value of the locking mechanism 6 becomes a value indicating the unlocked state (yes in S300), and the previous value becomes a value indicating the locked state (yes in S302). The open / closed state of the lid 4 becomes the closed state (yes in S304), so the offset learning process is performed (S306). When the offset learning process is performed, the correction value α is calculated based on the difference between the detection value of PISW at time T (3) and the reference voltage. Then, when ECU1 obtains the value of PISW, it obtains the value obtained by adding the correction value α to the detection value of PISW as the current value of PISW. As a result, Figure 5 As shown in LN6 of FIG. 1 , the value of PISW obtained by ECU1 will be consistent with the reference voltage. Then, the current value of the lock mechanism 6 is set to the previous value (S308). When the lid 4 becomes open at time T (4), as shown in FIG. Figure 5 As shown in LN8, the value indicating the open / closed state of the lid switch 5 changes to a value indicating the open state.
[0095] As described above, when the lock mechanism 6 changes from the locked state to the unlocked state, the connector 8 is not fitted into the inlet 3 , and therefore, the value of PISW can be acquired with high accuracy by executing the offset learning process.
[0096] Furthermore, in the above embodiment, the opening and closing state of the lid 4 is used to determine whether to execute the offset learning process. However, for example, the opening and closing state of the lid 4 may be predicted using the speed of the vehicle 2 to determine whether to execute the offset learning process. Figure 6 This is a diagram for explaining still another example of the operation of the ECU 1 in the modified example.
[0097] In S400, the ECU 1 determines whether the vehicle speed is greater than or equal to a threshold value Va. The threshold value Va is, for example, a value used to determine whether the vehicle 2 is traveling, and is a predetermined value. The threshold value Va may also be a lower limit value of a speed range that can accurately determine that the vehicle 2 is traveling in order to prevent erroneous determination. When it is determined that the vehicle speed is greater than or equal to the threshold value Va (Yes in S400), the process moves to S402.
[0098] In S400, the ECU 1 executes an offset learning process. The offset learning process is similar to the above-mentioned embodiment. Figure 3 The method described in the process of S106 is the same. After that, the process ends. In addition, when it is determined that the vehicle speed is lower than the threshold value (No in S400), the process ends.
[0099] Another example of the operation of the ECU 1 in the modified example based on the above flowchart will be described. Figure 6 In the dialog box, a timing diagram is shown with the horizontal axis set to time and the vertical axis set to voltage and vehicle speed. Figure 6 LN9 showed changes in PISW. Figure 6 LN10 indicates the change of vehicle speed. Figure 6 As shown in LN9 of FIG. 4 , the voltage becomes V(0). When the lid 4 is not opened, the lid 4 is maintained in the closed state. When the vehicle speed is lower than the threshold value Va (No in S400 ), the offset learning process is not executed.
[0100] On the other hand, when the vehicle speed increases and becomes greater than the threshold value Va at time T(5) (Yes in S400), the offset learning process is executed (S402). When the offset learning process is executed, the correction value α is calculated based on the difference between the detection value of PISW at time T(5) and the reference voltage. Then, when the ECU 1 obtains the value of PISW, it obtains the value obtained by adding the correction value α to the detection value of PISW as the current value of PISW. As a result, Figure 6 As shown in LN9, the value of PISW obtained by ECU1 is consistent with the reference voltage.
[0101] In this way, since the offset learning process is executed in a state where the connector 8 is not mounted and the vehicle speed is equal to or higher than the threshold value Va, the value of PISW can be acquired with high accuracy.
[0102] In addition, all or part of the above-mentioned modified examples may be appropriately combined and implemented.
[0103] The embodiments disclosed this time should be considered to be illustrative in all aspects and not restrictive. The scope of the present invention is shown by the claims rather than the above description, and is intended to include all changes within the meaning and scope equivalent to the claims.
Claims
1. An electric vehicle comprising: an access port, covered by a cover, having a shape capable of mounting a connector of an external device; a first detection circuit, detecting an open or closed state of the cover; a second detection circuit that outputs a voltage indicating whether the connector is installed at the access port; and The control device performs the following offset learning processing: when the connector is not installed in the inlet, a correction value is calculated using a difference between a voltage output by the second detection circuit and a predetermined voltage, The control device executes the offset learning process using a detection result of the first detection circuit.
2. The electric vehicle according to claim 1, wherein: The control device uses the detection result to execute the offset learning process when the cover changes from a closed state to an open state.
3. The electric vehicle according to claim 2, wherein: The control device executes the offset learning process when the cover changes from the closed state to the open state using the detection result of the second detection circuit most recently before the cover changes to the open state.
4. The electric vehicle according to claim 1, wherein: The electric vehicle further includes a locking mechanism, the locking mechanism being controlled by the control device so as to be capable of fixing the connector to the inlet. The control device executes the offset learning process when the cover is in a closed state and the lock mechanism is switched from a locked state to an unlocked state.
5. An electric vehicle comprising: an access port having a shape capable of receiving a connector of an external device; A first detection circuit, detecting the speed of the vehicle; a second detection circuit, outputting a voltage indicating whether the connector is installed at the access port; as well as The control device performs the following offset learning processing: when the connector is not installed in the inlet, a correction value is calculated using a difference between a voltage output by the second detection circuit and a predetermined voltage, The control device executes the offset learning process when it is determined that the speed of the vehicle is equal to or greater than a threshold value.
Citation Information
Patent Citations
Electric vehicle and control method thereof
JP2021126009A