Current calibrating device and method for transmitter loop

By connecting an adjustable voltage source and a conversion module to the transmitter loop, the current signal of the transmitter loop can be adjusted and calibrated, which solves the problem of disconnecting wiring for traditional testing and improves calibration efficiency and safety.

CN118549873APending Publication Date: 2024-08-27CHINA GENERAL NUCLEAR POWER OPERATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410526832.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-29
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Traditional transmitter loop testing requires manual disconnection, which is time-consuming and labor-intensive, resulting in low current calibration efficiency and potential safety hazards.

Method used

Design a current calibration device for the transmitter loop, including an adjustable voltage source, a conversion module and a sampling module. By connecting a current signal with variable size and polarity in the transmitter loop, the signal is given and adjusted. , without disconnecting the original circuit, use the adjustable voltage signal and conversion module to convert the current signal into an adjustable current signal. The sampling module collects the actual current value and calculates the theoretical current value to determine the calibration result.

Benefits of technology

It improves the calibration efficiency, avoids the safety hazards caused by frequent manual disconnection of wiring, realizes the transmitter loop current calibration without disconnecting the wiring, simplifies the operation process, and improves work efficiency and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118549873A
    Figure CN118549873A
Patent Text Reader

Abstract

The invention relates to a current calibrating device and method for a transmitter loop, and the device comprises a first voltage source which is used for providing a voltage signal, and the amplitude and polarity of the voltage signal are adjustable; the conversion module is connected with the first voltage source and is used for converting the voltage signal into a current signal; the current value of the current signal changes along with the amplitude change of the voltage signal, and the polarity of the current signal changes along with the polarity change of the voltage signal; the first end of the transmitter is connected with the output end of the conversion module; and the sampling module is connected with the second end of the transmitter and forms a transmitter loop together with the transmitter, and the sampling module is used for collecting the actual current value of the transmitter loop. The device can improve the current verification efficiency of the transmitter loop.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of channel verification, and in particular to a current verification device and method for a transmitter loop. Background Art

[0002] Transmitters are developed from sensors and are used to convert the physical quantities measured by the sensors into standard electrical signal outputs. They are often used to detect process parameters and transmit the measured values ​​in the form of specific signals for display and adjustment.

[0003] After the transmitter outputs an electrical signal, the signal needs to be connected to the control system through a cable for processing. In this process, due to factors such as cable connectors and lines, there may be faults such as poor connection or reverse connection of wires, which will cause the electrical signal output by the transmitter to be distorted or unable to be transmitted at all. Therefore, it is necessary to test the transmitter circuit in order to find problems in time.

[0004] In the process of testing the transmitter loop, the traditional solution often requires disconnecting the original transmitter loop and then connecting the signal generator in series to the transmitter loop to achieve signal setting and adjustment for loop testing. This method requires manual opening of the original transmitter loop and disconnection of the wiring. Disconnection of the wiring or opening of the signal loop is time-consuming and labor-intensive, often accounting for more than half of the entire workload, resulting in low current verification efficiency. Summary of the invention

[0005] Based on this, it is necessary to provide a current calibration device and method for a transmitter circuit.

[0006] In a first aspect, the present application provides a current calibration device for a transmitter circuit, comprising:

[0007] A first voltage source, used for providing a voltage signal, wherein the amplitude and polarity of the voltage signal are adjustable;

[0008] a conversion module, connected to the first voltage source, and configured to convert the voltage signal into a current signal; the current value of the current signal changes with the amplitude of the voltage signal, and the polarity of the current signal changes with the polarity of the voltage signal;

[0009] A transmitter, a first end of which is connected to an output end of the conversion module;

[0010] The sampling module is connected to the second end of the transmitter and forms a transmitter loop together with the transmitter. The sampling module is used to collect the actual current value of the transmitter loop.

[0011] The current calibration device of the above-mentioned transmitter loop provides a voltage signal with adjustable amplitude and polarity through a first voltage source, and then converts the voltage signal into a current signal through a conversion model. In this way, the current value and polarity of the current signal output by the conversion module are also adjustable. The conversion module is connected to the transmitter loop, and the actual current value of the transmitter loop is collected by the sampling module in the transmitter loop. In this way, by connecting a current signal with variable size and polarity to the transmitter loop, during the current calibration process of the transmitter loop, the signal can be given and adjusted without disconnecting the original loop, thereby meeting the calibration requirements. The present application does not require frequent manual disconnection of the wiring, which can improve the calibration efficiency on the one hand, and avoid the potential safety hazards caused by frequent manual disconnection of the wiring on the other hand.

[0012] In one embodiment, the device also includes: a controller, connected to the first voltage source, for controlling the first voltage source to provide a voltage signal with a first polarity to increase the current value of the transmitter loop when the output current value of the transmitter is less than or equal to a first preset value; and for controlling the first voltage source to provide a voltage signal with a second polarity to reduce the current value of the transmitter loop when the output current value of the transmitter is greater than or equal to a second preset value; the second preset value is greater than the first preset value; the first polarity and the second polarity are different.

[0013] In one embodiment, the first polarity is positive, and the second polarity is negative.

[0014] In one embodiment, the conversion module includes: a first resistor, an amplifying unit, a capacitor and a second resistor; wherein the first input end of the amplifying unit is respectively connected to the first end of the first resistor and the first end of the capacitor, the second end of the first resistor is connected to the first output end of the first voltage source, the second end of the capacitor is respectively connected to the output end of the amplifying unit and the first end of the second resistor; the first end of the second resistor is also connected to the second output end of the first voltage source; the second input end of the amplifying unit is respectively connected to the second end of the second resistor and the first end of the transmitter.

[0015] In one embodiment, the transmitter circuit also includes: a power supply, the positive pole of the power supply is connected to the first end of the transmitter, the negative pole of the power supply is connected to the first end of the sampling module, and the second end of the sampling module is connected to the second end of the transmitter and then grounded.

[0016] In one embodiment, the first voltage source comprises a differential digital-to-analog converter, the differential digital-to-analog converter comprises a register, and the encoded value of the register is related to the amplitude and polarity of the voltage signal.

[0017] In one embodiment, the device further includes: a switch component, which is connected in parallel with the first voltage source; a loop control component, whose input end is connected to the output end of the conversion module, and whose first output end is connected to the transmitter loop; and a second voltage source, whose positive pole is connected to the second output end of the loop control component, and whose negative pole is grounded.

[0018] In a second aspect, the present application provides a current verification method, which is applied to the current verification device of the above-mentioned transmitter circuit, and the method comprises:

[0019] Controlling the first voltage source to provide a voltage signal;

[0020] Acquiring an actual current value flowing through the transmitter loop based on the sampling module;

[0021] Determining a theoretical current value of the transmitter loop according to the amplitude and polarity of the voltage signal and the output current value of the transmitter;

[0022] Based on the actual current value and the theoretical current value, a current verification result of the transmitter loop is determined.

[0023] In one embodiment, the voltage signal provided by the first voltage source is any preset voltage signal within a preset voltage range, and the current verification result of the transmitter loop is determined based on the actual current value and the theoretical current value, including:

[0024] Based on the actual current value and the theoretical current value obtained when the voltage signal is each preset voltage signal, a plurality of current attenuation values ​​are calculated;

[0025] A current verification result of the transmitter loop is determined based on the multiple current attenuation values.

[0026] In one embodiment, the step of determining the preset voltage range includes:

[0027] Obtaining the measuring range of the transmitter circuit;

[0028] Determining a current range of the current signal based on the measuring range and the output current value of the transmitter;

[0029] A preset voltage range is determined according to the current range. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0031] FIG1 is a schematic structural diagram of a current detection device for a transmitter circuit according to an embodiment;

[0032] Figure 2 is a schematic diagram of the structure of a conversion module in one embodiment;

[0033] Figure 3 It is a schematic diagram of the principle of increasing the loop current of the transmitter in one embodiment;

[0034] Figure 4 It is a schematic diagram of the principle of reducing the loop current of the transmitter in one embodiment;

[0035] Figure 5 is a timing diagram of a differential digital-to-analog converter in one embodiment;

[0036] Figure 6 A schematic diagram of a peripheral circuit of a differential digital-to-analog converter in one embodiment;

[0037] Figure 7 A schematic structural diagram of a current detection device for a transmitter circuit according to another embodiment;

[0038] Figure 8 A schematic diagram of the structure of a current detection device for a transmitter circuit according to another embodiment;

[0039] Fig. 9 A schematic diagram of the structure of a verification circuit in one embodiment;

[0040] Fig.10 FIG. 4 is a flow chart of a current detection method in an embodiment.

[0041] Description of reference numerals:

[0042] 10-current verification device of transmitter loop, 11-first voltage source, 12-conversion module, 13-transmitter, 14-sampling module, 15-switch component, 16-loop control component, 17-second voltage source. DETAILED DESCRIPTION

[0043] In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. Embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.

[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0045] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first resistor may be referred to as a second resistor, and both the first resistor and the second resistor are resistors, but they are not the same resistor.

[0046] It can be understood that the “connection” in the following embodiments should be understood as “electrical connection”, “communication connection”, etc. if the connected circuits, modules, units, etc. have electrical signals or data transmission between each other.

[0047] When used herein, the singular forms "a", "an", and "said / the" may also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" etc. specify the presence of stated features, wholes, steps, operations, components, parts or combinations thereof, but do not exclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts or combinations thereof.

[0048] In one embodiment, as shown in FIG. 1 , a current calibration device 10 for a transmitter circuit is provided, comprising: a first voltage source 11 , a conversion module 12 , a transmitter 13 and a sampling module 14 .

[0049] Among them, the first voltage source 11 is used to provide a voltage signal, the amplitude and polarity of the voltage signal are adjustable. In some embodiments, the first voltage source 11 can specifically be a differential digital-to-analog converter, which provides a reference voltage for the conversion module 12, and the conversion module 12 then outputs a current signal after proportional conversion, thereby realizing the increase or decrease of the current value of the transmitter loop.

[0050] The conversion module 12 is connected to the first voltage source 11, and is used to convert the voltage signal into a current signal; the current value of the current signal changes with the amplitude of the voltage signal, and the polarity of the current signal changes with the polarity of the voltage signal. The conversion module 12 can specifically be a voltage-current conversion module (VI conversion module), which is used to convert the voltage signal into a current signal according to a preset ratio. In the present application, the polarity of the current signal output by the conversion module 12 is related to the polarity of the voltage signal. For example, when the voltage signal is positive, the current signal is also positive, or when the voltage signal is negative, the current signal is also negative.

[0051] In some embodiments, the output voltage of the conversion module 12 is always positive, so that the wiring direction of the conversion module connected to the transmitter loop can be guaranteed to remain unchanged, and the current of the transmitter loop can be regulated by only changing the current polarity.

[0052] A first end of the transmitter 13 is connected to an output end of the conversion module 12 to receive a current signal output by the conversion module 12 .

[0053] The sampling module 14 is connected to the second end of the transmitter 13, and together with the transmitter 13, forms a transmitter loop. The sampling module 14 is used to collect the actual current value of the transmitter loop, and can be specifically used to collect the actual current value of the transmitter loop at a remote end. The sampling module 14 can be specifically a sampling resistor, which detects the voltage value of the sampling circuit. By using Ohm's law, the detected voltage value and the resistance value of the sampling resistor can be used to calculate the current value flowing through the sampling resistor, and this current value can be considered as the actual current value of the transmitter loop.

[0054] It can be understood that in a detection process, the amplitude and polarity of the voltage signal provided by the first voltage source 11 are known, and the conversion ratio of the conversion module 12 is also known, so the polarity and current value of the current signal output by the conversion module 12 can also be calculated. The output current value of the transmitter 13 is related to the physical signal measured by it, and the physical signal is generally stable, so the output current value of the transmitter 13 can also be regarded as constant. Therefore, based on the current signal output by the conversion module 12 and the output current value of the transmitter 13, the theoretical current value of the transmitter loop can be obtained. This application determines whether there is current attenuation in the loop and the specific attenuation situation by comparing the actual current value and the theoretical current value of the transmitter loop. Among them, the attenuation situation can be measured by the current attenuation amount or the current attenuation rate. For example, the theoretical current value of the transmitter loop can be subtracted from the actual current value to obtain the current attenuation amount, and then the current attenuation amount is divided by the theoretical current value to obtain the current attenuation rate of the transmitter loop.

[0055] It should be noted that, since the output current value of the transmitter 13 can usually be regarded as constant, in the circuit calibration, it is often necessary to determine the error of the circuit under different current conditions, such as the error of the transmitter circuit in the present application under the full range, that is, the attenuation of the transmitter circuit for each current of 0~24mA. Therefore, when the output current value of the transmitter 13 is small, we need to increase the current of the transmitter circuit to measure the error when the current is large; when the output current value of the transmitter 13 is large, we need to reduce the current of the transmitter circuit to measure the error when the current is small.

[0056] In the traditional way, in order to realize the current verification of the transmitter loop, the transmitter loop is usually manually disconnected. When the current needs to be increased, the current signal of the first polarity (such as the positive pole) is connected. When the current needs to be reduced, the circuit needs to be disassembled and the current signal of the second polarity (such as the negative pole) is reconnected. This method requires manual opening of the original transmitter loop and disconnection of the wiring. Disconnection of the wiring or opening of the signal loop is time-consuming and labor-intensive, often accounting for more than half of the entire workload, resulting in low efficiency of current verification. In addition, if there is human error or negligence, it will bring safety hazards to the stable operation of the process system.

[0057] The current calibration device of the transmitter loop provided in the present application provides a voltage signal with adjustable amplitude and polarity through a first voltage source 11, and then converts the voltage signal into a current signal through a conversion model. In this way, the current value and polarity of the current signal output by the conversion module 12 are also adjustable. The conversion module 12 is connected to the transmitter loop, and the actual current value of the transmitter loop is collected by the sampling module 14 in the transmitter loop. In this way, by connecting a current signal with variable size and polarity to the transmitter loop, during the current calibration process of the transmitter loop, the signal can be given and adjusted without disconnecting the original loop, thereby meeting the calibration requirements. The present application does not require frequent manual disconnection of the wiring, which can improve the calibration efficiency on the one hand, and on the other hand, can avoid the potential safety hazards caused by frequent manual disconnection of the wiring.

[0058] In some embodiments, Figure 2 As shown, the conversion module 12 includes: a first resistor R1, an amplifying unit, a capacitor C1 and a second resistor R2; wherein the first input end of the amplifying unit is respectively connected to the first end of the first resistor R1 and the first end of the capacitor C1, the second end of the first resistor R1 is connected to the first output end of the first voltage source 11, and the second end of the capacitor C1 is respectively connected to the output end of the amplifying unit and the first end of the second resistor R2; the first end of the second resistor R2 is also connected to the second output end of the first voltage source 11; the second input end of the amplifying unit is respectively connected to the second end of the second resistor R2 and the first end of the transmitter 13.

[0059] Specifically, the amplification unit can be implemented by an operational amplifier, which is referred to as an op amp. From the virtual disconnection of the input terminal of the operational amplifier, it can be deduced that the current flowing through the second resistor R2 is I OUT , V + +R2I OUT =V OUT ; In addition, no current flows through the first resistor R1, so the voltage drop across R1 is 0, that is, V - =V OUT -V IN In summary, there are V - =V + +R2I OUT -V IN .

[0060] Due to the virtual short of the operational amplifier, V - =V + , substituting into the above formula, we can get the VI conversion formula:

[0061]

[0062] It can be seen that when V IN When the input polarity is negative at the top and positive at the bottom, I OUT The current output direction is from bottom to top; on the contrary, when V IN When the input polarity is positive at the top and negative at the bottom, I OUT The output direction of the current is from top to bottom. The output characteristic of the conversion module 12 is that the voltage is always positive, and the current direction can be positive or negative.

[0063] In the above embodiment, the voltage signal provided by the first voltage source 11 is converted by the conversion module 12, and an electrical signal with a constant positive voltage direction and a positive or negative current direction can be output. In this way, the conversion module 12 is connected to the transmitter loop, and the total current of the transmitter loop can be increased or decreased without changing the wiring direction.

[0064] In some embodiments, the transmitter circuit further includes: a power supply, the positive electrode of the power supply is connected to the first end of the transmitter 13, the negative electrode of the power supply is connected to the first end of the sampling module 14, and the second end of the sampling module 14 is connected to the second end of the transmitter 13 and then grounded. The power supply can be a DC voltage source, for example, it can provide a constant +24V voltage.

[0065] In the above embodiments, the power supply provides voltage to the transmitter circuit, which can ensure the normal operation of the transmitter circuit.

[0066] In some embodiments, the device also includes: a controller, connected to the first voltage source 11, and used to control the first voltage source 11 to provide a voltage signal with a first polarity to increase the current value of the transmitter loop when the output current value of the transmitter 13 is less than or equal to a first preset value; when the output current value of the transmitter 13 is greater than or equal to a second preset value, control the first voltage source 11 to provide a voltage signal with a second polarity to reduce the current value of the transmitter loop; the second preset value is greater than the first preset value; the first polarity and the second polarity are different.

[0067] The controller is connected to the first voltage source 11 , which may be a wired connection or a wireless connection, which is not limited in the present embodiment. In some other embodiments, the controller may also be connected to the transmitter 13 .

[0068] When the output current value of the transmitter 13 is less than or equal to the first preset value, the controller can control the first voltage source 11 to provide a voltage signal with a first polarity (such as positive pole), so that the conversion module 12 outputs a current signal with a first polarity, thereby increasing the current value of the transmitter loop.

[0069] For example, please refer to Figure 3 , Figure 3 FIG. 1 is a schematic diagram of the principle of increasing the current in the transmitter loop in one embodiment. When the output current value of the transmitter 13 is equal to the first preset value (the first preset value is, for example, 4 mA), the current signal I output by the conversion module 12 OUT The direction of connecting to the transmitter loop is as follows Figure 3 As shown. Among them, the transmitter 13 can be Figure 3 The current source I on the left T (I T =4mA), powered by a DC voltage of +24V, R S It is a sampling resistor used to measure the total current of the loop at the remote end, that is, the actual current value of the transmitter loop. Figure 3 The polarity of the current signal connected in the transmitter can be known. At this time, the theoretical current value of the transmitter circuit is I ALL =I T +I OUT , the loop current can be increased. In an exemplary embodiment, R S The resistance value is 315Ω.

[0070] When the output current value of the transmitter 13 is greater than or equal to the second preset value, the controller can control the first voltage source 11 to provide a voltage signal with a second polarity (such as a negative pole), so that the conversion module 12 outputs a current signal with a second polarity, thereby reducing the current value of the transmitter loop.

[0071] For example, please refer to Figure 4 , Figure 4 Schematic diagram of the principle of reducing the transmitter loop current in one embodiment. When the output current value of the transmitter 13 is equal to the second preset value (the first preset value is, for example, 20mA), the current signal I output by the conversion module 12 OUT The direction of connecting to the transmitter loop is as follows Figure 4 As shown. Among them, the transmitter 13 can be Figure 4 The current source I on the left T (I T =20mA), powered by a DC voltage of +24V, R S It is a sampling resistor used to measure the total current of the loop at the remote end, that is, the actual current value of the transmitter loop. Figure 4 The polarity of the current signal connected in the transmitter can be known. At this time, the theoretical current value of the transmitter circuit is I ALL =I T -I OUT , the loop current can be reduced. In an exemplary embodiment, R S The resistance value is 315Ω.

[0072] In the above embodiment, when the output current of the transmitter 13 is small, the controller controls the first voltage source 11 to output a positive voltage signal, so that the conversion module 12 outputs a positive current signal, thereby increasing the current of the transmitter loop; when the output current of the transmitter 13 is large, the controller controls the first voltage source 11 to output a negative voltage signal, so that the conversion module 12 outputs a negative current signal, thereby reducing the current of the transmitter loop. In this way, the current size in the transmitter loop can be adjusted without disassembling the transmitter loop.

[0073] In some embodiments, the first voltage source 11 includes a differential digital-to-analog converter, which includes a register, and the encoding value of the register is related to the amplitude and polarity of the voltage signal. That is, the amplitude and polarity of the voltage signal can be adjusted by changing the encoding value of the register in the differential digital-to-analog converter.

[0074] For example, in order to provide a voltage signal, the voltage source may be a digital-to-analog converter of the LTC1666 model, which is a 50Msps, 12-bit parallel DAC with a supply voltage of ±5V.

[0075] The following will refer to Figure 5 and Figure 6 Introduce the LTC1666 digital-to-analog converter:

[0076] Figure 5 is a timing diagram of a differential digital-to-analog converter in one embodiment, Figure 6The following is a schematic diagram of the peripheral circuit of a differential digital-to-analog converter in an embodiment. The clock input (pin 26) and data bit input (pins 1 to 10, 28, and 27) of LTC1666 are used to control the polarity of the voltage signal. After the falling edge of the clock arrives, the level of the input data bit input is changed, and at least tDS needs to be maintained to ensure signal stability. LTC1666 will read the input DAC data after the next rising edge of the clock arrives, and the output complementary current will change after tPD, which will cause the output voltage signal to change.

[0077] Now we need to determine the full scale current (Full Scale Current) I OUTFS I OUTFS The rated value is 10mA, which can be adjusted down to 1mA. The calculation formula is as follows:

[0078]

[0079] For example, when R SET =2kΩ, V REF When connected to the internal reference voltage REFOUT, V REF =2.5V:

[0080]

[0081] The LTC1666 has two pairs of complementary outputs. OUTA and I OUTB , the DAC transfer function is given by:

[0082] ;

[0083] Add load resistors R at the two current output ends. LOAD , the differential output current can be converted to a differential output voltage:

[0084] ;

[0085] The differential voltage is:

[0086]

[0087] The following table shows the ideal output / input current and error relationship for different DAC code values ​​(I OUTFS =10mA, R LOAD =500Ω, R2=200Ω).

[0088]

[0089] Table 1 DAC code and VI conversion output current and error

[0090] It can be seen that the relative error range of the output current is within one thousandth.

[0091] In this way, the present application can implement the adjustment of the amplitude and polarity of the voltage signal by executing an external program to change the encoding value of the register inside the differential digital-to-analog converter through the controller.

[0092] by Figure 7 Taking the current calibration device of the transmitter loop as an example, after selecting the differential digital-to-analog converter, simulation is performed based on the characteristics of the differential digital-to-analog converter to obtain the output voltage of the operational amplifier in the conversion module (in terms of R S =315Ω, R2=200Ω as an example for simulation).

[0093]

[0094] Table 2 The corresponding op amp output voltage and transmitter loop current when the conversion module outputs different currents

[0095] According to the above simulation results, the output voltage of op amp U1 needs to be greater than V OUT The maximum value of the output current needs to be greater than 24mA. Select the OPA454 operational amplifier, which has a wide supply voltage range of ±50V and a high output drive current I O >50mA, which meets the needs of this circuit.

[0096]

[0097] Table 3 Device selection in VI conversion module

[0098] After completing the selection of each component in the conversion module 12, the current calibration device of the above-mentioned transmitter loop is calibrated to verify whether it is reasonable.

[0099] In one embodiment, reference Figure 8 The device further includes: a switch component 15, a loop control component 16 and a second voltage source 17. The switch component 15 can be a single-pole single-way switch connected in parallel with the first voltage source 11. In the current verification stage, the switch component 15 is disconnected to connect the first voltage source 11; in the verification stage, the switch component 15 is closed to short-circuit the first voltage source 11.

[0100] The loop control component 16 has an input end connected to the output end of the conversion module 12, and a first output end of the loop control component 16 is connected to the transmitter loop. The positive electrode of the second voltage source 17 is connected to the second output end of the loop control component 16, and the negative electrode of the second voltage source 17 is grounded.

[0101] The loop control component 16 can specifically be a group of single-pole multi-way switches. In the current verification stage, the first output terminal is disconnected and the second output terminal is connected to realize the connection between the conversion module 12 and the transmitter loop; in the verification stage, the first output terminal is disconnected and the second output terminal is connected to connect the conversion module 12 to the second voltage source 17.

[0102] In this way, the following can be obtained in the verification phase: Fig. 9 In order to verify the effectiveness of this solution, Fig. 9 The output resistance in the circuit diagram shown is deduced to determine whether the output resistance meets the general working conditions requirements.

[0103] according to Fig. 9 From the circuit diagram shown:

[0104]

[0105] Ideally I + =0,V OUT =V - =V + =V n , so there is I n =0, R o =∞.

[0106] Now consider the common-mode gain A of op amp U1. VC Sum and differential mode amplification factor A VD ,have:

[0107]

[0108] Let V - =V OUT , we can find:

[0109]

[0110] Bring in I n The expression of can be obtained:

[0111]

[0112] The output resistance is:

[0113]

[0114] The common mode rejection ratio of OPA454 under standard working conditions is 82dB, R2 is 200Ω, and R o =2.517MΩ, it can be seen that the output resistance is quite large, which meets the requirements of general working conditions.

[0115] Compared with the traditional channel inspection, which requires disconnecting the original circuit and then connecting the signal generator to realize the given and adjustment of the signal, the current calibration device of the transmitter circuit provided by the present application does not need to disconnect the original circuit, and can directly realize the given and adjustment of the signal based on the original circuit, which greatly reduces the time of channel inspection and improves work efficiency; compared with the solution of using high-precision D / A to generate a given current, the present device can adopt the technical route of VI conversion circuit based on 12-bit D / A, which reduces the cost of devices; the present device can realize the dual-quadrant output of the current signal, and the output voltage is always positive. Compared with the solution of using a relay to switch the output direction, the circuit topology is simpler, and the power supply voltage requirement is low (±5V), which is safer.

[0116] In some embodiments, see Fig.10 The present application provides a current verification method, which is applied to the current verification device of the transmitter circuit mentioned in the above embodiment, and the method comprises:

[0117] Step 1002: Control a first voltage source to provide a voltage signal.

[0118] Step 1004 , obtaining the actual current value flowing through the transmitter loop based on the sampling module.

[0119] The sampling module 14 may be a sampling resistor. After measuring the voltage value of the sampling resistor, the voltage value is divided by the resistance value of the sampling resistor according to Ohm's law to obtain the actual current value flowing through the transmitter circuit.

[0120] Step 1006, determining the theoretical current value of the transmitter loop according to the amplitude and polarity of the voltage signal and the output current value of the transmitter.

[0121] Since the amplitude and polarity of the voltage signal provided by the first voltage source 11 are known, the magnitude and polarity of the current signal can be calculated by the conversion formula of the conversion module 12. According to the polarity of the current signal, it can be determined whether the current signal is used to increase the current of the transmitter loop or to reduce the current of the transmitter loop. Therefore, according to the output current value of the transmitter 13, the magnitude and polarity of the current signal, the theoretical current value of the transmitter loop can be calculated.

[0122] Step 1008, determining the current verification result of the transmitter loop based on the actual current value and the theoretical current value.

[0123] The controller can determine the current verification result of the transmitter circuit according to the difference between the actual current value and the theoretical current value, such as calculating the difference, ratio or proportion.

[0124] The above-mentioned current verification method provides a voltage signal with adjustable amplitude and polarity through the first voltage source 11, and then converts the voltage signal into a current signal through the conversion model. In this way, the current value and polarity of the current signal output by the conversion module 12 are also adjustable. The conversion module 12 is connected to the transmitter loop, and the actual current value of the transmitter loop is collected through the sampling module 14 in the transmitter loop. According to the amplitude and polarity of the voltage signal and the output current value of the transmitter 13, the theoretical current value of the transmitter loop is determined, so that the current verification result of the transmitter loop can be quickly and accurately determined based on the actual current value and the theoretical current value.

[0125] In some embodiments, the voltage signal provided by the first voltage source 11 is any preset voltage signal within a preset voltage range, and the current verification result of the transmitter loop is determined based on the actual current value and the theoretical current value, including: calculating multiple current attenuation values ​​based on the actual current value and the theoretical current value obtained when the voltage signal is each preset voltage signal; determining the current verification result of the transmitter loop based on the multiple current attenuation values.

[0126] The controller can control the first voltage source 11 to sequentially provide a preset voltage signal according to the preset voltage signal range, and obtain the actual current value of the transmitter loop through sampling by the sampling module 14. In this way, for each preset voltage signal, a set of theoretical current values ​​and actual current values ​​can be obtained. For each set of theoretical current values ​​and actual current values, the controller can calculate the difference between the two, and determine the current attenuation value based on the difference. Among them, the difference between the theoretical current value and the actual current value can be, for example, a difference, a ratio, or a proportion. Then, based on the difference between each set of theoretical current values ​​and actual current values, the current verification result is determined.

[0127] In some embodiments, if the difference between each set of theoretical current values ​​and actual current values ​​is within a preset difference range, the current verification result is determined to have passed the verification; otherwise, the current verification result is determined to have failed the verification.

[0128] In the above embodiment, the current verification result of the transmitter loop can be accurately determined by the difference between multiple sets of theoretical current values ​​and actual current values.

[0129] In some embodiments, the step of determining the preset voltage range includes: obtaining the measuring range of the transmitter loop; determining the current range of the current signal based on the measuring range and the output current value of the transmitter; and determining the preset voltage range according to the current range.

[0130] In practical applications, in the current calibration of the transmission circuit, it is necessary to ensure the error of the circuit under the full range, that is, it is necessary to control the value range of the theoretical current value to the range of the transmitter circuit. Therefore, when the theoretical current value is any value within the range, the controller can determine the value of the current signal in a reverse manner, so as to obtain the current signal range. Then, based on the conversion formula provided by the conversion module 12, the voltage signal range is determined based on the current signal range.

[0131] In the above embodiment, the preset voltage signal range is determined by reverse deduction through the measuring range of the transmitter circuit, and then a voltage signal is selected from the preset voltage signal range, and the first voltage source is controlled to output the voltage signal, thereby realizing the current verification of the transmitter circuit.

[0132] In the description of this specification, the description with reference to the terms "some embodiments", "other embodiments", "ideal embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example.

[0133] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0134] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A current calibration device for a transmitter circuit, characterized in that: include: A first voltage source, used for providing a voltage signal, wherein the amplitude and polarity of the voltage signal are adjustable; a conversion module, connected to the first voltage source, and configured to convert the voltage signal into a current signal; the current value of the current signal changes with the amplitude of the voltage signal, and the polarity of the current signal changes with the polarity of the voltage signal; A transmitter, a first end of the transmitter is connected to an output end of the conversion module; The sampling module is connected to the second end of the transmitter and forms a transmitter loop together with the transmitter. The sampling module is used to collect the actual current value of the transmitter loop.

2. The device according to claim 1, characterized in that The device also includes: A controller, connected to the first voltage source, is used to control the first voltage source to provide a voltage signal with a first polarity to increase the current value of the transmitter loop when the output current value of the transmitter is less than or equal to a first preset value; and to control the first voltage source to provide a voltage signal with a second polarity to reduce the current value of the transmitter loop when the output current value of the transmitter is greater than or equal to a second preset value; the second preset value is greater than the first preset value; the first polarity and the second polarity are different.

3. The device according to claim 2, characterized in that The first polarity is positive, and the second polarity is negative.

4. The device according to claim 1, characterized in that The conversion module includes: a first resistor, an amplification unit, a capacitor, and a second resistor; wherein, The first input end of the amplifying unit is connected to the first end of the first resistor and the first end of the capacitor respectively, the second end of the first resistor is connected to the first output end of the first voltage source, the second end of the capacitor is connected to the output end of the amplifying unit and the first end of the second resistor respectively; the first end of the second resistor is also connected to the second output end of the first voltage source; The second input end of the amplifying unit is connected to the second end of the second resistor and the first end of the transmitter respectively.

5. The device according to claim 1, characterized in that The transmitter circuit also includes: A power supply, wherein the positive pole of the power supply is connected to the first end of the transmitter, the negative pole of the power supply is connected to the first end of the sampling module, and the second end of the sampling module is connected to the second end of the transmitter and then grounded.

6. The device according to claim 1, characterized in that The first voltage source includes a differential digital-to-analog converter, the differential digital-to-analog converter includes a register, and the encoded value of the register is related to the amplitude and polarity of the voltage signal.

7. The device according to claim 1, characterized in that The device also includes: a switch component, the switch component being connected in parallel with the first voltage source; A loop control component, wherein an input end of the loop control component is connected to an output end of the conversion module, and a first output end of the loop control component is connected to the transmitter loop; A second voltage source, wherein a positive electrode of the second voltage source is connected to the second output terminal of the loop control component, and a negative electrode of the second voltage source is grounded.

8. A current detection method, characterized in that: A current verification device applied to a transmitter circuit according to any one of claims 1 to 7, the method comprising: Controlling the first voltage source to provide a voltage signal; Acquiring an actual current value flowing through the transmitter loop based on the sampling module; Determining a theoretical current value of the transmitter loop according to the amplitude and polarity of the voltage signal and the output current value of the transmitter; Based on the actual current value and the theoretical current value, a current verification result of the transmitter loop is determined.

9. The method according to claim 8, characterized in that The voltage signal provided by the first voltage source is any preset voltage signal within a preset voltage range, and the current verification result of the transmitter loop is determined based on the actual current value and the theoretical current value, including: Based on the actual current value and the theoretical current value obtained when the voltage signal is each preset voltage signal, a plurality of current attenuation values ​​are calculated; A current verification result of the transmitter loop is determined based on the multiple current attenuation values.

10. The method according to claim 9, characterized in that The step of determining the preset voltage range includes: Obtaining the measuring range of the transmitter circuit; Determining a current range of the current signal based on the measuring range and the output current value of the transmitter; A preset voltage range is determined according to the current range.