Bidirectional source load system series-parallel connection compatible control method, device, equipment and medium
By designing common components and optional components in a bidirectional source loading system, the main circuit sharing is realized and different PWM control signals are generated according to the scene, the complexity of the bidirectional source loading system in the series and parallel output scenarios in the prior art is solved. The problem improves the stability and reliability of the system.
Patent Information
- Application Number
- CN202411415220.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2025-02-21
- Estimated Expiration
- 2044-10-11
AI Technical Summary
When facing series and parallel output scenarios, existing bidirectional source loading systems need to set up independent output circuits and driver circuits, resulting in inconsistent PCB and materials, increasing production and maintenance complexity, and may affect the stability and reliability of the system. .
A two-way source-loading system series-parallel compatible control method is proposed. Through the design of common components and optional components, the main circuit part is shared, and different PWM control signals are generated according to different application scenarios to complete the series-parallel control circuit. Adjustment.
It effectively reduces the complexity of production and maintenance, improves the stability and reliability of work, and meets the usage needs of different scenarios.
Smart Images

Figure CN119496394A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of source-carrying devices, and in particular to a method, device, equipment and medium for serial-parallel compatible control of a bidirectional source-carrying system. Background Art
[0002] At present, the bidirectional source-carrying system is a commonly used device. The bidirectional source-carrying system usually needs to face the series output scenario and the parallel output scenario. In the related technology, in order to solve the technical problem of meeting the two output scenarios at the same time, two types of independent output circuits are usually set, and corresponding independent drive circuits are set. Although this method can meet the basic control requirements, it is easy to cause the inconsistency of PCB and materials, and increase the complexity of production and maintenance. In addition, since there may be differences in the drive circuit, there is a possibility of affecting the stability and reliability of the system. Summary of the invention
[0003] The present application aims to propose a bidirectional source-load system series-parallel compatible control method, device, equipment and medium, which can effectively reduce the complexity of production and maintenance, and improve the stability and reliability of work.
[0004] According to the series-parallel compatible control method of a bidirectional source-load system according to the first aspect of the embodiment of the present application, the bidirectional source-load system includes a common component, a first optional component, a second optional component, and a control module. The common component includes a power input module, a three-phase rectifier module, and an LLC module connected in sequence. The LLC module includes N LLC circuits that are all connected to the output end of the three-phase rectifier module. A first controllable switch device and a second controllable switch device are connected in series between the first output end and the second output end of each LLC circuit. The two connection ends of the second controllable switch device are used as a first common connection end and a second common connection end; the first optional component is used to connect N The first common connection terminal and the second common connection terminal of the group are connected in series in sequence, and the power supply is output in series through the two output terminals of the first components; the second optional component is used to connect N first common connection terminals in parallel, connect N second common connection terminals in parallel, and output the power supply in parallel through the two output terminals of the second components; N is a positive integer; the common component also includes a series-parallel control circuit, and the series-parallel control circuit has a switching PWM input terminal, 2N main PWM input terminals arranged in sequence, and 2N main PWM output terminals arranged in sequence corresponding to the controlled terminals of the N groups of the first controllable switch devices and the controlled terminals of the second controllable switch devices; The bidirectional source-carrier system series-parallel compatible control method comprises: In response to the serial connection adjustment signal, controlling the connection between the first-order main PWM input terminal and the odd-order main PWM output terminal, controlling the connection between the second-order main PWM input terminal and the even-order main PWM output terminal, and generating serial switching completion flag information; In response to the series switching completion flag information, generate a first PWM control signal and a second PWM control signal, and output the first PWM control signal to the first-order main PWM input terminal, and output the second PWM control signal to the second-order main PWM input terminal, wherein the first PWM control signal and the second PWM control signal have the same frequency, the same duty cycle, and complementary signals; In response to the parallel connection adjustment signal, the 2N main PWM input terminals are controlled to be connected to the 2N main PWM output terminals in sequence, and parallel switching completion flag information is generated; In response to the parallel switching completion flag information, 2N third PWM control signals are generated, and the 2N third PWM control signals are output one-to-one to the 2N main PWM input terminals, wherein the 2N third PWM control signals have the same frequency and duty cycle, and the signals of the third PWM control signals corresponding to each group of the first controllable switch devices and the second controllable switch devices are complementary.
[0005] According to a bidirectional source-load system series-parallel compatible control device according to the second aspect of the present application, the bidirectional source-load system includes a common component, a first optional component, a second optional component, and a control module. The common component includes a power input module, a three-phase rectifier module, and an LLC module connected in sequence. The LLC module includes N LLC circuits that are all connected to the output end of the three-phase rectifier module. A first controllable switch device and a second controllable switch device are connected in series between the first output end and the second output end of each LLC circuit. The two connection ends of the second controllable switch device are used as a first common connection end and a second common connection end. The first optional component is used to connect N The first common connection terminal and the second common connection terminal of the group are connected in series in sequence, and the power supply is output in series through the two output terminals of the first components; the second optional component is used to connect N first common connection terminals in parallel, connect N second common connection terminals in parallel, and output the power supply in parallel through the two output terminals of the second components; N is a positive integer; the common component also includes a series-parallel control circuit, and the series-parallel control circuit has a switching PWM input terminal, 2N main PWM input terminals arranged in sequence, and 2N main PWM output terminals arranged in sequence corresponding to the controlled terminals of the N groups of the first controllable switch devices and the controlled terminals of the second controllable switch devices; The bidirectional source-carrier system series-parallel compatible control device comprises: a first switching module, configured to control the connection between the first-order main PWM input terminal and the odd-order main PWM output terminal in response to the serial connection adjustment signal, control the connection between the second-order main PWM input terminal and the even-order main PWM output terminal, and generate serial switching completion flag information; a first signal generating module, configured to generate a first PWM control signal and a second PWM control signal in response to the series switching completion flag information, and output the first PWM control signal to the first-order main PWM input terminal, and output the second PWM control signal to the second-order main PWM input terminal, wherein the first PWM control signal and the second PWM control signal have the same frequency, the same duty cycle, and complementary signals; A second switching module, configured to control the 2N main PWM input terminals to be connected to the 2N main PWM output terminals in sequence in response to a parallel connection adjustment signal, and to generate parallel switching completion flag information; The second signal generating module is used to generate 2N third PWM control signals in response to the parallel switching completion flag information, and output the 2N third PWM control signals to 2N main PWM input terminals one by one, wherein the 2N third PWM control signals have the same frequency and duty cycle, and the signals of the third PWM control signals corresponding to each group of the first controllable switch devices and the second controllable switch devices are complementary.
[0006] According to the third aspect of the present application, the electronic device comprises a processor and a memory storing computer program instructions; When the processor executes the computer program, the series-parallel compatible control method of the bidirectional source-load system according to the first aspect of the embodiment is implemented.
[0007] According to the computer-readable storage medium of the fourth aspect embodiment of the present application, computer executable instructions are stored, and the computer executable instructions are used to execute the series-parallel compatible control method of the bidirectional source-load system as described in the first aspect embodiment above.
[0008] The bidirectional source-carrying system serial-parallel compatible control method, device, equipment and medium of the embodiment of the present application, by determining the common circuit and the distinguishing circuit of the series mode and parallel mode of the bidirectional source-carrying system, and setting the common circuit as a common component, and setting the distinguishing part as an optional component, can realize the sharing of the main circuit part; at the same time, according to different application scenarios, different PWM control signals are generated, and the series-parallel control circuit can be adjusted to realize the control of N groups of first controllable switch devices and second controllable switch devices, so that the bidirectional source-carrying system after selecting the optional components according to the scene and assembling can meet the use requirements of the corresponding scene. The embodiment of the present application adopts the method of sharing the common circuit and the shared driving circuit, so as to effectively reduce the complexity of production and maintenance, and improve the stability and reliability of work.
[0009] Other features and advantages of the present application will be set forth in the following description, and in part will become apparent from the description, or may be understood by practicing the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which: Figure 1 A circuit diagram of a main circuit in a common component of a bidirectional source-carrier system provided in an embodiment of the present application; Figure 2 A circuit diagram of a main circuit in a first optional component of a bidirectional source-carrying system provided in an embodiment of the present application; Figure 3 A circuit diagram of a main circuit in a second optional component of a bidirectional source-carrying system provided in an embodiment of the present application; Figure 4 A circuit diagram of a main circuit in a third optional component of a bidirectional source-carrying system provided in an embodiment of the present application; Figure 5 A schematic diagram of the mechanical assembly structure of a bidirectional source-carrying system provided in an embodiment of the present application; Figure 6 A circuit schematic diagram of a series-parallel control circuit provided in an embodiment of the present application; Figure 7 A circuit schematic diagram of an overvoltage protection unit provided in an embodiment of the present application; Figure 8 A circuit schematic diagram of a current detection unit provided in an embodiment of the present application; Fig. 9 A flow chart of a series-parallel compatible control method for a bidirectional source-load system provided in an embodiment of the present application.
[0011] Reference numerals: Common component 100, control module 110, series-parallel control circuit 120, power input module 130, three-phase rectifier module 140, LLC module 150, BUCK circuit 161, first optional component 200, second optional component 300, third optional component 400, overvoltage protection unit 500, first voltage divider unit 510, second voltage divider unit 520, analog-to-digital conversion unit 530, comparison unit 540, current detection unit 600. DETAILED DESCRIPTION
[0012] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.
[0013] In the description of this application, if there is a description of first, second, etc., it is only for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0014] In the description of the present application, it should be understood that the descriptions involving orientation, such as the orientation or positional relationship indicated as up, down, etc., are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0015] In the description of this application, it should be noted that, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meaning of the above terms in this application based on the specific content of the technical solution.
[0016] The technical solution of the present application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described below are only part of the embodiments of the present application, not all of the embodiments.
[0017] In order to better describe the serial-parallel compatible control method, device, equipment and medium of the bidirectional source-carrier system of the embodiment of the present application, the embodiment of the present application proposes a bidirectional source-carrier system, referring to Figures 1 to 5 The source-to-meter output circuit includes a common component 100 , a first optional component 200 , a second optional component 300 , and a third optional component 400 .
[0018] The common component 100 includes a first housing and a control module 110, a series-parallel control circuit 120, a power input module 130, a three-phase rectifier module 140, and an LLC module 150, all of which are arranged in the first housing. The power input module 130, the three-phase rectifier module 140, and the LLC module 150 are connected in sequence. The LLC module 150 includes N LLC circuits that are all connected to the output end of the three-phase rectifier module 140. A first controllable switch device and a second controllable switch device are connected in series between the first output end and the second output end of each LLC circuit. The two connection ends of the second controllable switch device are used as a first common connection end and a second common connection end. , the first common connection terminal, the second common connection terminal and the three-phase input terminal of the power input module 130 are all arranged on the first shell; the series-parallel control circuit 120 has a switching PWM input terminal connected to the control module 110, 2N main PWM input terminals connected to the control module 110 and arranged in sequence, and 2N main PWM output terminals arranged in sequence and correspondingly connected to the controlled terminals of the N groups of first controllable switch devices and the controlled terminals of the second controllable switch devices; the control module 110 is used to output a series-parallel adjustment signal to the switching PWM input terminal to adjust the connection state between the 2N main PWM input terminals and the 2N main PWM output terminals; N is a positive integer.
[0019] The above-mentioned first optional component 200 includes a second shell and a series adjustment circuit arranged in the second shell. The series adjustment circuit has 2N first component input terminals and two first component output terminals all arranged on the second shell. The 2N first component input terminals are used for corresponding detachable connection with N groups of first common connection terminals and second common connection terminals. The series adjustment circuit is used to connect the N groups of first common connection terminals and second common connection terminals in series in sequence, and output the power supply in series through the two first component output terminals.
[0020] The above-mentioned second optional component 300 includes a third shell and a parallel adjustment circuit arranged in the third shell. The parallel adjustment circuit has 2N second component input terminals and two second component output terminals all arranged on the third shell. The 2N second component input terminals are used for corresponding detachable connection with N groups of first common connection terminals and second common connection terminals. The parallel adjustment circuit is used to connect the N first common connection terminals in parallel, connect the N second common connection terminals in parallel, and output power in parallel through the two second component output terminals.
[0021] The above-mentioned third optional component 400 includes a fourth shell and N power output circuits arranged in the fourth shell, and the N power output circuits all have two third component input terminals and two third component output terminals arranged on the fourth shell, and the two third component input terminals of each power output circuit are detachably connected to each group of first common connection terminals and second common connection terminals.
[0022] The power input module 130 is used to receive and output a three-phase power supply.
[0023] The three-phase input terminals of the power input module 130 are all disposed on the first housing to facilitate physical and electrical connection with an external power supply device.
[0024] The three-phase rectifier module 140 is used to rectify the three-phase power input by the power input module 130 and output a direct current.
[0025] Specifically, the three-phase rectifier module 140 may adopt a three-phase PWM rectifier circuit, and may utilize a plurality of controllable switch tubes to realize rectification, thereby achieving the purpose of AC input and DC output.
[0026] The LLC module 150 includes a plurality of LLC circuits, each of which is used to achieve resonance. Figure 1 As shown, since the three LLC circuits have the same input, one LLC circuit is taken as an example for explanation; the LLC circuit includes a conjugate coil, a first controllable switch component, a transformer, and a second controllable switch component connected in sequence, and the controllable switch component can be used to achieve the purpose of resonance.
[0027] When the LLC circuit resonates and outputs, it will be output through the first output terminal and the second output terminal of the LLC circuit. A first controllable switch device and a second controllable switch device connected in series are connected between the first output terminal and the second output terminal of the LLC circuit, and the first controllable switch device and the second controllable switch device constitute a BUCK circuit 161 to adjust the output mode of the LLC circuit. Specifically, the first controllable switch device and the second controllable switch device can be controllable switch tubes.
[0028] The above-mentioned N groups of first controllable switch devices and second controllable switch devices require 2N control signals for control. These control signals can be generated by the control module 110 and adjusted by the series-parallel control circuit 120 and output to the N groups of first controllable switch devices and second controllable switch devices.
[0029] Further integration Figure 6 , the series-parallel control circuit 120 can adjust the output state of the control signal output by the control module 110. For example, when the series output is required, the series-parallel control circuit 120 can be adjusted so that the first-order main PWM input terminal is connected to the odd-order main PWM output terminal, and the second-order main PWM input terminal is connected to the even-order main PWM output terminal, so that the output of the entire N groups of first controllable switch devices and second controllable switch devices is controlled by only two PWM control signals (such as Figure 6 , 7PWMA, PWMB as shown in the figure, in order to better realize the series output, when parallel output or independent output is required, the series-parallel control circuit 120 can be adjusted so that 2N main PWM input terminals are connected to 2N main PWM output terminals in sequence, so that each first controllable switch device and each second controllable switch device can be subjected to a single PWM signal (such as Figure 6 The control of PWMA, PWMB, PWMC, PWMD, PWME, PWMF) shown in the figure can realize parallel output or independent output.
[0030] The above-mentioned parallel output or independent output is actually to make the N-way BUCK circuits 161 output independently. The distinction between parallel output and independent output mainly lies in the difference in the main circuit structure in the optional components.
[0031] The above-mentioned series output is different from the parallel output and the independent output, and requires synchronization between multiple BUCK circuits 161. Therefore, it is preferred to use two PWM signals to complete the control.
[0032] refer to Figure 2 The disconnection and conduction settings between the 2N main PWM input terminals and the 2N main PWM output terminals of the series-parallel control circuit 120 can be directly completed by using a switch device, for example, a commonly used selection switch can be used. Specifically, a single-pole double-throw switch (such as Figure 6 U1A to U6A shown).
[0033] The control module 110 is used to generate a series-parallel adjustment signal, which includes multiple PWM signals, and the multiple PWM signals may be different due to different application scenarios. The series-parallel adjustment signal can be used to control the series-parallel control circuit 120, thereby realizing the settings such as disconnection and conduction between the 2N main PWM input terminals and the 2N main PWM output terminals.
[0034] The first optional component 200 includes a second shell, in which a series adjustment circuit is disposed. The series adjustment circuit can realize sequential series connection between the output ends of the three BUCK circuits 161, thereby providing a circuit structure for serial transmission.
[0035] The first common connection terminals and the second common connection terminals of the N BUCK circuits 161 are arranged on the first shell, and the 2N first component input terminals and the two first component output terminals of the series adjustment circuit are arranged on the second shell, so as to realize the fast electrical and physical connection between the 2N first component input terminals and the first common connection terminals and the second common connection terminals of the N BUCK circuits 161.
[0036] The two first component output terminals arranged on the second housing facilitate rapid electrical and physical connection with external power-supplying equipment.
[0037] The second optional component 300 includes a third housing, in which a parallel adjustment circuit is disposed. The parallel adjustment circuit can realize parallel connection between the output ends of the three BUCK circuits 161, thereby providing a circuit structure for parallel transmission.
[0038] The 2N second component input terminals and two second component output terminals of the parallel adjustment circuit are arranged on the third housing to realize fast electrical and physical connection between the 2N second component input terminals and the first common connection terminals and the second common connection terminals of the N BUCK circuits 161 .
[0039] The two second component output terminals arranged on the third housing facilitate rapid electrical and physical connection with external power-supplying equipment.
[0040] The third optional component 400 includes a fourth housing, and N power output circuits are disposed in the fourth housing. The output ends of N BUCK circuits 161 can be realized through the N power output circuits.
[0041] The two third component input terminals and the two third component output terminals of the above-mentioned N power output circuits are all arranged on the fourth shell to realize fast electrical and physical connection between the two third component output terminals of the N power output circuits and the first common connection terminal and the second common connection terminal of the N BUCK circuits 161.
[0042] The two third component input terminals of the N power output circuits arranged on the fourth housing facilitate rapid electrical and physical connection with external devices to be powered.
[0043] The following describes the series-parallel compatibility control method, device, equipment and medium of the bidirectional source-load system of the embodiment of the present application based on the above-mentioned source-meter output circuit.
[0044] See also Fig. 9 As shown, Fig. 9 1 is a flow chart of a bidirectional source-carrier system serial-parallel compatible control method provided by an embodiment of the present application, and the bidirectional source-carrier system serial-parallel compatible control method includes: In response to the serial connection adjustment signal, controlling the connection between the first-order main PWM input terminal and the odd-order main PWM output terminals, controlling the connection between the second-order main PWM input terminal and the even-order main PWM output terminals, and generating serial switching completion flag information; In response to the series switching completion flag information, a first PWM control signal and a second PWM control signal are generated, and the first PWM control signal is output to the first secondary main PWM input terminal, and the second PWM control signal is output to the second secondary main PWM input terminal, wherein the first PWM control signal and the second PWM control signal have the same frequency, the same duty cycle, and complementary signals; In response to the parallel connection adjustment signal, the 2N main PWM input terminals are controlled to be connected to the 2N main PWM output terminals in sequence, and parallel switching completion flag information is generated; In response to the parallel switching completion flag information, 2N third PWM control signals are generated, and the 2N third PWM control signals are output one-to-one to the 2N main PWM input terminals, wherein the 2N third PWM control signals have the same frequency and duty cycle, and the signals of the third PWM control signals corresponding to each group of first controllable switch devices and second controllable switch devices are complementary.
[0045] In the embodiment of the present application, by determining the common circuit and the distinguishing circuit of the series mode and the parallel mode of the bidirectional source-carrying system, and setting the common circuit as the common component 100, and setting the distinguishing part as the optional component, the main circuit part can be shared; at the same time, different PWM control signals are generated according to different application scenarios, and the series-parallel control circuit 120 can be adjusted to achieve the control of N groups of first controllable switch devices and second controllable switch devices, so that the bidirectional source-carrying system after selecting the optional components according to the scene and assembling them can meet the use requirements of the corresponding scene. The embodiment of the present application adopts the method of sharing the common circuit and the shared driving circuit, so as to effectively reduce the complexity of production and maintenance, and improve the stability and reliability of work.
[0046] The above-mentioned serial connection adjustment signal and parallel connection adjustment signal both belong to parallel connection adjustment signals. The parallel connection adjustment signal can be determined based on the current combination status information. The current combination status information can be obtained by the user through the human-computer interaction unit provided on the common component 100 after the user combines the optional component with the common component 100.
[0047] The human-computer interaction unit may be a liquid crystal touch screen arranged on the first housing, or may be a combination of a display and buttons.
[0048] After the control module 110 adjusts the level state of the switching PWM input terminal according to the serial connection adjustment signal, the serial-parallel control circuit 120 can be adjusted to connect the first-order main PWM input terminal with the odd-order main PWM output terminal, and connect the second-order main PWM input terminal with the even-order main PWM output terminal, and before generating the serial connection adjustment signal, the common component 100 has been connected to the first optional component 200, forming a bidirectional source-carrier system for serial output.
[0049] After the series-parallel control circuit 120 is adjusted based on the serial connection adjustment signal, the serial switching completion flag information will be generated. Because the switching reliability of the switch device is extremely high and the speed is extremely fast, in some embodiments, the control module 110 can delay the switch judgment threshold time after detecting the serial connection adjustment signal and directly generate the serial switching completion flag information.
[0050] When the series switching completion mark information is detected, the control module 110 will generate a first PWM control signal and a second PWM control signal, and output the first PWM control signal to the first-order main PWM input terminal, and output the second PWM control signal to the second-order main PWM input terminal, and use the first PWM control signal to control the first controllable switch connected to the odd-numbered main PWM output terminal, and use the second PWM control signal to control the second controllable switch connected to the even-numbered main PWM output terminal. In addition, in order to achieve series output, the first PWM control signal and the second PWM control signal are set to have the same frequency, the same duty cycle, and complementary signals, that is, when the first PWM control signal is high, the second PWM control signal is low, and vice versa.
[0051] After the control module 110 adjusts the level state of the switching PWM input terminal according to the parallel connection adjustment signal, the series-parallel control circuit 120 can be adjusted so that 2N main PWM input terminals are connected to 2N main PWM output terminals in sequence, and before the parallel connection adjustment signal is generated, the common component 100 has been connected to the second optional component 300, forming a bidirectional source-carrier system capable of parallel output.
[0052] After the series-parallel control circuit 120 is adjusted based on the parallel connection adjustment signal, parallel switching completion flag information is generated. Because the switching reliability of the switch device is extremely high and the speed is extremely fast, in some embodiments, the control module 110 can delay the switch judgment threshold time after detecting the parallel connection adjustment signal and directly generate the parallel switching completion flag information.
[0053] When the parallel switching completion mark information is detected, the control module 110 will generate 2N third PWM control signals, and output the 2N third PWM control signals to the 2N main PWM input terminals one by one, wherein the third PWM control signals corresponding to each group of first controllable switch devices and second controllable switch devices can be regarded as a group, that is, N groups of third PWM control signals complete the control of N groups of first controllable switch devices and second controllable switch devices. In addition, in order to achieve parallel output, the N groups of third PWM control signals are also set to have the same frequency and the same duty cycle, and each group of third PWM control signals is set to be complementary, that is, in each group of third PWM control signals, when one third PWM control signal is at a high level, the other third PWM control signal is at a low level, and vice versa.
[0054] In some embodiments, the first PWM control signal corresponds to setting a first timer, and the second PWM control signal corresponds to setting a second timer; The first PWM control signal and the second PWM control signal are obtained by the following steps: In response to the series switching completion flag information, the first trigger source is controlled to output a trigger signal to the first timer and the second timer simultaneously, so that the control module 110 simultaneously outputs the first PWM control signal and the second PWM control signal based on the first timer and the second timer.
[0055] In the present embodiment, in order to improve the synchronization of the first PWM control signal and the second PWM control signal in controlling the operation of the corresponding BUCK circuit 161, the first timer and the second timer are used to generate two PWM control signals respectively, and in order to improve the synchronization of using the first timer and the second timer to open the interrupt to generate the PWM control signal, the two timers use the same trigger source, that is, the first trigger source, to complete the control of the first timer and the second timer to open the interrupt, and the same priority is set for the two timer interrupts.
[0056] In some embodiments, the third PWM control signals corresponding to the N groups of first controllable switch devices and second controllable switch devices correspond to N third timers; The 2N-way third PWM control signal is obtained by the following steps: In response to the parallel switching completion flag information, based on the basic PWM signal generated by the fourth timer, the basic PWM signal has the same frequency and the same duty cycle as the 2N-channel third PWM control signal; Taking the basic PWM signal as a reference, 2N third PWM control signals are generated by using N third timers.
[0057] In this implementation, in order to ensure that the AC power output by each BUCK circuit 161 maintains a consistent amplitude after rectification, the basic PWM signal generated by the fourth timer is used as the basis for subsequently generating 2N third PWM control signals. Because the N groups of third PWM control signals generated based on the N third timers are all obtained based on the basic PWM signal, the N groups of third PWM control signals can maintain the same frequency and duty cycle.
[0058] In some embodiments, the offset phase differences between the third PWM control signals corresponding to two adjacent groups of first controllable switch devices and second controllable switch devices are the same.
[0059] In this embodiment, the same offset phase difference is set between two groups of third PWM control signals that control the outputs of two adjacent groups of BUCK circuits 161, thereby reducing the ripple during parallel output and improving the stability of the output power during parallel output.
[0060] In some implementations, the first and last orders of the N groups of third PWM control signals may be considered adjacent. In this case, the phase differences of the third PWM control signals corresponding to two adjacent groups of BUCK circuits 161 are made the same, so that the ripples of the N groups of BUCK circuits 161 controlled by the N groups of third PWM control signals can be further reduced.
[0061] In some embodiments, the bidirectional source-carrier system series-parallel compatible control method further includes: In response to the independent output adjustment signal, the 2N main PWM input terminals are controlled to be connected to the 2N main PWM output terminals in sequence, and independent switching completion flag information is generated; In response to the independent switching completion flag information, 2N fourth PWM control signals are generated, and the 2N fourth PWM control signals are output to the 2N main PWM input terminals in a one-to-one correspondence.
[0062] After the control module 110 adjusts the level state of the switching PWM input terminal according to the independent output adjustment signal, the series-parallel control circuit 120 can be adjusted so that 2N main PWM input terminals are connected to 2N main PWM output terminals in sequence, and before the parallel connection adjustment signal is generated, the common component 100 has been connected to the third optional component 400, forming a bidirectional source-carrier system capable of independent output.
[0063] After the series-parallel control circuit 120 is adjusted based on the independent output adjustment signal, independent switching completion flag information is generated. Because the switching reliability of the switch device is extremely high and the speed is extremely fast, in some embodiments, the control module 110 can delay the switch judgment threshold time after detecting the parallel connection adjustment signal and directly generate independent switching completion flag information.
[0064] When the independent switching completion flag information is detected, the control module 110 will generate 2N fourth PWM control signals, and output the 2N fourth PWM control signals to the 2N main PWM input terminals one by one, wherein the fourth PWM control signals corresponding to each group of first controllable switch devices and second controllable switch devices can be regarded as a group, that is, N groups of fourth PWM control signals complete the control of N groups of first controllable switch devices and second controllable switch devices. In addition, in order to realize the control of each group of independent output BUCK circuits 161, each group of fourth PWM control signals needs to be set to be complementary, that is, in each group of fourth PWM control signals, when one fourth PWM control signal is at a high level, another fourth PWM control signal is at a low level, and vice versa.
[0065] In some embodiments, the bidirectional source-load system further includes a first current detection unit, which is used to detect the current flowing through the output end of any first component and feed back the current to the control module 110 .
[0066] The first current feedback output terminal of the above-mentioned first current detection unit is arranged on the second shell, and the first current detection unit is used to detect the current flowing through any first component output terminal and feed back to the first current feedback output terminal. A first current feedback input terminal detachably connected to the first current feedback output terminal is arranged on the first shell, and the first current feedback input terminal is connected to the control module 110.
[0067] In this embodiment, after the common component 100 and the first optional component 200 are connected, a source-load system for a series scenario is formed, and by setting a first current detection unit in the second shell, effective detection of the output current of the source-load system can be achieved, and the first current detection unit can be connected to the first current feedback input terminal via the first current feedback output terminal, so as to feed back the detected current to the control module 110.
[0068] In some embodiments, the bidirectional source-load system further includes a second current detection unit, which is used to detect the current flowing through the output end of any second component and feed back the current to the control module 110 .
[0069] The second current feedback output terminal of the above-mentioned second current detection unit is arranged on the third shell, and the second current detection unit is used to detect the current flowing through any second component output terminal and feed back to the second current feedback output terminal; a second current feedback input terminal detachably connected to the second current feedback output terminal is arranged on the first shell, and the second current feedback input terminal is connected to the control module 110.
[0070] In this embodiment, after the common component 100 and the second optional component 300 are connected, a source-load system for a parallel scenario is formed, and by setting a second current detection unit in the third shell, effective detection of the output current of the source-load system can be achieved, and the second current detection unit can be connected to the second current feedback input terminal via the second current feedback output terminal, so as to feed back the detected current to the control module 110.
[0071] In some embodiments, N third current detection units are disposed in the fourth shell, and the third current feedback output terminal of each third current detection unit is disposed on the fourth shell, and each third current detection unit is used to detect the current flowing through any third component output terminal in the corresponding power output circuit and feed back to the third current feedback output terminal; N third current feedback input terminals detachably connected to the N third current feedback output terminals are disposed on the first shell, and the N second current feedback input terminals are all connected to the control module 110.
[0072] In this embodiment, after the common component 100 and the third optional component 400 are connected, a source-load system for an independent output scenario is formed, and by arranging N third current detection units in the third shell, it is possible to effectively detect the output current of the N outputs of the source-load system, and each third current detection unit can be connected to the third current feedback input terminal via the corresponding third current feedback output terminal, so as to feed back the detected current to the control module 110.
[0073] In some implementations, the first current detection unit, the second current detection unit, and the third current detection unit may all be understood as current detection units 600 having the same circuit structure.
[0074] refer to Figure 8 The above-mentioned current detection unit 600 includes a PTC resistor, a MOS tube and a sampling resistor for detecting the output current of the bidirectional source-load system. The PTC resistor is encapsulated on the sampling resistor. The gate and drain of the MOS tube are used to connect the driving voltage. The source of the MOS tube is connected to the ground wire through the PTC resistor. The driving voltage and the PTC resistor are set according to the working temperature of the sampling resistor. The working temperature of the sampling resistor is higher than the theoretical working environment temperature in the bidirectional source-load system.
[0075] The working principle of the above-mentioned current detection unit 600 is as follows. When no current flows through the PTC resistor, the source of the MOS tube is grounded. At this time, the MOS tube is turned on and works in the linear region because of the gate driving voltage. Current begins to flow through the PTC resistor, the PTC resistor will start to heat up, and the resistance will also increase accordingly. At this time, the voltage difference between the gate and the source of the MOS tube begins to gradually decrease, the current flowing through the PTC resistor will also decrease, and the PTC resistor will start to cool down. At this point, a negative feedback mechanism is formed by using the MOS tube and the PTC resistor, which can control the temperature of the sampling resistor within an ideal range.
[0076] The operating temperature of the sampling resistor is higher than the theoretical working environment temperature in the bidirectional source-load system, so that the sampling resistor can only passively dissipate heat due to the influence of the environment, and will not heat up due to environmental reasons, so that the negative feedback mechanism formed by the MOS tube and the PTC resistor can better complete the heating control.
[0077] The sampling temperature of the sampling resistor or the ideal temperature of the PTC resistor heating can be set at about 85° C., so that it can adapt to more usage environments while ensuring low costs.
[0078] In some implementations, the control module 110 performs a current sampling process based on the current detection unit 600 as follows: Acquire current filter output data, where the current filter output data is obtained by filtering multiple current sampling data currently collected by the sampling resistor; Determine the fitting error between the current filter output data currently obtained and the fitting curve function; the fitting curve function is obtained by fitting a plurality of continuous current filter output data; When the fitting error exceeds the preset error threshold, the fitting curve function is optimized using the current filter output data obtained at present; When the fitting error does not exceed the preset error threshold, the current filter output data currently obtained is input into the error analysis network model obtained in advance to obtain the prediction error corresponding to the current filter output data currently obtained; The current sampling current target data is obtained according to the current filtered output data obtained currently and the prediction error corresponding to the current filtered output data obtained currently.
[0079] In the embodiment of the present application, by selecting a sampling resistor whose operating temperature is higher than the theoretical working environment temperature in the bidirectional source-carrying system, and encapsulating a PTC resistor for heating on the sampling resistor, the temperature control of the PTC heating resistor can be realized by using a MOS tube, so that the sampling resistor is maintained at an ideal working temperature, thereby maintaining a high sampling accuracy; at the same time, the sampling results of the sampling resistor are analyzed by adding filtering processing, error analysis processing based on iterative fitting, and error analysis processing based on model judgment, so as to obtain high-precision current sampling data. In the embodiment of the present application, only the PTC resistor and the MOS tube are added to complete the temperature control of the sampling resistor. Compared with the traditional fan temperature control method, the cost is greatly reduced, and the shortcomings of the fan are solved.
[0080] When the sampling resistor collects current sampling data, the data is collected continuously. For example, L current sampling data may be collected continuously at the same time interval.
[0081] The above-mentioned current filtering output data is obtained by filtering according to L current sampling data, that is, it can be understood that a piece of collected data with higher accuracy is obtained by using L current sampling data.
[0082] The above-mentioned fitting curve function is based on multiple current filter output data. The initial fitting curve function can be determined based on the initial multiple current filter output data. In actual engineering, the fitting curve function has been determined in the factory before the source load equipment is delivered from the factory.
[0083] When the current filter output data is obtained, an error analysis is performed with the fitting curve function to obtain a fitting error, and then based on the fitting error, it can be determined whether the current filter output data meets the requirements, and then it can be determined whether the fitting curve function needs to be optimized.
[0084] The above fitting error exceeds the preset threshold value allowed by the error, which can be understood as the error is too large. At this time, the current filter output data currently obtained can be used to optimize the fitting curve function, and the current filter output data currently obtained is no longer output to the error analysis network model, and the subsequent steps of calibration using the predicted error will not be executed. Instead, the current filter output data will be re-acquired and the fitting error analysis will be performed on the current filter output data until the current filter output data that meets the fitting error is obtained. Then, the current filter output data is input into the error analysis network model to obtain the predicted error.
[0085] After the above prediction error is obtained, it can be calibrated with the current current filter output data to obtain the final sampling current target data.
[0086] To construct the above-mentioned error analysis network model, it is first necessary to extract the fitted current filter output data into a feature set as the input layer of the neural network, and then train the neural network model using the features in the extracted feature set and the corresponding true values. The network parameters are continuously optimized based on the back propagation algorithm and gradient descent method, and finally an error analysis network model that meets the requirements is obtained.
[0087] The above true values can be collected by high-precision measuring equipment.
[0088] In some implementations, obtaining current filtering output data includes: Acquire multiple current sampling data collected by the sampling resistor, and record the multiple current sampling data as a filtering operation queue, and the sampling time intervals of two adjacent current sampling data are the same; Performing a filtering operation on the filtering operation queue to obtain a current intermediate output data; When the current intermediate output data meets the preset filtering requirements, the current intermediate output data is recorded as the current filtering output data; When the current intermediate output data does not meet the preset filtering requirements, the filtering strategy is executed to obtain the current filtering output data; Filtering strategies include: Re-acquire multiple current sampling data collected by the sampling resistor; updating the filtering operation queue according to the current intermediate output data and the reacquired multiple current sampling data; Execute filtering operation on the filtering operation queue and update the current intermediate output data; When the current intermediate output data meets the preset filtering requirements, the current intermediate output data is recorded as the current filtering output data; When the intermediate current output data does not meet the preset filtering requirement, the process jumps to re-acquiring multiple current sampling data collected by the sampling resistor.
[0089] In this embodiment, after performing a filtering operation on the filtering operation queue to obtain current intermediate output data, if the current intermediate output data does not meet the preset filtering requirements, multiple current sampling data will be reacquired, and the current intermediate output data and the reacquired multiple current sampling data will be used to construct a new filtering operation queue, and the new filtering operation queue will be filtered to obtain new current intermediate output data, and the preset filtering requirements will be judged on the new current intermediate output data until the current intermediate output data that can meet the preset filtering requirements is obtained, that is, the current filtered output data is obtained.
[0090] In some embodiments, the initial fitting curve function is obtained by the following steps: Determine a fitting data set according to initial L continuous current filter output data, wherein the L current filter output data are arranged in sequence in the fitting data set, and the acquisition time corresponding to the current filter output data with a higher ranking is earlier than the acquisition time corresponding to the current filter output data with a lower ranking; A fitting operation is performed according to the fitting data set and the pre-acquired fitting function model to obtain an initial fitting curve function.
[0091] In this embodiment, the fitting data set can be determined by using the initially collected L continuous current filter output data, and then the initial fitting curve function can be determined based on the fitting data set and the pre-acquired fitting function model. Subsequently, when the L+1th current filter output data is obtained, the fitting curve function can be optimized.
[0092] In some embodiments, the fitting curve function is optimized using the current filtered output data obtained, including: The current filter output data at the first position in the fitting data set is removed, and the current filter output data currently obtained is placed at the last position in the fitting data set to obtain an updated fitting data set; The updated fitting data set and fitting function model are used to perform fitting operations to obtain an optimized fitting curve function.
[0093] In this embodiment, if the fitting curve function needs to be optimized, it means that the current filter output data currently obtained does not meet the preset threshold value of the error allowance, and a new fitting data set can be constructed by removing the earliest data in the fitting data set and adding the current current filter output data as the latest data to the fitting data set, and then the fitting operation can be completed based on the new fitting data set to obtain the optimized fitting curve function. In this embodiment, by continuously incorporating new current filter output data, the fitting curve function can be continuously optimized, so that the used fitting curve function can better meet the needs of practical applications. For example, even when the data change law changes due to changes in factors such as changes in the environment, adaptive adjustment can be quickly completed to obtain a fitting curve function that meets the needs.
[0094] In some embodiments, the bidirectional source-carrying system sampling method further includes: When the fitting error between the current filter output data obtained M times in succession and the fitting curve function exceeds the preset threshold value allowed by the error, poor fitting prompt information is generated.
[0095] In this embodiment, taking into account that the current filter output data obtained for multiple consecutive times cannot maintain a small error with the previously constructed fitting curve function, at this time, it is necessary to consider whether there are major changes in the hardware circuit or the operating environment, and then a poor fitting prompt message can be generated to prompt the user, so that the user can discover the problem in time to determine whether there is a fault.
[0096] In some embodiments, the bidirectional source-carrying system sampling method further includes: Determine the fitting curve function corresponding to the smallest one among the continuous M fitting errors as the current better fitting curve function; The current filter output data corresponding to the current optimal fitting curve function is input into the error analysis network model obtained in advance to obtain the prediction error corresponding to the current filter output data obtained currently.
[0097] In this embodiment, considering that the current filtering output data obtained for multiple consecutive times cannot maintain a small error with the previously constructed fitting curve function, at this time, a fitting curve function with the smallest fitting error can be selected from the M fitting curve functions as the current optimal fitting curve function, and the current filtering output data corresponding to the current optimal fitting curve function is input as the output result into the error analysis network model so that the method flow can continue to execute.
[0098] In some implementations, multiple current filter output data with fitting errors that meet requirements may be stored so that the error analysis network model can be subsequently updated and trained using the current filter output data so that the error analysis network model can better adapt to various scene changes.
[0099] In some embodiments, an overvoltage protection unit 500 is disposed in the first shell, and the overvoltage protection unit 500 has a voltage signal detection terminal disposed on the first shell, and the second shell is provided with a first voltage feedback terminal detachably connected to the voltage signal detection terminal, and the first voltage feedback terminal is used to feed back the voltage between the two first component output terminals, and the third shell is provided with a second voltage feedback terminal detachably connected to the voltage signal detection terminal, and the second voltage feedback terminal is used to feed back the voltage between the two second component output terminals.
[0100] The overvoltage protection unit 500 can provide overvoltage protection, and can perform voltage protection when it is detected that the output voltage of the source-load system exceeds a preset threshold value, for example, stopping the output of the source-load system.
[0101] The above-mentioned overvoltage protection unit 500 can be arranged in the first shell, and the second shell and the third shell only need to use connecting wires to lead the voltage at the output end of the source-load system to the first voltage feedback end and the second voltage feedback end. The overvoltage protection unit 500 can complete the electrical connection with the first voltage feedback end or the second voltage feedback end through the voltage signal detection end arranged on the first shell, thereby realizing the detection of the voltage at the output end of the source-load system.
[0102] In some embodiments, an overvoltage protection unit 500 is disposed in the first shell, and the overvoltage protection unit 500 has N voltage signal detection terminals arranged on the first shell, and the fourth shell is provided with N third voltage feedback terminals corresponding to the N power output circuits, each third voltage feedback terminal is used to feed back the voltage between the two third component output terminals of the corresponding power output circuit to the corresponding third voltage feedback terminal, and the N third voltage feedback terminals are detachably connected to the N voltage signal detection terminals.
[0103] The overvoltage protection unit 500 can provide overvoltage protection, and can perform voltage protection when it is detected that the output voltage of the source-load system exceeds a preset threshold value, for example, stopping the output of the source-load system.
[0104] The above-mentioned overvoltage protection unit 500 can be arranged in the first shell, and the second shell, the third shell, and the fourth shell only need to use connecting wires to lead the voltage at the output end of the source-load system to the first voltage feedback end, the second voltage feedback end, and the third voltage feedback end. The overvoltage protection unit 500 can complete the electrical connection with the first voltage feedback end, the second voltage feedback end, or the third voltage feedback end through the voltage signal detection end arranged on the first shell, thereby realizing the detection of the voltage at the output end of the source-load system.
[0105] The third optional component 400 is designed for scenarios requiring multiple independent outputs, and N third voltage feedback terminals are provided in the fourth shell for leading out N voltage feedback signals to N overvoltage protection units 500 , and further connected to the control module 110 through the overvoltage protection units 500 .
[0106] In some embodiments, the overvoltage protection unit 500 includes: The first voltage dividing unit 510 has a first connection end for connecting to the output end of the bidirectional source-carrying system, a second connection end for connecting to the ground line, and a first voltage dividing output end; The second voltage dividing unit 520 has a third connection terminal for connecting to the output terminal of the bidirectional source-carrying system, a fourth connection terminal for connecting to the ground line, and a second voltage dividing output terminal; The analog-to-digital conversion unit 530 has an input terminal connected to the first voltage-dividing output terminal; A comparison unit 540, wherein a first input terminal is connected to the second voltage-dividing output terminal, and a second input terminal is used to access a reference voltage; The control module 110 has a collection communication terminal connected to the output terminal of the analog-to-digital conversion unit 530, an analog-to-digital input terminal connected to the second voltage-dividing output terminal, and a PWM control signal output terminal, and is used to adjust the output state of the PWM control signal output terminal according to the first voltage data obtained through the collection communication terminal and the second voltage data obtained through the analog-to-digital input terminal, so as to maintain the output or cut off the output of the bidirectional source-carrier system; wherein the collection accuracy of the analog-to-digital conversion unit 530 is higher than the collection accuracy of the analog-to-digital input terminal of the control module 110; The diode unit has an anode connected to the PWM control signal output terminal, and a cathode connected to the output terminal of the comparison unit 540 .
[0107] In this embodiment, two-way collection of the output voltage of the bidirectional source-load system can be achieved through the first voltage divider unit 510 and the second voltage divider unit 520. A layer of software protection can be completed based on the first voltage divider unit 510, a layer of software protection can be completed based on the second voltage divider unit 520, a layer of hardware protection can be completed based on the second voltage divider unit 520, the comparison unit 540 and the diode unit, and a layer of software protection can be completed based on the first voltage divider unit 510 and the second voltage divider unit 520, thereby achieving multiple layers of software protection and a layer of hardware protection, thereby effectively reducing the risk brought by a single overvoltage protection means. In addition, the electronic devices used in the embodiment of the present application are relatively few, the structure is simple, and the electronic devices are reused to a certain extent, which effectively improves the overvoltage protection capability at a lower cost.
[0108] The first voltage divider unit 510 and the second voltage divider unit 520 can both divide the output voltage of the bidirectional source-load output system. Specifically, for the bidirectional source-load output system formed by the combination of the common component 100 and the first optional component 200, the output end of the first component can be divided, for the bidirectional source-load output system formed by the combination of the common component 100 and the second optional component 300, the output end of the second component can be divided, and for the bidirectional source-load output system formed by the combination of the common component 100 and the third optional component 400, the overvoltage protection unit 500 of the bidirectional source-load system can be set for each group of the output end of the third component, so that the output end of each group of the third component can be divided.
[0109] The analog-to-digital conversion unit 530 has a higher sampling accuracy than the analog-to-digital sampling accuracy of the control module 110, and can provide a more accurate overvoltage detection capability. The analog-to-digital conversion unit 530 with high-precision sampling capability can transmit the sampling result to the acquisition communication terminal of the control module 110 through a communication interface, and the communication method can be one of the communication methods such as SPI, I2C, and UART.
[0110] The voltage output by the first voltage divider unit 510 is converted by the analog-to-digital conversion unit 530 and then transmitted to the control module 110 to obtain the first voltage data. The first voltage data can be compared with a preset voltage threshold, and when the voltage is higher than the preset voltage threshold, the control module 110 can stop the output of the PWM control signal output terminal.
[0111] The voltage output by the second voltage divider unit 520 is converted by analog-to-digital conversion through the analog-to-digital conversion channel of the control module 110 to obtain second voltage data. The second voltage data can be compared with a preset voltage threshold, and when it is higher than the preset voltage threshold, the control module 110 can stop the output of the PWM control signal output terminal.
[0112] The diode unit includes a plurality of diodes, the number of which is usually consistent with the number of PWM control signal output terminals of the control module 110. The PWM control signal output terminals include a switching PWM control terminal and 2N main PWM control terminals, each of which is connected to the output terminal of the comparator through a diode. The voltage divided by the first voltage divider is output to the comparison unit 540, which is compared with the reference voltage by the comparison unit 540. When the voltage is lower than the reference voltage, the comparison unit 540 directly outputs a low level, pulls down the switching PWM control terminal and the 2N main PWM control terminals, and stops the output of the N-way BUCK circuit 161.
[0113] In some embodiments, the first voltage dividing unit 510 includes: A first voltage-dividing resistor R1, one end of which is used to connect to the output end of the bidirectional source-carrying system, and the other end of which is used as a first voltage-dividing output end; The second voltage-dividing resistor R2 has one end connected to the other end of the first voltage-dividing resistor R1 , and the other end connected to the ground wire.
[0114] In this implementation, the output voltage of the bidirectional source-load system can be divided by using the first voltage-dividing resistor R1 and the second voltage-dividing resistor R2.
[0115] In some embodiments, the second voltage dividing unit 520 includes: A third voltage-dividing resistor R3, one end of which is used to connect to the output end of the bidirectional source-load system, and the other end of which is used as a second voltage-dividing output end; The fourth voltage-dividing resistor R4 has one end connected to the other end of the first voltage-dividing resistor R1 , and the other end connected to the ground line.
[0116] In this implementation, the output voltage of the bidirectional source-load system can be divided by using the third voltage-dividing resistor R3 and the fourth voltage-dividing resistor R4.
[0117] In some implementations, the control module 110 is connected to a variety of different types of communication interfaces.
[0118] In this embodiment, the control module 110 has a variety of different types of communication interfaces, so that it can support communication with more different devices, and can also have different data transmission capabilities to meet different application requirements. For example, when faced with the need for rapid remote upgrades, high-speed communication can be completed using an interface with high-speed transmission capabilities. When there is no need for rapid data interaction, a low-speed interface can be used to complete communication.
[0119] The above-mentioned various types of communication interfaces may include SPI, CAN, SCI, I2C, Ethernet and optical fiber, etc. On a bidirectional source-carrying device, the specific communication interface to be selected may be determined based on actual application requirements.
[0120] In some embodiments, the bidirectional source-carrier system series-parallel compatible control method further includes: Step S310, obtaining first voltage data collected by the communication terminal at the current moment; Step S320, obtaining the second voltage data collected by the analog-to-digital input terminal at the current moment; Step S330, performing digital signal preprocessing on the first voltage data at the current moment and within a preset time length before the current moment to obtain third voltage data; Step S340, performing digital signal preprocessing on the second voltage data at the current moment and within a preset time length before the current moment to obtain fourth voltage data; Step S350: When the first voltage data, the second voltage data, the third voltage data or the fourth voltage data is greater than a preset voltage threshold, the bidirectional source-load system is controlled to cut off output.
[0121] The bidirectional source-load system series-parallel compatible control method in the embodiment of the present application is implemented based on the above-mentioned bidirectional source-load system overvoltage protection unit 500. The bidirectional source-load system overvoltage protection unit 500 has been described in detail above and will not be repeated here.
[0122] The digital signal preprocessing includes but is not limited to data scaling, filtering, conversion and other processing, so that the voltage data entering the control module 110 can have less interference and higher accuracy.
[0123] The above filtering process can use complex algorithms such as FFT and FIR filters, which can deeply analyze the frequency components and noise in the sampled signal, thereby providing more accurate and reliable overvoltage protection.
[0124] The above judgments on the first voltage data, the second voltage data, the third voltage data, and the fourth voltage data can be understood as redundant judgments, and the redundant judgment method can effectively improve the accuracy of the judgment. In addition, the judgments on the third voltage data and the fourth voltage data are obtained based on the data signal preprocessing, so the interference of some abnormal factors can be better eliminated.
[0125] The first voltage data and the second voltage data may be subjected to simple filtering processing when entering the control module 110 to avoid interference from a single abnormal data.
[0126] In some embodiments, the control module 110 is connected to a plurality of different types of communication interfaces, and the plurality of communication interfaces are all used to connect to a host computer device; The bidirectional source-carrier system series-parallel compatible control method also includes: In response to the system upgrade instruction, complete hardware initialization; Selecting a target communication interface from a plurality of communication interfaces according to the pre-acquired upgrade bus information; Obtain the upgrade data packet transmitted from the host device to the target communication interface; Verify the upgrade data packet and obtain the verification result; When the verification result indicates that the upgrade data package is complete, the software upgrade is completed using the upgrade data package.
[0127] In this embodiment, by introducing a variety of communication interfaces, in actual applications, users can flexibly select the appropriate communication port for upgrading according to the specific configuration of the device and the network environment. For example, in the scenario of pursuing high-speed data transmission, the Ethernet interface is undoubtedly the first choice, which can ensure that data is transmitted in a very short time, greatly improving the upgrade efficiency. In the scenario of multiple machines in parallel, the fiber optic interface is specially designed for the application of high-speed parallel operation of multiple source-load integrated machines, which can realize US-level parallel communication and ensure that the performance after parallel operation is consistent with that of a single machine. In situations where low power consumption and long-distance transmission are required, CAN or SPI interfaces are more suitable. They can reduce energy consumption and costs while ensuring stable data transmission. In addition, during the data transmission process, the system will implement strict verification and verification mechanisms to ensure the integrity and accuracy of the data.
[0128] The above initialization process may specifically include the following: first, the software and hardware currently running in the control module 110 will temporarily stop working, and then the hardware will be initialized, which may include the initialization of variables, memory and peripherals, and the setting of stacks and interrupts, as well as the conversion of ISK vector tables, etc. After completing the above initialization process, the BootLoader program is activated, and then the transmission of upgrade data can be started, and subsequent upgrade operations can be started.
[0129] The bidirectional source-carrying system serial-parallel compatible control method provided in the embodiment of the present application can be executed by a bidirectional source-carrying system serial-parallel compatible control device. In the embodiment of the present application, the bidirectional source-carrying system serial-parallel compatible control method is executed by a bidirectional source-carrying system serial-parallel compatible control device as an example to illustrate the bidirectional source-carrying system serial-parallel compatible control method provided in the embodiment of the present application.
[0130] The embodiment of the present application further provides a bidirectional source-carrying system serial-parallel compatible control device, the bidirectional source-carrying system serial-parallel compatible control device comprising: A first switching module, in response to a serial connection adjustment signal, controls the connection between the first-order main PWM input terminal and the odd-order main PWM output terminals, controls the connection between the second-order main PWM input terminal and the even-order main PWM output terminals, and generates serial switching completion flag information; A first signal generating module, configured to generate a first PWM control signal and a second PWM control signal in response to the series switching completion flag information, and output the first PWM control signal to a first secondary main PWM input terminal, and output the second PWM control signal to a second secondary main PWM input terminal, wherein the first PWM control signal and the second PWM control signal have the same frequency, the same duty cycle, and complementary signals; A second switching module, for controlling the 2N main PWM input terminals to be connected to the 2N main PWM output terminals in sequence in response to the parallel connection adjustment signal, and generating parallel switching completion flag information; The second signal generating module is used to generate 2N third PWM control signals in response to the parallel switching completion mark information, and output the 2N third PWM control signals to the 2N main PWM input terminals one by one, wherein the 2N third PWM control signals have the same frequency and the same duty cycle, and the signals of the third PWM control signals corresponding to each group of the first controllable switch devices and the second controllable switch devices are complementary.
[0131] The bidirectional source-carrying system serial-parallel compatible control device in the embodiment of the present application can be an electronic device, or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (Ultra-mobile perSonal CompUter, UMPC), a netbook or a personal digital assistant (perSonal digitalaSSiStant, PDA), etc. It can also be a server, a network attached storage (Network AttaChed Storage, NAS), a personal computer (perSonal CompUter, PC), a television (teleViSion, tV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0132] The embodiment of the present application also provides a source meter, including the above-mentioned detachable combined bidirectional source-carrying system. The source meter provided in the embodiment of the present application can implement the various processes implemented by the above-mentioned detachable combined bidirectional source-carrying system embodiment and achieve the same beneficial effects. To avoid repetition, it will not be repeated here.
[0133] An embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions. The computer-executable instructions are executed by a processor or a control module, so that the above-mentioned processor can execute the series-parallel compatible control method of the bidirectional source-load system in the above-mentioned embodiment, for example, execute the method described above.
[0134] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0135] The functional blocks shown in the above structural block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0136] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0137] Aspects of the present disclosure are described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the functions / actions specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0138] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A bidirectional source-carrier system series-parallel compatible control method, characterized in that: The bidirectional source-load system comprises a common component, a first optional component, a second optional component, and a control module. The common component comprises a power input module, a three-phase rectifier module, and an LLC module connected in sequence. The LLC module comprises N LLC circuits connected to the output end of the three-phase rectifier module. A first controllable switch device and a second controllable switch device are connected in series between the first output end and the second output end of each LLC circuit. The two connection ends of the second controllable switch device are used as the first common connection end and the second common connection end. The first optional component is used to connect the N groups of the first common connection end and the second common connection end. The common connection terminals are sequentially connected in series, and the power supply is output in series through the two first component output terminals; the second optional component is used to connect N first common connection terminals in parallel, connect N second common connection terminals in parallel, and output the power supply in parallel through the two second component output terminals; N is a positive integer; the common component also includes a series-parallel control circuit, and the series-parallel control circuit has a switching PWM input terminal, 2N main PWM input terminals arranged in sequence, and 2N main PWM output terminals arranged in sequence corresponding to the controlled terminals of N groups of the first controllable switch devices and the controlled terminals of the second controllable switch devices; The bidirectional source-carrier system series-parallel compatible control method comprises: In response to the serial connection adjustment signal, controlling the connection between the first-order main PWM input terminal and the odd-order main PWM output terminal, controlling the connection between the second-order main PWM input terminal and the even-order main PWM output terminal, and generating serial switching completion flag information; In response to the series switching completion flag information, generate a first PWM control signal and a second PWM control signal, and output the first PWM control signal to the first-order main PWM input terminal, and output the second PWM control signal to the second-order main PWM input terminal, wherein the first PWM control signal and the second PWM control signal have the same frequency, the same duty cycle, and complementary signals; In response to the parallel connection adjustment signal, the 2N main PWM input terminals are controlled to be connected to the 2N main PWM output terminals in sequence, and parallel switching completion flag information is generated; In response to the parallel switching completion flag information, 2N third PWM control signals are generated, and the 2N third PWM control signals are output one-to-one to the 2N main PWM input terminals, wherein the 2N third PWM control signals have the same frequency and duty cycle, and the signals of the third PWM control signals corresponding to each group of the first controllable switch devices and the second controllable switch devices are complementary.
2. The bidirectional source-carrier system series-parallel compatible control method according to claim 1, characterized in that: The first PWM control signal corresponds to setting a first timer, and the second PWM control signal corresponds to setting a second timer; The first PWM control signal and the second PWM control signal are obtained by the following steps: In response to the series switching completion flag information, the first trigger source is controlled to simultaneously output a trigger signal to the first timer and the second timer, so that the control module simultaneously outputs the first PWM control signal and the second PWM control signal based on the first timer and the second timer.
3. The bidirectional source-carrier system series-parallel compatible control method according to claim 1, characterized in that: The third PWM control signals corresponding to N groups of the first controllable switch devices and the second controllable switch devices correspond to N third timers; The third PWM control signal of 2N channels is obtained by the following steps: In response to the parallel switching completion flag information, based on the basic PWM signal generated by the fourth timer, the basic PWM signal has the same frequency and the same duty cycle as the 2N-channel third PWM control signal; Taking the basic PWM signal as a reference, 2N third PWM control signals are generated by using N third timers.
4. The bidirectional source-carrier system series-parallel compatible control method according to claim 3, characterized in that: The offset phase differences between the third PWM control signals corresponding to two adjacent groups of the first controllable switch devices and the second controllable switch devices are the same.
5. The bidirectional source-carrier system series-parallel compatible control method according to claim 1, characterized in that: The bidirectional source-carrying system further includes a third optional component, the third optional component including N power output circuits, each of the N power output circuits having two third component input terminals and two third component output terminals, and the two third component input terminals of each power output circuit are detachably connected to each set of the first common connection terminal and the second common connection terminal; The bidirectional source-carrier system series-parallel compatible control method further includes: In response to the independent output adjustment signal, controlling the 2N main PWM input terminals to be connected to the 2N main PWM output terminals in sequence, and generating independent switching completion flag information; In response to the independent switching completion flag information, 2N fourth PWM control signals are generated, and the 2N fourth PWM control signals are output to the 2N main PWM input terminals in a one-to-one correspondence.
6. The bidirectional source-carrier system series-parallel compatible control method according to claim 1, characterized in that: The bidirectional source-load system further includes a first current detection unit, which is used to detect the current flowing through any output end of the first component and feed back the current to the control module.
7. The bidirectional source-carrier system series-parallel compatible control method according to claim 1, characterized in that: The bidirectional source-load system further includes a second current detection unit, which is used to detect the current flowing through any output end of the second component and feed back the current to the control module.
8. A bidirectional source-carrier system series-parallel compatible control device, characterized in that: The bidirectional source-load system comprises a common component, a first optional component, a second optional component, and a control module. The common component comprises a power input module, a three-phase rectifier module, and an LLC module connected in sequence. The LLC module comprises N LLC circuits connected to the output end of the three-phase rectifier module. A first controllable switch device and a second controllable switch device are connected in series between the first output end and the second output end of each LLC circuit. The two connection ends of the second controllable switch device are used as the first common connection end and the second common connection end. The first optional component is used to connect the N groups of the first common connection end and the second common connection end. The common connection terminals are sequentially connected in series, and the power supply is output in series through the two first component output terminals; the second optional component is used to connect N first common connection terminals in parallel, connect N second common connection terminals in parallel, and output the power supply in parallel through the two second component output terminals; N is a positive integer; the common component also includes a series-parallel control circuit, and the series-parallel control circuit has a switching PWM input terminal, 2N main PWM input terminals arranged in sequence, and 2N main PWM output terminals arranged in sequence corresponding to the controlled terminals of N groups of the first controllable switch devices and the controlled terminals of the second controllable switch devices; The bidirectional source-carrier system series-parallel compatible control device comprises: a first switching module, configured to control the connection between the first-order main PWM input terminal and the odd-order main PWM output terminal in response to the serial connection adjustment signal, control the connection between the second-order main PWM input terminal and the even-order main PWM output terminal, and generate serial switching completion flag information; a first signal generating module, configured to generate a first PWM control signal and a second PWM control signal in response to the series switching completion flag information, and output the first PWM control signal to the first-order main PWM input terminal, and output the second PWM control signal to the second-order main PWM input terminal, wherein the first PWM control signal and the second PWM control signal have the same frequency, the same duty cycle, and complementary signals; A second switching module, configured to control the 2N main PWM input terminals to be connected to the 2N main PWM output terminals in sequence in response to a parallel connection adjustment signal, and to generate parallel switching completion flag information; The second signal generating module is used to generate 2N third PWM control signals in response to the parallel switching completion flag information, and output the 2N third PWM control signals to 2N main PWM input terminals one by one, wherein the 2N third PWM control signals have the same frequency and duty cycle, and the signals of the third PWM control signals corresponding to each group of the first controllable switch devices and the second controllable switch devices are complementary.
9. An electronic device, characterized in that: The electronic device comprises a processor and a memory storing computer program instructions; When the processor executes the computer program, the series-parallel compatible control method of the bidirectional source-load system as described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the series-parallel compatible control method for a bidirectional source-load system as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Power based on IGBT connection in series -parallel
CN204835917U
Linear constant current control circuit based on LED lamp mode automatic switching
CN219876202U
Multi-stage driver system architecture
US20210265907A1
Bidirectional power conversion topology for power battery test excitation power supply, method and system
WO2024050925A1