Charging control method, charging pile and vehicle

By using the alternating duty cycle of PWM signals to represent the charging pile code between the charging pile and the vehicle, and performing charging authentication after vehicle parsing, the problem of simple and low-security charging authorization operation for electric vehicles is solved, achieving more efficient and safer charging control.

CN121756944APending Publication Date: 2026-03-31CHERY NEW ENERGY AUTOMOBILE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-06
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

The current electric vehicle charging authorization process is relatively simple, and the charging control security is low.

Method used

Charging pile coding is represented by alternating first and second duty cycles of PWM signals between the charging pile and the vehicle, and charging authentication is performed after vehicle parsing to ensure that power is supplied only to legitimate devices.

Benefits of technology

It improves the safety and controllability of the charging process, and significantly enhances the safety and reliability of charging control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121756944A_ABST
    Figure CN121756944A_ABST
Patent Text Reader

Abstract

The invention relates to a charging control method, a charging pile and a vehicle, and relates to the technical field of automobile charging. The method is executed by a charging pile and comprises the steps that under the condition that physical connection between the charging pile and a vehicle is completed, a PWM signal is sent to the vehicle, the PWM signal alternately uses a first duty ratio and a second duty ratio to represent a charging pile code, the first duty ratio is used for representing a binary system '0', and the second duty ratio is used for representing a binary system '1'; receiving a charging instruction sent by the vehicle; and in response to a received charging instruction sent by the vehicle, supplying power to the vehicle, the charging instruction being generated after the vehicle analyzes the PWM signal and passes the charging authentication of the charging pile code. According to the scheme, the safety of charging control can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle charging technology, and in particular to a charging control method, a charging pile, and a vehicle. Background Technology

[0002] With the rapid development of new energy vehicles, electric vehicle charging services are becoming more mature, and users can charge their electric vehicles through charging stations.

[0003] In related technologies, users can charge electric vehicles by swiping a card or using an app. For example, after inserting the charging gun into the charging port of the electric vehicle, the user can authorize the electric vehicle or charging station through a mobile app to authorize the charging operation.

[0004] However, the above schemes have relatively simple charging authorization operations for electric vehicles and low charging control security. Summary of the Invention

[0005] This application provides a charging control method, a charging pile, and a vehicle, which can improve the safety of charging control. The technical solution is as follows: On the one hand, a charging control method is provided, the method being executed by a charging pile, the method comprising: When the charging pile and the vehicle are physically connected, a PWM signal is sent to the vehicle. The PWM signal alternately uses a first duty cycle and a second duty cycle to represent the charging pile code. The first duty cycle is used to represent binary "0" and the second duty cycle is used to represent binary "1". Receive charging instructions sent by the vehicle; In response to receiving a charging command from the vehicle, power is supplied to the vehicle. The charging command is generated by the vehicle after parsing the PWM signal and passing the charging authentication of the charging pile.

[0006] On the other hand, a charging control method is provided, the method being executed by a vehicle, the method comprising: When the charging pile and the vehicle are physically connected, the vehicle receives a PWM signal sent by the charging pile. The PWM signal alternately uses a first duty cycle and a second duty cycle to represent the charging pile code. The first duty cycle is used to represent binary "0" and the second duty cycle is used to represent binary "1". The PWM signal is analyzed to obtain the charging pile code; Perform charging authentication based on the charging pile code; If the charging authentication operation results in successful authentication, a charging command is sent to the charging pile to enable the charging pile to supply power to the vehicle.

[0007] On the other hand, a charging control device is provided, the device comprising: The PWM signal transmitting module is used to send a PWM signal to the vehicle when the charging pile and the vehicle are physically connected. The PWM signal alternately uses a first duty cycle and a second duty cycle to represent the charging pile code. The first duty cycle is used to represent binary "0" and the second duty cycle is used to represent binary "1". A receiving module is used to receive charging instructions sent by the vehicle; The power supply module is used to supply power to the vehicle in response to receiving a charging command sent by the vehicle. The charging command is generated by the vehicle after parsing the PWM signal and passing the charging authentication of the charging pile.

[0008] In one possible implementation, the first duty cycle is 5% and the second duty cycle is 95%.

[0009] In one possible implementation, the PWM signal transmits the charging pile code in 32 duty cycle periods, each duty cycle being 10 milliseconds, with each duty cycle corresponding to one binary bit.

[0010] On the other hand, a charging control device is provided, the device comprising: The PWM signal receiving module is used to receive the PWM signal sent by the charging pile when the charging pile and the vehicle are physically connected. The PWM signal alternately uses a first duty cycle and a second duty cycle to represent the charging pile code. The first duty cycle is used to represent binary "0" and the second duty cycle is used to represent binary "1". The PWM signal parsing module is used to parse the PWM signal to obtain the charging pile code; The charging authentication operation execution module is used to perform a charging authentication operation based on the charging pile code; The charging command sending module is used to send a charging command to the charging pile when the result of the charging authentication operation indicates that the authentication is successful, so that the charging pile can supply power to the vehicle.

[0011] In one possible implementation, the charging authentication operation execution module is used to compare the charging pile code with the record code, wherein the record code is the identity code of the charging pile with power supply authority recorded by the vehicle's in-vehicle system; and determine the result of the charging authentication operation based on the comparison result.

[0012] In one possible implementation, the charging authentication operation execution module is used to determine that the result of the charging authentication operation is authentication passed if the charging pile code is the same as the record code.

[0013] In one possible implementation, the charging authentication operation execution module is used to parse the first duty cycle as binary "0"; parse the second duty cycle as binary "1"; and concatenate the parsed binary numbers according to the receiving order to obtain the charging pile code.

[0014] In one possible implementation, the device further includes: The authorization request sending module is used to respond to the user inputting the record code on the vehicle's on-board device and send an authorization request to the server through the on-board device, so that the server sends the authorization request to the account bound to the charging pile corresponding to the record code. The authorization request is used to request the use permission of the charging pile corresponding to the record code. The authorization feedback module is used to respond to receiving authorization feedback from the server, and if the authorization feedback indicates that the authorization is successful, to use the charging pile corresponding to the record code. On another front, a charging pile is provided, the charging pile including a processor and a memory, the memory storing instructions which are executed by the processor to implement any of the charging control methods described above.

[0015] In another aspect, a vehicle is provided, the vehicle including a processor and a memory, the memory storing instructions which are executed by the processor to implement any of the charging control methods described above.

[0016] In another aspect, a computer device is provided, the computer device comprising a processor and a memory, the memory storing at least one instruction, at least one program, code set or instruction set, the at least one instruction, the at least one program, the code set or instruction set being loaded and executed by the processor to implement the charging control method as described above.

[0017] In another aspect, a computer-readable storage medium is provided, wherein at least one instruction, at least one program, code set, or instruction set is stored therein, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the charging control method described above.

[0018] In another aspect, a computer program product is provided, comprising a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to perform the charging control method provided in the various optional implementations described above.

[0019] The technical solution provided in this application may include the following beneficial effects: The PWM signal maps binary "0" and "1" through the first duty cycle and the second duty cycle, respectively, which realizes efficient and low-cost transmission of charging pile identity information without the need for additional communication modules or complex protocols. After the vehicle parses the PWM signal to obtain the charging pile code and passes the charging authentication based on the charging pile code, it actively sends a charging command, so that the charging pile only responds to power supply to legally authorized devices, which significantly improves the safety and controllability of the charging process.

[0020] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

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

[0022] Figure 1 This is a system configuration diagram of a charging control method according to one embodiment of this application; Figure 2 This is a flowchart of a charging control method provided in one embodiment of this application; Figure 3 This is a flowchart of a charging control method provided in one embodiment of this application; Figure 4 This is a flowchart of a charging control method provided in one embodiment of this application; Figure 5 This is a schematic diagram of a charging control method provided in an embodiment of this application; Figure 6 This is a flowchart of a scheme for automatically starting AC charging when the charging gun is plugged in, according to one embodiment of this application; Figure 7 This is a block diagram of a charging control device provided in an exemplary embodiment of this application; Figure 8 This is a block diagram of a charging control device provided in an exemplary embodiment of this application; Figure 9 This is a schematic diagram of the structure of a computer device provided in an exemplary embodiment of this application. Detailed Implementation

[0023] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0024] It should be noted that this application may display prompt interfaces, pop-ups, or output voice prompts before and during the collection of user data. These prompt interfaces, pop-ups, or voice prompts are used to inform the user that their data is being collected. This ensures that the application only begins the steps for collecting user data after receiving confirmation from the user regarding the prompt interface or pop-up; otherwise (i.e., without user confirmation), the steps for collecting user data end, meaning no user data is collected. In other words, all user data collected in this application is collected with the user's consent and authorization, and the collection, use, and processing of related user data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.

[0025] Figure 1 This is a system configuration diagram of a charging control method according to one embodiment of this application. Figure 1 As shown, the system includes a charging pile 120 and a vehicle 130.

[0026] The aforementioned charging pile 120 is a facility that can provide electric power to vehicles. The charging pile 120 can convert the AC power from the external power grid or the power from distributed energy sources (such as photovoltaics and energy storage) into the voltage and current required by the vehicle, and transmit the converted voltage and current to the vehicle's on-board power battery through a dedicated interface.

[0027] The aforementioned charging pile 120 can be an AC slow charging pile (AC, Alternating Current), a DC fast charging pile (DC, Direct Current), or an AC / DC integrated pile.

[0028] AC slow charging piles typically have an output power between 3.3kW and 22kW. They rely on an on-board charger (OBC) to convert AC power to DC power before charging the vehicle's battery. This method has a longer charging time but lower cost, making it suitable for long-term parking locations such as residential areas and office buildings.

[0029] DC fast charging piles can output power of 50kW-350kW or even higher. They output DC power to charge the vehicle's power battery, and the charging speed is fast. They are often installed in public places such as highway service areas and shopping mall parking lots.

[0030] The AC / DC integrated charging pile supports both AC slow charging and DC fast charging modes, which can be switched according to the vehicle's needs. It has strong compatibility and is suitable for scenarios that require flexible switching of charging speed.

[0031] The aforementioned charging pile 120 is equipped with a charging gun 140, which can transmit the electrical energy output by the charging pile 120 to the charging port of the vehicle 130 through a cable, thereby powering the vehicle 130. The charging gun 140 and the charging pile 120 can be connected via a charging cable.

[0032] The aforementioned vehicle 130 can be a battery electric vehicle (BEV), a plug-in hybrid electric vehicle (PHEV), or an extended-range electric vehicle (EREV).

[0033] A battery electric vehicle (BEV) is an electric vehicle that relies entirely on its onboard battery for power, with the only energy source being the power grid or charging stations, and emits zero emissions during operation.

[0034] Plug-in hybrid electric vehicles (PHEVs) are equipped with both a large-capacity battery and an internal combustion engine. The battery of a PHEV can be charged through a charging station to achieve pure electric mode driving. When the battery is depleted, it can switch to hybrid or fuel mode electric vehicle.

[0035] Extended-Range Electric Vehicles (EREVs) are electric vehicles based on a pure electric platform, equipped with a small-powered engine as a generator to extend the battery range. The batteries of EREVs can be charged through charging stations, achieving zero emissions in electric mode; the engine only works when needed.

[0036] like Figure 1As shown, when the charging pile and the vehicle are physically connected, the charging pile can send a PWM signal to the vehicle. The vehicle receives the PWM signal sent by the charging pile, parses the PWM signal to obtain the charging pile code, and performs a charging authentication operation based on the charging pile code. If the result of the charging authentication operation indicates that the authentication is successful, the vehicle sends a charging command to the charging pile. The charging pile receives the charging command sent by the vehicle and, in response to receiving the charging command sent by the vehicle, supplies power to the vehicle.

[0037] The PWM signal alternately uses a first duty cycle and a second duty cycle to represent the charging pile code. The first duty cycle is used to represent binary "0" and the second duty cycle is used to represent binary "1". Figure 2 This is a flowchart of a charging control method provided in one embodiment of this application. The charging control method can be executed by a charging pile, for example, the charging pile can be the one described above. Figure 1 The charging pile 120 shown above. The above charging control method may include the following steps: Step 210: After the charging pile and the vehicle have completed the physical connection, send a PWM signal to the vehicle. The PWM signal alternately uses a first duty cycle and a second duty cycle to represent the charging pile code. The first duty cycle is used to represent binary "0" and the second duty cycle is used to represent binary "1".

[0038] The physical connection between the charging pile and the vehicle can be achieved through the charging gun corresponding to the charging pile. That is, after the charging gun corresponding to the charging pile is inserted into the charging port of the vehicle, the charging gun and the charging port of the vehicle are locked by a mechanical lock.

[0039] In some embodiments, when the charging station and the vehicle are physically connected, the charging station sends a PWM signal to the vehicle via a Control Pilot (CP) circuit.

[0040] In some embodiments, the charging pile sends a fixed-frequency PWM signal to the vehicle through the CP line. When the charging gun is not inserted into the vehicle, the CP line is open, and the charging pile cannot detect effective feedback current or voltage. At this time, the charging pile and the vehicle have not completed a physical connection. When the charging pile detects that the CP line is a loop and there is an expected voltage drop or current flowing through the CP line, it indicates that the charging gun is currently inserted into the vehicle, and the charging pile and the vehicle have completed a physical connection.

[0041] In one possible implementation, when the charging pile and the vehicle complete a physical connection, the charging pile issues a first connection status prompt, indicating that the charging pile and the vehicle have completed a physical connection. For example, when the charging pile and the vehicle complete a physical connection, a connection completion indicator light is lit on the charging pile.

[0042] In another possible implementation, when the charging pile and the vehicle complete the physical connection, the vehicle will issue a second connection status prompt, indicating that the charging pile and the vehicle have completed the physical connection. For example, when the charging pile and the vehicle complete the physical connection, the vehicle's central control screen displays a connection completion effect.

[0043] In this embodiment, each charging pile corresponds to a unique charging pile code, and different charging piles correspond to different charging pile codes. The charging pile code can be a unique identifier composed of several binary bits, used to represent the charging pile's identity, power capability, operator information, or authentication key, etc.

[0044] The aforementioned PWM signal is a periodic square wave signal, which is a digital signal that can transmit information by adjusting the duration of the high level (i.e., the duty cycle).

[0045] The first duty cycle and the second duty cycle mentioned above are two preset different duty cycle values.

[0046] The first duty cycle and the second duty cycle both refer to the ratio of the duration of the high level to the total cycle duration within one PWM cycle, usually expressed as a percentage.

[0047] When the charging pile detects that the charging pile and the vehicle have completed a physical connection, the charging pile generates a PWM signal on the CP line. The generated PWM signal is output at a fixed frequency (e.g., 1kHz) according to a preset protocol (e.g., a custom or extended national standard protocol), and the duty cycle is switched bit by bit according to the charging pile code to be transmitted: if the current bit is "0", the first duty cycle is output; if the current bit is "1", the second duty cycle is output. The entire charging pile code is sent serially in byte order.

[0048] For example, the charging pile code is "10110010". The PWM signal outputs a duty cycle sequence of 90%, 10%, 90%, 90%, 10%, 10%, 90%, 10% in sequence, with each duty cycle corresponding to 1 bit.

[0049] Step 220: Receive the charging command sent by the vehicle.

[0050] Step 230: In response to receiving the charging command sent by the vehicle, power is supplied to the vehicle. The charging command is generated by the vehicle after parsing the PWM signal and passing the charging authentication of the charging pile code.

[0051] The aforementioned charging command is a control command sent by the vehicle to the charging station via the communication bus after the vehicle has completed the identity / capability verification of the charging station, allowing power supply.

[0052] The above-mentioned parsing of PWM signals refers to the vehicle measuring the duty cycle of the PWM signal through ADC sampling or a dedicated CP monitoring circuit, and converting the measured duty cycle of the PWM signal into a binary data stream according to the agreed protocol.

[0053] The aforementioned charging authentication refers to the process by which the vehicle compares the parsed charging pile code with the local whitelist, digital certificate, or cloud authorization information to verify the legality, power matching, and / or security level of the parsed charging pile code, and to determine whether the charging pile corresponding to the charging code has the authority to charge the vehicle.

[0054] In some embodiments, after receiving the charging pile code indicated by the PWM signal obtained after parsing the charging pile, the vehicle performs charging authentication on the charging pile code. Specifically, it can query the local security policy library or request the cloud authentication service through the T-BOX network based on the charging pile code. If the charging authentication result indicates that it is successful, the vehicle sends a charging command to the charging pile through the CAN (Controller Area Network) bus. After receiving the charging command, the charging pile closes the internal relay or IGBT (Insulated Gate Bipolar Transistor) switch to start the DC / AC power supply process.

[0055] For example, an operating platform allows charging stations to charge vehicles of specific models. After the vehicle parses the charging station code, it checks its local whitelist, finds that the model indicated by the charging station code matches the specific model, and sends a charging command to the charging station. Upon receiving the charging command from the vehicle, the charging station supplies power to the vehicle.

[0056] In this embodiment, the PWM signal maps binary "0" and "1" through a first duty cycle and a second duty cycle, respectively, enabling efficient and low-cost transmission of charging pile identity information without the need for additional communication modules or complex protocols. After the vehicle parses the PWM signal to obtain the charging pile code and passes the charging authentication based on the charging pile code, it actively sends a charging command, so that the charging pile only responds to power supply to legally authorized devices, which significantly improves the safety and controllability of the charging process, thereby improving the overall safety of charging control.

[0057] In some embodiments, the first duty cycle is 5% and the second duty cycle is 95%.

[0058] In this embodiment, the first duty cycle is 5% to represent binary "0"; the second duty cycle is 95% to represent binary "1".

[0059] For example, within 32 duty cycle periods, each period is 10 milliseconds. If you want to transmit a binary "0", the output high level duration is 0.5 milliseconds for 5% of the time; if you want to transmit a binary "1", the output high level duration is 9.5 milliseconds for 95% of the time.

[0060] The significant difference between the settings for the first and second duty cycles makes it less prone to recognition errors, thus significantly improving the recognition accuracy of the PWM signal, reducing the risk of PWM signal errors caused by environmental noise and other factors, and effectively enhancing the reliability and safety of charging control.

[0061] In some embodiments, the PWM signal transmits the charging pile code in 32 duty cycle periods, with each duty cycle period being 10 milliseconds and each duty cycle period corresponding to one binary bit.

[0062] The duty cycle period mentioned above refers to the duration of each PWM signal cycle. In this embodiment, the duty cycle period is 10 milliseconds.

[0063] In this embodiment, the PWM signal has a cycle of 10 milliseconds, and a total of 32 cycles are required to fully transmit the charging pile code. Each cycle represents one binary bit, which facilitates fast and accurate information transmission.

[0064] For example, if you need to transmit an 8-bit binary number, it takes 80 milliseconds (8 cycles) to ensure that each bit is correctly parsed.

[0065] The aforementioned periodic PWM signal ensures the speed and accuracy of information transmission, not only accelerating the information exchange speed but also ensuring data integrity and enhancing the safety of charging control.

[0066] Figure 3 This is a flowchart of a charging control method provided in one embodiment of this application. The charging control method can be executed by a vehicle; for example, the vehicle may be the one described above. Figure 1 The vehicle 130 shown above. The charging control method described above may include the following steps: Step 310: After the charging pile and the vehicle have completed the physical connection, receive the PWM signal sent by the charging pile. The PWM signal alternately uses the first duty cycle and the second duty cycle to represent the charging pile code. The first duty cycle is used to represent binary "0" and the second duty cycle is used to represent binary "1".

[0067] In some embodiments, once the charging pile and the vehicle are physically connected, the vehicle can activate its built-in CP signal monitoring module to collect the PWM signal on the CP line at a fixed sampling frequency (e.g., multiple times per millisecond).

[0068] Step 320: Analyze the PWM signal to obtain the charging pile code.

[0069] Step 330: Perform charging authentication based on the charging pile code.

[0070] The aforementioned charging authentication operation refers to a security check operation in which the vehicle verifies, based on the received charging pile code, whether the received charging pile code has the legal authority to supply power to the vehicle.

[0071] In some embodiments, the vehicle compares the parsed charging station code with a locally stored list of authorized charging stations (which may be recorded in the vehicle infotainment system or the BMS secure storage area). The list of authorized charging stations can be added manually by the user, updated remotely via OTA (Over-The-Air), or pre-installed at the factory.

[0072] For example, specific charging stations (coded "CN-BJ-001" to "CN-BJ-100") are allowed to charge the vehicle. When the vehicle receives the code "CN-SH-999", a charging authentication operation is performed, that is, the received code is compared with the code of the specific charging station.

[0073] Step 340: If the charging authentication operation results in a successful authentication, send a charging command to the charging station to enable the charging station to supply power to the vehicle.

[0074] The above authentication pass means that the charging pile code has the authority to supply power to the vehicle.

[0075] In this embodiment, the PWM signal maps binary "0" and "1" through the first duty cycle and the second duty cycle, respectively, which realizes efficient and low-cost transmission of charging pile identity information without the need for additional communication modules or complex protocols. After the vehicle parses the PWM signal to obtain the charging pile code and passes the charging authentication based on the charging pile code, it actively sends a charging command, so that the charging pile only responds to power supply to legally authorized devices, which significantly improves the safety and controllability of the charging process.

[0076] based on Figure 3 Please refer to Figure 4 , Figure 4 This is a flowchart of a charging control method provided in one embodiment of this application. Figure 3 Step 330 can be implemented as steps 330a and 330b, as follows: Step 330a: Compare the charging pile code with the record code. The record code is the identification code of the charging pile with power supply authority recorded by the vehicle's in-vehicle system.

[0077] The above-mentioned record code is a charging pile code that is authorized by the user or pre-set at the factory and has the authority to supply power to the vehicle.

[0078] In some embodiments, the recording code can be pre-stored in the whitelist built into the vehicle system. Specifically, it can be manually added by the user through the vehicle APP, updated remotely via OTA, or automatically saved in the whitelist of the vehicle system after user confirmation when using the charging pile for the first time.

[0079] After the vehicle parses the charging pile code, it calls the identity code of the charging pile with power supply authority recorded by the vehicle system and compares it with the currently received charging pile code to see if they are the same.

[0080] Step 330b: Determine the result of the charging authentication operation based on the comparison results.

[0081] The comparison result mentioned above refers to the output status after comparing the charging pile code with the record code. The comparison result can be a successful match or a failed match.

[0082] The result of the above charging authentication operation can be authentication successful or authentication unsuccessful, indicating whether the charging pile code has the authority to supply power to the vehicle.

[0083] In this embodiment, the received charging pile code is compared with the preset record code. Through a clear binary judgment mechanism, the clarity and certainty of the control logic are ensured, avoiding the safety hazards caused by fuzzy judgments. This effectively improves the accuracy of the charging authentication operation, thereby improving the overall safety of charging control.

[0084] Based on the above Figure 4 In one possible implementation of the scheme shown in one or more embodiments, step 330b can be implemented as determining that the result of the charging authentication operation is authentication passed when the charging pile code and the record code are the same.

[0085] In this embodiment, the above-mentioned charging pile code and record code being the same means that the charging pile code and a certain record code are completely identical in character sequence, length and format.

[0086] The charging authentication operation results in a successful authentication, indicating that the charging pile currently physically connected to the vehicle has been identified as a trusted device, and the vehicle can safely accept the electrical energy input from the charging pile. The vehicle will then enter the charging command sending phase.

[0087] In this embodiment, the vehicle is required to record a code that is completely consistent with the charging pile code, thereby eliminating the risk of misauthorization caused by code truncation, format errors, or partial matching, and improving the reliability of charging authentication.

[0088] Based on the scheme shown in one or more of the above embodiments, in one possible implementation, step 320 can be implemented as parsing the first duty cycle as binary "0"; parsing the second duty cycle as binary "1"; and concatenating the parsed binary numbers according to the receiving order to obtain the charging pile code.

[0089] In this embodiment, the continuously parsed binary numbers are concatenated to form a complete binary string, which serves as the charging pile code.

[0090] In some embodiments, the charging pile code consists of 8 numbers, each of which is represented by 4 binary bits. The vehicle resolves the first duty cycle to binary "0" and the second duty cycle to binary "1". The 32 resolved binary numbers are then concatenated according to the receiving order to obtain the charging pile code.

[0091] In the above scheme, the vehicle can complete the identification of the charging pile using a single-wire PWM signal, which significantly reduces hardware costs and wiring complexity, and effectively improves the efficiency of obtaining the charging pile code.

[0092] Based on the solutions shown in one or more of the above embodiments, in one possible implementation, in response to the user entering a record code on the vehicle's on-board device, the vehicle sends an authorization request to the server through the on-board device, so that the server sends an authorization request to the account bound to the charging pile corresponding to the record code. The authorization request is used to request the use permission of the charging pile corresponding to the record code. In response to receiving the authorization feedback from the server, and if the authorization feedback indicates that the authorization is successful, the charging pile corresponding to the record code is used.

[0093] The aforementioned in-vehicle equipment is a terminal device (such as an in-vehicle infotainment system) installed inside a vehicle and equipped with communication and human-machine interaction capabilities. The in-vehicle equipment can receive user input and connect to the network.

[0094] The aforementioned server refers to the backend system of the charging pile management platform, which is responsible for processing authorization requests, verifying identities, and forwarding instructions.

[0095] The account bound to a charging pile refers to a user account registered and verified with real-name authentication on the charging pile management platform. This account can establish ownership or usage relationships with one or more physical charging piles. The specific implementation process is as follows: First, the user manually enters the record code of the target charging pile on the in-vehicle device interface. The in-vehicle device then sends an authorization request containing the record code to the server via the cellular network. After parsing the authorization request, the server queries the charging pile corresponding to the record code and identifies the account bound to that charging pile. It then pushes an authorization request notification to the account bound to the charging pile, for example, via an app message, SMS, or platform message. If the holder of the bound account (i.e., the user) agrees to the authorization (i.e., the authorization feedback is "approved"), the server returns a successful authorization response to the in-vehicle device. Upon receiving this authorization feedback, the in-vehicle device can activate the communication protocol with the charging pile and start the charging process.

[0096] Furthermore, in some embodiments, the on-board device can scan a QR code to obtain the charging pile code and automatically initiate unauthorized charging (applicable to public fast charging piles).

[0097] In one possible implementation, the on-board device can automatically detect available charging stations in the vicinity and prompt the user to choose whether to apply for authorization, or combine digital key technology to realize automatic plug-in identification and billing linkage after remote authorization, further improving the seamless charging experience.

[0098] In this embodiment, the recorded code serves as the unique identifier of the charging pile, avoiding the exposure of the charging pile's physical address or communication interface and preventing direct connection attacks by malicious devices. Secondly, authorization requests must be forwarded to the bound account via a trusted server, ensuring that the account holder can decide whether to grant permissions, effectively preventing unauthorized use or theft. Furthermore, after receiving a clear "authorization approved" response from the server, the on-board device initiates the charging process, forming a closed-loop verification and preventing man-in-the-middle forgery of instructions. In addition, the entire authorization process can be fully logged by the server, facilitating post-event auditing and accountability. Compared to traditional scan-to-charge or fixed-binding modes, this solution maintains convenience while achieving dynamic control of permissions, strong identity authentication, and trusted communication links, thereby improving the overall security of the charging control process.

[0099] based on Figures 2 to 4 For any one or more embodiments, please refer to Figure 5 The diagram illustrates a charging control method provided in an embodiment of this application. Figure 5 As shown, this charging control method is executed interactively by the charging pile and the vehicle.

[0100] Step 501: After the charging pile and the vehicle have completed the physical connection, the charging pile sends a PWM signal to the vehicle. The PWM signal alternately uses a first duty cycle and a second duty cycle to represent the charging pile code. The first duty cycle is used to represent binary "0" and the second duty cycle is used to represent binary "1".

[0101] Step 502: After the vehicle has established a physical connection with the charging station, it receives the PWM signal sent by the charging station. Step 503: The vehicle analyzes the PWM signal to obtain the charging pile code.

[0102] Step 504: The vehicle performs charging authentication based on the charging pile code.

[0103] Step 505: If the charging authentication operation results in a successful authentication, the vehicle sends a charging command to the charging station so that the charging station supplies power to the vehicle.

[0104] Step 506: In response to receiving the charging command sent by the vehicle, the charging pile supplies power to the vehicle. The charging command is generated by the vehicle after parsing the PWM signal and passing the charging pile encoding and charging authentication.

[0105] For example, based on Figures 2 to 4 For any one or more embodiments, this application proposes an authentication technology solution for the AC charging process.

[0106] The purpose of the authentication technology solution for the AC charging process involved in this application embodiment is to illustrate a solution that automatically starts AC charging when the charging gun is plugged in. It does not use the Bluetooth and 4G modules of the charging pile and the vehicle, but uses the CP signal of the charging gun to complete the authentication and confirmation process of the vehicle and the charging pile, omitting the process of the user swiping a card or operating the App, and simplifying the user operation process.

[0107] After the charging station is plugged in, a 5% duty cycle control is sent to achieve "binary + duration" control parsing and complete charging authentication. This requires parsing by the OBC (On-Board Charging Unit) and authentication. Once the authentication is successful, the vehicle's 130BMS sends a charging command to start charging the entire vehicle.

[0108] The CP signal is a charging pile signal used for charging control guidance, and at the same time, it sends a 5% PWM wave to send the charging authentication status. The vehicle-mounted OBC module is mainly used to send signals to wake up the various related modules of the vehicle, and at the same time complete the relevant signal parsing and authentication. The vehicle-mounted BMS (Battery Management System) module is mainly for the vehicle's energy storage device, and it also determines whether the power battery is allowed to be charged and sends relevant charging commands. The vehicle-mounted CAN communication network is mainly used to provide network data communication between the vehicle-mounted OBC module and the vehicle-mounted BMS module.

[0109] refer to Figure 6 It illustrates a schematic diagram of a scheme for automatically starting AC charging when a charging gun is plugged in, according to an embodiment of this application. The steps of this process are as follows: Combination Figure 6 To elaborate further: 1. The charging pile retrieves its own factory-stored charging pile code and controls the switching transistor to transmit different duty cycles. This patent uses two duty cycles, 5% and 95%, which have a large difference and are less likely to cause recognition errors.

[0110] Sending a 10ms cycle with a 2.5% duty cycle is recognized as binary 0, while sending a 10ms cycle with a 95% duty cycle is recognized as binary 1.

[0111] 3. For example Figure 6 As shown, each digit DATA is represented by four binary bits (four binary bits are sufficient to represent the numbers 0 to 9), therefore the 8-digit number of the charging pile requires 24 duty cycle cycles to represent.

[0112] 4. By default, the entire charging station sends 5 (calibrable) complete data cycles to ensure that vehicle 130 can effectively identify the charging station code within 5 cycles.

[0113] 5. The vehicle detects the 5% duty cycle and 95% duty cycle, interpreting the 5% duty cycle as binary 0 and the 95% duty cycle as 1, thereby deciphering the factory-defined number of the charging pile.

[0114] 6. The vehicle analyzes the duty cycle signal sent by the charging pile and verifies it against the charging pile code recorded by the vehicle. If they match perfectly, charging begins. The charging pile sends its own coded data (DATA) via the CP signal. The on-board computer (OBC) module receives the DATA data, parses it, and sends it to the CAN bus. After receiving the charging pile code data from the CAN bus, the vehicle's infotainment system verifies it. If it confirms that there are no errors, it sends a verification success command to the OBC module. The OBC module then closes the S2 switch, the charging pile begins supplying power, and the vehicle enters the charging process. The above embodiment uses binary data encoded with a combination of 5% and 95% duty cycles of the CP signal. Other patents use 9V and 6V voltages of the CP signal to transmit data, resulting in a difference in the solution.

[0115] The above is merely one embodiment of this application and should not be considered as a limitation thereof. Those skilled in the art will understand that various modifications and variations can be made to the embodiments to adapt to different application requirements. Therefore, the scope of this application should be defined by the claims appended to the claims.

[0116] Please refer to Figure 7 The diagram illustrates a block diagram of a charging control device provided in an exemplary embodiment of this application. This charging control device can be implemented as all or part of a charging pile through hardware or a combination of hardware and software, to achieve the above-described functionality. Figure 2 All or part of the steps in the illustrated embodiments. For example... Figure 7 As shown, the charging control device includes: The PWM signal transmitting module 701 is used to send a PWM signal to the vehicle when the charging pile and the vehicle are physically connected. The PWM signal alternately uses a first duty cycle and a second duty cycle to represent the charging pile code. The first duty cycle is used to represent binary "0" and the second duty cycle is used to represent binary "1". The receiving module 702 is used to receive charging instructions sent by the vehicle; The power supply module 703 is used to supply power to the vehicle in response to the charging command sent by the vehicle. The charging command is generated by the vehicle after parsing the PWM signal and passing the charging authentication of the charging pile code.

[0117] In one possible implementation, the first duty cycle is 5% and the second duty cycle is 95%.

[0118] In one possible implementation, the PWM signal transmits the charging pile code in 32 duty cycle periods, with each duty cycle period being 10 milliseconds and each duty cycle period corresponding to one binary bit.

[0119] Please refer to Figure 8 The diagram illustrates a block diagram of a charging control device provided in an exemplary embodiment of this application. This charging control device can be implemented as all or part of a vehicle through hardware or a combination of hardware and software to achieve the above-described functionality. Figures 3 to 4 All or part of the steps in the illustrated embodiments. For example... Figure 8 As shown, the charging control device includes: The PWM signal receiving module 801 is used to receive the PWM signal sent by the charging pile when the charging pile and the vehicle are physically connected. The PWM signal alternately uses a first duty cycle and a second duty cycle to represent the charging pile code. The first duty cycle is used to represent binary "0" and the second duty cycle is used to represent binary "1". The PWM signal parsing module 802 is used to parse the PWM signal to obtain the charging pile code. The charging authentication operation execution module 803 is used to perform charging authentication operations based on the charging pile code; The charging command sending module 804 is used to send a charging command to the charging pile when the result of the charging authentication operation indicates that the authentication is successful, so that the charging pile can supply power to the vehicle.

[0120] In one possible implementation, the charging authentication operation execution module 803 is used to compare the charging pile code with the record code, where the record code is the identity code of the charging pile with power supply authority recorded by the vehicle's in-vehicle system; and to determine the result of the charging authentication operation based on the comparison result.

[0121] In one possible implementation, the charging authentication operation execution module 803 is used to determine that the result of the charging authentication operation is authentication passed when the charging pile code and the record code are the same.

[0122] In one possible implementation, the charging authentication operation execution module 803 is used to parse the first duty cycle as binary "0"; parse the second duty cycle as binary "1"; and concatenate the parsed binary numbers according to the receiving order to obtain the charging pile code.

[0123] In one possible implementation, the device further includes: The authorization request sending module is used to respond to the user entering the record code on the vehicle's on-board device and send an authorization request to the server through the on-board device, so that the server sends an authorization request to the account bound to the charging pile corresponding to the record code. The authorization request is used to request the use permission of the charging pile corresponding to the record code. The authorization feedback module is used to respond to the authorization feedback received from the server, and if the authorization feedback indicates that the authorization is successful, to use the charging pile corresponding to the record code.

[0124] Please refer to Figure 9 , Figure 9 This is a schematic diagram of the structure of a computer device provided in an exemplary embodiment of this application. The computer device 900 includes a Central Processing Unit (CPU) 901, a system memory 904 including Random Access Memory (RAM) 902 and Read-Only Memory (ROM) 903, and a system bus 905 connecting the system memory 904 and the CPU 901. The computer device 900 also includes a Basic Input / Output System (I / O System) 906 that facilitates the transfer of information between various devices within the computer, and a mass storage device 907 for storing the operating system 913, application programs 914, and other program modules 915.

[0125] The basic input / output system 906 includes a display 908 for displaying information and an input device 909 for user input, such as a mouse or keyboard. Both the display 908 and the input device 909 are connected to the central processing unit 901 via an input / output controller 910 connected to the system bus 905. The basic input / output system 906 may also include the input / output controller 910 for receiving and processing input from multiple other devices such as a keyboard, mouse, or electronic stylus. Similarly, the input / output controller 910 also provides output to a display screen, printer, or other types of output devices.

[0126] The mass storage device 907 is connected to the central processing unit 901 via a mass storage controller (not shown) connected to the system bus 905. The mass storage device 907 and its associated computer-readable media provide non-volatile storage for the computer device 900. That is, the mass storage device 907 may include computer-readable media (not shown) such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory) drive.

[0127] Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented using any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include RAM (Random Access Memory), ROM (Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technologies, CD-ROM, DVD (Digital Video Disc), or other optical storage, magnetic tape cassettes, magnetic tape, disk storage, or other magnetic storage devices. Of course, those skilled in the art will recognize that the computer storage media are not limited to the above-mentioned types. The system memory 904 and mass storage device 907 described above can be collectively referred to as memory.

[0128] Computer device 900 can be connected to the Internet or other network devices via network interface unit 911 connected to the system bus 905.

[0129] The memory also includes one or more programs, which are stored in the memory, and the central processing unit 901 implements these programs by executing them. Figures 2 to 4 All or some of the steps in the method shown.

[0130] In an exemplary embodiment, a chip is also provided, the chip including programmable logic circuitry and / or program instructions, which, when the chip is run on a computer device, are used to implement all or part of the steps of the methods shown in the above embodiments of this application.

[0131] In an exemplary embodiment, a computer program product is also provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to implement all or part of the steps of the methods shown in the above embodiments of this application.

[0132] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores a computer program that is loaded and executed by a processor to implement all or part of the steps of the methods shown in the above embodiments of this application.

[0133] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0134] Those skilled in the art will recognize that the functions described in the embodiments of this application in one or more of the above examples can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0135] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A charge control method characterized by, The method is executed by a charging pile, and the method comprises: In a case where the charging pile and a vehicle complete physical connection, a PWM signal is sent to the vehicle, the PWM signal alternately uses a first duty cycle and a second duty cycle to represent a charging pile code, the first duty cycle is used to represent binary "0", and the second duty cycle is used to represent binary "1"; A charging instruction sent by the vehicle is received; In response to the charging instruction, power is supplied to the vehicle, the charging instruction is generated after the charging pile code is authenticated by the vehicle after the vehicle analyzes the PWM signal.

2. The method of claim 1, wherein, The first duty cycle is 5%, and the second duty cycle is 95%.

3. The method according to claim 1 or 2, characterized in that, The PWM signal transmits the charging pile code in 32 duty cycle periods, the duty cycle period is 10 milliseconds, and each duty cycle period corresponds to one binary bit.

4. A charge control method characterized by, The method is executed by a vehicle, and the method comprises: In a case where a charging pile and the vehicle complete physical connection, a PWM signal sent by the charging pile is received, the PWM signal alternately uses a first duty cycle and a second duty cycle to represent a charging pile code, the first duty cycle is used to represent binary "0", and the second duty cycle is used to represent binary "1"; The PWM signal is analyzed to obtain the charging pile code; According to the charging pile code, a charging authentication operation is performed; In a case where a result of the charging authentication operation indicates that authentication is passed, a charging instruction is sent to the charging pile to enable the charging pile to supply power to the vehicle.

5. The method of claim 4, wherein, According to the charging pile code, a charging authentication operation is performed, comprising: The charging pile code is compared with a record code, the record code is an identity code of a charging pile with power supply authority recorded by a vehicle infotainment system of the vehicle; According to a comparison result, a result of the charging authentication operation is determined.

6. The method of claim 5, wherein, The result of the charging authentication operation is determined according to the comparison result, comprising: In a case where the charging pile code is the same as the record code, it is determined that the result of the charging authentication operation is that authentication is passed.

7. The method of claim 4, wherein, The PWM signal is analyzed to obtain the charging pile code, comprising: The first duty cycle is analyzed as binary "0"; The second duty cycle is analyzed as binary "1"; According to a receiving sequence, the analyzed binary digits are spliced to obtain the charging pile code.

8. The method of claim 5, wherein, The method further comprises: In response to a user inputting the record code on a vehicle-mounted device of the vehicle, an authorization request is sent to a server through the vehicle-mounted device to enable the server to send the authorization request to an account bound to the charging pile corresponding to the record code, the authorization request is used to request a use authority of the charging pile corresponding to the record code; In response to receiving authorization feedback of the server and in a case where the authorization feedback indicates that authorization is passed, the charging pile corresponding to the record code is used.

9. A charging post, characterized in that The charging pile comprises a processor and a memory, the memory stores instructions, and the instructions are executed by the processor to implement the charging control method according to any one of claims 1 to 3.

10. A vehicle characterized by comprising: The vehicle comprises a processor and a memory having stored therein instructions for execution by the processor to implement the charging control method as claimed in any one of claims 4 to 8.