Overvoltage protection circuit, method, device, source meter and storage medium
By designing a clamping circuit structure composed of a bidirectional optocoupler unit and a bidirectional voltage stabilizing module in the source meter, the problem of damage to the sampling module when high input voltage is loaded to a low input range is solved, and the safety protection of the sampling module is achieved, improving the efficiency of the sampling module. Circuit security.
Patent Information
- Application Number
- CN202410978522.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-22
AI Technical Summary
During the automatic range switching process, when a high input voltage is loaded to a low input range, it is easy to cause damage to the sampling module, and there is a lack of effective overvoltage protection measures.
An overvoltage protection circuit is designed, which uses a bidirectional optocoupler unit and a bidirectional voltage stabilizing module to form a clamping circuit structure. When the input voltage exceeds the allowable upper limit, the circuit clamps it at a safe voltage to avoid damage to the sampling module. The circuit includes a MOS tube, a resistor voltage dividing unit, a switch driving unit, a bidirectional optocoupler unit and a bidirectional voltage stabilizing module. By controlling the turn-on state and driving voltage of the MOS tube, the input voltage can be safely divided.
It effectively improves the safety during the process of loading high input voltage to low input range, avoids damage to the sampling module due to divided sampling voltage signals, and ensures stable operation of the circuit under high-voltage conditions.
Smart Images

Figure CN118523273B
Abstract
Description
Technical Field
[0001] The present application relates to the field of source meters, and in particular to an overvoltage protection circuit, method, device, source meter, and storage medium. Background Art
[0002] With the development of measurement and control technology, the requirements for measurement are becoming increasingly stringent. Sourcemeters, which can function as both power sources and measuring instruments, are becoming increasingly popular in various industries. The automatic range switching function is particularly popular among engineers. However, during automatic range switching, high input voltages can be applied to low input ranges, which can easily damage the sampling module. Summary of the Invention
[0003] The present application aims to propose an overvoltage protection circuit, method, device, source meter and storage medium, which can improve the safety when a high input voltage is loaded into a low input range.
[0004] An overvoltage protection circuit according to an embodiment of the first aspect of the present application includes:
[0005] A first MOS transistor, with a first resistor connected between the source and the gate;
[0006] a second MOS transistor, having a source connected to the source of the first MOS transistor and a gate connected to the gate of the first MOS transistor;
[0007] a resistor voltage divider unit having a first sampling connection terminal connected to the drain of the second MOS transistor, a second sampling connection terminal connected to the ground line, and a sampling signal output terminal for outputting a divided sampling voltage signal, wherein the second sampling connection terminal and the drain of the first MOS transistor are commonly used to access an input voltage;
[0008] a switch driving unit having a switch controlled terminal, a first switch connecting terminal connected to the gate of the first MOS transistor, and a second switch connecting terminal connected to the source of the first MOS transistor, the switch driving unit being configured to adjust a driving voltage across the first resistor to turn on or off the first MOS transistor and the second MOS transistor;
[0009] a bidirectional optocoupler unit, comprising a first optocoupler connection terminal and a second optocoupler connection terminal serving as a first group of connection terminals, and a third optocoupler connection terminal and a fourth optocoupler connection terminal serving as a second group of connection terminals, wherein the third optocoupler connection terminal is connected to the gate of the first MOS transistor, the fourth optocoupler connection terminal is connected to the source of the first MOS transistor, and the second optocoupler connection terminal is connected to the drain of the second MOS transistor;
[0010] a bidirectional voltage stabilization module, one end of which is connected to the first optocoupler connection end, and the other end of which is connected to the ground wire via a current-limiting resistor;
[0011] A sampling module, the input end of which is connected to the sampling signal output end; the sum of the on-state voltage of the bidirectional optocoupler unit and the reverse breakdown voltage of the bidirectional voltage regulator module is less than the safe input voltage allowed by the sampling module;
[0012] a control unit, connected to the output end of the sampling module and the controlled end of the switch, respectively, for adjusting the on-state of the first MOS transistor and the second MOS transistor, and obtaining the divided voltage sampling signal collected by the sampling module when the first MOS transistor and the second MOS transistor are in the on-state, and adjusting the on-off state of the switch driving unit according to the divided voltage sampling signal.
[0013] According to an overvoltage protection circuit control method according to an embodiment of the second aspect of the present application, applied to the overvoltage protection circuit according to the embodiment of the first aspect, the overvoltage protection circuit control method includes:
[0014] Sending a collection start signal to the controlled end of the switch, so that the switch driving unit adjusts the driving voltage between the two ends of the first resistor, so that the first MOS transistor and the second MOS transistor are turned on;
[0015] Obtaining the divided voltage sampling signal collected by the sampling module;
[0016] The on / off state of the switch driving unit is adjusted according to the divided voltage sampling voltage signal.
[0017] An overvoltage protection device according to an embodiment of the third aspect of the present application is applied to the overvoltage protection circuit as described in the embodiment of the first aspect, and the overvoltage protection device includes:
[0018] A start control module is used to send an acquisition start signal to the controlled end of the switch, so that the switch driving unit adjusts the driving voltage between the two ends of the first resistor, so that the first MOS transistor and the second MOS transistor are turned on;
[0019] A sampling voltage acquisition module is used to obtain the divided sampling voltage signal collected by the sampling module;
[0020] A state adjustment module is used to adjust the on-off state of the switch driving unit according to the divided voltage sampling voltage signal.
[0021] The source meter according to the fourth aspect of the present application includes the overvoltage protection circuit as described in the embodiment of the first aspect.
[0022] According to the computer-readable storage medium of the fifth embodiment of the present application, computer-executable instructions are stored, and the computer-executable instructions are used to execute the overvoltage protection circuit control method as described in the second embodiment above.
[0023] The overvoltage protection circuit, method, device, source meter, and storage medium of the embodiments of the present application can form a clamping circuit structure through a bidirectional optocoupler unit and a bidirectional voltage regulator module. When the input voltage exceeds the upper limit allowed under the current gear, the clamping circuit structure will clamp the voltage at a safe voltage. At this safe voltage, the voltage-divided sampling voltage signal output by the resistor divider unit can be prevented from causing damage to the sampling module, thereby improving the safety of the process of loading a high input voltage into a low input range.
[0024] Other features and advantages of the present application will be set forth in the following description, and in part will be apparent from the description, or may be learned by practicing the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0026] Figure 1 A circuit schematic diagram of an embodiment of the overvoltage protection circuit provided by this application;
[0027] Figure 2 A flowchart of an embodiment of the overvoltage protection circuit control method provided by the present application;
[0028] Figure 3 This is a schematic structural diagram of an embodiment of the overvoltage protection device provided in this application.
[0029] Reference numerals:
[0030] Resistor voltage divider unit 110, switch drive unit 120, bidirectional optical coupler unit 130, bidirectional voltage regulator module 140, sampling module 150, control unit 160,
[0031] Overvoltage protection device 300 , startup control module 310 , sampling voltage acquisition module 320 , state adjustment module 330 . DETAILED DESCRIPTION
[0032] The following describes in detail embodiments of the present application. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application and are not to be construed as limiting the present application.
[0033] In the description of this application, if there is a description of first, second, etc., it is only for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0034] In the description of this application, it should be understood that descriptions involving orientation, such as the orientation or positional relationship indicated by up, down, etc., are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on this application.
[0035] In the description of this application, it should be noted that, unless otherwise clearly defined, terms such as setting, installing, and connecting should be understood in a broad sense, and technical personnel in the relevant technical field can reasonably determine the specific meaning of the above terms in this application based on the specific content of the technical solution.
[0036] The technical solution of the present application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described below are only part of the embodiments of the present application, not all of the embodiments.
[0037] See also Figure 1 As shown, Figure 1 : is a circuit schematic diagram of an overvoltage protection circuit provided by an embodiment of the present application, the overvoltage protection circuit includes:
[0038] A first MOS transistor Q1 has a first resistor R1 connected between its source and gate;
[0039] The second MOS transistor Q2 has a source connected to the source of the first MOS transistor Q1 and a gate connected to the gate of the first MOS transistor Q1;
[0040] The resistor voltage divider unit 110 has a first sampling connection terminal connected to the drain of the second MOS transistor Q2, a second sampling connection terminal connected to the ground line, and a sampling signal output terminal for outputting a divided sampling voltage signal. The second sampling connection terminal and the drain of the first MOS transistor Q1 are used to connect to the input voltage.
[0041] The switch driving unit 120 has a switch controlled terminal, a first switch connecting terminal connected to the gate of the first MOS transistor Q1, and a second switch connecting terminal connected to the source of the first MOS transistor Q1. The switch driving unit 120 is used to adjust the driving voltage across the first resistor R1 to turn on or off the first MOS transistor Q1 and the second MOS transistor Q2.
[0042] The bidirectional optocoupler unit 130 has a first optocoupler connection terminal and a second optocoupler connection terminal serving as a first group of connection terminals, and a third optocoupler connection terminal and a fourth optocoupler connection terminal serving as a second group of connection terminals, wherein the third optocoupler connection terminal is connected to the gate of the first MOS transistor Q1, the fourth optocoupler connection terminal is connected to the source of the first MOS transistor Q1, and the second optocoupler connection terminal is connected to the drain of the second MOS transistor Q2;
[0043] A bidirectional voltage regulator module 140 , one end of which is connected to the first optocoupler connection terminal, and the other end of which is connected to the ground line via a current-limiting resistor R3 ;
[0044] The sampling module 150 has an input terminal connected to a sampling signal output terminal;
[0045] The control unit 160 is connected to the output terminal and the switch controlled terminal of the sampling module 150, respectively, and is used to adjust the on-state of the first MOS transistor and the second MOS transistor. When the first MOS transistor and the second MOS transistor are in the on-state, the control unit 160 obtains the divided voltage sampling signal collected by the sampling module and adjusts the on-off state of the switch driving unit according to the divided voltage sampling signal.
[0046] In an embodiment of the present application, a clamping circuit structure can be formed by the bidirectional optocoupler unit 130 and the bidirectional voltage regulator module 140. When the input voltage exceeds the upper limit allowed under the current gear, the clamping circuit structure will clamp the voltage at a safe voltage. At this safe voltage, the voltage-divided sampling voltage signal output by the resistor divider unit 110 can be prevented from causing damage to the sampling module 150, thereby improving the safety of the process of loading the high input voltage into the low input range.
[0047] The structure in which the first MOS transistor Q1 and the second MOS transistor Q2 are connected via the source electrodes can achieve limitation in both positive and negative input situations.
[0048] Specifically, if only one MOS tube is used, when switching to other gear ranges and the circuit needs to be shut down, if the input voltage corresponding to the gear range is positive, it can still be shut down normally. If the input voltage corresponding to the gear range is negative, the current will pass through the parasitic diode of the MOS tube body and cannot be truly shut down. Therefore, using two MOS tubes to connect can avoid the occurrence of this problem.
[0049] The resistor voltage divider unit 110 may divide the input voltage by resistor voltage division and output a sampling voltage signal that is proportional to the input voltage.
[0050] The switch drive unit 120 is controlled by the control unit 160 and can change the drive voltage across the first resistor R1 based on the control signal output by the control unit 160 to control the conduction or disconnection of the first MOS transistor Q1 and the second MOS transistor Q2. In this embodiment, when testing is required, the first MOS transistor Q1 and the second MOS transistor Q2 are controlled to conduct to allow the input voltage to be input.
[0051] The switch driving unit 120 may be an optical coupler mainly used to drive a MOS tube. For example, an optical coupler of model TLP3905 may be used.
[0052] The bidirectional optical coupling unit 130 and the bidirectional voltage stabilization module 140 constitute a clamping circuit structure, which can control the voltage acquisition signal input to the acquisition unit within a safe threshold when the input voltage is too high.
[0053] The above-mentioned clamping voltage is determined by the sum of the on-state voltage of the bidirectional optocoupler unit 130 and the reverse breakdown voltage of the bidirectional voltage regulator module 140. During implementation, the sum of the on-state voltage of the bidirectional optocoupler unit 130 and the reverse breakdown voltage of the bidirectional voltage regulator module 140 can be made smaller than the safe input voltage allowed by the sampling module 150, so as to improve safety. In addition, the sum of the on-state voltage of the bidirectional optocoupler unit 130 and the reverse breakdown voltage of the bidirectional voltage regulator module 140 can be made larger than the preset range of the current gear range voltage to avoid triggering the voltage clamping when it is still within the measurable range.
[0054] In some embodiments, reference Figure 1 , the resistor voltage divider unit 110 includes:
[0055] A voltage dividing resistor R4, one end of which is connected to the drain of the second MOS transistor Q2;
[0056] The sampling resistor RS has one end connected to the other end of the voltage divider resistor R4 and the other end connected to the ground.
[0057] In this embodiment, a voltage divider circuit is formed by using the voltage divider resistor R4 and the sampling resistor RS, so that the input voltage can be divided into a safe range that will not damage the sampling module 150 .
[0058] In some embodiments, there are multiple resistor divider units 110. For the same input voltage, the sampling signal output ends of the multiple resistor divider units 110 output different divided sampling voltage signals. Each resistor divider unit 110 is correspondingly provided with a switching switch, and the switching switch is used to connect the corresponding resistor divider unit 110 to the overvoltage protection circuit or cut out the overvoltage protection circuit.
[0059] The above-mentioned multiple resistance voltage divider units 110 correspond to multiple different sub-range adjustment voltage levels, each sub-range adjustment voltage level is determined by the corresponding low threshold voltage and high threshold voltage, and the low threshold voltage of each sub-range adjustment voltage level is the high threshold voltage of the previous level; multiple sub-range adjustment voltage levels are all within the preset range of the current range voltage.
[0060] The above-mentioned different resistor voltage divider units 110 can be implemented by providing different voltage divider resistors R4 in combination with the same sampling resistor RS, or by providing different voltage divider resistors R4 and different sampling resistors RS.
[0061] In this embodiment, by setting different resistance voltage divider units 110 for different sub-levels, automatic switching of sub-levels can be achieved within the preset range of the current level range voltage, which can effectively improve the detection accuracy.
[0062] In some embodiments, different clamping circuits and resistor divider units 110 may be configured for different gears. That is, each gear corresponds to a different preset range of gear range voltage, and within each preset range of gear range voltage, multiple different sub-gear adjustment voltage levels may be configured. However, when switching between different gears, direct automatic switching may be employed instead, which can reduce the difficulty of circuit design and further ensure safety.
[0063] In some embodiments, the first MOS transistor Q1 and the second MOS transistor Q2 can be MOS transistors whose on-resistance varies little with temperature. For example, in some practical projects, the on-resistance of the MOS transistors used varies by only 1Ω within a temperature range of -40°C to 150°C. If a 1MΩ voltage divider resistor R4 is used, the accuracy will only be affected by 1 ppm.
[0064] In some embodiments, reference Figure 1 The switch driving unit 120 includes a gate driver, an input anode of the gate driver is used to connect to the working voltage, an input cathode is connected to the control unit 160, an output anode is connected to the gate of the first MOS tube Q1, and an output cathode is connected to the source of the first MOS tube Q1.
[0065] In this embodiment, the gate driver can be used to drive the first MOS transistor Q1 and the second MOS transistor Q2, and can prevent the main circuit from causing damage to the control circuit.
[0066] Specifically, refer to Figure 1 U1 is a gate driver. When the control signal CRTL output by the control unit is at a low level, the light-emitting diodes at pins 1 and 3 of U1 are turned on, generating a reverse current on multiple photodiodes connected in series at pins 4 and 6 of U1. The current flows through the second resistor R2, and a voltage of up to 10V is generated across R2. This voltage, as a gate-source drive voltage, is sufficient to fully turn on the first MOS transistor Q1 and the second MOS transistor Q2.
[0067] In some embodiments, reference Figure 1 , the bidirectional voltage stabilization module 140 includes:
[0068] A first voltage-stabilizing tube D1, an anode of which is connected to a first optical coupler connection terminal;
[0069] The cathode of the second voltage-stabilizing tube D2 is connected to the cathode of the first voltage-stabilizing tube D1, and the anode is connected to the ground wire through the current-limiting resistor R3;
[0070] Among them, the sum of the conduction voltage of the bidirectional optocoupler unit 130, the conduction voltage of the first voltage stabilizing diode D1, and the reverse breakdown voltage of the second voltage stabilizing diode D2, or the sum of the conduction voltage of the bidirectional optocoupler unit 130, the reverse breakdown voltage of the first voltage stabilizing diode D1, and the conduction voltage of the second voltage stabilizing diode D2, is less than the safe input voltage allowed by the sampling module 150.
[0071] In this embodiment, the cathodes of the first voltage stabilizing diode D1 and the second voltage stabilizing diode D2 are arranged oppositely to form a part of the clamping circuit structure. When the input voltage is too high, the bidirectional optocoupler unit 130, the first voltage stabilizing diode D1, and the second voltage stabilizing diode D2 can clamp the voltage within a safe threshold.
[0072] The above clamping voltage is determined by the conduction voltage of the bidirectional optocoupler unit 130, the conduction voltage or reverse breakdown voltage of the first voltage stabilizing diode D1, and the reverse breakdown voltage or conduction voltage of the second voltage stabilizing diode D2.
[0073] During the process of determining the clamping voltage as described above, the determined clamping voltage needs to be less than the safe input voltage allowed by the sampling module 150 and should preferably be greater than the preset range of the voltage of the current gear range, so as to ensure safety while avoiding triggering voltage clamping within the measurable range of the current gear.
[0074] Specifically, for example, referring to Figure 2 , U2 is the bidirectional optocoupler unit 130, its conduction voltage drop is set as VF1, the first voltage stabilizing diode D1 and the second voltage stabilizing diode D2 can be the same voltage stabilizing diodes, the forward conduction voltage drop is set as VF2, and the reverse breakdown voltage is set as VR. R3 is the current-limiting resistor R3.
[0075] When the input voltage VIN < VF1 + VF2 + VR, the voltage stabilizing diodes do not reach the reverse breakdown voltage, the input circuit of U2 is not conducting, the output triode in U2 is cut off, and the whole circuit works normally. At this time, when the sampling module 150 detects which sub-gear the input voltage corresponds to, the control module will control the corresponding resistor voltage division unit 110 to be connected.
[0076] When VIN > VF1 + VF2 + VR, D1 or D2 (specifically, whether it is D1 or D2 is determined by the polarity of the input voltage) is reverse broken down, the input circuit of U2 is conducting, which drives the output triode to conduct, thereby pulling down the gate-source drive voltage of Q1 and Q2, making Q1 and Q2 out of the saturation region and entering the amplification region. At this time, Q1 and Q2 are equivalent to variable resistors, and finally the voltage of the 2nd pin of Q2 is stabilized at VF1 + VF2 + VR + VR3 (the voltage drop of R3, generally between 0 and a few volts). And when the sampling module 150 detects that VIN > VINrangemax, it will need to switch to a larger gear and give a high level to CRTL to cut off Q1 and Q2.
[0077] See also Figure 2 As shown, Figure 2 1 is a flow chart of an overvoltage protection circuit control method provided by an embodiment of the present application, the overvoltage protection circuit control method comprising steps S210 to S230;
[0078] Step S210 , sending a collection start signal to the controlled end of the switch, so that the switch driving unit 120 adjusts the driving voltage between the two ends of the first resistor R1 , so that the first MOS transistor Q1 and the second MOS transistor Q2 are turned on;
[0079] Step S220, obtaining the divided voltage sampling signal collected by the sampling module 150;
[0080] Step S230 , adjusting the on / off state of the switch driving unit 120 according to the divided voltage sampling voltage signal.
[0081] The overvoltage protection circuit control method in the embodiment of the present application is implemented based on the above-mentioned overvoltage protection circuit. The overvoltage protection circuit has been described in detail above and will not be repeated here.
[0082] When the user decides to start the test, the control unit 160 in the source meter generates a collection start signal, which is sent to the controlled switch terminal. The voltage between the first switch connection terminal and the second switch connection terminal of the switch driver unit 120 changes, and the drive voltage between the two ends of the first resistor R1 meets the requirement to drive the first MOS transistor Q1 and the second MOS transistor Q2 to turn on, completing the turning on of the first MOS transistor Q1 and the second MOS transistor Q2. After the first MOS transistor Q1 and the second MOS transistor Q2 are turned on, the sampling module 150 can be used to start signal collection, and the on-off state of the switch driver unit 120 can be adjusted based on the divided voltage sampled voltage signal collected by the sampling module 150, for example, to adjust the sub-range and control the cutoff of the first MOS transistor Q1 and the second MOS transistor Q2.
[0083] The above acquisition start signal is a control signal output by the control unit. Figure 1 In the scenario shown, it can be a low-level signal.
[0084] In some embodiments, adjusting the on / off state of the switch driving unit 120 according to the divided voltage sampling voltage signal includes:
[0085] When the divided voltage sampling signal exceeds the preset current gear range voltage, a sampling stop signal is sent to the switch controlled end to adjust the driving voltage across the first resistor R1, so that the first MOS transistor Q1 and the second MOS transistor Q2 are disconnected.
[0086] The above acquisition stop signal is the control signal output by the control unit. Figure 1 In the illustrated scenario, it may be a high-level signal.
[0087] The above-mentioned current gear range voltage preset range corresponds to the current gear. When it exceeds the current gear range voltage preset range, it is necessary to switch to the next gear. At this time, the switch driving unit 120 can adjust the driving voltage across the first resistor R1 to disconnect the first MOS tube Q1 and the second MOS tube Q2. At this time, the input voltage cannot enter the voltage divider circuit, and the gear switching can be completed.
[0088] The switching between different gears can be achieved by setting different clamping circuits and resistor voltage divider units 110, that is, each gear corresponds to a different gear range voltage preset range.
[0089] In some embodiments, there are multiple resistor divider units 110. For the same input voltage, the sampling signal output terminals of the multiple resistor divider units 110 output different divided sampling voltage signals. Each resistor divider unit 110 is correspondingly provided with a switching switch. The multiple resistor divider units 110 correspond to multiple different sub-range adjustment voltage levels. Each sub-range adjustment voltage level is determined by a corresponding low threshold voltage and a high threshold voltage. The low threshold voltage of each sub-range adjustment voltage level is the high threshold voltage of the previous level. The multiple sub-range adjustment voltage levels are all within a preset current range voltage range.
[0090] Adjusting the on / off state of the switch driving unit 120 according to the divided voltage sampling voltage signal includes:
[0091] Determine the resistor voltage divider unit 110 to be connected according to the voltage divided sampling voltage signal and the multiple sub-level adjustment voltage levels;
[0092] Control the switch corresponding to the resistor divider unit 110 to be connected to be turned on, and control the remaining resistor divider units 110 to be turned off;
[0093] When the voltage corresponding to the divided voltage sampling signal exceeds the preset range of the current gear range voltage, an acquisition stop signal is sent to the controlled end of the switch to adjust the driving voltage across the first resistor R1, so that the first MOS transistor Q1 and the second MOS transistor Q2 are disconnected.
[0094] The above-mentioned multiple resistance voltage divider units 110 correspond to multiple continuous and different sub-range adjustment voltage levels, each sub-range adjustment voltage level is determined by the corresponding low threshold voltage and high threshold voltage, and the low threshold voltage of each sub-range adjustment voltage level is the high threshold voltage of the previous level; multiple sub-range adjustment voltage levels are all within the preset range of the current range voltage.
[0095] The above-mentioned different resistor voltage divider units 110 can be implemented by providing different voltage divider resistors R4 in combination with the same sampling resistor RS, or by providing different voltage divider resistors R4 and different sampling resistors RS.
[0096] In this embodiment, by providing different resistor divider units 110 for different sub-ranges, automatic sub-range switching can be achieved within the preset range of the current range voltage, effectively improving detection accuracy. Furthermore, when the current range voltage corresponding to the current range voltage is exceeded, the first MOS transistor Q1 and the second MOS transistor Q2 can be disconnected to facilitate the operator's ability to switch gears.
[0097] The overvoltage protection circuit control method provided in the embodiment of the present application may be executed by the overvoltage protection device 300. In the embodiment of the present application, the overvoltage protection device 300 executing the overvoltage protection circuit control method is taken as an example to illustrate the overvoltage protection device 300 provided in the embodiment of the present application.
[0098] like Figure 3 As shown, the embodiment of the present application further provides an overvoltage protection device 300, which includes:
[0099] The start control module 310 is used to send an acquisition start signal to the controlled end of the switch, so that the switch driving unit 120 adjusts the driving voltage between the two ends of the first resistor R1, so that the first MOS transistor Q1 and the second MOS transistor Q2 are turned on;
[0100] The sampling voltage acquisition module 320 is used to obtain the divided sampling voltage signal collected by the sampling module 150;
[0101] The state adjustment module 330 is configured to adjust the on / off state of the switch driving unit 120 according to the divided voltage sampling voltage signal.
[0102] The overvoltage protection device 300 in the embodiment of the present application can be an electronic device or a component of an electronic device, such as an integrated circuit or chip. The electronic device can be a terminal or other device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA). It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine (ATM), or a self-service machine, etc., and the embodiment of the present application does not specifically limit this.
[0103] The present invention also provides a source meter including the above-mentioned overvoltage protection circuit. The source meter provided in the present invention can implement the various processes implemented in the above-mentioned overvoltage protection circuit embodiment and achieve the same beneficial effects. To avoid repetition, it will not be described here.
[0104] An embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions. The computer-executable instructions are executed by a processor or a control module, enabling the above-mentioned processor to execute the overvoltage protection circuit control method in the above-mentioned embodiment, for example, to execute the method described above.
[0105] It should be understood that the present application is not limited to the specific configurations and processes described above and illustrated in the figures. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and illustrated as examples. However, the method process of the present application is not limited to the specific steps described and illustrated. Those skilled in the art can make various changes, modifications, and additions, or change the order of the steps after understanding the spirit of the present application.
[0106] The functional blocks shown in the above block diagrams 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, and the like. 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 in a machine-readable medium or transmitted over a transmission medium or communication link via a data signal carried in 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, ROMs, flash memory, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, and the like. Code segments can be downloaded via a computer network such as the Internet or an intranet.
[0107] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps. In other words, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0108] Aspects of the present disclosure have been described above with reference to flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each block in the flowcharts and / or block diagrams, as well as combinations of blocks in the flowcharts 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 device to produce a machine such that execution of these instructions by the processor of the computer or other programmable data processing device enables the implementation of the functions / actions specified in one or more blocks in the flowcharts and / or block diagrams. Such a processor can be a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It should also be understood that each block in the block diagrams and / or flowcharts, as well as combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by dedicated hardware that performs the specified functions or actions, or by a combination of dedicated hardware and computer instructions.
[0109] The above is only a specific implementation method of the present application. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the scope of protection of the present application is not limited to this. Any technician familiar with this technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the scope of protection of this application.
Claims
1. An overvoltage protection circuit, characterized in that: include: A first MOS tube, with a first resistor connected between the source and the gate; a second MOS tube, a source electrode connected to the source electrode of the first MOS tube, and a gate electrode connected to the gate electrode of the first MOS tube; a resistor voltage divider unit, comprising a first sampling connection terminal connected to the drain of the second MOS tube, a second sampling connection terminal connected to the ground line, and a sampling signal output terminal for outputting a divided sampling voltage signal, wherein the second sampling connection terminal and the drain of the first MOS tube are used together to access an input voltage; a switch driving unit, comprising a switch controlled end, a first switch connecting end connected to the gate of the first MOS tube, and a second switch connecting end connected to the source of the first MOS tube, the switch driving unit being used to adjust the driving voltage across the first resistor to turn on or off the first MOS tube and the second MOS tube; A bidirectional optical coupling unit, comprising a first optical coupling connection end and a second optical coupling connection end used as a first group of connection ends, and a third optical coupling connection end and a fourth optical coupling connection end used as a second group of connection ends, wherein the third optical coupling connection end is connected to the gate of the first MOS tube, the fourth optical coupling connection end is connected to the source of the first MOS tube, and the second optical coupling connection end is connected to the drain of the second MOS tube; A bidirectional voltage stabilization module, one end of which is connected to the first optical coupler connection end, and the other end of which is connected to the ground wire through a current limiting resistor; A sampling module, the input end of which is connected to the sampling signal output end; the sum of the on-voltage of the bidirectional optical coupling unit and the reverse breakdown voltage of the bidirectional voltage regulator module is less than the safe input voltage allowed by the sampling module; A control unit is connected to the output end of the sampling module and the controlled end of the switch, respectively, and is used to adjust the on-state of the first MOS tube and the second MOS tube, and when the first MOS tube and the second MOS tube are in the on-state, obtain the divided voltage sampling signal collected by the sampling module, and adjust the on-off state of the switch driving unit according to the divided voltage sampling signal.
2. The overvoltage protection circuit according to claim 1, characterized in that: The resistor voltage dividing unit comprises: A voltage dividing resistor, one end of which is connected to the drain of the second MOS tube; The sampling resistor has one end connected to the other end of the voltage dividing resistor and the other end connected to the ground wire.
3. The overvoltage protection circuit according to claim 1, characterized in that: There are multiple resistor voltage divider units. For the same input voltage, the voltage-divided sampling voltage signals output by the sampling signal output ends of the multiple resistor voltage divider units are different. Each resistor voltage divider unit is correspondingly provided with a switching switch, and the switching switch is used to connect the corresponding resistor voltage divider unit to the overvoltage protection circuit or cut out the overvoltage protection circuit.
4. The overvoltage protection circuit according to claim 1, characterized in that: The switch driving unit includes a gate driver, an input anode of the gate driver is used to connect to a working voltage, an input cathode is connected to the control unit, an output anode is connected to the gate of the first MOS tube, and an output cathode is connected to the source of the first MOS tube.
5. The overvoltage protection circuit according to claim 1, characterized in that: The bidirectional voltage stabilization module comprises: A first voltage regulator tube, an anode of which is connected to the first optical coupler connection end; A second voltage regulator tube, wherein the cathode is connected to the cathode of the first voltage regulator tube, and the anode is connected to the ground wire through the current limiting resistor; Among them, the sum of the on-voltage of the bidirectional optocoupler unit, the on-voltage of the first Zener diode and the reverse breakdown voltage of the second Zener diode, or the sum of the on-voltage of the bidirectional optocoupler unit, the reverse breakdown voltage of the first Zener diode and the on-voltage of the second Zener diode is less than the safe input voltage allowed by the sampling module.
6. A method for controlling an overvoltage protection circuit, characterized in that: Applied to the overvoltage protection circuit according to any one of claims 1 to 5, the overvoltage protection circuit control method comprises: Sending a collection start signal to the controlled end of the switch, so that the switch driving unit adjusts the driving voltage between the two ends of the first resistor, so that the first MOS tube and the second MOS tube are turned on; Obtaining the divided voltage sampling signal collected by the sampling module; The on / off state of the switch driving unit is adjusted according to the divided voltage sampling voltage signal.
7. The overvoltage protection circuit control method according to claim 6, characterized in that: There are multiple resistor voltage-dividing units. For the same input voltage, the divided voltage sampling voltage signals outputted by the sampling signal output terminals of the multiple resistor voltage-dividing units are different. Each resistor voltage-dividing unit is correspondingly provided with a switching switch. The multiple resistor voltage-dividing units correspond to multiple different sub-gear adjustment voltage levels. Each sub-gear adjustment voltage level is determined by a corresponding low threshold voltage and a high threshold voltage. The low threshold voltage of each sub-gear adjustment voltage level is the high threshold voltage of the previous level. The multiple sub-gear adjustment voltage levels are all within a preset current gear range voltage preset range. The step of adjusting the on / off state of the switch driving unit according to the voltage-divided sampling voltage signal comprises: Determining the resistor voltage division unit to be connected according to the voltage division sampling voltage signal and the plurality of sub-gear adjustment voltage levels; Controlling the switch corresponding to the resistor voltage-dividing unit to be connected to be turned on, and controlling the remaining resistor voltage-dividing units to be turned off; When the voltage corresponding to the voltage divided sampling voltage signal exceeds the preset range of the current gear range voltage, a collection stop signal is sent to the switch controlled end to adjust the driving voltage across the first resistor so that the first MOS tube and the second MOS tube are disconnected.
8. An overvoltage protection device, characterized in that: Applied to the overvoltage protection circuit as claimed in claim 1 or 2, the overvoltage protection device comprises: A start control module, used for sending a collection start signal to the controlled end of the switch, so that the switch driving unit adjusts the driving voltage between the two ends of the first resistor, so that the first MOS tube and the second MOS tube are turned on; A sampling voltage acquisition module is used to acquire the divided voltage sampling signal collected by the sampling module; A state adjustment module is used to adjust the on-off state of the switch driving unit according to the divided voltage sampling voltage signal.
9. A source meter, characterized in that: The invention comprises an overvoltage protection circuit as claimed in any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the overvoltage protection circuit control method according to any one of claims 6 to 7.
