A control method, device, medium, and electronic equipment for an on-board charger.
By adjusting the lifting end and angle of the on-board charger according to the vehicle's acceleration, the stability problem of the on-board charger during vehicle acceleration or deceleration is solved, thus achieving stability and safety of the charging equipment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- VOYAH AUTOMOBILE TECH CO LTD
- Filing Date
- 2023-12-29
- Publication Date
- 2026-07-17
AI Technical Summary
When a vehicle accelerates or decelerates, the phone may easily slide or fly off the charging pad, affecting charging stability and wireless charging efficiency, and even causing damage or safety risks.
By detecting vehicle acceleration, the lifting end and lifting angle range of the on-board charger are adjusted to ensure a relatively static state between the charging equipment and the charger, and to maintain the stability of the charging equipment by utilizing friction and support forces.
It improves the charging stability of the on-board charger when the vehicle accelerates or decelerates, prevents the device from sliding or flying off, and ensures charging efficiency and safety.
Smart Images

Figure CN117818489B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle charger technology, and in particular, to a control method, device, medium, and electronic device for a vehicle charger. Background Technology
[0002] Car chargers can hold devices like phones for charging. However, when a vehicle is accelerating or decelerating, inertia and the lack of any fixed restraints while charging can cause phones to slide across the charger's surface, affecting charging stability. If the car charger is a wireless charger, this can impact wireless charging efficiency and damage the phone. In extreme cases, the phone may even fly off the charging pad, causing more serious damage to the phone, passengers, and car interior components. Summary of the Invention
[0003] This application provides a control method, device, medium, and electronic device for a vehicle charger. By adjusting the lifting angle of one side of the first target lifting end to within the first lifting angle range, charging devices such as mobile phones placed on the vehicle charger can prevent relative sliding, ensuring the relative stationary state of the mobile phone and the vehicle charger, and improving the stability during charging.
[0004] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.
[0005] According to one aspect of the embodiments of this application, a control method for an on-board charger is provided, the method comprising:
[0006] In response to a signal that the vehicle's first acceleration in the direction of travel is not within the preset acceleration range;
[0007] The first target lifting end of the on-board charger and the first lifting angle range are determined based on the first acceleration.
[0008] Control the first target lifting end to lift, and adjust the lifting angle of one side of the first target lifting end to within the first lifting angle range.
[0009] In one embodiment of this application, based on the foregoing scheme, determining the first target lifting end of the on-board charger and the first lifting angle range according to the first acceleration includes:
[0010] The lifting end of the first target is determined based on the direction of the first acceleration;
[0011] The first lifting angle range of the vehicle charger is determined based on the value of the first acceleration. The first lifting angle range is the angle range corresponding to the angle between the plane where the vehicle charger is located after being lifted and the initial reference plane.
[0012] In one embodiment of this application, based on the foregoing scheme, the on-board charger includes a first lifting end and a second lifting end disposed opposite to each other, and the step of determining the first target lifting end according to the direction of the first acceleration includes:
[0013] If the direction of the first acceleration is the same as the direction of vehicle travel, then the first target lifting end is determined to be the first lifting end;
[0014] If the direction of the first acceleration is opposite to the direction of vehicle travel, then the first target lifting end is determined to be the second lifting end.
[0015] In one embodiment of this application, based on the foregoing scheme, determining the first lifting angle range of the on-board charger according to the value of the first acceleration includes:
[0016] The first minimum extreme angle and the first maximum extreme angle of the first lifting angle range are determined based on the first acceleration, the preset friction coefficient, and the gravitational acceleration.
[0017] The first lifting angle range is determined based on the first minimum extreme angle and the first maximum extreme angle.
[0018] In one embodiment of this application, based on the foregoing scheme, determining the first lifting angle range of the on-board charger according to the value of the first acceleration includes:
[0019] The second minimum extreme angle and the second maximum extreme angle of the first lifting angle range are determined based on the first acceleration, the preset friction coefficient, and the gravitational acceleration.
[0020] The first lifting angle range is determined based on the second minimum extreme angle and the second maximum extreme angle;
[0021] Wherein, the second maximum extreme angle is smaller than the first maximum extreme angle.
[0022] In one embodiment of this application, based on the foregoing scheme, after adjusting the lifting angle of one side of the first target lifting end to within the range of the first lifting angle, the method further includes:
[0023] The vehicle's second acceleration is obtained after a preset time.
[0024] If the second acceleration is not within the acceleration range, then the second target lifting end and the second lifting angle range of the on-board charger are determined based on the second acceleration;
[0025] The on-board charger is controlled to lift the second target lifting end and adjust the lifting angle of one side of the second target lifting end to within the range of the second lifting angle.
[0026] In one embodiment of this application, based on the foregoing scheme, after determining the second target lifting end and the second lifting angle range of the on-board charger according to the second acceleration, the method further includes:
[0027] If the second target lifting end is not the same as the first target lifting end, then the plane where the vehicle charger is located is adjusted to the initial reference plane.
[0028] According to one aspect of the embodiments of this application, a control device for an on-board charger is provided. The device includes a response unit for responding to a signal that a first acceleration of a vehicle in the driving direction is not within a preset acceleration range; a first determination unit for determining a first target lifting end of the on-board charger and a first lifting angle range based on the first acceleration; and a first lifting unit for controlling the first target lifting end to lift and adjusting the lifting angle of one side of the first target lifting end to the first lifting angle range.
[0029] In one embodiment of this application, the first determining unit is configured to: determine the first target lifting end according to the direction of the first acceleration; and determine a first lifting angle range of the vehicle charger according to the value of the first acceleration, wherein the first lifting angle range is the angle range corresponding to the angle between the plane where the vehicle charger is located after being lifted and the initial reference plane.
[0030] In one embodiment of this application, the vehicle charger includes a first lifting end and a second lifting end disposed opposite to each other. The first determining unit is configured to: determine the first target lifting end as the first lifting end if the direction of the first acceleration is the same as the vehicle's driving direction; and determine the first target lifting end as the second lifting end if the direction of the first acceleration is opposite to the vehicle's driving direction.
[0031] In one embodiment of this application, the first determining unit is configured to: determine a first minimum extreme angle and a first maximum extreme angle of the first lifting angle range based on the first acceleration, a preset friction coefficient, and gravitational acceleration; and determine the first lifting angle range based on the first minimum extreme angle and the first maximum extreme angle.
[0032] In one embodiment of this application, the first determining unit is configured to: determine a second minimum extreme angle and a second maximum extreme angle of the first lifting angle range based on the first acceleration, a preset friction coefficient, and gravitational acceleration; and determine the first lifting angle range based on the second minimum extreme angle and the second maximum extreme angle.
[0033] In one embodiment of this application, it further includes an acquisition unit for acquiring a second acceleration of the vehicle after a preset time; a second determination unit for determining a second target lifting end and a second lifting angle range of the on-board charger based on the second acceleration if the second acceleration is not within the acceleration range; and a second lifting unit for controlling the on-board charger to lift the second target lifting end and adjust the lifting angle of one side of the second target lifting end to the second lifting angle range.
[0034] In one embodiment of this application, an adjustment unit is further included, which is used to adjust the plane where the on-board charger is located to the initial reference plane if the second target lifting end is inconsistent with the first target lifting end.
[0035] According to one aspect of the embodiments of this application, a computer-readable storage medium is provided having a computer program stored thereon, the computer program including executable instructions that, when executed by a processor, implement the control method for an on-board charger as described in the above embodiments.
[0036] According to one aspect of the embodiments of this application, an electronic device is provided, including: one or more processors; and a memory for storing executable instructions of the processors, which, when executed by the one or more processors, cause the one or more processors to implement the on-board charger control method as described in the above embodiments.
[0037] In the technical solution of this application embodiment, by responding to a signal that the first acceleration of the vehicle in the driving direction is not within a preset acceleration range, it is explained that the first acceleration of the vehicle at this time will cause the vehicle to be in an unstable driving state, which may cause the charging device placed on the vehicle charger to slide or even fly off the vehicle charger.
[0038] At this time, the first target lifting end and the first lifting angle range of the vehicle charger are determined by the first acceleration, and then the first target lifting end is controlled to lift. The lifting angle of one side of the first target lifting end is adjusted to the first lifting angle range, so that the vehicle charger can generate sufficient friction and support force according to the first lifting angle range to maintain the relative static state between the charging device and the vehicle charger, thereby improving the stability of the charging device when charging on the vehicle charger.
[0039] 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
[0040] 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. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:
[0041] Figure 1 This is a flowchart illustrating a control method for an on-board charger according to an embodiment of this application;
[0042] Figure 2 This is a schematic diagram of the structure of an on-board charger according to an embodiment of this application;
[0043] Figure 3 This is a block diagram of a control device for an on-board charger according to an embodiment of this application;
[0044] Figure 4 This is a schematic diagram of the system structure of an electronic device according to an embodiment of this application;
[0045] Figure 5 This is a schematic diagram illustrating the raising and lowering of a wireless charging panel according to an embodiment of this application.
[0046] Figure Labels
[0047] 1. Wireless charging panel base; 2. Lifting mechanism hinge point; 3. Wireless charging panel; 4. Cooling and ventilation plate; 5. Charging equipment. Detailed Implementation
[0048] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art.
[0049] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.
[0050] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller node devices.
[0051] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0052] It should be noted that "multiple" in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0053] The implementation details of the technical solutions in the embodiments of this application are described in detail below:
[0054] First, it should be noted that the control scheme for the on-board charger proposed in the embodiments of this application can be applied to related technical fields of on-board chargers. The structure of the on-board charger used in this application is as follows: Figure 2 As shown, the vehicle charger includes a liftable wireless charging panel 3 and a liftable wireless charging panel base 1. The base is connected to the wireless charging panel 3 via a hinge point 2 of the lifting mechanism, so that the output end of the lifting mechanism is connected to the hinge point 2. This allows the motor torque of the lifting mechanism to drive one end of the wireless charging panel 3 to move vertically up and down. Figure 5 As shown, Figure 5 The wireless charging panel 3 contains a charging device 5. By raising the wireless charging panel 3, the charging device 5 can be placed more stably on the wireless charging panel 3 when the vehicle suddenly accelerates or decelerates.
[0055] According to one aspect of this application, a control method for an on-board charger is provided. Figure 1 The flowchart below illustrates a control method for an on-board charger according to an embodiment of this application. This control method includes at least steps 110 to 130, detailed below:
[0056] In step 110, in response to a signal that the first acceleration of the vehicle in the direction of travel is not within a preset acceleration range.
[0057] Specifically, when a vehicle accelerates or decelerates, it generates corresponding acceleration. If this acceleration exceeds a preset range, it can cause the charging device placed on the wireless charging pad to slide relative to the pad, or even fly off the pad. This could affect wireless charging efficiency and, in some cases, cause injury to occupants or damage to interior components. The preset acceleration range can be obtained through pre-market testing and calibration, or calculated based on the friction coefficient μ between the phone and the charging pad, as well as the lead time.
[0058] Since the acceleration of a vehicle is usually not a constant value in actual operation and may change over time, in order to ensure the reasonableness of the raising and lowering of the wireless charging panel and to provide appropriate friction and support to prevent the phone from sliding relative to the vehicle during acceleration and deceleration, after obtaining the current real-time acceleration, the maximum acceleration value within a certain period of time (1 to 3 seconds) will be predicted based on the driver's driving habits, and this maximum acceleration value will be predicted as the vehicle's current first acceleration.
[0059] Among them, the driver's car usage habits can be obtained based on big data statistics of past car usage, which will not be explained in detail here.
[0060] In step 120, the first target lifting end of the vehicle charger and the first lifting angle range are determined based on the first acceleration.
[0061] In one embodiment of this application, determining the first target lifting end of the on-board charger and the first lifting angle range based on the first acceleration includes:
[0062] The lifting end of the first target is determined based on the direction of the first acceleration;
[0063] The first lifting angle range of the vehicle charger is determined based on the value of the first acceleration. The first lifting angle range is the angle range corresponding to the angle between the plane where the vehicle charger is located after being lifted and the initial reference plane.
[0064] Specifically, since acceleration has direction, the first target lifting end of the wireless charging panel is determined by the direction of the first acceleration. For example, if the vehicle is accelerating forward, the first target lifting end is determined to be the rear end of the wireless charging panel along the vehicle's forward direction. If the vehicle is decelerating forward, the first target lifting end is determined to be the front end of the wireless charging panel along the vehicle's forward direction. If the vehicle is accelerating forward or backward, the first target lifting end is determined to be the rear end of the wireless charging panel along the vehicle's reverse direction. If the vehicle is decelerating forward or backward, the first target lifting end is determined to be the front end of the wireless charging panel along the vehicle's reverse direction.
[0065] In one embodiment of this application, the vehicle charger includes a first lifting end and a second lifting end disposed opposite to each other, and the step of determining the first target lifting end according to the direction of the first acceleration includes:
[0066] If the direction of the first acceleration is the same as the direction of vehicle travel, then the first target lifting end is determined to be the first lifting end;
[0067] If the direction of the first acceleration is opposite to the direction of vehicle travel, then the first target lifting end is determined to be the second lifting end.
[0068] Specifically, such as Figure 5 As shown, if the direction of the first acceleration is the same as the vehicle's direction of travel, where the vehicle's direction of travel refers to the vehicle's forward direction, there are two possibilities: the vehicle is accelerating forward or decelerating backward. In both cases, the first target lifting end of the vehicle is defined as the first lifting end, which refers to the rear end of the wireless charging panel in the vehicle's forward direction. At this time, the rear end of the wireless charging panel is lifted.
[0069] If the direction of the first acceleration is opposite to the direction of vehicle travel, there are two possible scenarios: the vehicle is either decelerating forward or accelerating backward. In both cases, the first target lifting end of the vehicle is designated as the second lifting end, which refers to the front end of the wireless charging panel in the forward direction of the vehicle. The front end of the wireless charging panel is then lifted.
[0070] In one embodiment of this application, determining the first lifting angle range of the on-board charger based on the value of the first acceleration includes:
[0071] The first minimum extreme angle and the first maximum extreme angle of the first lifting angle range are determined based on the first acceleration, the preset friction coefficient, and the gravitational acceleration.
[0072] The first lifting angle range is determined based on the first minimum extreme angle and the first maximum extreme angle;
[0073] Wherein, the second maximum extreme angle is smaller than the first maximum extreme angle.
[0074] Specifically, the first minimum extreme angle and the first maximum extreme angle of the first lifting angle range are determined by the first acceleration, the preset friction coefficient, and the gravitational acceleration. The preset friction coefficient can be obtained based on the friction coefficient between the current charging device and the wireless charging panel. That is, when the vehicle is stationary, the wireless charging panel is controlled to be in a horizontal position, and then the mobile phone is placed behind the wireless charging panel. One end of the charging panel is controlled to rise and fall until the charging device and the charging panel slide relative to each other. Finally, the angle between the surface of the charging panel and the horizontal plane when the charging device and the charging panel slide relative to each other can be calculated.
[0075] The corresponding first minimum extreme angle and first maximum extreme angle can be obtained through the following calculation formula. ,in The first minimum extreme angle, This is the first maximum extreme angle. By controlling the raising and lowering of the charging panel, the angle between the surface of the charging panel and the horizontal plane is controlled at... Within the range, it can ensure that the wireless charging panel can provide sufficient friction and support to the charging device, so that the charging device and the wireless charging panel remain relatively stationary.
[0076] Further, determining the first lifting angle range of the on-board charger based on the value of the first acceleration includes:
[0077] The second minimum extreme angle and the second maximum extreme angle of the first lifting angle range are determined based on the first acceleration, the preset friction coefficient, and the gravitational acceleration.
[0078] The first lifting angle range is determined based on the second minimum extreme angle and the second maximum extreme angle;
[0079] Wherein, the second maximum extreme angle is smaller than the first maximum extreme angle.
[0080] Specifically, the corresponding second minimum extremum angle and second maximum extremum angle can be obtained through the following calculation formula. ,in The second minimum extreme angle, This is the second maximum extreme angle. By controlling the raising and lowering of the charging panel, the angle between the charging panel surface and the horizontal plane is controlled at... Within the specified range, the wireless charging panel can provide sufficient friction and support to the charging device, ensuring that the charging device and the wireless charging panel remain relatively stationary. Simultaneously, the second maximum extreme angle is smaller than the first maximum extreme angle, meaning... Less than This allows for faster control of the raising and lowering of the wireless charging panel.
[0081] first, range The range is smaller, making it easier to achieve rapid control efficiency when lifting or lowering the vehicle, such as when the vehicle is accelerating forward. The range of the wireless charging panel's lifting angle is between 3° and 7°, so by... The range of the wireless charging panel's lifting angle is between 3° and 5°. Due to pre-set rules, the controller needs to maximize this lifting angle. Therefore, at this point... The required lift angle obtained from the range between 3° and 7° is 7°. And through... The required lift angle obtained from the range between 3° and 5° is 5°, meaning that using... Simply raising the wireless charging panel by 5° can prevent the charging device from slipping, compared to using... The required lifting angle is 7°, which clearly indicates the adoption of The lifting control time is shorter and the efficiency is higher.
[0082] In one embodiment of this application, after adjusting the lifting angle of one side of the first target lifting end to within the first lifting angle range, the method further includes:
[0083] The vehicle's second acceleration is obtained after a preset time.
[0084] If the second acceleration is not within the acceleration range, then the second target lifting end and the second lifting angle range of the on-board charger are determined based on the second acceleration;
[0085] The on-board charger is controlled to lift the second target lifting end and adjust the lifting angle of one side of the second target lifting end to within the range of the second lifting angle.
[0086] Specifically, the preset time can be a value of 1 second, 3 seconds, 6 seconds, etc., and is not limited here. After the preset time has elapsed, the second acceleration of the vehicle is obtained. If the second acceleration is not within the preset acceleration range, the preset acceleration range can be obtained based on the test calibration before the vehicle is launched, or it can be calculated based on the friction coefficient μ of the mobile phone and the charging panel and the lead value. The second target lifting end and the second lifting angle range of the vehicle charger are determined by the second acceleration, and the vehicle charger is controlled to lift the second target lifting end and adjust the lifting angle of one side of the second target lifting end to the second lifting angle range. This allows the wireless charging panel to be adjusted accordingly when it is already lifted, which can improve the adjustment efficiency of the wireless charging panel and prevent the charging device from sliding or flying off the wireless charging panel due to the inability to adjust the corresponding angle range in time due to excessive adjustment time.
[0087] Furthermore, after determining the second target lifting end and the second lifting angle range of the on-board charger based on the second acceleration, the method further includes:
[0088] If the second target lifting end is not the same as the first target lifting end, then the plane where the vehicle charger is located is adjusted to the initial reference plane.
[0089] Specifically, if the second target lifting end is inconsistent with the first target lifting end, that is, if the vehicle suddenly decelerates after accelerating forward or suddenly accelerates backward while decelerating backward, the plane where the vehicle charger is located is adjusted to the initial reference plane, and then the lifting angle of the wireless charging panel is quickly adjusted to the second lifting angle range to ensure the stability of the charging device during charging.
[0090] In summary, the embodiments of this application can indicate that the first acceleration of the vehicle in the driving direction is not within a preset acceleration range in response to a signal that the first acceleration of the vehicle will cause the vehicle to be in an unstable driving state. This may cause the device placed on the on-board charger to slide or even fly off the on-board charger.
[0091] At this time, the first target lifting end and the first lifting angle range of the vehicle charger are determined by the first acceleration, and then the first target lifting end is controlled to lift. The lifting angle of one side of the first target lifting end is adjusted to the first lifting angle range, so that the charging device in the vehicle charger can generate sufficient friction according to the first lifting angle range to maintain the relative static state between the charging device and the vehicle charger, thereby improving the stability of the charging device when charging on the vehicle charger.
[0092] Figure 3This is a block diagram of a control device 300 for a vehicle charger according to an embodiment of this application. The control device 300 for a vehicle charger according to an embodiment of this application includes: a response unit 301, a first determination unit 302, and a first lifting unit 303.
[0093] The response unit 301 is used to respond to a signal that the first acceleration of the vehicle in the direction of travel is not within a preset acceleration range.
[0094] The first determining unit 302 is used to determine the first target lifting end of the vehicle charger and the first lifting angle range based on the first acceleration.
[0095] The first lifting unit 303 is used to control the first target lifting end to lift, and adjust the lifting angle of one side of the first target lifting end to the range of the first lifting angle.
[0096] In one embodiment of this application, the first determining unit is configured to: determine the first target lifting end according to the direction of the first acceleration; and determine a first lifting angle range of the vehicle charger according to the value of the first acceleration, wherein the first lifting angle range is the angle range corresponding to the angle between the plane where the vehicle charger is located after being lifted and the initial reference plane.
[0097] In one embodiment of this application, the vehicle charger includes a first lifting end and a second lifting end disposed opposite to each other. The first determining unit is configured to: determine the first target lifting end as the first lifting end if the direction of the first acceleration is the same as the vehicle's driving direction; and determine the first target lifting end as the second lifting end if the direction of the first acceleration is opposite to the vehicle's driving direction.
[0098] In one embodiment of this application, the first determining unit is configured to: determine a first minimum extreme angle and a first maximum extreme angle of the first lifting angle range based on the first acceleration, a preset friction coefficient, and gravitational acceleration; and determine the first lifting angle range based on the first minimum extreme angle and the first maximum extreme angle.
[0099] In one embodiment of this application, the first determining unit is configured to: determine a second minimum extreme angle and a second maximum extreme angle of the first lifting angle range based on the first acceleration, a preset friction coefficient, and gravitational acceleration; and determine the first lifting angle range based on the second minimum extreme angle and the second maximum extreme angle.
[0100] In one embodiment of this application, it further includes an acquisition unit for acquiring a second acceleration of the vehicle after a preset time; a second determination unit for determining a second target lifting end and a second lifting angle range of the on-board charger based on the second acceleration if the second acceleration is not within the acceleration range; and a second lifting unit for controlling the on-board charger to lift the second target lifting end and adjust the lifting angle of one side of the second target lifting end to the second lifting angle range.
[0101] In one embodiment of this application, an adjustment unit is further included, which is used to adjust the plane where the on-board charger is located to the initial reference plane if the second target lifting end is inconsistent with the first target lifting end.
[0102] In another aspect, this application also provides a computer-readable storage medium storing a program product capable of implementing the methods provided above in this specification. In some possible implementations, various aspects of this application may also be implemented as a program product comprising program code that, when run on a terminal device, causes the terminal device to perform the steps described in the "Embodiment Methods" section of this specification according to various exemplary embodiments of this application.
[0103] The program product for implementing the above-described method according to the embodiments of this application may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the program product of this application is not limited thereto. In this document, the readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0104] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0105] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.
[0106] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.
[0107] Program code for performing the operations of this application can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java and C++, and conventional procedural programming languages such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0108] In another respect, this application also provides an electronic device capable of implementing the above-described method.
[0109] Those skilled in the art will understand that various aspects of this application can be implemented as a system, method, or program product. Therefore, various aspects of this application can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, collectively referred to herein as a "circuit," "module," or "system."
[0110] The following reference Figure 4 To describe an electronic device 400 according to this embodiment of the present application. Figure 4 The electronic device 400 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0111] like Figure 4As shown, the electronic device 400 is manifested in the form of a general-purpose computing device. The components of the electronic device 400 may include, but are not limited to: at least one processing unit 410, at least one storage unit 420, and a bus 430 connecting different system components (including storage unit 420 and processing unit 410).
[0112] The storage unit stores program code that can be executed by the processing unit 410, causing the processing unit 410 to perform the steps described in the "Embodiment Methods" section above according to various exemplary embodiments of this application.
[0113] Storage unit 420 may include readable media in the form of volatile storage units, such as random access memory (RAM) 421 and / or cache memory 422, and may further include read-only memory (ROM) 423.
[0114] Storage unit 420 may also include a program / utility 424 having a set (at least one) of program modules 425, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0115] Bus 430 can represent one or more of several types of bus structures, including a memory cell bus or memory cell control node, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the various bus structures.
[0116] Electronic device 400 can also communicate with one or more external devices 1200 (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more devices that enable a user to interact with electronic device 400, and / or with any device that enables electronic device 400 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 450. Furthermore, electronic device 400 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 460. As shown, network adapter 460 communicates with other modules of electronic device 400 via bus 430. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0117] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the method according to the embodiments of this application.
[0118] Furthermore, the above figures are merely illustrative of the processes included in the method according to exemplary embodiments of this application, and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal order of these processes. Additionally, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.
[0119] It should be understood that this application is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A control method for an on-board charger, characterized in that, The method includes: In response to a signal that the vehicle's first acceleration in the direction of travel is not within the preset acceleration range; Determining the first target lifting end and the first lifting angle range of the vehicle charger based on the first acceleration includes: determining the first target lifting end based on the direction of the first acceleration; and determining the first lifting angle range of the vehicle charger based on the value of the first acceleration, wherein the first lifting angle range is the angle range corresponding to the angle between the plane where the vehicle charger is located after being lifted and the initial reference plane. Control the first target lifting end to lift, and adjust the lifting angle of one side of the first target lifting end to within the first lifting angle range; The on-board charger includes a first lifting end and a second lifting end disposed opposite to each other. Determining the first target lifting end based on the direction of the first acceleration includes: If the direction of the first acceleration is the same as the direction of vehicle travel, then the first target lifting end is determined to be the first lifting end; If the direction of the first acceleration is opposite to the direction of vehicle travel, then the first target lifting end is determined to be the second lifting end; The vehicle charger includes a liftable wireless charging panel and a liftable wireless charging panel base; the first lifting end is the rear end of the wireless charging panel in the forward direction of the vehicle, and the second lifting end is the front end of the wireless charging panel in the forward direction of the vehicle.
2. The method according to claim 1, characterized in that, Determining the first lifting angle range of the on-board charger based on the value of the first acceleration includes: The first minimum extreme angle and the first maximum extreme angle of the first lifting angle range are determined based on the first acceleration, the preset friction coefficient, and the gravitational acceleration. The first lifting angle range is determined based on the first minimum extreme angle and the first maximum extreme angle.
3. The method according to claim 2, characterized in that, Determining the first lifting angle range of the on-board charger based on the value of the first acceleration includes: The second minimum extreme angle and the second maximum extreme angle of the first lifting angle range are determined based on the first acceleration, the preset friction coefficient, and the gravitational acceleration. The first lifting angle range is determined based on the second minimum extreme angle and the second maximum extreme angle; Wherein, the second maximum extreme angle is smaller than the first maximum extreme angle.
4. The method according to claim 1, characterized in that, After adjusting the lifting angle of one side of the first target lifting end to within the first lifting angle range, the method further includes: The vehicle's second acceleration is obtained after a preset time. If the second acceleration is not within the acceleration range, then the second target lifting end and the second lifting angle range of the on-board charger are determined based on the second acceleration; The on-board charger is controlled to lift the second target lifting end and adjust the lifting angle of one side of the second target lifting end to within the range of the second lifting angle.
5. The method according to claim 4, characterized in that, After determining the second target lifting end and the second lifting angle range of the on-board charger based on the second acceleration, the method further includes: If the second target lifting end is not the same as the first target lifting end, then the plane where the vehicle charger is located is adjusted to the initial reference plane.
6. A control device for an on-board charger, characterized in that, The device includes: A response unit is used to respond to a signal that the vehicle's first acceleration in the direction of travel is not within a preset acceleration range; The first determining unit is used to determine the first target lifting end of the on-board charger and the first lifting angle range based on the first acceleration. The first lifting unit is used to control the first target lifting end to lift, and adjust the lifting angle of one side of the first target lifting end to the range of the first lifting angle. The first determining unit is configured to: determine the first target lifting end according to the direction of the first acceleration; and determine the first lifting angle range of the vehicle charger according to the value of the first acceleration, wherein the first lifting angle range is the angle range corresponding to the angle between the plane where the vehicle charger is located after being lifted and the initial reference plane; The vehicle charger includes a first lifting end and a second lifting end arranged opposite to each other. The first determining unit is configured to: determine the first target lifting end as the first lifting end if the direction of the first acceleration is the same as the vehicle's driving direction; and determine the first target lifting end as the second lifting end if the direction of the first acceleration is opposite to the vehicle's driving direction. The vehicle charger includes a liftable wireless charging panel and a liftable wireless charging panel base; the first lifting end is the rear end of the wireless charging panel in the forward direction of the vehicle, and the second lifting end is the front end of the wireless charging panel in the forward direction of the vehicle.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one piece of program code, which is loaded and executed by a processor to perform the operations performed by the method as described in any one of claims 1 to 5.
8. An electronic device, characterized in that, The electronic device includes one or more processors and one or more memories, wherein at least one piece of program code is stored in the one or more memories, and the at least one piece of program code is loaded and executed by the one or more processors to perform the operation performed by the method as described in any one of claims 1 to 5.