CN217112681U - Ammeter circuit compensation module - Google Patents
Ammeter circuit compensation module Download PDFInfo
- Publication number
- CN217112681U CN217112681U CN202123192630.8U CN202123192630U CN217112681U CN 217112681 U CN217112681 U CN 217112681U CN 202123192630 U CN202123192630 U CN 202123192630U CN 217112681 U CN217112681 U CN 217112681U
- Authority
- CN
- China
- Prior art keywords
- processing module
- module
- temperature
- coil
- chip
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The utility model relates to an ampere meter circuit compensation module, including chip mainboard, output compensation circuit, response module, singlechip processing module, sampling module, the response module contains a circular magnetic core that has a breach, the magnetic core surface is around there being the coil, the coil is equipped with coil interface one and coil interface two, coil interface one with coil interface two is connected to respectively the chip mainboard, sampling module contain a temperature sensitive resistance and a divider resistance, another termination singlechip processing module of temperature sensitive resistance one end ground connection, divider resistance one end connected power, its other end is connected singlechip processing module. The utility model discloses external communication interface is connected to singlechip processing module with external communication circuit and can read the temperature value and write in compensation data, and singlechip processing module writes in the digital signal compensation value under each temperature in singlechip processing module's EEPROM through the analysis.
Description
Technical Field
The utility model relates to an ampere meter sensor makes technical field, concretely relates to ampere meter circuit compensation module.
Background
The ammeter is along with the change of ambient temperature in using, and the measuring result of its sensor can receive the influence of different degree, and this just causes the difficulty to the research and development and the application of some high accuracy, high stability's sensor, and especially when the sensor is used as the measurement component and uses in the direct current electric energy meter, the operating temperature requirement of accepting the electric energy meter-40 ℃ to 85 ℃, the temperature interval span is great, and the temperature rise or fall leads to the change of sensor output can surpass the requirement of electric energy meter measurement accuracy. On the other hand, the zero output of the sensor is also an important factor influencing the accuracy of the sensor;
the current sensor calibration mode mostly adopts a coarse adjustment mode and a fine adjustment mode of two potentiometers, and the mode is limited by the precision of the potentiometers, has insufficient compensation precision and is not suitable for long-time use; the other mode is that when the sensor components are selected, the components with better temperature coefficients are selected more, the influence of temperature on the test result is reduced from the source aspect, the effect is obvious, but the cost of the sensor is greatly increased, and the sensor is not suitable for batch application.
Disclosure of Invention
In order to overcome the not enough of prior art, the utility model provides an ampere meter circuit compensation module adopts single chip microcomputer control compensating circuit, can carry out the compensation when to zero point output, calibrates the output under the different temperatures.
The technical scheme of the utility model is that: an ammeter circuit compensation module comprises a sampling module, a chip mainboard, an output compensation circuit, an induction module and a single chip microcomputer processing module, wherein the induction module comprises a circular magnetic core with a gap, a coil is wound on the surface of the magnetic core, the coil is provided with a first coil interface and a second coil interface, the first coil interface and the second coil interface are respectively connected to the chip mainboard, a square magnetic sensor with two output ports is placed at the gap, and the magnetic sensor is connected with the two ends of an operational amplifier through the output ports; the sampling module comprises a temperature-sensitive resistor and a divider resistor, one end of the temperature-sensitive resistor is grounded, the other end of the temperature-sensitive resistor is connected with the single-chip microcomputer processing module, one end of the divider resistor is connected with a power supply, and the other end of the divider resistor is connected with the single-chip microcomputer processing module; the chip mainboard is connected to the single chip microcomputer processing module through a signal wire, the single chip microcomputer processing module is provided with two interfaces, the interfaces are respectively connected with a power supply and a ground, and the single chip microcomputer processing module further comprises a serial port and two external communication interfaces; the single chip processing module is connected with an external device through two external communication interfaces, the single chip processing module is connected with a digital potentiometer through a signal line, the communication protocol of the single chip processing module and the digital potentiometer is I2C protocol, a protocol variable and a temperature variable are arranged in the I2C protocol, a chip mainboard is provided with a temperature-sensitive resistor, and the temperature and the amplitude sensed by the temperature-sensitive resistor are in calibration function communication with the single chip processing module through a UART communication mode;
the output compensation circuit comprises an operational amplifier, a first resistor and a second resistor, wherein the operational amplifier is provided with a reverse input end, a same-direction input end and an output port, the reverse input end and the same-direction input end are sequentially connected with two internal ports of the magnetic sensor through the first resistor and the second resistor respectively, the output port is connected with the chip mainboard, and the output end of the magnetic sensor connected with the same-direction input end is connected with the single chip microcomputer processing module through the chip mainboard;
preferably, the single chip microcomputer processing module adopts an MS83F0802B chip, and is provided with an Eeprom chip and an RAM chip;
preferably, the temperature-sensitive resistor adopts NTC3470K, and the voltage-dividing resistor adopts MCP 4017;
the utility model discloses a UART communication mode communicates with the outside, and external equipment operates the next machine through taking place different instructions. Serial port communication setting: the baud rate is set to 9600bps, the even parity bit is set, and the stop bit is set to 1.
The utility model has the advantages that:
1) the utility model provides the working frequency and other necessary working conditions for the singlechip processing module through the chip mainboard;
2) the external communication interface of the utility model can be connected with a computer serial port, and the compensation values at different temperatures are written into the EEPROM of the singlechip processing module by using a computer, so as to achieve the purposes of power-off preservation and work when power is on;
3) the external communication interface connects the external communication circuit to the singlechip processing module, can read the temperature value and write in the compensation data;
4) the singlechip processing module of the utility model carries out temperature compensation and zero compensation to the sensor by analyzing and writing digital signal compensation values under various temperatures in the EEPROM of the singlechip processing module;
description of the drawings:
FIG. 1 is a schematic view of the main structure of the present invention;
FIG. 2 is a functional diagram of data processing of a single-chip microcomputer processing module;
in the figure, 1, coil; 2. a magnetic core; 3. a magnetic sensor; 4. a first resistor; 5. a second resistor; 6. an operational amplifier; 7. a temperature-sensitive resistor; 8. a voltage dividing resistor; 9. a chip main board; 10. a singlechip processing module; 11. and a second external communication interface. 12. A first coil interface; 13. an output interface of the operational amplifier; 14. a second coil interface; 15. connecting a power supply interface; 16. and a first external communication interface.
The specific implementation mode is as follows:
as shown in fig. 1-2, the related hardware structure includes an induction module, a single-chip processing module 10, a sampling module, a chip motherboard 9, and an output compensation circuit. The induction module contains a circular magnetic core 2 that has a breach, 2 surperficial coiling coils 1 of magnetic core, coil 3 be equipped with coil interface one 12 and coil interface two 14, the coil interface one 12 that is tied and coil interface two 14 are connected to chip mainboard 9, receive the feedback signal of chip mainboard as electromagnetic induction after 3 both ends of coil are drawn forth notch department place a square magnetic sensor 3 that just has two delivery outlets, magnetic sensor 3 pass through the delivery outlet with operational amplifier 6 link to each other. A current-carrying wire penetrates through the magnetic core 2 and generates a magnetic field at the notch of the magnetic core 2, the magnetic sensor 3 converts a magnetic field signal into a pair of differential signals, and the differential signals are led out through two output ends of the magnetic sensor, and supposing that an output voltage value V1 of the magnetic sensor connected with a reverse input port and an output voltage value V2 connected with a same-direction input port in the graph 1 are respectively connected to an input end of an operational amplifier 6 through a first current-reducing resistor 4 and a second resistor 5; in practical situations, due to manufacturing processes and technologies, the differential output of the magnetic sensor 3 is not equal, and the difference between different products is large, and in combination with the change of temperature, the magnetic sensor 3 outputs an error result under the condition of no magnetic field or high and low temperature operation, which requires directional compensation of the output of the magnetic sensor 3.
The sampling module comprises a temperature-sensitive resistor 7 and a divider resistor 8, one end of the temperature-sensitive resistor 7 is connected with a power interface 15, one end of the divider resistor 8 is grounded, the other end of the divider resistor is connected with the single chip microcomputer processing module 10, one end of the temperature-sensitive resistor 7 is connected with a power supply, and one end of the temperature-sensitive resistor is connected with a pin 2 of the single chip microcomputer processing module 10; along with the change of the temperature, the voltage on the pin 2 corresponds to the changed resistance value of the temperature-sensitive resistor 7 one by one, and the single chip microcomputer processing module 10 converts the temperature value into a digital signal through the internal digital-to-analog conversion module, processes and stores the digital signal into the EEPROM; at the moment, digital signals are transmitted to pins 7 and 8 of the single chip microcomputer processing module through the first external communication interface and the first external communication interface 11, the single chip microcomputer processing module outputs corresponding voltage V3 on pin 1, and the voltage V3+ V2 is adjusted to be V1; the chip mainboard 9 is connected to the pins 3 and 4 of the single chip microcomputer processing module 10, and provides working frequency and other necessary working conditions for the single chip microcomputer processing module; the VCC end on the single chip microcomputer processing module 10 is connected with the GND end of a power supply and is grounded, a pin 7 and a pin 8 of the single chip microcomputer processing module 10 are respectively connected with a first external communication interface 16 and a second external communication interface 11, an external communication circuit is connected with the single chip microcomputer processing module 10, can read temperature values and write compensation data, and the compensation data are analyzed by the single chip microcomputer processing module 10 and then are transmitted to the output end of the single chip microcomputer processing module;
the output compensation circuit comprises an operational amplifier 6, a first resistor 4 and a second resistor 5, wherein the reverse input end of the operational amplifier 6 is connected with the first resistor 4, the equidirectional input end of the operational amplifier is connected with the second resistor 5 and is connected with two ports of the magnetic sensor 3, an output port 13 is connected to a chip mainboard 9, a pin 1 of a single chip microcomputer processing module 10 is connected to one end of the output of the two ends of the magnetic sensor 3, the port is connected with the equidirectional input end of the operational amplifier 6, the voltages of the two output pins of the magnetic sensor are equal when the magnetic field is zero through the change of the output bias voltage of the single chip microcomputer processing module 10, and further, after the result is realized, the signal of the differential signal output by the magnetic sensor after being amplified by the operational amplifier is zero or approaches to zero.
Preferably, the single chip microcomputer processing module adopts an MS83F0802B chip, and is provided with an eeprom chip and an RAM chip;
preferably, the temperature-sensitive resistor adopts NTC3470K, and the voltage-dividing resistor adopts MCP 4017;
the software structure of the temperature sampling and compensating method mainly comprises the following steps: ADC sampling program module, digital potentiometer assignment module, ADC sampling program module contains temperature calibration module and ADC acquisition function, temperature calibration module includes temperature calibration point value, serial ports debugging flag bit, PWM numerical value, I2C numerical value, ADC acquisition function is equipped with temperature matrix [ n ] and calibration value, the calibration value includes AD sampling value, NTC voltage numerical value, NTC temperature value, and n is the positive integer.
The utility model discloses a UART communication mode communicates with the outside, and external equipment operates the next machine through taking place different instructions. Serial port communication setting: the baud rate is set to 9600bps, the even parity bit is set, and the stop bit is set to 1.
The utility model discloses the circuit passes through the discernment of sampling circuit to the temperature to through producing different outputs to each temperature point to the singlechip, in order to reach the circuit and carry out the purpose of temperature variation compensation and zero compensation to the sensor.
Claims (4)
1. An ammeter circuit compensation module, characterized by: the magnetic sensor comprises a sampling module, a chip mainboard, an output compensation circuit, an induction module and a single chip microcomputer processing module, wherein the induction module comprises a circular magnetic core with a gap, a coil is wound on the surface of the magnetic core, the coil is provided with a coil interface I and a coil interface II, the coil interface I and the coil interface II are respectively connected to the chip mainboard, a square magnetic sensor with two output ports is placed at the gap, and the magnetic sensor is connected with the two ends of an operational amplifier through the output ports; the sampling module comprises a temperature-sensitive resistor and a divider resistor, one end of the temperature-sensitive resistor is grounded, the other end of the temperature-sensitive resistor is connected with the single-chip microcomputer processing module, one end of the divider resistor is connected with a power supply, and the other end of the divider resistor is connected with the single-chip microcomputer processing module; the chip mainboard is connected to the single chip microcomputer processing module through a signal wire, the single chip microcomputer processing module is provided with two interfaces, the interfaces are respectively connected with a power supply and a ground, and the single chip microcomputer processing module further comprises a serial port and two external communication interfaces; the single chip processing module is connected with an external device through two external communication interfaces, the single chip processing module is connected with a digital potentiometer through a signal line, the communication protocol of the single chip processing module and the digital potentiometer is I2C protocol, a protocol variable and a temperature variable are arranged in the I2C protocol, a chip mainboard is provided with a temperature-sensitive resistor, and the temperature and the amplitude sensed by the temperature-sensitive resistor are in calibration function communication with the single chip processing module through a UART communication mode; the output compensation circuit contains operational amplifier, resistance one, resistance two, operational amplifier is equipped with reverse input end, syntropy input and output port, reverse input end with syntropy input respectively through resistance one, resistance two in proper order with two inside ports of magnetic sensor link to each other, output port connects the chip mainboard, with syntropy input end is connected the output of magnetic sensor passes through the chip mainboard links to each other with singlechip processing module.
2. The ammeter circuit compensation module of claim 1, wherein: the single chip microcomputer processing module adopts an MS83F0802B chip and is provided with an Eeprom chip and an RAM chip.
3. The ammeter circuit compensation module of claim 1 or 2, wherein: the temperature-sensitive resistor adopts NTC 3470K.
4. The ammeter circuit compensation module of claim 1 or 2, wherein: the divider resistance adopts MCP 4017.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202123192630.8U CN217112681U (en) | 2021-12-19 | 2021-12-19 | Ammeter circuit compensation module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202123192630.8U CN217112681U (en) | 2021-12-19 | 2021-12-19 | Ammeter circuit compensation module |
Publications (1)
Publication Number | Publication Date |
---|---|
CN217112681U true CN217112681U (en) | 2022-08-02 |
Family
ID=82590890
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202123192630.8U Active CN217112681U (en) | 2021-12-19 | 2021-12-19 | Ammeter circuit compensation module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN217112681U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114296019A (en) * | 2021-12-19 | 2022-04-08 | 宁波泰丰源电气有限公司 | Temperature compensation structure of direct current sensor |
-
2021
- 2021-12-19 CN CN202123192630.8U patent/CN217112681U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114296019A (en) * | 2021-12-19 | 2022-04-08 | 宁波泰丰源电气有限公司 | Temperature compensation structure of direct current sensor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101930025B (en) | Power dissipation testing device | |
CN209327889U (en) | 4-20mA programme control precision current source | |
CN217112681U (en) | Ammeter circuit compensation module | |
CN106443159A (en) | Current detection chip | |
Mathivanan | PC-based instrumentation: concepts and practice | |
CN114296019A (en) | Temperature compensation structure of direct current sensor | |
CN206858674U (en) | A kind of aluminium electrolysis anode guide rod distributed current Detection & Controling apparatus and system | |
CN201382976Y (en) | Intelligent and digital resistance measuring instrument for potential ratio | |
CN101526567A (en) | Intelligent digitizing potential ratio resistance measuring instrument and work process thereof | |
CN114325535A (en) | Temperature sampling method for direct current sensor | |
CN106771550A (en) | A kind of single probe microwave power measurement device and method with display | |
CN114325019A (en) | External communication and zero calibration processing method for direct current sensor | |
CN216956130U (en) | Simple and quick signal source generating device | |
CN210835059U (en) | nA-level current measuring system for test equipment | |
CN205176246U (en) | Conductivity meter self -calibration system | |
CN211717670U (en) | Automatic calibrator for temperature transmitter | |
CN208795797U (en) | A kind of harmonic measuring device | |
CN113514168A (en) | Multi-channel temperature sensor testing device | |
CN113884963A (en) | High-precision direct-current standard electric energy meter | |
CN106353643A (en) | Resistance proportion cable fault tester | |
CN110412485A (en) | A kind of output current detection circuit | |
CN114113747B (en) | Direct current transient step standard of TMR sensor | |
CN208270654U (en) | A kind of resistance on-line measurement system | |
CN218726863U (en) | Low-cost two-wire system pH meter | |
CN220490937U (en) | Bridge power supply noise detection device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |