Current sensor simulation circuit and current sensor
By designing current sensor simulation circuits, including current conversion, bias and voltage detection circuits, the problem of mismatch between the existing current sensor circuits and the simulation circuits is solved, and the ideal state and performance improvement of parameter debugging are achieved.
Patent Information
- Application Number
- CN202420465950.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-11
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2034-03-11
AI Technical Summary
The existing current sensor circuit cannot match the simulation circuit during production and debugging, resulting in the problem that complex model design is difficult to implement.
A current sensor simulation circuit is designed, including a current conversion circuit, a bias circuit and a voltage detection circuit. By sampling the input current signal, a bias voltage signal and detecting the working voltage, it ensures that the voltage signal output by the circuit is within a reasonable range and is adapted. Different equipment requirements.
The parameter debugging of circuit construction is achieved to achieve an ideal state, the performance of the current sensor is improved, the usage needs of different scenarios are met, and the electronic components in the simulation circuit are matched.
Smart Images

Figure CN222014318U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to a current sensor simulation circuit and a current sensor. Background Art
[0002] A current sensor is a detection device that can sense the information of the current being measured and convert the sensed information into an electrical signal or other required form of information output that meets certain standard requirements according to certain rules to meet the requirements of information transmission, processing, storage, display, recording and control.
[0003] As is known, when the current sensor is measured using an induction coil, the current to be measured passes through the induction coil, the secondary coil of the induction coil induces current, the current flows through the resistor through the loop to generate voltage, the generated voltage is amplified by the amplifier and input into the MCU for data processing. With the advancement of science and technology, various new electrical equipment emerge in an endless stream, and these new electrical equipment often need to be connected to different power supply systems, and different equipment has different requirements for current sensors. Therefore, it is necessary to design more types of current sensors to meet the needs of different equipment.
[0004] The circuits of electrical equipment are simulated and debugged before production. The current parameter in the circuit during debugging is a very critical parameter. Existing current sensor circuits often cannot match the current sensor circuits in the simulation circuits, resulting in the problem that the design of complex models is difficult to implement. Summary of the invention
[0005] The present invention aims at the technical problem that the circuit structure of the current sensor in the prior art is not conducive to production debugging, and proposes a current sensor simulation circuit to solve the above problem.
[0006] In order to achieve the above-mentioned purpose, the present invention adopts the following technical solutions:
[0007] A current sensor simulation circuit, comprising:
[0008] A current conversion circuit, which is used to sample the input current signal and convert it into a voltage signal output;
[0009] A bias circuit, wherein one of the input terminals of the bias circuit is connected to the output terminal of the current conversion circuit, and the other input terminal is input with a bias voltage, and is used to bias the voltage signal output by the current conversion circuit to a bias value before outputting the biased voltage signal;
[0010] The voltage detection circuit is used to detect the working voltage input by the current sensor simulation circuit and control the output of the bias circuit according to the detection result.
[0011] In some embodiments, the bias circuit includes:
[0012] An adder, one of the input ends of the adder is connected to the output end of the current conversion circuit, and the other input end is input with a bias voltage. The adder sums the two input signals and outputs the sum, so as to bias the voltage signal output by the current conversion circuit to a bias value.
[0013] In some embodiments, the current sensor simulation circuit further includes a bias voltage generating circuit, and the bias voltage generating circuit includes:
[0014] a DC voltage source, which outputs a DC voltage;
[0015] A voltage stabilizing module, connected to the DC voltage source, and configured to stabilize the DC voltage output by the DC voltage source and then output it;
[0016] A voltage divider circuit is connected to the output end of the voltage stabilizing module and is used to divide the voltage output by the voltage stabilizing module to generate the bias voltage. The output end of the voltage divider circuit is connected to the bias circuit and is used to output the bias voltage to the bias circuit.
[0017] In some embodiments, a current limiting resistor is further connected between the voltage stabilizing module and the DC voltage source.
[0018] In some embodiments, the voltage divider circuit includes a first resistor and a second resistor connected in series.
[0019] In some embodiments, the bias voltage generating circuit further includes:
[0020] The first DC-DC circuit, one of the output ends of the voltage divider circuit is connected to the input end of the first DC-DC circuit, and is used to convert and output the bias voltage output by the voltage divider circuit according to the set gain.
[0021] In some embodiments, the voltage detection circuit includes:
[0022] A comparison circuit, wherein the input end of the comparison circuit is used to input the working voltage of the current sensor simulation circuit, and when the working voltage is within a set range, the comparison circuit outputs a high level;
[0023] A multiplication circuit, wherein one of the input ends of the multiplication circuit is connected to the output end of the comparison circuit, and the other input end of the multiplication circuit is connected to the output end of the bias circuit, and the multiplication circuit performs multiplication operation on its two inputs and then outputs the result.
[0024] In some embodiments, the current sensor simulation circuit further includes:
[0025] The second DC-DC circuit is connected to the output end of the multiplication circuit and is used for converting the signal output by the multiplication circuit according to the set gain and outputting it.
[0026] In some embodiments, the current sensor simulation circuit further includes:
[0027] The voltage limiting circuit has an input end connected to the output end of the current conversion circuit and is used to limit the voltage signal output by the current conversion circuit to a set range and output it.
[0028] The present invention also proposes a current sensor, which includes a current sensor circuit, and the current sensor circuit includes:
[0029] A current conversion circuit, which is used to sample the input current signal and convert it into a voltage signal output;
[0030] A bias circuit, wherein one of the input terminals of the bias circuit is connected to the output terminal of the current conversion circuit, and the other input terminal is input with a bias voltage, and is used to bias the voltage signal output by the current conversion circuit to a bias value before outputting the biased voltage signal;
[0031] The current sensor circuit is packaged as an integrated component.
[0032] Compared with the prior art, the advantages and positive effects of the present invention are:
[0033] The current sensor simulation circuit of the utility model can meet the use requirements of different scenarios. The electronic components used to build the circuit are common devices, and the corresponding circuit can be built in reality. It can also match the electronic components in the simulation circuit and build a simulation circuit in a simulation environment. It is convenient to debug the corresponding device parameters in the simulation circuit to achieve an ideal state, thereby improving the performance of the current sensor.
[0034] After reading the specific embodiments of the present invention in conjunction with the accompanying drawings, other features and advantages of the present invention will become more clear. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0036] Figure 1 It is a principle block diagram of an embodiment of the current sensor simulation circuit proposed by the utility model;
[0037] Figure 2This is a circuit schematic diagram of an embodiment of the current sensor simulation circuit proposed by the utility model;
[0038] Figure 3 It is a schematic diagram of a comparison circuit in one embodiment of the current sensor simulation circuit proposed by the utility model;
[0039] Figure 4 It is a schematic diagram of a power supply circuit in one embodiment of the current sensor simulation circuit proposed by the utility model;
[0040] Figure 5 This is a schematic diagram of the packaging principle of an embodiment of the current sensor simulation circuit proposed by the utility model;
[0041] Figure 6 This is a schematic diagram of an embodiment of the connection between the current sensor simulation circuit and the peripheral circuit proposed by the utility model;
[0042] Figure 7 It is a schematic diagram of an input waveform and an output waveform of a current sensor simulation circuit proposed by the utility model in one embodiment;
[0043] Figure 8 This is a circuit schematic diagram of another embodiment of the current sensor simulation circuit proposed by the utility model;
[0044] Fig. 9 It is a circuit principle block diagram of an embodiment of the current sensor circuit proposed by the utility model;
[0045] Fig.10 This is a circuit schematic diagram of an embodiment of the current sensor circuit proposed by the utility model. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] It should be noted that in the description of the present invention, the terms "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside" and the like indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings, which are merely for the convenience of description and do not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance. In the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined.
[0048] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0049] Embodiment 1: The current sensor is a detection device that can sense the information of the measured current and can transform the sensed information into an electrical signal or other required form of information output that meets certain standard requirements according to a certain rule to meet the requirements of information transmission, processing, storage, display, recording and control.
[0050] As a current sensing device, the working principle of the current sensor is: based on the Hall effect principle, when the current sensor is measured using an induction coil, the current to be measured passes through the induction coil, and the secondary coil of the induction coil induces current. The current flows through the loop through the resistor to generate a voltage, and its magnitude is proportional to the product of the control current and the magnetic induction intensity. By measuring the magnitude of the generated voltage, the magnitude of the current in the current-carrying conductor can be indirectly measured. The generated voltage is amplified by the amplifier and input into the MCU for data processing.
[0051] With the emergence of various new types of electrical equipment, these new electrical equipment often need to be connected to different power supply systems, and different equipment has different requirements for current sensors. Therefore, more types of current sensors need to be designed to meet the needs of different equipment. Electrical equipment circuits will be simulated and debugged before production. As one of the electronic components of electrical equipment circuits, current sensors will inevitably involve parameter debugging. Existing current sensor circuits often cannot match the current sensor circuits in the simulation circuits, resulting in the problem that the design of complex models is difficult to implement.
[0052] Based on the above, this embodiment proposes a current sensor simulation circuit, such as Figure 1 As shown, the current sensor simulation circuit includes a current conversion circuit, which is used to sample the input current signal and convert it into a voltage signal for output. The current conversion circuit has an input loop and an output loop. The input loop of the current conversion circuit is connected to the current loop to be detected. The input current signal is the current to be detected. When it flows through the input loop of the current conversion circuit, it can be sensed by the current conversion circuit and converted into a voltage signal, which is output through the output loop of the current conversion circuit.
[0053] In some embodiments, the current sensor simulation circuit also includes a bias circuit, one of the input terminals of the bias circuit is connected to the output terminal of the current conversion circuit, and the other input terminal inputs a bias voltage. The bias circuit is used to bias the voltage signal output by the current conversion circuit to a bias value and then output it.
[0054] Specifically, since the waveform of the voltage signal output by the current conversion circuit is a sine wave or a cosine wave, its voltage value may be a negative voltage, and the negative value cannot be recognized by the back-end processing chip, therefore, by applying a bias voltage to the voltage signal. The bias voltage is a DC voltage, and the bias circuit superimposes the input bias voltage on the voltage signal output by the current conversion circuit, so that the voltage value of the voltage signal output by the current conversion circuit is increased as a whole, and the increase amplitude is the voltage value of the bias voltage, so that the voltage signal output by the current conversion circuit no longer has a negative voltage value, so that it can be recognized.
[0055] The bias circuit outputs the signal to the amplifier circuit for amplification, and then the AD sampling circuit samples it and inputs it into the back-end processing chip.
[0056] The current sensor can only work when an external working voltage is applied, that is, it can detect current only when an external working voltage is applied. In the current sensor circuit, a power supply circuit is generally provided for controlling the conversion of the current sensor to provide working voltage. When the current sensor is powered on and works normally, it has a detection output. If it is in a power-off state, it has no detection output, that is, it cannot output a detection signal. For the detection receiving end, the received signal is always at a low level.
[0057] In order to simulate and identify the working state of the current sensor, in some embodiments, the current sensor simulation circuit also includes a voltage detection circuit, which is used to detect the working voltage input to the current sensor simulation circuit and control the output of the bias circuit according to the detection result.
[0058] When the current sensor simulation circuit has a working voltage input, the voltage detection circuit output signal is used to control the bias circuit to normally output the biased voltage signal. When the current sensor simulation circuit does not have a working voltage input, the voltage detection circuit output signal is used to control the bias circuit to output a low-level signal. After receiving the detection receiving end, it can be known that the bias circuit cannot normally output the detection signal.
[0059] In some embodiments, such as Figure 2 , Figure 3 As shown, the voltage detection circuit includes a comparison circuit E2, the input end of the comparison circuit is used to input the working voltage of the current sensor simulation circuit, and the other input end of the comparison circuit is connected to the ground end. When the working voltage input to the comparison circuit is within the set range, the comparison circuit outputs a high level, otherwise it outputs a low level. The comparison circuit is used to detect whether the working voltage input to the current sensor simulation circuit is reasonable. In an actual current sensor, the input voltage is too high or too low and it cannot work normally. The set range is also the working voltage range of the current sensor. In this embodiment, a comparison circuit is set to make a comparison and judgment, which is used to simulate the rationality of the working voltage input of the actual current sensor.
[0060] In some embodiments, the voltage detection circuit further includes a multiplication circuit M1, one of the input terminals of the multiplication circuit M1 is connected to the output terminal of the comparison circuit E2, and the other input terminal of the multiplication circuit M1 is connected to the output terminal of the bias circuit, and the multiplication circuit performs multiplication operation on its two inputs and then outputs the result.
[0061] When the comparison circuit E2 outputs a high level, it indicates that the operating voltage input to the current sensor simulation circuit is reasonable and the current sensor simulation circuit can work normally. The high level output by the comparison circuit is input to the multiplication circuit, and after multiplication with the output signal of the bias circuit, it is still the output signal of the bias circuit itself, thus indicating that the current sensor simulation circuit works normally.
[0062] When the comparison circuit E2 outputs a low level, it indicates that the operating voltage input to the current sensor simulation circuit is unreasonable and the current sensor simulation circuit cannot work normally. The low level output by the comparison circuit is input to the multiplication circuit and is multiplied by the output signal of the bias circuit to be a low level. Therefore, it indicates that the current sensor simulation circuit cannot work normally.
[0063] In some embodiments, such as Figure 2 As shown, in the current sensor simulation circuit, the comparison circuit can be implemented using EVALUE.
[0064] In some embodiments, such as Figure 2As shown, the bias circuit includes an adder S1, one of the input terminals of the adder S1 is connected to the output terminal of the current conversion circuit, and the other input terminal inputs a bias voltage Vos. The adder sums the two input signals and outputs the sum, so as to bias the voltage signal output by the current conversion circuit to the bias value.
[0065] Specifically, the waveform of the voltage signal output by the current conversion circuit is a sine wave or a cosine wave. The signal is input to one of the adders S1, and the other input of the adder S1 is a bias voltage Vos. The adder S1 adds the voltage signal output by the current conversion circuit and the bias voltage Vos, that is, the input bias voltage Vos is superimposed on the voltage signal output by the current conversion circuit, so that the voltage value of the voltage signal output by the current conversion circuit is increased as a whole, and the increase amplitude is the voltage value of the bias voltage, so that the voltage signal output by the current conversion circuit no longer has a negative voltage value so that it can be identified.
[0066] The voltage value of the bias voltage Vos should not be less than the amplitude of the voltage signal waveform output by the current conversion circuit to ensure that the trough of the sum of the bias voltage Vos and the voltage signal output by the current conversion circuit is at or above zero level, and to ensure that the voltage signal output by the current conversion circuit no longer has a negative voltage value so that it can be recognized by the back-end circuit or chip.
[0067] In order to provide a stable bias voltage output to the bias circuit, in some embodiments, the current sensor simulation circuit further includes a bias voltage generating circuit, such as Figure 2 As shown, the bias voltage generating circuit includes a DC voltage source V1, which is used to output a DC voltage, and the bias voltage Vos can be generated by converting the DC voltage.
[0068] In order to ensure that the DC voltage source V1 can output a stable DC voltage to the back end, in some embodiments, the bias voltage generating circuit also includes a voltage stabilizing module U1, which is connected to the DC voltage source V1 and is used to stabilize the DC voltage output by the DC voltage source and output it.
[0069] The DC voltage output by the DC voltage source V1 is generally greater than the bias voltage Vos. In order to be able to convert the DC voltage to generate the bias voltage Vos and output it, in some embodiments, the bias voltage generating circuit also includes a voltage divider circuit, which is connected to the output end of the voltage stabilizing module and is used to divide the voltage output by the voltage stabilizing module to generate the bias voltage. The output end of the voltage divider circuit is connected to the bias circuit and is used to output the bias voltage to the bias circuit.
[0070] In some embodiments, such as Figure 2As shown, the voltage divider circuit includes a first resistor R1 and a second resistor R2 connected in series, and the two ends of the series circuit are respectively connected to the two ends of the voltage stabilizing module, for dividing the voltage output by the voltage stabilizing module. The output end of the bias voltage is connected between the first resistor R1 and the second resistor R2, and by selecting reasonable resistance values of the first resistor R1 and the second resistor R2, the output bias voltage meets the requirements of the bias circuit.
[0071] In order to prevent the DC voltage source from short-circuiting due to the breakdown of the voltage regulator module, Figure 8 As shown, in some embodiments, a current limiting resistor R3 is further connected between the voltage stabilizing module U1 and the DC voltage source V1. The current limiting resistor R3 can limit the short-circuit current of the DC voltage source to prevent the short-circuit current from generating high temperature and causing greater harm.
[0072] In some embodiments, the bias voltage generating circuit further includes a first DC-DC circuit E1, one of the output ends of the voltage divider circuit is connected to the input end of the first DC-DC circuit E1, and is used to convert and output the bias voltage Vos output by the voltage divider circuit according to a set gain. The first DC-DC circuit E1 is used to provide a DC voltage for other devices with a DC voltage requirement in the current sensor simulation circuit, and the voltage value output by the first DC-DC circuit E1 can be achieved by adjusting the set gain according to the requirements of the device to be powered.
[0073] In order to improve the adaptability of the current sensor simulation circuit, its current detection result output can adapt to receiving chips with different input voltage requirements. In some embodiments, the current sensor simulation circuit also includes a second DC-DC circuit E3, and the second DC-DC circuit E3 is connected to the output end of the multiplication circuit M1, and is used to convert and output the signal output by the multiplication circuit M1 according to the set gain, and convert and output it by setting an appropriate gain according to the requirements of the receiving end.
[0074] In some embodiments, such as Figure 2 As shown, the current sensor simulation circuit also includes a voltage limiting circuit P1, the input end of the voltage limiting circuit P1 is connected to the output end of the current conversion circuit H1, and is used to limit the voltage signal output by the current conversion circuit H1 within a set range and output it, and the input end of the bias circuit is connected to the output end of the voltage limiting circuit, which plays a role in protecting the back-end electronic devices.
[0075] like Figure 5 As shown, the current sensor simulation circuit can be packaged as an integrated component, which has two sampling input terminals IP+, two sampling output terminals IP- and an output terminal VIOUT for connecting to an external circuit.
[0076] like Figure 6As shown in FIG. 1 , it is a schematic diagram of an embodiment of the connection between the current sensor simulation circuit and the peripheral circuit, wherein the input current waveform is collected at the J1 position, and the output current waveform of the current sensor simulation circuit is collected at the J2 position. The waveform diagrams of J1 and J2 are shown in FIG. Figure 7 As shown by Figure 7 It can be seen that the two waveforms are consistent.
[0077] In order to provide a stable operating voltage VCC to the current sensor simulation circuit, in some embodiments, such as Figure 4 As shown, a fourth DC-DC circuit E4 is also included. The fourth DC-DC circuit E4 is connected to an external DC power supply and is used to convert and output the voltage signal output by the DC power supply according to a set gain. In this embodiment, the gain is set to 1.
[0078] Embodiment 2, the present invention also proposes a current sensor, such as Fig. 9 As shown, it includes a current sensor circuit, and the current sensor circuit includes a current conversion circuit, which is used to sample the input current signal and convert it into a voltage signal for output. The current conversion circuit has an input loop and an output loop, and the input loop of the current conversion circuit is connected to the current loop to be detected. The input current signal is the current to be detected. When it flows through the input loop of the current conversion circuit, it can be sensed by the current conversion circuit and converted into a voltage signal, which is output through the output loop of the current conversion circuit.
[0079] In some embodiments, the current sensor simulation circuit also includes a bias circuit, one of the input terminals of the bias circuit is connected to the output terminal of the current conversion circuit, and the other input terminal inputs a bias voltage. The bias circuit is used to bias the voltage signal output by the current conversion circuit to a bias value and then output it.
[0080] Specifically, since the waveform of the voltage signal output by the current conversion circuit is a sine wave or a cosine wave, its voltage value may be a negative voltage, and the negative value cannot be recognized by the back-end processing chip, therefore, by applying a bias voltage to the voltage signal. The bias voltage is a DC voltage, and the bias circuit superimposes the input bias voltage on the voltage signal output by the current conversion circuit, so that the voltage value of the voltage signal output by the current conversion circuit is increased as a whole, and the increase amplitude is the voltage value of the bias voltage, so that the voltage signal output by the current conversion circuit no longer has a negative voltage value, so that it can be recognized.
[0081] The current sensor can only work when an external working voltage is applied, that is, it can detect current only when an external working voltage is applied. In the current sensor circuit, a power supply circuit is generally provided for controlling the conversion of the current sensor to provide working voltage. When the current sensor is powered on and works normally, it has a detection output. If it is in a power-off state, it has no detection output, that is, it cannot output a detection signal. For the detection receiving end, the received signal is always at a low level.
[0082] like Figure 5 As shown, the current sensor circuit is packaged as an integrated component, which has two sampling input terminals IP+, two sampling output terminals IP- and an output terminal VIOUT for connecting to an external circuit.
[0083] In some embodiments, such as Fig.10 As shown, the bias circuit includes an adder S1, one of the input terminals of the adder S1 is connected to the output terminal of the current conversion circuit, and the other input terminal inputs a bias voltage Vos. The adder sums the two input signals and outputs the sum, so as to bias the voltage signal output by the current conversion circuit to the bias value.
[0084] Specifically, the waveform of the voltage signal output by the current conversion circuit is a sine wave or a cosine wave. The signal is input to one of the adders S1, and the other input of the adder S1 is a bias voltage Vos. The adder S1 adds the voltage signal output by the current conversion circuit and the bias voltage Vos, that is, the input bias voltage Vos is superimposed on the voltage signal output by the current conversion circuit, so that the voltage value of the voltage signal output by the current conversion circuit is increased as a whole, and the increase amplitude is the voltage value of the bias voltage, so that the voltage signal output by the current conversion circuit no longer has a negative voltage value so that it can be identified.
[0085] The voltage value of the bias voltage Vos should not be less than the amplitude of the voltage signal waveform output by the current conversion circuit to ensure that the trough of the sum of the bias voltage Vos and the voltage signal output by the current conversion circuit is at or above zero level, and to ensure that the voltage signal output by the current conversion circuit no longer has a negative voltage value so that it can be recognized by the back-end circuit or chip.
[0086] In order to provide a stable bias voltage output to the bias circuit, in some embodiments, such as Figure 2 As shown, the current sensor simulation circuit also includes a bias voltage generating circuit. The bias voltage generating circuit includes a DC voltage source V1, which is used to output a DC voltage. The bias voltage can be generated by converting the DC voltage.
[0087] In order to ensure that the DC voltage source V1 can output a stable DC voltage to the back end, in some embodiments, the bias voltage generating circuit also includes a voltage stabilizing module, which is connected to the DC voltage source and is used to stabilize the DC voltage output by the DC voltage source and then output it.
[0088] The DC voltage output by the DC voltage source V1 is generally greater than the bias voltage. In order to convert the DC voltage to generate a bias voltage and output it, in some embodiments, the bias voltage generation circuit also includes a voltage divider circuit, which is connected to the output end of the voltage stabilizing module and is used to divide the voltage output by the voltage stabilizing module to generate a bias voltage. The output end of the voltage divider circuit is connected to the bias circuit and is used to output the bias voltage to the bias circuit.
[0089] In some embodiments, such as Fig.10 As shown, the voltage divider circuit includes a first resistor R1 and a second resistor R2 connected in series, and the two ends of the series circuit are respectively connected to the two ends of the voltage stabilizing module, for dividing the voltage output by the voltage stabilizing module. The output end of the bias voltage is connected between the first resistor R1 and the second resistor R2, and by selecting reasonable resistance values of the first resistor R1 and the second resistor R2, the output bias voltage meets the requirements of the bias circuit.
[0090] In order to prevent the DC voltage source from short-circuiting due to the breakdown of the voltage stabilizing module, in some embodiments, a current limiting resistor is connected between the voltage stabilizing module and the DC voltage source. The current limiting resistor can limit the short-circuit current of the DC voltage source to prevent the short-circuit current from generating high temperature and causing greater harm.
[0091] In some embodiments, the bias voltage generating circuit further includes a first DC-DC circuit, one of the output ends of the voltage divider circuit is connected to the input end of the first DC-DC circuit, and is used to convert and output the bias voltage output by the voltage divider circuit according to a set gain. The first DC-DC circuit is used to provide a DC voltage for other devices with a DC voltage requirement in the current sensor simulation circuit, and the voltage value output by the first DC-DC circuit can be achieved by adjusting the set gain according to the requirements of the device to be powered.
[0092] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for a person skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to replace some of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions claimed to be protected by the present invention.
[0093] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0094] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
Claims
1. A current sensor simulation circuit, characterized in that: include: A current conversion circuit, which is used to sample the input current signal and convert it into a voltage signal output; A bias circuit, wherein one of the input terminals of the bias circuit is connected to the output terminal of the current conversion circuit, and the other input terminal is input with a bias voltage, and is used to bias the voltage signal output by the current conversion circuit to a bias value before outputting the biased voltage signal; The voltage detection circuit is used to detect the working voltage input by the current sensor simulation circuit and control the output of the bias circuit according to the detection result.
2. The current sensor simulation circuit according to claim 1, characterized in that: The bias circuit comprises: An adder, one of the input ends of the adder is connected to the output end of the current conversion circuit, and the other input end is input with a bias voltage. The adder sums the two input signals and outputs the sum, so as to bias the voltage signal output by the current conversion circuit to a bias value.
3. The current sensor simulation circuit according to claim 2, characterized in that: The current sensor simulation circuit further includes a bias voltage generating circuit, and the bias voltage generating circuit includes: a DC voltage source, which outputs a DC voltage; A voltage stabilizing module, connected to the DC voltage source, and configured to stabilize the DC voltage output by the DC voltage source and then output it; A voltage divider circuit is connected to the output end of the voltage stabilizing module and is used to divide the voltage output by the voltage stabilizing module to generate the bias voltage. The output end of the voltage divider circuit is connected to the bias circuit and is used to output the bias voltage to the bias circuit.
4. The current sensor simulation circuit according to claim 3, characterized in that: A current limiting resistor is also connected between the voltage stabilizing module and the DC voltage source.
5. The current sensor simulation circuit according to claim 3, characterized in that: The voltage divider circuit includes a first resistor and a second resistor connected in series.
6. The current sensor simulation circuit according to claim 3, characterized in that: The bias voltage generating circuit also includes: The first DC-DC circuit, one of the output ends of the voltage divider circuit is connected to the input end of the first DC-DC circuit, and is used to convert and output the bias voltage output by the voltage divider circuit according to the set gain.
7. The current sensor simulation circuit according to any one of claims 1 to 6, characterized in that: The voltage detection circuit comprises: A comparison circuit, wherein the input end of the comparison circuit is used to input the working voltage of the current sensor simulation circuit, and when the working voltage is within a set range, the comparison circuit outputs a high level; A multiplication circuit, wherein one of the input ends of the multiplication circuit is connected to the output end of the comparison circuit, and the other input end of the multiplication circuit is connected to the output end of the bias circuit, and the multiplication circuit performs multiplication operation on its two inputs and then outputs the result.
8. The current sensor simulation circuit according to claim 7, characterized in that: The current sensor simulation circuit also includes: A second DC-DC circuit is connected to the output end of the multiplication circuit and is used for converting the signal output by the multiplication circuit according to the set gain and outputting the signal.
9. The current sensor simulation circuit according to any one of claims 1 to 6, characterized in that: The current sensor simulation circuit also includes: The voltage limiting circuit has an input end connected to the output end of the current conversion circuit and is used to limit the voltage signal output by the current conversion circuit to a set range and output it.
10. A current sensor, comprising a current sensor circuit, characterized in that: The current sensor circuit comprises: A current conversion circuit, which is used to sample the input current signal and convert it into a voltage signal output; A bias circuit, wherein one of the input terminals of the bias circuit is connected to the output terminal of the current conversion circuit, and the other input terminal is input with a bias voltage, and is used to bias the voltage signal output by the current conversion circuit to a bias value before outputting the biased voltage signal; The current sensor circuit is packaged as an integrated component.
