CN112985539A - Capacitive liquid level sensor simulation system and method - Google Patents

Capacitive liquid level sensor simulation system and method Download PDF

Info

Publication number
CN112985539A
CN112985539A CN202110208900.5A CN202110208900A CN112985539A CN 112985539 A CN112985539 A CN 112985539A CN 202110208900 A CN202110208900 A CN 202110208900A CN 112985539 A CN112985539 A CN 112985539A
Authority
CN
China
Prior art keywords
angle
level sensor
adjustable capacitor
liquid level
steering engine
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.)
Granted
Application number
CN202110208900.5A
Other languages
Chinese (zh)
Other versions
CN112985539B (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.)
Nanjing University of Aeronautics and Astronautics
Original Assignee
Nanjing University of Aeronautics and Astronautics
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 Nanjing University of Aeronautics and Astronautics filed Critical Nanjing University of Aeronautics and Astronautics
Priority to CN202110208900.5A priority Critical patent/CN112985539B/en
Publication of CN112985539A publication Critical patent/CN112985539A/en
Application granted granted Critical
Publication of CN112985539B publication Critical patent/CN112985539B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F23/00Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
    • G01F23/22Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water
    • G01F23/26Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water by measuring variations of capacity or inductance of capacitors or inductors arising from the presence of liquid or fluent solid material in the electric or electromagnetic fields
    • G01F23/263Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water by measuring variations of capacity or inductance of capacitors or inductors arising from the presence of liquid or fluent solid material in the electric or electromagnetic fields by measuring variations in capacitance of capacitors
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F23/00Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
    • G01F23/22Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water
    • G01F23/26Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water by measuring variations of capacity or inductance of capacitors or inductors arising from the presence of liquid or fluent solid material in the electric or electromagnetic fields
    • G01F23/263Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water by measuring variations of capacity or inductance of capacitors or inductors arising from the presence of liquid or fluent solid material in the electric or electromagnetic fields by measuring variations in capacitance of capacitors
    • G01F23/266Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water by measuring variations of capacity or inductance of capacitors or inductors arising from the presence of liquid or fluent solid material in the electric or electromagnetic fields by measuring variations in capacitance of capacitors measuring circuits therefor

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Electromagnetism (AREA)
  • Thermal Sciences (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)

Abstract

The invention discloses a capacitive liquid level sensor simulation system which comprises an upper computer, a controller, a steering engine and an adjustable capacitor, wherein the adjustable capacitor is arranged on the steering engine; the upper computer calculates a first angle of the adjustable capacitor to be rotated according to the set capacitance analog value; the controller outputs a PWM signal to the steering engine according to the first angle; the steering engine drives an adjusting knob of the adjustable capacitor to rotate to a first angle under the control of the PWM signal, and when the steering engine rotates to the first angle, the output capacitance value of the adjustable capacitor is the set capacitance analog value. The invention realizes the function of continuously adjusting the capacitance analog quantity.

Description

Capacitive liquid level sensor simulation system and method
Technical Field
The invention relates to the technical field of sensor signal simulation, in particular to a capacitive liquid level sensor simulation system and method.
Background
The capacitance type liquid level sensor measures the liquid level by utilizing the relation that the covering area between two electrodes of the sensor changes along with the change of the measured liquid level so as to cause the change of capacitance values between the two electrodes. The device is widely applied to fuel systems in industry, such as fuel systems of aviation airplanes and fuel systems of automobiles, and the like. The capacitance signal generally needs to be transmitted to an upper computer for further processing and use, and for example, an aviation aircraft fuel system, the signal of a fuel tank liquid level sensor needs to transmit the capacitance signal to an aircraft fuel computer for comprehensive processing.
The capacitive liquid level sensor simulation device is generally used for providing an excitation signal for simulating the liquid level of an oil tank when the upper computer of a fuel system is detected, and the capacitive liquid level sensor simulation device needs to simulate signals of the capacitive liquid level sensor when each liquid level is detected so as to detect whether the upper computer of the fuel system works normally or not. The existing capacitance simulation devices are all simulated by using fixed capacitors, cannot realize continuous adjustment of the capacitors, and cannot well simulate and show the actual working condition of a fuel system.
Disclosure of Invention
In view of this, the present invention provides a simulation system and method for a capacitive liquid level sensor, which solve the problems in the prior art, expand the capacitance range of a capacitance simulation device, and achieve the function of continuously adjusting the capacitance analog quantity.
In order to achieve the purpose, the invention provides a capacitive liquid level sensor simulation system which comprises an upper computer, a controller, a steering engine and an adjustable capacitor, wherein the adjustable capacitor is arranged on the steering engine;
the upper computer calculates a first angle of the adjustable capacitor to be rotated according to the set capacitance analog value;
the controller outputs a PWM signal to the steering engine according to the first angle;
the steering engine drives an adjusting knob of the adjustable capacitor to rotate to the first angle under the control of the PWM signal;
and when the adjustable capacitor rotates to the first angle, the output capacitance value of the adjustable capacitor is the set capacitance analog value.
Preferably, the system further comprises a gear transmission device, the gear transmission device comprises a first gear and a second gear, the adjustable capacitor is arranged on the first gear, and the steering engine is arranged on the second gear.
Preferably, the upper computer includes a capacitive liquid level sensor model module, the capacitive liquid level sensor model module fits a difference table according to a relationship between a rotation angle coefficient of the adjustable capacitor and a capacitance value, the difference table is used to represent a corresponding relationship between a rotation angle of the adjustable capacitor and the capacitance value, and a first angle corresponding to the set capacitance analog value is calculated according to the difference table.
Preferably, the capacitive liquid level sensor model module calculates a second angle required to rotate by the steering engine according to the gear transmission ratio of the gear transmission device and the first angle.
Preferably, the gear ratio of the gear transmission is set to 1: 1.
Preferably, the controller outputs a PWM signal to the steering engine according to the second angle, so as to control the steering engine to rotate to the second angle.
Preferably, when the steering engine rotates to the second angle, the adjustable capacitor is driven to rotate to the first angle under the control of the gear transmission device.
Preferably, the adjustable capacitor is a differential capacitance duplex film dielectric variable capacitor.
Preferably, the system further comprises a fixed capacitor, and the fixed capacitor is connected with the adjusting capacitor in parallel.
In order to achieve the above object, the present invention provides a capacitive liquid level sensor simulation method, including:
the upper computer calculates a first angle of the adjustable capacitor to be rotated according to the set capacitance analog value;
the controller outputs a PWM signal to the steering engine according to the first angle;
the steering engine drives an adjusting knob of the adjustable capacitor to rotate to the first angle under the control of the PWM signal;
when the adjustable capacitor rotates to the first angle, the output capacitance value of the adjustable capacitor is the set capacitance analog value.
Compared with the prior art, the capacitance type liquid level sensor simulation system and method provided by the invention have the beneficial effects that: the upper computer can control the magnitude of the analog capacitance, can continuously adjust the capacitance value within a certain range, expand the capacitance range of the capacitance analog device, and realize the function of continuously adjusting the capacitance analog quantity, thereby achieving the purposes of high analog precision and reducing the liquid level change process; the capacitance simulation range of the simulation system is expanded by using a parallel capacitance mode, and the parallel capacitance can be replaced according to the range of analog quantity, so that the aim of accurate simulation is fulfilled.
Drawings
FIG. 1 is a system schematic of a capacitive level sensor simulation system according to one embodiment of the present invention.
FIG. 2 is a schematic diagram of a gear assembly according to an embodiment of the present invention.
Detailed Description
The present invention will be described in detail with reference to the specific embodiments shown in the drawings, which are not intended to limit the present invention, and structural, methodological, or functional changes made by those skilled in the art according to the specific embodiments are included in the scope of the present invention.
As shown in fig. 1, according to an embodiment of the present invention, the present invention provides a capacitive liquid level sensor simulation system, which includes an upper computer 10, a controller 11, a steering engine 12, and an adjustable capacitor 13, wherein the adjustable capacitor is disposed on the steering engine,
the upper computer 10 calculates a first angle of the adjustable capacitor to be rotated according to the set capacitance analog value;
the controller 11 outputs a PWM signal to the steering engine according to the first angle;
the steering engine 12 drives the adjusting knob of the adjustable capacitor to rotate to the first angle under the control of the PWM signal;
when the adjustable capacitor 13 is rotated to the first angle, the output capacitance value of the adjustable capacitor is the set capacitance analog value.
The upper computer comprises a capacitive liquid level sensor model module, and capacitive liquid level sensor interface simulation software runs in the upper computer, and a capacitive liquid level sensor mathematical model runs in the software. The user can input the capacitance analog value required to be set through the software. The capacitance type liquid level sensor model module fits a difference table according to the relation between the corner coefficient and the capacitance of the adjustable capacitor, the difference table is used for representing the corresponding relation between the rotating angle of the adjustable capacitor and the capacitance, and a first angle corresponding to the set capacitance analog value is calculated according to the difference table. The difference table may obtain a change in capacitance value for each degree of rotation of the tunable capacitor.
As shown in fig. 2, in a specific embodiment of the present invention, the system further includes a gear transmission 14, the gear transmission includes a first gear 140 and a second gear 141, the adjustable capacitor is disposed on the first gear 140, and the steering engine is disposed on the second gear 141. The steering engine is connected with the adjustable capacitor through the gear transmission device, the gear ratio of the gear transmission device is changed, the adjusting knob of the adjustable capacitor can be rotated more accurately, and the capacitance adjusting quantity can be increased. Specifically, the capacitive liquid level sensor model module calculates a second angle required to rotate by the steering engine according to the gear transmission ratio of the gear transmission device and the first angle. In a specific embodiment of the invention, the gear transmission ratio of the gear transmission device is set to 1:1, that is, the steering engine rotates by 1 degree and drives the adjustable capacitance adjusting knob to rotate by 1 degree. The gear transmission device changes the transmission ratio between the steering engine and the adjustable capacitor, and achieves the purpose of enabling the rotation angle of the adjustable capacitor adjusting knob to be more accurate. The gear of the gear transmission device can be replaced according to the actually required capacitance analog quantity, so that the purpose of more accurate analog value is achieved.
And the controller outputs a PWM signal to the steering engine according to the first angle. The controller receives first angle information output by the upper computer, and the adjustable capacitor is rotated to a required angle in a mode of duty ratio of PWM (pulse-width modulation) waves output by the controller. In a preferred embodiment of the present invention, the controller outputs a PWM signal to the steering engine according to the second angle, and controls the steering engine to rotate to the second angle. In one embodiment of the present invention, the controller is an NI9401 controller, which is a bi-directional digital module, and the 8 DIO channels are divided into two groups of ports, and the inputs and outputs can be independently configured, so that custom digital systems can be implemented, such as counters/timers, digital communication protocols, pulse generation, and more.
When the steering engine rotates to the second angle, the adjustable capacitor is driven to rotate to the first angle under the control of the gear transmission device. The steering engine is a position (angle) servo driver, is applicable to the control system that needs the angle constantly to change and can keep, and its main function utilizes self accurate rotation angle to drive adjustable capacitor and rotates to reach required capacitance value. The steering engine used in this example was PDI-6221MG-180, with a maximum angle of 180 °, a pulse width of 500 and 2500 μ s of 180 °, a working speed of 4.8V at 0.18sec/60 °, a working speed of 6V at 0.16sec/60 °, a size of 40.5 × 20.2 × 38 mm, a weight of 62 g, and a bearing of 2 BB. In the embodiment, the rotation angle of the steering engine is strictly controlled by the PWM signal output by the controller, so that the rotation angle is accurate.
When the adjustable capacitor rotates to the first angle, the output capacitance value of the adjustable capacitor is the set capacitance analog value. The adjustable capacitor is a differential capacitance duplex film medium variable capacitor and is made by clamping a medium between two sheets or two groups of small metal elastic sheets, the capacitance value can be changed by changing the distance or the area between the two sheets during adjustment, and the anticlockwise rotation direction of the driving mechanism is the capacitance increasing direction.
According to an embodiment of the present invention, the system further includes a fixed capacitor, and the fixed capacitor is connected in parallel with the adjusting capacitor. The fixed capacitor is used for expanding the application range of the liquid level sensor simulation device and can be selectively replaced according to specific application environments.
The invention provides a capacitive liquid level sensor simulation method, which comprises the following steps:
the upper computer calculates a first angle of the adjustable capacitor to be rotated according to the set capacitance analog value;
the controller outputs a PWM signal to the steering engine according to the first angle;
the steering engine drives an adjusting knob of the adjustable capacitor to rotate to the first angle under the control of the PWM signal;
when the adjustable capacitor rotates to the first angle, the output capacitance value of the adjustable capacitor is the set capacitance analog value.
Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims.

Claims (10)

1. A capacitive liquid level sensor simulation system is characterized by comprising an upper computer, a controller, a steering engine and an adjustable capacitor, wherein the adjustable capacitor is arranged on the steering engine;
the upper computer calculates a first angle of the adjustable capacitor to be rotated according to the set capacitance analog value;
the controller outputs a PWM signal to the steering engine according to the first angle;
the steering engine drives an adjusting knob of the adjustable capacitor to rotate to the first angle under the control of the PWM signal;
and when the adjustable capacitor rotates to the first angle, the output capacitance value of the adjustable capacitor is the set capacitance analog value.
2. The capacitive liquid level sensor simulation system of claim 1, further comprising a gear transmission, wherein the gear transmission comprises a first gear and a second gear, the adjustable capacitor is disposed on the first gear, and the steering engine is disposed on the second gear.
3. The capacitive liquid level sensor simulation system of claim 2, wherein the host computer comprises a capacitive liquid level sensor model module, the capacitive liquid level sensor model module fits a difference table according to a relationship between a rotation angle coefficient and a capacitance value of the adjustable capacitor, the difference table is used for representing a corresponding relationship between a rotation angle of the adjustable capacitor and a capacitance value, and a first angle corresponding to the set capacitance simulation value is calculated according to the difference table.
4. The capacitive liquid level sensor simulation system of claim 3, wherein the capacitive liquid level sensor model module calculates a second angle that the steering engine needs to rotate according to a gear transmission ratio of the gear transmission device and according to the first angle.
5. The capacitive liquid level sensor simulation system of claim 4, wherein the gear ratio of the gear transmission is set to 1: 1.
6. The capacitive liquid level sensor simulation system of claim 4, wherein the controller outputs a PWM signal to the steering engine according to the second angle for controlling the steering engine to rotate to the second angle.
7. The capacitive liquid level sensor simulation system of claim 6, wherein when the steering engine rotates to the second angle, the adjustable capacitor is driven to rotate to the first angle under the control of the gear transmission device.
8. The capacitive level sensor simulation system of claim 1, wherein the adjustable capacitance is a differential capacitance dual thin film dielectric variable capacitor.
9. The capacitive liquid level sensor simulation system of claim 1, further comprising a fixed capacitor connected in parallel with the tuning capacitor.
10. A method of simulating a capacitive liquid level sensor simulation system according to any one of claims 1 to 9, the method comprising:
the upper computer calculates a first angle of the adjustable capacitor to be rotated according to the set capacitance analog value; the controller outputs a PWM signal to the steering engine according to the first angle;
the steering engine drives an adjusting knob of the adjustable capacitor to rotate to the first angle under the control of the PWM signal;
when the adjustable capacitor rotates to the first angle, the output capacitance value of the adjustable capacitor is the set capacitance analog value.
CN202110208900.5A 2021-02-25 2021-02-25 Capacitive liquid level sensor simulation system and method Active CN112985539B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110208900.5A CN112985539B (en) 2021-02-25 2021-02-25 Capacitive liquid level sensor simulation system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110208900.5A CN112985539B (en) 2021-02-25 2021-02-25 Capacitive liquid level sensor simulation system and method

Publications (2)

Publication Number Publication Date
CN112985539A true CN112985539A (en) 2021-06-18
CN112985539B CN112985539B (en) 2022-05-03

Family

ID=76350354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110208900.5A Active CN112985539B (en) 2021-02-25 2021-02-25 Capacitive liquid level sensor simulation system and method

Country Status (1)

Country Link
CN (1) CN112985539B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5598103A (en) * 1993-10-08 1997-01-28 Lew; Hyok S. Interface distance sensor and its application to pressure sensing
CN103344936A (en) * 2013-07-08 2013-10-09 广东电网公司佛山供电局 Method for fault simulation test of capacitor voltage transformer
CN104407625A (en) * 2014-09-26 2015-03-11 北京博创尚和科技有限公司 Digital steering engine
CN107529377B (en) * 2012-09-11 2015-04-15 上海航天设备制造总厂 Merogenesis Capacitance-type low-temperature liquid level sensor
CN106404112A (en) * 2016-11-30 2017-02-15 南京高华科技股份有限公司 Method and device for calibration-free measurement of capacitive liquid level sensor
CN111060181A (en) * 2019-12-23 2020-04-24 航天科技控股集团股份有限公司 Liquid level measuring device based on capacitive sensor
CN211528945U (en) * 2019-08-26 2020-09-18 西安沃祥航空科技有限公司 Program-controlled capacitor device based on air-adjustable capacitor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5598103A (en) * 1993-10-08 1997-01-28 Lew; Hyok S. Interface distance sensor and its application to pressure sensing
CN107529377B (en) * 2012-09-11 2015-04-15 上海航天设备制造总厂 Merogenesis Capacitance-type low-temperature liquid level sensor
CN103344936A (en) * 2013-07-08 2013-10-09 广东电网公司佛山供电局 Method for fault simulation test of capacitor voltage transformer
CN104407625A (en) * 2014-09-26 2015-03-11 北京博创尚和科技有限公司 Digital steering engine
CN106404112A (en) * 2016-11-30 2017-02-15 南京高华科技股份有限公司 Method and device for calibration-free measurement of capacitive liquid level sensor
CN211528945U (en) * 2019-08-26 2020-09-18 西安沃祥航空科技有限公司 Program-controlled capacitor device based on air-adjustable capacitor
CN111060181A (en) * 2019-12-23 2020-04-24 航天科技控股集团股份有限公司 Liquid level measuring device based on capacitive sensor

Also Published As

Publication number Publication date
CN112985539B (en) 2022-05-03

Similar Documents

Publication Publication Date Title
RU2086476C1 (en) Helicopter with one main rotor and method of compensation of contra-rotating torque of main rotor of single-rotor helicopter
EP1956447A2 (en) Apparatus and method for proportional-integral-derivative control
CN104266835A (en) Torsion fatigue test device and method of arc-shaped springs
CN112985539B (en) Capacitive liquid level sensor simulation system and method
US2808659A (en) Control loading simulating apparatus for flight trainers
US3463866A (en) Flight simulator control loading system
DE3532931C3 (en) Hydraulic drive device
US2804698A (en) Apparatus for simulating aircraft control loading and feel
CN111953240A (en) Double-motor backlash eliminating method and system based on optimal control
CN102243501A (en) Method for controlling positioning of actuator comprising wave gear device
CN102882447A (en) Double-motor device on horizontal shaft of photoelectric tracking system and tracking and controlling method under synchronous driving
US2248072A (en) Motor control
CN108832851A (en) A kind of the bi-motor differential speed-adjusting and control system and method for navigation unit by water
CN204087555U (en) A kind of aircraft simulation system
RU2434785C1 (en) Aircraft pitch angle bank angular speed limiting automatic control system
GB1232586A (en)
US2731831A (en) schaefer
US2540989A (en) Motion-reproducing device
US20050007059A1 (en) Damper system
US2433006A (en) Apparatus for regenerating and smoothing data
US2476269A (en) Mechanical differentiator for smoothing target tracking data
CN204101280U (en) A kind of arc spring torsional fatigue test device
US2951397A (en) Variable escapement mechanism
US3108183A (en) Air data computing apparatus
US3527241A (en) Fluid pressure control systems

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