CN101806820B - Automatic zero-setting method for software - Google Patents

Automatic zero-setting method for software Download PDF

Info

Publication number
CN101806820B
CN101806820B CN 201010127379 CN201010127379A CN101806820B CN 101806820 B CN101806820 B CN 101806820B CN 201010127379 CN201010127379 CN 201010127379 CN 201010127379 A CN201010127379 A CN 201010127379A CN 101806820 B CN101806820 B CN 101806820B
Authority
CN
China
Prior art keywords
signal
zero
electric signal
digit
software
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
Application number
CN 201010127379
Other languages
Chinese (zh)
Other versions
CN101806820A (en
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.)
Anhui Wanyi Science and Technology Co Ltd
Original Assignee
Anhui Wanyi Science and Technology 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 Anhui Wanyi Science and Technology Co Ltd filed Critical Anhui Wanyi Science and Technology Co Ltd
Priority to CN 201010127379 priority Critical patent/CN101806820B/en
Publication of CN101806820A publication Critical patent/CN101806820A/en
Application granted granted Critical
Publication of CN101806820B publication Critical patent/CN101806820B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Current Or Voltage (AREA)
  • Recording Measured Values (AREA)

Abstract

The invention discloses an automatic zero-setting method for software, which comprises the following steps: acquiring an analog electric signal of a master signal at each time, converting the analog electric signal into a plurality of digital electric signals, recording and storing the plurality of digital electric signals in real time through a singlechip, setting a digital electric signal at some time as a zero signal, thereafter, comparing the digital electric signal at each time with the zero signal through a zero-setting function of the software, fluctuating the zero signal in real time according to the comparison result, after the software stops setting zero, recording a difference value between the digital electric signal at some time or a plurality of times and the zero signal through the singlechip as an effective signal, and displaying and storing the effective signal. The method of the invention improves detection efficiency, detection sensitivity and detection result accuracy of an instrument, avoids inaccuracy of effective signals through manual calculation, overcomes serious shortcomings of the traditional hardware zero-setting method and software zero-setting method and reduces the cost for hardware zero-setting and the design difficulty of the hardware.

Description

Automatic zero-setting method for software
Technical field
The present invention relates to a kind of the pass through software implementation method field of field of analytic instrument, be specifically related to a kind of automatic zero-setting method for software signal Processing.
Background technology
The automatic zero set (AZS) technology is divided into hardware zeroing and software zeroing, and after the hardware zeroing, As time goes on, background signal also can change, and causes the inaccurate of testing result like this.Original software zeroing function do not have in gatherer process from the motion tracking function at zero point, so directly influenced the accuracy and the detection efficiency of detection sensitivity, testing result.
Summary of the invention
The technical matters that the present invention will solve provides a kind of automatic zero-setting method for software, improves sensitivity, accuracy and the detection efficiency of software zeroing.
Technical scheme of the present invention is following:
A kind of automatic zero-setting method for software; Promptly several digital electric signal are gathered and converted into to the analog electrical signal of resultant signal constantly at each, and through single-chip microcomputer several digital electric signal are carried out real time record and storage, the digital electric signal of setting a certain moment then is a zero signal; In certain hour after this; Through the software zeroing function, each digital electric signal and zero signal is constantly compared, and in real time zero signal is floated according to comparative result; After software stops zeroing, through single-chip microcomputer record the difference of some or several digital electric signals constantly and zero signal as useful signal and show, preservation; It is characterized in that: its method specifically may further comprise the steps:
(1), the analog electrical signal of resultant signal is gathered constantly and is converted to several digital electric signal through AD at each; The digital electric signal of several that will collect again carries out real time record and storage through single-chip microcomputer; When software executing " begins to return to zero " function; With this constantly the digital electric signal of the resultant signal of single-chip microcomputer record as the first digit electric signal, again with the first digit electric signal as zero signal, this moment, the value of first digit electric signal was zero;
(2), record the digital electric signal in next moment when single-chip microcomputer; When being the second digit electric signal, software promptly compares with zero signal second digit electric signal and first digit electric signal; If the second digit electric signal is greater than zero signal; Promptly greater than the first digit electric signal, then continue with the first digit electric signal to show that as zero signal zero signal is the first digit electric signal; Through single-chip microcomputer record second digit electric signal and zero signal, promptly the difference with the first digit signal also shows as useful signal then; If the second digit electric signal is less than zero signal, promptly less than the first digit electric signal, then with the second digit electric signal as zero signal, this moment, the value of second digit electric signal was zero;
(3), record again the digital electric signal in next moment when single-chip microcomputer; When being the third digit electric signal; Software compares third digit electric signal and zero signal; If the third digit electric signal is greater than zero signal, then the difference through single-chip microcomputer record third digit electric signal and zero signal also shows as useful signal; If the third digit electric signal is less than zero signal, then with the third digit electric signal as zero signal, this moment, the value of third digit electric signal was zero;
(4), and the like; Each digital electric signal constantly of single-chip microcomputer record is compared with zero signal respectively; And in real time zero signal is floated according to comparative result; When software executing " stops to return to zero " function; Through the single-chip microcomputer record function that " stops zeroing " from the software executing function that " begins zeroing " to software executing during this period of time in the difference of some or several digital electric signals constantly and zero signal as useful signal, and curve map and demonstration, the preservation of drawing out useful signal.
Beneficial effect of the present invention:
The automatic zero-setting method that the present invention realizes has solved the difficult point of analytical instrument on signal acquisition process; Improved the accuracy of detection efficiency, detection sensitivity and the testing result of instrument; Avoided the inaccuracy of artificial calculating useful signal; Avoid the wretched insufficiency of existing hardware zeroing and software zeroing, reduced cost and design difficulty on the hardware on hardware returns to zero.
Description of drawings
Fig. 1 is the useful signal oscillogram after resultant signal oscillogram of the present invention and the zeroing.
Embodiment
Referring to Fig. 1, several digital electric signal are gathered and converted into to a kind of automatic zero-setting method for software promptly to the analog electrical signal of resultant signal at each constantly; And several digital electric signal are carried out real time record and storage through single-chip microcomputer; The digital electric signal of setting a certain moment then is a zero signal, in certain hour after this, through the software zeroing function; Each digital electric signal and zero signal is constantly compared; And in real time zero signal is floated according to comparative result, after software stops zeroing, through the single-chip microcomputer record difference of some or several digital electric signals constantly and zero signal as useful signal and show, preservation; Specifically may further comprise the steps:
(1), the analog electrical signal of resultant signal is gathered constantly and is converted to several digital electric signal through AD at each; The digital electric signal of several that will collect again carries out real time record and storage through single-chip microcomputer; When software executing " begins to return to zero " function; With this constantly the digital electric signal of the resultant signal of single-chip microcomputer record as the first digit electric signal, again with the first digit electric signal as zero signal, this moment, the value of first digit electric signal was zero;
(2), record the digital electric signal in next moment when single-chip microcomputer; When being the second digit electric signal, software promptly compares with zero signal second digit electric signal and first digit electric signal; If the second digit electric signal is greater than zero signal; Promptly greater than the first digit electric signal, then continue with the first digit electric signal to show that as zero signal zero signal is the first digit electric signal; Through single-chip microcomputer record second digit electric signal and zero signal, promptly the difference with the first digit signal also shows as useful signal then; If the second digit electric signal is less than zero signal, promptly less than the first digit electric signal, then with the second digit electric signal as zero signal, this moment, the value of second digit electric signal was zero;
(3), record again the digital electric signal in next moment when single-chip microcomputer; When being the third digit electric signal; Software compares third digit electric signal and zero signal; If the third digit electric signal is greater than zero signal, then the difference through single-chip microcomputer record third digit electric signal and zero signal also shows as useful signal; If the third digit electric signal is less than zero signal, then with the third digit electric signal as zero signal, this moment, the value of third digit electric signal was zero;
(4), and the like; Each digital electric signal constantly of single-chip microcomputer record is compared with zero signal respectively; And in real time zero signal is floated according to comparative result; When software executing " stops to return to zero " function; Through the single-chip microcomputer record function that " stops zeroing " from the software executing function that " begins zeroing " to software executing during this period of time in the difference of some or several digital electric signals constantly and zero signal as useful signal, and curve map and demonstration, the preservation of drawing out useful signal.

Claims (1)

1. automatic zero-setting method for software; Promptly several digital electric signal are gathered and converted into to the analog electrical signal of resultant signal constantly at each, and through single-chip microcomputer several digital electric signal are carried out real time record and storage, the digital electric signal of setting a certain moment then is a zero signal; In certain hour after this; Start the software zeroing function, each digital electric signal and zero signal is constantly compared, and in real time zero signal is floated according to comparative result; After software stops zeroing, through single-chip microcomputer record the difference of some or several digital electric signals constantly and zero signal as useful signal and show, preservation; It is characterized in that: its method specifically may further comprise the steps:
(1), the analog electrical signal of resultant signal is gathered constantly and is converted to several digital electric signal through AD at each; The digital electric signal of several that will collect again carries out real time record and storage through single-chip microcomputer; When software executing " begins to return to zero " function; With this constantly the digital electric signal of the resultant signal of single-chip microcomputer record as the first digit electric signal, again with the first digit electric signal as zero signal, this moment, the value of first digit electric signal was zero;
(2), record the digital electric signal in next moment when single-chip microcomputer; When being the second digit electric signal, software promptly compares with zero signal second digit electric signal and first digit electric signal; If the second digit electric signal is greater than zero signal; Promptly greater than the first digit electric signal, then continue with the first digit electric signal to show that as zero signal zero signal is the first digit electric signal; Through single-chip microcomputer record second digit electric signal and zero signal, promptly the difference with the first digit signal also shows as useful signal then; If the second digit electric signal is less than zero signal, promptly less than the first digit electric signal, then with the second digit electric signal as zero signal, this moment, the value of second digit electric signal was zero;
(3), record again the digital electric signal in next moment when single-chip microcomputer; When being the third digit electric signal; Software compares third digit electric signal and zero signal; If the third digit electric signal is greater than zero signal, then the difference through single-chip microcomputer record third digit electric signal and zero signal also shows as useful signal; If the third digit electric signal is less than zero signal, then with the third digit electric signal as zero signal, this moment, the value of third digit electric signal was zero;
(4), and the like; Each digital electric signal constantly of single-chip microcomputer record is compared with zero signal respectively; And in real time zero signal is floated according to comparative result; When software executing " stops to return to zero " function; Through the single-chip microcomputer record function that " stops zeroing " from the software executing function that " begins zeroing " to software executing during this period of time in the difference of some or several digital electric signals constantly and zero signal as useful signal, and curve map and demonstration, the preservation of drawing out useful signal.
CN 201010127379 2010-03-16 2010-03-16 Automatic zero-setting method for software Active CN101806820B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010127379 CN101806820B (en) 2010-03-16 2010-03-16 Automatic zero-setting method for software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010127379 CN101806820B (en) 2010-03-16 2010-03-16 Automatic zero-setting method for software

Publications (2)

Publication Number Publication Date
CN101806820A CN101806820A (en) 2010-08-18
CN101806820B true CN101806820B (en) 2012-08-01

Family

ID=42608706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010127379 Active CN101806820B (en) 2010-03-16 2010-03-16 Automatic zero-setting method for software

Country Status (1)

Country Link
CN (1) CN101806820B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1798562A1 (en) * 2005-12-08 2007-06-20 Tektronix, Inc. Qualified anomaly detection
CN101231310A (en) * 2006-12-04 2008-07-30 弗卢克公司 Voltage measurement instrument and method having improved automatic mode operation
CN101551774A (en) * 2009-04-24 2009-10-07 东莞虎门泰达电子有限公司 Software automatic test system
CN101609106A (en) * 2009-05-27 2009-12-23 东南大学 The automatic method to set up of digital oscilloscope

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006292702A (en) * 2005-03-18 2006-10-26 Sunx Ltd Detection sensor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1798562A1 (en) * 2005-12-08 2007-06-20 Tektronix, Inc. Qualified anomaly detection
CN101231310A (en) * 2006-12-04 2008-07-30 弗卢克公司 Voltage measurement instrument and method having improved automatic mode operation
CN101551774A (en) * 2009-04-24 2009-10-07 东莞虎门泰达电子有限公司 Software automatic test system
CN101609106A (en) * 2009-05-27 2009-12-23 东南大学 The automatic method to set up of digital oscilloscope

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
崔福明等.数据采集系统中桥路自动调零的算法实现.《仪器仪表学报》.2006,第27卷(第6期),142-144. *
潘雪等.自校准电子水平仪的设计与实现.《传感器与微系统》.2008,第27卷(第1期),79-81、84. *

Also Published As

Publication number Publication date
CN101806820A (en) 2010-08-18

Similar Documents

Publication Publication Date Title
CN109186744B (en) Turbine blade crack evaluation system and turbine blade crack early warning method
CN202710975U (en) Data acquisition device
CN201014997Y (en) Virtual instrument based excitation system testing device
CN103048508A (en) Method for improving trigger level precision of digital oscilloscope, device and digital oscilloscope
CN101187693A (en) Motor performance automatic test system based on dummy instrument and its working method
CN104597802B (en) A kind of reproducible data collecting system of superelevation sample rate
CN103616064A (en) Long-table-face dynamic rail weighbridge weighing system
CN205280114U (en) Electric automobile electrical resolver decoding circuit output signal accuracy testing system
CN101806820B (en) Automatic zero-setting method for software
CN105157914A (en) System and method for conversion from time domain to angle domain of internal combustion engine internal cylinder pressure signal
CN101458096A (en) High-resolution attitude angle measuring method and device
CN203720588U (en) Signal acquisition device
CN205430401U (en) High -speed image processing system
CN104142520A (en) Full dynamic range display method for seismic acquisition records
CN102954786B (en) Inclination angle sensor
CN102323498B (en) Multi-stage segmented high-precision data sampling method
CN102621572A (en) Radioactive pulse amplitude digital discriminator
CN201555591U (en) Direct-current sine-cosine azimuth indicator
CN105547581A (en) Method for making cloud chart of outlet pressure of turbo machine rotor
CN201532307U (en) Turbine speed control system tester
CN101515156B (en) Precise time measuring method
CN101915864A (en) Vector oscilloscope device
CN202422126U (en) Data acquisition device based on LabView and USB (universal serial bus) 2.0 interface
CN103412537A (en) Method for carrying out remote repair on financial appliances through embedded tool
CN113609971B (en) Method, device, equipment and storage medium for checking microseism observation equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: ANHUI WANYI SCIENCE AND TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: HEFEI WANYI TECHNOLOGY CO., LTD.

Effective date: 20120213

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20120213

Address after: 230088 Anhui building, No. 71, Tianda Road, hi tech Zone, Anhui, Hefei

Applicant after: Anhui Wanyi Science and Technology Co., Ltd.

Address before: Tianda high tech Zone 230088 Hefei Road, Anhui province No. 71 Huayi Science Park building B building Anhui instrument

Applicant before: Hefei Wanyi Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: High tech Zone Wenqu 230088 Hefei Road, Anhui province No. 8

Patentee after: ANHUI WANYI SCIENCE & TECHNOLOGY Co.,Ltd.

Address before: 230088 Anhui building, No. 71, Tianda Road, hi tech Zone, Anhui, Hefei

Patentee before: ANHUI WANYI SCIENCE & TECHNOLOGY Co.,Ltd.