CN108562788A - A kind of control method improving analog loopback sampling precision - Google Patents

A kind of control method improving analog loopback sampling precision Download PDF

Info

Publication number
CN108562788A
CN108562788A CN201810504525.7A CN201810504525A CN108562788A CN 108562788 A CN108562788 A CN 108562788A CN 201810504525 A CN201810504525 A CN 201810504525A CN 108562788 A CN108562788 A CN 108562788A
Authority
CN
China
Prior art keywords
resistance
sampling
voltage
analog
end connection
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.)
Pending
Application number
CN201810504525.7A
Other languages
Chinese (zh)
Inventor
赵俊辉
杨小辉
曾祥锦
詹友军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GUANGDONG ELESY ELECTRIC CO Ltd
Original Assignee
GUANGDONG ELESY ELECTRIC CO Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by GUANGDONG ELESY ELECTRIC CO Ltd filed Critical GUANGDONG ELESY ELECTRIC CO Ltd
Priority to CN201810504525.7A priority Critical patent/CN108562788A/en
Publication of CN108562788A publication Critical patent/CN108562788A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

The invention discloses it is a kind of improve analog loopback sampling precision control method, the method includes:The pending analog quantity such as simulation system is sent to converting system 1, converted system 1 handles that after differential signal, gained differential signal is sent to corresponding sampling simulation system;Corresponding sampled voltage Us is obtained after sampled systematic sampling;Gained sampled voltage Us is sent to converting system 2, corresponding transformation result AD_U is obtained after the ratio enlargement network processes of converted system 2;A/D transformation results AD_U is sent to MCU control systems, control system is by completing the detection algorithm to analog loopback after judging AD conversion result AD_U.Technical solution using the present invention can ensure accurate detection in the case of simulating system output smaller analog quantity, to achieve the purpose that accurately control simultaneously simplify control circuit and control system algorithm.

Description

A kind of control method improving analog loopback sampling precision
Technical field
The present invention relates to serve motor control technology field, specifically a kind of controlling party for improving analog loopback sampling precision Method.
Background technology
In recent years, with the continuous improvement of the degree of automation, the analog quantitys such as all kinds of pressure, temperature, electric signal are in control Application in system is more and more wider.It is applied not only to object control, data are shown and participates in various mechanical protections.Therefore mould The data reliability of analog quantity signal, sampling accuracy are also more and more important.Wherein, the precision that analog quantity samples is largely Determine the dynamic and static performance of automatic control system.Therefore, accurate analog quantity detection is to improve system control precision, stabilization Property and rapidity essential condition, and realize high-performance closed-loop control system key.Especially for small Analog control For system, sampling precision is even more important.But current analog quantity processing method there are sampling precision is not high or cost is too high, The excessively complicated problem of control algolithm.To improve this present situation, it is necessary to propose a kind of to improve accuracy of detection for small analog quantity Control method, to reduce development cost simplify control algorithm simultaneously.
Invention content
The purpose of the present invention is to provide a kind of control methods improving analog loopback sampling precision, to solve above-mentioned background The problem of being proposed in technology.
To achieve the above object, the present invention provides the following technical solutions:
A kind of control method improving analog loopback sampling precision, comprises the steps of:
A, simulation system self-test;
If B, self-detection result is normal, S3 is gone to;If self-detection result is abnormal, step A is gone to;
C, the pending analog quantity such as simulation system is sent to converting system 1;
D, the processing of corresponding analog quantity is differential signal by converting system 1;
E, gained differential signal is sent to corresponding sampling simulation system;
F, corresponding sampled voltage Us is obtained after sampling simulation system sampling;
G, gained sampled voltage Us is sent to converting system 2;
H, converting system 2 obtains corresponding transformation result AD_U after being handled sampled voltage Us by ratio enlargement network;
I, A/D transformation results AD_U is sent to MCU control systems;
J, control system is by judging AD conversion result AD_U;
K, control system completes the detection algorithm to analog quantity.
Further technical solution as the present invention:The computational methods of the sampled voltage Us are:Us=Vref1+ (U+- U-), wherein U+, U- are respectively analog sampling input, and Vref1 is upper lift voltage;Us is the sampling electricity obtained by sampling system Pressure.
Further technical solution as the present invention:The computational methods of the AD_U are:AD_U=Vref2-A* (U+-U-), Wherein, Vref2 is upper lift voltage;A is the amplification factor of converting system;AD_U is the transformation result of converting system 2.
Further technical solution as the present invention:The sampling simulation system include resistance R1, resistance R2, resistance R3 and One end connection analog sampling of voltage comparator U1, resistance R1 input U+ and resistance R3, the other end connection resistance R2 of resistance R3 U-, the other end connection resistance R5 of resistance R2, the input terminal of capacitance C2 and voltage comparator U1, resistance R1 are inputted with analog sampling Other end connection voltage comparator U1 another input terminal, the output end connection capacitance C2's of voltage comparator U1 is another End, the other end of resistance R5 and sampled voltage Us.
Further technical solution as the present invention:The ratio enlargement network include resistance R7, resistance R8, resistance R9 and Voltage Vref1, the other end connection resistance R8 and sampled voltage of resistance R9 are lifted in one end connection of voltage comparator U2, resistance R7 The other end connection resistance R10 of Us, resistance R8, the input terminal of capacitance C4 and voltage comparator U2, the other end connection of resistance R7 Another input terminal of voltage comparator U2, the other end of the output end connection capacitance C4 of voltage comparator U2, resistance R10 it is another One end, diode D anode and AD_U.
Compared with prior art, the beneficial effects of the invention are as follows:By the invention it is possible to realize in the logical of more peer nodes A main control device is elected in letter as management interface, and has a variation in network environment, for example master control or is fallen from equipment Line re-elects out main control device whens restarting equal.Guarantee can all ensure one and only one main control device at any time It is present in network.When multinode network communicates, the management function for retaining network reduces networking cost simultaneously.
Description of the drawings
Fig. 1 is the flow chart of the present invention.
Fig. 2 is the circuit diagram of sampling simulation system.
Fig. 3 is the circuit diagram of ratio enlargement network.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
- 3 are please referred to Fig.1, a kind of control method improving analog loopback sampling precision comprises the steps of:
A, simulation system self-test;
If B, self-detection result is normal, S3 is gone to;If self-detection result is abnormal, step A is gone to;
C, the pending analog quantity such as simulation system is sent to converting system 1;
D, the processing of corresponding analog quantity is differential signal by converting system 1;
E, gained differential signal is sent to corresponding sampling simulation system;
F, corresponding sampled voltage Us is obtained after sampling simulation system sampling;Wherein:The computational methods of sampled voltage Us are: Us=Vref1+ (U+-U-), wherein U+, U- are respectively analog sampling input, and Vref1 is upper lift voltage;Us is through over-sampling system The sampled voltage that system obtains.
G, gained sampled voltage Us is sent to converting system 2;
H, converting system 2 obtains corresponding transformation result AD_U after being handled sampled voltage Us by ratio enlargement network, In, the computational methods of AD_U are:AD_U=Vref2-A* (U+-U-), wherein Vref2 is upper lift voltage;A is putting for converting system Big multiple;AD_U is the transformation result of converting system 2.
I, A/D transformation results AD_U is sent to MCU control systems;
J, control system is by judging AD conversion result AD_U;
K, control system completes the detection algorithm to analog quantity.
Sampling simulation system includes resistance R1, resistance R2, resistance R3 and voltage comparator U1, and one end of resistance R1 connects mould The other end connection resistance R2 of quasi- sampling input U+ and resistance R3, resistance R3 and analog sampling input U-, the other end of resistance R2 The input terminal of resistance R5, capacitance C2 and voltage comparator U1 are connected, the other end connection voltage comparator U1's of resistance R1 is another A input terminal, the other end of the output end connection capacitance C2 of voltage comparator U1, the other end and sampled voltage Us of resistance R5, In:R1=R2=R4=R5, C1=C2.Ratio enlargement network includes resistance R7, resistance R8, resistance R9 and voltage comparator U2, Voltage Vref1 is lifted in one end connection of resistance R7, the other end of resistance R9 connects resistance R8 and sampled voltage Us, and resistance R8's is another One end connects the input terminal of resistance R10, capacitance C4 and voltage comparator U2, the other end connection voltage comparator U2's of resistance R7 Another input terminal, the other end of output end connection capacitance C4 of voltage comparator U2, the other end of resistance R10, diode D Anode and AD_U, wherein R6=R10=A*R7=A*R8.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Profit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims Variation is included within the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.
In addition, it should be understood that although this specification is described in terms of embodiments, but not each embodiment is only wrapped Containing an independent technical solution, this description of the specification is merely for the sake of clarity, and those skilled in the art should It considers the specification as a whole, the technical solutions in the various embodiments may also be suitably combined, forms those skilled in the art The other embodiment being appreciated that.

Claims (5)

1. a kind of control method improving analog loopback sampling precision, which is characterized in that comprise the steps of:
A, simulation system self-test;
If B, self-detection result is normal, S3 is gone to;If self-detection result is abnormal, step A is gone to;
C, the pending analog quantity such as simulation system is sent to converting system 1;
D, the processing of corresponding analog quantity is differential signal by converting system 1;
E, gained differential signal is sent to corresponding sampling simulation system;
F, corresponding sampled voltage Us is obtained after sampling simulation system sampling;
G, gained sampled voltage Us is sent to converting system 2;
H, converting system 2 obtains corresponding transformation result AD_U after being handled sampled voltage Us by ratio enlargement network;
I, A/D transformation results AD_U is sent to MCU control systems;
J, control system is by judging AD conversion result AD_U;
K, control system completes the detection algorithm to analog quantity.
2. a kind of control method improving analog loopback sampling precision according to claim 1, which is characterized in that described to adopt The computational methods of sample voltage Us are:Us=Vref1+ (U+-U-), wherein U+, U- are respectively analog sampling input, and Vref1 is upper Lift voltage;Us is the sampled voltage obtained by sampling system.
3. a kind of control method improving analog loopback sampling precision according to claim 1, which is characterized in that described The computational methods of AD_U are:AD_U=Vref2-A* (U+-U-), wherein Vref2 is upper lift voltage;A is the amplification of converting system Multiple;AD_U is the transformation result of converting system 2.
4. a kind of control method improving analog loopback sampling precision according to claim 1, which is characterized in that the mould Quasi- sampling system includes resistance R1, resistance R2, resistance R3 and voltage comparator U1, one end connection analog sampling input of resistance R1 The other end connection resistance R2 of U+ and resistance R3, resistance R3 and the other end connection resistance R5 of analog sampling input U-, resistance R2, The input terminal of capacitance C2 and voltage comparator U1, another input terminal of the other end connection voltage comparator U1 of resistance R1, electricity Press the other end of the output end connection capacitance C2 of comparator U1, the other end and sampled voltage Us of resistance R5.
5. a kind of control method improving analog loopback sampling precision according to claim 1, which is characterized in that the ratio Example amplification network includes resistance R7, resistance R8, resistance R9 and voltage comparator U2, and voltage is lifted in one end connection of resistance R7 The other end of Vref1, resistance R9 connects resistance R8 and sampled voltage Us, other end connection resistance R10, the capacitance C4 of resistance R8 and The input terminal of voltage comparator U2, another input terminal of the other end connection voltage comparator U2 of resistance R7, voltage comparator The other end of output end connection capacitance C4 of U2, the anode and AD_U of the other end of resistance R10, diode D.
CN201810504525.7A 2018-05-23 2018-05-23 A kind of control method improving analog loopback sampling precision Pending CN108562788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810504525.7A CN108562788A (en) 2018-05-23 2018-05-23 A kind of control method improving analog loopback sampling precision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810504525.7A CN108562788A (en) 2018-05-23 2018-05-23 A kind of control method improving analog loopback sampling precision

Publications (1)

Publication Number Publication Date
CN108562788A true CN108562788A (en) 2018-09-21

Family

ID=63539513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810504525.7A Pending CN108562788A (en) 2018-05-23 2018-05-23 A kind of control method improving analog loopback sampling precision

Country Status (1)

Country Link
CN (1) CN108562788A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200994116Y (en) * 2006-12-20 2007-12-19 青岛海信空调有限公司 Current feedback differential amplifying-sampling circuit and air conditioner with same
CN102243261A (en) * 2011-03-30 2011-11-16 上海北京大学微电子研究院 Current detection circuit
CN102654528A (en) * 2012-04-13 2012-09-05 宁波德业变频技术有限公司 Alternating current voltage sampling device for power factor correction
CN202562994U (en) * 2012-05-07 2012-11-28 无锡智卓电气有限公司 Three-phase voltage sampling circuit used for control and protection switch
CN104242782A (en) * 2014-09-11 2014-12-24 四川长虹电器股份有限公司 Control circuit for current control of variable frequency fan
CN104587604A (en) * 2015-01-20 2015-05-06 深圳市科曼医疗设备有限公司 Self-checking system and method for discharge loop of defibrillator monitor
CN106771834A (en) * 2017-02-25 2017-05-31 华为技术有限公司 A kind of many DC source input wires detecting systems and photovoltaic group string formula inverter system
CN106970260A (en) * 2017-05-23 2017-07-21 核工业理化工程研究院 A kind of phase voltage Acquisition Circuit of frequency converter output and the measuring method of amplitude

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200994116Y (en) * 2006-12-20 2007-12-19 青岛海信空调有限公司 Current feedback differential amplifying-sampling circuit and air conditioner with same
CN102243261A (en) * 2011-03-30 2011-11-16 上海北京大学微电子研究院 Current detection circuit
CN102654528A (en) * 2012-04-13 2012-09-05 宁波德业变频技术有限公司 Alternating current voltage sampling device for power factor correction
CN202562994U (en) * 2012-05-07 2012-11-28 无锡智卓电气有限公司 Three-phase voltage sampling circuit used for control and protection switch
CN104242782A (en) * 2014-09-11 2014-12-24 四川长虹电器股份有限公司 Control circuit for current control of variable frequency fan
CN104587604A (en) * 2015-01-20 2015-05-06 深圳市科曼医疗设备有限公司 Self-checking system and method for discharge loop of defibrillator monitor
CN106771834A (en) * 2017-02-25 2017-05-31 华为技术有限公司 A kind of many DC source input wires detecting systems and photovoltaic group string formula inverter system
CN106970260A (en) * 2017-05-23 2017-07-21 核工业理化工程研究院 A kind of phase voltage Acquisition Circuit of frequency converter output and the measuring method of amplitude

Similar Documents

Publication Publication Date Title
CN103326893A (en) Limit speed measuring method
CN104201774A (en) Method for integrating power primary and secondary equipment state monitoring system
WO2022127057A1 (en) Weather early warning text processing method, related apparatus and computer program product
CN113963457B (en) Inspection task processing method and device, computer equipment and storage medium
CN106651144B (en) Tower and line relation modeling method with same-tower parallel line information
Bouwmeester et al. Towards an innovative electrical interface standard for PocketQubes and CubeSats
CN114553222A (en) Device and method for improving gain range of sample holder
CN108562788A (en) A kind of control method improving analog loopback sampling precision
CN117706460A (en) Diagnosis method and device for virtual connection of power battery sampling line, electronic equipment and medium
CN112562778A (en) Test circuit and test system
CN109446146A (en) A kind of state transition sequence generation method of application layer communication protocol
CN213958597U (en) Test circuit and test system
CN207853937U (en) A kind of numerically-controlled machine tool accessory control system based on Cloud Server
CN112381090A (en) Method and device for determining telephone, electronic equipment and storage medium
CN111835004A (en) Method, device, equipment and medium for determining power grid control strategy
CN115623092B (en) System monitoring method, device, equipment and medium based on electric signals
CN115080485B (en) Data transmission method, device, equipment and storage medium
CN111046933A (en) Image classification method and device, storage medium and electronic equipment
CN113099430B (en) Micrometer measurement data acquisition method, system, device and storage medium
CN109729146B (en) Method for fixing cloud classroom desktop network
CN219611747U (en) Hysteresis comparator circuit and electronic device
CN113992729B (en) Cloud mobile phone control method, related device and computer program product
CN118400443B (en) Electric energy meter data conversion method and device, computer equipment and storage medium
CN113066498B (en) Information processing method, apparatus and medium
CN110765626B (en) Modeling method and device for monitoring system layer of power monitoring system and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180921

RJ01 Rejection of invention patent application after publication