Automatic adjustable resistance analog circuit
Through automatic adjustable resistor analog circuit, high-precision resistor and optical solid-state relays, operational amplifiers and digital-to-analog conversion chips, fast response and high-precision resistance value adjustment are achieved, solving the inability of existing manual adjustable resistors and digital resistor generators. Meet the problem of rapidly changing resistance value requirements.
Patent Information
- Application Number
- CN202323375788.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-12
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2033-12-12
AI Technical Summary
The existing manual adjustable resistors have slow response speed and low accuracy, which cannot meet the fast changing resistance value requirements. The resistance value error of the digital resistor generator is large and cannot meet the usage requirements.
An automatic adjustable resistor analog circuit is designed, using high-precision resistor and optical solid state relay combined with an operational amplifier and a digital-to-analog conversion chip to control the output size of the digital-to-analog converter through commands, changing the voltage across the analog resistor, achieving fast response and high accuracy. Resistance value adjustment.
It realizes rapid response and high-precision adjustment of resistance value, and the output resistance value error is less than 5%, meeting the fast changing resistance value requirements.
Smart Images

Figure CN221977683U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of variable resistors, and in particular to an automatic adjustable resistor simulation circuit. Background Art
[0002] With the development of society, the Internet of Everything has become a symbol of technological development. More and more devices have the ability to perceive the outside world. The devices use sensors to convert physical quantities in nature into electrical signals, and then transmit the electrical signals to the central processing unit for analysis. One of the most commonly used sensors is the resistive sensor, which can be used to detect various mechanical quantities and thermal quantities, such as force, pressure, displacement, strain, speed, acceleration, temperature, humidity, etc. It is often used in automobiles, industrial control and other fields, such as accelerator pedals, volume adjustments, temperature sensors, and pressure gravity detection. In the process of product development, resistance boxes or manually adjustable resistors are often used to generate signals with different resistance values to simulate information such as temperature, pedals, and weight. Among them, the manually adjustable resistance box changes the resistance value by fluctuating the resistance gear. Although it has high accuracy, it has a slow response speed and is prone to errors. Although the digital resistor generator has a fast response speed, the resistance value error is large and cannot meet the use requirements. Utility Model Content
[0003] The purpose of this application is to provide an automatic adjustable resistance simulation circuit to solve the technical problems raised in the above background technology.
[0004] To achieve the above-mentioned purpose, the present application discloses the following technical solutions: an automatic adjustable resistance simulation circuit, comprising a high-precision resistor R1, a high-precision resistor R3, a high-precision resistor R5, an optical solid-state relay U1, an optical solid-state relay U5, an optical solid-state relay U7, an operational amplifier U2A, an operational amplifier U2B, an operational amplifier U4A, an operational amplifier U4B, a digital-to-analog conversion chip U3, and a digital-to-analog conversion chip U6;
[0005] The first terminal R_100 is connected to the positive input electrode of the optical solid-state relay U1 through the current limiting resistor R2, the negative input electrode of the optical solid-state relay U1 is grounded, and the first output terminal of the optical solid-state relay U1 is connected to the input resistance connection terminal RIN+ through the high-precision resistor R1;
[0006] The second end R_1K is connected to the positive input electrode of the optical solid-state relay U5 through the current limiting resistor R4, the negative input electrode of the optical solid-state relay U5 is grounded, and the first output end of the optical solid-state relay U5 is connected to the input resistance connection end RIN+ through the high-precision resistor R3;
[0007] The third terminal R_10K is connected to the positive input electrode of the optical solid-state relay U7 through the current limiting resistor R6, the negative input electrode of the optical solid-state relay U7 is grounded, and the first output terminal of the optical solid-state relay U7 is connected to the input resistance connection terminal RIN+ through the high-precision resistor R5; the second output terminals of the optical solid-state relay U1, the optical solid-state relay U5 and the optical solid-state relay U7 are respectively connected to the output terminal of the operational amplifier U4B;
[0008] The inverting input terminal of the operational amplifier U4B is connected to the output terminal, and the non-inverting input terminal of the operational amplifier U4B is connected to the output terminal of the operational amplifier U2A;
[0009] The positive pole of the power supply of the operational amplifier U2A is connected to a +12V voltage, and the negative pole of the power supply of the operational amplifier U2A is connected to a -12V voltage; the in-phase input terminal of the operational amplifier U2A is grounded, the inverting input terminal of the operational amplifier U2A is connected to the IOUT1 pin of the digital-to-analog conversion chip U3, and the output terminal of the operational amplifier U2A is connected to the RFB pin of the digital-to-analog conversion chip U3;
[0010] The GND pin of the digital-to-analog conversion chip U3 is grounded, the SCLK pin of the digital-to-analog conversion chip U3 is connected to a clock signal, the SDIN of the digital-to-analog conversion chip U3 is connected to a digital input and output signal, the VDD pin of the digital-to-analog conversion chip U3 is connected to a 3.3V voltage, the SYNC pin of the digital-to-analog conversion chip U3 is connected to a synchronization signal, and the VREF pin of the digital-to-analog conversion chip U3 is connected to the output end of the operational amplifier U2B;
[0011] The output end of the operational amplifier U2B is also connected to the IOUT1 pin of the digital-to-analog conversion chip U6, the non-inverting input end of the operational amplifier U2B is grounded, and the inverting input end of the operational amplifier U2B is connected to the RFB pin of the digital-to-analog conversion chip U6;
[0012] The GND pin of the digital-to-analog conversion chip U6 is grounded, the SCLK pin of the digital-to-analog conversion chip U3 is connected to a clock signal, the SDIN of the digital-to-analog conversion chip U3 is connected to a digital input and output signal, the VDD pin of the digital-to-analog conversion chip U3 is connected to a 3.3V voltage, the SYNC pin of the digital-to-analog conversion chip U3 is connected to a synchronization signal, and the VREF pin of the digital-to-analog conversion chip U3 is connected to the output end of the operational amplifier U4A;
[0013] The output end of the operational amplifier U4A is also connected to its inverting input end, the non-inverting input end of the operational amplifier U4A is connected to the input resistance connection end RIN+, the positive power supply of the operational amplifier U4A is connected to a +12V voltage, and the negative power supply of the operational amplifier U4A is connected to a -12V voltage.
[0014] Preferably, the optical solid-state relay U1, the optical solid-state relay U5 and the optical solid-state relay U7 are all of model KAQY214S.
[0015] Preferably, the operational amplifier U2A, the operational amplifier U2B, the operational amplifier U4A and the operational amplifier U4B are all of model OPA2188.
[0016] Preferably, the digital-to-analog conversion chip U3 and the digital-to-analog conversion chip U6 are both AD5450.
[0017] Preferably, the positive electrode of the power supply of the operational amplifier U2A is grounded through a filter capacitor C1; the negative electrode of the power supply of the operational amplifier U2A is grounded through a filter capacitor C4.
[0018] Preferably, the positive electrode of the power supply of the operational amplifier U4A is grounded through a filter capacitor C2, and the negative electrode of the power supply of the operational amplifier U4A is grounded through a filter capacitor C6.
[0019] Preferably, the VDD pin of the digital-to-analog conversion chip U3 is grounded via a filter capacitor C3, and the VDD pin of the digital-to-analog conversion chip U6 is grounded via a filter capacitor C5.
[0020] Beneficial effects: The automatic adjustable resistance analog circuit of the present application is composed of precision operational amplifiers, high-resolution digital-to-analog converters, optical solid-state relays and other devices. It does not require manual adjustment. The output size of the digital-to-analog converter is controlled by instructions to change the voltage size at both ends of the analog resistor, which can generate a resistance value of 100Ω to 100KΩ with an error of less than 5%. The resistance value output by the circuit has a fast response speed and high precision. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0022] Figure 1 A circuit schematic diagram of an automatic adjustable resistance simulation circuit provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The technical solutions in the embodiments of the present application are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0024] In this article, the term "comprising" is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, the elements defined by the sentence "comprising..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0025] A kind of Figure 1 The automatic adjustable resistance simulation circuit shown includes a high-precision resistor R1 with a resistance value of 100Ω, a high-precision resistor R3 with a resistance value of 1KΩ, a high-precision resistor R5 with a resistance value of 10KΩ, an optical solid-state relay U1 with a model number KAQY214S, an optical solid-state relay U5 with a model number KAQY214S, an optical solid-state relay U7 with a model number KAQY214S, an operational amplifier U2A with a model number OPA2188, an operational amplifier U2B with a model number OPA2188, an operational amplifier U4A with a model number OPA2188, an operational amplifier U4B with a model number OPA2188, a digital-to-analog conversion chip U3 with a model number AD5450, and a digital-to-analog conversion chip U6 with a model number AD5450. The high-precision resistor is the reference resistor of the automatic adjustable resistor analog circuit. The output resistance value is amplified based on the reference resistor. The optical solid-state relay plays the role of switching the high-precision resistor. The operational amplifier is used for impedance matching and buffering, reducing the output resistance, increasing the input resistance, and weakening the signal distortion caused by the change of the load of the subsequent circuit. The digital-to-analog conversion chip reduces the input voltage signal and changes the voltage difference across the reference resistor.
[0026] The first end R_100 is connected to the positive input electrode of the optical solid-state relay U1 through a current-limiting resistor R2 with a resistance value of 330Ω, the negative input electrode of the optical solid-state relay U1 is grounded, and the first output end of the optical solid-state relay U1 is connected to the input resistance connection end RIN+ through the high-precision resistor R1. The second end R_1K is connected to the positive input electrode of the optical solid-state relay U5 through a current-limiting resistor R4 with a resistance value of 330Ω, the negative input electrode of the optical solid-state relay U5 is grounded, and the first output end of the optical solid-state relay U5 is connected to the input resistance connection end RIN+ through the high-precision resistor R3. The third terminal R_10K is connected to the positive input terminal of the optical solid-state relay U7 through the current limiting resistor R6 with a resistance value of 330Ω, the negative input terminal of the optical solid-state relay U7 is grounded, and the first output terminal of the optical solid-state relay U7 is connected to the input resistance connection terminal RIN+ through the high-precision resistor R5; the second output terminals of the optical solid-state relay U1, the optical solid-state relay U5 and the optical solid-state relay U7 are respectively connected to the output terminal of the operational amplifier U4B. The current limiting resistors R2, R4 and R6 are the current limiting resistors of the optical solid-state relays, which are used to ensure the normal operation of the corresponding optical solid-state relays.
[0027] The inverting input terminal of the operational amplifier U4B is connected to the output terminal, and the non-inverting input terminal of the operational amplifier U4B is connected to the output terminal of the operational amplifier U2A.
[0028] The positive power supply of the operational amplifier U2A is connected to a +12V voltage, and the negative power supply of the operational amplifier U2A is connected to a -12V voltage, wherein the positive power supply of the operational amplifier U2A is grounded through a filter capacitor C1 with a capacitance value of 0.1uF; the negative power supply of the operational amplifier U2A is grounded through a filter capacitor C4 with a capacitance value of 0.1uF. The filter capacitors C1 and C4 are used to filter the ±12V power supply voltage. The in-phase input terminal of the operational amplifier U2A is grounded, the inverting input terminal of the operational amplifier U2A is connected to the IOUT1 pin of the digital-to-analog conversion chip U3, and the output terminal of the operational amplifier U2A is connected to the RFB pin of the digital-to-analog conversion chip U3.
[0029] The GND pin of the digital-to-analog conversion chip U3 is connected to the ground, the SCLK pin of the digital-to-analog conversion chip U3 is connected to the clock signal, the SDIN of the digital-to-analog conversion chip U3 is connected to the digital input and output signal, and the VDD pin of the digital-to-analog conversion chip U3 is connected to the 3.3V voltage, wherein the VDD pin of the digital-to-analog conversion chip U3 is connected to the ground through a filter capacitor C3 with a capacitance value of 0.1uF, and the filter capacitor C3 is used to filter the 3.3V voltage for power supply voltage. The SYNC pin of the digital-to-analog conversion chip U3 is connected to the synchronization signal, and the VREF pin of the digital-to-analog conversion chip U3 is connected to the output end of the operational amplifier U2B.
[0030] The output end of the operational amplifier U2B is also connected to the IOUT1 pin of the digital-to-analog conversion chip U6, the non-inverting input end of the operational amplifier U2B is grounded, and the inverting input end of the operational amplifier U2B is connected to the RFB pin of the digital-to-analog conversion chip U6.
[0031] The GND pin of the digital-to-analog conversion chip U6 is grounded, the SCLK pin of the digital-to-analog conversion chip U3 is connected to a clock signal, the SDIN of the digital-to-analog conversion chip U3 is connected to a digital input and output signal, and the VDD pin of the digital-to-analog conversion chip U3 is connected to a 3.3V voltage, wherein the VDD pin of the digital-to-analog conversion chip U6 is grounded via a filter capacitor C5 with a capacitance value of 0.1uF, and the filter capacitor C5 is used for power supply voltage filtering of the 3.3V voltage; the SYNC pin of the digital-to-analog conversion chip U3 is connected to a synchronization signal, and the VREF pin of the digital-to-analog conversion chip U3 is connected to the output end of the operational amplifier U4A.
[0032] The output end of the operational amplifier U4A is also connected to its inverting input end, the non-inverting input end of the operational amplifier U4A is connected to the input resistance connection end RIN+, the positive power supply of the operational amplifier U4A is connected to a +12V voltage, and the negative power supply of the operational amplifier U4A is connected to a -12V voltage, wherein the positive power supply of the operational amplifier U4A is grounded through a filter capacitor C2 with a capacitance value of 0.1uF, and the negative power supply of the operational amplifier U4A is grounded through a filter capacitor C6 with a capacitance value of 0.1uF.
[0033] In this embodiment, the basic principle of the automatic adjustable resistance simulation circuit is to control the voltage value between the two ends of the reference resistor, thereby controlling the current flowing through the reference resistor. Through conversion, it can be concluded that the resistance is controlled.
[0034] Define the voltage across the input resistance connection terminal RIN+ and the GND of the optical solid-state relay as U, the resistance value across the two ends as R, the current as I, and the precision resistor as Rs. According to the circuit connection relationship:
[0035] Formula 1: R = U / I;
[0036] Formula 2: I = (UU[U4B-7]) / Rs, U[U4B-7] is the voltage of pin 7 of operational amplifier U4;
[0037] Formula 3: U[U4B-7]=K*U, where K is the gain of the digital-to-analog conversion chips U6 and U3.
[0038] Combining Formula 1, Formula 2 and Formula 3, we can get:
[0039] Formula 3: R=U / (UU[U4B-7]) / Rs=>R=Rs / (1-K), where K<=1.
[0040] Through the above calculation, it can be obtained that the output resistance value R of the circuit is only related to the amplification factor K, and the size of R can be changed by controlling the K value.
[0041] Finally, it should be noted that the above is only a preferred embodiment of the present application and is not intended to limit the present application. Although the present application has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. An automatic adjustable resistance simulation circuit, characterized in that: Including high-precision resistor R1, high-precision resistor R3, high-precision resistor R5, optical solid-state relay U1, optical solid-state relay U5, optical solid-state relay U7, operational amplifier U2A, operational amplifier U2B, operational amplifier U4A, operational amplifier U4B, digital-to-analog conversion chip U3 and digital-to-analog conversion chip U6; The first terminal R_100 is connected to the positive input electrode of the optical solid-state relay U1 through the current limiting resistor R2, the negative input electrode of the optical solid-state relay U1 is grounded, and the first output terminal of the optical solid-state relay U1 is connected to the input resistance connection terminal RIN+ through the high-precision resistor R1; The second end R_1K is connected to the positive input electrode of the optical solid-state relay U5 through the current limiting resistor R4, the negative input electrode of the optical solid-state relay U5 is grounded, and the first output end of the optical solid-state relay U5 is connected to the input resistance connection end RIN+ through the high-precision resistor R3; The third terminal R_10K is connected to the positive input electrode of the optical solid-state relay U7 through the current limiting resistor R6, the negative input electrode of the optical solid-state relay U7 is grounded, and the first output terminal of the optical solid-state relay U7 is connected to the input resistance connection terminal RIN+ through the high-precision resistor R5; the second output terminals of the optical solid-state relay U1, the optical solid-state relay U5 and the optical solid-state relay U7 are respectively connected to the output terminal of the operational amplifier U4B; The inverting input terminal of the operational amplifier U4B is connected to the output terminal, and the non-inverting input terminal of the operational amplifier U4B is connected to the output terminal of the operational amplifier U2A; The positive pole of the power supply of the operational amplifier U2A is connected to a +12V voltage, and the negative pole of the power supply of the operational amplifier U2A is connected to a -12V voltage; the in-phase input terminal of the operational amplifier U2A is grounded, the inverting input terminal of the operational amplifier U2A is connected to the IOUT1 pin of the digital-to-analog conversion chip U3, and the output terminal of the operational amplifier U2A is connected to the RFB pin of the digital-to-analog conversion chip U3; The GND pin of the digital-to-analog conversion chip U3 is grounded, the SCLK pin of the digital-to-analog conversion chip U3 is connected to a clock signal, the SDIN of the digital-to-analog conversion chip U3 is connected to a digital input and output signal, the VDD pin of the digital-to-analog conversion chip U3 is connected to a 3.3V voltage, the SYNC pin of the digital-to-analog conversion chip U3 is connected to a synchronization signal, and the VREF pin of the digital-to-analog conversion chip U3 is connected to the output end of the operational amplifier U2B; The output end of the operational amplifier U2B is also connected to the IOUT1 pin of the digital-to-analog conversion chip U6, the non-inverting input end of the operational amplifier U2B is grounded, and the inverting input end of the operational amplifier U2B is connected to the RFB pin of the digital-to-analog conversion chip U6; The GND pin of the digital-to-analog conversion chip U6 is grounded, the SCLK pin of the digital-to-analog conversion chip U3 is connected to a clock signal, the SDIN of the digital-to-analog conversion chip U3 is connected to a digital input and output signal, the VDD pin of the digital-to-analog conversion chip U3 is connected to a 3.3V voltage, the SYNC pin of the digital-to-analog conversion chip U3 is connected to a synchronization signal, and the VREF pin of the digital-to-analog conversion chip U3 is connected to the output end of the operational amplifier U4A; The output end of the operational amplifier U4A is also connected to its inverting input end, the non-inverting input end of the operational amplifier U4A is connected to the input resistance connection end RIN+, the positive power supply of the operational amplifier U4A is connected to a +12V voltage, and the negative power supply of the operational amplifier U4A is connected to a -12V voltage.
2. The automatic adjustable resistance simulation circuit according to claim 1, characterized in that: The models of the optical solid-state relay U1, the optical solid-state relay U5 and the optical solid-state relay U7 are all KAQY214S.
3. The automatic adjustable resistance simulation circuit according to claim 1, characterized in that: The operational amplifier U2A, the operational amplifier U2B, the operational amplifier U4A and the operational amplifier U4B are all of model OPA2188.
4. The automatic adjustable resistance simulation circuit according to claim 1, characterized in that: The digital-to-analog conversion chip U3 and the digital-to-analog conversion chip U6 are both AD5450.
5. The automatic adjustable resistance simulation circuit according to claim 1, characterized in that: The positive electrode of the power supply of the operational amplifier U2A is grounded through the filter capacitor C1; the negative electrode of the power supply of the operational amplifier U2A is grounded through the filter capacitor C4.
6. The automatic adjustable resistance simulation circuit according to claim 1, characterized in that: The positive electrode of the power supply of the operational amplifier U4A is grounded through the filter capacitor C2, and the negative electrode of the power supply of the operational amplifier U4A is grounded through the filter capacitor C6.
7. The automatic adjustable resistance simulation circuit according to claim 1, characterized in that: The VDD pin of the digital-to-analog conversion chip U3 is grounded through a filter capacitor C3, and the VDD pin of the digital-to-analog conversion chip U6 is grounded through a filter capacitor C5.
