Source meter output control method, device, source meter and storage medium
By introducing an auxiliary feedback loop and a second sampling feedback unit into the source meter output circuit, the transition of range switching is realized, the problem of output instability during range switching is solved, and the accuracy and stability of multi-range measurement are improved.
Patent Information
- Application Number
- CN202410978524.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-22
AI Technical Summary
During the range switching process, the source meter output is unstable due to the timing and delay of circuit processing. Existing technology to speed up the circuit response can only partially shorten the instability phenomenon but cannot completely eliminate it.
By introducing an auxiliary feedback loop into the source meter output circuit, the second sampling feedback unit is used to switch to the auxiliary feedback loop when the range is switched to complete the switching of the sampling subunit, and after the switching is completed, it is switched back to the main feedback loop, using the auxiliary feedback loop Perform range switching transition to avoid output instability.
It effectively avoids output instability during range switching, improves the stability and accuracy of the source meter output, and meets the high-precision requirements for multi-range measurements.
Smart Images

Figure CN118523623B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of source meters, and in particular to a source meter output control method, device, source meter and storage medium. Background Art
[0002] With the development of measurement and control technology, devices have higher and higher requirements for measuring power supplies or instruments. Single-range instruments can no longer meet the requirements of wide range and high precision. In the process of switching the range, such multi-range instruments need to switch the range switch and set value. However, due to the timing of circuit processing and the delay of the circuit itself, the output instability such as sudden changes will occur during the range switching process.
[0003] In order to solve the above problems, the related technology generally adopts a method of accelerating the circuit response speed. However, the method of accelerating the circuit response speed can only shorten the unstable field phenomenon to a certain extent, but cannot completely eliminate this unstable phenomenon. Summary of the invention
[0004] The present application aims to propose a source meter output control method, device, source meter and storage medium, which can solve the problem of output instability caused by switching range switches and set values during range switching.
[0005] According to the source meter output control method of the first aspect of the present application, the source meter output circuit includes a first error amplifier, a power unit, a first sampling feedback unit, a second sampling feedback unit, a control unit, and a first selection switch unit controlled by the control unit; the positive input terminal of the first error amplifier is used to input a setting signal, and the output terminal is connected to the first selection switch unit; the output terminal of the power unit is used as a source meter output, and the input terminal is used to access the working voltage; the first sampling feedback unit includes a plurality of sampling sub-units corresponding to a plurality of measurement ranges, and the plurality of sampling sub-units are all used to collect actual operating data of the output terminal of the power unit and feed it back to the negative input terminal of the first error amplifier; the second sampling feedback unit is used to collect actual operating data of the output terminal of the power unit and feed it back to the first selection switch unit; the first selection switch unit is used to adjust the connection state between the output terminal of the first error amplifier and the controlled terminal of the power unit, and the connection state between the second sampling feedback unit and the controlled terminal of the power unit;
[0006] The source meter output control method comprises:
[0007] In response to the setting signal, adjusting the working state of the first selection switch unit so that the output end of the first error amplifier is disconnected from the controlled end of the power unit and the second sampling feedback unit is connected to the controlled end of the power unit, wherein the setting signal is obtained according to the setting operation data obtained in advance;
[0008] adjusting the feedback state between the plurality of sampling sub-units and the first error amplifier according to the setting signal, so that the sampling sub-unit corresponding to the measurement range of the setting signal feeds back the actual operation data to the first error amplifier, and obtaining adjustment completion flag information;
[0009] In response to the adjustment completion flag information, the working state of the first selection switch unit is adjusted so that the output end of the first error amplifier is connected to the controlled end of the power unit and the second sampling feedback unit is disconnected from the controlled end of the power unit.
[0010] According to the second aspect of the present application, the source meter output control device is applied to the source meter output circuit, wherein the source meter output circuit includes a first error amplifier, a power unit, a first sampling feedback unit, a second sampling feedback unit, a control unit, and a first selection switch unit controlled by the control unit; the positive input terminal of the first error amplifier is used to input a setting signal, and the output terminal is connected to the first selection switch unit; the output terminal of the power unit is used as the source meter output, and the input terminal is used to access the working voltage; the first sampling feedback unit includes a plurality of sampling sub-units corresponding to a plurality of measurement ranges, and the plurality of sampling sub-units are all used to collect actual operation data of the output terminal of the power unit and feed it back to the negative input terminal of the first error amplifier; the second sampling feedback unit is used to collect actual operation data of the output terminal of the power unit and feed it back to the first selection switch unit; the first selection switch unit is used to adjust the connection state between the output terminal of the first error amplifier and the controlled terminal of the power unit, and the connection state between the second sampling feedback unit and the controlled terminal of the power unit;
[0011] The source meter output control device comprises:
[0012] an auxiliary loop switching module, configured to adjust the working state of the first selection switch unit in response to the setting signal, so that the output end of the first error amplifier is disconnected from the controlled end of the power unit and the second sampling feedback unit is connected to the controlled end of the power unit, wherein the setting signal is obtained according to the setting operation data obtained in advance;
[0013] a range switching module, configured to adjust the feedback state between the plurality of sampling sub-units and the first error amplifier according to the setting signal, so that the sampling sub-unit corresponding to the measurement range of the setting signal feeds back the actual operation data to the first error amplifier, and obtains adjustment completion flag information;
[0014] The main circuit switching module is used to adjust the working state of the first selection switch unit in response to the adjustment completion mark information, so that the output end of the first error amplifier is connected to the controlled end of the power unit, and the second sampling feedback unit is disconnected from the controlled end of the power unit.
[0015] According to a third aspect of the present application, a source meter includes a source meter output circuit, wherein the source meter output circuit includes a first error amplifier, a power unit, a first sampling feedback unit, a second sampling feedback unit, a control unit, and a first selection switch unit controlled by the control unit; the positive input terminal of the first error amplifier is used to input a setting signal, and the output terminal is connected to the first selection switch unit; the output terminal of the power unit is used as a source meter output, and the input terminal is used to access a working voltage; the first sampling feedback unit includes a plurality of sampling sub-units corresponding to a plurality of measurement ranges, and the plurality of sampling sub-units are all used to collect actual operating data of the output terminal of the power unit and feed it back to the negative input terminal of the first error amplifier; the second sampling feedback unit is used to collect actual operating data of the output terminal of the power unit and feed it back to the first selection switch unit; the first selection switch unit is used to adjust the connection state between the output terminal of the first error amplifier and the controlled terminal of the power unit, and the connection state between the second sampling feedback unit and the controlled terminal of the power unit;
[0016] Wherein, the control unit is used to execute the source meter output control method as described in the first aspect embodiment above.
[0017] According to the computer-readable storage medium of the fourth aspect embodiment of the present application, computer-executable instructions are stored, and the computer-executable instructions are used to execute the source meter output control method as described in the first aspect embodiment above.
[0018] The source meter output control method, device, source meter and storage medium of the embodiments of the present application form an auxiliary feedback loop through the second sampling feedback unit, so that when range switching is required, the auxiliary feedback loop can be switched to through the first selection switch unit, and then the sampling sub-unit in the second sampling feedback unit is switched to perform range switching. After the sampling sub-unit is switched, the first selection switch unit is used to switch back to the main feedback loop. In this process, the auxiliary feedback loop is used to complete the transition of range switching, thereby avoiding the occurrence of output instability.
[0019] Other features and advantages of the present application will be set forth in the following description, and in part will become apparent from the description, or may be understood by practicing the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] 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:
[0021] Figure 1 A circuit schematic diagram of an embodiment of a source table output circuit provided by the present application;
[0022] Figure 2 A flow chart of an embodiment of a source meter output control method provided by the present application;
[0023] Figure 3 This is a schematic diagram of the structure of an embodiment of the source meter output control device provided in the present application.
[0024] Reference numerals:
[0025] A first error amplifier 101, a power unit 102, a first current sampling subunit 103, a first voltage sampling subunit 104, a second current sampling subunit 105, a second voltage sampling subunit 106, a control unit 107, a first selection switch unit 108, a second selection switch unit 109, a first current amplifier 110, a first voltage amplifier 111, a third selection switch unit 112, a second current amplifier 113, a second voltage amplifier 114, an analog-to-digital conversion unit 115, a first digital-to-analog conversion unit 116, a second digital-to-analog conversion unit 117, a programming amplifier 118, a second error amplifier 119, a source meter output control device 300, a loop switching module 310, a range switching module 320, and a main loop switching module 330. DETAILED DESCRIPTION
[0026] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.
[0027] 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.
[0028] In the description of the present application, it should be understood that the descriptions involving orientation, such as the orientation or positional relationship indicated as up, down, etc., are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0029] In the description of this application, it should be noted that, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meaning of the above terms in this application based on the specific content of the technical solution.
[0030] 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.
[0031] In order to better describe the source meter output control method, device, source meter and storage medium of the embodiment of the present application, the embodiment of the present application proposes a source meter output circuit, referring to Figure 1 The source meter output circuit includes a first error amplifier 101, a power unit 102, a first sampling feedback unit, a second sampling feedback unit, a control unit 107, and a first selection switch unit 108 controlled by the control unit 107; the positive input terminal of the first error amplifier 101 is used to input a setting signal, and the output terminal is connected to the first selection switch unit 108; the output terminal of the power unit 102 is used as a source meter output, and the input terminal is used to access the working voltage; the first sampling feedback unit includes a plurality of sampling sub-units corresponding to a plurality of measurement ranges, and the plurality of sampling sub-units are all used to collect actual operation data of the output terminal of the power unit 102 and feed it back to the negative input terminal of the first error amplifier 101; the second sampling feedback unit is used to collect actual operation data of the output terminal of the power unit 102 and feed it back to the first selection switch unit 108; the first selection switch unit 108 is used to adjust the connection state between the output terminal of the first error amplifier 101 and the controlled terminal of the power unit 102, and the connection state between the second sampling feedback unit and the controlled terminal of the power unit 102.
[0032] The above setting signal can be generated by the user inputting setting parameters into the control unit 107, and then the control unit 107 generates an output according to the setting parameters.
[0033] When the control unit 107 does not have analog output capability, the setting signal output by the control unit 107 can be converted into an analog signal by the second digital-to-analog conversion unit 117 for output.
[0034] The setting signal can be amplified by the programming amplifier 118 and then output to the positive input terminal of the first error amplifier 101. The programming amplifier 118 can be controlled by the control unit 107 to change the amplification factor, which can better adapt to the amplification requirements under multiple measurement ranges and improve the output control accuracy of the source meter.
[0035] The first sampling feedback unit is a part of the main feedback loop, and the second sampling feedback unit is a part of the auxiliary feedback loop. Both the first sampling feedback unit and the second sampling feedback unit can be used to collect the actual operation data output by the power unit 102. The first sampling feedback unit includes a plurality of sampling subunits, and the plurality of sampling subunits correspond to a plurality of measurement ranges. Because the measurement ranges are different, the sampling precision required for each sampling subunit is different. Taking the sampling resistor as an example, for current sampling, the sampling resistor needs to be set to different resistance values, and for voltage sampling, different voltage divider resistors need to be set.
[0036] The actual operation data mentioned above may include actual current data and actual voltage data.
[0037] The first input end of the first selection switch unit 108 is connected to the main feedback loop, the second input end is connected to the auxiliary feedback loop, and the output end is connected to the controlled end of the power unit 102 through the second error amplifier 119. The control unit 107 controls the switching state of the first selection switch unit 108 to realize whether to enable the auxiliary feedback loop for feedback or enable the main feedback loop for feedback.
[0038] The power unit 102 may include multiple power MOS tubes. The feedback signal of the main feedback loop or the auxiliary feedback loop is connected to the controlled end of the power unit 102, so that the working states of the multiple MOS tubes can be changed to adjust the output power.
[0039] The source-to-meter output control method, device, source meter, and storage medium of the embodiments of the present application are described below based on the above-mentioned source-to-meter output circuit.
[0040] See also Figure 2 As shown, Figure 2 : is a flow chart of a source meter output control method provided by an embodiment of the present application, the source meter output control method comprises steps S210 to S230:
[0041] Step S210, in response to a setting signal, adjusting the working state of the first selection switch unit 108, so that the output end of the first error amplifier 101 is disconnected from the controlled end of the power unit 102, and the second sampling feedback unit is connected to the controlled end of the power unit 102, and the setting signal is obtained according to the setting operation data obtained in advance;
[0042] Step S220, adjusting the feedback state between the plurality of sampling sub-units and the first error amplifier 101 according to the setting signal, so that the sampling sub-unit corresponding to the measurement range of the setting signal feeds back the actual operation data to the first error amplifier 101, and obtaining adjustment completion flag information;
[0043] Step S230 , in response to the adjustment completion flag information, adjusting the working state of the first selection switch unit 108 so that the output end of the first error amplifier 101 is connected to the controlled end of the power unit 102 and the second sampling feedback unit is disconnected from the controlled end of the power unit 102 .
[0044] In this embodiment, an auxiliary feedback loop is formed by the second sampling feedback unit, so that when range switching is required, the first selection switch unit 108 can be used to switch to the auxiliary feedback loop, and then the sampling sub-unit in the second sampling feedback unit is switched to perform range switching. After the sampling sub-unit is switched, the first selection switch unit 108 is used to switch back to the main feedback loop. In this process, the auxiliary feedback loop is used to complete the transition of range switching, thereby avoiding the occurrence of output instability.
[0045] When the above setting signal is generated, it can indicate that the current range switching is required. At this time, the first selection switch unit 108 is controlled to operate, the auxiliary feedback loop is switched to the controlled end of the power unit 102, and the main feedback loop is disconnected from the controlled end of the power unit 102, and the power unit 102 will be controlled by the auxiliary feedback loop. Although the sampling accuracy of the second feedback sampling unit may be lower than that of the first feedback sampling unit, it is sufficient to meet the output requirements of the source meter, and the power unit 102 can continue to maintain output without large mutations or fluctuations.
[0046] After the first control unit 107 is switched to the auxiliary feedback loop, in the main feedback loop, it is necessary to quickly complete the switching of the sampling subunit according to the setting signal.
[0047] Specifically, the setting signal has a certain value, which can directly reflect the measurement range that needs to be switched. After the setting signal is detected, the corresponding sampling subunit needs to be connected to the main feedback loop according to the value of the setting signal, and the remaining sampling subunits need to be cut out of the main feedback loop to complete the switching of the range. In order to avoid open circuits and jitter during the switching of sampling subunits, the sampling subunits that need to be switched will be connected to the main loop first, and then the remaining sampling subunits will be cut out.
[0048] After the above-mentioned sampling subunit is switched, an adjustment completion flag information will be generated. When the adjustment completion flag information is detected, the control unit 107 can control the first selection switch unit 108 to complete the switching, connect the main feedback loop with the controlled end of the power unit 102, and cut out the auxiliary feedback loop.
[0049] In some embodiments, the source meter output circuit further includes a second selection switch unit 109 controlled by the control unit 107; the first sampling feedback unit includes a plurality of first current sampling subunits 103 and a plurality of first voltage sampling subunits 104 corresponding to a plurality of measurement ranges; the plurality of first current sampling subunits 103 are all used to collect actual current data of the output end of the power unit 102; the plurality of first voltage sampling subunits 104 are all used to collect actual voltage data of the output end of the power unit 102; the second selection switch unit 109 is used to adjust the connection state between the plurality of first current sampling subunits 103 and the negative input end of the first error amplifier 101, and the connection state between the plurality of first voltage sampling subunits 104 and the negative input end of the first error amplifier 101;
[0050] Adjusting the feedback state between the plurality of sampling sub-units and the first error amplifier 101 according to the setting signal comprises:
[0051] According to the signal type corresponding to the setting signal and the value of the setting signal, a target sampling subunit is determined, where the target sampling subunit is one of the plurality of first current sampling subunits 103 and the plurality of first voltage sampling subunits 104; the signal type includes a current signal type and a voltage signal type;
[0052] The working state of the second selection switch unit 109 is adjusted so that the target sampling subunit is connected to the negative input terminal of the first error amplifier 101 .
[0053] The sampling feedback unit includes a plurality of first current sampling subunits 103 and a plurality of first voltage sampling subunits 104 corresponding to a plurality of measurement ranges. The first current sampling subunit 103 can implement current sampling, and the first voltage sampling subunit 104 can implement voltage sampling. When the source meter actually outputs, it will be necessary to select whether to output as a constant current source or a constant voltage source. At this time, it is necessary to select voltage or current as feedback according to actual needs.
[0054] The second selection switch unit 109 can realize the control of connecting the first current sampling subunit 103 to the main feedback loop or connecting the first voltage sampling subunit 104 to the main feedback loop.
[0055] Specifically, when the setting signal is obtained, it can be determined whether the current mode is constant current mode or constant voltage mode, so that it can be determined whether to connect the first current sampling subunit 103 to the main feedback loop or the first voltage sampling subunit 104 to the main feedback loop. Under this premise, according to the numerical value corresponding to the setting signal, the corresponding measurement range can be determined, so as to determine the first current sampling subunit 103 or the first voltage sampling subunit 104 that needs to be connected to the main feedback loop. The sampling subunit will be confirmed as the target sampling subunit, and subsequently it only needs to connect the target sampling subunit to the main feedback loop.
[0056] In some embodiments, the source meter output circuit further includes a first current amplifier 110 and a first voltage amplifier 111 ;
[0057] Each first current sampling subunit 103 includes a first switch and a first current sampling resistor connected in series with the output end of the power unit 102, and multiple first current sampling subunits 103 are connected in parallel; one end of the multiple first current sampling subunits 103 connected in parallel is connected to the positive input end of the first current amplifier 110, and the other end is connected to the negative input end of the first current amplifier 110; the output end of the first current amplifier 110 is connected to the first input end of the second selection switch unit 109; the output end of the second selection switch unit 109 is connected to the negative input end of the first error amplifier 101;
[0058] A plurality of first voltage sampling resistors connected in series are connected between the output end of the power unit 102 and the ground line; the positive input end of the first voltage amplifier 111 is connected to the common connection point of two adjacent first voltage sampling resistors through a second switching switch, the negative input end of the first voltage amplifier 111 is connected to the ground line, and the output end of the first voltage amplifier 111 is connected to the second input end of the second selection switch unit 109; the plurality of first voltage sampling resistors and the plurality of second switching switches constitute a plurality of first voltage sampling sub-units 104;
[0059] Adjusting the working state of the second selection switch unit 109 so that the target sampling subunit is connected to the negative input terminal of the first error amplifier 101 includes:
[0060] When the signal type corresponding to the setting signal is a current signal type, the first switch corresponding to the target sampling subunit is controlled to be turned on, and the first input end of the second selection switch unit 109 is controlled to be connected to the negative input end of the first error amplifier 101;
[0061] When the signal type corresponding to the setting signal is a voltage signal type, the second switch corresponding to the target sampling subunit is controlled to be turned on, and the second input end of the second selection switch unit 109 is controlled to be connected to the negative input end of the first error amplifier 101 .
[0062] Each of the first current sampling sub-units 103 includes a first switch connected in series with the output end of the power unit 102 and a first current sampling resistor (eg, Figure 1 The first current sampling resistor in the first current sampling subunit 103 corresponding to different measurement ranges also needs to be set according to the corresponding measurement range. When the first current sampling resistor corresponding to a certain measurement range needs to be connected to the main feedback loop, the corresponding first switching switch can be turned on.
[0063] Each of the first current sampling subunits 103 is connected to the input end of the first current amplifier 110 . When the signal type of the setting signal is a current signal type, it is only necessary to control the second selection switch unit 109 to switch to the first input end.
[0064] The above-mentioned plurality of first voltage sampling resistors (such as Figure 1 As shown in FIG. 1 , R5, R6, R7, and R8 are sequentially connected in series, and voltage feedback is derived from different common connection points of the multiple first voltage sampling resistors after the series connection, so that different voltage division values can be obtained, thereby meeting the detection requirements of different measurement ranges. That is, multiple first voltage sampling subunits 104 can be obtained using the same series voltage. In addition, without considering the cost, multiple groups of independent series resistors can also be set, and different series resistors can be used to meet the detection requirements of different measurement ranges.
[0065] Each of the first voltage sampling subunits 104 is connected to the input end of the first voltage amplifier 111. When the signal type of the setting signal is a voltage signal type, it is only necessary to control the second selection switch unit 109 to switch to the second input end.
[0066] In some embodiments, the source meter output circuit further includes a third selection switch unit 112 controlled by the control unit 107; the second sampling feedback unit includes a second current sampling subunit 105 and a second voltage sampling subunit 106; the third selection switch unit 112 is used to adjust the connection state between the second current sampling subunit 105 and the first selection switch unit 108, and the connection state between the second voltage sampling subunit 106 and the first selection switch unit 108;
[0067] Before adjusting the working state of the first selection switch unit 108, the method further includes:
[0068] Determine the signal type corresponding to the setting signal, the signal type includes current signal type and voltage signal type;
[0069] When the signal type corresponding to the setting signal is a current signal type, the working state of the third selection switch unit 112 is adjusted so that the second current sampling subunit 105 is connected to the first selection switch unit 108;
[0070] When the signal type corresponding to the setting signal is a voltage signal type, the working state of the third selection switch unit 112 is adjusted to connect the second voltage sampling subunit 106 with the first selection switch unit 108 .
[0071] The third selection switch unit 112 can realize the selection of whether to connect the second current sampling subunit 105 to the auxiliary feedback loop or to connect the second voltage sampling subunit 106 to the auxiliary feedback loop.
[0072] Specifically, when the setting signal is obtained, it can be determined whether the current mode is constant current mode or constant voltage mode, so as to determine whether to connect the second current sampling subunit 105 to the auxiliary feedback loop or connect the second voltage sampling subunit 106 to the auxiliary feedback loop.
[0073] In some embodiments, the source meter output circuit further includes a second current amplifier 113 and a second voltage amplifier 114; the second current sampling subunit 105 includes a second current sampling resistor connected in series with the output end of the power unit 102, one end of the second current sampling resistor is connected to the positive input end of the second current amplifier 113, and the other end is connected to the negative input end of the second current amplifier 113; the output end of the second current amplifier 113 is connected to the first input end of the third selection switch unit 112; the output end of the third selection switch unit 112 is connected to the first selection switch unit 108;
[0074] A plurality of second voltage sampling resistors connected in series are connected between the output end of the power unit 102 and the negative input end of the second voltage amplifier 114; the positive input end of the second voltage amplifier 114 is connected to the common connection point of any two adjacent second voltage sampling resistors, and the output end of the second voltage amplifier 114 is connected to the second input end of the third selection switch unit 112; the plurality of second voltage sampling resistors constitute the second voltage sampling subunit 106;
[0075] Adjusting the working state of the third selection switch unit 112 so that the second current sampling subunit 105 is connected to the first selection switch unit 108 includes:
[0076] Adjusting the working state of the third selection switch unit 112 so that the output end of the second current amplifier 113 is connected to the first selection switch unit 108;
[0077] Adjusting the working state of the third selection switch unit 112 so that the second voltage sampling subunit 106 is connected to the first selection switch unit 108 includes:
[0078] The working state of the third selection switch unit 112 is adjusted so that the output end of the second voltage amplifier 114 is connected to the first selection switch unit 108 .
[0079] The second current sampling subunit 105 is a second current sampling resistor (such as Figure 1 As shown in R4). The auxiliary feedback loop is mainly used for transition, and it is not necessary to maintain extremely high sampling accuracy like the main feedback loop. Moreover, if the auxiliary feedback loop adopts the multi-sampling sub-unit switching method as in the main feedback loop, it will further introduce new jitter. In order to reduce the jitter, it is necessary to select a switching device with extremely fast response speed, which will also greatly increase the cost.
[0080] The second current sampling subunit 105 is connected to the input end of the second current amplifier 113. When the signal type of the setting signal is a current signal type, it is only necessary to control the third selection switch unit 112 to switch to the first input end.
[0081] The second voltage sampling subunit 106 may include a plurality of second voltage sampling resistors (such as Figure 1 As shown in R9, R10), for the same reason as the second current sampling unit, there is no need to switch gears, and the voltage can be sampled directly from both ends of a second voltage sampling resistor. Specifically, which two ends of the second voltage sampling resistor are used for voltage sampling or which two ends of the second voltage sampling resistors are used for voltage sampling can be adaptively adjusted according to actual needs.
[0082] The second voltage sampling subunit 106 is connected to the input end of the second voltage amplifier 114. When the signal type of the setting signal is a voltage signal type, it is only necessary to control the third selection switch unit 112 to switch to the second input end.
[0083] In some embodiments, the output end of the third selection switch unit 112 is connected to the first selection switch unit 108 through the analog-to-digital conversion unit 115, the control unit 107, and the first digital-to-analog conversion unit 116 which are arranged in sequence;
[0084] When the second sampling feedback unit is connected to the controlled end of the power unit 102, the source meter output control method further includes:
[0085] The analog-to-digital conversion unit 115 converts the actual operation data collected by the second current sampling subunit 105 or the second voltage sampling subunit 106 into digital operation data;
[0086] generating a differential control digital signal according to the digital operation data;
[0087] The differential control digital signal is output to the first digital-to-analog conversion unit 116 , so that the first digital-to-analog conversion unit 116 converts the differential control digital signal into a corresponding differential control analog signal, and feeds it back to the first selection switch unit 108 .
[0088] In this embodiment, the analog-to-digital conversion unit 115 and the first digital-to-analog conversion unit 116 can adopt high-precision conversion modules, so that high-precision sampling and high-precision control can be achieved under the premise of setting only one second current sampling resistor or a second voltage sampling resistor, thereby further reducing the impact on the output of the power unit 102 during the transition control process.
[0089] In some implementations, generating a differential control digital signal according to digital operating data includes:
[0090] Perform noise reduction and filtering on the digital operation data to obtain the signal to be differentially analyzed;
[0091] A differential control digital signal is generated based on the comparison between the signal to be differentially analyzed and the reference signal; wherein the reference signal is obtained by the analog-to-digital conversion unit 115 and the control unit 107 before the first selection switch unit 108 is connected to the first digital-to-analog conversion unit 116, and the reference signal is the actual operating data collected by the second current sampling subunit 105 or the second voltage sampling subunit 106.
[0092] In this embodiment, by obtaining a reference signal before switching to the auxiliary feedback loop, after switching to the auxiliary feedback loop for power output control, it can still be consistent with that before switching, thereby effectively ensuring the stability of the output of the power unit 102. In addition, the sampling process of the auxiliary feedback loop is combined with software sampling, and the sampled data before the range switching can be saved as a reference signal. Moreover, since the digital signal can be saved for a long time, compared with the method of using hardware capacitor maintenance, the reference signal can be kept undistorted for a long time, reducing the speed requirement of the range switching. At the same time, because it is digital sampling, the filtering algorithm can also be flexibly adjusted to make the reference signal more stable, thereby making the range switching more stable and less noisy.
[0093] The source meter output control method provided in the embodiment of the present application may be executed by the source meter output control device 300. In the embodiment of the present application, the source meter output control device 300 executing the source meter output control method is taken as an example to illustrate the source meter output control device 300 provided in the embodiment of the present application.
[0094] like Figure 3 As shown, the embodiment of the present application further provides a source meter output control device, the source meter output control device comprising:
[0095] The auxiliary loop switching module 310 is used to adjust the working state of the first selection switch unit 108 in response to a setting signal, so that the output end of the first error amplifier 101 is disconnected from the controlled end of the power unit 102, and the second sampling feedback unit is connected to the controlled end of the power unit 102, and the setting signal is obtained according to the setting operation data obtained in advance;
[0096] The range switching module 320 is used to adjust the feedback state between the plurality of sampling sub-units and the first error amplifier 101 according to the setting signal, so that the sampling sub-unit corresponding to the measurement range of the setting signal feeds back the actual operation data to the first error amplifier 101, and obtains the adjustment completion flag information;
[0097] The main circuit switching module 330 is used to adjust the working state of the first selection switch unit 108 in response to the adjustment completion flag information, so that the output end of the first error amplifier 101 is connected to the controlled end of the power unit 102, and the second sampling feedback unit is disconnected from the controlled end of the power unit 102.
[0098] The sampling device 300 in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (Ultra-mobile perSonalCompUter, UMPC), a netbook or a personal digital assistant (perSonal digital aSSiStant, PDA), etc., and can also be a server, a network attached storage (NetWork AttaChed Storage, NAS), a personal computer (perSonalCompUter, PC), a television (teleViSion, tV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0099] The embodiment of the present application also provides a source meter, comprising the source meter output circuit as described above, wherein the control unit (107) is used to execute the source meter output control method as described above. The source meter provided in the embodiment of the present application can implement the various processes implemented in the source meter output circuit embodiment as described above, and achieve the same beneficial effects, and will not be described here in detail to avoid repetition.
[0100] An embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions. The computer-executable instructions are executed by a processor or a control module, so that the above-mentioned processor can execute the source table output control method in the above-mentioned embodiment, for example, execute the method described above.
[0101] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0102] The functional blocks shown in the above structural block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0103] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0104] Aspects of the present disclosure are described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the functions / actions specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0105] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A source meter output control method, characterized in that: Applied to a source meter output circuit, the source meter output circuit comprises a first error amplifier, a power unit, a first sampling feedback unit, a second sampling feedback unit, a control unit and a first selection switch unit controlled by the control unit; the positive input terminal of the first error amplifier is used to input a setting signal, and the output terminal is connected to the first selection switch unit; the output terminal of the power unit is used as a source meter output, and the input terminal is used to access the working voltage; the first sampling feedback unit comprises a plurality of sampling sub-units corresponding to a plurality of measurement ranges, and the plurality of sampling sub-units are all used to collect actual operation data of the output terminal of the power unit and feed it back to the negative input terminal of the first error amplifier; the second sampling feedback unit is used to collect actual operation data of the output terminal of the power unit and feed it back to the first selection switch unit; the first selection switch unit is used to adjust the connection state between the output terminal of the first error amplifier and the controlled terminal of the power unit, and the connection state between the second sampling feedback unit and the controlled terminal of the power unit; The source meter output control method comprises: In response to the setting signal, adjusting the working state of the first selection switch unit so that the output end of the first error amplifier is disconnected from the controlled end of the power unit and the second sampling feedback unit is connected to the controlled end of the power unit, wherein the setting signal is obtained according to the setting operation data obtained in advance; adjusting the feedback state between the plurality of sampling sub-units and the first error amplifier according to the setting signal, so that the sampling sub-unit corresponding to the measurement range of the setting signal feeds back the actual operation data to the first error amplifier, and obtaining adjustment completion flag information; In response to the adjustment completion flag information, adjusting the working state of the first selection switch unit so that the output end of the first error amplifier is connected to the controlled end of the power unit and the second sampling feedback unit is disconnected from the controlled end of the power unit; The source meter output circuit also includes a second selection switch unit controlled by the control unit; the first sampling feedback unit includes a plurality of first current sampling subunits and a plurality of first voltage sampling subunits corresponding to the plurality of measurement ranges; the plurality of first current sampling subunits are all used to collect actual current data of the output end of the power unit; the plurality of first voltage sampling subunits are all used to collect actual voltage data of the output end of the power unit; the second selection switch unit is used to adjust the connection state between the plurality of first current sampling subunits and the negative input end of the first error amplifier, and the connection state between the plurality of first voltage sampling subunits and the negative input end of the first error amplifier; The step of adjusting the feedback state between the plurality of sampling sub-units and the first error amplifier according to the setting signal comprises: Determine a target sampling subunit according to the signal type corresponding to the setting signal and the value of the setting signal, wherein the target sampling subunit is one of the plurality of the first current sampling subunits and the plurality of the first voltage sampling subunits; the signal type includes a current signal type and a voltage signal type; The working state of the second selection switch unit is adjusted to connect the target sampling subunit to the negative input terminal of the first error amplifier.
2. The source meter output control method according to claim 1, characterized in that: The source meter output circuit also includes a first current amplifier and a first voltage amplifier; Each of the first current sampling subunits includes a first switch and a first current sampling resistor connected in series with the output end of the power unit, and a plurality of the first current sampling subunits are connected in parallel; one end of the plurality of first current sampling subunits connected in parallel is connected to the positive input end of the first current amplifier, and the other end is connected to the negative input end of the first current amplifier; the output end of the first current amplifier is connected to the first input end of the second selection switch unit; the output end of the second selection switch unit is connected to the negative input end of the first error amplifier; A plurality of first voltage sampling resistors connected in series are connected between the output end of the power unit and the ground line; a positive input end of the first voltage amplifier is connected to a common connection point of two adjacent first voltage sampling resistors through a second switching switch, a negative input end of the first voltage amplifier is connected to the ground line, and an output end of the first voltage amplifier is connected to a second input end of the second selection switch unit; a plurality of the first voltage sampling resistors and a plurality of the second switching switches constitute a plurality of the first voltage sampling sub-units; The step of adjusting the working state of the second selection switch unit so that the target sampling subunit is connected to the negative input terminal of the first error amplifier includes: In a case where the signal type corresponding to the setting signal is the current signal type, controlling the first switch corresponding to the target sampling subunit to be turned on, and controlling the first input end of the second selection switch unit to be connected to the negative input end of the first error amplifier; When the signal type corresponding to the setting signal is the voltage signal type, the second switch corresponding to the target sampling subunit is controlled to be turned on, and the second input end of the second selection switch unit is controlled to be connected to the negative input end of the first error amplifier.
3. The source meter output control method according to claim 1, characterized in that: The source meter output circuit further includes a third selection switch unit controlled by the control unit; the second sampling feedback unit includes a second current sampling subunit and a second voltage sampling subunit; the third selection switch unit is used to adjust the connection state between the second current sampling subunit and the first selection switch unit, and the connection state between the second voltage sampling subunit and the first selection switch unit; Before adjusting the working state of the first selection switch unit, the method further includes: Determine a signal type corresponding to the setting signal, wherein the signal type includes a current signal type and a voltage signal type; When the signal type corresponding to the setting signal is the current signal type, adjusting the working state of the third selection switch unit so that the second current sampling subunit is connected to the first selection switch unit; In a case where the signal type corresponding to the setting signal is the voltage signal type, the working state of the third selection switch unit is adjusted to connect the second voltage sampling subunit with the first selection switch unit.
4. The source meter output control method according to claim 3, characterized in that: The source meter output circuit further includes a second current amplifier and a second voltage amplifier; the second current sampling subunit includes a second current sampling resistor connected in series with the output end of the power unit, one end of the second current sampling resistor is connected to the positive input end of the second current amplifier, and the other end is connected to the negative input end of the second current amplifier; the output end of the second current amplifier is connected to the first input end of the third selection switch unit; the output end of the third selection switch unit is connected to the first selection switch unit; A plurality of second voltage sampling resistors connected in series are connected between the output end of the power unit and the negative input end of the second voltage amplifier; the positive input end of the second voltage amplifier is connected to the common connection point of any two adjacent second voltage sampling resistors, and the output end of the second voltage amplifier is connected to the second input end of the third selection switch unit; the plurality of second voltage sampling resistors constitute the second voltage sampling sub-unit; The step of adjusting the working state of the third selection switch unit so that the second current sampling subunit is connected to the first selection switch unit includes: adjusting the working state of the third selection switch unit so that the output end of the second current amplifier is connected to the first selection switch unit; The step of adjusting the working state of the third selection switch unit so that the second voltage sampling subunit is connected to the first selection switch unit includes: The working state of the third selection switch unit is adjusted so that the output end of the second voltage amplifier is connected to the first selection switch unit.
5. The source meter output control method according to claim 3, characterized in that: The output end of the third selection switch unit is connected to the first selection switch unit through the analog-to-digital conversion unit, the control unit, and the first digital-to-analog conversion unit which are arranged in sequence; When the second sampling feedback unit is connected to the controlled end of the power unit, the source meter output control method further includes: Acquire digital operation data converted by the analog-to-digital conversion unit according to actual operation data collected by the second current sampling subunit or the second voltage sampling subunit; generating a differential control digital signal according to the digital operation data; The differential control digital signal is output to the first digital-to-analog conversion unit, so that the first digital-to-analog conversion unit converts the differential control digital signal into a corresponding differential control analog signal, and feeds back the signal to the first selection switch unit.
6. The source meter output control method according to claim 5, characterized in that: The step of generating a differential control digital signal according to the digital operation data comprises: Performing noise reduction and filtering processing on the digital operation data to obtain a signal to be differentially analyzed; The differential control digital signal is generated based on the comparison between the signal to be differentially analyzed and a reference signal; wherein the reference signal is obtained by the analog-to-digital conversion unit and the control unit before the first selection switch unit is connected to the first digital-to-analog conversion unit, and the reference signal is the actual operation data collected by the second current sampling subunit or the second voltage sampling subunit.
7. A source meter output control device, characterized in that: Applied to a source meter output circuit, the source meter output circuit comprises a first error amplifier, a power unit, a first sampling feedback unit, a second sampling feedback unit, a control unit and a first selection switch unit controlled by the control unit; the positive input terminal of the first error amplifier is used to input a setting signal, and the output terminal is connected to the first selection switch unit; the output terminal of the power unit is used as a source meter output, and the input terminal is used to access the working voltage; the first sampling feedback unit comprises a plurality of sampling sub-units corresponding to a plurality of measurement ranges, and the plurality of sampling sub-units are all used to collect actual operation data of the output terminal of the power unit and feed it back to the negative input terminal of the first error amplifier; the second sampling feedback unit is used to collect actual operation data of the output terminal of the power unit and feed it back to the first selection switch unit; the first selection switch unit is used to adjust the connection state between the output terminal of the first error amplifier and the controlled terminal of the power unit, and the connection state between the second sampling feedback unit and the controlled terminal of the power unit; The source meter output control device comprises: an auxiliary loop switching module, configured to adjust the working state of the first selection switch unit in response to the setting signal, so that the output end of the first error amplifier is disconnected from the controlled end of the power unit and the second sampling feedback unit is connected to the controlled end of the power unit, wherein the setting signal is obtained according to the setting operation data obtained in advance; a range switching module, configured to adjust the feedback state between the plurality of sampling sub-units and the first error amplifier according to the setting signal, so that the sampling sub-unit corresponding to the measurement range of the setting signal feeds back the actual operation data to the first error amplifier, and obtains adjustment completion flag information; a main circuit switching module, configured to adjust the working state of the first selection switch unit in response to the adjustment completion flag information, so that the output end of the first error amplifier is connected to the controlled end of the power unit, and the second sampling feedback unit is disconnected from the controlled end of the power unit; The source meter output circuit also includes a second selection switch unit controlled by the control unit; the first sampling feedback unit includes a plurality of first current sampling subunits and a plurality of first voltage sampling subunits corresponding to the plurality of measurement ranges; the plurality of first current sampling subunits are all used to collect actual current data of the output end of the power unit; the plurality of first voltage sampling subunits are all used to collect actual voltage data of the output end of the power unit; the second selection switch unit is used to adjust the connection state between the plurality of first current sampling subunits and the negative input end of the first error amplifier, and the connection state between the plurality of first voltage sampling subunits and the negative input end of the first error amplifier; The step of adjusting the feedback state between the plurality of sampling sub-units and the first error amplifier according to the setting signal comprises: Determine a target sampling subunit according to the signal type corresponding to the setting signal and the value of the setting signal, wherein the target sampling subunit is one of the plurality of the first current sampling subunits and the plurality of the first voltage sampling subunits; the signal type includes a current signal type and a voltage signal type; The working state of the second selection switch unit is adjusted to connect the target sampling subunit to the negative input terminal of the first error amplifier.
8. A source meter, characterized in that: The invention comprises a source meter output circuit, wherein the source meter output circuit comprises a first error amplifier, a power unit, a first sampling feedback unit, a second sampling feedback unit, a control unit and a first selection switch unit controlled by the control unit; the positive input terminal of the first error amplifier is used to input a setting signal, and the output terminal is connected to the first selection switch unit; the output terminal of the power unit is used as a source meter output, and the input terminal is used to access a working voltage; the first sampling feedback unit comprises a plurality of sampling sub-units corresponding to a plurality of measurement ranges, and the plurality of sampling sub-units are all used to collect actual operation data of the output terminal of the power unit and feed it back to the negative input terminal of the first error amplifier; the second sampling feedback unit is used to collect actual operation data of the output terminal of the power unit and feed it back to the first selection switch unit; the first selection switch unit is used to adjust the connection state between the output terminal of the first error amplifier and the controlled terminal of the power unit, and the connection state between the second sampling feedback unit and the controlled terminal of the power unit; Wherein, the control unit is used to execute the source meter output control method according to any one of claims 1 to 6.
9. 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 source meter output control method according to any one of claims 1 to 6.
