Detection device and control method for output characteristics of non-contact voltage sensor

文档序号:1874716 发布日期:2021-11-23 浏览:20次 中文

阅读说明:本技术 一种非接触式电压传感器输出特性的检测装置与控制方法 (Detection device and control method for output characteristics of non-contact voltage sensor ) 是由 陈冲 钱祺 蔡子立 章上聪 张高焰 于 2021-09-23 设计创作,主要内容包括:本发明公开了一种非接触式电压传感器输出特性的检测装置与控制方法,包括:控制器、数据采集装置、执行器和固定支架;控制器分别与数据采集装置和执行器连接;控制器控制第一执行器和第二执行器使待测线缆在可移动区域内沿控制器预设路径移动并在控制器预设测量位置处停止;数据采集装置用来检测待测线缆在预设测量位置处的电压值并将电压值传输到控制器;控制器记录预设测量位置及其电压值。本发明通过对预设测量位置建立位置坐标,每一个预设测量位置都对应一个位置坐标,所以每一个位置坐标对应数据采集装置采集的电压值,实现了待测导体不同空间位置下导体位置和测量电压的同步测量并得到非接触式电压传感器的输出特性。(The invention discloses a detection device and a control method for output characteristics of a non-contact voltage sensor, which comprise the following steps: the device comprises a controller, a data acquisition device, an actuator and a fixed bracket; the controller is respectively connected with the data acquisition device and the actuator; the controller controls the first actuator and the second actuator to enable the cable to be measured to move along a preset path of the controller in the movable area and stop at a preset measuring position of the controller; the data acquisition device is used for detecting the voltage value of the cable to be measured at a preset measurement position and transmitting the voltage value to the controller; the controller records the preset measuring position and the voltage value thereof. According to the invention, position coordinates are established for the preset measuring positions, and each preset measuring position corresponds to one position coordinate, so that each position coordinate corresponds to the voltage value acquired by the data acquisition device, the synchronous measurement of the conductor position and the measuring voltage under different spatial positions of the conductor to be measured is realized, and the output characteristic of the non-contact voltage sensor is obtained.)

1. The device for detecting the output characteristic of the non-contact voltage sensor is characterized by comprising a controller, a data acquisition device, a first actuator, a second actuator and a fixed support, wherein the controller is connected with the data acquisition device;

the first actuator comprises a first motor and a first screw rod, the second actuator comprises a second motor and a second screw rod, and the first screw rod is vertically connected with the second screw rod;

the fixed support comprises a first fixed support and a second fixed support, and the first motor drives the first fixed support to move axially along the first screw rod; the second motor drives the second fixing support to move axially along the second screw rod;

the second fixing bracket is provided with a hole; the first fixing bracket is used for fixing a cable to be tested so that the cable to be tested passes through the hole;

the controller is used for controlling the first motor and the second motor to enable the cable to be detected to generate relative displacement in the hole;

the data acquisition device comprises a plurality of induction electrodes; the plurality of induction electrodes are arranged around the hole; the device is used for collecting voltage values of the cable to be tested at different positions of the hole and transmitting the voltage values to the controller.

2. The apparatus for detecting the output characteristic of a non-contact voltage sensor according to claim 1, wherein the first actuator further comprises a first coupling, and the first coupling is respectively connected to the first motor and the first lead screw; the second actuator further comprises a second coupling, and the second coupling is connected with the second motor and the second screw rod respectively.

3. The apparatus for detecting the output characteristics of a non-contact voltage sensor according to claim 1, wherein the data acquisition device further comprises a voltage transformer; and the voltage transformer is arranged on the cable to be tested and used for calibrating the voltage value acquired by the induction electrode.

4. The device for detecting the output characteristics of the non-contact voltage sensor according to claim 1, wherein the data acquisition device further comprises a fixing member, and holes with regular shapes are formed on a radial plane where the fixing member is located; the induction electrodes are uniformly arranged on the fixing piece around the central axis of the hole, and the distances from the induction electrodes to the edge of the hole are the same.

5. The apparatus for detecting the output characteristics of a non-contact voltage sensor according to claim 1, wherein the first fixing bracket comprises a beam and a boom, the beam being vertically disposed on the first lead screw; and the suspension arm is fixed on the cross beam and used for fixing the cable to be tested.

6. A method for controlling a device for detecting an output characteristic of a non-contact voltage sensor, according to any one of claims 1 to 5, the method comprising:

determining a movable area of the cable to be tested;

determining a moving path of the cable to be tested according to the movable area;

determining discrete measurement position coordinates according to the moving path;

determining position voltage according to the measurement position coordinates;

determining the corresponding relation between the measurement position coordinates and the position voltage according to the position voltage;

and obtaining the output characteristic of the non-contact voltage sensor according to the corresponding relation.

7. The method according to claim 6, wherein the determining discrete measurement position coordinates according to the movement path includes:

and establishing a plane coordinate system on the plane of the fixing piece, wherein each discrete measuring position on the moving path has a unique corresponding measuring position coordinate on the plane coordinate system.

8. The method for controlling a non-contact voltage sensor output characteristic detection device according to claim 6, wherein the determining a position voltage based on the measured position coordinates includes:

the position voltage is a voltage effective value at the coordinate position of the measuring position obtained by carrying out root mean square operation on a plurality of voltage values measured by the induction electrode array and the voltage value measured by the voltage transformer.

Technical Field

The invention relates to the field of measurement, in particular to a detection device and a control method for output characteristics of a non-contact voltage sensor.

Background

In power system construction, operation, monitoring and management applications, voltage measurement has a very important position, and the voltage level of power equipment and cable devices is extremely critical to reflect the operation state of the power system and devices. In the conventional voltage measurement method, a conductor to be measured needs to be contacted with a measurement probe, namely, a contact voltage measurement method requires that a metal part of a cable to be measured is exposed or is subjected to contact detection through an invasive measurement probe, and the method has two defects: (1) the installation is difficult, because the conductors need to be contacted, the primary side of the circuit needs to be installed in a power failure mode, the power supply quality is affected, and the installation difficulty is high; (2) the potential safety hazard is serious, and when carrying out contact measurement, the insulating layer receives destruction, and the operational safety of power cable and equipment faces the severe examination.

In order to solve the problems, the non-contact voltage measurement technology comes along, potential safety hazards caused by cables intruding during voltage measurement are avoided due to the non-contact characteristic, the operation is simple and convenient, and the era background of electric power internet of things construction is met. Non-contact voltage measurement is generally based on the electric field coupling effect, and for any live conductor, due to the movement and distribution of the self-charges, there will be a vector electric field around it, excited by the charges, the vector electric field has a unique determined relationship with the charge distribution, the spatial position and the conductor electromotive force of the charged conductor, after the space charge is collected and calculated and calibrated based on a corresponding algorithm, the voltage value of the electrified conductor or the cable can be indirectly obtained, thereby realizing the non-contact measurement of the voltage, according to the helmholtz theorem, the magnitude of the spatially collected charges is closely related to the relative position between the conductor and the charge measuring electrode, which has a large influence on the measurement accuracy caused by the measurement voltage fluctuation when the relative position changes, therefore, performing non-contact measurement of voltage requires determining the correspondence between the output characteristics of the non-contact voltage sensor and the spatial position variation of the conductor to be measured.

Disclosure of Invention

The invention aims to provide a detection device and a control method for output characteristics of a non-contact voltage sensor, which can determine the corresponding relation between the output characteristics of the non-contact voltage sensor and the space position change of a conductor to be measured and obtain the output characteristics of the non-contact voltage sensor.

In order to achieve the purpose, the invention provides the following scheme:

the device for detecting the output characteristic of the non-contact voltage sensor is characterized by comprising a controller, a data acquisition device, a first actuator, a second actuator and a fixed support, wherein the controller is connected with the data acquisition device;

the first actuator comprises a first motor and a first screw rod, the second actuator comprises a second motor and a second screw rod, and the first screw rod is vertically connected with the second screw rod;

the fixed support comprises a first fixed support and a second fixed support, and the first motor drives the first fixed support to move axially along the first screw rod; the second motor drives the second fixing support to move axially along the second screw rod;

the second fixing bracket is provided with a hole; the first fixing bracket is used for fixing a cable to be tested so that the cable to be tested passes through the hole;

the controller is used for controlling the first motor and the second motor to enable the cable to be detected to generate relative displacement in the hole;

the data acquisition device comprises a plurality of induction electrodes; the plurality of induction electrodes are arranged around the hole; the device is used for collecting voltage values of the cable to be tested at different positions of the hole and transmitting the voltage values to the controller.

Optionally, the first actuator further includes a first coupler, and the first coupler is connected to the first motor and the first lead screw respectively; the second actuator further comprises a second coupling, and the second coupling is connected with the second motor and the second screw rod respectively.

Optionally, the data acquisition device further comprises a voltage transformer; and the voltage transformer is arranged on the cable to be tested and used for calibrating the voltage value acquired by the induction electrode.

Optionally, the data acquisition device further comprises a fixing piece, and holes with regular patterns are formed in a radial plane where the fixing piece is located; the induction electrodes are uniformly arranged on the fixing piece around the central axis of the hole, and the distances from the induction electrodes to the edge of the hole are the same.

Optionally, the first fixing bracket comprises a beam and a suspension arm, and the beam is vertically arranged on the first screw rod; and the suspension arm is fixed on the cross beam and used for fixing the cable to be tested.

A method of detecting output characteristics of a non-contact voltage sensor, comprising:

determining a movable area of the cable to be tested;

determining a moving path of the cable to be tested according to the movable area;

determining discrete measurement position coordinates according to the moving path;

determining position voltage according to the measurement position coordinates;

determining the corresponding relation between the measurement position coordinates and the position voltage according to the position voltage;

and obtaining the output characteristic of the non-contact voltage sensor according to the corresponding relation.

Optionally, the determining discrete measurement position coordinates according to the moving path specifically includes:

and establishing a plane coordinate system on the plane of the fixing piece, wherein each discrete measuring position on the moving path has a unique corresponding measuring position coordinate on the plane coordinate system.

Optionally, the determining the position voltage according to the measurement position coordinate specifically includes:

the position voltage is a voltage value array formed by a plurality of voltage values measured by the induction electrode array and voltage values measured by the voltage transformer.

According to the specific embodiment provided by the invention, the invention discloses the following technical effects: the invention provides a detection device and a control method for output characteristics of a non-contact voltage sensor, which comprises a controller, a data acquisition device, a first actuator, a second actuator and a fixed support, wherein the controller is connected with the data acquisition device; the first actuator comprises a first motor and a first screw rod, the second actuator comprises a second motor and a second screw rod, and the first screw rod is vertically connected with the second screw rod; the fixed support comprises a first fixed support and a second fixed support, and the first motor drives the first fixed support to move axially along the first screw rod; the second motor drives the second fixing support to move axially along the second screw rod; the second fixing bracket is provided with a hole; the first fixing bracket is used for fixing the cable to be tested so that the cable to be tested penetrates through the hole; the controller is used for controlling the first motor and the second motor to enable the cable to be detected to generate relative displacement in the hole; the data acquisition device comprises a plurality of induction electrodes; a plurality of sensing electrodes disposed around the aperture; the device is used for collecting voltage values of the cable to be measured at different positions of the hole and transmitting the voltage values to the controller. The controller controls the actuator to move, so that the cable to be measured moves in the movable area according to a preset path, the cable to be measured stops at a preset measuring position, the data acquisition device acquires a voltage value at the preset measuring position and transmits the voltage value to the controller, position coordinates are established for the preset measuring position, each preset measuring position corresponds to one position coordinate, each position coordinate corresponds to the voltage value acquired by the data acquisition device, synchronous measurement of conductor positions and measuring voltages at different spatial positions of the conductor to be measured is realized, the output characteristic of the non-contact voltage sensor is obtained, and the design of the non-contact voltage sensor is guided according to the output characteristic of the non-contact voltage sensor.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.

FIG. 1 is a view of the actuator and fixing member of the detecting device;

FIG. 2 is a block diagram of a voltage sensor body interface;

FIG. 3 is a flow chart of a method for detecting output characteristics of a non-contact voltage sensor;

FIG. 4 is a functional block diagram of the detecting device;

FIG. 5 is a flowchart of an overall control method;

FIG. 6 is a diagram of a diamond-shaped moving domain of a cable to be tested;

FIG. 7 is a view showing an overall configuration of a detection program;

fig. 8 is a flowchart of the overall procedure.

Description of the symbols:

a second motor-1, a second actuator-2, a first actuator-3, a first motor-4, a first fixed support-5, a second fixed support-6, a movable region-7, an induction electrode-8, a first path-17, a second path-18, a third path-19, and a fourth path-20.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

The invention aims to provide a detection device and a control method for output characteristics of a non-contact voltage sensor, which can determine the corresponding relation between the output characteristics of the non-contact voltage sensor and the space position change of a conductor to be measured and obtain the output characteristics of the non-contact voltage sensor.

In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.

As shown in fig. 1, the detection device for the output characteristic of the non-contact voltage sensor according to the present invention includes a controller, a data acquisition device, a first actuator 3, a second actuator 2, and a fixing bracket.

The first actuator 3 comprises a first motor 4 and a first screw rod, the second actuator 2 comprises a second motor and a second screw rod, and the first screw rod is vertically connected with the second screw rod.

Specifically, the first actuator 3 further includes a first coupler, and the first coupler is connected to the first motor 4 and the first lead screw respectively. The second actuator 2 further comprises a second coupling, and the second coupling is respectively connected with a second motor and a second screw rod.

Further, the first motor 4 is a stepping motor; the second motor 1 is a stepping motor.

The fixed support comprises a first fixed support 5 and a second fixed support 6, and the first motor 4 drives the first fixed support 5 to move axially along the first screw rod; the second motor 1 drives the second fixed bracket to move axially along the second screw rod; the second fixed bracket 6 is provided with a hole; the first fixing bracket 5 is used for fixing the cable to be tested to lead the cable to be tested to pass through the hole.

Specifically, the first fixing support 5 comprises a cross beam and a suspension arm, and the cross beam is vertically arranged on a first screw rod; and the suspension arm is fixed on the cross beam and used for fixing the cable to be tested.

The controller is used for controlling the first motor 4 and the second motor 1 to enable the cable to be measured to generate relative displacement in the hole.

Specifically, the controller sends a motor control command to make the motor rotate forward or backward and drive the first transmission device and the second transmission device to move, so that the first transmission device drives the first fixing support 55 to move, and the second transmission device drives the second fixing support 6 to move.

The data acquisition device comprises a plurality of induction electrodes 8; a plurality of sensing electrodes 8 disposed around the hole; the device is used for collecting voltage values of the cable to be measured at different positions of the hole and transmitting the voltage values to the controller.

Specifically, the data acquisition device also comprises a fixing piece, and holes with regular patterns are arranged on a radial plane where the fixing piece is located; the sensing electrodes 8 are evenly arranged on the fixture around the central axis of the hole and the sensing electrodes 8 are at the same distance from the edge of the hole.

The data acquisition device also comprises a voltage transformer; and the voltage transformer is arranged on the cable to be tested and used for calibrating the voltage value acquired by the induction electrode 8.

The motor is divided into an X-axis motor and a Z-axis motor; the first motor 4 is an X-axis motor; the X-axis motor rotates to realize horizontal movement of the data acquisition device, the second motor 1 is a Z-axis motor, the Z-axis motor rotates to realize longitudinal movement of the second fixing support 6, and the data acquisition device longitudinally moves relative to the second fixing support 6 according to relative movement.

As shown in fig. 2, the number of the sensing electrodes 8 is four, and further, the fixing member is a PCB; the fixed part is connected with the second fixed bracket 6; the fixing piece is arranged in the hole on the second fixing bracket 6; the central axis of the hole of the regular pattern arranged on the radial plane of the fixing piece is parallel to the axial direction of the hole on the second fixing support 6. The fixing piece moves along with the first actuator 3 and moves relative to the second actuator 2, so that the spatial position of the fixing piece is changed. The array of the induction electrodes 8 is uniformly distributed by a plurality of electrodes in an array form and is used for measuring the voltage of the cable. The cable motion area is a non-contact voltage measurement area and is also a movable area 7 of the cable; the cable coordinate locations are randomly distributed within the region.

When the cable is actually detected, the spatial position of the cable in the non-contact voltage measurement area is uncertain, and the voltage measurement is subject to errors due to the change of the spatial position of the cable. Therefore, by setting the path, the control motor drags the cables to be measured to be arranged at different spatial coordinate positions, and synchronously acquires the output voltage of the data acquisition device at the moment, so as to acquire the overall output characteristic of the non-contact voltage sensor.

The controller is respectively connected with the data acquisition device, the first actuator 3 and the second actuator 2; the controller controls the first actuator 3 and the second actuator 2 to enable the cable to be measured to move along a preset path of the controller in the movable area 7 and stop at a preset measuring position of the controller; the data acquisition device is used for detecting the voltage value of the cable to be measured at a preset measurement position and transmitting the voltage value to the controller; the controller records the preset measuring position and the voltage value thereof.

Specifically, the controller may be a single chip, an embedded control chip, or a module, and the controller is configured to receive a data signal sent by the data acquisition device and control the actuator.

As shown in fig. 3, the method for detecting the output characteristic of the non-contact voltage sensor according to the present invention includes:

step 301: a movable region of the cable under test is determined.

Step 302: and determining the moving path of the cable to be tested according to the movable area.

Step 303: determining discrete measurement position coordinates according to the moving path; the method specifically comprises the following steps:

and a plane coordinate system is established on the plane of the fixing piece, and each discrete measuring position on the moving path has a unique corresponding measuring position coordinate on the plane coordinate system.

Step 304: and determining the position voltage according to the measured position coordinates.

Step 305: determining the corresponding relation between the measurement position coordinate and the position voltage according to the position voltage; the method specifically comprises the following steps: the position voltage is a voltage value array consisting of a plurality of voltage values measured by the induction electrode 8 array and voltage values measured by the voltage transformer; further, when the number of the sensing electrodes 8 is 4, the sensing electrodes 1, 2, 3 and 4 are respectively provided, and the voltage value array is a one-dimensional array formed by the measurement voltage of the sensing electrode 1, the measurement voltage of the sensing electrode 2, the measurement voltage of the sensing electrode 3, the measurement voltage of the sensing electrode 4 and the measurement voltage of the voltage transformer.

Further, the voltage value collected by the voltage transformer is used as one of data of the position voltage array, and is used as a reference voltage of the measurement voltage of the sensing electrode 1, the measurement voltage of the sensing electrode 2, the measurement voltage of the sensing electrode 3, and the measurement voltage of the sensing electrode 4.

Step 306: and obtaining the output characteristic of the non-contact voltage sensor according to the corresponding relation.

Specifically, as shown in fig. 4, a controller in the detection device for the output characteristics of the non-contact voltage sensor determines a preset path along which the cable to be measured moves according to the shape of the movable region 7 of the cable to be measured, the controller controls the actuator to move according to the preset path, the controller sets a preset measurement position according to the preset path and the parameters of the actuator, when the cable to be measured moves to the preset measurement position, the data acquisition device detects the voltage value at the position and transmits the voltage value at the position to the controller, the controller stores the preset measurement position and the voltage value at the preset measurement position in a one-to-one correspondence manner, and after the controller records the voltage value, the controller controls the actuator to enable the cable to be measured to generate relative displacement, so that the cable to be measured reaches the next preset measurement position along the preset path. The cable to be measured moves according to a preset path and stops moving at a preset measuring position, after the relative displacement of the cable to be measured is stopped, the data acquisition device acquires a voltage value at the preset measuring position, transmits the voltage value to the control device, and then continues to perform voltage measurement at the next preset measuring position. The preset path is used for determining the moving track and the final coordinate of the cable, the controller controls the motor to realize forward and reverse rotation of the motor, and then the first transmission device and the second transmission device move through forward and reverse rotation of the motor, so that relative movement of the cable to be detected is realized.

As shown in fig. 5, the cable start position, movement path and final stop coordinates are determined by setting the path and coordinate position of the movable region 7 of the cable to be measured; based on the set path coordinates of the movable area 7, the motor is controlled to rotate, the cable to be measured reaches the designated position under the mechanical transmission of the transmission mechanism, the cable to be measured moves relatively in the non-contact voltage measurement area, when the cable moves to one position, the data acquisition device synchronously acquires the cable coordinates and the measured voltage data at the moment, after the data acquisition is finished, the next cycle of path movement is carried out, and the data acquisition of the space positions and the measured voltage of various cables is realized through the mode.

The preset path can enable the moving position of the cable to be measured to basically cover each coordinate in the measuring area, and a complete output characteristic curve of the non-contact voltage sensor is obtained. The cable to be measured moves in a set specific measurement area, and the measurement area can be set to be in different track shapes such as a circle, a square and the like.

Further, as shown in fig. 6, the measurement area is a diamond shape. In the diamond-shaped moving area, four moving processes of the first path 17, the second path 18, the third path 19 and the fourth path 20 are recorded as a moving period, the whole path is formed by n periods of paths, and finally the whole moving area is covered by the circulating path, wherein the specific moving mode of the first path 17 to the fourth path 20 in each moving period is as follows:

(1) the first path 17, embodied as the cable, starts at point a (a, 0) on the X-axis and moves counter-clockwise 45 ° to the X-axis. The implementation method comprises the steps that the motors of the X axis and the Z axis are controlled to rotate simultaneously, the motors on the two axes simultaneously drive the cables to move for a certain distance in the forward directions of the respective axes (namely the forward direction of the X axis and the forward direction of the Z axis), and finally the first path 17 is achieved. The control of the moving distance is realized by the encoders, namely when the change amount of the count value of the two encoders of the X axis and the Z axis reaches a preset value, the control device stops, and the controller records the voltage value and the position coordinate acquired by the data acquisition device (and then the information acquisition of each path point is also realized by the mode).

(2) After reaching point B (2a, a), the cable moves along the second path 18, moving in a direction 135 ° counter clockwise along the x-axis. The implementation method of the cable automatic control system controls the two motors to rotate in the same way as the first path 17, wherein the motor on the X axis realizes that the cable moves a certain distance in the negative direction, the motor on the Z axis drives the cable to move a certain distance in the positive direction, and the third path 19 is changed after the cable reaches the point C.

(3) The third path 19 is oriented to move 45 counterclockwise in the negative x-axis direction. The method is to control the X-axis motor and the Z-axis motor to move the cable in the negative direction for a certain distance and to switch to the fourth path 20 when the cable reaches the position D.

(4) The fourth path 20 is a positive counterclockwise 135 ° movement along the x-axis. The first path 17 direction is continued after the specified target is reached, and the process is repeated until the boundary position is reached.

Based on the path planning, the cable is moved through the rotation of the motor according to the preset value, and the change of the spatial position of the cable is realized.

Further, the motor control is specifically as follows:

(1) motor control mode

The motor adopts a stepping motor, the control mode is pulse control, one pulse motor rotates 1.8 degrees, and after the pulse motor is subdivided by 32 degrees of a driver, the other pulse motor rotates 0.05625 degrees. And aiming at the step loss phenomenon which can occur after the motor is loaded, the encoder is used for confirming the rotation angle of the motor, when the motor is started, the value of the encoder is recorded as 0, then the value of the motor forward rotation encoder is increased, and the value is reduced when the motor reversely rotates.

(2) Motor connecting method

The motor is provided with an input by a power supply of 24V/3A, and A of the stepping motor+、A-、B+、B-The port is connected with the corresponding port of the driver, and the enabling port Ena +, Ena-, the direction control port Dir +, Dir-, the pulse input port Pul +, Pul-of the driver are connected with the IO port set on the single chip microcomputer.

(3) Control scheme

And setting a target coordinate of the cable, and controlling the motor to rotate by the controller according to the difference value of the actual coordinate of the target coordinate domain by using a PID algorithm, so that the cable is dragged to move through the mechanical transmission device and finally reaches a specified target.

As shown in fig. 7, the detection device for the output characteristic of the non-contact voltage sensor further includes an upper computer, and the detection method of the detection device for the output characteristic of the non-contact voltage sensor includes an upper computer unit and a control unit, wherein the control unit includes a motor control unit, an encoder reading unit and a data acquisition unit; the upper computer is a computer which directly sends out control commands and provides functions of user interaction, data storage, analysis and the like. The encoder reading unit determines the moving distance and the coordinates of the cable by reading the rotation angle of the motor; the data acquisition unit is used for corresponding the acquired cable basic voltage signals to the cable position coordinates one by one and recording the voltage values and the corresponding position coordinates.

The specific working process of the acquisition unit in the control method of the detection device for the output characteristic of the non-contact voltage sensor provided by the embodiment is as follows.

As shown in fig. 8, the controller is an STM32 single chip microcomputer; the array of sensing electrodes 8 comprises 4 sensing electrodes 8; firstly, after an acquisition circuit is powered on, respective induction signals are accessed into an operational amplifier by the induction electrodes 8 and the voltage transformer, and the signals amplified by the operational amplifier are sampled by an analog-to-digital converter (ADC) in the single chip microcomputer, wherein the sampling uses the scanning mode of the ADC, the switching time of each channel is short, the sampling of five channels of the ADC is considered to be carried out simultaneously, four induction electrodes 8 have four channels of signals, and the voltage transformer has one channel of signal; secondly, under the condition that the cable is not electrified, measuring the numerical value of each path of ADC, marking as a zero point, and totaling n +1 paths of ADC numerical values; thirdly, after the zero point measurement is finished, electrifying the cable, subtracting a zero point value from the measured data to obtain difference data, acquiring 200 times at each measurement position to obtain 200 difference data, performing root mean square operation on the 200 difference data, wherein the calculated data is effective data of each electrode at each measurement position and the voltage transformer at each measurement position, and combining the five effective data into a one-dimensional array to obtain position voltage; and finally, combining the calculated effective data into a data string according to a Modbus protocol, and uploading the data string to the control unit through the data sending unit.

The specific implementation steps are as follows:

step 201: the procedure is started.

Step 202: the n +1 ADC is enabled.

Step 203: the measurement is a zero point for n +1 data paths on power-up.

Step 204: record n +1 ADC data (set to record every 0.1 ms).

Step 205: and performing corresponding root mean square calculation on every 200 recorded data to obtain effective data.

Step 206: and combining the data into a data string according to the Modbus protocol.

Step 207: the data is sent to the processing unit. Specifically, step 204 is continued after the data is transmitted.

The specific operation process of the control unit of the detection device and the control method for the output characteristic of the non-contact voltage sensor provided by the embodiment is as follows.

Step 101: the procedure is started.

Step 102: and opening the serial port to receive the instruction of the upper computer.

Step 103: judging whether a test starting instruction is accepted or not; if not, returning to the step 102.

Step 104: if yes, setting target coordinates of the cable to be detected.

Step 105: setting the rotation speed and direction of the motor by a PID algorithm; specifically, a proper pulse frequency is calculated by using the result calculated by the PID algorithm to control the motor to move.

Step 106: the motor moves the cable; specifically, the motor is started according to the positive and negative values of the result calculated by the PID algorithm, and the lead screw is driven by the coupler to control the cable to be tested to the designated coordinate.

Step 107: judging whether a position is specified or not; specifically, a current coordinate is calculated through a motor rotation angle, and is compared with an appointed coordinate to judge whether the coordinates are consistent; if yes, the motor is turned off; if not, return to step 105.

Step 108: receiving data sent by the acquisition circuit according to a Modbus protocol; specifically, after the cable reaches the designated coordinates, the cable receives information from the acquisition unit; further, the data comes from step 207.

Step 109: sending the processed data to an upper computer for recording; specifically, voltage data measured by the data acquisition device for synchronously recording the current measurement position coordinates and position coordinate data of the cable are processed and then sent to the upper computer for recording. And the upper computer stores the received position coordinate data and the received voltage data.

Step 110: judging whether the cable reaches the boundary; if not, returning to the step 104; specifically, the motor is driven to move, the target coordinate of the cable to be measured is changed, and the cable to be measured moves to the next point according to the path.

Step 111: the test is exited and the program ends.

Specifically, the upper computer stores the received data of all position coordinates in the movable area 7 and the voltage data measured by the position coordinates to obtain the output characteristics of the non-contact voltage sensor; the data of the output characteristics of the non-contact voltage sensor stored by the upper computer can be used for guiding the design of the non-contact voltage sensor.

The controller controls the actuator to move, so that the cable to be measured moves in the movable area according to a preset path, the cable to be measured stops at a preset measuring position, the data acquisition device acquires a voltage value at the preset measuring position and transmits the voltage value to the controller, position coordinates are established for the preset measuring position, each preset measuring position corresponds to one position coordinate, each position coordinate corresponds to the voltage value acquired by the data acquisition device, synchronous measurement of conductor positions and measuring voltages at different spatial positions of the conductor to be measured is realized, the output characteristic of the non-contact voltage sensor is obtained, and the design of the non-contact voltage sensor is guided according to the output characteristic of the non-contact voltage sensor.

The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.

The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种非接触式微型电压传感器的测量及自校准方法及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!