Power supply identification circuit and power supply identification method
By designing a power identification circuit and using a detection module and a switching module to determine the power supply mode, the problem of mismatch between the power system operation mode and the power supply mode in multi-electric aircraft is solved, and stable power supply to the load is achieved.
Patent Information
- Application Number
- CN202510933193.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-07
- Publication Date
- 2025-10-28
AI Technical Summary
The lack of accurate identification of the power supply mode of multi-electric aircraft in the existing technology leads to a mismatch between the power system operation mode and the power supply mode, resulting in the problem of load power failure.
Design a power supply identification circuit. The first detection module and the second detection module detect the voltage between the positive terminal of the power supply and the reference voltage terminal, and the voltage between the reference voltage terminal and the negative terminal, respectively. Combined with the conduction time of the first switching module and the second switching module, the threshold is used to determine whether the power supply mode is a three-wire positive and negative DC power supply mode or a two-wire DC power supply mode.
It enables accurate identification of the power supply mode of multi-electric aircraft, avoiding load power outages caused by mismatched power supply modes, and improving the stability and reliability of the power supply system.
Smart Images

Figure CN120847660A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of power management technology for multi-electric aircraft, and particularly relates to a power identification circuit and a power identification method. Background Technology
[0002] In multi-electric aircraft, the power supply modes include three-wire positive and negative DC power supply and two-wire DC power supply. The power supply system can adjust its operating mode accordingly to power the load for different power supply modes. Therefore, accurate identification of the power supply mode is crucial. Consequently, a solution for accurately detecting the power supply mode is urgently needed. Summary of the Invention
[0003] This application provides a power identification circuit and a power identification method that can accurately determine the power supply mode of a multi-electric aircraft.
[0004] In a first aspect, embodiments of this application provide a power identification circuit, including:
[0005] The first detection module has its first terminal electrically connected to the positive terminal of the power supply and its second terminal electrically connected to the reference voltage terminal.
[0006] The second detection module has its first terminal electrically connected to the reference voltage terminal and its second terminal electrically connected to the negative terminal of the power supply.
[0007] The first switching module has a first terminal electrically connected to the reference voltage terminal, and a second terminal electrically connected to both the second terminal of the first detection module and the first terminal of the second detection module.
[0008] The second switch module has its first terminal electrically connected to the second terminal of the second detection module, and its second terminal is electrically connected to the negative terminal of the power supply.
[0009] The power identification circuit is configured as follows:
[0010] In a first time period, the first switch module is turned on, and the first detection module outputs a first voltage; in a second time period, the second switch module is turned on, and the second detection module outputs a second voltage; wherein the second time period is later than the first time period.
[0011] If, during the first time period, the first voltage is greater than or equal to the first threshold and the second voltage is less than the second threshold, and during the second time period, the first voltage is greater than or equal to the first threshold and the second voltage is greater than or equal to the second threshold, then the power supply mode of the power source is determined to be a three-wire positive and negative DC power supply mode; or
[0012] If the first voltage is less than the first threshold and the second voltage is less than the second threshold during the first time period, and if the first voltage is greater than or equal to the first threshold and the second voltage is greater than or equal to the second threshold during the second time period, the power supply mode of the power supply is determined to be a two-wire DC power supply mode.
[0013] Secondly, embodiments of this application provide a power identification method applied to the power identification circuit of the first aspect, the method comprising:
[0014] During the first time period, the first switch module is turned on, and the first voltage output by the first detection module is acquired;
[0015] In the second time period, the second switch module is turned on, and the second voltage output by the second detection module is acquired; wherein, the second time period is later than the first time period;
[0016] If, during the first time period, the first voltage is greater than or equal to the first threshold and the second voltage is less than the second threshold, and during the second time period, the first voltage is greater than or equal to the first threshold and the second voltage is greater than or equal to the second threshold, then the power supply mode of the power source is determined to be a three-wire positive and negative DC power supply mode; or
[0017] If the first voltage is less than the first threshold and the second voltage is less than the second threshold during the first time period, and if the first voltage is greater than or equal to the first threshold and the second voltage is greater than or equal to the second threshold during the second time period, the power supply mode of the power source is determined to be a two-wire DC power supply mode.
[0018] Thirdly, embodiments of this application provide an electronic device, the device comprising:
[0019] Processor and memory storing computer program instructions;
[0020] The processor executes the power identification method described in the second aspect when executing computer program instructions.
[0021] Fourthly, embodiments of this application provide a computer storage medium storing computer program instructions, which, when executed by a processor, implement the power identification method described in the second aspect.
[0022] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when processed by a processor, implements the power identification method of the second aspect described above.
[0023] The power identification circuit and method provided in this application embodiment detect the voltage between the positive terminal and the reference voltage terminal by a first detection module connected to the positive terminal and the reference voltage terminal, and detect the voltage between the reference voltage terminal and the negative terminal by a second detection module connected to the reference power terminal and the negative terminal respectively; by turning on the first switch module in the first time period and outputting a first voltage by the first detection module, and controlling the second switch module to turn on in the second time period and outputting a second voltage by the second detection module, the power supply mode of the power supply is determined based on the relationship between the first voltage and the first threshold and the relationship between the second voltage and the second threshold, thus filling the gap in the prior art of lacking detection of the power supply mode of the power supply. Attached Figure Description
[0024] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 This is a schematic diagram of a power identification circuit provided for some embodiments of this application.
[0026] Figure 2 This is a schematic diagram of another power identification circuit provided for some embodiments of this application.
[0027] Figure 3 This is a schematic diagram of yet another power identification circuit provided for some embodiments of this application.
[0028] Figure 4 This is a schematic diagram of a power supply system provided for some embodiments of this application.
[0029] Figure 5 This is a schematic diagram of a power identification method provided in some embodiments of this application.
[0030] Figure 6 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0031] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.
[0032] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0033] Before describing the technical solutions provided in the embodiments of this application, in order to facilitate understanding of the embodiments of this application, this application first specifically explains the problems existing in the related technologies:
[0034] Currently, multi-electric aircraft primarily rely on a power supply system, including a power source, to power the load. This power source offers two different power supply modes: a three-wire positive and negative DC power supply mode and a two-wire DC power supply mode. In the three-wire positive and negative DC power supply mode, the power source provides a positive voltage through the positive terminal, a negative voltage through the negative terminal, and a reference voltage terminal as a reference potential. In the two-wire DC power supply mode, the power source provides a positive voltage through the positive terminal and forms a circuit with the positive terminal through the reference voltage terminal as a reference potential.
[0035] Furthermore, based on different power supply modes, the load needs to switch to the corresponding operating mode in order for the power supply system to supply power to the load normally. However, existing technology lacks a scheme to identify different power supply modes, resulting in a problem of load power outages caused by the mismatch between the power system's operating mode and the power supply mode.
[0036] Based on this, embodiments of this application provide a power identification circuit and a power identification method that can solve the above problems. The power identification circuit provided in the embodiments of this application will be described in detail below.
[0037] In some embodiments, such as Figure 1 As shown, this application embodiment provides a power identification circuit, which may include:
[0038] The first detection module 101 has its first terminal electrically connected to the positive terminal V+ of the power supply, and its second terminal electrically connected to the reference voltage terminal GND.
[0039] The second detection module 102 has its first terminal electrically connected to the reference voltage terminal GND, and its second terminal electrically connected to the negative terminal V- of the power supply.
[0040] The first switch module 103 has its first terminal electrically connected to the reference voltage terminal GND, and its second terminal is electrically connected to the second terminal of the first detection module 101 and the first terminal of the second detection module 102.
[0041] The second switch module 104 has its first terminal electrically connected to the second terminal of the second detection module 102, and its second terminal electrically connected to the negative terminal V- of the power supply.
[0042] like Figure 1 As shown, a first detection module 101 can be set between the positive terminal V+ of the power supply and the reference voltage terminal GND. When the first switch is turned on, the first detection module 101 can detect the voltage between the positive terminal V+ of the power supply and the reference voltage terminal GND. Similarly, a second detection module 102 can be set between the reference voltage terminal GND and the negative terminal of the power supply. When both the first switch module 103 and the second switch module 104 are turned on, the second detection module 102 can detect the voltage between the reference voltage terminal GND and the negative terminal V-.
[0043] In some embodiments, the first switch module 103 and the second switch module 104 can both be metal-oxide-semiconductor field-effect transistors (MOSFETs), through which the conduction and turn-off can be flexibly controlled.
[0044] The power identification circuit is configured as follows:
[0045] In the first time period, the first switch module 103 is turned on, and the first detection module 101 outputs a first voltage; in the second time period, the second switch module 104 is turned on, and the second detection module 102 outputs a second voltage; wherein the second time period is later than the first time period.
[0046] If, during the first time period, the first voltage is greater than or equal to the first threshold and the second voltage is less than the second threshold, and during the second time period, the first voltage is greater than or equal to the first threshold and the second voltage is greater than or equal to the second threshold, then the power supply mode is determined to be a three-wire positive and negative DC power supply mode; or
[0047] If, during the first time period, the first voltage is less than the first threshold and the second voltage is less than the second threshold, and during the second time period, the first voltage is greater than or equal to the first threshold and the second voltage is greater than or equal to the second threshold, the power supply mode is determined to be a two-wire DC power supply mode.
[0048] Here, in the first time period, the control terminal of the first switch module 103 responds to the enable signal to control the first switch module to turn on, and the first detection module 101 can output a first voltage, which represents the voltage between the positive terminal V+ of the power supply and the reference voltage terminal GND.
[0049] In the second period, which is later than the first period, the control terminal of the second switching module 104 responds to the enable signal to control the second switching module to turn on, and the second detection module 102 can output a second voltage, which represents the voltage between the reference voltage terminal GND and the negative terminal V- of the power supply.
[0050] If, in the first time period, the first voltage output by the first detection module is determined to be greater than or equal to the first threshold and the second voltage is less than the second threshold, it indicates that a complete power-on circuit is formed between the positive terminal V+ and the reference voltage terminal. In the second time period, if the first voltage is determined to be greater than or equal to the first threshold and the second voltage is determined to be greater than or equal to the second threshold, it indicates that a complete power-on circuit is formed between the positive terminal V+ and the reference voltage terminal, and a complete power-on circuit is also formed between the reference voltage terminal and the negative terminal V-. Therefore, it can be determined that the power supply mode is a three-wire positive and negative DC power supply mode.
[0051] Alternatively, if in the first time period the first voltage is less than the first threshold and the second voltage is less than the second threshold, it indicates that no complete power-on circuit is formed between V+ and the reference voltage terminal, i.e., the power supply does not have a reference voltage terminal. If in the second time period the first voltage is greater than or equal to the first threshold and the second voltage is greater than or equal to the second threshold, it indicates that a complete power-on circuit is formed between the positive terminal V+ and the negative terminal V-. Therefore, it can be determined that the power supply mode is a two-wire DC power supply mode.
[0052] This application embodiment detects the voltage between the positive terminal and the reference voltage terminal using a first detection module connected to the positive terminal of the power supply and a second detection module connected to the reference power supply terminal and the negative terminal, respectively. By turning on the first switch module in a first time period and outputting a first voltage, and controlling the second switch module to turn on in a second time period and outputting a second voltage, the power supply mode of the power supply is determined based on the relationship between the first voltage and the first threshold and the relationship between the second voltage and the second threshold, thus filling the gap in the prior art regarding the lack of detection of the power supply mode.
[0053] In some embodiments, such as Figure 2As shown, the first detection module 101 includes a first voltage divider resistor R1, a first sampling resistor R2, and a first analog-to-digital converter ADC1: the first end of the first voltage divider resistor R1 is electrically connected to the positive terminal V+ of the power supply, and the second end of the first voltage divider resistor R1 is electrically connected to the first end of the first sampling resistor R2; the second end of the first sampling resistor R2 is electrically connected to the reference voltage terminal GND; the input terminal of the first analog-to-digital converter ADC1 is electrically connected to the first end of the first sampling resistor R2, and the output terminal of the first analog-to-digital converter ADC1 outputs a first voltage.
[0054] Here, as Figure 2 As shown, the first detection module 101 may include a first voltage divider resistor R1, a first sampling resistor R2, and a first analog-to-digital converter ADC1. It is conceivable that the first voltage divider resistor R1 may include multiple first sub-voltage divider resistors, and the total resistance value of the multiple first sub-voltage divider resistors may be determined based on the rated voltage value of the positive terminal of the power supply and the resistance value of the first sampling resistor R2.
[0055] This application embodiment sets up a first detection module including a first voltage divider resistor, a first sampling resistor, and a first analog-to-digital converter. The first voltage divider resistor divides the voltage so that the voltage collected by the first analog-to-digital converter is within its collectable voltage range. At the same time, the first analog-to-digital converter converts the collected voltage from analog voltage to digital voltage, so that the user can intuitively see the above-mentioned first voltage value, which is beneficial for the user to monitor the power supply status.
[0056] In some embodiments, such as Figure 2 As shown, the first detection module 101 also includes a first amplification module 201. The inverting input terminal (-input terminal) of the first amplification module 201 is electrically connected to the first terminal of the first sampling resistor R2, the non-inverting input terminal (+input terminal) of the first amplification module is electrically connected to the second terminal of the first sampling resistor R2, and the output terminal of the first amplification module 201 is electrically connected to the input terminal of the first analog-to-digital converter ADC1.
[0057] The first amplification module 201 can amplify the voltage difference across the first sampling resistor R2 to obtain the amplified voltage value corresponding to the first sampling resistor R2. Then, the amplified voltage value is converted from analog to digital by the first analog-to-digital converter ADC1 to obtain the first voltage. Here, the first amplification module can be a differential amplifier. The amplification factor of the differential amplifier can be set manually. For example, the amplification factor can be adjusted by setting the resistance value of the external resistor in the differential amplifier module.
[0058] This application embodiment amplifies the voltage across the first sampling resistor by setting a first amplification module, and can suppress common-mode noise in the power supply by the first amplification module, thereby improving the accuracy of the detected first voltage and thus improving the accuracy of determining the power supply mode of the power supply.
[0059] In some embodiments, such as Figure 2 As shown, the first detection module 101 may further include a first filtering module 202. The first filtering module may include a first capacitor C1, a first resistor R3, and a second capacitor C2. The first terminal of the first capacitor C1 is electrically connected to the first terminal of the first sampling resistor R2, and the second terminal of the first capacitor C1 is electrically connected to the second terminal of the first sampling resistor R2.
[0060] The first end of the first resistor R3 is electrically connected to the first end of the first capacitor C1, the second end of the first resistor R3 is electrically connected to the first end of the second capacitor C2 and the inverting input terminal of the first amplification module 201, and the second end of the second capacitor C2 is electrically connected to the second end of the first sampling resistor R2.
[0061] This application embodiment improves the accuracy of the subsequently determined first voltage by setting up a first filtering module including a first capacitor, a first resistor, and a second capacitor to filter the voltage value across the first sampling resistor.
[0062] In some embodiments, such as Figure 2 As shown, the second detection module 102 includes a second voltage divider resistor R4, a second sampling resistor R5, and a second analog-to-digital converter ADC2.
[0063] The first end of the second voltage divider resistor R4 is electrically connected to the reference voltage terminal GND, and the second end of the second voltage divider resistor R4 is electrically connected to the first end of the second sampling resistor R5; the second end of the second sampling resistor R5 is electrically connected to the negative terminal V- of the power supply; the input terminal of the second analog-to-digital converter ADC2 is electrically connected to the first end of the second sampling resistor R5, and the output terminal of the second analog-to-digital converter ADC2 outputs the second voltage.
[0064] Based on the same idea as the first detection module 101, the second detection module 102 may include a second voltage divider resistor R4, a second sampling resistor R5, and a second analog-to-digital converter ADC2. The voltage divider is performed by the second sampling resistor to facilitate the detection and output of the second voltage by the second analog-to-digital converter ADC2.
[0065] In some examples, the second voltage divider resistor R4 may include a plurality of second sub-voltage divider resistors, the total resistance of which may be determined based on the rated voltage of the negative terminal of the power supply and the resistance of the second sampling resistor R5.
[0066] This embodiment of the application sets the voltage value across the second sampling resistor within the range of the second analog-to-digital converter by using the voltage division effect of the second voltage divider resistor. The detected voltage value is then converted from analog to digital by the second analog-to-digital converter, making it convenient for users to monitor the voltage value of the negative terminal of the power supply in a timely manner.
[0067] In some embodiments, such as Figure 2 As shown, the second detection module 102 also includes a second amplification module 203. The inverting input terminal (- terminal) of the second amplification module 203 is electrically connected to the first terminal of the second sampling resistor R5, the non-inverting input terminal (+ terminal) of the second amplification module 203 is electrically connected to the second terminal of the second sampling resistor R5, and the output terminal of the second amplification module 203 is electrically connected to the input terminal of the second analog-to-digital converter ADC2.
[0068] Here, the second amplification module 203 can be a differential amplifier, which amplifies the voltage difference across the second sampling resistor R5 to obtain the amplified voltage value corresponding to the second sampling resistor R5. Then, the amplified voltage value is converted from analog to digital by the second analog-to-digital converter ADC2 to obtain the second voltage.
[0069] This application embodiment amplifies the voltage across the second sampling resistor by setting a second amplification module, and can suppress common-mode noise in the power supply by the second amplification module, thereby improving the accuracy of the detected second voltage and thus improving the accuracy of determining the power supply mode.
[0070] In some embodiments, such as Figure 2 As shown, the second detection module 102 may also include a second filtering module 204. The second filtering module may include a third capacitor C3, a second resistor R6 and a fourth capacitor C4. The first end of the third capacitor C3 is electrically connected to the first end of the second sampling resistor R5, and the second end of the third capacitor C3 is electrically connected to the second end of the second sampling resistor R5.
[0071] The first end of the second resistor R6 is electrically connected to the first end of the third capacitor C3, the second end of the second resistor R6 is electrically connected to the first end of the fourth capacitor C4 and the inverting input terminal of the second amplification module 203, and the second end of the fourth capacitor C4 is electrically connected to the second end of the second sampling resistor R5.
[0072] This embodiment of the application, by setting the second filtering module including the third capacitor, the second resistor and the fourth capacitor, can filter the voltage value across the second sampling resistor, thereby improving the accuracy of the subsequently determined second voltage.
[0073] In some embodiments, such as Figure 3 As shown, the power identification circuit also includes:
[0074] The first pre-charge module 301 has its first terminal electrically connected to the positive terminal V+ of the power supply, and its second terminal electrically connected to the first terminal of the first detection module 101. By setting up the first pre-charge module, subsequent electrical appliances, such as amplification modules, can be protected from voltage step surges caused by the conduction of the first switching module.
[0075] In some examples, the power identification circuit described above may also include a first switch K1, the first end of which may be electrically connected to the positive terminal V+ of the power supply and the first end of the first precharge module 301, and the second end of the first switch K1 may be electrically connected to the second end of the first precharge module 301 and the first end of the first detection module 101.
[0076] It can be envisioned that in the first period, the first switch K1 is turned off, the first switch module 103 is turned on, and the power supply enters the pre-charge mode. After a preset period, the first switch K1 closes, and the first detection module outputs the first voltage. By setting the first switch to close only after the pre-charge is completed, the power supply can enter the normal power supply mode, which is beneficial for subsequent acquisition of the power supply output voltage.
[0077] In some embodiments, such as Figure 3 As shown, the power identification circuit also includes:
[0078] The second pre-charge module 302 has its first terminal electrically connected to the second terminal of the second detection module 102, and its second terminal electrically connected to the negative terminal V- of the power supply. Similarly, the purpose of the second pre-charge module is to protect the electrical components in the circuit from damage caused by instantaneous high voltage.
[0079] In some examples, such as Figure 3 As shown, the power identification circuit may further include a second switch K2. The first end of the second switch K2 is electrically connected to the second end of the second detection module 102 and the first end of the second switch module 104. The second end of the second switch K2 is electrically connected to the negative terminal V- of the power supply.
[0080] Here, in the second time period, the second switch K2 is turned off first, and the second switch module 104 is turned on. After a preset time period, the second switch K2 is closed, and the first detection module outputs the first voltage. At this time, the second switch module 104 can be turned off to reduce power consumption.
[0081] In some embodiments, such as Figure 3 As shown, the first pre-charge module 301 includes a first pre-charge resistor R7 and a first diode D1. The first end of the first pre-charge resistor R7 is electrically connected to the positive terminal V+ of the power supply, and the second end of the first pre-charge resistor R7 is electrically connected to the anode of the first diode D1. By setting the first pre-charge resistor, current limiting can be implemented to protect subsequent devices, and the first diode can prevent reverse connection between the positive terminal of the power supply and the reference voltage terminal.
[0082] In some embodiments, such as Figure 3As shown, the second pre-charge module 302 may include a second pre-charge resistor R8 and a second diode D2. The first end of the second pre-charge resistor R8 is electrically connected to the second end of the second switch module 104, and the second end of the second pre-charge resistor R8 is electrically connected to the anode of the second diode D2. The cathode of the second diode D2 is electrically connected to the negative terminal V- of the power supply. The second pre-charge resistor and the second diode serve as current-limiting protection circuit devices and prevent reverse connection between the reference voltage terminal and the negative terminal of the power supply, respectively.
[0083] In some embodiments, such as Figure 4 As shown, this application embodiment provides a power supply system, including:
[0084] Power supply 401, power identification circuit and bus capacitor bank 402.
[0085] The power supply identification circuit described above can identify the power supply mode, and the bus capacitor bank can filter noise to provide a stable voltage for subsequent loads.
[0086] like Figure 4 The aforementioned bus capacitor bank may include a first bus capacitor C5 and a second bus capacitor C6. The first terminal of the first bus capacitor C5 may be electrically connected to the first terminal of the first detection module 101, and the second terminal of the first bus capacitor C5 may be electrically connected to the second terminal of the first switch module 103. The first terminal of the second bus capacitor C6 may be electrically connected to both the second terminal of the first bus capacitor C5 and the second terminal of the first switch module 103, and the second terminal of the second bus capacitor C6 may be electrically connected to the first terminal of the second switch module 104.
[0087] In some embodiments, such as Figure 4 As shown, the power supply system described above may further include a filter 403. This filter can be a three-phase filter. The first terminal of the filter 403 can be electrically connected to the second terminal of the pre-charge module, the second terminal of the filter can be electrically connected to the second terminal of the second detection module 102, and the third terminal of the filter can be electrically connected to the reference voltage terminal GND. By setting the filter, noise in the power supply can be filtered, which helps improve the stability of the power supply system when supplying power to subsequent loads.
[0088] In some embodiments, such as Figure 4 As shown, the power supply system also includes a first contactor K3, a second contactor K4 and a three-phase inverter bridge 404. The first end of the first contactor K3 is electrically connected to the first end of the first bus capacitor C5. The second end of the first contactor K3 is electrically connected to the first end of the second contactor K4 and the reference voltage terminal GND. The second end of the second contactor K4 is electrically connected to the second end of the second bus capacitor C6.
[0089] like Figure 4 The three-phase inverter bridge 404 described above can convert DC power into three-phase AC power and output three-phase voltages (U, V and W) with adjustable amplitude, thereby enabling the power supply system to power the load of the multi-electric aircraft.
[0090] In some embodiments, such as Figure 5 As shown, this application provides a power identification method, characterized in that it is applied to the aforementioned power identification circuit, and the method includes the following steps:
[0091] S510: In the first time period, control the first switch module to turn on and obtain the first voltage output by the first detection module.
[0092] During the first time period, an enable signal can be sent to the control terminal of the first switch module. The control terminal of the first switch module responds to the enable signal to control the first switch module to turn on, and can obtain the first voltage output by the first detection module. The first voltage represents the voltage between the positive terminal of the power supply and the reference voltage terminal.
[0093] S520: In the second time period, control the second switch module to turn on and acquire the second voltage output by the second detection module; wherein, the second time period is later than the first time period.
[0094] During the second time period, an enable signal can be sent to the control terminal of the second switch module. The control terminal of the second control module responds to the enable signal to control the second switch module to turn on, and can obtain the second voltage output by the second detection module. The second voltage represents the voltage between the reference voltage terminal and the negative terminal of the power supply.
[0095] S530: When the first voltage is greater than or equal to the first threshold and the second voltage is less than the second threshold during the first time period, and when the first voltage is greater than or equal to the first threshold and the second voltage is greater than or equal to the second threshold during the second time period, the power supply mode is determined to be a three-wire positive and negative DC power supply mode.
[0096] If, in the first time period, the first voltage output by the first detection module is determined to be greater than or equal to the first threshold and the second voltage is less than the second threshold, it indicates that there is a complete power-on circuit between the positive terminal and the reference voltage terminal. If, in the second time period, the first voltage is determined to be greater than or equal to the first threshold and the second voltage is determined to be greater than or equal to the second threshold, it indicates that at the same time, a complete power-on circuit is formed between the positive terminal and the reference voltage terminal and the negative terminal. It can be determined that the power supply mode is a three-wire positive and negative DC power supply mode.
[0097] or
[0098] S540: When the first voltage is less than the first threshold and the second voltage is less than the second threshold in the first time period, and when the first voltage is greater than or equal to the first threshold and the second voltage is greater than or equal to the second threshold in the second time period, the power supply mode is determined to be a two-wire DC power supply mode.
[0099] Alternatively, if in the first time period the first voltage is less than the first threshold and the second voltage is less than the second threshold, it indicates that the power supply does not have a reference voltage terminal. If in the second time period the first voltage is greater than or equal to the first threshold and the second voltage is greater than or equal to the second threshold, it indicates that there is a complete power-carrying circuit between the positive and negative terminals. Therefore, it can be determined that the power supply mode is a two-wire DC power supply mode.
[0100] In this embodiment, by controlling the first switch module to conduct in a first time period and obtaining the first voltage output by the first detection module, and controlling the second switch module to conduct in a second time period later than the first time period and obtaining the second voltage output by the second detection module, the power supply mode can be distinguished as a three-wire positive and negative DC power supply mode or a two-wire DC power supply mode, based on the comparison of the first voltage and the second voltage with the first threshold and the second threshold respectively. This enables the identification of the power supply mode.
[0101] In some embodiments, the power identification method further includes:
[0102] When the power supply mode is a three-wire positive and negative DC power supply mode, the third voltage output by the first detection module and the fourth voltage output by the second detection module are obtained; when the third voltage is less than the third threshold or the fourth voltage is less than the fourth threshold, the operation mode of the power supply system is adjusted to the operation mode corresponding to the two-wire DC power supply mode.
[0103] Here, when the third voltage is less than the third threshold, the fourth voltage is less than the fourth threshold, or the sum of the third and fourth voltages is less than the fifth threshold, it can be determined that the positive or negative terminal of the power supply, or the output capacity of the power supply, is insufficient. The operating mode of the power supply system can then be adjusted to the operating mode corresponding to a two-wire DC power supply. For example, for... Figure 4 The power supply system shown above can operate in the following modes: controlling the output of the three-phase inverter bridge to be blocked, controlling the first switch module to be turned off, and controlling the second switch module to be turned on.
[0104] In some examples, for such Figure 4The power supply system shown, when the first switch module is turned on, if the third threshold is close to 0 and the third voltage is less than the third threshold that is close to 0, it can be determined that the positive output of the power supply is short-circuited. The operating mode of the power supply system can be adjusted to the operating mode corresponding to the two-wire DC power supply mode. The operating mode can be: controlling the output of the three-phase inverter bridge to be blocked, controlling the first contactor K3 to be turned on, and controlling both the first switch module and the second switch module to be turned on.
[0105] In some examples, for such Figure 4 The power supply system shown, when the first switch module is turned on, if the fourth threshold is close to 0 and the fourth voltage is less than the third threshold that is close to 0, it can be determined that the negative output of the power supply is short-circuited. The operating mode of the power supply system can be adjusted to the operating mode corresponding to the two-wire DC power supply mode. The operating mode can be: controlling the output of the three-phase inverter bridge to be blocked, controlling the second contactor K4 to be turned on, and controlling both the first switch module and the second switch module to be turned on.
[0106] It is conceivable that the third threshold is close to 0 and the fourth threshold is close to 0. If the third voltage is less than the third threshold that is close to 0 and the fourth voltage is less than the third threshold that is close to 0, the power supply system will be unable to supply power to the load.
[0107] This embodiment of the application, when the power supply mode is a three-wire positive and negative DC power supply mode, obtains the third voltage output by the first detection module and the fourth voltage output by the second detection module, compares the third voltage with the third threshold and the fourth voltage with the fourth threshold respectively, and promptly adjusts the operating mode of the power supply system to the operating mode corresponding to the two-wire DC power supply mode when it is determined that the third voltage is less than the third threshold or the fourth voltage is less than the fourth threshold. This can avoid the problem of load damage caused by the load being based on an abnormal three-wire positive and negative DC power supply mode, and can protect the load in a timely manner.
[0108] Figure 6 A schematic diagram of the hardware structure of an electronic device is provided in the application embodiment.
[0109] The electronic device 600 may include a processor 601 and a memory 602 storing computer program instructions.
[0110] Specifically, the processor 601 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0111] Memory 602 may include mass storage for data or instructions. For example, and not limitingly, memory 602 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 602 may include removable or non-removable (or fixed) media. Where appropriate, memory 602 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 602 is non-volatile solid-state memory.
[0112] In a particular embodiment, memory 602 includes read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0113] Memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Therefore, typically, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to the first aspect of this application.
[0114] The processor 601 implements any of the power identification methods in the above embodiments by reading and executing computer program instructions stored in the memory 602.
[0115] In one example, the electronic device may also include a communication interface 603 and a bus 604. Wherein, as... Figure 6 The processor 601, memory 602, and communication interface 603 are connected through bus 604 and complete communication with each other.
[0116] The communication interface 603 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.
[0117] Bus 604 includes hardware, software, or both, that couples components of an online data traffic metering device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 604 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, any suitable bus or interconnect is contemplated herein.
[0118] The electronic devices described above are used to implement the corresponding power identification methods in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0119] Furthermore, in conjunction with the power identification methods in the above embodiments, this application embodiment can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the power identification methods in the above embodiments.
[0120] Furthermore, in conjunction with the power identification methods in the above embodiments, this application embodiment can provide a computer program product for implementation. When the instructions of this computer program product are executed by the processor of an electronic device, they implement any of the power identification methods in the above embodiments.
[0121] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this application (including the claims) is limited to these examples; within the framework of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this application as described above, which are not provided in the details for the sake of brevity.
[0122] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0123] It should also be noted that the exemplary embodiments mentioned in this application describe methods or apparatuses 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 embodiments, or in a different order, or several steps can be performed simultaneously.
[0124] The aspects of this application have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of this application. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, 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 apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by dedicated hardware performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
[0125] The above description is merely a specific embodiment of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the devices, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A power identification circuit, characterized in that, include: The first detection module has its first terminal electrically connected to the positive terminal of the power supply and its second terminal electrically connected to the reference voltage terminal. The second detection module has its first terminal electrically connected to the reference voltage terminal and its second terminal electrically connected to the negative terminal of the power supply. The first switching module has a first terminal electrically connected to the reference voltage terminal, and its second terminal is electrically connected to both the second terminal of the first detection module and the first terminal of the second detection module. The second switch module has its first terminal electrically connected to the second terminal of the second detection module, and its second terminal is electrically connected to the negative terminal of the power supply. The power identification circuit is configured as follows: In a first time period, the first switch module is turned on, and the first detection module outputs a first voltage; in a second time period, the second switch module is turned on, and the second detection module outputs a second voltage; wherein the second time period is later than the first time period. If the first voltage is greater than or equal to the first threshold and the second voltage is less than the second threshold during the first time period, and if the first voltage is greater than or equal to the first threshold and the second voltage is greater than or equal to the second threshold during the second time period, the power supply mode of the power supply is determined to be a three-wire positive and negative DC power supply mode. or If the first voltage is less than the first threshold and the second voltage is less than the second threshold during the first time period, and if the first voltage is greater than or equal to the first threshold and the second voltage is greater than or equal to the second threshold during the second time period, the power supply mode of the power supply is determined to be a two-wire DC power supply mode.
2. The power identification circuit according to claim 1, characterized in that, The first detection module includes a first voltage divider resistor, a first sampling resistor, and a first analog-to-digital converter: The first end of the first voltage divider resistor is electrically connected to the positive terminal of the power supply, and the second end of the first voltage divider resistor is electrically connected to the first end of the first sampling resistor. The second end of the first sampling resistor is electrically connected to the reference voltage terminal; The input terminal of the first analog-to-digital converter is electrically connected to the first terminal of the first sampling resistor, and the output terminal of the first analog-to-digital converter outputs the first voltage.
3. The power identification circuit according to claim 2, characterized in that, The first detection module further includes a first amplification module, wherein the inverting input terminal of the first amplification module is electrically connected to the first terminal of the first sampling resistor, the non-inverting input terminal of the first amplification module is electrically connected to the second terminal of the first sampling resistor, and the output terminal of the first amplification module is electrically connected to the input terminal of the first analog-to-digital converter.
4. The power identification circuit according to any one of claims 1-3, characterized in that, The second detection module includes a second voltage divider resistor, a second sampling resistor, and a second analog-to-digital converter. The first end of the second voltage divider resistor is electrically connected to the reference voltage terminal, and the second end of the second voltage divider resistor is electrically connected to the first end of the second sampling resistor; The second terminal of the second sampling resistor is electrically connected to the negative terminal of the power supply; The input terminal of the second analog-to-digital converter is electrically connected to the first terminal of the second sampling resistor, and the output terminal of the second analog-to-digital converter outputs the second voltage.
5. The power identification circuit according to claim 4, characterized in that, The second detection module further includes a second amplification module. The inverting input terminal of the second amplification module is electrically connected to the first terminal of the second sampling resistor, the non-inverting input terminal of the second amplification module is electrically connected to the second terminal of the second sampling resistor, and the output terminal of the second amplification module is electrically connected to the input terminal of the second analog-to-digital converter.
6. The power identification circuit according to claim 2 or 3, characterized in that, The first detection module further includes: A first filtering module, wherein a first terminal of the filtering module is electrically connected to a first terminal of the first sampling resistor, and a second terminal of the filtering module is electrically connected to a second terminal of the first sampling resistor; And / or, the second detection module includes a second voltage divider resistor, a second sampling resistor, and a second filtering module, wherein the first end of the second voltage divider resistor is electrically connected to the reference voltage terminal, and the second end of the second voltage divider resistor is electrically connected to the first end of the second sampling resistor; The second terminal of the second sampling resistor is electrically connected to the negative terminal of the power supply; The input terminal of the second analog-to-digital converter is electrically connected to the first terminal of the second sampling resistor, and the output terminal of the second analog-to-digital converter outputs the second voltage.
7. The power identification circuit according to claim 1, characterized in that, Also includes: The first pre-charge module has a first terminal electrically connected to the positive terminal of the power supply, and a second terminal electrically connected to the first terminal of the first detection module. And / or, The second pre-charge module has its first terminal electrically connected to the second terminal of the second detection module, and its second terminal electrically connected to the negative terminal of the power supply.
8. The power identification circuit according to claim 7, characterized in that, The first pre-charge module includes a first pre-charge resistor and a first diode. The first end of the first pre-charge resistor is electrically connected to the positive terminal of the power supply, the second end of the first pre-charge resistor is electrically connected to the anode of the first diode, and the cathode of the first diode is electrically connected to the first detection module. And / or, The second pre-charge module includes a second pre-charge resistor and a second diode. The first terminal of the second pre-charge resistor is electrically connected to the second terminal of the second switching module, and the second terminal of the second pre-charge resistor is electrically connected to the anode of the second diode. The cathode of the first diode is electrically connected to the negative terminal of the power supply.
9. A power supply identification method, characterized in that, The method, applied to the power identification circuit according to any one of claims 1-8, comprises: During the first time period, the first switch module is turned on, and the first voltage output by the first detection module is acquired; In the second time period, the second switch module is turned on, and the second voltage output by the second detection module is acquired; wherein, the second time period is later than the first time period; If, during the first time period, the first voltage is greater than or equal to the first threshold and the second voltage is less than the second threshold, and during the second time period, the first voltage is greater than or equal to the first threshold and the second voltage is greater than or equal to the second threshold, then the power supply mode of the power source is determined to be a three-wire positive and negative DC power supply mode; or If the first voltage is less than the first threshold and the second voltage is less than the second threshold during the first time period, and if the first voltage is greater than or equal to the first threshold and the second voltage is greater than or equal to the second threshold during the second time period, the power supply mode of the power source is determined to be a two-wire DC power supply mode.
10. The power supply identification method according to claim 9, characterized in that, Also includes: When the power supply mode of the power supply is a three-wire positive and negative DC power supply mode, the third voltage output by the first detection module and the fourth voltage output by the second detection module are obtained. If the third voltage is less than the third threshold or the fourth voltage is less than the fourth threshold, the operating mode of the power supply system will be adjusted to the operating mode corresponding to the two-wire DC power supply mode.