Power grid identification method of vehicle-mounted power supply, terminal equipment and storage medium

By sampling the phase lines of the on-board power supply in real time, calculating the root mean square and phase relationship of the phase voltage, and identifying the grid type, the problem of not being able to identify multiple grid types during charging of new energy vehicles is solved, and convenient charging and safety improvement is achieved.

CN119881488APending Publication Date: 2025-04-25SUZHOU INOSA UNITED POWER SYST CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510017488.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-06
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the charging process of new energy vehicles, the prior art cannot effectively identify various national power grid types, resulting in inconvenient charging operation and safety hazards.

Method used

By sampling the phase lines of the on-board power supply in real time, calculate the root mean square and phase relationship of the phase voltage, and substituting it into the preset grid identification strategy to accurately identify the grid type of the on-board power supply.

Benefits of technology

It realizes convenient charging of vehicles of many different national grid types, reduces charging risks, and improves charging safety and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119881488A_ABST
    Figure CN119881488A_ABST
Patent Text Reader

Abstract

The invention discloses a power grid identification method for a vehicle-mounted power supply, terminal equipment and a storage medium, and relates to the technical field of new energy automobiles, and the method comprises the steps: obtaining a phase voltage value in a sampling period through the real-time sampling of a phase line of the vehicle-mounted power supply; according to the phase voltage values, phase voltage root-mean-square and phase relations corresponding to the phase voltages are calculated; and substituting the phase voltage root mean square and / or the phase relation into a preset power grid identification strategy, and identifying the power grid type of the output vehicle-mounted power supply, thereby realizing identification of vehicles of various different national power grid types, and avoiding the charging risk caused by the wrong power grid type while supporting the charging operation of the vehicles of various national power grid types.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of new energy vehicle technology, and in particular to a grid identification method, terminal equipment and storage medium for an on-board power supply. Background Art

[0002] With the popularization of new energy vehicles, OBC (On-Board Charger) technology plays a vital role in the vehicle charging system. It is used to convert the AC power provided by the power grid into DC power for charging the vehicle and control the charging process.

[0003] However, there are significant differences in the types of power grids around the world, mainly in terms of voltage and frequency. For example, the Chinese power grid standard is 220V / 50Hz, while the US power grid standard is 110V / 60Hz. Therefore, the conventional charging method requires the vehicle to actively inform the OBC of the type of power grid before charging can begin. For example, the vehicle can set the power grid type through the on-board system or application, or identify it through the logo on the plug. However, there are risks in the reliability of this method. If the OBC power grid type informed by the vehicle is incorrect, it may cause reliability problems such as excessive charging speed and battery overheating, and in serious cases, it may cause safety accidents.

[0004] In response to the above problems, it is proposed to charge the vehicle only according to the country type where the vehicle is sold, using a fixed national grid type. Although this charging method can ensure the reliability of charging vehicles of the corresponding national grid type, it will make the charging operation of vehicles of other national grid types inconvenient. Summary of the invention

[0005] The main purpose of this application is to provide a grid identification method, terminal equipment and storage medium for a vehicle-mounted power supply, aiming to solve the technical problem of how to ensure convenient charging operations for vehicles of various national grid types while avoiding charging risks.

[0006] To achieve the above-mentioned purpose, the present application proposes a method for identifying a power grid of an on-board power supply, and the method for identifying a power grid of an on-board power supply comprises:

[0007] Real-time sampling of the phase line of the vehicle power supply to obtain the phase voltage value in a sampling period;

[0008] According to the phase voltage values, the phase voltage root mean square and phase relationship corresponding to the phase voltages are calculated;

[0009] The phase voltage root mean square and / or phase relationship is substituted into a preset power grid identification strategy to identify the type of power grid outputting the on-board power supply.

[0010] In one embodiment, when the phase line includes a first phase line, a second phase line, and a third phase line, the phase voltage value includes a first phase voltage value, a second phase voltage value, and a third phase voltage value, and according to the phase voltage values, the step of calculating the phase voltage root mean square and phase relationship corresponding to the phase voltages respectively includes:

[0011] Calculate the RMS values ​​corresponding to the first phase voltage value, the second phase voltage value, and the third phase voltage value, respectively, to obtain the first phase voltage RMS, the second phase voltage RMS, and the third phase voltage RMS; and,

[0012] Calculate the first line voltage root mean square between the first phase line and the second phase line, the second line voltage root mean square between the second phase line and the third phase line, and the third line voltage root mean square between the third phase line and the first phase line according to the first phase voltage value, the second phase voltage value, and the third phase voltage value;

[0013] By comparing the first line root mean square voltage and the first phase root mean square voltage, the second line root mean square voltage and the second phase root mean square voltage, and the third line root mean square voltage and the third phase root mean square voltage, a first phase relationship, a second phase relationship and a third phase relationship are obtained in sequence;

[0014] The first phase voltage root mean square, the second phase voltage root mean square and the third phase voltage root mean square constitute a phase voltage root mean square, and the first phase relationship, the second phase relationship and the third phase relationship constitute a phase relationship.

[0015] In one embodiment, the preset grid identification strategy is a conditional judgment process executed based on the substituted phase voltage root mean square and phase relationship.

[0016] In one embodiment, the step of substituting the phase voltage RMS and / or phase relationship into a preset grid identification strategy to identify the grid type of the output vehicle power supply includes:

[0017] Substituting the first phase root mean square voltage, the second phase root mean square voltage and the third phase root mean square voltage into a preset power grid identification strategy, and judging whether at least one phase root mean square voltage among the first phase root mean square voltage, the second phase root mean square voltage and the third phase root mean square voltage is greater than a preset voltage value through the preset power grid identification strategy;

[0018] If so, the phase relationship is substituted into the preset grid identification strategy, and the output grid type is identified according to the conditional judgment process;

[0019] If not, identification information indicating that the power grid type is an abnormal power grid type is output.

[0020] In one embodiment, according to the conditional judgment process, the step of identifying the output grid type includes:

[0021] If the third phase voltage root mean square and the second phase voltage root mean square are both less than the preset voltage value, and the first phase voltage root mean square is within the preset voltage range, then output identification information indicating that the grid type is the first Central European one-phase two-wire system; or,

[0022] If the third phase voltage root mean square and the first phase voltage root mean square are both less than the preset voltage value, and the second phase voltage root mean square is within the preset voltage range, then identification information indicating that the grid type is the second Central European one-phase two-wire system is output.

[0023] In one embodiment, according to the conditional judgment process, the step of identifying the output grid type includes:

[0024] If the third phase RMS voltage is less than the preset voltage value, and the first phase RMS voltage and the second phase RMS voltage are both equal to or greater than the preset voltage value, then after identifying that the first phase RMS voltage and the second phase RMS voltage are both within the preset voltage range, determining whether the first phase relationship value corresponding to the first phase relationship is less than the preset phase relationship value;

[0025] If the first phase relationship value is less than the preset phase relationship value, then when it is identified that the first phase voltage root mean square and the second phase voltage root mean square are both greater than the first preset voltage value, output identification information indicating that the power grid type is a US version split-phase, or, when it is identified that the first phase voltage root mean square and the second phase voltage root mean square are both less than the second preset voltage value, output identification information indicating that the power grid type is a US version single-phase;

[0026] If the first phase relationship value is equal to or greater than the preset phase relationship value, then when it is identified that the first phase relationship value is within the first preset phase relationship value range, identification information characterizing the power grid type as the first Norwegian two-phase three-wire system is output, or, when it is identified that the first phase relationship value is within the second preset phase relationship value range, identification information characterizing the power grid type as the first Central European two-phase three-wire system is output, or, when it is identified that the first phase relationship value is within the third preset phase relationship value range, identification information characterizing the power grid type as the first Central European two-phase two-wire system is output.

[0027] In one embodiment, according to the conditional judgment process, the step of identifying the output grid type includes:

[0028] If the first phase root mean square voltage, the second phase root mean square voltage and the third phase root mean square voltage are all equal to or greater than the preset voltage value, then upon identifying that the first phase root mean square voltage, the second phase root mean square voltage and the third phase root mean square voltage are all within the preset voltage range, and the first phase relationship value corresponding to the first phase relationship, the second phase relationship value corresponding to the second phase relationship and the third phase relationship value corresponding to the third phase relationship are all less than the preset phase relationship value, then outputting identification information characterizing that the power grid type is the Central European three-phase four-wire system; or,

[0029] If the first phase RMS voltage is less than the preset voltage value, and the second phase RMS voltage and the third phase RMS voltage are both equal to or greater than the preset voltage value, then upon identifying that the second phase RMS voltage and the third phase RMS voltage are both within the preset voltage range, determining the preset phase relationship value range within which the second phase relationship value corresponding to the second phase relationship lies;

[0030] If it is determined that the second phase relationship value is within the first preset phase relationship value range, then the identification information characterizing the power grid type as the second Norwegian two-phase three-wire system is output; or, if it is determined that the second phase relationship value is within the second preset phase relationship value range, then the identification information characterizing the power grid type as the second Central European two-phase three-wire system is output; or, if it is determined that the second phase relationship value is within the third preset phase relationship value range, then the identification information characterizing the power grid type as the second Central European two-phase two-wire system is output.

[0031] In one embodiment, according to the conditional judgment process, the step of identifying the output grid type includes:

[0032] If the first phase voltage root mean square and the second phase voltage root mean square are less than the preset voltage value, and the third phase voltage root mean square are equal to or greater than the preset voltage value, then when it is identified that the third phase voltage root mean square is within the preset voltage range, the identification information indicating that the grid type is the third Central European single-phase two-phase system is output; or,

[0033] If the first phase voltage root mean square and the third phase voltage root mean square are both equal to or greater than the preset voltage value, and the second phase voltage root mean square is less than the preset voltage value, then upon identifying that the first phase voltage root mean square and the third phase voltage root mean square are both within the preset voltage range, determining the preset phase relationship value range within which the third phase relationship value corresponding to the third phase relationship lies;

[0034] If it is determined that the third phase relationship value is within the first preset phase relationship value range, then the identification information characterizing the power grid type as the third Norwegian two-phase three-wire system is output, or, if the third phase relationship value is determined to be within the second preset phase relationship value range, then the identification information characterizing the power grid type as the third Central European two-phase three-wire system is output, or, if the third phase relationship value is determined to be within the third preset phase relationship value range, then the identification information characterizing the power grid type as the third Central European two-phase two-wire system is output.

[0035] In addition, to achieve the above-mentioned purpose, the present application also proposes a terminal device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the grid identification method of the vehicle power supply as described above.

[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the grid identification method of the vehicle power supply as described above are implemented.

[0037] One or more technical solutions proposed in this application have at least the following technical effects:

[0038] A grid identification method for an on-board power supply is proposed, and the grid identification method for the on-board power supply comprises: sampling the phase line of the on-board power supply in real time to obtain the phase voltage value in a sampling period; calculating the phase voltage root mean square and phase relationship corresponding to the phase voltages respectively according to the phase voltage value; substituting the phase voltage root mean square and / or phase relationship into a preset grid identification strategy to identify the grid type of the output on-board power supply.

[0039] That is, the present application obtains the phase voltage value in a sampling period by real-time sampling of the phase line of the vehicle power supply, thereby providing an effective and reliable data basis for subsequent calculations, and calculating the phase voltage root mean square and phase relationship. Because the phase voltage root mean square and phase relationship can reflect the voltage and frequency characteristics of the power grid corresponding to the vehicle power supply, the power grid type of the vehicle power supply can be accurately identified based on these two parameters, thereby realizing the identification of vehicles of various national power grid types, supporting charging operations for vehicles of various national power grid types, and avoiding charging risks caused by incorrect power grid types. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0042] Figure 1 A flow chart of an embodiment of a method for identifying a power grid of a vehicle-mounted power supply of the present application;

[0043] Figure 2 A schematic diagram of a judgment flow provided for the grid identification method of the vehicle-mounted power supply of the present application;

[0044] Figure 3 This is a schematic diagram of the execution flow of the application condition judgment process;

[0045] Figure 4 This is a schematic diagram of the execution flow of the application condition judgment process;

[0046] Figure 5 This is a schematic diagram of the execution flow of the application condition judgment process;

[0047] Figure 6 Schematic diagram of the device structure of the hardware operating environment involved in the grid identification method of the vehicle power supply in the embodiment of the present application.

[0048] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0049] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0050] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0051] The main solution of the embodiment of the present application is: real-time sampling of the phase line of the vehicle power supply to obtain the phase voltage value in a sampling period; based on the phase voltage value, calculating the phase voltage root mean square and phase relationship corresponding to the phase voltage respectively; substituting the phase voltage root mean square and / or phase relationship into the preset power grid identification strategy to identify the power grid type of the output vehicle power supply.

[0052] The existing charging method requires the vehicle to actively inform the OBC of the grid type before charging can begin. For example, the vehicle can set the grid type through the vehicle system or application, or identify it through the logo on the plug. However, there are risks in the reliability of this method. If the OBC grid type informed by the vehicle is wrong, it may cause reliability problems such as charging too fast and battery overheating, and in serious cases, it may cause safety accidents. In response to this problem, it is proposed to charge only according to the type of country where the vehicle is sold, and fix one national grid type for charging. Although this charging method can ensure the reliability of charging vehicles of the corresponding national grid type, it will make the charging operation of vehicles of other national grid types inconvenient.

[0053] The present application provides a solution, which obtains the phase voltage value in a sampling period by real-time sampling of the phase line of the vehicle power supply, provides an effective and reliable data basis for subsequent calculations, and calculates the phase voltage root mean square and phase relationship. Because the phase voltage root mean square and phase relationship can reflect the voltage and frequency characteristics of the power grid corresponding to the vehicle power supply, the power grid type of the vehicle power supply can be accurately identified based on these two parameters, thereby realizing the identification of vehicles of various national power grid types, supporting charging operations for vehicles of various national power grid types, and avoiding charging risks caused by incorrect power grid types.

[0054] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device, a terminal device, etc. capable of realizing the above functions. The following takes the terminal device as an example to illustrate this embodiment and the following embodiments.

[0055] Based on this, the present application embodiment provides a method for identifying a power grid of a vehicle power supply, referring to Figure 1 , Figure 1 This is a flow chart of an embodiment of a method for identifying a power grid of an on-board power supply of the present application.

[0056] In this embodiment, the grid identification method of the vehicle power supply includes steps S10 to S30:

[0057] Step S10, sampling the phase line of the vehicle power supply in real time to obtain a phase voltage value in a sampling period.

[0058] During the conventional on-board power charging process, the grid type is determined based on the grid type reported by the user or only one grid type is directly set and selected by the user. Because in both charging methods, the grid type is selected manually and there is no grid type identification process, there is a high probability of incorrect grid type selection, which leads to a high charging risk.

[0059] Based on the above problems, the present application proposes a method that can automatically and effectively identify the grid type of the vehicle power supply. Through this method, the grid type of the vehicle power supply can be accurately judged and identified, which can reduce the error probability of the grid type to a certain extent and effectively reduce the charging risk existing in human selection.

[0060] Specifically, by real-time sampling of the phase line of the vehicle power supply, the phase voltage value in a sampling period is obtained, which is crucial for the calculation of the phase voltage root mean square and phase relationship in step S20. It can provide an effective data basis to improve the accuracy of identifying the grid type of the vehicle power supply, thereby improving the charging efficiency and charging safety, and avoiding the charging risks of conventional charging methods.

[0061] Step S20, calculating the phase voltage RMS and phase relationship corresponding to the phase voltages respectively according to the phase voltage values.

[0062] According to the phase voltage value in a sampling cycle obtained by sampling in step S10, the calculated phase voltage root mean square and phase relationship can effectively reflect the grid type information of the vehicle power supply, so that the terminal device can process the grid type information of the vehicle power supply based on the phase voltage root mean square and phase relationship. Compared with the charging method of manually determining the grid type, this operation can obviously ensure the accuracy of the identification of the grid type of the vehicle power supply, and can effectively ensure the charging safety of the vehicle power supply.

[0063] Because there are multiple calculation methods for calculating the phase voltage sharing and phase relationship, one feasible calculation method is described below. Assuming that there are three-phase lines on the vehicle power supply, steps S21 to S23 may be included:

[0064] Step S21, calculating the root mean squares corresponding to the first phase voltage value, the second phase voltage value and the third phase voltage value respectively, to obtain the first phase voltage root mean square, the second phase voltage root mean square and the third phase voltage root mean square.

[0065] When the vehicle power supply is a three-phase line, the three-phase line is sampled to obtain the first phase voltage value, the second phase voltage value and the third phase voltage value. At this time, the first phase voltage value, the second phase voltage value and the third phase voltage value are respectively substituted into formula 1 to calculate the first phase voltage root mean square, the second phase voltage root mean square and the third phase voltage root mean square.

[0066]

[0067] Among them, V RMS represents the phase voltage RMS, N represents the number of sampling points in the sampling period, V i Represents the i-th sampling value of each phase voltage.

[0068] That is, the number of points in the sampling period, as well as the voltage values ​​of the ith sampling point corresponding to the first phase voltage value, the second phase voltage value, and the third phase voltage value are respectively substituted into Formula 1 to obtain the first phase voltage root mean square V RMSa , the second phase voltage RMS V RMSb And the third phase voltage RMS V RMSc .

[0069] Step S22, calculating the first line root mean square voltage between the first phase line and the second phase line, the second line root mean square voltage between the second phase line and the third phase line, and the third line root mean square voltage between the third phase line and the first phase line according to the first phase voltage value, the second phase voltage value and the third phase voltage value.

[0070] At the same time, according to the phase voltage value of each phase line obtained by sampling, the root mean square of the line voltage between the two phase lines needs to be calculated. Specifically, the root mean square of the line voltage between the two phase lines can be calculated based on Formula 2.

[0071]

[0072] Among them, V 12 represents the RMS voltage between any two phase lines, N represents the number of sampling points in the sampling period, V 1,i Represents the voltage value corresponding to the i-th sampling point of one phase voltage, V 2,i The voltage value corresponding to the i-th sampling point of any remaining phase voltage.

[0073] That is, the number of points in the sampling period and the voltage values ​​corresponding to the first phase voltage and the second phase voltage at the i-th sampling point are substituted into Formula 2 to obtain the first line voltage root mean square V ab ; Substitute the number of points in the sampling period and the voltage values ​​corresponding to the second phase voltage and the third phase voltage at the i-th sampling point into Formula 2 to obtain the second line voltage root mean square V bc ; Substitute the number of points in the sampling period and the voltage values ​​corresponding to the first phase voltage value and the third phase voltage value at the i-th sampling point into Formula 2 to obtain the third line voltage root mean square V ac .

[0074] Step S23, by comparing the first line root mean square voltage and the first phase root mean square voltage, the second line root mean square voltage and the second phase root mean square voltage, and the third line root mean square voltage and the third phase root mean square voltage, the first phase relationship, the second phase relationship and the third phase relationship are obtained in sequence.

[0075] After the first phase voltage root mean square V is calculated through step S21 and step S22, RMSa , the second phase voltage RMS V RMSb , the third phase voltage RMS V RMSc , the first line voltage RMS V ab , the second line voltage RMS V bc and the third line voltage RMS V ac Finally, in order to improve the accuracy of identifying the phase sequence of the grid type and the connection method of the phase line in the process of identifying the grid type, it is necessary to obtain the corresponding phase relationship through comparison. That is, compare the first line voltage root mean square V ab and the first phase voltage RMS V RMSa , and obtain the first phase relationship R a , compare the second line voltage RMS V bc and the second phase voltage RMS V RMSb , and obtain the second phase relationship R b , and compare the third line voltage RMS V ac And the third phase voltage RMS V RMSc , and the third phase relationship R is obtainedc .

[0076] It should be noted that the above calculation steps are based on the example of a vehicle power supply with three phases. In specific applications, it can also be a vehicle power supply with two phases or a vehicle power supply with one phase.

[0077] Step S30: Substitute the phase voltage RMS and / or phase relationship into a preset power grid identification strategy to identify the type of power grid outputting the vehicle power supply.

[0078] The present embodiment also formulates a preset power grid identification strategy, and substitutes the calculated phase voltage root mean square and / or phase relationship into the preset power grid identification strategy. The size and corresponding range of the phase voltage root mean square and / or phase relationship are identified through the preset power grid identification test, so as to identify the phase sequence and the connection method of the phase line, thereby realizing accurate identification of the power grid type, avoiding charging errors caused by manual determination of the power grid type input error when charging with the on-board power supply.

[0079] In this embodiment, the phase line of the vehicle power supply is sampled in real time to obtain the phase voltage value in a sampling period, which provides an effective and reliable data basis for subsequent calculations, and calculates the phase voltage root mean square and phase relationship. Because the phase voltage root mean square and phase relationship can reflect the voltage and frequency characteristics of the power grid corresponding to the vehicle power supply, the power grid type of the vehicle power supply can be accurately identified based on these two parameters, thereby realizing the identification of vehicles of various national power grid types, supporting charging operations for vehicles of various national power grid types, and avoiding charging risks caused by incorrect power grid types.

[0080] It should be noted that the preset grid identification strategy in this application is a conditional judgment process based on the substituted phase voltage root mean square and phase relationship. Figure 2 The judgment flow chart shown is explained in combination with the step flow shown below.

[0081] Step A1, substitute the first phase root mean square voltage, the second phase root mean square voltage and the third phase root mean square voltage into the preset power grid identification strategy, and determine through the preset power grid identification strategy whether there is at least one phase root mean square voltage greater than the preset voltage value among the first phase root mean square voltage, the second phase root mean square voltage and the third phase root mean square voltage.

[0082] The preset voltage value in this embodiment is used to ensure that the on-board power supply can distinguish and determine the correct power grid type, and the on-board power supply can be correctly connected and used.

[0083] Therefore, before officially entering the preset grid identification strategy to identify the grid type, the first-phase voltage root mean square, the second-phase voltage root mean square, and the third-phase voltage root mean square must be compared with the preset voltage values ​​respectively to determine whether there is a situation where at least one phase voltage root mean square is greater than the preset voltage value, so as to determine whether the on-board power supply that currently needs to be charged can be correctly connected and used.

[0084] Step A2: If yes, the phase relationship is substituted into the preset grid identification strategy, and the output grid type is identified according to the conditional judgment process.

[0085] If it is determined that at least one phase voltage root mean square is greater than the preset voltage value, it is preliminarily determined that the vehicle power supply can be correctly connected and used. At this time, the corresponding phase relationship is substituted into the preset power grid identification strategy, and the conditional judgment process is performed on the phase voltage root mean square and phase relationship according to the preset power grid identification strategy. If the conditional judgment process can still determine that the vehicle power supply can be correctly connected and used, the grid type corresponding to the vehicle power supply can be directly determined. If the conditional judgment process detects that the vehicle power supply cannot be correctly connected and used, the grid type of the vehicle power supply is output as an abnormal grid type. In this way, the grid type of the vehicle power supply can be accurately identified while further determining whether the vehicle power supply can be correctly connected and used, and improving the charging safety of the vehicle power supply, thereby improving the charging accuracy of the vehicle power supply.

[0086] Step A3: if not, output identification information indicating that the power grid type is an abnormal power grid type.

[0087] If it is determined that no phase voltage root mean square is greater than the preset voltage value, it is directly determined that the vehicle power supply cannot be correctly connected and used, and there is a great charging risk in charging the vehicle power supply. Therefore, at this time, the identification information of the abnormal power grid type is directly output for the operator to view, which can effectively avoid the charging risk caused by the user not realizing that the vehicle power supply cannot be correctly connected and used and directly charging.

[0088] Specifically, in the condition judgment process, the identification process of the power grid type is as follows:

[0089] Step A4: if the third phase voltage root mean square and the second phase voltage root mean square are both less than the preset voltage value, and the first phase voltage root mean square is within the preset voltage range, then output identification information indicating that the grid type is the first Central European one-phase two-wire system.

[0090] If in the process of executing the conditional judgment process, it is identified that the third-phase voltage root mean square and the second-phase voltage root mean square are both less than the preset voltage value, and the first-phase voltage root mean square is within the preset voltage range, then the grid type of the vehicle power supply can be directly determined to be the first Central European one-phase two-wire system. At this time, the output identification information is EU / CN_AN (that is, the first Central European one-phase two-wire system) identification information, for the operator to perform safe charging operations on the vehicle power supply based on the identification information.

[0091] It should be noted that the preset voltage range in this embodiment is the operating voltage range of the phase root mean square voltage of various power grid types. The power grid corresponding to the power grid type to which the phase root mean square voltage within this range belongs is relatively stable, and the vehicle-mounted voltage to which the phase root mean square voltage within this range belongs can operate safely and efficiently.

[0092] Step A5: if the third phase voltage root mean square and the first phase voltage root mean square are both less than the preset voltage value, and the second phase voltage root mean square is within the preset voltage range, then output identification information indicating that the grid type is the second Central European one-phase two-wire system.

[0093] If in the process of executing the conditional judgment process, it is identified that the third-phase voltage root mean square and the first-phase voltage root mean square are both less than the preset voltage value, and the second-phase voltage root mean square is within the preset voltage range, then it can be directly determined that the grid type of the vehicle power supply is the second Central European one-phase two-wire system. At this time, the output identification information is EU / CN_BN (i.e., the second Central European one-phase two-wire system) identification information, for the operator to perform safe charging operations on the vehicle power supply based on the identification information.

[0094] Step A6, if the third phase root mean square voltage is less than the preset voltage value, the first phase root mean square voltage and the second phase root mean square voltage are both equal to or greater than the preset voltage value, then after identifying that the first phase root mean square voltage and the second phase root mean square voltage are both within the preset voltage range, determine whether the first phase relationship value corresponding to the first phase relationship is less than the preset phase relationship value.

[0095] If in the process of executing the conditional judgment process, it is identified that the third phase voltage root mean square is less than the preset voltage value, but the first phase voltage root mean square and the second phase voltage root mean square are equal to or greater than the preset voltage value, then after identifying that the first phase voltage root mean square and the second phase voltage root mean square are both within the preset voltage range, it is determined whether the first phase relationship value corresponding to the first phase relationship is less than the preset phase relationship value, thereby narrowing the range of grid types of the vehicle power supply by judging the balance state of the phase difference between the first phase line and the second phase line, thereby improving the accuracy of the identified grid type.

[0096] Step A7, if the first phase relationship value is less than the preset phase relationship value, then when it is identified that the first phase root mean square voltage and the second phase root mean square voltage are both greater than the first preset voltage value, the identification information characterizing the power grid type is the American version of split-phase is output, or, step A8, when it is identified that the first phase root mean square voltage and the second phase root mean square voltage are both less than the second preset voltage value, the identification information characterizing the power grid type is the American version of single-phase is output.

[0097] When it is determined that the first phase relationship value is less than the preset phase relationship value, when it is identified that the first phase voltage root mean square and the second phase voltage root mean square are both greater than the first preset voltage value, it indicates that the grid voltage adapted by the vehicle power supply is higher, and it can be directly determined that the grid type of the vehicle power supply is the US version split phase. At this time, the output identification information is the identification information of US / JP_Split (i.e., US version split phase).

[0098] In addition, when it is identified that the first phase voltage root mean square and the second phase voltage root mean square are both less than the preset voltage value, it can be directly determined that the grid type of the vehicle power supply is US version single phase. At this time, the output identification information is US / JP_Single (i.e. US version single phase).

[0099] Step A9, if the first phase relationship value is equal to or greater than the preset phase relationship value, then when it is identified that the first phase relationship value is within the first preset phase relationship value range, the identification information characterizing the power grid type is the first Norwegian two-phase three-wire system is output, or, step A10, when it is identified that the first phase relationship value is within the second preset phase relationship value range, the identification information characterizing the power grid type is the first Central European two-phase three-wire system is output, or, step A11, when it is identified that the first phase relationship value is within the third preset phase relationship value range, the identification information characterizing the power grid type is the first Central European two-phase two-wire system is output.

[0100] When it is determined that the first phase relationship value is equal to or greater than the preset phase relationship value, when it is identified that the first phase relationship value is within the first preset phase relationship value range, it means that the phase difference between the first phase line and the second phase line of the vehicle power supply is around the first preset phase relationship value, and the grid type of the vehicle power supply can be directly determined to be the first Norwegian two-phase three-wire system. At this time, the output identification information is the identification information of Norway_ABN (i.e., the first Norwegian two-phase three-wire system).

[0101] When it is identified that the first phase relationship value is within the range of the second preset phase relationship value, it means that the phase difference between the first phase line and the second phase line of the vehicle power supply is around the second preset phase relationship value, and the grid type of the vehicle power supply can be directly determined to be the first Central European two-phase three-wire system. At this time, the output identification information is the identification information of EU / CN_ABN (i.e., the first Central European two-phase three-wire system).

[0102] When it is identified that the first phase relationship value is within the range of the third preset phase relationship value, it means that the phase difference between the first phase line and the second phase line of the vehicle power supply is around the third preset phase relationship value, and the grid type of the vehicle power supply can be directly determined to be the first Central European two-phase two-wire system. At this time, the output identification information is the identification information of EU / CN_AB (i.e., the first Central European two-phase two-wire system).

[0103] Step A12, if the first phase root mean square voltage, the second phase root mean square voltage and the third phase root mean square voltage are all equal to or greater than the preset voltage value, then when it is identified that the first phase root mean square voltage, the second phase root mean square voltage and the third phase root mean square voltage are all within the preset voltage range, and the first phase relationship value corresponding to the first phase relationship, the second phase relationship value corresponding to the second phase relationship and the third phase relationship value corresponding to the third phase relationship are all less than the preset phase relationship value, then the identification information characterizing the power grid type as the Central European three-phase four-wire system is output.

[0104] If in the process of executing the condition judgment process, it is identified that the first phase root mean square voltage, the second phase root mean square voltage and the third phase root mean square voltage are all equal to or greater than the preset voltage value, and it is identified that the first phase root mean square voltage, the second phase root mean square voltage and the third phase root mean square voltage are all within the preset voltage range, and the first phase relationship value corresponding to the first phase relationship, the second phase relationship value corresponding to the second phase relationship and the third phase relationship value corresponding to the third phase relationship are all less than the preset phase relationship value, then it can be directly determined that the grid type of the vehicle power supply is the Central European three-phase four-wire system, and the output identification information is the identification information of EU / CN_ABCN (i.e., the Central European three-phase four-wire system), for the operator to perform safe charging operations on the vehicle power supply according to the identification information.

[0105] It should be noted that EU / CN_ABCN is equivalent to EU / CN_ABC (Central European three-phase three-wire system).

[0106] Step A13, if the first phase root mean square voltage is less than the preset voltage value, and the second phase root mean square voltage and the third phase root mean square voltage are equal to or greater than the preset voltage value, then when it is identified that the second phase root mean square voltage and the third phase root mean square voltage are both within the preset voltage range, determine the preset phase relationship value range in which the second phase relationship value corresponding to the second phase relationship lies.

[0107] If in the process of executing the conditional judgment process, it is identified that the first phase root mean square voltage is less than the preset voltage value, but the second phase root mean square voltage and the third phase root mean square voltage are equal to or greater than the voltage value, then after identifying that the second phase root mean square voltage and the third phase root mean square voltage are both within the preset voltage range, the preset phase relationship value range of the second phase relationship corresponding to the second phase relationship is judged, that is, by judging the balance state of the phase difference between the second phase line and the third phase line, the grid type range of the vehicle power supply is narrowed, thereby improving the accuracy of the identified grid type.

[0108] Step A14, if it is determined that the second phase relationship value is within the first preset phase relationship value range, then the identification information characterizing the power grid type as the second Norwegian two-phase three-wire system is output, or, step A15, if it is determined that the second phase relationship value is within the second preset phase relationship value range, then the identification information characterizing the power grid type as the second Central European two-phase three-wire system is output, or, step A16, if it is determined that the second phase relationship value is within the third preset phase relationship value range, then the identification information characterizing the power grid type as the second Central European two-phase two-wire system is output.

[0109] When it is determined that the second phase relationship value is within the range of the first preset phase relationship value, it means that the phase difference between the second phase line and the third phase line of the vehicle power supply is around the first preset phase relationship value, and it can be directly determined that the power grid type of the vehicle power supply is the second Norwegian two-phase three-wire system. At this time, the output identification information is the identification information of Norway_BCN (i.e., the second Norwegian two-phase three-wire system).

[0110] When it is identified that the second phase relationship value is within the second preset phase relationship value range, it means that the phase difference between the second phase line and the third phase line of the vehicle power supply is around the second preset phase relationship value, and the grid type of the vehicle power supply can be directly determined to be the second Central European two-phase three-wire system. At this time, the output identification information is the identification information of EU / CN_BCN (i.e., the second Central European two-phase three-wire system).

[0111] When it is identified that the second phase relationship value is within the range of the third preset phase relationship value, it means that the phase difference between the second phase line and the third phase line of the vehicle power supply is around the third preset phase relationship value, and the grid type of the vehicle power supply can be directly determined to be the second Central European two-phase two-wire system. At this time, the output identification information is the identification information of EU / CN_BC (i.e., the second Central European two-phase two-wire system).

[0112] Step A17, if the first phase voltage root mean square and the second phase voltage root mean square are less than the preset voltage value, and the third phase voltage root mean square are equal to or greater than the preset voltage value, then when it is identified that the third phase voltage root mean square is within the preset voltage range, output identification information characterizing the grid type as the third Central European single-phase two-phase system.

[0113] If in the process of executing the condition judgment process, it is identified that the first phase voltage root mean square and the second phase voltage root mean square are less than the preset voltage value, but the third phase voltage root mean square is equal to or greater than the preset voltage value, then when it is identified that the third phase voltage root mean square is within the preset voltage range, it means that the power grid connected to the third phase line of the vehicle power supply is a medium voltage power grid, and the power grid type of the vehicle power supply can be directly determined to be the third Central European single-phase two-phase system. At this time, the output identification information is EU / CN_CN (that is, the third Central European single-phase two-phase system) identification information, for the operator to perform safe charging operations on the vehicle power supply according to the identification information.

[0114] Step A18, if the first phase root mean square voltage and the third phase root mean square voltage are both equal to or greater than the preset voltage value, and the second phase root mean square voltage is less than the preset voltage value, then when it is identified that the first phase root mean square voltage and the third phase root mean square voltage are both within the preset voltage range, determine the preset phase relationship value range in which the third phase relationship value corresponding to the third phase relationship lies.

[0115] If in the process of executing the conditional judgment process, it is identified that the second phase root mean square voltage is less than the preset voltage value, but the first phase root mean square voltage and the third phase root mean square voltage are equal to or greater than the voltage value, then after identifying that the first phase root mean square voltage and the third phase root mean square voltage are both within the preset voltage range, the preset phase relationship value range of the third phase relationship corresponding to the third phase relationship is determined, that is, by judging the balance state of the phase difference between the third phase line and the first phase line, the grid type range of the vehicle power supply is narrowed, thereby improving the accuracy of the identified grid type.

[0116] Step A19, if it is determined that the third phase relationship value is within the first preset phase relationship value range, then output identification information characterizing the power grid type as the third Norwegian two-phase three-wire system, or, step A20, if it is determined that the third phase relationship value is within the second preset phase relationship value range, then output identification information characterizing the power grid type as the third Central European two-phase three-wire system, or, step A21, if it is determined that the third phase relationship value is within the third preset phase relationship value range, then output identification information characterizing the power grid type as the third Central European two-phase two-wire system.

[0117] When it is determined that the third phase relationship value is within the range of the first preset phase relationship value, it means that the phase difference between the third phase line and the first phase line of the vehicle power supply is around the first preset phase relationship value, and the grid type of the vehicle power supply can be directly determined to be the third Norwegian two-phase three-wire system. At this time, the output identification information is the identification information of Norway_ACN (i.e. the third Norwegian two-phase three-wire system).

[0118] When it is identified that the third phase relationship value is within the second preset phase relationship value range, it means that the phase difference between the third phase line and the first phase line of the vehicle power supply is around the second preset phase relationship value, and the grid type of the vehicle power supply can be directly determined to be the third Central European two-phase three-wire system. At this time, the output identification information is the identification information of EU / CN_ACN (i.e., the third Central European two-phase three-wire system).

[0119] When it is identified that the third phase relationship value is within the third preset phase relationship value range, it means that the phase difference between the third phase line and the first phase line of the vehicle power supply is around the third preset phase relationship value, and the grid type of the vehicle power supply can be directly determined to be the third Central European two-phase two-wire system. At this time, the output identification information is the identification information of EU / CN_AC (i.e., the third Central European two-phase two-wire system).

[0120] The above is a summary of the steps based on the results of the conditional judgment process. The complete conditional judgment process can be as follows: Figure 3-Figure 5 As shown, Figure 3-Figure 5 and Figure 2 The meaning is the same, the only difference is Figure 3-Figure 5 It is the complete execution process step of the conditional judgment process, and Figure 2 The following are the steps to summarize the results of the complete execution process based on the conditional judgment process. Figure 3-Figure 5 Provide explanation.

[0121] Enter the preset power grid identification strategy (i.e., step B1), first determine whether there is at least one phase root mean square voltage greater than the preset voltage value among the first phase root mean square voltage, the second phase root mean square voltage, and the third phase root mean square voltage (i.e., step B2), if so, formally execute the condition judgment process (i.e., step B3); if not, output identification information indicating that the power grid type is an abnormal power grid type (i.e., step B4);

[0122] In the conditional judgment process, first determine whether the third-phase root mean square voltage is less than 30V (i.e., step B5). If so, then determine whether the second-phase root mean square voltage is less than 30V (i.e., step B6). If so, determine whether the first root mean square voltage is within the preset voltage range of [185-△V—265+△V] (i.e., step B7). If so, determine that the grid type is EU / CN_AN (i.e., step B8). If not, output identification information indicating that the grid type is an abnormal grid type (i.e., step B4).

[0123] If it is determined that the second phase voltage root mean square is equal to or greater than 30V, then determine whether the first phase voltage root mean square is less than 30V (i.e., step B9); if so, determine whether the second phase voltage root mean square is within the preset voltage range of [185-△V—265+△V] (i.e., step B10); if so, determine that the power grid type is EU / CN_BN (i.e., step B11); if not, determine whether the first phase voltage root mean square and the second phase voltage root mean square are both within the preset voltage range of [185-△V—265+△V] (i.e., step B12); if so, determine whether the first phase relationship value corresponding to the first phase relationship is less than the preset voltage range. Assume the phase relationship value △ (i.e., step B13). If so, determine whether the first phase root mean square voltage and the second phase root mean square voltage are both greater than the first preset voltage value of 185-△V (i.e., step B14). If so, determine that the power grid type is US / JP_Split (i.e., step B15). If not, determine whether the first phase root mean square voltage and the second phase root mean square voltage are both less than the second preset voltage value of 135+△V (i.e., step B16). If so, determine that the power grid type is US / JP_Single (i.e., step B17). If not, output identification information characterizing that the power grid type is an abnormal power grid type (i.e., step B4).

[0124] If the first phase relationship value corresponding to the first phase relationship is equal to or greater than the preset phase relationship value △, it is determined whether the first phase relationship value is within the first preset phase relationship value range of [V_Phase_60-△—V_Phase_60+△] (i.e., step B18); if so, the power grid type is determined to be Norway_ABN (i.e., step B19); if not, it is determined whether the first phase relationship value is within the second preset phase relationship value range of [V_Phase_120-△—V_Phase_120+△] (i.e., step B20); if so, the power grid type is determined to be EU / CN_ABN (i.e., step B21); if not, it is determined whether the first phase relationship value is within the third preset phase relationship value range of [V_Phase_180-△—V_Phase_180+△] (i.e., step B22); if so, the power grid type is determined to be EU / CN_AB (i.e., step B23); if not, identification information characterizing that the power grid type is an abnormal power grid type is output (i.e., step B4).

[0125] If it is determined that the root mean square of the third phase voltage is equal to or greater than 30V, then determine whether the root mean square of the second phase voltage is less than 30V (i.e., step B24); if not, determine whether the root mean square of the first phase voltage is less than 30V (i.e., step B25); if not, determine whether the root mean square of the first phase voltage, the root mean square of the second phase voltage, and the root mean square of the third phase voltage are all within the preset voltage range of [185-△V—265+△V] (i.e., step B26); if not, output identification information characterizing the power grid type as an abnormal power grid type (i.e., step B4); if so, determine whether the first phase relationship value corresponding to the first phase relationship, the second phase relationship value corresponding to the second phase relationship, and the third phase relationship value corresponding to the third phase relationship are all less than the preset phase relationship value △ (i.e., step B27); if so, determine that the power grid type is EU / CN_ABCN or EU / CN_ABC (i.e., step B28); if not, output identification information characterizing the power grid type as an abnormal power grid type (i.e., step B4).

[0126] If the first phase voltage root mean square is less than 30V, it is determined whether the second phase voltage root mean square and the third phase voltage root mean square are both within the preset voltage range of [185-△V—265+△V] (i.e., step B29). If not, the identification information characterizing the grid type as an abnormal grid type is output (i.e., step B4). If so, it is determined whether the second phase relationship value is within the first preset phase relationship value range of [V_Phase_60-△—V_Phase_60+△] (i.e., step B30). If so, it is determined that the grid type is Norway_BCN (i.e., step B31). If not, it is determined whether the second phase relationship value is within the first preset phase relationship value range of [V_Phase_60-△—V_Phase_60+△]. The value is within the second preset phase relationship value range of [V_Phase_120-△—V_Phase_120+△] (i.e., step B32). If so, the grid type is determined to be EU / CN_BCN (i.e., step B33). If not, it is determined whether the second phase relationship value is within the third preset phase relationship value range of [V_Phase_180-△—V_Phase_180+△] (i.e., step B34). If so, the grid type is determined to be EU / CN_BC (i.e., step B35). If not, identification information characterizing that the grid type is an abnormal grid type is output (i.e., step B4).

[0127] If the root mean square voltage of the second phase is less than 30V, determine whether the root mean square voltage of the first phase is less than 30V (i.e. step B36); if so, determine whether the root mean square voltage of the third phase is within the preset voltage range of [185-△V—265+△V] (i.e. step B37); if so, determine that the grid type is EU / CN_CN (i.e. step B38); if not, output identification information indicating that the grid type is an abnormal grid type (i.e. step B4).

[0128] If the first phase voltage root mean square is equal to or greater than 30V, it is determined whether the first phase voltage root mean square and the third phase voltage root mean square are both within the preset voltage range of [185-△V—265+△V] (i.e., step B39). If not, the identification information characterizing the grid type as an abnormal grid type is output (i.e., step B4). If so, it is determined whether the third phase relationship value is within the first preset phase relationship value range of [V_Phase_60-△—V_Phase_60+△] (i.e., step B40). If so, it is determined that the grid type is Norway_ACN (i.e., step B41). If not, it is determined whether the third phase relationship value is within the first preset phase relationship value range of [V_Phase_60-△—V_Phase_60+△]. Whether the phase relationship value is within the second preset phase relationship value range of [V_Phase_120-△—V_Phase_120+△] (i.e., step B42); if so, determine that the power grid type is EU / CN_ACN (i.e., step B43); if not, determine whether the third phase relationship value is within the third preset phase relationship value range of [V_Phase_180-△—V_Phase_180+△] (i.e., step B44); if so, determine that the power grid type is EU / CN_AC (i.e., step B45); if not, output identification information characterizing that the power grid type is an abnormal power grid type (i.e., step B4).

[0129] It should be noted that in this judgment process, the preset voltage value is set to 30V, and △ needs to be determined according to the actual grid type, and can be selectively set to 0.1 or 0.2. When judging whether the corresponding phase relationship value is in [V_Phase_60-△—V_Phase_60+△], △ can only be set to 0.1 at this time, indicating that the voltage difference between the power system and the corresponding phase voltage is 20%; when judging whether the corresponding phase relationship value is in [V_Phase_120-△—V_Phase_1 20+△], when △ is set to 0.1, it means that the voltage difference between the power system and the corresponding phase voltage is 10%, and when it is set to 0.2, it means that the voltage difference between the power system and the corresponding phase voltage is 20%; when judging whether the corresponding phase relationship value is in [V_Phase_180-△—V_Phase_180+△], when △ is set to 0.1, it means that the voltage difference between the power system and the corresponding phase voltage is 10%, and when it is set to 0.2, it means that the voltage difference between the power system and the corresponding phase voltage is 20%. In this embodiment, V_Phase_60 is equal to 1, and V_Phase_120 is equal to V_Phase_180 is equal to 2.

[0130] The preset voltage value, preset voltage range, preset phase relationship value, first preset voltage value, second preset voltage value, first preset phase relationship value range, second preset phase relationship value range and third preset phase relationship value range are all set according to the determined grid type.

[0131] Among them, abnormal grid types include grid abnormality, voltage imbalance, and the voltage of the vehicle power supply is in the non-operating voltage range. The specific abnormal grid type needs to be detected by the operator.

[0132] The present application provides a terminal device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the grid identification method of the vehicle power supply in the above-mentioned embodiment one.

[0133] Reference below Figure 6 , which shows a schematic diagram of the structure of a terminal device suitable for implementing an embodiment of the present application. The terminal device in the embodiment of the present application may include but is not limited to mobile terminals such as laptop computers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions: tablet computers), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0134] like Figure 6As shown, the terminal device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the terminal device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the terminal device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a terminal device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.

[0135] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0136] The terminal device provided by the present application adopts the grid identification method of the vehicle power supply in the above embodiment, which can solve the technical problem of how to avoid charging risks while ensuring the convenient charging operation of vehicles of various national grid types. Compared with the prior art, the beneficial effects of the terminal device provided by the present application are the same as the beneficial effects of the grid identification method of the vehicle power supply provided by the above embodiment, and the other technical features in the terminal device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0137] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0138] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0139] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, the computer-readable program instructions being used to execute the grid identification method of the vehicle-mounted power supply in the above-mentioned embodiment.

[0140] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0141] The computer-readable storage medium may be included in the terminal device; or may exist independently without being installed in the terminal device.

[0142] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the terminal device, the terminal device: samples the phase line of the vehicle power supply in real time to obtain the phase voltage value in a sampling period; calculates the phase voltage root mean square and phase relationship corresponding to the phase voltage respectively based on the phase voltage value; substitutes the phase voltage root mean square and / or phase relationship into the preset power grid identification strategy to identify the power grid type of the output vehicle power supply.

[0143] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0144] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0145] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0146] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned on-board power grid identification method, and can solve the technical problem of how to avoid charging risks while ensuring the convenient charging operation of vehicles of various national power grid types. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the on-board power grid identification method provided by the above-mentioned embodiment, and will not be repeated here.

[0147] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for identifying a power grid of a vehicle-mounted power supply, characterized in that: The grid identification method of the vehicle-mounted power supply comprises: Sampling the phase line of the vehicle-mounted power supply in real time to obtain a phase voltage value in a sampling period; Calculating the phase voltage root mean square and phase relationship corresponding to the phase voltages respectively according to the phase voltage values; The phase voltage root mean square and / or the phase relationship are substituted into a preset power grid identification strategy to identify the type of power grid that outputs the on-board power supply.

2. The grid identification method of the vehicle-mounted power supply according to claim 1, characterized in that: In the case where the phase line includes a first phase line, a second phase line and a third phase line, the phase voltage value includes a first phase voltage value, a second phase voltage value and a third phase voltage value, and the step of calculating the phase voltage root mean square and phase relationship corresponding to the phase voltages respectively according to the phase voltage values ​​includes: Calculating the RMS values ​​corresponding to the first phase voltage value, the second phase voltage value, and the third phase voltage value, respectively, to obtain the first phase voltage RMS, the second phase voltage RMS, and the third phase voltage RMS; and, Calculate a first line voltage root mean square between the first phase line and the second phase line, a second line voltage root mean square between the second phase line and the third phase line, and a third line voltage root mean square between the third phase line and the first phase line according to the first phase voltage value, the second phase voltage value, and the third phase voltage value; By comparing the first line root mean square voltage and the first phase root mean square voltage, the second line root mean square voltage and the second phase root mean square voltage, and the third line root mean square voltage and the third phase root mean square voltage, a first phase relationship, a second phase relationship and a third phase relationship are obtained in sequence; The first phase voltage root mean square, the second phase voltage root mean square and the third phase voltage root mean square constitute the phase voltage root mean square, and the first phase relationship, the second phase relationship and the third phase relationship constitute the phase relationship.

3. The grid identification method of the vehicle-mounted power supply according to claim 2, characterized in that: The preset power grid identification strategy is a conditional judgment process executed based on the substituted phase voltage root mean square and the phase relationship.

4. The grid identification method of the vehicle-mounted power supply according to claim 3, characterized in that: The step of substituting the phase voltage RMS and / or the phase relationship into a preset power grid identification strategy to identify the type of power grid that outputs the on-board power supply includes: Substituting the first phase root mean square voltage, the second phase root mean square voltage and the third phase root mean square voltage into the preset power grid identification strategy, and judging whether at least one phase root mean square voltage among the first phase root mean square voltage, the second phase root mean square voltage and the third phase root mean square voltage is greater than a preset voltage value through the preset power grid identification strategy; If yes, the phase relationship is substituted into the preset power grid identification strategy, and the power grid type is identified and output according to the condition judgment process; If not, identification information indicating that the power grid type is an abnormal power grid type is output.

5. The grid identification method of the vehicle-mounted power supply according to claim 4, characterized in that: The step of identifying and outputting the power grid type according to the condition judgment process includes: If the third phase voltage root mean square and the second phase voltage root mean square are both less than the preset voltage value, and the first phase voltage root mean square is within the preset voltage range, then output identification information indicating that the grid type is the first Central European one-phase two-wire system; or, If the third phase voltage root mean square and the first phase voltage root mean square are both less than the preset voltage value, and the second phase voltage root mean square is within the preset voltage range, then output identification information indicating that the grid type is the second Central European one-phase two-wire system.

6. The grid identification method of the vehicle-mounted power supply according to claim 4, characterized in that: The step of identifying and outputting the power grid type according to the condition judgment process includes: If the third phase voltage root mean square is less than the preset voltage value, and the first phase voltage root mean square and the second phase voltage root mean square are both equal to or greater than the preset voltage value, then after identifying that the first phase voltage root mean square and the second phase voltage root mean square are both within the preset voltage range, determining whether the first phase relationship value corresponding to the first phase relationship is less than the preset phase relationship value; If the first phase relationship value is less than the preset phase relationship value, then when it is identified that the first phase voltage root mean square and the second phase voltage root mean square are both greater than a first preset voltage value, output identification information indicating that the power grid type is a US version split-phase, or, when it is identified that the first phase voltage root mean square and the second phase voltage root mean square are both less than a second preset voltage value, output identification information indicating that the power grid type is a US version single-phase; If the first phase relationship value is equal to or greater than the preset phase relationship value, then when it is identified that the first phase relationship value is within the first preset phase relationship value range, identification information characterizing that the power grid type is a first Norwegian two-phase three-wire system is output; or, when it is identified that the first phase relationship value is within the second preset phase relationship value range, identification information characterizing that the power grid type is a first Central European two-phase three-wire system is output; or, when it is identified that the first phase relationship value is within the third preset phase relationship value range, identification information characterizing that the power grid type is a first Central European two-phase two-wire system is output.

7. The grid identification method of the vehicle-mounted power supply according to claim 4, characterized in that: The step of identifying and outputting the power grid type according to the condition judgment process includes: If the first phase root mean square voltage, the second phase root mean square voltage and the third phase root mean square voltage are all equal to or greater than the preset voltage value, then upon identifying that the first phase root mean square voltage, the second phase root mean square voltage and the third phase root mean square voltage are all within the preset voltage range, and the first phase relationship value corresponding to the first phase relationship, the second phase relationship value corresponding to the second phase relationship and the third phase relationship value corresponding to the third phase relationship are all less than the preset phase relationship value, then outputting identification information characterizing that the power grid type is a Central European three-phase four-wire system; or, If the first phase root mean square voltage is less than the preset voltage value, and the second phase root mean square voltage and the third phase root mean square voltage are both equal to or greater than the preset voltage value, then upon identifying that the second phase root mean square voltage and the third phase root mean square voltage are both within the preset voltage range, determining the preset phase relationship value range within which the second phase relationship value corresponding to the second phase relationship lies; If it is determined that the second phase relationship value is within the first preset phase relationship value range, then the identification information characterizing that the power grid type is the second Norwegian two-phase three-wire system is output; or, if it is determined that the second phase relationship value is within the second preset phase relationship value range, then the identification information characterizing that the power grid type is the second Central European two-phase three-wire system is output; or, if it is determined that the second phase relationship value is within the third preset phase relationship value range, then the identification information characterizing that the power grid type is the second Central European two-phase two-wire system is output.

8. The grid identification method of the vehicle-mounted power supply according to claim 4, characterized in that: The step of identifying and outputting the power grid type according to the condition judgment process includes: If the first phase voltage root mean square and the second phase voltage root mean square are less than the preset voltage value, and the third phase voltage root mean square are both equal to or greater than the preset voltage value, then when it is identified that the third phase voltage root mean square is within the preset voltage range, output identification information indicating that the power grid type is the third Central European single-phase two-phase system; or, If the first phase voltage root mean square and the third phase voltage root mean square are both equal to or greater than the preset voltage value, and the second phase voltage root mean square is less than the preset voltage value, then upon identifying that the first phase voltage root mean square and the third phase voltage root mean square are both within the preset voltage range, determining the preset phase relationship value range within which the third phase relationship value corresponding to the third phase relationship lies; If it is determined that the third phase relationship value is within the first preset phase relationship value range, then the identification information characterizing that the power grid type is the third Norwegian two-phase three-wire system is output, or, if it is determined that the third phase relationship value is within the second preset phase relationship value range, then the identification information characterizing that the power grid type is the third Central European two-phase three-wire system is output, or, if it is determined that the third phase relationship value is within the third preset phase relationship value range, then the identification information characterizing that the power grid type is the third Central European two-phase two-wire system is output.

9. A terminal device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the grid identification method for the on-board power supply according to any one of claims 1 to 8.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the grid identification method of the vehicle power supply according to any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Power grid access method and device of household light storage and charging integrated equipment, computer equipment and storage medium

    CN122495534A

  • Grid access method and device of household light storage and charging integrated equipment, computer equipment and storage medium

    CN122495534B