Current sampling circuit and electronic equipment
By designing a current sampling circuit for detection, adjustment, selection, and control, compatibility and reliability for frequency converters and motors of different power were achieved, solving the problem that existing current sampling circuits could not adapt to different power levels.
Patent Information
- Application Number
- CN202422359166.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2034-09-26
AI Technical Summary
Existing current sampling circuits cannot be adapted to frequency converters or motors of different power ratings, resulting in poor compatibility and reliability.
A current sampling circuit is designed, which includes a detection circuit, an adjustment circuit, a selection circuit, and a control circuit. The sampling current detection signal is adjusted by different coefficients by setting at least two adjustment circuits, and the target sampling adjustment signal is selected by the selection circuit. The control circuit outputs the appropriate sampling current value according to the parameter identification information.
It improves the compatibility and reliability of the current sampling circuit, enabling it to adapt to frequency converters or motors of different power, and reducing the possibility of equipment damage caused by parameter mismatch.
Smart Images

Figure CN223692429U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of electric parameter sampling, and particularly relates to a current sampling circuit and electronic equipment. BACKGROUND
[0002] Current sampling is a necessary circuit in the frequency converter industry, and the collected current data is an important parameter for motor control. In actual application, different power segments correspond to different currents, which causes the resistance parameters of differential amplification in the current sampling circuit to be inconsistent, thereby causing multiple detection circuits to be made to match the power. In addition, corresponding parameters need to be set when matching the control circuit, and the device can be damaged when the parameters are not matched.
[0003] Therefore, the related current sampling circuit cannot adapt to frequency converters or motors of different powers, and has poor compatibility and reliability. CONTENT OF THE INVENTION
[0004] The application aims to provide a current sampling circuit and electronic equipment, and aims to solve the problem of poor compatibility and reliability of the related current sampling circuit.
[0005] The application provides a current sampling circuit, which is characterized by comprising a detection circuit, at least two adjustment circuits, a selection circuit and a control circuit.
[0006] The detection circuit is configured to detect a sampling current to output a sampling current detection signal.
[0007] Each adjustment circuit is connected with the detection circuit and is configured to adjust the sampling current detection signal by different coefficients to output each sampling adjustment signal.
[0008] The selection circuit is connected with each adjustment circuit and is configured to select a target sampling adjustment signal according to a selection signal; the target sampling adjustment signal is one of the plurality of sampling adjustment signals.
[0009] The control circuit is connected with the selection circuit and is configured to output the selection signal according to parameter identification information and obtain a sampling current value based on the parameter identification information and the target sampling adjustment signal.
[0010] The parameter identification information represents a value interval in which the sampling current is located.
[0011] In one of the embodiments, each adjustment circuit comprises:
[0012] Each reduction circuit is connected with the detection circuit and is configured to reduce the sampling current detection signal by different coefficients to output each sampling reduction signal.
[0013] Each lifting circuit is connected with each of the scaling circuits one by one, and is configured to perform voltage lifting with different coefficients on the sampling scaling signals to output each sampling adjustment signal.
[0014] In one of the embodiments, the sampling current detection signals are three-phase current detection signals, which include a U-phase current detection signal, a V-phase current detection signal and a W-phase current detection signal, and the sampling adjustment signals include a U-phase adjustment signal, a V-phase adjustment signal and a W-phase adjustment signal.
[0015] In one of the embodiments, the three-phase scaling signals include a U-phase scaling signal, a V-phase scaling signal and a W-phase scaling signal; each of the scaling circuits includes:
[0016] Each U-phase scaling module is connected with the detection circuit, and is configured to perform scaling with different coefficients on the U-phase current detection signal to output each of the U-phase scaling signals;
[0017] Each V-phase scaling module is connected with the detection circuit, and is configured to perform scaling with different coefficients on the V-phase current detection signal to output each of the V-phase scaling signals;
[0018] Each W-phase scaling module is connected with the detection circuit, and is configured to perform scaling with different coefficients on the W-phase current detection signal to output each of the W-phase scaling signals.
[0019] In one of the embodiments, each of the lifting circuits includes:
[0020] Each U-phase lifting module is connected with each of the U-phase scaling modules one by one, and is configured to perform lifting with different coefficients on each of the U-phase scaling signals to output each of the U-phase adjustment signals;
[0021] Each V-phase lifting module is connected with each of the V-phase scaling modules one by one, and is configured to perform lifting with different coefficients on each of the V-phase scaling signals to output each of the V-phase adjustment signals;
[0022] Each W-phase lifting module is connected with each of the W-phase scaling modules one by one, and is configured to perform lifting with different coefficients on each of the W-phase scaling signals to output each of the W-phase adjustment signals.
[0023] In one of the embodiments, the selection circuit includes:
[0024] The U-phase selection module is connected with each of the adjustment circuits, and is configured to select a target U-phase adjustment signal according to the selection signal; the target U-phase adjustment signal is one of the U-phase adjustment signals;
[0025] A phase V selection module is connected with each of the regulating circuits, configured to select and output a target V-phase regulating signal according to the selection signal; the target V-phase regulating signal is one of the V-phase regulating signals;
[0026] A phase W selection module is connected with each of the regulating circuits, configured to select and output a target W-phase regulating signal according to the selection signal; the target W-phase regulating signal is one of the W-phase regulating signals.
[0027] In one of the embodiments, the apparatus further comprises a filtering circuit;
[0028] The filtering circuit is connected between the selection circuit and the control circuit, configured to filter the target sampling regulating signal;
[0029] The control circuit is specifically configured to output the selection signal according to the parameter identification information, and obtain a sampling current value based on the parameter identification information and the filtered target sampling regulating signal.
[0030] In one of the embodiments, the apparatus further comprises a storage circuit;
[0031] The storage circuit is connected with the control circuit, configured to store the parameter identification information; and the control circuit is further configured to acquire the parameter identification information.
[0032] In one of the embodiments, the control circuit comprises a microprocessor;
[0033] A first analog-to-digital conversion end of the microprocessor serves as a target U-phase regulating signal input end of the control circuit, and is connected with the selection circuit to access the target U-phase regulating signal;
[0034] A second analog-to-digital conversion end of the microprocessor serves as a target V-phase regulating signal input end of the control circuit, and is connected with the selection circuit to access the target V-phase regulating signal;
[0035] A third analog-to-digital conversion end of the microprocessor serves as a target W-phase regulating signal input end of the control circuit, and is connected with the selection circuit to access the target W-phase regulating signal;
[0036] A first general-purpose input / output end of the microprocessor and a second general-purpose input / output end of the microprocessor together serve as a parameter identification information input end of the control circuit, and are connected with the storage circuit to access the parameter identification information;
[0037] A third general-purpose input / output end of the microprocessor and a fourth general-purpose input / output end of the microprocessor together serve as a selection signal output end of the control circuit, and are connected with the selection circuit to output the selection signal.
[0038] This utility model embodiment also provides an electronic device, which includes the above-described current sampling circuit.
[0039] The beneficial effects of this utility model embodiment compared with the prior art are as follows: Because at least two adjustment circuits are provided, and each adjustment circuit adjusts the sampling current detection signal by different coefficients, a target sampling adjustment signal matching the control circuit can be output through multiple adjustment circuits. Since the numerical range (parameter identification information) of the sampling current is different, the control circuit can output a corresponding selection signal based on the pre-acquired parameter identification information. Through the output selection signal, the target sampling adjustment signal adapted to the control circuit can be selected, reducing the possibility of equipment damage due to parameter mismatch and improving the reliability of the current sampling circuit. Furthermore, the control circuit obtains the sampling current value based on the parameter identification information and the target sampling adjustment signal, i.e., based on the numerical range of the sampling current and the target sampling adjustment signal. Therefore, it can detect sampling currents in different numerical ranges, and can be applied to frequency converters or motors of different power, improving the compatibility of the current sampling circuit. Attached Figure Description
[0040] To more clearly illustrate the technical utility model in the embodiments of this utility model, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0041] Figure 1 This is a schematic diagram of a current sampling circuit provided in one embodiment of this application;
[0042] Figure 2 A schematic diagram of another structure of the current sampling circuit provided in one embodiment of this application;
[0043] Figure 3 This is a partial example circuit schematic of a current sampling circuit provided in one embodiment of this application;
[0044] Figure 4 Another example circuit schematic of a current sampling circuit provided in one embodiment of this application;
[0045] Figure 5 This is a partial example circuit schematic of a current sampling circuit provided in one embodiment of this application;
[0046] Figure 6 This is a partial example circuit schematic of an amplification unit in a current sampling circuit provided in an embodiment of this application. Detailed Implementation
[0047] In order to make the technical problems, technical solutions and beneficial effects of the present application clearer, the present application will be further described in detail below in conjunction with the drawings and embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application and not to limit the present application.
[0048] It should be noted that when an element is referred to as being "fixed to" or "set on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element.
[0049] It should be understood that the terms "length", "width", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the purpose of facilitating the description of the present application and simplifying the description, and therefore cannot be understood as indicating or implying that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as limiting the present application.
[0050] In addition, the terms "first", "second" are only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise specifically limited.
[0051] Figure 1 The structure diagram of the current sampling circuit provided by the preferred embodiment of the present application is shown, only the parts related to the present embodiment are shown for the convenience of description, and the details are as follows:
[0052] The current sampling circuit includes a detection circuit 01, at least two adjusting circuits 02, a selection circuit 03 and a control circuit 04.
[0053] The detection circuit 01 is used for detecting the sampling current to output a sampling current detection signal.
[0054] Each adjusting circuit 02 is connected with the detection circuit 01, and is used for adjusting the sampling current detection signal by different coefficients to output each sampling adjusting signal.
[0055] The selection circuit 03 is connected with each adjusting circuit 02, and is used for selecting a target sampling adjusting signal according to a selection signal; the target sampling adjusting signal is one of the multiple sampling adjusting signals.
[0056] The control circuit 04 is connected with the selection circuit 03, and is configured to output a selection signal according to the parameter identification information, and obtain a sampling current value based on the parameter identification information and the target sampling adjustment signal.
[0057] The parameter identification information represents a value interval of the sampling current.
[0058] It can be understood that the control circuit 04 pre-stores a plurality of two-dimensional mapping tables, each two-dimensional mapping table corresponds to each parameter identification information, and each parameter identification information also corresponds to each sampling current, wherein different sampling currents correspond to different power section frequency converters or motors; the two-dimensional mapping table includes each sampling current value and each target sampling adjustment signal, wherein each sampling current value corresponds to each target sampling adjustment signal.
[0059] In the case that the control circuit 04 accesses the target sampling adjustment signal, the control circuit 04 obtains the two-dimensional mapping table corresponding to the parameter identification information, and finds the sampling current value corresponding to the target sampling adjustment signal in the two-dimensional mapping table, and takes the sampling current value as the detected sampling current value.
[0060] It should be noted that the sampling current detection signal includes a U-phase current detection signal, a V-phase current detection signal and a W-phase current detection signal, and the sampling adjustment signal includes a U-phase adjustment signal, a V-phase adjustment signal and a W-phase adjustment signal.
[0061] As shown in FIG. 1, each adjustment circuit 02 includes each scaling-down circuit 021 and each lifting circuit 022. Figure 2
[0062] Each scaling-down circuit 021 is connected with the detection circuit 01, and is configured to scale down the sampling current detection signal by different coefficients to output each sampling scaling-down signal.
[0063] Each lifting circuit 022 is connected with each scaling-down circuit 021 in one-to-one correspondence, and is configured to perform voltage lifting on each sampling scaling-down signal by different coefficients to output each sampling adjustment signal.
[0064] It should be noted that the sampling current detection signal is a three-phase current detection signal, which includes a U-phase current detection signal, a V-phase current detection signal and a W-phase current detection signal, and the sampling adjustment signal includes a U-phase adjustment signal, a V-phase adjustment signal and a W-phase adjustment signal.
[0065] By setting each reduction circuit 021 and each lifting circuit 022, the sampling current detection signals of different power sections are reduced and lifted by different coefficients, so that when detecting different sampling currents, they can match the same control circuit 04, so the same current sampling circuit can be applied to frequency converters or motors of different power, improving the compatibility of the current sampling circuit.
[0066] The three-phase reduction signals include U-phase reduction signals, V-phase reduction signals and W-phase reduction signals; each amplification circuit 021 includes each U-phase reduction module, each V-phase reduction module and each W-phase reduction module.
[0067] Each U-phase reduction module is connected with the detection circuit 01 and is used for reducing the U-phase current detection signal by different coefficients to output each U-phase reduction signal.
[0068] Each V-phase reduction module is connected with the detection circuit 01 and is used for reducing the V-phase current detection signal by different coefficients to output each V-phase reduction signal.
[0069] Each W-phase reduction module is connected with the detection circuit 01 and is used for reducing the W-phase current detection signal by different coefficients to output each W-phase reduction signal.
[0070] By reducing the current detection signals of different phases by different coefficients, when detecting different sampling currents, they can match the same control circuit 04, so the same current sampling circuit can be applied to frequency converters or motors of different power, improving the compatibility of the current sampling circuit.
[0071] Each lifting circuit 022 includes each U-phase lifting module, each V-phase lifting module and each W-phase lifting module.
[0072] Each U-phase lifting module is connected with each U-phase reduction module in one-to-one correspondence and is used for lifting each U-phase reduction signal by different coefficients to output each U-phase adjustment signal.
[0073] Each V-phase lifting module is connected with each V-phase reduction module in one-to-one correspondence and is used for lifting each V-phase reduction signal by different coefficients to output each V-phase adjustment signal.
[0074] Each W-phase lifting module is connected with each W-phase reduction module in one-to-one correspondence and is used for lifting each W-phase reduction signal by different coefficients to output each W-phase adjustment signal.
[0075] In an embodiment, the lifting coefficient can be 3V to 5V.
[0076] Since the voltage range of the input signal of the control circuit 04 is usually in the interval of 0V to 3V or 0V to 5V, the phase-reduced signals are lifted by different coefficients, so that the phase-reduced signals are lifted to be greater than 0V and can match the same control circuit 04, so the same current sampling circuit can be applied to frequency converters or motors of different power, and the compatibility of the current sampling circuit is improved.
[0077] As shown in Figure 2 , the selection circuit 03 includes a U-phase selection module 031, a V-phase selection module 032, and a W-phase selection module 033.
[0078] The U-phase selection module 031 is connected with each adjustment circuit 02 and is configured to select and output a target U-phase adjustment signal according to a selection signal; the target U-phase adjustment signal is one of the plurality of U-phase adjustment signals.
[0079] The V-phase selection module 032 is connected with each adjustment circuit 02 and is configured to select and output a target V-phase adjustment signal according to a selection signal; the target V-phase adjustment signal is one of the plurality of V-phase adjustment signals.
[0080] The W-phase selection module 033 is connected with each adjustment circuit 02 and is configured to select and output a target W-phase adjustment signal according to a selection signal; the target W-phase adjustment signal is one of the plurality of W-phase adjustment signals.
[0081] Since the control circuit 04 outputs different selection signals according to different parameter identification information, and each phase selection module is set, the target phase adjustment signal that matches the control circuit 04 can be selected from the plurality of phase adjustment signals, the possibility of damage to the device caused by parameter mismatch is reduced, and the reliability of the current sampling circuit is improved.
[0082] As shown in Figure 3 , the current sampling circuit further includes a filtering circuit 05.
[0083] The filtering circuit 05 is connected between the selection circuit 03 and the control circuit 04 and is configured to filter the target sampling adjustment signal.
[0084] The control circuit 04 is specifically configured to output a selection signal according to the parameter identification information, and obtain a sampling current value based on the parameter identification information and the filtered target sampling adjustment signal.
[0085] By filtering the target sampling adjustment signal, the stability of the target sampling adjustment signal is improved, and thus the accuracy of the current sampling circuit is improved.
[0086] As shown in Figure 4 , the current sampling circuit further includes a storage circuit 06.
[0087] The storage circuit 06 is connected with the control circuit 04 and used for outputting the parameter identification information.
[0088] The parameter identification information is stored and outputted by setting the storage circuit 06, so that the convenience and flexibility of the current sampling circuit are improved.
[0089] In an embodiment, the detection circuit 01 and the storage circuit 06 can be arranged on a driving printed circuit board, and the respective adjusting circuit 02, the selection circuit 03, the filter circuit 05 and the control circuit 04 can be arranged on a control printed circuit board.
[0090] Figure 5 Part of a sample circuit structure of the control circuit and the selection circuit in the current sampling circuit is shown, Figure 6 Part of a sample circuit structure of the amplification unit in the current sampling circuit is shown, for the convenience of description, only the part related to the embodiment of the utility model is shown, and the details are as follows:
[0091] It should be noted that, Figure 4 The current sampling circuit is taken as an example for illustration, and the number of the adjusting circuit 02 can be set according to actual requirements in the specific implementation
[0092] The control circuit 04 comprises a microprocessor U1.
[0093] The first analog-digital conversion end ADCINA3 of the microprocessor U1 is connected with the selection circuit 03 as a target U-phase adjusting signal input end of the control circuit 04, so as to input the target U-phase adjusting signal; the second analog-digital conversion end ADCINB3 of the microprocessor U1 is connected with the selection circuit 03 as a target V-phase adjusting signal input end of the control circuit 04, so as to input the target V-phase adjusting signal; the third analog-digital conversion end ADCIND3 of the microprocessor U1 is connected with the selection circuit 03 as a target W-phase adjusting signal input end of the control circuit 04, so as to input the target W-phase adjusting signal; the first general-purpose input-output end GPIO32 of the microprocessor U1 and the second general-purpose input-output end GPIO33 of the microprocessor U1 are connected with the storage circuit 06 as a parameter identification information input end of the control circuit 04, so as to input the parameter identification information; the third general-purpose input-output end GPIO20 of the microprocessor U1 and the fourth general-purpose input-output end GPIO21 of the microprocessor U1 are connected with the selection circuit 03 as a selection signal output end of the control circuit 04, so as to output the selection signal.
[0094] The U-phase selection module 031, the V-phase selection module 032 and the W-phase selection module 033 all comprise a selection unit, and the selection unit comprises an analog switch U3.
[0095] The first port 1Y0 of the first channel of the analog switch U3 is connected with the third adjusting circuit 02 as the first input end of the selection unit to access the third single-phase adjusting signal; the first port 1Y1 of the second channel of the analog switch U3 is connected with the second adjusting circuit 02 as the second input end of the selection unit to access the second single-phase adjusting signal; the first port 1Y2 of the third channel of the analog switch U3 is connected with the first adjusting circuit 02 as the third input end of the selection unit to access the first single-phase adjusting signal; the second port 2Y0 of the first channel of the analog switch U3, the second port 2Y1 of the second channel of the analog switch U3 and the second port 2Y1 of the second channel of the analog switch U3 are connected with the control circuit 04 as the target single-phase adjusting signal output end of the selection unit to output the target single-phase adjusting signal; the logic selection input A end A of the analog switch U3 and the logic selection input B end B of the analog switch U3 are connected with the control circuit 04 as the selection signal input end of the selection unit to access the selection signal.
[0096] It can be understood that, in the case that the selection unit is applied to the U-phase selection module 031, the first input end of the selection unit accesses the third U-phase adjusting signal; the second input end of the selection unit accesses the second U-phase adjusting signal; the third input end of the selection unit accesses the first U-phase adjusting signal; and the target single-phase adjusting signal output end of the selection unit outputs the target U-phase adjusting signal.
[0097] In the case that the selection unit is applied to the V-phase selection module 032, the first input end of the selection unit accesses the third V-phase adjusting signal; the second input end of the selection unit accesses the second V-phase adjusting signal; the third input end of the selection unit accesses the first V-phase adjusting signal; and the target single-phase adjusting signal output end of the selection unit outputs the target V-phase adjusting signal.
[0098] In the case that the selection unit is applied to the W-phase selection module 033, the first input end of the selection unit accesses the third W-phase adjusting signal; the second input end of the selection unit accesses the second W-phase adjusting signal; the third input end of the selection unit accesses the first W-phase adjusting signal; and the target single-phase adjusting signal output end of the selection unit outputs the target W-phase adjusting signal.
[0099] Each U-phase reduction module, each V-phase reduction module and each W-phase reduction module comprise a reduction unit, and the reduction unit comprises an amplifier U6, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6 and a seventh resistor R7.
[0100] The first end of the first resistor R1 is connected with the detection circuit 01 as the single-phase current detection signal input end of the reducing unit to access the single-phase current detection signal; the positive input end of the amplifier U6 is connected with the second end of the first resistor R1 and the first end of the second resistor R2, the negative input end of the amplifier U6 is connected with the first end of the third resistor R3 and the first end of the fourth resistor R4, the output end of the amplifier U6 is connected with the first end of the fifth resistor R5, the second end of the fourth resistor R4 is connected with the second end of the fifth resistor R5 and the first end of the sixth resistor R6; the second end of the sixth resistor R6 and the first end of the seventh resistor R7 are connected as the single-phase reducing signal output end of the reducing unit, which is connected with the lifting module to output the single-phase reducing signal; the first end of the seventh resistor R7 is connected with the first power supply VCC, and the second end of the third resistor R3 and the second end of the second resistor R2 are connected with the power supply ground.
[0101] It should be noted that when the reducing unit is applied to the U-phase reducing module, the single-phase current detection signal input end of the reducing unit accesses the U-phase current detection signal, and the single-phase reducing signal output end of the reducing unit outputs the U-phase reducing signal.
[0102] When the reducing unit is applied to the V-phase reducing module, the single-phase current detection signal input end of the reducing unit accesses the V-phase current detection signal, and the single-phase reducing signal output end of the reducing unit outputs the V-phase reducing signal.
[0103] When the reducing unit is applied to the W-phase reducing module, the single-phase current detection signal input end of the reducing unit accesses the W-phase current detection signal, and the single-phase reducing signal output end of the reducing unit outputs the W-phase reducing signal.
[0104] In specific implementation, the reducing unit can further include a first capacitor C1, the first end of the first capacitor C1 is connected with the first end of the seventh resistor R7 to the first power supply VCC, and the second end of the first capacitor C1 is connected with the power supply ground.
[0105] It can be understood that the single-phase current detection signals of different power segments only need to adjust the values of the fourth resistor R4 and the third resistor R3 to adjust the coefficient of reduction.
[0106] The storage circuit 06 includes a storage chip U2; the serial clock end SCL of the storage chip U2 and the serial data end SDA of the storage chip U2 are connected as the parameter identification information output end, which is connected with the control circuit 04 to follow the acquisition signal of the control circuit and output the parameter identification information.
[0107] The working principle will be further described below in combination with the working principle of the Figures 5 to 6
[0108] The storage chip U2 outputs parameter identification information from a serial clock end SCL of the storage chip U2 and a serial data end SDA of the storage chip U2; and the first general input / output end GPIO32 of the microprocessor U1 and the second general input / output end GPIO33 of the microprocessor U1 input the parameter identification information;
[0109] The microprocessor U1 outputs selection signals to the logic selection input A end A of each analog switch U3 and the logic selection input B end B of each analog switch U3 according to the parameter identification information from the third general input / output end GPIO20 of the microprocessor U1 and the fourth general input / output end GPIO21 of the microprocessor U1.
[0110] The detection circuit 01 detects three-phase currents to output sample current detection signals; each adjusting circuit 02 adjusts the sample current detection signals by different coefficients to output each sample adjusting signal, wherein the first adjusting circuit 02 outputs a first U-phase adjusting signal to the third channel first port 1Y2 of the analog switch U3 in the U-phase selection module 031, the second adjusting circuit 02 outputs a second U-phase adjusting signal to the second channel first port 1Y1 of the analog switch U3 in the U-phase selection module 031, the third adjusting circuit 02 outputs a third U-phase adjusting signal to the first channel first port 1Y0 of the analog switch U3 in the U-phase selection module 031, the U-phase selection module 031 selects and outputs a target U-phase adjusting signal to the first analog-to-digital conversion end ADCINA3 of the microprocessor U1 according to the selection signal; the target U-phase adjusting signal is one of the plurality of U-phase adjusting signals; by analogy, the V-phase selection module 032 selects and outputs a target V-phase adjusting signal to the second analog-to-digital conversion end ADCINB3 of the microprocessor U1 according to the selection signal; the target V-phase adjusting signal is one of the plurality of V-phase adjusting signals; the W-phase selection module 033 selects and outputs a target W-phase adjusting signal to the third analog-to-digital conversion end ADCIND3 of the microprocessor U1 according to the selection signal; the target W-phase adjusting signal is one of the plurality of W-phase adjusting signals; since the control circuit 04 outputs different selection signals according to different parameter identification information, and each phase selection module is set, the target each-phase adjusting signal adapted to the control circuit 04 can be selected from each each-phase adjusting signal; so that the microprocessor U1 obtains the sample current value based on the parameter identification information and the target sample adjusting signal, that is, obtains the sample current value according to the value interval of the sample current and the target sample adjusting signal, and thus the sample current in different value intervals can be detected.
[0111] The utility model embodiment further provides an electronic device, and the electronic device comprises the current sampling circuit.
[0112] The utility model discloses an embodiment through the detection circuit to the sampling current is detected to output sampling current detection signal, each adjusting circuit carries out the adjustment of different coefficient to sampling current detection signal to output each sampling adjustment signal, and the selection circuit selects the output target sampling adjustment signal according to the selection signal, and the target sampling adjustment signal is one in a plurality of sampling adjustment signals, and the control circuit outputs the selection signal according to parameter identification information, and obtains the sampling current value based on parameter identification information and target sampling adjustment signal, and parameter identification information shows the numerical interval of sampling current, because each adjusting circuit carries out the adjustment of different coefficient to sampling current detection signal to output each sampling adjustment signal, and the numerical interval (parameter identification information) of sampling current is different, and the control circuit outputs different selection signals according to the output different parameter identification information, and can select the target sampling adjustment signal of adapting to the control circuit in each sampling adjustment signal, reduces the possibility of the equipment damage caused by parameter mismatch, improves the reliability of current sampling circuit, and the control circuit obtains the sampling current value based on parameter identification information and target sampling adjustment signal, that is, obtains the sampling current value according to the numerical interval of sampling current and target sampling adjustment signal, so can detect the sampling current of different numerical interval, that is, can be applied to the frequency converter or motor of different power, improves the compatibility of current sampling circuit.
[0113] It should be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0114] The above-described embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements for some technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A current sampling circuit, characterized by, The detection circuit, the at least two adjusting circuits, the selection circuit and the control circuit are included. The detection circuit is configured to detect the sampling current to output a sampling current detection signal. Each of the adjusting circuits is connected with the detection circuit and configured to adjust the sampling current detection signal by different coefficients to output a respective sampling adjusting signal. The selection circuit is connected with each of the adjusting circuits and configured to select a target sampling adjusting signal according to a selection signal. The target sampling adjusting signal is one of the sampling adjusting signals. The control circuit is connected with the selection circuit and configured to output the selection signal according to parameter identification information and obtain a sampling current value based on the parameter identification information and the target sampling adjusting signal. The parameter identification information represents a value interval in which the sampling current is located.
2. The current sampling circuit of claim 1, wherein, Each of the adjusting circuits includes: Each of the reducing circuits is connected with the detection circuit and configured to reduce the sampling current detection signal by different coefficients to output a respective sampling reducing signal. Each of the lifting circuits is connected with each of the reducing circuits in a one-to-one manner and configured to lift the sampling reducing signal by different coefficients to output a respective sampling adjusting signal.
3. The current sampling circuit of claim 2, wherein, The sampling current detection signal is a three-phase current detection signal, which includes a U-phase current detection signal, a V-phase current detection signal and a W-phase current detection signal, and the sampling adjusting signal includes a U-phase adjusting signal, a V-phase adjusting signal and a W-phase adjusting signal.
4. The current sampling circuit of claim 3, wherein, The sampling reducing signal includes a U-phase reducing signal, a V-phase reducing signal and a W-phase reducing signal. Each of the reducing circuits includes: Each of the U-phase reducing modules is connected with the detection circuit and configured to reduce the U-phase current detection signal by different coefficients to output a respective U-phase reducing signal. Each of the V-phase reducing modules is connected with the detection circuit and configured to reduce the V-phase current detection signal by different coefficients to output a respective V-phase reducing signal. Each of the W-phase reducing modules is connected with the detection circuit and configured to reduce the W-phase current detection signal by different coefficients to output a respective W-phase reducing signal.
5. The current sampling circuit of claim 4, wherein, Each of the lifting circuits includes: Each of the U-phase lifting modules is connected with each of the U-phase reducing modules in a one-to-one manner and configured to lift the respective U-phase reducing signal by different coefficients to output a respective U-phase adjusting signal. Each of the V-phase lifting modules is connected with each of the V-phase reducing modules in a one-to-one manner and configured to lift the respective V-phase reducing signal by different coefficients to output a respective V-phase adjusting signal. Each of the W-phase lifting modules is connected with each of the W-phase reducing modules in a one-to-one manner and configured to lift the respective W-phase reducing signal by different coefficients to output a respective W-phase adjusting signal.
6. The current sampling circuit of claim 2, wherein, The selection circuit includes: The U-phase selection module is connected with each of the adjusting circuits and configured to select a target U-phase adjusting signal according to the selection signal, wherein the target U-phase adjusting signal is one of the U-phase adjusting signals. A V-phase selection module is connected with each of the regulating circuits, and is configured to select and output a target V-phase regulating signal according to the selection signal; the target V-phase regulating signal is one of the V-phase regulating signals; A W-phase selection module is connected with each of the regulating circuits, and is configured to select and output a target W-phase regulating signal according to the selection signal; the target W-phase regulating signal is one of the W-phase regulating signals.
7. The current sampling circuit of any one of claims 1 to 6, wherein, The current sampling circuit further comprises a filtering circuit; The filtering circuit is connected between the selection circuit and the control circuit, and is configured to filter the target sampling regulating signal; The control circuit is specifically configured to output the selection signal according to the parameter identification information, and obtain a sampling current value based on the parameter identification information and the filtered target sampling regulating signal.
8. The current sampling circuit of any one of claims 1 to 6, wherein, The current sampling circuit further comprises a storage circuit; The storage circuit is connected with the control circuit, and is configured to store the parameter identification information; the control circuit is further configured to acquire the parameter identification information.
9. The current sampling circuit of any one of claims 2 to 6, wherein, The control circuit comprises a microprocessor. A first analog-to-digital conversion end of the microprocessor serves as a target U-phase regulating signal input end of the control circuit, and is connected with the selection circuit to access the target U-phase regulating signal; A second analog-to-digital conversion end of the microprocessor serves as a target V-phase regulating signal input end of the control circuit, and is connected with the selection circuit to access the target V-phase regulating signal; A third analog-to-digital conversion end of the microprocessor serves as a target W-phase regulating signal input end of the control circuit, and is connected with the selection circuit to access the target W-phase regulating signal; A first general-purpose input / output end of the microprocessor and a second general-purpose input / output end of the microprocessor together serve as a parameter identification information input end of the control circuit, and are connected with the storage circuit to access the parameter identification information; A third general-purpose input / output end of the microprocessor and a fourth general-purpose input / output end of the microprocessor together serve as a selection signal output end of the control circuit, and are connected with the selection circuit to output the selection signal.
10. An electronic device, comprising: The electronic device comprises the current sampling circuit according to any one of claims 1 to 9.