Vehicle double-source power switching method and device, electronic equipment and automobile
By adjusting the output voltage of the on-board voltage output device before switching the vehicle's power source to match the target voltage, the inrush current problem caused by voltage mismatch in the prior art is solved, achieving smooth switching and equipment protection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CRRC TECH INNOVATION (BEIJING) CO LTD
- Filing Date
- 2026-02-12
- Publication Date
- 2026-05-15
AI Technical Summary
In existing technologies, when a vehicle switches between diesel engine power and grid power, the failure to effectively match the voltage results in a transient inrush current, which damages the main contactor and on-board electrical equipment, shortening their service life.
Before switching power sources, adjust the output voltage of the on-board voltage output device to match the target voltage, and then execute the switching command to ensure voltage consistency and avoid inrush current.
It enables smooth switching between vehicle power sources, protects equipment lifespan, improves operational continuity and comfort, and reduces energy loss and time costs.
Smart Images

Figure CN122034748A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive technology, specifically to a method, device, electronic equipment, and automobile for switching between dual power sources in a vehicle. Background Technology
[0002] Mining dump trucks are key transportation equipment in open-pit mines. To reduce operating costs and emissions, a "wired power supply" mode is widely used in dump trucks. In this mode, a high-voltage DC contact rail is installed on the main uphill sections of the transportation route. The vehicle deploys its pantograph (boom extension and jib tilt) on these sections and draws power from the contact rail to drive the vehicle in pure electric mode. On flat and downhill sections, the vehicle uses its own diesel generator set for power.
[0003] In existing technology, dump trucks switch between "diesel-generator power" and "grid power" modes by directly opening or closing the main contactor. Specifically: When switching from "diesel-generator power" to "grid power": the driver operates the vehicle to bring the pantograph's power receiving shoe into contact with the grid. When the vehicle controller detects that the pantograph has made contact with the grid, it first controls the diesel generator to stop generating electricity or maintain its original speed, then opens the diesel generator-side contactor to disconnect the vehicle load from the generator. After a fixed delay (e.g., 2-3 seconds), it closes the overhead line-side main contactor to connect the vehicle to the grid. When switching from "grid power" to "diesel-generator power": after receiving the grid connection command, the controller directly opens the overhead line-side main contactor, the pantograph retracts, and the vehicle's power is briefly interrupted. Then the controller starts the diesel generator and waits for the generator speed to stabilize before closing the diesel generator-side contactor to restore diesel generator drive. The applicant's research found that because the existing scheme does not match the diesel generator output voltage and the grid voltage when connecting to the grid, directly closing the main contactor will cause two asynchronous power sources to be directly connected in parallel. Due to the voltage difference, a huge instantaneous inrush current will be generated, which will seriously damage the main contactor contacts and vehicle electrical equipment, and shorten their service life. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide a method, apparatus, electronic device, and automobile for switching between dual power sources in a vehicle, to prevent large instantaneous inrush currents from occurring during power source switching.
[0005] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0006] A method for switching between dual power sources in a vehicle includes:
[0007] When a switching command is received, the target voltage and the vehicle-end output voltage are obtained. The target voltage is the grid voltage of the pre-marked grid power supply, and the vehicle-end output voltage is the output voltage of the on-board voltage output device. The switching command is a control command used to control the vehicle's power source to switch between the grid power supply and the on-board voltage output device.
[0008] The vehicle-end output voltage is adjusted based on the target voltage to match the vehicle-end output voltage.
[0009] Execute the switching command.
[0010] Optionally, in the above-mentioned dual-source power switching method for vehicles, the on-board voltage output device is an on-board generator or an on-board battery, and the on-board battery includes a power battery and a DC-DC converter connected to the power battery.
[0011] Optionally, in the above-described vehicle dual-source power switching method, when the on-board voltage output device is an on-board generator, adjusting the vehicle-end output voltage based on the target voltage includes:
[0012] Obtain the target rotational speed that matches the target voltage;
[0013] The speed of the on-board generator is adjusted based on the target speed.
[0014] Optionally, in the above-described vehicle dual-source power switching method, when the switching command is a first switching command for controlling the vehicle's power source to switch to grid power, after adjusting the vehicle-end output voltage based on the target voltage, the method further includes the following before executing the switching command:
[0015] Determine whether the target parameters of the DC bus voltage and the grid-side voltage are consistent, wherein the target parameters include at least the amplitude;
[0016] When consistency is reached, the following steps are executed: Execute the switching instruction;
[0017] When they are not in agreement, the vehicle-end output voltage is adjusted so that the target parameters of the DC bus voltage and the grid-side voltage are in agreement.
[0018] Optionally, in the above-described vehicle dual-source power switching method, when the switching command is a second switching command for controlling the vehicle's power source to switch to the on-board voltage output device, after adjusting the vehicle-end output voltage based on the target voltage, the method further includes the following before executing the switching command:
[0019] Determine whether the vehicle-end output voltage is consistent with the vehicle's DC bus voltage;
[0020] When they match, proceed with the following steps: execute the switching instruction;
[0021] If they are not in sync, adjust the vehicle-end output voltage to match the DC bus voltage.
[0022] Optionally, in the above-described vehicle dual-source power switching method, when the switching command is a first switching command for controlling the vehicle's power source to switch to grid power, the method further includes the following steps before obtaining the switching command:
[0023] Once the vehicle's power receiving shoe makes contact with the power grid, it is determined whether the power grid voltage is greater than the target voltage threshold. If it is greater than the target voltage threshold, the first switching command is generated.
[0024] The target voltage threshold is less than the target voltage.
[0025] Optionally, in the above-mentioned dual-source power switching method for vehicles, the target voltage threshold is 1300V and the target voltage is 1500V.
[0026] A vehicle dual-source power switching device, comprising:
[0027] The instruction acquisition unit is used to acquire the target voltage and the vehicle-end output voltage when a switching instruction is received. The target voltage is the grid voltage of the pre-marked grid power supply, the vehicle-end output voltage is the output voltage of the on-board voltage output device, and the switching instruction is a control instruction for controlling the vehicle's power source to switch between the grid power supply and the on-board voltage output device.
[0028] An output voltage regulation unit is used to regulate the vehicle-end output voltage based on the target voltage so that the vehicle-end output voltage matches the target voltage.
[0029] An instruction execution unit is used to execute the switching instruction.
[0030] An electronic device, comprising:
[0031] At least one processing device and a storage device connected to the processing device, wherein:
[0032] The storage device is used to store computer programs;
[0033] The processing device is used to execute the computer program so that the electronic device can implement any of the vehicle dual-source power switching methods described above.
[0034] A car that includes the aforementioned electronic equipment.
[0035] Based on the above technical solution, the solution provided by the embodiments of the present invention, when executing the power source switching command of the vehicle, adjusts the output voltage of the on-board voltage output device before executing the switching command so that the output voltage of the vehicle end matches the target voltage, and then executes the switching command to switch the power source of the vehicle to the grid power supply or the on-board voltage output device. At this time, the voltage on the DC bus of the vehicle will not generate a significant inrush current, realizing a smooth switching between different power sources and improving the service life of the equipment. Attached Figure Description
[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0037] Figure 1 This is a flowchart illustrating a vehicle dual-source power switching method disclosed in an embodiment of the present invention;
[0038] Figure 2 This is a schematic diagram of the structure of a vehicle dual-source power switching device disclosed in an embodiment of the present invention;
[0039] Figure 3 This is a schematic diagram of the structure of a vehicle control system disclosed in an embodiment of the present invention. Detailed Implementation
[0040] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0041] First, the relevant terms used in this invention will be explained:
[0042] Overhead line mining dump truck: A heavy-duty dump truck used in mining areas that can be driven by either its own diesel engine generating electricity or by drawing power from an overhead high-voltage DC contact rail via a pantograph.
[0043] Diesel generator: A diesel generator set is the vehicle's own power source.
[0044] Bow head: A power receiving device on the top of the vehicle, used to connect to a 1500V contact rail to obtain electrical energy.
[0045] High-voltage rail / line: refers to the DC high-voltage power supply contact rail erected in the mining area.
[0046] Voltage detector: A device installed in the high-voltage circuit of the pantograph to detect the voltage on the overhead line side in real time.
[0047] DC bus: A common DC circuit inside the vehicle that connects the diesel generator, pantograph, and load (drive motor).
[0048] Main contactor on the overhead line side: a switch that connects the vehicle's internal DC bus to the overhead power grid. Its closing indicates connection to the power grid, and its opening indicates disconnection from the power grid.
[0049] High-voltage cabinet: A cabinet on a vehicle that houses high-voltage electrical components such as main contactors, filter circuits, protection circuits, and control circuits.
[0050] Throttle calibration: refers to the mapping relationship between the accelerator pedal opening and the vehicle's driving torque or power.
[0051] This invention provides a method for switching between dual power sources for vehicles. Before switching the vehicle's power source, the method actively adjusts the output voltage of the on-board voltage output device to match the voltage on the power grid side, and then performs the power source switching. This ensures that the input voltage before and after the main contactor is switched on remains consistent, preventing instantaneous inrush currents, improving the service life of the equipment, and ensuring the continuity of vehicle operation and the smoothness of the driving experience.
[0052] See Figure 1 The vehicle dual-source power switching method disclosed in this embodiment of the invention includes:
[0053] Step S101: Obtain the switching instruction.
[0054] In this embodiment, the vehicle's power source can be either an on-board voltage output device or a mains power source. The vehicle control system or the user can control the vehicle's power source to switch between the on-board voltage output device and the mains power source according to actual scenario requirements. The instruction used to control the power source switching is denoted as a switching instruction. That is, the switching instruction is a control instruction used to control the vehicle's power source to switch between the mains power source and the on-board voltage output device. The switching instruction can include a first switching instruction and a second switching instruction. The first switching instruction is used to control the vehicle's power source to switch from the on-board voltage output device to the mains power source, and the second switching instruction is used to control the vehicle's power source to switch from the mains power source back to the on-board voltage output device. This switching instruction can be automatically generated by the vehicle control system based on the vehicle's position and operating conditions, or it can be actively generated by the user through operating a control switch.
[0055] Step S102: Obtain the target voltage and the vehicle-end output voltage.
[0056] When a switching command is received, it indicates that the vehicle has a power source switching requirement. To prevent inrush current in the system, it is necessary to ensure that the current in the DC bus remains stable before and after the switching. Therefore, before the formal switching, the vehicle-side output voltage of the on-board voltage output device needs to be adjusted to reach a pre-calibrated target voltage. This target voltage is the grid voltage corresponding to the pre-marked mains power supply. This voltage value can be set empirically, for example, it can be 250V, 550V, 1500V, or others. The vehicle-side output voltage is the output voltage of the on-board voltage output device.
[0057] Step S103: Adjust the vehicle-end output voltage based on the target voltage so that the vehicle-end output voltage matches the target voltage.
[0058] In this step, the adjusted vehicle-end output voltage is the same as or slightly higher than the target voltage. The adjustment time varies depending on the type of on-board voltage output device. If the on-board voltage output device is an on-board generator, the adjustment process can be completed within 1-2 seconds. If the on-board voltage output device is a power battery (the on-board battery includes the power battery and a DC-DC converter connected to the power battery), the process can be completed within 0.5 seconds.
[0059] Step S104: Execute the switching command.
[0060] Once the vehicle-end output voltage is adjusted to match the target voltage, a power source switching action is performed to switch the vehicle's power source to the required grid power or on-board voltage output device.
[0061] As can be seen from the above scheme, when the present invention executes the power source switching command of the vehicle, it adjusts the output voltage of the on-board voltage output device before executing the switching command so that the output voltage of the vehicle end matches the target voltage, and then executes the switching command to switch the power source of the vehicle to the grid power supply or the on-board voltage output device. At this time, the voltage on the DC bus of the vehicle will not generate a significant inrush current, realizing a smooth switching between different power sources and improving the service life of the equipment.
[0062] In this embodiment, the type of the vehicle-mounted voltage output device can be selected according to design requirements. For example, the vehicle-mounted voltage output device in this embodiment can be a vehicle-mounted generator or a vehicle-mounted battery. The vehicle-mounted battery includes a power battery and a DC-DC converter connected to the power battery. The vehicle-mounted generator can be a diesel generator, a gasoline generator, a gas generator, or a generator using other energy sources.
[0063] In this embodiment, the vehicle-mounted voltage output device is a vehicle-mounted generator. Adjusting the vehicle-end output voltage based on the target voltage is essentially adjusting the speed of the vehicle-mounted generator. The specific adjustment process can be as follows: When the vehicle-mounted generator receives an instruction to adjust the vehicle-end output voltage, it acquires a target speed pre-calibrated based on the target voltage. Based on the target speed, it adjusts the speed of the vehicle-mounted generator from the current speed to the target speed within a short time (e.g., 1-2 seconds), so that the output voltage of the vehicle-mounted generator is the target voltage. In this solution, the principle for configuring the target speed is: the motor speed when the output voltage of the vehicle-mounted generator is the target voltage.
[0064] In this embodiment, to further reduce the magnitude of the instantaneous current generated during the switching process, when the switching command is a first switching command for controlling the vehicle's power source to switch to the grid power supply, after adjusting the vehicle-side output voltage based on the target voltage, before executing the switching command, the following steps are included: determining whether the vehicle's DC bus voltage and the grid-side voltage match. If they match, the switching command is executed; if they do not match, the output voltage of the on-board voltage output device is finely adjusted based on the difference between the DC bus voltage and the grid-side voltage until the target parameters of the DC bus voltage and the grid-side voltage are consistent. After they match, the switching command is executed. At this time, the overhead line side main contactor in the high-voltage cabinet is closed, and components such as the smoothing reactor are started to perform filtering operations on the grid-side voltage. The vehicle's power source can then smoothly switch from the on-board voltage output device to the overhead grid (grid voltage). Since the DC bus voltage and the grid voltage have been synchronized before the switching, the main contactor closes without impact, and the entire grid connection process takes approximately 3-4 seconds. The matching of the DC bus voltage and the grid-side voltage can refer to the fact that their amplitudes and ripples remain consistent.
[0065] When the switching command is a second switching command used to control the vehicle's power source to switch to the on-board voltage output device, after adjusting the vehicle-end output voltage based on the target voltage, before executing the switching command, the process further includes: determining whether the vehicle-end output voltage is consistent with the vehicle's DC bus voltage. If consistent, the following steps are executed: executing the switching command. When executing the switching command, the overhead line side main contactor in the high-voltage cabinet will be disconnected. After the main contactor is disconnected, the vehicle's power source smoothly switches from the overhead power grid to the on-board voltage output device. Since the on-board voltage output device has established and synchronized the DC bus voltage before the switching, the power connection is seamless and uninterrupted at the moment the power grid is disconnected, and the DC bus voltage remains in a stable state. The entire outgoing process takes approximately 3-4 seconds. When the vehicle-end output voltage and the vehicle's DC bus voltage are not consistent, the vehicle-end output voltage is fine-tuned to make them consistent.
[0066] In this embodiment, when the switching command is a first switching command for controlling the vehicle's power source to switch to the grid power supply, before generating the first switching command, it can be determined in advance whether the grid voltage meets the switching conditions. If the switching conditions are met, the subsequent steps are executed; otherwise, the process continues to wait until the grid voltage meets the switching conditions. Specifically, the determination process may include: after the vehicle's power receiving shoe contacts the grid, determining whether the grid voltage is greater than a target voltage threshold. If it is greater than the target voltage threshold, the first switching command is generated. The target voltage threshold is a voltage configured based on the voltage value under normal grid voltage conditions. In this embodiment, the target voltage threshold can be the lower limit of the normal grid voltage. For example, for a target voltage of 1500V, the target voltage threshold can be 1300V.
[0067] It should be noted that during the execution of the switching command, the control system ensures uninterrupted response to the driver's accelerator pedal. The driver can control the accelerator as usual, and the vehicle will request corresponding driving force according to the accelerator pedal opening, thus ensuring the continuity and controllability of power output.
[0068] As can be seen from the above scheme, before executing the switching command, this invention adjusts the vehicle-end output voltage to bring the voltage difference between the two power sources close to zero at the moment of closing, minimizing the closing inrush current, greatly protecting the main contactor and other high-voltage electrical components, reducing arc erosion, and significantly improving the reliability and service life of the entire high-voltage system, thus enhancing equipment reliability. Furthermore, by adjusting the vehicle-end output voltage before executing the switching command, this scheme ensures a stable voltage source on the DC bus throughout the entire switching cycle, preventing momentary power loss in the drive motor and maintaining continuous vehicle driving force. The driver experiences no power interruption or vehicle jerking, achieving "seamless switching," which not only improves comfort but also ensures power safety and operational efficiency when switching on critical road sections such as slopes. Moreover, the entire switching process can be compressed to within 3-4 seconds, allowing the vehicle to quickly enter the more economical and efficient overhead line drive mode or more quickly revert to diesel-generator drive to handle flexible routes, reducing energy loss and time costs during mode transitions, and improving overall system operating efficiency.
[0069] This embodiment discloses a method for switching between dual power sources in a vehicle. For the specific working content of each unit in the device, please refer to the content of the above method embodiment.
[0070] The vehicle dual-source power switching device provided in the embodiments of the present invention is described below. The vehicle dual-source power switching device described below can be referred to in correspondence with the vehicle dual-source power switching method described above.
[0071] See Figure 2 The vehicle dual-source power switching device disclosed in this invention may include:
[0072] The instruction acquisition unit 10, which is matched with step S102 in the above method, is used to acquire the target voltage and the vehicle-end output voltage when a switching instruction is acquired. The target voltage is a pre-marked DC bus voltage when the vehicle's power source is the grid power source. The vehicle-end output voltage is the output voltage of the on-board voltage output device. The switching instruction is a control instruction used to control the vehicle's power source to switch between the grid power source and the on-board voltage output device.
[0073] The output voltage adjustment unit 20 is matched with step S103 in the above method and is used to adjust the vehicle-end output voltage based on the target voltage so that the vehicle-end output voltage matches the target voltage.
[0074] The instruction execution unit 30, which corresponds to step S104 in the above method, is used to execute the switching instruction.
[0075] Corresponding to the above method, when the switching command is a first switching command for controlling the vehicle's power source to switch to the grid power supply, after adjusting the vehicle-side output voltage based on the target voltage, the output voltage adjustment unit 20 is also used to determine whether the target parameters of the DC bus voltage and the grid-side voltage are consistent, the target parameters including at least amplitude and ripple; when they are consistent, the command execution unit is triggered; when they are not consistent, the vehicle-side output voltage is adjusted so that the target parameters of the DC bus voltage and the grid-side voltage are consistent.
[0076] Corresponding to the above method, when the switching command is a second switching command for controlling the vehicle's power source to switch to the on-board voltage output device, after the output voltage adjustment unit 20 adjusts the vehicle-end output voltage based on the target voltage, it further includes: determining whether the vehicle-end output voltage is consistent with the vehicle's DC bus voltage; when consistent, triggering the command execution unit; when inconsistent, adjusting the vehicle-end output voltage to be consistent with the DC bus voltage.
[0077] Corresponding to the above method, the above device also includes a judgment unit, which is used to determine whether the grid voltage is greater than a target voltage threshold after the vehicle's power receiving shoe contacts the grid; if it is greater than the target voltage threshold, the device generates the first switching command; the target voltage threshold is less than the target voltage.
[0078] This embodiment provides an electronic device, which may include: at least one processing device and a storage device connected to the processing device, wherein: the storage device is used to store a computer program; the processing device is used to execute the computer program to enable the electronic device to implement the vehicle dual-source power switching method described above. The electronic device in this document may be an ECU (Electronic Control Unit), a VCU (Vehicle Control Unit), an MCU (Micro Controller Unit), an HCU (Hybrid Control Unit), etc.
[0079] This embodiment also discloses a vehicle that may include the aforementioned electronic equipment, and the vehicle may be a dump truck for overhead power lines in mining.
[0080] See Figure 3 The electronic device can be integrated into the vehicle's control system, and the vehicle may further include:
[0081] Vehicle entry / exit detection system, HMI, on-board voltage output device controller (when the on-board voltage output device is a diesel generator, the on-board voltage output device controller is the diesel generator control system VCU), control system, VAM voltage detector, pantograph, disconnecting switch QF, overhead line contactor TC, control circuit, rectifier circuit, vehicle battery management system, inverter circuit, on-board voltage output device G, electric motor M.
[0082] Vehicle entry / exit detection system: Used to detect the entry and exit status of vehicles, such as in a work area. It can interact with charging systems or other vehicle systems to ensure that charging or other operations are only performed when the vehicle is properly parked or connected, thus ensuring operational safety.
[0083] HMI (Human Machine Interface): As the interface between the driver and the vehicle control system, it displays various vehicle information, such as battery status, charging progress, system fault prompts, etc., and allows the driver to perform some operation settings, such as charging mode selection, vehicle start / stop, etc.
[0084] The on-board voltage output device controller controls the start-up, shutdown, and power output of the on-board voltage output device based on the vehicle's operating status and energy demand, thereby achieving efficient power hybridization and energy management. Specifically, it can be a diesel generator control system (VCU), which controls the start-up, shutdown, and power output of the diesel generator based on the vehicle's operating status and energy demand, achieving efficient power hybridization and energy management.
[0085] Control System: As the core control unit of the entire high-voltage system, it receives information from various sensors and subsystems, performs comprehensive processing, and makes decisions. It is responsible for coordinating and controlling all components of the high-voltage system to ensure the safe and stable operation of the system, such as controlling the charging process and power distribution.
[0086] VAM (Voltage Amplifier): Monitors the voltage status of the pantograph in real time. By detecting parameters such as voltage amplitude and stability, it provides voltage status information to the control system, enabling timely detection of voltage anomalies, such as overvoltage and undervoltage, and the implementation of corresponding protective measures.
[0087] Pantograph: When external charging is required, the pantograph is used to connect to the power grid and introduce external electrical energy into the vehicle's high-voltage system.
[0088] Disconnecting switch QF: Used for electrical isolation in high-voltage systems. During system maintenance, fault handling, or when it is necessary to disconnect the high-voltage power supply, the disconnecting switch can safely disconnect the circuit, ensuring the safety of operators and preventing the fault from escalating.
[0089] Overhead contactor (TC): Controls the switching on and off of high-voltage circuits, typically used to connect or disconnect high-voltage power sources from high-voltage loads in vehicles (such as motors, batteries, etc.). It operates under the command of the control system to achieve the distribution and control of high-voltage electrical energy.
[0090] Control circuit: Provides control signals and low-voltage power to the control system and other high-voltage components, ensuring that each component operates normally according to the instructions of the control system. It may include functions such as signal conditioning and power conversion.
[0091] Rectifier circuit: The rectifier circuit converts the AC power output from the vehicle voltage output device into DC power.
[0092] VMM: Voltage Monitoring Module, used to detect the voltage on the DC bus.
[0093] Inverter circuit: Converts the direct current (DC) on the DC bus into alternating current (AC) to provide power to AC loads such as motors. When the vehicle is in motion, the inverter circuit, according to the instructions of the control system, converts the DC power on the DC bus into AC power suitable for the motor to operate, driving the vehicle forward.
[0094] M (electric motor): The power output component of a car, which converts electrical energy into mechanical energy to drive the car.
[0095] G: On-board voltage output device.
[0096] The connection methods between the various modules in the system are mature solutions in the existing schemes, and this invention does not further explain the connection methods between the various modules.
[0097] The following is based on Figure 3 The system architecture shown provides a detailed explanation of the power source switching process for automobiles:
[0098] When the vehicle's power source needs to be switched from the on-board voltage output device to the grid power supply, after the vehicle's overhead contact shoe contacts the contact rail, the VAM voltage detector installed inside the vehicle's high-voltage cabinet detects the grid voltage in real time. If it determines that the grid voltage is higher than the target voltage threshold, it indicates that the overhead power supply is normal and available. The VAM voltage detector sends this signal to the on-board voltage output device controller via the control system. The on-board voltage output device controller then sends a voltage adjustment command to the on-board voltage output device's voltage control system via CAN bus communication, requesting adjustment of its output voltage to match the target voltage. The control system then continuously monitors the vehicle's DC bus voltage and the grid-side voltage. When it determines that the two are consistent in amplitude, ripple, etc., the control system executes the first switching command, closing the overhead-side main contactor (overhead contactor TC) inside the high-voltage cabinet, and simultaneously controlling components such as the smoothing reactor to perform filtering operations on the grid-side voltage.
[0099] When it is necessary to switch the vehicle's power source from the grid to the on-board voltage output device, the control system issues a second switching command. The control system sends a command to the on-board voltage output device controller via the CAN bus to stabilize the output voltage of the on-board voltage output device above 1500V, and then continues to monitor the output voltage of the on-board voltage output device and the current DC bus voltage. When it is determined that the two are consistent, the control system executes the second switching command and disconnects the main contactor on the overhead line side in the high-voltage cabinet.
[0100] For ease of description, the above system is described by dividing it into various modules based on their functions. Of course, in implementing this invention, the functions of each module can be implemented in one or more software and / or hardware components.
[0101] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and relevant parts can be referred to the descriptions in the method embodiments. The systems and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0102] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0103] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0104] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0105] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for switching between dual power sources in a vehicle, characterized in that, include: When a switching command is received, the target voltage and the vehicle-end output voltage are obtained. The target voltage is the grid voltage of the pre-marked grid power supply, and the vehicle-end output voltage is the output voltage of the on-board voltage output device. The switching command is a control command used to control the vehicle's power source to switch between the grid power supply and the on-board voltage output device. The vehicle-end output voltage is adjusted based on the target voltage to match the vehicle-end output voltage. Execute the switching command.
2. The vehicle dual-source power switching method according to claim 1, characterized in that, The vehicle-mounted voltage output device is a vehicle-mounted generator or a vehicle-mounted battery, and the vehicle-mounted battery includes a power battery and a DC-DC converter connected to the power battery.
3. The vehicle dual-source power switching method according to claim 2, characterized in that, When the vehicle-mounted voltage output device is a vehicle-mounted generator, adjusting the vehicle-end output voltage based on the target voltage includes: Obtain the target rotational speed that matches the target voltage; The speed of the on-board generator is adjusted based on the target speed.
4. The vehicle dual-source power switching method according to claim 1, characterized in that, When the switching command is a first switching command for controlling the vehicle's power source to switch to grid power, after adjusting the vehicle-end output voltage based on the target voltage, the following steps are included before executing the switching command: Determine whether the target parameters of the DC bus voltage and the grid-side voltage are consistent, wherein the target parameters include at least the amplitude; When consistency is reached, the following steps are executed: Execute the switching instruction; When they are not in agreement, the vehicle-end output voltage is adjusted so that the target parameters of the DC bus voltage and the grid-side voltage are in agreement.
5. The vehicle dual-source power switching method according to claim 1, characterized in that, When the switching command is a second switching command for controlling the vehicle's power source to switch to the on-board voltage output device, after adjusting the vehicle-end output voltage based on the target voltage, the following steps are included before executing the switching command: Determine whether the vehicle-end output voltage is consistent with the vehicle's DC bus voltage; When they match, proceed with the following steps: execute the switching instruction; If they are not in sync, adjust the vehicle-end output voltage to match the DC bus voltage.
6. The vehicle dual-source power switching method according to claim 1, characterized in that, When the switching command is a first switching command used to control the vehicle's power source to switch to grid power, the process before obtaining the switching command also includes: Once the vehicle's power receiving shoe makes contact with the power grid, it is determined whether the power grid voltage is greater than the target voltage threshold. If it is greater than the target voltage threshold, the first switching command is generated. The target voltage threshold is less than the target voltage.
7. The vehicle dual-source power switching method according to claim 6, characterized in that, The target voltage threshold is 1300V, and the target voltage is 1500V.
8. A vehicle dual-source power switching device, characterized in that, include: The instruction acquisition unit is used to acquire the target voltage and the vehicle-end output voltage when a switching instruction is received. The target voltage is the grid voltage of a pre-marked grid power source, the vehicle-end output voltage is the output voltage of the on-board voltage output device, and the switching instruction is a control instruction for controlling the vehicle's power source to switch between the grid power source and the on-board voltage output device. An output voltage regulation unit is used to regulate the vehicle-end output voltage based on the target voltage so that the vehicle-end output voltage matches the target voltage. An instruction execution unit is used to execute the switching instruction.
9. An electronic device, characterized in that, include: At least one processing device and a storage device connected to the processing device, wherein: The storage device is used to store computer programs; The processing device is used to execute the computer program so that the electronic device can implement the vehicle dual-source power switching method as described in any one of claims 1 to 7.
10. A car, characterized in that, Includes the electronic device as described in claim 9.