Power supply switching method, system, circuit and storage medium for acquisition card terminal

The power switching circuit constructed with discrete components solves the problems of high cost and low flexibility in existing power switching technologies, realizes automatic switching and hot-swapping between power supply and transmission line power supply, and reduces the dependence on component selection.

CN115313614BActive Publication Date: 2026-03-27HEFEI I TEK OPTOELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-16
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

In existing technologies, the power supply mode switching of industrial cameras requires integrated ICs, which is costly and inflexible, cannot effectively support the switching between power supply and transmission line power supply, and lacks the function of disconnecting with inductive resistors.

Method used

The power supply switching circuit is constructed using discrete components, including a power supply module, a data acquisition card power supply module, a power supply switching module, a switching judgment module, and a switch module. It achieves automatic switching of power supply mode by detecting voltage thresholds and signal switching, and supports hot-swapping between power supply and transmission line power supply.

Benefits of technology

It achieves low-cost and highly flexible power supply switching, supports automatic switching between power supply and transmission line power supply, and has an inductive resistor disconnection function, reducing dependence on component selection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115313614B_ABST
    Figure CN115313614B_ABST
Patent Text Reader

Abstract

The application discloses a power supply switching method, system, circuit and storage medium for a collection card terminal, which comprises the following steps: if the power supply module meets the terminal power supply requirement, the switch module changes the electric signal of the switching judgment module, and the electric signal is transmitted to the collection card through the collection card power supply module to inform the collection card to stop power supply; if the power supply module does not meet the terminal power supply requirement, the switch module changes the electric signal of the switching judgment module, and the electric signal is transmitted to the collection card through the collection card power supply module to inform the collection card to supply power; the switching judgment module provides different detection signals for the collection card under different power supply states, the collection card decides whether to supply power to the transmission line, the power supply voltage of the power supply module and the collection card power supply module is adjusted, the switching power supply is realized, the hot plug of the power supply or the collection card is realized, and the switching among several different working modes is automatically realized, so that the application has low cost, high flexibility, low dependence on device selection and the like.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of power supply circuit, in particular to a power supply switching method, system, circuit and storage medium for acquisition card terminal. BACKGROUND

[0002] Many industrial camera communication protocols based on transmission lines, such as CoaXPress protocol, CameraLink protocol, etc., allow host devices such as image or video acquisition cards to supply power to industrial cameras through transmission lines, which can be referred to as transmission line power supply. For industrial cameras, it is often necessary to support both acquisition card power supply and power supply power supply modes; when both power supplies exist at the same time, the industrial camera should preferentially use power supply power supply. In addition, the industrial camera communication protocol based on the transmission line requires the host device to detect the connection state of the industrial camera, which is generally achieved by an inductive resistor at the industrial camera end; when the industrial camera uses power supply power supply, the inductive resistor should be disconnected to inform the host device to stop supplying power to the camera device through the transmission line.

[0003] The prior art often uses integrated ICs, which have high costs and are dependent on device supply, with low flexibility. SUMMARY

[0004] The power supply switching method, system, circuit and storage medium for acquisition card terminal provided by the present application can at least solve one of the above technical problems.

[0005] To achieve the above-mentioned purpose, the present application adopts the following technical solutions:

[0006] A power supply switching method for acquisition card terminal, comprising the following determination steps:

[0007] a. If the power supply module can meet the terminal power supply requirement, the switch module changes the electric signal of the switching judgment module to form a non-power supply detection signal, and transmits it to the acquisition card through the acquisition card power supply module to inform the acquisition card to stop power supply;

[0008] b. If the power supply module cannot meet the terminal power supply requirement, the switch module changes the electric signal of the switching judgment module to form a power supply detection signal, and transmits it to the acquisition card through the acquisition card power supply module to inform the acquisition card to supply power; when the acquisition card power supply module output voltage can meet the terminal power supply requirement, the switch module turns on the electrical connection between the acquisition card power supply module and the power supply output module, so that the acquisition card power supply module outputs to the terminal through the switch module and the power supply output module.

[0009] In another aspect, the application also discloses a power supply switching system for a capture card terminal, comprising a power supply module, a power supply output module and a switch module, and further comprising a capture card power supply module, a power supply switching module and a switching judgment module, wherein

[0010] The power supply switching module is configured to form different switching states according to the output voltage of the power supply module, and change the electrical connection state between the power supply module and the power supply output module according to the different switching states.

[0011] The switching judgment module is configured to provide a detection signal for the output control of the capture card power supply module according to the different switching states of the power supply switching module.

[0012] The switch module is configured to control the electrical connection state between the capture card power supply module and the power supply output module according to the output voltage of the power supply module and the output voltage of the capture card power supply module.

[0013] Further, the switching states include a first switching state and a second switching state formed by the power supply switching module according to the comparison result of the power supply voltage and the power supply voltage threshold.

[0014] The first switching state is that the power supply voltage is greater than or equal to the power supply voltage threshold.

[0015] The second switching state is that the power supply voltage is less than the power supply voltage threshold.

[0016] Further, when the power supply switching module is in the first switching state, the switching judgment module provides a first detection signal for stopping the power output of the capture card, and the switching power supply module controls the switch module to be disconnected, so that the power supply module supplies power to the terminal.

[0017] Further, when the power supply switching module is in the second switching state and the capture card power supply voltage is greater than or equal to the capture card power supply voltage threshold, the switching judgment module provides a second detection signal for outputting power to the capture card, the capture card power supply output module outputs voltage, and the switch module is turned on, so that the capture card supplies power to the terminal.

[0018] The capture card power supply voltage threshold is the minimum value of the capture card power supply voltage that meets the terminal standard power supply voltage value.

[0019] Further, the power supply voltage threshold is the minimum value of the power supply voltage that meets the terminal standard power supply voltage value.

[0020] Further, the power supply output module selects the power supply module or the acquisition card power supply module to output power to the terminal, and blocks the power supply module and the acquisition card power supply module from charging each other.

[0021] In another aspect, the application further discloses a power supply switching circuit for an acquisition card terminal, comprising:

[0022] The power supply switching circuit is connected with the power supply circuit, the switching judgment circuit and the switch circuit respectively; the power supply circuit is further connected with the power supply output circuit; the switching judgment circuit is further connected with the acquisition card power supply circuit and the switch circuit respectively, and the acquisition card power supply circuit is connected with the power supply output circuit through the switch circuit;

[0023] The power supply switching circuit controls the switching judgment circuit and the switch circuit according to the switching state in the switching system to confirm whether the terminal is powered by the power supply circuit through the power supply output circuit;

[0024] The switching judgment circuit is used to provide the detection signal in the switching method to the power supply switching circuit, so that the power supply switching circuit controls the switch circuit to confirm whether the terminal is powered by the acquisition card power supply circuit through the power supply output circuit;

[0025] The switch circuit is used to control the disconnection and connection of the acquisition card power supply circuit and the power supply output circuit.

[0026] The application further discloses a power supply switching device for an acquisition card terminal, comprising:

[0027] A memory is used to store a computer program;

[0028] A processor is used to execute the computer program to realize the power supply switching method for an acquisition card terminal.

[0029] Meanwhile, the application further discloses a computer readable storage medium, comprising: a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to realize the power supply switching method for an acquisition card terminal.

[0030] From the above technical solutions, the method, system and circuit of the embodiment of the application, by setting the switchable switch judgment module, the main role of the module is to provide different detection signals for the acquisition card (transmission line power supply end) in different power supply states, for the acquisition card to decide whether to provide transmission line power supply: such as when the device has power supply, the acquisition card can disconnect the transmission line power supply; when the device has no power supply, the acquisition card starts the transmission line power supply. The switch judgment module is not necessarily a resistor, mainly determined by the transmission line protocol, and can also be an acquisition card power supply module, which informs the acquisition card to switch different power supply states by switching different states.

[0031] The application provides a power supply switching circuit for an acquisition card terminal, which uses discrete devices, only involves three different types of discrete devices in addition to resistors, has low cost, high flexibility in device selection, can freely set the threshold of two power supplies by adjusting the resistance values, and is convenient for circuit expansion. In addition, the prior art does not provide the function of disconnecting the sensing resistor, and the application provides this function.

[0032] Specifically, the advantages of the application are as follows:

[0033] (1) The circuit structure is simple, all uses discrete devices (MOSFET, diode, resistor) to build the circuit, realizes the above power supply switching requirement, has low cost, high functional flexibility, and low dependence on device selection;

[0034] (2) The power supply switching module is connected to the power supply module, and automatically switches the output switching state according to the power supply state, to control the circuit switching power supply output, supports power supply and acquisition card transmission line power supply hot plug, that is, by adjusting the power supply voltage of the power supply module and the acquisition card power supply module, the specific module of the switching power supply can be realized, so that the power supply or the acquisition card transmission line can be hot plugged; and automatically switches between several different working modes;

[0035] (3) It has a switch judgment module, and the switch judgment module can be automatically switched by the power supply switching module, to provide different detection signals for the acquisition card. BRIEF DESCRIPTION OF DRAWINGS

[0036] Figure 1 is a circuit block diagram of the application;

[0037] Figure 2 is a PoCXP circuit embodiment of the application;

[0038] Figure 3 is a PoCL circuit embodiment of the application. DETAILED DESCRIPTION

[0039] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application.

[0040] Overall, the embodiments of the present application disclose a power supply switching method for a capture card terminal, comprising the following determination steps:

[0041] a. If the power supply module can meet the terminal power supply requirement, the switch module changes the electric signal of the switching judgment module, forms a non-supply detection signal, and transmits it to the capture card through the capture card power supply module to inform the capture card to stop power supply;

[0042] b. If the power supply module cannot meet the terminal power supply requirement, the switch module changes the electric signal of the switching judgment module, forms a supply detection signal, and transmits it to the capture card through the capture card power supply module to inform the capture card to supply power; when the output voltage of the capture card power supply module can meet the terminal power supply requirement, the switch module turns on the electrical connection between the capture card power supply module and the power supply output module, so that the capture card power supply module outputs to the terminal through the switch module and the power supply output module.

[0043] Correspondingly, the embodiments of the present application also disclose a power supply switching system for a capture card terminal, comprising a power supply module, a power supply output module and a switch module, and further comprising a capture card power supply module, a power supply switching module and a switching judgment module; wherein,

[0044] The power supply switching module is configured to form different switching states according to the output voltage of the power supply module, and change the electrical connection state between the power supply module and the power supply output module according to different switching states;

[0045] The switching judgment module is configured to provide a detection signal for output control of the capture card power supply module according to different switching states of the power supply switching module;

[0046] The switch module is configured to control the electrical connection state between the capture card power supply module and the power supply output module according to the output voltage of the power supply module and the output voltage of the capture card power supply module.

[0047] Specifically, the switching states include a first switching state and a second switching state formed by the power supply switching module according to the comparison result of the power supply voltage and the power supply voltage threshold value;

[0048] The first switching state is that the power supply voltage is greater than or equal to the power supply voltage threshold value;

[0049] The second switching state is that the power supply voltage is less than the power supply voltage threshold.

[0050] When the power supply switching module is in the first switching state, the switching judgment module provides a first detection signal to the acquisition card to stop power supply output; the switching power supply module controls the switch module to be disconnected, so that the power supply module supplies power to the terminal.

[0051] When the power supply switching module is in the second switching state and the acquisition card supply voltage is greater than or equal to the acquisition card supply voltage threshold, the switching judgment module provides a second detection signal to the acquisition card to output power supply; the acquisition card power supply output module outputs voltage, so that the switch module is turned on, so that the acquisition card supplies power to the terminal.

[0052] The acquisition card supply voltage threshold is the voltage output by the acquisition card to the terminal, and the acquisition card supply voltage minimum value meeting the terminal standard power supply voltage value.

[0053] The power supply voltage threshold is the voltage output by the power supply to the terminal, and the power supply voltage minimum value meeting the terminal standard power supply voltage value.

[0054] The power supply output module selects the power supply module or the acquisition card power supply module to output power to the terminal, and blocks the power supply module and the acquisition card power supply module from charging each other.

[0055] As shown in Figure 1 The above-mentioned power supply switching system for acquisition card terminal can be explained as comprising a power supply module, an acquisition card power supply module, a power supply switching module, a switching judgment module, a switch module and a power supply output module, wherein:

[0056] The power supply module is used to provide power supply for the industrial camera.

[0057] The acquisition card power supply module is used to connect the acquisition card, and the acquisition card provides transmission line power supply for the industrial camera through the transmission line.

[0058] The power supply switching module is used to automatically output different switching state control switching judgment module and switch module to switch according to the power supply state of the power supply module.

[0059] The switching judgment module is used to provide detection signal for the acquisition card to determine whether to provide transmission line power supply for the industrial camera through the transmission line.

[0060] The switch module is used to switch the connection of the acquisition card power supply module to the blocking module.

[0061] The power supply output module is used for blocking the power supply module from charging the acquisition card power supply module through the switch module, blocking the acquisition card power supply module from charging the power supply module through the switch module, and performing power supply output.

[0062] When the power supply voltage of the power supply module reaches a power supply threshold, the power supply switch module enters a first switching state; when the power supply voltage of the power supply module does not reach the power supply threshold, the power supply switch module enters a second switching state, the power supply threshold is determined by the power supply switch module and can be adjusted.

[0063] When the power supply switch module is in the first switching state, the switching judgment module provides a first detection signal for the acquisition card; when the power supply switch module is in the second switching state, the switching judgment module provides a second detection signal for the acquisition card. When the first detection signal is provided (RS is disconnected to ground), the acquisition card will stop providing transmission line power supply to the industrial camera through the transmission line; when the second detection signal is provided (RS is connected to ground), the acquisition card will start providing transmission line power supply to the industrial camera through the transmission line.

[0064] When the power supply switch module is in the first switching state and the power supply voltage of the acquisition card power supply module reaches a transmission line power supply threshold, the switch module enters a conducting state; when the power supply switch module is in the second switching state or the power supply voltage of the acquisition card power supply module does not reach the transmission line power supply threshold, the switch module enters a disconnected state; the transmission line power supply threshold is determined by the switch module and can be adjusted.

[0065] The devices used by the modules of the switching circuit include N-type MOSFET, P-type MOSFET, diode and resistor, and do not include integrated IC.

[0066] In general, compared with the prior art, the embodiment of the present application has a switchable switching judgment module, which mainly provides different detection signals for the acquisition card (transmission line power supply end) in different power supply states, so that the acquisition card decides whether to provide transmission line power supply: for example, when the device has power supply, the acquisition card can disconnect the transmission line power supply; when the device has no power supply, the acquisition card starts the transmission line power supply. The switching judgment module is not necessarily a resistor, and is mainly determined by the transmission line protocol, and can also be a transmission line induction module, which informs the acquisition card to switch different power supply states by switching different states.

[0067] On the other hand, the present application also discloses a power supply switching circuit for an acquisition card terminal, comprising:

[0068] The power supply switching circuit is connected with the power supply circuit, the switching judgment circuit and the switch circuit respectively; the power supply circuit is also connected with the power supply output circuit; the switching judgment circuit is also connected with the acquisition card power supply circuit and the switch circuit respectively, and the acquisition card power supply circuit is connected with the power supply output circuit through the switch circuit;

[0069] The power supply switching circuit controls the switching judgment circuit and the switch circuit according to the switching state to confirm whether the terminal is powered by the power supply circuit through the power supply output circuit;

[0070] The switching judgment circuit provides the detection signal for the power supply switching circuit to control the switch circuit to confirm whether the terminal is powered by the acquisition card power supply circuit through the power supply output circuit;

[0071] The switch circuit is used for controlling the disconnection and connection of the acquisition card power supply circuit and the power supply output circuit.

[0072] The following is an example:

[0073] The following is an example of two different transmission line communication protocols, CoaXPress protocol and CameraLink protocol. The overall framework of the two embodiments is the same, and the power supply module, the power supply switching module, the switch module and the power supply output module are the same. The acquisition card power supply module and the switching judgment module are different, which is determined by the two different protocols. CoaXPress protocol is coaxial power supply, which needs a 4.7kΩ inductive resistance; CameraLink protocol is power supply through twisted pair cable, which needs a 10kΩ inductive resistance and a 47μF inductive capacitor. Here, the resistance and the capacitor are collectively referred to as the switching judgment module, which can also be called the transmission line induction module.

[0074] PoCXP power supply and power supply switching embodiment

[0075] As shown in Figure 2 S1 is a power supply module; S2 is an acquisition card power supply module, which provides transmission line power supply to an industrial camera through a CoaXPress coaxial cable, referred to as PoCXP power supply, and the standard power supply voltage is 24V; R1, R2 and N1 are power supply switching modules; RS and N3 are switching judgment modules; R3, R4, R5, R6, N2 and P1 are switch modules; D1 and D2 are power supply output modules; wherein N1, N2 and N3 are N-type MOSFET, P1 is P-type MOSFET, D1 and D2 are diodes, RS is the inductive resistance of PoCXP power supply with a resistance of 4.7kΩ, and R1-R6 are resistors. A is referred to as a first voltage control point, B is referred to as a second voltage control point, and C is referred to as a third voltage control point.

[0076] Wherein, the gate of N1 is connected to the first voltage control point, the drain is connected to the second voltage control point, and the source is connected to the ground; the gate of N2 is connected to the second voltage control point, the drain is connected to the third voltage control point through the resistance R6, and the source is connected to the ground; the gate of N3 is connected to the second voltage control point, the drain is connected to the positive terminal of the acquisition card power supply module S2 through the inductive resistance RS, and the source is connected to the ground; the gate of P1 is connected to the third voltage control point, the source is connected to the positive terminal of the acquisition card power supply module S2, and the drain is connected to the positive terminal of the diode D2. The first voltage control point is connected to the positive terminal of the power supply module S1 through the resistance R1 and to the ground through the resistance R2; the second voltage control point is connected to the positive terminal of the acquisition card power supply module S2 through the resistance R3 and to the ground through the resistance R4; the third voltage control point is connected to the positive terminal of the acquisition card power supply module S2 through the resistance R5 and to the drain of N2 through the resistance R6. The positive terminal of the power supply module S1 is connected to the positive terminal of the diode D1, and the negative terminal is connected to the ground; the positive terminal of the acquisition card power supply module S2 is connected to the inductive pull-down resistance RS, and the negative terminal is connected to the ground; the negative terminal of the diode D1 is connected to the negative terminal of the diode D2 as a power output point.

[0077] Working mode:

[0078] 1. When the voltage of S1 is higher than the power supply threshold value, no matter what the voltage value of S2 is, S1 performs power output, S2 does not output, S1 is blocked from charging S2, and the PoCXP inductive resistance RS is disconnected to the ground:

[0079] (1) S1 can perform power output through D1, and the power output voltage is equal to the voltage of S1 minus the conduction voltage drop of D1;

[0080] (2) The voltage of the first voltage control point A is obtained by dividing the voltage of S1 by resistances R1 and R2, when the voltage of S1 is higher than the power supply threshold value, the voltage of A is higher than the gate threshold voltage of N1, N1 is turned on, the second voltage control point B is turned on to the ground through N1, that is, the voltage of B is lower than the gate threshold voltage of N2 and N3;

[0081] (3) N2 is disconnected, the voltage of the third voltage control point C is equal to the voltage of S2, that is, the source and gate voltages of P1 are equal, and P1 is disconnected;

[0082] (4) N3 is disconnected, the PoCXP inductive resistance RS is disconnected to the ground; the acquisition card cannot detect RS, and cannot provide PoCXP power to the industrial camera through the CoaXPress coaxial cable;

[0083] (5) P1 is disconnected, S2 does not perform power output;

[0084] (6) D2 blocks S1 from charging S2.

[0085] 2. When S1 voltage is lower than power supply threshold, and S2 voltage is higher than transmission line power supply threshold, the circuit is powered by S2, and S2 is blocked from charging S1, and PoCXP sensing resistor RS to ground is in conducting state:

[0086] (1) When A voltage is lower than N1 gate threshold voltage, N1 is off;

[0087] (2) B voltage is obtained by dividing S2 voltage by resistors R3 and R4, and when S2 voltage is higher than transmission line power supply threshold, B voltage is higher than N2 and N3 gate threshold voltage;

[0088] (3) When N2 is on, C voltage is obtained by dividing S2 voltage by resistors R5 and R6, and when the voltage difference between S2 voltage and C voltage is greater than P1 gate threshold voltage, P1 is on, and S2 is powered by P1 and D2;

[0089] (4) When N3 is on, PoCXP sensing resistor RS to ground is in conducting state; the acquisition card can detect RS, and continuously provide PoCXP power supply to the industrial camera through the CoaXPress coaxial cable;

[0090] (5) D1 blocks S2 from charging S1.

[0091] 3. When S1 voltage is 0, and S2 voltage is lower than transmission line power supply threshold, the circuit has no power supply output.

[0092] The circuit supports hot plug of power supply and PoCXP power supply, and can automatically switch between the above three working modes.

[0093] The power supply threshold can be adjusted by resistors R1 and R2 in proportion, and the calculation method is Vths1=Vthn1*(R1+R2) / R2, wherein Vths1 is the power supply threshold, and Vthn1 is the gate threshold voltage of N1. In addition, when the power supply voltage value is higher than the maximum gate-drain voltage of N1, the R1 and R2 voltage division can limit the gate voltage of N1 within the maximum gate-drain voltage. When there is no need to adjust the power supply threshold, and the power supply voltage is less than the maximum gate-drain voltage of N1, the circuit can be adjusted by disconnecting R2, and R1 can be short-circuited or have any resistance value.

[0094] Similarly, the transmission line power supply threshold can be adjusted by the resistance R3, R4 ratio and resistance R5, R6 ratio, the calculation method is Vths2 = MAX{Vthn2*(R3+R4) / R4, Vthp1*(R5+R6) / R5}, wherein Vths2 is the transmission line power supply threshold Vthn2 is the gate threshold voltage of N2, Vthp1 is the gate threshold voltage of P1. In addition, when the PoCXP supply voltage value is higher than the N2 maximum gate drain voltage or P1 maximum source gate voltage, R3, R4 voltage division and R5, R6 voltage division can limit the gate voltage of N2 within the maximum gate drain voltage, and the voltage difference between the source and gate of P1 within the maximum source gate voltage. When there is no need to adjust the transmission line power supply threshold, and the PoCXP supply voltage value is less than the maximum gate drain voltage of N1, N2 and the maximum source gate voltage of P1, the circuit can be adjusted by shorting R6 and disconnecting R4.

[0095] PoCL power supply and power supply switching embodiment

[0096] As shown in Figure 3 S1 is a power supply module; S2 is a collection card power supply module, CameraLink collection card provides transmission line power supply to industrial camera through CameraLink cable, called PoCL power supply, the standard supply voltage value is 12V, wherein S2A is the 1st and 26th pins of CameraLink connector, S2B is the 13th and 14th pins of CameraLink connector; R1, R2, N1 is a power supply switching module; CS, RS, N3 is a switching judgment module; R3, R4, R5, R6, N2, P1 is a switching module; D1, D2 power output module; wherein N1, N2, N3 is N type MOSFET, P1 is P type MOSFET, D1, D2 is diode, RS is the inductive resistance of PoCL power supply, the resistance value is 10 kilo ohm, CS is the inductive capacitance of PoCL power supply, the capacitance value is 47 micro farad, R1-R6 is resistance. A point is called the first voltage control point, B point is called the second voltage control point, C point is called the third voltage control point. The main difference between this embodiment and the above PoCXP is that there is an additional inductive capacitor CS.

[0097] The gate of N1 is connected to a first voltage control point, the drain is connected to a second voltage control point, and the source is connected to the ground; the gate of N2 is connected to the second voltage control point, the drain is connected to a third voltage control point through a resistance R6, and the source is connected to the ground; the gate of N3 is connected to the second voltage control point, the drain is connected to the 1st pin and the 26th pin S2A of a collection card power supply module S2 through an inductive resistance RS and an inductive capacitor CS, and the source is connected to the ground; the gate of P1 is connected to the third voltage control point, the source is connected to the 1st pin and the 26th pin S2A of the collection card power supply module S2, and the drain is connected to the positive terminal of a diode D2. The first voltage control point is connected to the positive terminal of a power supply module S1 through a resistance R1 and connected to the ground through a resistance R2; the second voltage control point is connected to the 1st pin and the 26th pin S2A of the collection card power supply module S2 through a resistance R3 and connected to the ground through a resistance R4; the third voltage control point is connected to the 1st pin and the 26th pin S2A of the collection card power supply module S2 through a resistance R5 and connected to the drain of N2 through a resistance R6. The positive terminal of the power supply module S1 is connected to the positive terminal of the diode D1, and the negative terminal is connected to the ground; the 1st pin and the 26th pin S2A of the collection card power supply module S2 are connected to the inductive resistance RS and the inductive capacitor CS, and the 13th pin and the 14th pin S2B of the collection card power supply module S2 are connected to the ground; the inductive resistance RS and the inductive capacitor CS are connected in parallel between the 1st pin and the 26th pin S2A of the collection card power supply module S2 and the drain of N3; the negative terminal of the diode D1 and the negative terminal of the diode D2 are connected, serving as a power supply output point.

[0098] In summary, the circuit structure of the present application is simple, all uses discrete devices (MOSFET, diode, resistance) to build a circuit, has lower cost, higher functional flexibility, and low dependence on device selection; the power supply switching module is connected to the power supply module, and the switching state of the output is automatically switched according to the power supply state to control the circuit switching power supply output, supports power supply and transmission line power supply hot plug, and automatically switches between several different working modes; has a switching judgment module, and the switching judgment module can be automatically switched by the power supply switching module to provide different detection signals for the collection card.

[0099] In another aspect, the present application also discloses a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to make the processor execute the steps of any of the above methods.

[0100] In another aspect, the present application also discloses a computer device, which comprises a memory and a processor, and the memory stores a computer program, and the computer program is executed by the processor to make the processor execute the steps of any of the above methods.

[0101] In another embodiment provided in the present application, a computer program product containing instructions is also provided, which makes a computer execute the steps of any of the above methods when the computer program product runs on the computer.

[0102] It can be understood that the system provided by the embodiments of the present application corresponds to the method provided by the embodiments of the present application, and the explanation, examples and beneficial effects of the related content can refer to the corresponding part in the above method.

[0103] It can be understood by those skilled in the art that all or part of the processes in the above-mentioned embodiment methods can be completed by a computer program instructing related hardware, and the program can be stored in a non-volatile computer readable storage medium. When the program is executed, it can include the processes of the above-mentioned embodiments of the method. Any reference to memory, storage, database or other medium used in each embodiment provided by the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc. Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of each technical feature in the above-mentioned embodiments are not described, however, as long as the combination of these technical features does not exist, it should be considered as the scope of the present application.

[0104] The above embodiments are only used to illustrate the technical solutions of the present application, but not limit it; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A power supply switching method for a capture card terminal, characterized by, The method comprises the following determination steps: a. If the power supply module meets the terminal power supply requirement, By changing the switch module, the switch determination module forms a detection signal without power supply, and transmits the detection signal to the acquisition card through the acquisition card power supply module to inform the acquisition card to stop power supply; b. If the power supply module does not meet the terminal power supply requirement, the switch module changes the switch determination module to form a detection signal with power supply, and transmits the detection signal to the acquisition card through the acquisition card power supply module to inform the acquisition card to supply power; When the output voltage of the acquisition card power supply module meets the terminal power supply requirement, the switch module turns on the electrical connection between the acquisition card power supply module and the power supply output module, so that the acquisition card power supply module outputs to the terminal through the switch module and the power supply output module; The method is used for PoCXP power supply circuit, and the circuit structure comprises: the gate of an N-type MOS tube N1 is connected to a first voltage control point, the drain is connected to a second voltage control point, and the source is connected to the ground; the gate of an N-type MOS tube N2 is connected to the second voltage control point, the drain is connected to a third voltage control point through a resistor R6, and the source is connected to the ground; the gate of an N-type MOS tube N3 is connected to the second voltage control point, the drain is connected to the positive terminal of an acquisition card power supply module S2 through an inductive resistor RS, and the source is connected to the ground; the gate of a P-type MOS tube P1 is connected to the third voltage control point, the source is connected to the positive terminal of the acquisition card power supply module S2, and the drain is connected to the positive terminal of a diode D2; the first voltage control point is connected to the positive terminal of a power supply module S1 through a resistor R1 and connected to the ground through a resistor R2; the second voltage control point is connected to the positive terminal of the acquisition card power supply module S2 through a resistor R3 and connected to the ground through a resistor R4; the third voltage control point is connected to the positive terminal of the acquisition card power supply module S2 through a resistor R5 and connected to the drain of N2 through a resistor R6; the positive terminal of S1 is connected to the positive terminal of a diode D1, and the negative terminal of S1 is connected to the ground; the positive terminal of S2 is connected to the inductive resistor RS, and the negative terminal of S2 is connected to the ground; the negative terminal of the diode D1 and the negative terminal of the diode D2 are connected, serving as a power supply output point; The PoCXP power supply circuit comprises three working modes The first mode: when the voltage of S1 is higher than the power supply threshold, S1 outputs power supply, S2 does not output power supply, S1 is blocked from charging S2, and the PoCXP inductive resistor RS is disconnected to the ground; The second mode: when the voltage of S1 is lower than the power supply threshold and the voltage of S2 is higher than the transmission line power supply threshold, S2 outputs power supply, S1 is blocked from charging S2, and the PoCXP inductive resistor RS is connected to the ground; The third mode: when the voltage of S1 is 0 and the voltage of S2 is lower than the transmission line power supply threshold, the power supply circuit does not output power supply.

2. A power supply switching system for a capture card terminal, comprising a power supply module, a power supply output module and a switching module, characterized in that, The method further comprises an acquisition card power supply module, a power supply switch module and a switch determination module, wherein The power supply switch module is used for forming different switch states according to the output voltage of the power supply module, and changing the electrical connection state between the power supply module and the power supply output module according to different switch states; The switch determination module is used for providing a detection signal for output control of the acquisition card power supply module according to different switch states of the power supply switch module. A switch module is configured to control the electrical connection state between the acquisition card power supply module and the power output module according to the output voltage of the power supply module and the output voltage of the acquisition card power supply module. The switching system includes a PoCXP power supply circuit, and the circuit structure includes: the gate of an N-type MOS tube N1 is connected to a first voltage control point, the drain is connected to a second voltage control point, and the source is connected to the ground; the gate of an N-type MOS tube N2 is connected to the second voltage control point, the drain is connected to a third voltage control point through a resistor R6, and the source is connected to the ground; the gate of an N-type MOS tube N3 is connected to the second voltage control point, the drain is connected to the positive terminal of the acquisition card power supply module S2 through an inductive resistor RS, and the source is connected to the ground; the gate of a P-type MOS tube P1 is connected to the third voltage control point, the source is connected to the positive terminal of the acquisition card power supply module S2, and the drain is connected to the positive terminal of a diode D2; the first voltage control point is connected to the positive terminal of the power supply module S1 through a resistor R1 and connected to the ground through a resistor R2; the second voltage control point is connected to the positive terminal of the acquisition card power supply module S2 through a resistor R3 and connected to the ground through a resistor R4; the third voltage control point is connected to the positive terminal of the acquisition card power supply module S2 through a resistor R5 and connected to the drain of N2 through a resistor R6; the positive terminal of S1 is connected to the positive terminal of a diode D1, and the negative terminal of S1 is connected to the ground; the positive terminal of S2 is connected to the inductive resistor RS, and the negative terminal of S2 is connected to the ground; the negative terminal of the diode D1 is connected to the negative terminal of the diode D2, serving as a power output point.

3. The power switching system for a capture card terminal according to claim 2, wherein: The switching state includes a first switching state and a second switching state formed by the power supply switching module according to the comparison result of the power supply voltage and the power supply voltage threshold value; The first switching state is that the power supply voltage is greater than or equal to the power supply voltage threshold value; The second switching state is that the power supply voltage is less than the power supply voltage threshold value.

4. The power switching system for a capture card terminal of claim 3, wherein: When the power supply switching module is in the first switching state, the switching judgment module provides a first detection signal for stopping power output to the acquisition card; and the switching power module controls the switch module to be disconnected, so that the power supply module supplies power to the terminal.

5. The power switching system for a capture card terminal of claim 3, wherein: When the power supply switching module is in the second switching state and the acquisition card power voltage is greater than or equal to the acquisition card power voltage threshold value, the switching judgment module provides a second detection signal for outputting power to the acquisition card, the acquisition card power output module outputs the voltage, and the switch module is turned on, so that the acquisition card supplies power to the terminal. The acquisition card power voltage threshold value is the minimum value of the acquisition card output voltage to the terminal, which meets the terminal standard power supply voltage value.

6. The power supply switching system for a capture card terminal according to claim 3, wherein: The power supply voltage threshold value is the minimum value of the power supply output voltage to the terminal, which meets the terminal standard power supply voltage value.

7. The power switching system for a capture card terminal of claim 2, wherein: The power output module selects the power supply module or the acquisition card power supply module to output power to the terminal, and blocks the power supply module and the acquisition card power supply module from charging each other.

8. A power supply switching circuit for a capture card terminal, characterized by comprising: It includes: The power supply switching circuit is connected with the power supply circuit, the switching judgment circuit and the switch circuit respectively; the power supply circuit is also connected with the power supply output circuit; the switching judgment circuit is also connected with the acquisition card power supply circuit and the switch circuit respectively, and the acquisition card power supply circuit is connected with the power supply output circuit through the switch circuit; The power supply switching circuit controls the switching judgment circuit and the switch circuit according to the switching state in claim 3, to confirm whether the terminal is powered by the power supply circuit through the power supply output circuit; The switching judgment circuit is used for providing the detection signal in claim 1 or 2 for the power supply switching circuit, to control the switch circuit, to confirm whether the terminal is powered by the acquisition card power supply circuit through the power supply output circuit; The switch circuit is used for controlling the disconnection and connection of the acquisition card power supply circuit and the power supply output circuit.

9. A power supply switching device for a capture card terminal, characterized by comprising: It comprises: a memory for storing a computer program; a processor for executing the computer program to realize the power supply switching method for the acquisition card terminal in claim 1.

10. A computer-readable storage medium, characterized in that, It comprises: a computer readable storage medium, which stores a computer program; the computer program is executed by a processor to realize the power supply switching method for the acquisition card terminal in claim 1.

Citation Information

Patent Citations

  • Main-auxiliary power supply automatic switching system and method

    CN105449831A

  • Active cable and active cable system

    JP2013175977A