Vehicle control method and device, vehicle, storage medium and program product

By obtaining the CP signal voltage of the charging and discharging circuit in an electric vehicle to identify the gun type, the problem of inaccurate judgment of the gun type in the prior art is solved, and the compatibility and user experience of charging and discharging are improved.

CN118928370APending Publication Date: 2024-11-12XIAOMI EV TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411267034.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In the prior art, in the process of charging and discharging of electric vehicles, the judgment of the gun type is inaccurate, resulting in poor charging compatibility, and abnormal charging interruption or repeated charging start and stop, affecting the user experience.

Method used

By obtaining the voltage of the CP signal in the vehicle charging and discharging line, identifying the target power transmission type of the power transmission device, avoiding abnormal judgment based on the CC resistance value lookup table, and improving the accuracy of the gun type identification and the compatibility of charging and discharging.

Benefits of technology

Improve the accuracy of gun type identification, avoid abnormal judgments caused by fluctuations in CC resistance value or non-standard charging piles, and improve the compatibility of charging and discharging and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118928370A_ABST
    Figure CN118928370A_ABST
Patent Text Reader

Abstract

The invention relates to a vehicle control method and device, a vehicle, a storage medium and a program product. Acquiring a first voltage for controlling and guiding CP signals in a vehicle charging and discharging circuit, wherein the charging and discharging circuit is a circuit for charging or discharging the vehicle after the vehicle is connected with an electric energy transmission device; determining a target electric energy transmission type corresponding to the electric energy transmission device according to the first voltage, wherein the target electric energy transmission type comprises a charging type or a discharging type; and controlling the vehicle to charge or discharge through the electric energy transmission device according to the target electric energy transmission type.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of vehicle control, and in particular to a vehicle control method, device, vehicle, storage medium and program product. Background Art

[0002] As the main new energy vehicle, electric vehicles are becoming more and more popular. The charging and discharging issues of electric vehicles are important factors affecting their development. When charging an electric vehicle, the charging gun connected to the charging pile can be inserted into the electric vehicle. At this time, the plug type of the charging gun is the charging type (for example, the "AC (Alternating Current) charging" type). The charging pile transmits electrical energy to the charging gun, and the charging gun then transmits the electrical energy to the on-board charger on the electric vehicle. The on-board charger is responsible for converting the electrical energy and storing it in the battery. In addition, current electric vehicles also support discharging to external loads or external vehicles. When the electric vehicle is discharging to the outside, it can transmit electrical energy to the external load or external vehicle by inserting the discharge gun on the vehicle. At this time, the plug type of the discharge gun is the discharge type. The discharge type may include, for example, V2L (Vehicle to Load) discharge when discharging to an external load or V2V (Vehicle to Vehicle) discharge when discharging to an external vehicle.

[0003] In actual application scenarios, the vehicle can control the vehicle to perform different charging and discharging operations by judging the plug type. Summary of the invention

[0004] To overcome the problems existing in the related art, the present disclosure provides a vehicle control method, device, vehicle, storage medium and program product.

[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a vehicle control method, comprising: Acquire a first voltage of a control pilot CP signal in a vehicle charging and discharging circuit, wherein the charging and discharging circuit is a circuit for charging or discharging the vehicle after the vehicle is connected to an electric energy transmission device; Determine a target power transmission type corresponding to the power transmission device according to the first voltage, wherein the target power transmission type includes a charging type or a discharging type; The vehicle is controlled to be charged or discharged through the power transmission device according to the target power transmission type.

[0006] Optionally, determining a target power transmission type corresponding to the power transmission device according to the first voltage includes: When the first voltage is greater than a first voltage threshold, the target power transmission type is determined to be the charging type.

[0007] Optionally, the method further comprises: Acquire a second voltage of a connection confirmation CC signal in the charge and discharge circuit; The step of determining the target power transmission type corresponding to the power transmission device according to the first voltage includes: The target power transmission type is determined according to the first voltage and the second voltage.

[0008] Optionally, determining the target power transmission type according to the first voltage and the second voltage includes: When the first voltage is less than or equal to a first voltage threshold, determining a target resistance value of a CC resistor corresponding to the vehicle according to the second voltage; The target power transmission type is determined according to the target resistance value and a preset resistance range corresponding to the CC resistance, wherein the preset resistance range includes preset resistance ranges corresponding to a plurality of different power transmission types.

[0009] Optionally, determining the target power transmission type according to the target resistance value and a preset resistance range corresponding to the CC resistance includes: Determine a target resistance interval in which the target resistance value is located from the plurality of preset resistance intervals; The power transmission type corresponding to the target resistance range is used as the target power transmission type.

[0010] Optionally, the power transmission type includes the discharge type, and the discharge type includes a first discharge type, and the first discharge type indicates that the vehicle discharges to an external load through the power transmission device; The power transmission type corresponding to the target resistance range as the target power transmission type includes: If the power transmission type corresponding to the target resistance range is the first discharge type, the first discharge type is used as the target power transmission type.

[0011] Optionally, the power transmission type includes the charging type and the discharging type, and the discharging type includes a second discharging type; wherein the charging type indicates that the vehicle is charged by the power transmission device, and the second discharging type indicates that the vehicle discharges to an external vehicle by the power transmission device; the preset resistance value intervals corresponding to the charging type and the second discharging type are the same; The power transmission type corresponding to the target resistance range as the target power transmission type includes: In the case where the target resistance interval is a preset resistance interval corresponding to the charging type and the second discharge type, if a discharge indication message triggered by a user is obtained within a preset time period, the target power transmission type is determined to be the second discharge type; if the discharge indication message is not obtained within the preset time period, the target power transmission type is determined to be the charging type.

[0012] Optionally, controlling the vehicle to charge or discharge through the power transmission device according to the target power transmission type includes: Determine, according to the target power transmission type, a target resistance value sub-interval in which a target resistance value of a CC resistor corresponding to the vehicle is located, wherein the target resistance value sub-interval is a subset of the target resistance value interval in which the target resistance value is located, and different resistance value sub-intervals correspond to different currents; Determining a target current corresponding to the target resistance value subinterval; According to the target power transmission type, the vehicle is controlled to be charged or discharged through the power transmission device according to the target current.

[0013] Optionally, after controlling the vehicle to charge or discharge through the power transmission device according to the target power transmission type, the method further includes: Recording the target power transmission type as a target type, and periodically acquiring a third voltage of the CP signal; If the magnitude relationship between the third voltage and the first voltage threshold is different from the magnitude relationship between the first voltage and the first voltage threshold, reacquiring a fourth voltage of the CC signal; In the case that the fourth voltage is greater than the second voltage threshold, the re-determined target power transmission type is still the target type, and the second voltage threshold is less than or equal to the first voltage threshold.

[0014] Optionally, the method further comprises: In response to receiving a wake-up instruction after the vehicle goes into hibernation, reacquiring a fifth voltage of the CC signal; When the fifth voltage is greater than the second voltage threshold, it is determined that the target power transmission type is still the target type.

[0015] According to a second aspect of an embodiment of the present disclosure, there is provided a vehicle control device, comprising: an acquisition module, configured to acquire a first voltage of a control pilot CP signal in a vehicle charging and discharging circuit, wherein the charging and discharging circuit is a circuit for charging or discharging the vehicle after the vehicle is connected to a power transmission device; a determination module, configured to determine a target power transmission type corresponding to the power transmission device according to the first voltage, wherein the target power transmission type includes a charging type or a discharging type; The control module is configured to control the vehicle to charge or discharge through the power transmission device according to the target power transmission type.

[0016] According to a third aspect of an embodiment of the present disclosure, a vehicle is provided, comprising: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to execute the steps of the method described in the first aspect of the present disclosure.

[0017] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in the first aspect of the present disclosure are implemented.

[0018] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, which implements the steps of the method described in the first aspect of the present disclosure when executed by a processor.

[0019] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the target power transmission type (i.e., the plug type) of the power transmission device can be identified by collecting the voltage of the CP signal in the charging and discharging circuit of the vehicle. Based on the principle of the charging and discharging circuit, it can be determined that when the plug type is charging or discharging, the voltage of the CP signal is significantly different. Therefore, compared with determining the plug type based on the CC resistance value lookup table, using the voltage of the CP signal to identify the plug type can improve the accuracy of type identification, and can also avoid the problem of abnormal plug type judgment caused by fluctuations in the CC resistance value or the plug resistance value of the non-standard charging pile is not in the table, thereby improving the compatibility of charging and discharging.

[0020] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0022] Figure 1 The schematic diagram of the control and guidance circuit corresponding to AC charging is shown.

[0023] Figure 2 The schematic diagram of the control guidance circuit corresponding to V2L discharge is shown.

[0024] Figure 3 The schematic diagram of the control guidance circuit corresponding to V2V discharge is shown.

[0025] Figure 4 The present invention is a flow chart of a vehicle control method according to an exemplary embodiment.

[0026] Figure 5 is based on Figure 4 The illustrated embodiment shows a flow chart of a vehicle control method.

[0027] Figure 6 is based on Figure 5 The illustrated embodiment shows a flow chart of a vehicle control method.

[0028] Figure 7 is based on Figure 6 The illustrated embodiment shows a flow chart of a vehicle control method.

[0029] Figure 8 The figure is a schematic diagram showing a corresponding relationship between a resistance value sub-interval and a charging or discharging current according to an exemplary embodiment.

[0030] Fig. 9 is based on Figure 5 The illustrated embodiment shows a flow chart of a vehicle control method.

[0031] Fig.10 is based on Fig. 9 The illustrated embodiment shows a flow chart of a vehicle control method.

[0032] Fig.11 is a block diagram of a vehicle control device according to an exemplary embodiment.

[0033] Fig.12 is based on Fig.11 The illustrated embodiment shows a block diagram of a vehicle control device.

[0034] Fig.13 is a block diagram of a vehicle according to an exemplary embodiment. DETAILED DESCRIPTION

[0035] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0036] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.

[0037] The present disclosure is mainly applied to the scenario of AC charging and discharging of electric vehicles. In this scenario, it is necessary to control the vehicle to perform different charging or discharging operations based on the judgment of the plug type.

[0038] In the related art, the type of plug is determined by referring to the general requirements "GB / T 18487.1-2015 Electric vehicle conductive charging system Part 1" (hereinafter referred to as "GB / T 18487.1") and "GB / T 18487.4-202X Electric vehicle conductive charging and discharging system Part 4" (hereinafter referred to as "GB / T 18487.4"). Among them, "GB / T 18487.1" stipulates the type of AC charging, and Figure 1 The control pilot circuit schematic diagram corresponding to AC charging is shown in the figure. GB / T 18487.4 stipulates the V2L discharge type for discharging to an external load, and Figure 2 The control and guidance circuit schematic diagram corresponding to the V2L discharge is shown in the figure. GB / T18487.4 also specifies the V2V discharge type for external vehicles, as well as Figure 3 The schematic diagram of the control steering circuit corresponding to the V2V discharge is shown. like Figure 1 As shown, the on-board charger can calculate the CC (Charging Connection Confirmation) resistance (i.e. Figure 1 RC resistance in), and then query Table 1 and Table 2 based on the RC resistance value to confirm whether the plug type is AC charging or V2L discharge. Among them, Table 1 specifies the vehicle interface connection status and RC resistance value during AC charging. Table 2 specifies the vehicle interface connection status and RC resistance value during AC V2L discharge. In addition, Table 3 also specifies the vehicle interface connection status and RC resistance value during AC V2V discharge. It can be seen from Tables 1 and 3 that the CC resistance value corresponding to AC charging and the CC resistance value corresponding to V2V discharge defined by the above two general requirements are the same. Therefore, it is not possible to further confirm whether the plug type is AC charging or V2V discharge by only detecting the CC resistance value.

[0039]

[0040] Table 1

[0041] Table 2

[0042] Table 3 Taking Table 1 as an example, in the related technology, charging is allowed only when the CC resistance is detected to be within the resistance range corresponding to Table 1, otherwise charging is not allowed. However, there are no mandatory and unified regulatory standards for the production of charging piles on the market, and the quality of charging piles varies. When the CC resistance value (also known as the plug resistance value) of such non-standard charging piles is not in Table 1, or the CC resistance fluctuates due to poor contact of the charging gun, etc., it may cause the plug type to be misjudged. In addition, abnormal charging interruption or repeated charging start and stop may occur due to abnormal judgment of the plug status, affecting the user's charging experience and poor AC charging compatibility.

[0043] In addition, there are facilities on the market that support or potentially support AC charging / discharging functions at the same time, that is, such equipment supports both AC charging and AC external load discharge. This type of equipment identifies and switches between the two types of plugs by whether the power grid is powered on, so there will be a type of problem. When the device is working in charging mode and the power grid is powered off, the on-board charger will detect that the plug type directly jumps from AC charging to V2L discharge, which is then reflected in the large-screen charge / discharge page display, causing user misunderstandings and may even enter a discharge process that the user does not expect. Similarly, when the device is working in V2L discharge mode and the power grid is powered on, the on-board charger will detect that the plug type directly jumps from V2L discharge to AC charging, which is then reflected in the large-screen charge / discharge page display, and may even enter a charging process that the user does not expect, which also causes user misunderstandings.

[0044] In the relevant technology, for scenarios where AC charging and V2V discharging cannot be identified, the user is often required to confirm "start discharging" through the vehicle computer operation before it can be identified as V2V discharging. If the V2V discharging is interrupted or the user does not unplug the gun after the discharging is completed, the whole vehicle will enter the power-off dormant state. When the user wakes up the whole vehicle again, the on-board charger will re-determine it as AC charging based on the CC resistance, causing the user to be unable to understand the sudden change from "V2V discharging" to "AC charging", which will also cause user misunderstanding and affect the user's car experience.

[0045] In order to solve the above problems, the present disclosure provides a vehicle control method, device, vehicle, storage medium and program product. The specific implementation of the present disclosure is described in detail below with reference to the accompanying drawings.

[0046] Figure 4 FIG. 1 is a flow chart of a vehicle control method according to an exemplary embodiment. The method can be applied to a vehicle, which may include a new energy vehicle equipped with an on-board charger. Figure 4 As shown, the method comprises the following steps: In step S101, a first voltage of a control pilot CP signal in a vehicle charging and discharging circuit is obtained, where the charging and discharging circuit is a circuit for charging or discharging the vehicle after the vehicle is connected to a power transmission device.

[0047] The power transmission device may include, for example, a charging gun or a discharging gun. The vehicle charging and discharging circuit refers to a circuit for charging or discharging the vehicle after the vehicle is connected to the power transmission device. For example, when charging the vehicle, the vehicle charging and discharging circuit may include, for example, Figure 1 When discharging to an external load, the vehicle charging and discharging circuit may include: Figure 2 When discharging to an external vehicle, the vehicle charging and discharging circuit may include the following: Figure 3 The circuit shown.

[0048] The CP (Control Pilot) signal is the signal transmitted by the CP line in the vehicle charging and discharging circuit. Figure 1 In the example, the voltage at detection point 2 is the first voltage of the CP signal. Figure 2 and Figure 3 In the test point 2 / The voltage is the first voltage of the CP signal.

[0049] In step S102, a target power transmission type corresponding to the power transmission device is determined according to the first voltage, and the target power transmission type includes a charging type or a discharging type.

[0050] Among them, the target power transmission type corresponding to the power transmission device refers to the plug type corresponding to the power transmission device. For example, when the vehicle is charged with AC, the charging gun connected to the charging pile is inserted into the vehicle, and the plug type of the charging gun is AC charging. When the vehicle discharges to an external load, the discharge gun connected to the vehicle discharges to the external load, and the plug type of the discharge gun is V2L discharge. When the vehicle discharges to an external vehicle, the discharge gun connected to the vehicle discharges to the external vehicle, and the plug type of the discharge gun is V2V discharge. Therefore, in the present disclosure, the charging type may include AC charging, and the discharging type may include V2L discharge or V2V discharge.

[0051] In this step, when the first voltage is greater than or equal to a first voltage threshold, the target power transmission type may be determined to be the charging type.

[0052] refer to Figure 1 For a charged AC charging pile, after the gun is plugged in, the RC resistance value corresponding to the voltage at detection point 3 meets the voltage value after resistance voltage division based on Table 1, and the voltage at detection point 2 meets the voltage definition in Table 4 below. The voltage at detection point 2 comes from Figure 1 The "power supply control device" at the charging pile end, after the vehicle is plugged into the charging gun, the circuit where the detection point 2 is located forms a loop. Due to the effect of the resistance voltage divider on the line, the voltage at the detection point 2 will change from 0V when the gun is not plugged in to the voltage value under the corresponding working conditions of state 2 or state 3 in Table 4.

[0053]

[0054] Table 4 For AC discharge guns, Figure 2 and Figure 3 As shown, at the moment of gun insertion, only detection point 3 / There is a voltage divider formed based on CC resistance, detection point 2 / The voltage is 0V. The reason is that under AC discharge, the detection point 2 / The voltage is output by the "discharging vehicle control device" at the discharging vehicle end. Figure 2 and Figure 3 In the CP circuit, since the default state of S4 is the detection state, when the on-board charger does not confirm that it is going to discharge, the detection point 2 / The circuit does not form a live circuit, so the detection point 2 / The voltage is 0V.

[0055] Therefore, based on the above analysis, it can be determined that the first voltage of the CP signal (i.e. Figure 1 The voltage at detection point 2 or Figure 2 and Figure 3 Middle detection point 2 / When the voltage of the target power transmission device is greater than or equal to the first voltage threshold, the target power transmission type can be determined to be a charging type. The first voltage threshold can be 0V or a preset voltage value close to 0V. For example, the first voltage threshold can also be 1V. This is only an example and is not limited in the present disclosure.

[0056] In step S103, the vehicle is controlled to be charged or discharged through the power transmission device according to the target power transmission type.

[0057] In a possible implementation of this step, a vehicle control device on the vehicle may control the vehicle to charge or discharge through an on-board charger according to the target power transmission type.

[0058] For example, if the target power transmission type is AC charging, the power transmission device connected to the vehicle is a charging gun, and the vehicle control device can control the on-board charger to receive the power transmitted by the charging gun and store the power in the vehicle battery to charge the vehicle. If the target power transmission type is V2L discharge, the power transmission device connected to the vehicle is a discharge gun, and the vehicle control device can control the on-board charger to transmit the power stored in the vehicle battery to an external load through the discharge gun to discharge the external load. The above examples are for illustration only and are not limited in this disclosure.

[0059] By adopting the above method, the target power transmission type (i.e., the plug type) of the power transmission device can be identified by collecting the voltage of the CP signal in the charging and discharging circuit of the vehicle. Based on the principle of the charging and discharging circuit, it can be determined that when the plug type is charging or discharging, the voltage of the CP signal is significantly different. Therefore, compared with determining the plug type based on the CC resistance value lookup table, using the voltage of the CP signal to identify the plug type can improve the accuracy of type identification, and can also avoid the problem of abnormal plug type judgment caused by fluctuations in CC resistance value or the plug resistance value of a non-standard charging pile not being in the table, thereby improving the compatibility of charging and discharging.

[0060] Figure 5 is based on Figure 4 The embodiment shown is a flow chart of a vehicle control method, such as Figure 5 As shown, the method further comprises the following steps: In step S104, a second voltage of a connection confirmation CC signal in the charge and discharge circuit is obtained.

[0061] In this way, during the execution of step S102, the target power transmission type can be determined according to the first voltage and the second voltage.

[0062] Among them, the CC signal is the signal transmitted by the CC line in the vehicle's charging and discharging circuit. In actual application scenarios, the on-board charger can obtain the connection signal through the CC line. For example, when the vehicle is plugged into the charging gun, the charging gun will send a connection signal to the on-board charger through the CC line to trigger the start and communication of the charging process. This connection signal is transmitted through the CC line, enabling the on-board charger to recognize the insertion of the charging gun and start corresponding control and communication. Therefore, the on-board charger can obtain the connection signal with the help of the CC line to start the charging process. Similarly, during the process of the vehicle discharging outward, the connection signal can also be obtained through the CC line to start the discharge process.

[0063] In addition, the second voltage of the CC signal may include, for example Figure 1 The voltage at the detection point 3 shown in the figure, or including Figure 2 or Figure 3 Middle detection point 3 / voltage.

[0064] As described above, in the process of determining the target power transmission type corresponding to the power transmission device according to the first voltage, if the first voltage is greater than the first voltage threshold, the target power transmission type can be determined to be the charging type. However, when the first voltage is less than or equal to the first voltage threshold, the target power transmission type is further determined in combination with the second voltage of the CC signal. Therefore, in the process of executing step S102, the target power transmission type can be determined according to the first voltage and the second voltage.

[0065] Figure 6 is based on Figure 5 The embodiment shown is a flow chart of a vehicle control method, such as Figure 6 As shown, step S102 includes the following sub-steps: In step S1021, when the first voltage is less than or equal to a first voltage threshold, a target resistance value of a CC resistor corresponding to the vehicle is determined according to the second voltage.

[0066] Among them, the CC resistance is Figure 1 , Figure 2 or Figure 3 The resistance value of the RC resistor located at the vehicle interface.

[0067] like Figure 1 As shown, the second voltage is the voltage of the detection point 3. Figure 1 In the example, the vehicle control device, the CC line, the RC resistor, and the parallel switches S3 and R4 form a loop. Based on the voltage at the detection point 3 and the resistance voltage division in the loop, the target resistance value of the RC resistor can be calculated.

[0068] For example, if the first voltage threshold is 1 V, when it is determined that the first voltage is less than 1 V, the target resistance value of the CC resistor corresponding to the vehicle can be determined according to the second voltage. If the first voltage threshold is 0 V, when it is determined that the first voltage is equal to 0 V, the target resistance value of the CC resistor corresponding to the vehicle can be determined according to the second voltage.

[0069] In step S1022, the target power transmission type is determined according to the target resistance value and a preset resistance range corresponding to the CC resistance, wherein the preset resistance range includes preset resistance ranges corresponding to a plurality of different power transmission types.

[0070] In this step, the target resistance interval in which the target resistance value is located can be determined from a plurality of the preset resistance intervals; and the power transmission type corresponding to the target resistance interval is used as the target power transmission type.

[0071] In the present disclosure, the power transmission type may include a charging type and a discharging type, and the discharging type further includes a first discharging type and a second discharging type. Among them, the charging type represents the charging of the vehicle through the power transmission device, the first discharging type represents the discharge of the vehicle to an external load through the power transmission device, and the second discharging type represents the discharge of the vehicle to an external vehicle through the power transmission device. For example, the charging type may be AC ​​charging, the first discharging type may be V2L discharge, and the second discharging type may be V2V discharge. Among them, the discharge type and the first discharge type may correspond to different preset resistance ranges, but it should be particularly emphasized that, as shown in Table 1 and Table 3, in the present disclosure, the preset resistance ranges corresponding to the charging type and the second discharge type are the same.

[0072] Since the preset resistance intervals corresponding to the charging type and the second discharge type are the same, and the preset resistance interval corresponding to the first discharge type is different from other power transmission types, when it is determined that the target resistance interval where the target resistance value is located is the preset resistance interval corresponding to the first discharge type, the target power transmission type can be determined to be the first discharge type.

[0073] Therefore, in a possible implementation of this step, the power transmission type includes a first discharge type, and the first discharge type characterizes that the vehicle discharges to an external load through the power transmission device; thus, in the process of using the power transmission type corresponding to the target resistance range as the target power transmission type, if the power transmission type corresponding to the target resistance range is the first discharge type, the first discharge type can be used as the target power transmission type.

[0074] Since the preset resistance intervals corresponding to the charging type and the second discharge type are the same, when it is determined that the target resistance value is in the preset resistance interval corresponding to the second discharge type and the charging type, it is still not possible to determine whether the target power transmission type is the charging type or the second discharge type. In this case, the target power transmission type can be further determined in combination with the discharge indication message confirmed by the user through the vehicle computer operation (such as the user clicking the "start discharge" button on the vehicle computer screen).

[0075] That is to say, in another possible implementation of this step, the power transmission type includes the charging type and the discharging type, and the discharging type includes the second discharging type; wherein the charging type indicates that the vehicle is charged by the power transmission device, and the second discharging type indicates that the vehicle discharges to an external vehicle by the power transmission device; the preset resistance intervals corresponding to the charging type and the second discharging type are the same; thus, in the process of using the power transmission type corresponding to the target resistance interval as the target power transmission type, when the target resistance interval is the preset resistance interval corresponding to the charging type and the second discharging type, if a user-triggered discharge indication message is obtained within the preset time period, the target power transmission type is determined to be the second discharge type, and if the discharge indication message is not obtained within the preset time period, the target power transmission type is determined to be the charging type. The discharge indication message is a message generated based on the user's triggering operation on the vehicle computer to instruct the vehicle to discharge.

[0076] It should be noted that the preset resistance interval corresponding to each power transmission type may include at least one. The setting of the preset resistance intervals corresponding to different power transmission types can be based on the CC resistance values ​​corresponding to different power transmission types recorded in Tables 1 to 3, and can be set in combination with actual business needs. The present disclosure does not specifically limit the specific interval range of the preset resistance intervals corresponding to different power transmission types.

[0077] It should also be noted that the range of the preset resistance interval corresponding to each power transmission type in the present disclosure is usually larger than the CC resistance range specified in Tables 1 to 3, and it can be understood that the CC resistance range specified in Tables 1 to 3 is a subset of the corresponding preset resistance interval. In this way, the problem of abnormal judgment of the plug-in status caused by the uneven quality of charging piles, such as non-standard charging piles, whose plug-in resistance is not within the above range, or the CC resistance fluctuation caused by poor contact of the charging gun, can be well solved.

[0078] Figure 7 is based on Figure 6 The embodiment shown is a flow chart of a vehicle control method, such as Figure 7 As shown, step S103 includes the following sub-steps: In step S1031, a target resistance value sub-interval of a target resistance value of a CC resistor corresponding to the vehicle is determined according to the target power transmission type, wherein the target resistance value sub-interval is a subset of the target resistance value sub-interval of the target resistance value, and different resistance value sub-intervals correspond to different currents.

[0079] In this step, a preset resistance range corresponding to the target power transmission type may be determined first according to the target power transmission type, and then a target resistance sub-range in which the target resistance value is located may be determined from a plurality of resistance sub-ranges included in the preset resistance range.

[0080] In step S1032, a target current corresponding to the target resistance value sub-interval is determined.

[0081] The target current may include one of an AC charging current, a V2L discharging current, and a V2V discharging current. The specific type of the target current corresponds to the target power transmission type.

[0082] In step S1033, the vehicle is controlled to be charged or discharged according to the target electric energy transmission type through the electric energy transmission device according to the target current.

[0083] For example, Figure 8 FIG. 1 is a schematic diagram showing a corresponding relationship between a resistance value sub-interval and a charging or discharging current according to an exemplary embodiment. Figure 8 As shown, if the first voltage is greater than 1V (i.e., the first voltage threshold), it is determined that the target power transmission type is AC charging. In this case, the magnitude of the charging current for AC charging of the vehicle can be further determined based on the target resistance value sub-interval in which the target resistance value of the CC resistor is located, such as Figure 8 As shown, in the case of AC charging, the resistance value sub-intervals corresponding to the CC resistor include four resistance value sub-intervals: interval 1 corresponding to 100Ω, interval 2 corresponding to 220Ω, interval 3 corresponding to 680Ω, and interval 4 corresponding to 1500Ω. Different resistance value sub-intervals correspond to different AC charging currents, such as Figure 8 As shown, interval 1 corresponds to a charging current of 63A, interval 2 corresponds to a charging current of 32A, interval 3 corresponds to a charging current of 16A, and interval 4 corresponds to a charging current of 10A. If the first voltage is less than 1V, and the target power transmission type is determined to be V2L discharge, the resistance value sub-interval corresponding to the CC resistor includes three resistance value sub-intervals: interval 5 corresponding to 1000Ω, interval 6 corresponding to 2000Ω, and interval 7 corresponding to 2700Ω. Similarly, different resistance value sub-intervals correspond to different discharge currents, such as Figure 8 As shown, interval 5 corresponds to a discharge current of 32A, interval 6 corresponds to a discharge current of 16A, and interval 7 corresponds to a discharge current of 10A. If the first voltage is less than 1V, and the target power transmission type is determined to be AC ​​charging or V2V discharging, the resistance value sub-interval corresponding to the CC resistance includes four resistance value sub-intervals: interval 8 corresponding to 100Ω, interval 9 corresponding to 220Ω, interval 10 corresponding to 680Ω, and interval 11 corresponding to 1500Ω. Similarly, different resistance value sub-intervals correspond to different discharge currents, such as Figure 8 As shown, interval 8 corresponds to a discharge current of 63A, interval 9 corresponds to a discharge current of 32A, interval 10 corresponds to a discharge current of 16A, and interval 11 corresponds to a discharge current of 10A. It should be noted that Figure 8 Every two adjacent intervals in are continuous, that is, in two adjacent intervals, the lower limit of the previous interval is the upper limit of the next interval.

[0084] In this way, based on Figure 8 The corresponding relationship shown can determine the specific current value of the target current corresponding to the target resistance value sub-interval. If the target current is an AC charging current, the vehicle can be controlled to charge the vehicle through the charging gun according to the specific current value of the AC charging current. If the target current is a V2L discharge current or a V2V discharge current, the vehicle can be controlled to discharge to the outside through the discharge gun according to the specific current value of the target current. The above examples are only for illustration and the present disclosure is not limited to this.

[0085] By adopting the above method, the plug type can be identified by collecting the voltage of the CP signal in the vehicle's charging and discharging circuit. Based on the principle of the charging and discharging circuit, it can be determined that when the plug type is charging or discharging, the voltage of the CP signal is significantly different. Therefore, compared with determining the plug type based on the CC resistance value table, using the voltage of the CP signal to identify the plug type can improve the accuracy of type identification, and can also avoid the problem of abnormal plug type judgment caused by CC resistance value fluctuations or the plug resistance value of non-standard charging piles not being in the table, thereby improving the compatibility of charging and discharging. In this way, even if some charging guns are not developed according to the CC resistance value defined by the general requirements, the intermediate resistance stage can still support charging compatible with the lower gear.

[0086] Considering the actual application scenarios, AC charging and V2L discharging are mutually exclusive. For example, when the target power transmission type has been identified as AC charging, during the current plug-in cycle, if the user does not completely unplug the charger, even if the charging pile is powered off and the voltage of the CP signal is less than the first voltage threshold (such as Figure 1 In order to avoid the sudden change of the plug type from AC charging to V2L discharge, the plug type of AC charging is still reported to avoid feedback of V2L discharge causing user misunderstanding or even mistakenly entering the discharge process and affecting subsequent charging functions. Similarly, when the target power transmission type has been identified as V2L discharge, if the plug type is not completely pulled out, Figure 1If the voltage of detection point 2 is >1V and the CC resistance corresponding to detection point 3 meets the resistance requirements of Table 1, the on-board charger still needs to report the plug type of V2L discharge to avoid feedback of the plug type of AC charging, which may cause user misunderstanding or even mistakenly enter the charging process and affect the subsequent discharge function. Therefore, in actual business needs, if it is determined that the user has not completely unplugged the plug, the plug type reported by the on-board charger is not allowed to change.

[0087] In order to solve this technical problem, the present invention can write the target power transmission type into the controller memory after identifying the target power transmission type, so as to avoid the problem that the plug-in type reported by the on-board charger jumps when the user has not completely pulled out the gun.

[0088] Fig. 9 is based on Figure 5 The embodiment shown is a flow chart of a vehicle control method, such as Fig. 9 As shown, after step S103, the method may further include the following steps: In step S105, the target power transmission type is recorded as the target type, and the third voltage of the CP signal is periodically acquired.

[0089] The target type may include any one of AC charging, V2L discharging and V2V discharging.

[0090] In the present disclosure, recording the target power transmission type as the target type can be understood as writing the target power transmission type in the controller memory of the vehicle, for example, the target power transmission type stored in the controller memory is the target type. Periodically acquiring the third voltage of the CP signal can be understood as periodically acquiring the third voltage of the CP signal as shown in FIG. Figure 1 The voltage at the detection point 2 is shown so as to monitor the voltage at the detection point 2.

[0091] In step S106, if the magnitude relationship between the third voltage and the first voltage threshold is different from the magnitude relationship between the first voltage and the second voltage threshold, the fourth voltage of the CC signal is reacquired.

[0092] It can be understood that the first voltage and the third voltage are both voltages of the CP signal (eg Figure 1 As shown in FIG. 1 , both are voltages corresponding to detection point 2), but the acquisition time of the first voltage and the third voltage is different.

[0093] For example, when the target power transmission type is identified as AC charging, during the current plug-in cycle, the voltage of the CP signal may be less than the first voltage threshold (such as Figure 1The voltage of the detection point 2 shown is <1V), that is, when the charging pile is not powered off, the magnitude relationship between the collected first voltage and the first voltage threshold is that the first voltage is greater than the first voltage threshold. After the charging pile is powered off, the magnitude relationship between the collected third voltage and the first voltage threshold becomes that the third voltage is less than the first voltage threshold. In this case, it is considered that the magnitude relationship between the third voltage and the first voltage threshold is different from the magnitude relationship between the first voltage and the first voltage threshold. In this case, the fourth voltage of the CC signal can be re-acquired to determine whether the user has drawn the gun based on the re-acquired fourth voltage.

[0094] In step S107, when the fourth voltage is greater than the second voltage threshold, the re-determined target power transmission type is still the target type, and the second voltage threshold is less than or equal to the first voltage threshold.

[0095] The second voltage threshold may be, for example, 0 V or a voltage value close to 0 V. The fourth voltage is the voltage of the reacquired CC signal, such as Figure 1 As shown, the voltage of detection point 3 can be re-collected as the fourth voltage. As described above, the on-board charger can obtain the connection signal through the CC line. When it is determined that the voltage of the CC signal is greater than 0V, it can be regarded that the user has not unplugged the gun. Therefore, in this step, when the fourth voltage is greater than the second voltage threshold, it can be regarded that the user has not unplugged the gun. At this time, in order to avoid the problem of the plug-in type reported by the on-board charger jumping when the user has not completely unplugged the gun, it can be confirmed that the re-determined target power transmission type is still the target type.

[0096] In another possible application scenario, in order to avoid the problem of target power transmission type jumping after the vehicle goes into sleep mode, for the plug-in types that have been identified as AC charging, V2L discharging, and V2V discharging, the present disclosure can write the plug-in type before the vehicle goes into sleep mode into the memory of the on-board charger controller. When the vehicle wakes up again, if it is identified that the charger is still plugged in, the plug-in type in the controller memory is read and reported. If it is identified as unplugged after waking up, the unplugged state can be fed back.

[0097] Fig.10 is based on Fig. 9 The embodiment shown is a flow chart of a vehicle control method, such as Fig.10 As shown, the method may also include the following steps: In step S108, in response to receiving a wake-up instruction after the vehicle goes into hibernation, the fifth voltage of the CC signal is reacquired, and when the fifth voltage is greater than the second voltage threshold, it is determined that the target power transmission type is still the target type.

[0098] The fifth voltage and the fourth voltage are both voltages of the CC signal, and the difference is that the acquisition time is different. For example, when a wake-up instruction is received after the vehicle is dormant, the voltage of the CC signal collected is the fifth voltage. Figure 1 As shown, when it is determined that the magnitude relationship between the voltage at the detection point 2 and the first voltage threshold changes, the voltage of the CC signal collected is the fourth voltage.

[0099] By executing this step, when it is determined that the fifth voltage is greater than the second voltage threshold, it indicates that when the vehicle is awakened after the vehicle is dormant, the vehicle is still in a gun-plugged state (it can be understood that the user did not unplug the gun during the vehicle dormancy process). At this time, in order to avoid user misunderstanding caused by the jump of the plug-in type, it is also necessary to maintain the target power transmission type as the same power transmission type before the vehicle is dormant. Therefore, in this step, when the fifth voltage is greater than the second voltage threshold, it can be determined that the target power transmission type is still the target type. For example, the target type can be read from the controller memory of the vehicle.

[0100] By adopting the above method, the type of the plug gun is accurately determined by combining the first voltage of the CP signal and the second voltage of the CC signal after the plug gun is plugged in. And the AC charging compatibility is improved by expanding the resistance range of the CC resistor. At the same time, the on-board charger uses software strategies to ensure the consistency principle of the plug gun type judged after the plug gun is plugged in, that is, if it is determined that the user has not unplugged the gun or has not completely unplugged the gun, the plug gun type is not allowed to jump between different types. In addition, the on-board charger can also ensure the consistency of the plug gun type before and after sleep by writing the plug gun type into the controller memory before sleep, avoiding user misunderstandings due to plug gun type jumps, and improving the user's car experience. Fig.11 is a block diagram of a vehicle control device according to an exemplary embodiment. Fig.11 As shown, the device comprises: An acquisition module 1101 is configured to acquire a first voltage of a control pilot CP signal in a vehicle charging and discharging circuit, wherein the charging and discharging circuit is a circuit for charging or discharging the vehicle after the vehicle is connected to a power transmission device; A determination module 1102 is configured to determine a target power transmission type corresponding to the power transmission device according to the first voltage, wherein the target power transmission type includes a charging type or a discharging type; The control module 1103 is configured to control the vehicle to charge or discharge through the power transmission device according to the target power transmission type.

[0101] Optionally, the determination module 1102 is configured to determine that the target power transmission type is the charging type when the first voltage is greater than a first voltage threshold.

[0102] Optionally, the acquisition module 1101 is further configured to acquire a second voltage of a connection confirmation CC signal in the charge and discharge circuit; The determination module 1102 is configured to determine the target power transmission type according to the first voltage and the second voltage.

[0103] Optionally, the determination module 1102 is configured to determine a target resistance value of a CC resistor corresponding to the vehicle according to the second voltage when the first voltage is less than or equal to a first voltage threshold; determine the target power transmission type according to the target resistance value and a preset resistance range corresponding to the CC resistor, the preset resistance range including preset resistance ranges corresponding to multiple different power transmission types.

[0104] Optionally, the determination module 1102 is configured to determine a target resistance interval in which the target resistance value is located from a plurality of preset resistance intervals; and use the power transmission type corresponding to the target resistance interval as the target power transmission type.

[0105] Optionally, the power transmission type includes the discharge type, and the discharge type includes a first discharge type, and the first discharge type characterizes that the vehicle discharges to an external load through the power transmission device; the determination module 1102 is configured to use the first discharge type as the target power transmission type if the power transmission type corresponding to the target resistance range is the first discharge type.

[0106] Optionally, the power transmission type includes the charging type and the discharging type, and the discharging type includes a second discharging type; wherein the charging type represents charging of the vehicle through the power transmission device, and the second discharging type represents discharging of the vehicle to an external vehicle through the power transmission device; the preset resistance intervals corresponding to the charging type and the second discharging type are the same; the determination module 1102 is configured to, when the target resistance interval is the preset resistance interval corresponding to the charging type and the second discharging type, if a user-triggered discharge indication message is obtained within a preset time period, determine that the target power transmission type is the second discharge type; if the discharge indication message is not obtained within the preset time period, determine that the target power transmission type is the charging type.

[0107] Optionally, the control module 1103 is configured to determine a target resistance value sub-interval of the target resistance value of the CC resistor corresponding to the vehicle according to the target power transmission type, the target resistance value sub-interval being a subset of the target resistance value sub-interval where the target resistance value is located, and different resistance value sub-intervals correspond to different currents; determine a target current corresponding to the target resistance value sub-interval; and control the vehicle to charge or discharge according to the target power transmission type through the power transmission device according to the target current.

[0108] Optionally, Fig.12 is based on Fig.11 The block diagram of a vehicle control device shown in the embodiment shown in FIG. Fig.12 As shown, the device also includes: The type maintaining module 1104 is configured to record the target power transmission type as the target type, and periodically obtain the third voltage of the CP signal; if the magnitude relationship between the third voltage and the first voltage threshold is different from the magnitude relationship between the first voltage and the first voltage threshold, re-acquire the fourth voltage of the CC signal; when the fourth voltage is greater than the second voltage threshold, the re-determined target power transmission type is still the target type, and the second voltage threshold is less than or equal to the first voltage threshold.

[0109] Optionally, the type maintaining module 1104 is also configured to reacquire the fifth voltage of the CC signal in response to receiving a wake-up command after the vehicle goes into sleep mode; and determine that the target power transmission type is still the target type when the fifth voltage is greater than the second voltage threshold.

[0110] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0111] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and the program instructions, when executed by a processor, implement the steps of the vehicle control method provided by the present disclosure.

[0112] Fig.13 1 is a block diagram of a vehicle according to an exemplary embodiment. For example, vehicle 1300 may be a hybrid vehicle, a non-hybrid vehicle, an electric vehicle, a fuel cell vehicle, or other types of vehicles. Vehicle 1300 may be an autonomous vehicle, a semi-autonomous vehicle, or a non-autonomous vehicle.

[0113] Reference Fig.13, the vehicle 1300 may include various subsystems, such as an infotainment system 1310, a perception system 1320, a decision control system 1330, a drive system 1340, and a computing platform 1350. The vehicle 1300 may also include more or fewer subsystems, and each subsystem may include multiple components. In addition, each subsystem and each component of the vehicle 1300 may be interconnected by wire or wireless means.

[0114] In some embodiments, the infotainment system 1310 may include a communication system, an entertainment system, and a navigation system, etc.

[0115] The perception system 1320 may include several sensors for sensing information about the environment around the vehicle 1300. For example, the perception system 1320 may include a global positioning system (the global positioning system may be a GPS system, or a Beidou system or other positioning systems), an inertial measurement unit (IMU), a laser radar, a millimeter wave radar, an ultrasonic radar, and a camera.

[0116] The decision control system 1330 may include a computing system, a vehicle controller, a steering system, a throttle, and a braking system.

[0117] The drive system 1340 may include components that provide powered motion for the vehicle 1300. In one embodiment, the drive system 1340 may include an engine, an energy source, a transmission system, and wheels. The engine may be one or a combination of an internal combustion engine, an electric motor, and an air compression engine. The engine is capable of converting energy provided by the energy source into mechanical energy.

[0118] Some or all functions of the vehicle 1300 are controlled by a computing platform 1350. The computing platform 1350 may include at least one processor 1351 and a memory 1352, and the processor 1351 may execute instructions 1353 stored in the memory 1352.

[0119] The processor 1351 may be any conventional processor, such as a commercially available CPU. The processor may also include a graphics processor (Graphic Process Unit, GPU), a field programmable gate array (Field Programmable Gate Array, FPGA), a system on chip (System on Chip, SOC), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or a combination thereof.

[0120] Memory 1352 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0121] In addition to instructions 1353 , memory 1352 may also store data, such as road maps, route information, and data such as the location, direction, and speed of the vehicle. The data stored in memory 1352 may be used by computing platform 1350 .

[0122] In the embodiment of the present disclosure, the processor 1351 can execute instruction 1353 to complete all or part of the steps of the above-mentioned vehicle control method.

[0123] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program executable by a programmable device. The computer program has a code portion for executing the above-mentioned vehicle control method when executed by the programmable device.

[0124] Those skilled in the art may also understand that the various illustrative logical blocks and steps listed in the embodiments of the present application may be implemented by electronic hardware, computer software, or a combination of the two. Whether such functions are implemented by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art may use various methods to implement the functions described for each specific application, but such implementation should not be understood as exceeding the scope of protection of the embodiments of the present application.

[0125] In addition, the word "exemplary" is used herein to indicate serving as an example, instance, or diagram. Any aspect or design described as "exemplary" in this article is not necessarily understood to be advantageous compared to other aspects or designs. On the contrary, the use of the word exemplary is intended to present concepts in a specific way. As used herein, the term "or" is intended to represent an inclusive "or" rather than an exclusive "or". That is, unless otherwise specified or clear from the context, "X applies A or B" is intended to represent any one of the natural inclusive arrangements. That is, if X applies A; X applies B; or X applies both A and B, "X applies A or B" is satisfied under any of the aforementioned examples. In addition, unless otherwise specified or clearly pointed to a singular form from the context, the articles "one" and "an" as used in this application and the appended claims are generally understood to mean "one or more".

[0126] Likewise, although the present disclosure has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art after reading and understanding the specification and drawings. The present disclosure includes all such modifications and variations and is limited only by the scope of the claims. In particular, with respect to the various functions performed by the components (e.g., elements, resources, etc.) described above, unless otherwise indicated, the terms used to describe such components are intended to correspond to any component (functionally equivalent) that performs the specific functions of the described components, even if the structure is not equivalent to the disclosed structure. In addition, although specific features of the present disclosure may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations as may be desired and beneficial to any given or specific application. In addition, with respect to "including", "having", "having", "having", or variations thereof used in a specific embodiment or claim, such terms are intended to be inclusive in a manner similar to the term "comprising".

[0127] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.

[0128] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

[0129] In the above detailed description, reference is made to the accompanying drawings, which illustrate specific aspects of the present disclosure that can be practiced by way of illustration. In this regard, terms such as "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., indicating directions or representing positional relationships, can be used with reference to the orientation of the described figures. Since the components of the described device can be positioned in a plurality of different orientations, directional terms can be used for illustrative purposes rather than restrictive. It should be understood that other aspects can be utilized and structural or logical changes can be made without departing from the concepts of the present disclosure. Therefore, the following detailed description should not be considered in a limiting sense.

[0130] It should be understood that, unless otherwise specifically noted, the features of some embodiments of the various present disclosures described herein may be combined with each other. As used herein, the term "and / or" includes any one of the related listed items and any combination of any two or more; similarly, "at least one of . . . " includes any one of the related listed items and any combination of any two or more.

[0131] It should be understood that, unless otherwise clearly specified and limited, the terms "joining", "attaching", "installing", "connecting", "connecting", "fixing" and the like used in the embodiments of the present disclosure should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral one; it can be a mechanical connection, an electrical connection, or communication with each other; it can be a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly limited. For ordinary technicians in this field, the specific meanings of the above terms in this article can be understood according to specific circumstances.

[0132] In addition, the term "above" used in relation to a component, element or material layer formed "above" or located "above" a surface may be used herein to indicate that the component, element or material layer is "indirectly" positioned (e.g., placed, formed, deposited, etc.) on the surface such that one or more additional components, elements or layers are arranged between the surface and the component, element or material layer. However, the term "above" used in relation to a component, element or material layer formed "above" or located "above" a surface may also optionally have a specific meaning: the component, element or material layer is "directly" positioned (e.g., placed, formed, deposited, etc.) on the surface, such as in direct contact with the surface.

[0133] Although terms such as "first", "second" and "third" can be used herein to describe various components, parts, regions, layers or sections, these components, parts, regions, layers or sections are not limited to these terms. On the contrary, these terms are only used to distinguish one component, component, region, layer or section from another component, component, region, layer or section. Therefore, without departing from the teachings of each example, the first component, component, region, layer or section mentioned in the examples described herein may also be referred to as the second component, component, region, layer or section. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" may expressly or implicitly include at least one of the features. In the description herein, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0134] It should be understood that spatially relative terms such as "above", "upper", "below", and "lower" are used herein to describe the relationship of one element to another element shown in the figures. In addition to the orientation depicted in the drawings, such spatially relative terms are also intended to include different orientations of the device in use or operation. For example, if the device in the drawings is turned over, the element described as being "above" or "upper" relative to another element will be "below" or "lower" relative to the other element. Therefore, depending on the spatial orientation of the device, the term "above" includes both upper and lower orientations. The device may have other orientations (e.g., rotated 90 degrees or in other orientations), and the spatially relative terms used herein should be interpreted accordingly.

Claims

1. A vehicle control method, characterized in that: include: Acquire a first voltage of a control pilot CP signal in a vehicle charging and discharging circuit, wherein the charging and discharging circuit is a circuit for charging or discharging the vehicle after the vehicle is connected to an electric energy transmission device; Determine a target power transmission type corresponding to the power transmission device according to the first voltage, wherein the target power transmission type includes a charging type or a discharging type; The vehicle is controlled to be charged or discharged through the power transmission device according to the target power transmission type.

2. The method according to claim 1, characterized in that The step of determining the target power transmission type corresponding to the power transmission device according to the first voltage includes: When the first voltage is greater than a first voltage threshold, the target power transmission type is determined to be the charging type.

3. The method according to claim 2, characterized in that The method further comprises: Acquire a second voltage of a connection confirmation CC signal in the charge and discharge circuit; The step of determining the target power transmission type corresponding to the power transmission device according to the first voltage includes: The target power transmission type is determined according to the first voltage and the second voltage.

4. The method according to claim 3, characterized in that The determining the target power transmission type according to the first voltage and the second voltage includes: When the first voltage is less than or equal to a first voltage threshold, determining a target resistance value of a CC resistor corresponding to the vehicle according to the second voltage; The target power transmission type is determined according to the target resistance value and a preset resistance range corresponding to the CC resistance, wherein the preset resistance range includes preset resistance ranges corresponding to a plurality of different power transmission types.

5. The method according to claim 4, characterized in that The determining the target power transmission type according to the target resistance value and the preset resistance range corresponding to the CC resistance includes: Determine a target resistance interval in which the target resistance value is located from the plurality of preset resistance intervals; The power transmission type corresponding to the target resistance range is used as the target power transmission type.

6. The method according to claim 5, characterized in that The power transmission type includes the discharge type, and the discharge type includes a first discharge type, and the first discharge type indicates that the vehicle discharges to an external load through the power transmission device; The power transmission type corresponding to the target resistance range as the target power transmission type includes: If the power transmission type corresponding to the target resistance range is the first discharge type, the first discharge type is used as the target power transmission type.

7. The method according to claim 5, characterized in that The power transmission type includes the charging type and the discharging type, and the discharging type includes a second discharging type; wherein the charging type indicates that the vehicle is charged by the power transmission device, and the second discharging type indicates that the vehicle discharges to an external vehicle by the power transmission device; the preset resistance value intervals corresponding to the charging type and the second discharging type are the same; The power transmission type corresponding to the target resistance range as the target power transmission type includes: In the case where the target resistance interval is a preset resistance interval corresponding to the charging type and the second discharge type, if a discharge indication message triggered by a user is obtained within a preset time period, the target power transmission type is determined to be the second discharge type; if the discharge indication message is not obtained within the preset time period, the target power transmission type is determined to be the charging type.

8. The method according to any one of claims 3 to 7, characterized in that: The controlling the vehicle to charge or discharge through the power transmission device according to the target power transmission type includes: Determine, according to the target power transmission type, a target resistance value sub-interval in which a target resistance value of a CC resistor corresponding to the vehicle is located, wherein the target resistance value sub-interval is a subset of the target resistance value interval in which the target resistance value is located, and different resistance value sub-intervals correspond to different currents; Determining a target current corresponding to the target resistance value subinterval; According to the target power transmission type, the vehicle is controlled to be charged or discharged through the power transmission device according to the target current.

9. The method according to claim 8, characterized in that After controlling the vehicle to charge or discharge through the power transmission device according to the target power transmission type, the method further includes: Recording the target power transmission type as a target type, and periodically acquiring a third voltage of the CP signal; If the magnitude relationship between the third voltage and the first voltage threshold is different from the magnitude relationship between the first voltage and the first voltage threshold, reacquiring a fourth voltage of the CC signal; In the case that the fourth voltage is greater than the second voltage threshold, the re-determined target power transmission type is still the target type, and the second voltage threshold is less than or equal to the first voltage threshold.

10. The method according to claim 9, characterized in that The method further comprises: In response to receiving a wake-up instruction after the vehicle goes into hibernation, reacquiring a fifth voltage of the CC signal; When the fifth voltage is greater than the second voltage threshold, it is determined that the target power transmission type is still the target type.

11. A vehicle control device, characterized in that: include: an acquisition module, configured to acquire a first voltage of a control pilot CP signal in a vehicle charging and discharging circuit, wherein the charging and discharging circuit is a circuit for charging or discharging the vehicle after the vehicle is connected to a power transmission device; a determination module, configured to determine a target power transmission type corresponding to the power transmission device according to the first voltage, wherein the target power transmission type includes a charging type or a discharging type; The control module is configured to control the vehicle to charge or discharge through the power transmission device according to the target power transmission type.

12. A vehicle, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the steps of the method according to any one of claims 1 to 10.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.

14. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 10.