CN114279482B - Verification method and system for transmission sensor - Google Patents

Verification method and system for transmission sensor Download PDF

Info

Publication number
CN114279482B
CN114279482B CN202111427988.6A CN202111427988A CN114279482B CN 114279482 B CN114279482 B CN 114279482B CN 202111427988 A CN202111427988 A CN 202111427988A CN 114279482 B CN114279482 B CN 114279482B
Authority
CN
China
Prior art keywords
value
transmission
transmission sensor
interval
pwm
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
CN202111427988.6A
Other languages
Chinese (zh)
Other versions
CN114279482A (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.)
Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Original Assignee
Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center 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 Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd filed Critical Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Priority to CN202111427988.6A priority Critical patent/CN114279482B/en
Publication of CN114279482A publication Critical patent/CN114279482A/en
Application granted granted Critical
Publication of CN114279482B publication Critical patent/CN114279482B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a method and a system for verifying transmission sensors, wherein the method comprises the steps of setting power supply voltages of the transmission sensors to be verified to zero, obtaining AD values of the transmission sensors at the moment, and carrying out fault early warning on the transmission sensors with the AD values smaller than a preset threshold value; the first interval is used as an adjusting period, the PWM value of the input voltage of the transmission sensor is adjusted, the PWM value is controlled to gradually increase, and when the AD values of the transmission sensor to be checked are all conducting values, the PWM value at the moment is obtained and is used as an initial PWM value; and taking the second interval as an adjusting period, controlling the initial PWM value to gradually decrease until at least the AD value of one transmission sensor reaches a preset value, and taking the PWM value at the moment as a verification value. On the premise of not increasing extra circuit design burden, the sensor is subjected to stepping self-checking, and the phenomenon that the TV value is inconsistent with the actual equipment state due to factors such as the environment where the sensor is located, the structural position change and the like is prevented.

Description

Verification method and system for transmission sensor
Technical Field
The invention relates to the technical field of sensor calibration, in particular to a calibration method and system of a transmission sensor.
Background
Currently, transmission sensors are applied to a large number of automation devices, and the devices analyze various coordination state relationships of the sensors to obtain a real-time next preprocessing step, wherein a TV value (threshold value of sensor on) of the sensor is important.
Current processing methods for sensor TV values are generally divided into two types: and (5) checking a hardware circuit and writing firmware. The hardware circuit verification requires more labor cost and material cost in design, and causes the increase of complexity of circuit design, especially for equipment with larger sensor orders, the subsequent defect analysis is not easy to locate. The firmware writing mode refers to that the related TV value is written into a program in advance according to the sensor saturation voltage during programming, the method does not cause problems at the initial stage of the equipment, but after the equipment runs for a few years, the sensor saturation voltage can change to a certain extent due to environmental and device abrasion and other reasons, at the moment, partial equipment can possibly generate the condition that the TV value is not consistent with the design requirement, and the equipment is out of order, so that the problem of equipment can be solved only by upgrading firmware or upgrading the eeprom (nonvolatile storage equipment) configuration.
Both of the above verification methods have the defects of high transaction cost and poor operability.
Disclosure of Invention
The invention provides a method and a system for verifying a transmission sensor, which are used for solving the problems of high cost and poor operability of the existing verification mode of the transmission sensor.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
the first aspect of the invention provides a method for checking a transmission sensor, which comprises the following steps:
setting the power supply voltage of the transmission sensors to be checked to zero, acquiring the AD value of each transmission sensor at the moment, and carrying out fault early warning on the transmission sensors with the AD values smaller than a preset threshold value;
taking the first interval as an adjusting period, adjusting the PWM value of the input voltage of the transmission sensor, controlling the PWM value to gradually increase, and obtaining the PWM value at the moment when the AD values of the transmission sensor to be checked are all conducting values, and taking the PWM value as an initial PWM value;
the second interval is taken as an adjusting period, the initial PWM value is controlled to gradually decrease until at least one AD value of the transmission sensor reaches a preset value, and the PWM value at the moment is taken as a check value; the second interval is smaller than the first interval.
Further, before the power supply voltages of the transmission sensors to be verified are set to zero, the verification method further includes the steps of:
and grouping the transmission sensors to be checked according to the PWM control channel, so that the checking process is respectively carried out in the grouping.
Further, the preset threshold is 90% of the AD resolution of the transmission sensor.
Further, the first interval is 10% of the AD resolution, and the second interval is 1% of the AD resolution.
Further, the calculation of the conduction value is specifically:
further, the calculating of the preset value specifically includes:
further, after obtaining the check value, the method further comprises the steps of:
and based on the check value, adjusting each projection sensor in the group to obtain the PWM value of the input voltage of each transmission sensor.
A second aspect of the present invention provides a verification system for a transmission sensor, the verification system comprising:
the preprocessing unit is used for setting the power supply voltage of the transmission sensors to be checked to zero, acquiring the AD value of each transmission sensor at the moment, and carrying out fault early warning on the transmission sensors with the AD values smaller than a preset threshold value;
the rough adjustment unit is used for adjusting the PWM value of the input voltage of the transmission sensor by taking the first interval as an adjustment period, controlling the PWM value to gradually increase, and obtaining the PWM value at the moment as an initial PWM value when the AD values of the transmission sensor to be checked are all on values;
the fine adjustment unit is used for taking the second interval as an adjustment period, controlling the initial PWM value to gradually decrease until at least one AD value of the transmission sensor reaches a preset value, and taking the PWM value at the moment as a check value; the second interval is smaller than the first interval.
Further, the verification system further comprises a grouping unit, wherein the grouping unit is used for grouping the transmission sensors to be verified according to the PWM control channel, so that the verification process is respectively carried out in the grouping.
A third aspect of the present invention provides a computer storage medium having stored therein computer instructions which, when run on the verification system, cause the verification system to perform the steps of the verification method.
The calibration system for a transmission sensor according to the second aspect of the present invention can implement the method according to the first aspect and the respective implementation manners of the first aspect, and achieve the same effects.
The effects provided in the summary of the invention are merely effects of embodiments, not all effects of the invention, and one of the above technical solutions has the following advantages or beneficial effects:
according to the embodiment of the invention, under the premise of not increasing extra circuit design burden, the sensor is subjected to stepping self-checking through the PWM value of the input voltage of the transmission sensor, so that the situation that the TV value is inconsistent with the actual equipment state due to the factors of the environment where the sensor is located, the change of the structural position of the sensor and the like, thereby equipment failure and device damage are prevented. Compared with the prior art, the implementation mode of the embodiment does not need to increase the circuit design burden and does not cause equipment function failure due to sensor aging.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic flow chart of an embodiment of the method of the present invention;
fig. 2 is a schematic diagram of an embodiment of the system of the present invention.
Detailed Description
In order to clearly illustrate the technical features of the present solution, the present invention will be described in detail below with reference to the following detailed description and the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different structures of the invention. In order to simplify the present disclosure, components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. It should be noted that the components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and processes are omitted so as to not unnecessarily obscure the present invention.
In an automation device, the measurement values of the sensors directly determine the processing of the instrument control flow, so that the accuracy of the sensors is of paramount importance. However, transmission sensors are sometimes out of compliance with sensor operating specifications during operation, as the environment, such as temperature, humidity; the structure is that the measurement result is deviated due to the change of the sensor mounting structure in the later stage or the aging of the components of the sensor, so that the transmission sensor needs to be checked.
As shown in fig. 1, an embodiment of the present invention provides a method for calibrating a transmission sensor, including the following steps:
s1, setting the power supply voltage of the transmission sensors to be checked to zero, acquiring the AD value of each transmission sensor at the moment, and carrying out fault early warning on the transmission sensors with the AD values smaller than a preset threshold value;
s2, taking a first interval as an adjusting period, adjusting the PWM value of the input voltage of the transmission sensor, controlling the PWM value to gradually increase, and obtaining the PWM value at the moment when the AD values of the transmission sensor to be checked are all conducting values, and taking the PWM value as an initial PWM value;
s3, taking a second interval as an adjusting period, controlling the initial PWM value to gradually decrease until at least one AD value of the transmission sensor reaches a preset value, and taking the PWM value at the moment as a check value; the second interval is smaller than the first interval.
In step S1, the preset threshold is 90% of the resolution of the transmission sensor AD. When the AD value of the sensor is smaller than a preset threshold value, the sensor is considered to be short-circuited, the ID of the fault sensor is displayed during fault early warning, and the fault sensor is checked in the subsequent checking process.
In step S2, the first interval is 10% of the AD resolution, and if the AD resolution is 1000, the first interval is 100. The calculation of the conduction value is specifically as follows:
in step S3, the second interval is 1% of the AD resolution.
The calculation of the preset value is specifically as follows:
the input voltage of the sensor in the two calculation formulas is the working voltage of the sensor.
In one implementation manner of the embodiment of the present invention, before the power supply voltages of the transmission sensors to be verified are all set to zero, the verification method further includes the steps of:
and grouping the transmission sensors to be checked according to the PWM control channel, so that the checking processes of the steps S1-S3 are respectively carried out in the groups. The PWM is typically distributed in terms of sensor function based on the application scenario of the sensor, where the grouping is for ease of adjustment.
After grouping, the initial PWM value obtained in step S2 and the check value obtained in step S3 are both corresponding values under the current grouping.
In another implementation manner of the embodiment of the present invention, after obtaining the check value, the method further includes the steps of:
and based on the check value, adjusting each projection sensor in the group to obtain the PWM value of the input voltage of each transmission sensor.
Based on the verification mode, the PWM value of the working voltage of each transmission sensor is obtained, and under the current PWM value, the measured value of the transmission sensor is more accurate, so that the verification of the transmission sensor is realized.
As shown in fig. 2, the embodiment of the present invention further provides a verification system for a transmission sensor, where the verification system includes a preprocessing unit 2, a coarse adjustment unit 3, and a fine adjustment unit 4.
The preprocessing unit 2 is used for setting the power supply voltage of the transmission sensors to be checked to zero, acquiring the AD value of each transmission sensor at the moment, and carrying out fault early warning on the transmission sensors with the AD values smaller than a preset threshold value;
the coarse adjustment unit 3 is used for adjusting the PWM value of the input voltage of the transmission sensor by taking the first interval as an adjustment period, controlling the PWM value to gradually increase, and obtaining the PWM value at the moment as an initial PWM value when the AD values of the transmission sensor to be checked are all on values;
the fine adjustment unit 4 is configured to control the initial PWM value to gradually decrease with the second interval as an adjustment period until at least one AD value of the transmission sensor reaches a preset value, and take the PWM value at this time as a verification value; the second interval is smaller than the first interval.
In one implementation manner of the system embodiment of the present invention, the verification system further includes a grouping unit 1, where the grouping unit 1 is configured to group the transmission sensors to be verified according to the PWM control channel, so that the verification processes are performed in the groups respectively.
The embodiment of the invention also provides a computer storage medium, wherein the computer storage medium stores computer instructions, and the method is characterized in that the verification system executes the steps of the verification method.
While the foregoing description of the embodiments of the present invention has been presented in conjunction with the drawings, it should be understood that it is not intended to limit the scope of the invention, but rather, it is intended to cover all modifications or variations within the scope of the invention as defined by the claims of the present invention.

Claims (8)

1. A method of calibrating a transmission sensor, the method comprising the steps of:
s1: setting the power supply voltage of the transmission sensors to be checked to zero, acquiring the AD value of each transmission sensor at the moment, and carrying out fault early warning on the transmission sensors with the AD values smaller than a preset threshold value;
s2: taking the first interval as an adjusting period, adjusting the PWM value of the input voltage of the transmission sensor, controlling the PWM value to gradually increase, and obtaining the PWM value at the moment when the AD values of the transmission sensor to be checked are all conducting values, and taking the PWM value as an initial PWM value;
s3: the second interval is taken as an adjusting period, the initial PWM value is controlled to gradually decrease until at least one AD value of the transmission sensor reaches a preset value, and the PWM value at the moment is taken as a check value; the second interval is smaller than the first interval;
the method further comprises the following steps after the check value is obtained:
based on the verification value, adjusting each projection sensor in the group to obtain a PWM value of the input voltage of each transmission sensor;
grouping transmission sensors to be checked according to PWM control channels, so that the checking processes of the steps S1-S3 are respectively carried out in the groups;
after grouping, the initial PWM value obtained in step S2 and the check value obtained in step S3 are both corresponding values under the current grouping.
2. The method for calibrating a transmission sensor according to claim 1, wherein the predetermined threshold is 90% of the AD resolution of the transmission sensor.
3. The method of calibrating a transmission sensor according to claim 1, wherein the first interval is 10% of the AD resolution and the second interval is 1% of the AD resolution.
4. The method for calibrating a transmission sensor according to claim 1, wherein the calculation of the on value is specifically:
conduction value =
5. The method for calibrating a transmission sensor according to claim 1, wherein the calculating of the preset value is specifically:
preset value =
6. A transmission sensor verification system for implementing the method of claim 1, said verification system comprising:
the preprocessing unit is used for setting the power supply voltage of the transmission sensors to be checked to zero, acquiring the AD value of each transmission sensor at the moment, and carrying out fault early warning on the transmission sensors with the AD values smaller than a preset threshold value;
the rough adjustment unit is used for adjusting the PWM value of the input voltage of the transmission sensor by taking the first interval as an adjustment period, controlling the PWM value to gradually increase, and obtaining the PWM value at the moment as an initial PWM value when the AD values of the transmission sensor to be checked are all on values;
the fine adjustment unit is used for taking the second interval as an adjustment period, controlling the initial PWM value to gradually decrease until at least one AD value of the transmission sensor reaches a preset value, and taking the PWM value at the moment as a check value; the second interval is smaller than the first interval.
7. The system for calibrating a transmission sensor according to claim 6, further comprising a grouping unit for grouping the transmission sensors to be calibrated according to the PWM control channel, such that the calibration process is performed separately within the group.
8. A computer storage medium having stored therein computer instructions which, when run on a verification system according to claim 6 or 7, cause the verification system to perform the steps of the verification method according to any one of claims 1-5.
CN202111427988.6A 2021-11-26 2021-11-26 Verification method and system for transmission sensor Active CN114279482B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111427988.6A CN114279482B (en) 2021-11-26 2021-11-26 Verification method and system for transmission sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111427988.6A CN114279482B (en) 2021-11-26 2021-11-26 Verification method and system for transmission sensor

Publications (2)

Publication Number Publication Date
CN114279482A CN114279482A (en) 2022-04-05
CN114279482B true CN114279482B (en) 2024-04-09

Family

ID=80870156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111427988.6A Active CN114279482B (en) 2021-11-26 2021-11-26 Verification method and system for transmission sensor

Country Status (1)

Country Link
CN (1) CN114279482B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1602907A1 (en) * 2004-05-31 2005-12-07 Gefran Sensori S.r.l. Automatic sensor correction with feedback microprocessor
CN103063247A (en) * 2013-01-10 2013-04-24 重庆市恩睿斯科技有限责任公司 Detection method and detection device of transmission-type sensor balance midpoint
CN103743430A (en) * 2013-12-27 2014-04-23 上海兰宝传感科技股份有限公司 Correlation photoelectric sensor
CN203981191U (en) * 2013-12-23 2014-12-03 重庆东登科技有限公司 A kind of photoelectric sensor of deviation-rectifying system
CN104949705A (en) * 2015-06-18 2015-09-30 昂纳信息技术(深圳)有限公司 Method for dynamically adjusting threshold of optical fiber sensor
CN106017522A (en) * 2016-05-11 2016-10-12 武汉理工大学 Rapid high-precision signal demodulation method of fiber F-P sensor
CN110146115A (en) * 2019-06-11 2019-08-20 温岭甬岭水表有限公司 A kind of photoelectric direct-reading sensor device and self-sensing method
CN112324693A (en) * 2020-10-29 2021-02-05 山东云海国创云计算装备产业创新中心有限公司 Monitoring method, monitoring device, monitoring equipment and storage medium for fan rotating speed
CN113465652A (en) * 2021-07-06 2021-10-01 珠海趣印科技有限公司 Method for calibrating photoelectric characteristic difference of photoelectric sensor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9693716B2 (en) * 2011-03-09 2017-07-04 Medtronic, Inc. Optical sensor system and measurement method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1602907A1 (en) * 2004-05-31 2005-12-07 Gefran Sensori S.r.l. Automatic sensor correction with feedback microprocessor
CN103063247A (en) * 2013-01-10 2013-04-24 重庆市恩睿斯科技有限责任公司 Detection method and detection device of transmission-type sensor balance midpoint
CN203981191U (en) * 2013-12-23 2014-12-03 重庆东登科技有限公司 A kind of photoelectric sensor of deviation-rectifying system
CN103743430A (en) * 2013-12-27 2014-04-23 上海兰宝传感科技股份有限公司 Correlation photoelectric sensor
CN104949705A (en) * 2015-06-18 2015-09-30 昂纳信息技术(深圳)有限公司 Method for dynamically adjusting threshold of optical fiber sensor
CN106017522A (en) * 2016-05-11 2016-10-12 武汉理工大学 Rapid high-precision signal demodulation method of fiber F-P sensor
CN110146115A (en) * 2019-06-11 2019-08-20 温岭甬岭水表有限公司 A kind of photoelectric direct-reading sensor device and self-sensing method
CN112324693A (en) * 2020-10-29 2021-02-05 山东云海国创云计算装备产业创新中心有限公司 Monitoring method, monitoring device, monitoring equipment and storage medium for fan rotating speed
CN113465652A (en) * 2021-07-06 2021-10-01 珠海趣印科技有限公司 Method for calibrating photoelectric characteristic difference of photoelectric sensor

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Design and Implementation of a PWM Based Sensor Readout Circuit;Long Jun 等;《Chinese Journal of Sensors and Actuators》;20170228;第30卷;第184-188页 *
王加祥,曹闹昌.《电路板的焊接、组装与调试 第2版》.西安电子科技大学出版社,2020,第174-175页. *
红细胞悬浮液多参数光谱测量方法研究;李梅花 等;《军事医学》;20160825;第40卷;第680-685页 *

Also Published As

Publication number Publication date
CN114279482A (en) 2022-04-05

Similar Documents

Publication Publication Date Title
CN114279482B (en) Verification method and system for transmission sensor
US11438994B2 (en) Filament current control method and apparatus
CN112799493B (en) Current automatic calibration circuit and calibration method for power supply VR chip
CN104698283A (en) Resistor test method
CN110569165B (en) Method and device for detecting power consumption of server
CN105589450A (en) Calibration method of airplane flow control box test system
CN111751048A (en) Pressure sensor online checking device and method matched with digital instrument
CN110974200A (en) Sphygmomanometer calibration method and system, electronic sphygmomanometer and calibration server
CN109724748A (en) Barometer calibration system
CN107543574B (en) Automatic detector for high-temperature aging test of airborne sensor and operation method
CN112418590B (en) Printed circuit board component detection method and system
US20220187262A1 (en) Device and method for anomaly detection of gas sensor
CN113253006A (en) Detection method and device for bill module bottom plate, computer equipment and storage medium
CN112067165A (en) Temperature sensor precision testing system, testing method, testing device and storage medium
US20110238353A1 (en) System and method for checking a measuring device
CN103383439A (en) Electronic load precise dual-temperature correction method and circuit
JP7319479B1 (en) Board fingerprinting for characterization and fault detection in process chambers
JP2022118343A (en) Testing device and testing method
KR20120090662A (en) Multipurpose system for testing industrial instrumentation and method therefor
US20240055304A1 (en) Method and device for optimizing an amount of testing with respect to a total test time
CN115704874A (en) System for managing calibration and method for managing calibration
Liu et al. Design Of Automatic Test System For Transmitter Controller
DE102020122440A1 (en) Signal path calibration of a hardware setting in a test and measurement instrument
CN112710366A (en) Electronic water meter word-running error correction method and device
CN112924783A (en) Module testing method, device, equipment and medium

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
GR01 Patent grant