Patent Description:
The present disclosure relates to control of an electrically powered vehicle equipped with a power storage device that can exchange power with an external electrical apparatus.

In an electrically powered vehicle such as an electric car, a plug-in hybrid vehicle, or the like that uses a motor as a drive source, charging using a power supply external to the electrically powered vehicle (hereinafter referred to as external charging) is performed on a vehicle-mounted power storage device that supplies power to the drive source. This external charging is performed for example by attaching (connecting) a connector connected to the external power supply to an inlet provided in the electrically powered vehicle. Examples of a charging method for external charging include a charging method using alternating current (AC) power and a charging method using direct current (DC) power, and external charging using these charging methods may be performed using a common inlet. Further, a connector for discharging may be attached to the inlet. There is also an electrically powered vehicle in which, when such a connector is attached to an inlet, power feed to an electrical apparatus external to the electrically powered vehicle (hereinafter referred to as external power feed) can be performed using a vehicle-mounted power storage device as a power supply. Accordingly, it is required to correctly determine the type of a connector attached to an inlet.

For example, <CIT> discloses a technique of determining whether a connector connected to an inlet is a charging connector or a discharging connector based on a signal provided via the inlet.

<CIT> discusses a charging inlet device.

An inlet may be provided with a lock mechanism that restricts removal of a connector (locks the connector) when the connector is attached to the inlet, to prevent the connector from being easily removed during a subsequent charging operation or discharging operation. However, if the lock mechanism is set to a state in which it locks the connector and the inlet irrespective of the type of the attached connector, a user may have a misunderstanding that the attached connector is accepted and an operation corresponding to the type of the attached connector will be performed. For example, if a connector for discharging is attached to an inlet of a vehicle for charging only and the lock mechanism is set to the state in which it locks the connector and the inlet, the user may have a misunderstanding that a discharging operation will be performed. Thus, there may occur a situation in which, although the user expects that a charging operation or a discharging operation will be performed, the charging operation or the discharging operation is not performed. Further, as communalization of the inlet proceeds, various types of connectors are to be attached to the inlet, significantly exhibiting such a problem.

An object of the present disclosure is to provide an electrically powered vehicle that controls a lock mechanism appropriately according to the type of a connector attached to an inlet, and a method for controlling the electrically powered vehicle.

An electrically powered vehicle in accordance with the invention is defined in appended claim <NUM>.

With such a configuration, when it is determined based on the first information that the power cannot be exchanged between the connector and the power storage device, the lock mechanism is set to the unlock state. Thus, since the lock mechanism is not set to the lock state, it is possible to make a user recognize that an operation corresponding to the attached connector cannot be performed. This can suppress the user from having a misunderstanding on whether or not the operation corresponding to the attached connector can be performed. Further, when it is determined based on the first information that the power can be exchanged between the connector and the power storage device, the lock mechanism is set to the lock state. Thus, since the lock mechanism is set to the lock state, it is possible to make the user recognize that the operation corresponding to the attached connector can be performed.

In an embodiment, the control device includes a storage unit that stores second information about the power which can be exchanged between the connector and the power storage device. The control device determines whether or not the power can be exchanged between the connector and the power storage device, using a result of comparison between the first information and the second information.

With such a configuration, since the second information about the power which can be exchanged between the connector and the power storage device is stored in the storage unit of the control device, it is possible to accurately determine whether or not the power can be exchanged between the connector and the power storage device, using the result of comparison with the first information.

Further, in an embodiment, the first information includes at least one of information indicating that power to be exchanged between the connector and the inlet is AC power, and information indicating that the power to be exchanged between the connector and the inlet is DC power.

With such a configuration, it is possible to accurately determine whether or not the power can be exchanged between the connector and the power storage device, using the first information.

Further, in an embodiment, the first information includes at least one of information indicating that the power to be exchanged between the connector and the power storage device is charging power for charging the power storage device, and information indicating that the power to be exchanged between the connector and the power storage device is discharging power discharged from the power storage device.

Further, in an embodiment, the first information includes at least one of information about an upper limit value of a current in the power to be exchanged between the connector and the power storage device, information about a lower limit value of the current in the power to be exchanged between the connector and the power storage device, information about an upper limit value of a voltage in the power to be exchanged between the connector and the power storage device, and information about a lower limit value of the voltage in the power to be exchanged between the connector and the power storage device.

Further, in an embodiment, the control device determines whether or not the power can be exchanged between the connector and the power storage device, based on the first information and a state of charge of the power storage device.

With such a configuration, it is possible to accurately determine whether or not the power can be exchanged between the connector and the power storage device, using the first information and the state of charge of the power storage device.

Further, in an embodiment, when the control device cannot determine whether or not the power can be exchanged between the connector and the power storage device based on the first information, the control device sets the lock mechanism to the unlock state.

With such a configuration, since the lock mechanism is set to the unlock state when it is not possible to determine whether or not the power can be exchanged between the connector and the power storage device, this can suppress a situation where the lock mechanism is maintained in the lock state, for example, and thus the user cannot remove the connector from the inlet.

Further, in an embodiment, when the attachment of the connector to the inlet is detected, the control device determines whether or not the power can be exchanged between the connector and the power storage device based on the first information, and thereafter controls the lock mechanism using a result of determination.

With such a configuration, it is possible to make the user recognize whether or not an operation corresponding to the attached connector can be performed, based on whether the lock mechanism is set to the lock state or the unlock state when the connector is attached. This can suppress the user from having a misunderstanding on whether or not the operation corresponding to the attached connector will be performed.

Further, in an embodiment, when the attachment of the connector to the inlet is detected, the control device sets the lock mechanism to the lock state. When the control device determines based on the first information that the power cannot be exchanged between the connector and the power storage device, the control device sets the lock mechanism to the unlock state.

With such a configuration, since the lock mechanism is set to the unlock state, it is possible to make the user recognize that an operation corresponding to the attached connector cannot be performed. This can suppress the user from having a misunderstanding on whether or not the operation corresponding to the attached connector can be performed.

Further, in an embodiment, the electrically powered vehicle further includes a notification device that notifies information indicating whether or not the power can be exchanged between the connector and the power storage device.

With such a configuration, in addition to whether the lock mechanism is set to the lock state or the unlock state, whether or not the power can be exchanged between the connector and the power storage device are notified by the notification device. Thus, it is possible to make the user recognize whether or not an operation corresponding to the attached connector can be performed. This can suppress the user from having a misunderstanding on whether or not the operation corresponding to the attached connector will be performed.

A method for controlling an electrically powered vehicle in accordance with the invention is defined by appended claim <NUM>.

Hereinafter, an embodiment of the present disclosure will be described in detail, with reference to the drawings. It should be noted that identical or corresponding parts in the drawings will be designated by the same reference numerals, and the description thereof will not be repeated.

In the following, a configuration of an electrically powered vehicle (hereinafter referred to as a vehicle) <NUM> in accordance with the present embodiment will be described. <FIG> is a view showing an example of a configuration of vehicle <NUM>. Vehicle <NUM> includes an electrically powered vehicle such as a plug-in hybrid car, an electric car, or the like, for example, that can exchange power with an electrical apparatus external to vehicle <NUM>. <FIG> assumes a case where vehicle <NUM> is parked at a parking space provided with a power feed facility <NUM>.

As shown in <FIG>, vehicle <NUM> includes an electronic control unit (ECU) <NUM>, an inlet <NUM>, a power conversion device <NUM>, a lock mechanism <NUM>, a battery <NUM>, an inverter <NUM>, and a motor generator (MG) <NUM>.

Motor generator <NUM> is a three-phase AC rotating electric machine, for example, and has a function as an electric motor (a motor) and a function as a power generator (a generator). That is, motor generator <NUM> exchanges power with inverter <NUM>.

For example, during driving of vehicle <NUM>, motor generator <NUM> provides a rotating force to drive wheels <NUM> using power supplied from inverter <NUM>. Drive wheels <NUM> are rotated by the rotating force provided by motor generator <NUM>, and cause vehicle <NUM> to travel. It should be noted that the number of motor generators <NUM> is not limited to one, and a plurality of motor generators <NUM> may be provided.

Inverter <NUM> bidirectionally converts power between motor generator <NUM> and battery <NUM> in response to a control signal from ECU <NUM>. For example, during driving of motor generator <NUM>, inverter <NUM> converts DC power of battery <NUM> into AC power and supplies it to motor generator <NUM>. Further, for example, during power generation of motor generator <NUM>, inverter <NUM> converts AC power (regenerative power) generated in motor generator <NUM> into DC power and supplies it to battery <NUM>. It should be noted that a converter for adjusting the voltage of inverter <NUM> and the voltage of battery <NUM> may be provided between inverter <NUM> and battery <NUM>.

Battery <NUM> is a rechargeable power storage element, for example, and a secondary battery such as a nickel hydrogen battery or a lithium ion battery having a solid or liquid electrolyte is representatively applied thereto. Alternatively, battery <NUM> may be any power storage device that can store power, and for example, a large-capacity capacitor may be used instead of battery <NUM>.

On battery <NUM>, external charging using power supplied from power feed facility <NUM> is performed. External charging includes AC charging using DC power supplied by converting AC power supplied from an external facility (power feed facility <NUM>) to inlet <NUM> in power conversion device <NUM>, and DC charging using DC power supplied by supplying DC power supplied from power feed facility <NUM> to inlet <NUM> without passing through power conversion device <NUM>.

Inlet <NUM> is provided in an exterior portion of vehicle <NUM> together with a cover (not shown) such as a lid, and is constituted such that various connectors described later can be attached thereto. Inlet <NUM> is constituted such that it can exchange power with a facility external to vehicle <NUM> (hereinafter referred to as an external facility). Here, an expression "power can be exchanged" indicates that at least one of charging or discharging is possible. That is, inlet <NUM> can receive supply of power to be used to charge battery <NUM>, from the external facility. Further, inlet <NUM> enables supply (discharging) of power of battery <NUM> to the external facility.

Inlet <NUM> has a shape that allows attachment thereto of any of an AC charging connector <NUM> used for AC charging, a DC charging connector <NUM> used for DC charging, and an AC discharging connector <NUM> used for AC discharging. It should be noted that AC discharging indicates external discharging that supplies AC power from vehicle <NUM> to an external facility (for example, an electrical apparatus <NUM>).

Inlet <NUM> is provided with AC connection portions 202a and 202b, DC connection portions 202f and <NUM>, and communication portions 202c to 202e.

When AC charging connector <NUM> of power feed facility <NUM> is attached to inlet <NUM>, AC connection portions (see <FIG>) of AC charging connector <NUM> are electrically connected to AC connection portions 202a and 202b of inlet <NUM>, and communication portions (see <FIG>) of AC charging connector <NUM> are connected to communication portions 202c to 202e of inlet <NUM>.

When DC charging connector <NUM> of power feed facility <NUM> is attached to inlet <NUM>, DC connection portions (not shown) of DC charging connector <NUM> are electrically connected to DC connection portions 202f and <NUM> of inlet <NUM>, and communication portions (not shown) of DC charging connector <NUM> are connected to communication portions 202c to 202e of inlet <NUM>.

Further, when AC discharging connector <NUM> is attached to inlet <NUM>, AC connection portions (not shown) of AC discharging connector <NUM> are electrically connected to AC connection portions 202a and 202b of inlet <NUM>, and communication portions (not shown) of AC discharging connector <NUM> are connected to communication portions 202c and 202d of inlet <NUM>. One end of AC discharging connector <NUM> has a shape formed to be attachable to inlet <NUM>, and the other end of AC discharging connector <NUM> is provided with a socket <NUM>. Socket <NUM> has a shape that allows connection thereto of a plug <NUM> of electrical apparatus <NUM>. It should be noted that electrical apparatus <NUM> includes an electrical household apparatus or the like operating at AC <NUM> V, for example.

Power conversion device <NUM> performs power conversion between battery <NUM> and inlet <NUM> in response to a control signal from ECU <NUM>.

For example, when AC charging for battery <NUM> is performed with AC charging connector <NUM> being attached to inlet <NUM>, power conversion device <NUM> converts AC power supplied from AC charging connector <NUM> into DC power, and charges battery <NUM> using the converted DC power.

Further, for example, when AC discharging using battery <NUM> is performed with AC discharging connector <NUM> being attached to inlet <NUM> and with plug <NUM> of electrical apparatus <NUM> being connected to socket <NUM> of AC discharging connector <NUM>, power conversion device <NUM> converts DC power supplied from battery <NUM> into AC power, and supplies the converted AC power (for example, AC <NUM> V) to electrical apparatus <NUM>.

Lock mechanism <NUM> switches between a state in which it restricts removal of a connector attached to inlet <NUM> to keep the connecter fixed to inlet <NUM> (a lock state), and a state in which it cancels the restriction on the removal of the connector to allow the removal of the connector from inlet <NUM> (an unlock state). Lock mechanism <NUM> is provided with, for example, an actuator that actuates a member to a position at which the member restricts movement of the connector attached to inlet <NUM> to achieve the lock state, or actuates the member to a position at which the member permits movement of the connector attached to inlet <NUM> to achieve the unlock state. That is, lock mechanism <NUM> switches from one of the lock state and the unlock state to the other state in response to a control signal from ECU <NUM>.

ECU <NUM> includes a central processing unit (CPU) <NUM> and a memory (including a read only memory (ROM), a random access memory (RAM), or the like, for example) <NUM>, and controls each device (for example, power conversion device <NUM>, lock mechanism <NUM>, or inverter <NUM>) such that vehicle <NUM> enters a desired state, based on information such as maps, programs, and the like stored in memory <NUM> and information from various sensors. It should be noted that various controls performed by ECU <NUM> are not limited to be processed by software, but also can be processed by constructing dedicated hardware (electronic circuitry).

Further, when a connector (AC charging connector <NUM>, DC charging connector <NUM>, or AC discharging connector <NUM>) is attached to inlet <NUM>, ECU <NUM> performs communication processing for receiving predetermined information from a connector-side apparatus (power feed facility <NUM> or AC discharging connector <NUM>). The predetermined information includes, for example, information about power which can be exchanged between power feed facility <NUM> and battery <NUM> (such as a connector connection signal PISW described later).

For example, when AC charging connector <NUM> is attached to inlet <NUM>, ECU <NUM> receives, from power feed facility <NUM> (more specifically, AC charging connector <NUM>), the predetermined information that includes information indicating that the communication portions of AC charging connector <NUM> are connected to communication portions 202c, 202d, and 202e of inlet <NUM>, and power to be exchanged between attached AC charging connector <NUM> and inlet <NUM> is AC power, and information indicating that the power to be exchanged between AC charging connector <NUM> and inlet <NUM> is charging power for charging battery <NUM>.

Alternatively, for example, when DC charging connector <NUM> is attached to inlet <NUM>, ECU <NUM> receives, from power feed facility <NUM> (more specifically, DC charging connector <NUM>), the predetermined information that includes information indicating that the communication portions of DC charging connector <NUM> are connected to communication portions 202c, 202d, and 202e of inlet <NUM>, and power to be exchanged between DC charging connector <NUM> attached from power feed facility <NUM> and inlet <NUM> is DC power, and information indicating that the power to be exchanged between DC charging connector <NUM> and inlet <NUM> is charging power.

Alternatively, for example, when AC discharging connector <NUM> is attached to inlet <NUM>, ECU <NUM> receives, from AC discharging connector <NUM>, the predetermined information that includes information indicating that the communication portions of AC discharging connector <NUM> are connected to communication portions 202c and 202d of inlet <NUM>, and power to be exchanged between attached AC discharging connector <NUM> and inlet <NUM> is AC power, and information indicating that the power to be exchanged between AC discharging connector <NUM> and inlet <NUM> is discharging power for discharging battery <NUM>.

When AC charging connector <NUM> of power feed facility <NUM> is attached to inlet <NUM> of vehicle <NUM>, power feed facility <NUM> supplies AC power to inlet <NUM>. The AC power supplied to inlet <NUM> is converted into DC power by power conversion device <NUM>. The converted DC power is supplied to battery <NUM>, and battery <NUM> is charged.

When DC charging connector <NUM> of power feed facility <NUM> is attached to inlet <NUM> of vehicle <NUM>, power feed facility <NUM> supplies DC power to inlet <NUM>. The DC power supplied to inlet <NUM> is supplied to battery <NUM> without passing through power conversion device <NUM>, and battery <NUM> is charged.

Referring to <FIG>, a circuit configuration in power feed facility <NUM> and vehicle <NUM> will be examined below, for an exemplary case where AC charging connector <NUM> is attached to inlet <NUM>. <FIG> is a view showing an example of a circuit configuration in power feed facility <NUM> and vehicle <NUM>.

Power feed facility <NUM> includes power feed relays K1 and K2, a power feed control device 10a, and an oscillation circuit 10b. When power feed relays K1 and K2 are in an open state, a power feed path is cut off. Further, when power feed relays K1 and K2 are in a closed state, power from an AC power supply (not shown) for power feed facility <NUM> can be supplied to vehicle <NUM> through AC charging connector <NUM> and inlet <NUM>.

Oscillation circuit 10b outputs a pilot signal CPLT to ECU <NUM> through AC charging connector <NUM> and inlet <NUM>. Pilot signal CPLT has a potential controlled by ECU <NUM>, and is used as a signal for remotely controlling power feed relays K1 and K2 from ECU <NUM>.

Power feed control device 10a controls power feed relays K1 and K2 based on the potential of pilot signal CPLT. Further, pilot signal CPLT is used as a signal for notifying a rated current during AC charging from oscillation circuit 10b to ECU <NUM>.

Power feed control device 10a includes a CPU, a memory, and the like (all not shown). Power feed control device 10a detects the potential of pilot signal CPLT outputted by oscillation circuit 10b, and controls an operation of oscillation circuit 10b based on the detected potential of pilot signal CPLT.

When the connector is not connected to inlet <NUM>, power feed control device 10a controls the operation of oscillation circuit 10b to output pilot signal CPLT that has a potential V0 (for example, +<NUM> V) and does not oscillate.

Specifically, oscillation circuit 10b includes a switch S1 and a resistor R1, for example. One end of resistor R1 is connected to switch S1. The other end of resistor R1 is connected to one end of a signal line L1. The other end of signal line L1 is electrically connected to communication portion 202e when AC charging connector <NUM> is attached to inlet <NUM>. Switch S1 is constituted to establish conduction between resistor R1 and one of a power supply having +<NUM> V of power feed control device 10a and an oscillation device of power feed control device 10a. When the connector is not connected to inlet <NUM>, power feed control device 10a controls switch S1 to establish conduction between resistor R1 and the power supply having +<NUM> V. Thus, oscillation circuit 10b outputs pilot signal CPLT that has a potential of +<NUM> V and does not oscillate, to signal line L1.

When the connector is connected to inlet <NUM>, power feed control device 10a controls the operation of oscillation circuit 10b to output pilot signal CPLT that oscillates at prescribed frequency and duty cycle.

Specifically, for example, when AC charging connector <NUM> is connected, conduction is established between resistor R1 and a resistor R3 (described later) on the vehicle <NUM> side, and the potential of pilot signal CPLT decreases to V1 which is lower than V0. Accordingly, power feed control device 10a controls switch S1 to establish conduction between resistor R1 and the oscillation device. Thus, oscillation circuit 10b outputs pilot signal CPLT that has an upper limit value of its potential of V1 and oscillates at prescribed frequency and duty cycle, to signal line L1.

The duty cycle of pilot signal CPLT is preset according to the rated current. ECU <NUM> can obtain the rated current of power feed facility <NUM>, using the duty cycle of pilot signal CPLT received via communication portion 202e.

When the upper limit value of the potential of pilot signal CPLT decreases to V2 (<V1), power feed control device 10a controls power feed relays K1 and K2 to be set to a closed state. Thereby, the power from the AC power supply is supplied to inlet <NUM> via AC charging connector <NUM>. The upper limit value of the potential of pilot signal CPLT decreases to V2 by setting a switch S2 (described later) to a conductive state, for example.

AC charging connector <NUM> includes resistors R4 and RC, and a switch S3. One end of switch S3 is connected to a ground line L3. The other end of switch S3 is connected to one end of resistor RC. Resistor R4 is connected in parallel with switch S3. The other end of resistor RC is connected to a signal line L2. Signal line L2 is electrically connected to communication portion 202d when AC charging connector <NUM> is attached to inlet <NUM>.

Switch S3 works in cooperation with a push button (not shown) provided to AC charging connector <NUM>. When the push button is not pushed, switch S3 is in a closed state. When the push button is pushed, switch S3 is in an open state.

One end of a resistor R5 is connected to communication portion 202d, and the other end of resistor R5 is connected to a power supply Vsmp. ECU <NUM> is constituted such that it can obtain a potential between resistor R5 and communication portion 202d. Resistors RC, R4, and R5, switch S3, and power supply Vsmp constitute a connection detection circuit for detecting a connection state between AC charging connector <NUM> and inlet <NUM>.

When AC charging connector <NUM> is not attached to inlet <NUM>, a signal of a potential (V3) determined by a voltage of power supply Vsmp and a resistance value of resistor R5 is generated in signal line L2 as connector connection signal PISW.

When AC charging connector <NUM> is attached to inlet <NUM> and the push button is not operated, a signal of a potential (V4) determined by the voltage of power supply Vsmp and resistance values of resistors R5 and RC is generated in signal line L2 as connector connection signal PISW.

When the push button is operated with AC charging connector <NUM> being attached to inlet <NUM>, a signal of a potential determined by the voltage of power supply Vsmp and resistance values of resistors R4, R5, and RC is generated in signal line L2 as connector connection signal PISW.

Therefore, ECU <NUM> can detect the connection state between AC charging connector <NUM> and inlet <NUM> by obtaining a potential of connector connection signal PISW. In addition, in AC charging connector <NUM>, DC charging connector <NUM>, and AC discharging connector <NUM>, at least resistors RC are different. Accordingly, ECU <NUM> can obtain the type of a connected connector, based on the potential of connector connection signal PISW when the connector is connected to inlet <NUM>.

Vehicle <NUM> further includes a resistance circuit <NUM>. Resistance circuit <NUM> is a circuit for controlling the potential of pilot signal CPLT to be generated in signal line L1. Resistance circuit <NUM> includes resistors R2 and R3, and switch S2.

One end of resistor R2 is connected to ground line L3 through switch S2. The other end of resistor R2 is connected to signal line L1 in which pilot signal CPLT is generated. Resistor R3 is connected between signal line L1 and ground line L3. That is, one end of resistor R3 is connected to ground line L3. The other end of resistor R3 is connected to signal line L1. Switch S2 is turned on/off in response to a control signal from ECU <NUM>.

When switch S2 is set to an OFF state (a cut-off state) in a case where AC charging connector <NUM> is attached to inlet <NUM>, the potential of pilot signal CPLT is set to potential V1 determined by resistance values of resistors R1 and R3. When switch S2 is set to an ON state (a conductive state) in the case where AC charging connector <NUM> is attached to inlet <NUM>, the potential of pilot signal CPLT is set to potential V2 determined by resistance values of resistors R1, R2, and R3.

When AC charging connector <NUM> is attached to inlet <NUM>, ECU <NUM> requests power feed facility <NUM> to feed power and stop feeding power, by switching ON/OFF of switch S2 and changing the potential of pilot signal CPLT.

Specifically, ECU <NUM> requests power feed facility <NUM> to feed power, by setting switch S2 to an ON state and changing the potential of pilot signal CPLT from V1 to V2, for example. In addition, ECU <NUM> requests power feed facility <NUM> to stop feeding power, by setting switch S2 to an OFF state and changing the potential of pilot signal CPLT from V2 to V1, for example.

When switch S2 is set to an ON state and thereby power feed relays K1 and K2 are set to a closed state by power feed control device 10a, AC power is supplied from power feed facility <NUM> to power conversion device <NUM> via inlet <NUM>. After completion of predetermined charging preparation processing, ECU <NUM> operates power conversion device <NUM> to convert the AC power into DC power and charge battery <NUM>.

<FIG> is a timing chart showing an example of changes in pilot signal CPLT and connector connection signal PISW. The axis of abscissas in <FIG> represents time. The axis of ordinates in <FIG> represents the potential of pilot signal CPLT and the potential of connector connection signal PISW. The potential of pilot signal CPLT is obtained by power feed control device 10a and ECU <NUM>. The potential of connector connection signal PISW is obtained by ECU <NUM>. Further, as described above, potential V3 of connector connection signal PISW indicates that AC charging connector <NUM> is not attached to inlet <NUM>. Potential V4 of connector connection signal PISW indicates that AC charging connector <NUM> is attached to inlet <NUM>.

It is assumed that AC charging connector <NUM> is attached to inlet <NUM> at a time t1. Prior to time t1, the potential of pilot signal CPLT is V0, because AC charging connector <NUM> is not attached to inlet <NUM>.

When AC charging connector <NUM> is attached to inlet <NUM> at time t1, the potential of pilot signal CPLT decreases to V1. Thereby, power feed control device 10a recognizes that AC charging connector <NUM> is attached to inlet <NUM>, and controls switch S1 to establish conduction between resistor R1 and the oscillation device of power feed control device 10a at a time t2. Thereby, pilot signal CPLT oscillates, with an upper limit value of its potential being set to V1.

When the predetermined charging preparation processing is completed at a time t3, ECU <NUM> controls switch S2 to be set to a conductive state. Thereby, pilot signal CPLT oscillates, with an upper limit value of its potential being set to V2. When the upper limit value of the potential of pilot signal CPLT is set to V2, power feed control device 10a controls power feed relays K1 and K2 to be set to a conductive state. Thereby, AC power is supplied from power feed facility <NUM> to inlet <NUM>.

It should be noted that, in a case where DC charging connector <NUM> of power feed facility <NUM> is attached to inlet <NUM>, the case is different in that a DC power supply is connected to DC connection portions 202f and <NUM> through power feed relays (not shown), instead of connecting the AC power supply to AC connection portions 202a and 202b through power feed relays K1 and K2. Further, a range of the potential of connector connection signal PISW which can be obtained when DC charging connector <NUM> is connected to inlet <NUM> is different from a range of the potential of connector connection signal PISW which can be obtained when AC charging connector <NUM> is connected to inlet <NUM> (a predetermined range including potential V4). Furthermore, a range of the potential of connector connection signal PISW which can be obtained when AC discharging connector <NUM> is connected to inlet <NUM> is different from both the range of the potential of connector connection signal PISW which can be obtained when DC charging connector <NUM> is connected to inlet <NUM>, and the range of the potential of connector connection signal PISW which can be obtained when AC charging connector <NUM> is connected to inlet <NUM>.

When any of AC charging connector <NUM>, DC charging connector <NUM>, and AC discharging connector <NUM> is attached to inlet <NUM> in vehicle <NUM> having a configuration as described above, lock mechanism <NUM> is used to achieve the lock state, to prevent the connector from being easily removed during a subsequent charging operation or discharging operation as described above.

However, if lock mechanism <NUM> is set to the state in which it locks the connector and inlet <NUM> irrespective of the type of the connector attached to inlet <NUM>, a user may have a misunderstanding that the attached connector is accepted and an operation corresponding to the type of the attached connector will be performed. For example, if a connector for discharging is attached to an inlet of a vehicle for charging only and lock mechanism <NUM> is set to the state in which it locks the connector and inlet <NUM>, the user may have a misunderstanding that a discharging operation will be performed. Thus, there may occur a situation in which, although the user expects that a charging operation or a discharging operation will be performed, the charging operation or the discharging operation is not performed. Further, as communalization of inlet <NUM> proceeds, various types of connectors are to be attached to inlet <NUM>, significantly exhibiting such a problem.

Accordingly, in the present embodiment, when attachment of a connector to inlet <NUM> is detected, ECU <NUM> obtains predetermined information about power which can be exchanged between the connector and battery <NUM>, from an external facility (power feed facility <NUM> or AC discharging connector <NUM>). When ECU <NUM> determines based on the predetermined information that the power can be exchanged between the connector and battery <NUM>, ECU <NUM> sets lock mechanism <NUM> to the lock state. When ECU <NUM> determines based on the predetermined information that the power cannot be exchanged between the connector and battery <NUM>, ECU <NUM> sets lock mechanism <NUM> to the unlock state.

With such a configuration, when it is determined based on the predetermined information that the power cannot be exchanged between the connector and battery <NUM>, lock mechanism <NUM> is set to the unlock state. Thus, since lock mechanism <NUM> is not set to the lock state, it is possible to make the user recognize that an operation corresponding to the attached connector cannot be performed. This can suppress the user from having a misunderstanding on whether or not the operation corresponding to the attached connector can be performed. Further, when it is determined based on the predetermined information that the power can be exchanged between the connector and battery <NUM>, lock mechanism <NUM> is set to the lock state. Thus, since lock mechanism <NUM> is set to the lock state, it is possible to make the user recognize that the operation corresponding to the attached connector can be performed.

Referring to <FIG>, processing performed by ECU <NUM> of vehicle <NUM> in accordance with the present embodiment will be described below. <FIG> is a flowchart showing an example of processing performed by ECU <NUM>. ECU <NUM> repeatedly performs the processing shown in <FIG> in a predetermined control cycle.

In step (hereinafter abbreviated as S) <NUM>, ECU <NUM> obtains pilot signal CPLT and connector connection signal PISW.

In S102, ECU <NUM> determines whether or not a connector is attached to inlet <NUM>. For example, when the potential of pilot signal CPLT changes from a potential within a range including V0 (corresponding to a fourth range described later) to a potential out of the range, ECU <NUM> determines that a connector is attached to inlet <NUM>. When it is determined that a connector is attached (YES in S102), the processing proceeds to S104.

In S104, ECU <NUM> determines the type of the attached connector. That is, resistance values of resistors RC and resistance values of resistors R4 different depending on the types of the connectors are preset. Since different values are set as the resistance values of resistors RC and the resistance values of resistors R4, ranges of the potential of connector connection signal PISW which are different depending on the types of the connectors attached to inlet <NUM> can be obtained. ECU <NUM> determines the type of the connector based on within which of a plurality of preset ranges the potential of connector connection signal PISW obtained when the connector is attached to inlet <NUM> falls.

<FIG> is a view for describing ranges of the potential of connector connection signal PISW which can be obtained depending on the types and connection states of the connectors. The axis of ordinates in <FIG> represents the potential of connector connection signal PISW.

As shown in <FIG>, as the ranges of the potential of connector connection signal PISW which can be obtained depending on the types and connection states of the connectors, a first range from V(<NUM>) to V(<NUM>), a second range from V(<NUM>) to V(<NUM>), a third range from V(<NUM>) to V(<NUM>), and a fourth range from V(<NUM>) to V(<NUM>) are preset. The first range indicates a range of the potential of connector connection signal PISW which can be obtained when AC discharging connector <NUM> is attached to inlet <NUM>. The second range indicates a range of the potential of connector connection signal PISW which can be obtained when AC charging connector <NUM> is attached to inlet <NUM> (including potential V4). The third range indicates a range of the potential of connector connection signal PISW which can be obtained when DC charging connector <NUM> is attached to inlet <NUM>. The fourth range indicates a range of the potential of connector connection signal PISW which can be obtained when no connector is attached to inlet <NUM> (including potential V3).

For example, when the potential of connector connection signal PISW is a potential within the first range, ECU <NUM> determines that the connector attached to inlet <NUM> is AC discharging connector <NUM>. In addition, for example, when the potential of connector connection signal PISW is a potential within the second range, ECU <NUM> determines that the connector attached to inlet <NUM> is AC charging connector <NUM>. Further, for example, when the potential of connector connection signal PISW is a potential within the third range, ECU <NUM> determines that the connector attached to inlet <NUM> is DC charging connector <NUM>. Further, for example, when the potential of connector connection signal PISW is a potential within the fourth range, ECU <NUM> determines that no connector is attached (no connector is connected) to inlet <NUM>. Further, for example, when the potential of connector connection signal PISW is not a potential within any of the first to fourth ranges, ECU <NUM> determines that the type of the connector attached to inlet <NUM> is unclear.

In S106, ECU <NUM> determines whether or not there is a function corresponding to the type of the attached connector. In memory <NUM> of ECU <NUM>, for example, information indicating types of available connectors is stored. When the determined type of the connector is included in the types of the available connectors stored beforehand in memory <NUM> of ECU <NUM>, ECU <NUM> determines that there is a function corresponding to the type of the connected connector. When the determined type of the connector is not included in the types of the available connectors stored in memory <NUM>, ECU <NUM> determines that there is no function corresponding to the type of the connected connector. Further, for example, when ECU <NUM> determines that the type of the connected connector is unclear, ECU <NUM> determines that there is no function corresponding to the type of the connected connector. Further, in the present embodiment, a connector used for DC discharging is not included in memory <NUM> of ECU <NUM> as a type of an available connector. It should be noted that DC discharging indicates external discharging that supplies DC power from DC connection portions 202f and <NUM> to an external facility. When it is determined that there is a function corresponding to the type of the connected connector (YES in S106), the processing proceeds to S108.

In S108, ECU <NUM> controls lock mechanism <NUM> to be set to the lock state in which the attached connector is locked at inlet <NUM>.

In S110, ECU <NUM> performs control corresponding to the attached connector. For example, when AC charging connector <NUM> is attached to inlet <NUM>, ECU <NUM> sets switch S2 to an ON state after the completion of the predetermined charging preparation processing. When the potential of pilot signal CPLT thereby changes to V2, power feed control device 10a sets power feed relays K1 and K2 between the AC power supply and AC charging connector <NUM> to an ON state. Thus, AC power is supplied from the AC power supply to inlet <NUM>. On this occasion, ECU <NUM> operates power conversion device <NUM> to convert the AC power into DC power. Thereby, AC charging is performed on battery <NUM>.

Alternatively, when DC charging connector <NUM> is attached to inlet <NUM>, ECU <NUM> sets switch S2 to an ON state after the completion of the predetermined charging preparation processing. When the potential of pilot signal CPLT thereby changes to V2, the power feed relays between the DC power supply and DC charging connector <NUM> are set to an ON state. Thus, DC power is supplied from the DC power supply to battery <NUM> via inlet <NUM>. Thereby, DC charging is performed on battery <NUM>.

Further, when AC discharging connector <NUM> is attached to inlet <NUM>, ECU <NUM> operates power conversion device <NUM> to convert the DC power of battery <NUM> into AC power. Thereby, when plug <NUM> of electrical apparatus <NUM> is connected to socket <NUM> of AC discharging connector <NUM>, the AC power from power conversion device <NUM> is supplied to electrical apparatus <NUM>. Thereby, AC discharging using battery <NUM> is performed. Electrical apparatus <NUM> operates using the AC power supplied by AC discharging. It should be noted that, when it is determined that there is no function corresponding to the type of the attached connector (NO in S106), the processing proceeds to S112.

In S112, ECU <NUM> controls lock mechanism <NUM> to maintain the unlock state in which removal of the attached connector is permitted.

An operation of ECU <NUM> of vehicle <NUM> based on the structure and the flowchart as described above will be described. It should be noted that, as described above, the connector used for DC discharging is not included as a type of an available connector stored in memory <NUM> of ECU <NUM>.

For example, it is assumed that the user attaches AC charging connector <NUM> of power feed facility <NUM> to inlet <NUM>.

When pilot signal CPLT and connector connection signal PISW are obtained (S100) and the potential of obtained connector connection signal PISW is a potential within the fourth range, it is determined that no connector is attached to inlet <NUM> (NO in S102). On the other hand, when the potential of connector connection signal PISW changes from the potential within the fourth range to a potential within the second range (i.e., out of the fourth range), it is determined that a connector is attached to inlet <NUM> (YES in S102). Further, since the potential of connector connection signal PISW is the potential within the second range, it is determined that the type of the attached connector is AC charging connector <NUM> (S104).

Since the connector used for AC charging is included as a type of an available connector stored in memory <NUM> of ECU <NUM>, it is determined that there is a function corresponding to the type of the attached connector (YES in S106), and lock mechanism <NUM> is controlled such that AC charging connector <NUM> is set to a lock state with respect to inlet <NUM> (S108). Then, AC charging is started (S110). Thus, AC power supplied from power feed facility <NUM> is converted into DC power in power conversion device <NUM> and is supplied to battery <NUM>, and battery <NUM> is charged.

For example, it is assumed that the user attaches DC charging connector <NUM> of power feed facility <NUM> to inlet <NUM>.

When pilot signal CPLT and connector connection signal PISW are obtained (S100) and the potential of obtained connector connection signal PISW changes from the potential within the fourth range to a potential within the third range (i.e., out of the fourth range), it is determined that a connector is attached to inlet <NUM> (YES in S102). Further, since the potential of connector connection signal PISW is the potential within the third range, it is determined that the type of the attached connector is DC charging connector <NUM> (S104).

Since the connector used for DC charging is included as a type of an available connector stored in memory <NUM> of ECU <NUM>, it is determined that there is a function corresponding to the type of the attached connector (YES in S106), and lock mechanism <NUM> is controlled such that DC charging connector <NUM> is set to the lock state with respect to inlet <NUM> (S108). Then, DC charging is started (S110). Thus, DC power supplied from power feed facility <NUM> is supplied to battery <NUM>, and battery <NUM> is charged.

For example, it is assumed that the user attaches AC discharging connector <NUM> to inlet <NUM>.

When pilot signal CPLT and connector connection signal PISW are obtained (S100) and the potential of obtained connector connection signal PISW changes from the potential within the fourth range to a potential within the first range (i.e., out of the fourth range), it is determined that a connector is attached to inlet <NUM> (YES in S102). Further, since the potential of connector connection signal PISW is the potential within the first range, it is determined that the type of the attached connector is AC discharging connector <NUM> (S104).

Since the connector used for AC discharging is included as a type of an available connector stored in memory <NUM> of ECU <NUM>, it is determined that there is a function corresponding to the type of the attached connector (YES in S106), and lock mechanism <NUM> is controlled such that AC discharging connector <NUM> is set to the lock state with respect to inlet <NUM> (S108). Then, AC discharging is started (S110). Thus, DC power of battery <NUM> is converted into AC power by power conversion device <NUM>. When plug <NUM> of electrical apparatus <NUM> is attached to socket <NUM> of AC discharging connector <NUM>, electrical apparatus <NUM> operates using the AC power converted by power conversion device <NUM>.

For example, it is assumed that the user attaches a connector for DC discharging to inlet <NUM>.

When pilot signal CPLT and connector connection signal PISW are obtained (S100) and the potential of obtained connector connection signal PISW changes from the potential within the fourth range to a potential out of the fourth range, it is determined that a connector is attached to inlet <NUM> (YES in S102). Further, when the potential of connector connection signal PISW is not a potential within any of the first, second, and third ranges, it is determined that the type of the attached connector is unclear (S104). Thus, it is determined that there is no function corresponding to the type of the attached connector (NO in S106), and lock mechanism <NUM> is controlled to maintain the unlock state in which removal of the connector from inlet <NUM> is permitted (S112).

As described above, according to the electrically powered vehicle in accordance with the present embodiment, when the type of the attached connector (corresponding to first information) obtained based on the potential of connector connection signal PISW is not included in the types of the available connectors (corresponding to second information and information indicating that power can be exchanged between the connector and battery <NUM>) stored in memory <NUM> of ECU <NUM>, lock mechanism <NUM> is set to the unlock state. Thus, since lock mechanism <NUM> is not set to the lock state, it is possible to make the user recognize that an operation corresponding to the attached connector cannot be performed. This can suppress the user from having a misunderstanding on whether or not the operation corresponding to the attached connector can be performed. Further, when the type of the attached connector is included in the types of the available connectors stored in memory <NUM> of ECU <NUM>, lock mechanism <NUM> is set to the lock state. Thus, since lock mechanism <NUM> is set to the lock state, it is possible to make the user recognize that the operation corresponding to the attached connector can be performed. Therefore, an electrically powered vehicle that controls a lock mechanism appropriately according to the type of a connector attached to an inlet, and a method for controlling the electrically powered vehicle can be provided.

Although the above embodiment has described that the type of the connector is determined using the potential of connector connection signal PISW, an element such as an upper limit value or a lower limit value of a current to be exchanged, or an upper limit value or a lower limit value of a voltage, for example, may be added to the type of the connector, and then the type of the connector may be determined using the potential of connector connection signal PISW.

For example, when there are a connector for AC charging in which the upper limit value of the current is set to Ia, and another connector for AC charging in which the upper limit value of the current is set to Ib which is higher than Ia, these two connectors can be distinguished using the potential of connector connection signal PISW, by setting resistors RC in these two connectors to have different values.

<FIG> is a view for describing ranges of the potential of connector connection signal PISW which can be obtained depending on the types and connection states of the connectors in a variation. The axis of ordinates in <FIG> represents the potential of connector connection signal PISW.

As shown in <FIG>, as the ranges of the potential of connector connection signal PISW which can be obtained depending on the types and connection states of the connectors, the first range from V(<NUM>) to V(<NUM>), the second range from V(<NUM>) to V(<NUM>), the third range from V(<NUM>) to V(<NUM>), and the fourth range from V(<NUM>) to V(<NUM>) are preset. The first range indicates a range of the potential of connector connection signal PISW which can be obtained when AC discharging connector <NUM> is attached to inlet <NUM>. The second range indicates a range of the potential of connector connection signal PISW which can be obtained when AC charging connector <NUM> is attached to inlet <NUM> (including potential V4). The third range indicates a range of the potential of connector connection signal PISW which can be obtained when DC charging connector <NUM> is attached to inlet <NUM>. The fourth range indicates a range of the potential of connector connection signal PISW which can be obtained when no connector is attached to inlet <NUM> (including potential V3).

Further, as shown in <FIG>, the second range is subdivided into a range from V(<NUM>) to V(<NUM>) and a range from V(<NUM>) to V(<NUM>). The range from V(<NUM>) to V(<NUM>) indicates a range of the potential of connector connection signal PISW which can be obtained when a connector in which a charging current during AC charging is limited at upper limit value Ia is attached to inlet <NUM>. The range from V(<NUM>) to V(<NUM>) indicates a range of the potential of connector connection signal PISW which can be obtained when a connector in which a charging current during AC charging is limited at upper limit value Ib (>Ia) is attached to inlet <NUM>.

For example, when the potential of connector connection signal PISW is a potential within the second range and is a potential within the range from V(<NUM>) to V(<NUM>), ECU <NUM> determines that the connector attached to inlet <NUM> is the connector used for AC charging in which the upper limit value of the current is set to Ia. Further, when the potential of connector connection signal PISW is a potential within the second range and is a potential within the range from V(<NUM>) to V(<NUM>), ECU <NUM> determines that the connector attached to inlet <NUM> is the connector used for AC charging in which the upper limit value of the current is set to Ib.

With such a configuration, when the attached connector of the power feed facility is a connector that is also used for AC charging but is intended for charging exceeding the upper limit value of the current or the upper limit value of the voltage available in vehicle <NUM>, lock mechanism <NUM> is controlled to maintain the unlock state. Thus, it is possible to make the user recognize that an operation corresponding to the attached connector cannot be performed.

It should be noted that, although <FIG> illustrates the case where the second range of the potential of connector connection signal PISW which can be obtained when the connector used for AC charging is attached is subdivided into two ranges based on current upper limit values, the second range may be further subdivided into a plurality of ranges, or the third range of the potential of connector connection signal PISW which can be obtained when the connector used for DC charging is attached may be subdivided into a plurality of ranges based on current upper limit values. Alternatively, as shown in <FIG>, the second range may be subdivided into two ranges or a plurality of ranges based on voltage upper limit values Va and Vb instead of current upper limit values Ia and Ib. <FIG> is a view for describing ranges of the potential of connector connection signal PISW which can be obtained depending on the types and connection states of the connectors in another variation. Unlike <FIG> showing that the second range is subdivided based on current upper limit values Ia and Ib, <FIG> shows that the second range is subdivided based on voltage upper limit values Va and Vb. With such a configuration, it is possible to determine whether the connector attached to inlet <NUM> is a connector used for AC charging in which the upper limit value of the voltage is set to Va, or a connector used for AC charging in which the upper limit value of the voltage is set to Vb.

Further, although <FIG> illustrates the case where the second range of the potential of connector connection signal PISW which can be obtained when the connector used for AC charging is attached is subdivided into two ranges based on two current upper limit values, the second range may be subdivided into two ranges based on two current lower limit values.

Further, although <FIG> illustrates the case where the second range of the potential of connector connection signal PISW which can be obtained when the connector used for AC charging is attached is subdivided into two ranges based on two voltage upper limit values, the second range may be subdivided into two ranges based on two voltage lower limit values.

With such a configuration, when power can be exchanged with an external facility only at more than or equal to a constant current (corresponding to a current lower limit value) or a constant voltage (corresponding to a voltage lower limit value), but a current upper limit value available on the vehicle side is lower than the constant current or a voltage upper limit value available on the vehicle side is lower than the constant voltage, lock mechanism <NUM> is controlled to maintain the unlock state. Thus, it is possible to make the user recognize that an operation corresponding to the attached connector cannot be performed.

Further, the above embodiment has described that only the types of connectors available in vehicle <NUM> are stored in memory <NUM> of ECU <NUM>, and thus ECU <NUM> can determine only the types of connectors available in vehicle <NUM>, and, for the type of a connector unavailable in vehicle <NUM> (such as the connector for DC discharging, for example), ECU <NUM> determines that the type of the connector is unclear. However, ECU <NUM> may also determine the type of an unavailable connector.

Further, although the above embodiment has described that lock mechanism <NUM> is controlled after the type of the connector is determined, lock mechanism <NUM> may be controlled to be set to the lock state when a connector is attached, for example.

<FIG> is a flowchart showing an example of processing performed by ECU <NUM> in a variation.

It should be noted that, in the flowchart of <FIG>, steps identical to those in the flowchart of <FIG> are designated by the same step numbers. Accordingly, the detailed description thereof will not be repeated.

When it is determined that a connector is attached (YES in S102), the processing proceeds to S200. In S200, ECU <NUM> controls lock mechanism <NUM> to be set to the lock state in which the attached connector is locked at inlet <NUM>. Then, the processing proceeds to S <NUM>.

When it is determined that there is a function corresponding to the type of the attached connector (YES in S106), the processing proceeds to S202. In S202, ECU <NUM> controls lock mechanism <NUM> to maintain the lock state. When it is determined that there is no function corresponding to the type of the attached connector (NO in S106), the processing proceeds to S204. In S204, ECU <NUM> controls lock mechanism <NUM> to be set to the unlock state in which removal of the attached connector is permitted.

With such a configuration, since lock mechanism <NUM> is set to the unlock state, it is possible to make the user recognize that an operation corresponding to the attached connector cannot be performed. This can suppress the user from having a misunderstanding on whether or not the operation corresponding to the attached connector can be performed.

Further, although the above embodiment has described that lock mechanism <NUM> is controlled after the type of the connector is determined, lock mechanism <NUM> may be controlled for example as described below. For example, the state of lock mechanism <NUM> can be manually switched when a connector is attached to inlet <NUM>, and thereafter, in a case where it is determined that there is a function corresponding to the type of attached connector, lock mechanism <NUM> may maintain the lock state when it is in the lock state, and may switch to the lock state when it is in the unlock state. In addition, in a case where it is determined that there is no function corresponding to the type of attached connector, lock mechanism <NUM> may switch to the unlock state when it is in the lock state, and may maintain the unlock state when it is in the unlock state.

Further, although the above embodiment has described that lock mechanism <NUM> is controlled according to the availability of the attached connector, the user may be notified of the availability of the attached connector, in addition to control of lock mechanism <NUM>.

<FIG> is a view showing an example of a configuration of vehicle <NUM> in a variation. Vehicle <NUM> shown in <FIG> is different from vehicle <NUM> shown in <FIG> in that vehicle <NUM> further includes a notification device <NUM>. Since the components other than that are the same as those in <FIG>, the detailed description thereof will not be repeated.

Notification device <NUM> displays predetermined information according to a control signal from ECU <NUM>, for example. Notification device <NUM> is, for example, an indicator constituted such that it can switch from one of a lighting state and a non-lighting state to the other state. Notification device <NUM> is provided, for example, at a position which is adjacent to inlet <NUM> and is viewable when the user attaches a connector to inlet <NUM>.

When it is determined that there is a function corresponding to the type of the attached connector, ECU <NUM> controls lock mechanism <NUM> to be set to the lock state, and sets the indicator to the lighting state. When it is determined that there is no function corresponding to the type of the attached connector, ECU <NUM> controls lock mechanism <NUM> to be set to the unlock state, and sets the indicator to the non-lighting state. It should be noted that the indicator may be constituted to emit blue light when it is determined that there is a function corresponding to the type of the attached connector, and emit red light when it is determined that there is no function corresponding to the type of the attached connector. Further, instead of an indicator, notification device <NUM> may be a display device that displays text information, or may be a voice generation device that generates predetermined information as voice. The text information or the predetermined information generated as voice may include, for example, information that there is a function corresponding to the type of the attached connector, or information that there is no such function.

<FIG> is a flowchart showing an example of processing performed by ECU <NUM> in another variation.

When lock mechanism <NUM> is controlled such that the connector is set to the lock state (S108), the processing proceeds to S300. In S300, ECU <NUM> sets the indicator constituting notification device <NUM> to the lighting state. When lock mechanism <NUM> is controlled to maintain an unlock state of the connector (S112), the processing proceeds to S302. In S302, ECU <NUM> maintains the non-lighting state of the indicator constituting notification device <NUM>.

With such a configuration, in addition to information as to whether lock mechanism <NUM> is set to the lock state or the unlock state, information as to whether or not power can be exchanged between the connector and battery <NUM> (that is, whether the indicator is in the lighting state or the non-lighting state) are notified by notification device <NUM>. Thus, it is possible to make the user recognize whether or not an operation corresponding to the attached connector can be performed. This can suppress the user from having a misunderstanding on whether or not the operation corresponding to the attached connector will be performed.

Further, although the above embodiment has described that lock mechanism <NUM> is controlled according to the availability of the attached connector (that is, according to whether or not power can be exchanged between the connector and battery <NUM>), lock mechanism <NUM> may be controlled to be set to the unlock state when it is not possible to determine whether or not power can be exchanged between the connector and battery <NUM>.

For example, when information received from the attached connector has an abnormality, ECU <NUM> cannot determine whether or not power can be exchanged between the connector and battery <NUM>, and thus ECU <NUM> controls lock mechanism <NUM> to be set to the unlock state.

For example, when an amount of change in the potential of connector connection signal PISW within a predetermined period exceeds a threshold value, or when the potential of connector connection signal PISW has an unusual value, ECU <NUM> determines that the information received from the attached connector has an abnormality.

This can suppress processing for charging or discharging from being stopped due to the abnormality of the received information, with lock mechanism <NUM> remaining in the lock state, for example. Accordingly, the user can remove the connector from the inlet when such an abnormality occurs.

Further, although the above embodiment has described that lock mechanism <NUM> is controlled according to the availability of the type of the attached connector, lock mechanism <NUM> may be controlled according to whether or not a predetermined condition is satisfied, instead of or in addition to the availability of the type of the attached connector.

Examples of the predetermined condition include a condition that the SOC of battery <NUM> is lower than a threshold value during external charging. For example, when it is determined that there is a function corresponding to the type of the attached connector, and the predetermined condition is satisfied, ECU <NUM> may control lock mechanism <NUM> to be set to the lock state. Further, for example, when it is determined that there is a function corresponding to the type of the attached connector, but the attached connector is a connector used for external charging, and the SOC of battery <NUM> is more than or equal to the threshold value, ECU <NUM> may control lock mechanism <NUM> to maintain the unlock state.

Alternatively, examples of the predetermined condition include a condition that the SOC of battery <NUM> is higher than a threshold value during external discharging. For example, when it is determined that there is a function corresponding to the type of the attached connector, and the predetermined condition is satisfied, ECU <NUM> may control lock mechanism <NUM> to be set to the lock state. Further, for example, when it is determined that there is a function corresponding to the type of the attached connector, but the attached connector is a connector used for external discharging, and the SOC of battery <NUM> is less than or equal to the threshold value, ECU <NUM> may control lock mechanism <NUM> to maintain the unlock state.

With such a configuration, when charging or discharging is not possible due to the SOC of battery <NUM>, lock mechanism <NUM> is controlled to maintain the unlock state. Thus, since lock mechanism <NUM> is set to the unlock state, it is possible to make the user recognize that an operation corresponding to the attached connector cannot be performed.

Further, although the above embodiment has described an exemplary case where AC charging, DC charging, and AC discharging are possible in vehicle <NUM>, it is satisfactory as long as at least two of AC charging, DC charging, AC discharging, and DC discharging are possible, and the present disclosure is not particularly limited to the case where AC charging, DC charging, and AC discharging are possible.

It should be noted that the variations described above may be implemented by combining some or all of them as appropriate.

Claim 1:
An electrically powered vehicle comprising:
a power storage device (<NUM>);
an inlet (<NUM>) to which a connector (<NUM>, <NUM>, <NUM>) of an external facility (<NUM>, <NUM>) external to the vehicle (<NUM>) can be attached;
a lock mechanism (<NUM>) that switches from one of a lock state and an unlock state to the other state, the lock state being a state in which removal of the connector (<NUM>, <NUM>, <NUM>) from the inlet (<NUM>) is restricted, the unlock state being a state in which removal of the connector (<NUM>, <NUM>, <NUM>) from the inlet (<NUM>) is permitted;
a detection device (<NUM>) that detects attachment of the connector (<NUM>, <NUM>, <NUM>) to the inlet (<NUM>); and
a control device (<NUM>) that controls the lock mechanism using a result detected by the detection device, wherein
when the attachment of the connector (<NUM>, <NUM>, <NUM>) to the inlet (<NUM>) is detected, the control device (<NUM>) obtains, from the external facility (<NUM>, <NUM>), first information about power which can be exchanged between the connector (<NUM>, <NUM>, <NUM>) and the power storage device (<NUM>),
the first information includes a potential of a connector connection signal, wherein the potential of the connector connection signal depends on resistance values of a first resistor (RC) and a second resistor (R4) provided in the connector,
the potential has a different value depending on a type of the connector,
the control device determines the type of the connector based on within which of a plurality of preset ranges the potential of the connector connection signal obtained when the connector is attached to the inlet falls,
when the control device (<NUM>) determines based on the first information that the power can be exchanged between the connector (<NUM>, <NUM>, <NUM>) and the power storage device (<NUM>), the control device (<NUM>) sets the lock mechanism (<NUM>) to the lock state, and
when the control device (<NUM>) determines based on the first information that the power cannot be exchanged between the connector (<NUM>, <NUM>, <NUM>) and the power storage device (<NUM>), the control device (<NUM>) sets the lock mechanism (<NUM>) to the unlock state.