WO2010124600A1 - Servo motor operated valve and control method thereof - Google Patents

Servo motor operated valve and control method thereof Download PDF

Info

Publication number
WO2010124600A1
WO2010124600A1 PCT/CN2010/072179 CN2010072179W WO2010124600A1 WO 2010124600 A1 WO2010124600 A1 WO 2010124600A1 CN 2010072179 W CN2010072179 W CN 2010072179W WO 2010124600 A1 WO2010124600 A1 WO 2010124600A1
Authority
WO
WIPO (PCT)
Prior art keywords
magnetic
signal
angle
detecting device
position detecting
Prior art date
Application number
PCT/CN2010/072179
Other languages
French (fr)
Chinese (zh)
Inventor
郝双晖
郝明晖
Original Assignee
浙江关西电机有限公司
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 浙江关西电机有限公司 filed Critical 浙江关西电机有限公司
Publication of WO2010124600A1 publication Critical patent/WO2010124600A1/en

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16KVALVES; TAPS; COCKS; ACTUATING-FLOATS; DEVICES FOR VENTING OR AERATING
    • F16K31/00Actuating devices; Operating means; Releasing devices
    • F16K31/02Actuating devices; Operating means; Releasing devices electric; magnetic
    • F16K31/04Actuating devices; Operating means; Releasing devices electric; magnetic using a motor
    • F16K31/046Actuating devices; Operating means; Releasing devices electric; magnetic using a motor with electric means, e.g. electric switches, to control the motor or to control a clutch between the valve and the motor

Definitions

  • the invention relates to an electric valve and a control method thereof, in particular to a servo electric valve for controlling a valve opening degree by a servo motor and a control method thereof.
  • Electric valves have a wide range of applications in the chemical, steel, petroleum and other fields.
  • the current motors for electric valves include asynchronous motors, stepping motors, and inverter drive motors.
  • the motor is connected to the valve stem through a reducer to open and close the control valve.
  • the asynchronous motor is generally used together with the limiter to open or cut off the control circuit of the motor through the limit signal of the limiter. This method can only control the valve to be fully open or fully closed, and the limiter is easily damaged. The torque of the asynchronous motor cannot be controlled, and the torque overrun may cause damage to the valve or equipment.
  • the application number is 200820031710.0, and the valve torque control electric device is designed for the problem of uncontrolled rotor torque.
  • the stepping motor does not need a limiter when driving the valve.
  • the controller can control the opening degree of the valve by giving the stepping motor pulse signal, and can adjust the opening degree of the valve.
  • the stepping motor is open-loop control, the control precision is low, and it is easy to lose the step, resulting in control failure.
  • the application number is 200720125094.0, and an improved stepper motor driven electric valve is proposed. Although some improvements have been made, the stepping motor is still used, and the control mode is still open loop with low precision.
  • the variable frequency electric valve adopts the inverter to drive the asynchronous motor, and the position sensor is installed on the valve, and the opening degree signal of the return valve is formed to form a closed loop control, and the control precision is high.
  • the application number is 200710072541, and a variable frequency electric valve is proposed.
  • Inverter type electric valves require an encoder, and the cost of the encoder is high, especially in the case of harsh environments (such as dust, large wind and large vibration), the encoder required is more expensive, and it is compatible with the AC servo system. Compared, the inverter control has slow response and low precision.
  • the technical problem to be solved by the present invention is to provide a servo electric valve and a control method thereof according to the deficiencies of the prior art, which have high control precision, high reliability, fast response and low cost.
  • a servo electric valve comprises a valve body, wherein a valve stem is arranged in the valve body, and an output of the servo motor is connected to the input of the reducer through a coupling, the output of the reducer is connected with the valve stem, the valve stem is connected with the valve hole and the valve is controlled
  • the opening degree of the hole is characterized in that the motor shaft of the servo motor is provided with a position detecting device, and the position detecting device inputs a signal to the servo controller to control the servo motor to drive the speed reducer and control the opening degree of the valve hole through the valve stem.
  • valve stem may also be provided with a position detecting device, and the position detecting device inputs a signal to the servo controller, and the servo controller controls the servo motor to drive the speed reducer and controls the opening of the valve hole through the valve stem.
  • valve stem is further provided with a transmission mechanism
  • the active component of the transmission mechanism is disposed on the valve stem
  • the position detecting device is disposed on the rotating shaft of the driven member, and the position detecting device inputs a signal to the servo
  • the controller controls the servo motor to drive the speed reducer and controls the opening of the valve hole through the valve stem.
  • the speed reducer is a worm gear reducer or a spur gear reducer or a bevel gear reducer or a planetary gear reducer or a combination thereof.
  • the servo motor is preferably an AC servo motor.
  • the position detecting device, the servo controller and the servo motor can be integrally provided.
  • the servo controller includes a data processing unit, a motor driving unit and a current sensor, and the data processing unit receives the input command signal, the motor input current signal collected by the current sensor, and the information representing the motor angle output by the position detecting device, and the data Processing, outputting a control signal to the motor driving unit, the motor driving unit outputting a suitable voltage to the servo motor according to the control signal, thereby achieving precise control of the servo motor.
  • the data processing unit includes a mechanical loop control subunit, a current loop control subunit, a PWM control signal generating subunit, and a sensor signal processing subunit;
  • the sensor signal processing subunit receives information representing a motor angle output by the position detecting device, and transmits an angle of the motor to the mechanical ring control subunit; the sensor signal processing subunit further receives the current sensor The detected current signal is sampled by A/D and output to the current loop control subunit;
  • the mechanical ring control subunit obtains a current command through operation according to the received command signal and the rotation angle of the motor shaft, and outputs the current command to the current loop control subunit;
  • the current loop control subunit obtains a duty control signal of the three-phase voltage according to the current signal output by the current sensor of the received current command, and outputs the duty control signal to the PWM control signal generating subunit;
  • the PWM control signal generating sub-unit generates six PWM signals having a certain order according to the received duty control signal of the three-phase voltage, and respectively acts on the motor driving unit.
  • the motor drive unit comprises six power switch tubes, the switch tubes are connected in series in two groups, three groups are connected in parallel between the DC power supply lines, and the control end of each switch tube is output by the PWM control signal generating sub-unit.
  • the control of the PWM signal, the two switching tubes in each group are time-divisionally turned on.
  • the data processing unit is an MCU
  • the motor driving unit is an IPM module.
  • the position detecting device comprises a magnetic steel ring, a magnetic conductive ring and a magnetic induction element, wherein the magnetic conductive ring is composed of two or more segments of the same radius and the same center, and the adjacent two arc segments have a slit.
  • the magnetic induction element is disposed in the gap, and when the magnetic steel ring and the magnetic flux ring rotate relative to each other, the magnetic induction element converts the sensed magnetic signal into a voltage signal, and transmits the voltage signal to the corresponding signal processing device. .
  • the magnetic conductive ring is composed of two arc segments of the same radius and the same center, which are respectively a quarter arc segment and a 3/4 arc segment, and the corresponding magnetic induction elements are two; or, the magnetic conductive ring is The three segments are formed by arcs of the same radius, respectively, which are 1/3 arc segments, and the corresponding magnetic induction elements are three; or, the magnetic conductive ring is composed of four segments of the same radius, which are respectively 1/4 arc segments.
  • the corresponding magnetic induction elements are four; or, the magnetic conductive ring is composed of six segments of the same radius, which are respectively 1/6 arc segments, and the corresponding magnetic induction elements are six.
  • the end of the arc of the magnetically permeable ring may be chamfered to form a chamfer formed by cutting axially or radially or simultaneously in the axial direction and in the radial direction.
  • the position detecting device further includes a skeleton for fixing the magnetic conductive ring; the magnetic conductive ring is disposed on the skeleton forming mold, and is fixed to the skeleton when the skeleton is integrally formed.
  • the sensor signal processing subunit or the position detecting device includes a signal processing circuit of the position detecting device, and is configured to obtain a rotation angle of the motor shaft according to the voltage signal of the position detecting device, and specifically includes:
  • the A/D conversion circuit performs A/D conversion on the voltage signal transmitted from the magnetic induction element in the position detecting device, and the analog signal is Convert to a digital signal;
  • a synthesizing circuit that processes a plurality of A/D-converted voltage signals sent from the position detecting device to obtain a reference signal
  • An angle obtaining circuit selecting an angle opposite to the standard angle table as an offset angle
  • a storage circuit for storing a standard angle table for storing a standard angle table.
  • the position detecting device includes a rotor and a stator that surrounds the rotor, the rotor including a first magnetic steel ring and a second magnetic steel ring;
  • first magnetic steel ring and the second magnetic steel ring are respectively fixed on the motor shaft;
  • the magnetic pole magnetization sequence of the second magnetic steel ring causes the output of the n magnetic induction elements to be in a Gray code format, and only one bit of the adjacent two outputs changes;
  • the stator On the stator, corresponding to the first magnetic steel ring, there are m magnetic induction elements distributed at an angle on the same circumference centered on the center of the first magnetic steel ring, wherein m is an integer multiple of 2 or 3,
  • the total magnetic pole of the first magnetic steel ring is equal to the total number of magnetic poles of the second magnetic steel ring, and the polarities of the adjacent two poles are opposite;
  • the magnetic sensing element converts the sensed magnetic signal into a voltage signal when the rotor is relatively rotationally moved relative to the stator, and outputs the voltage signal to the signal processing device.
  • the angle between the adjacent two magnetic induction elements on the stator corresponding to the first magnetic steel ring when m is 2 or 4, the included angle is 90° / g ; when m is 3, the The angle is 120° / g ; when m is 6, the angle is 60 ° / g, where g is the total number of magnetic poles of the second magnetic steel ring.
  • the position detecting device includes a rotor and a stator that surrounds the rotor, the rotor including a first magnetic steel ring and a second magnetic steel ring;
  • the stator On the stator, corresponding to the first magnetic steel ring, there are m magnetic induction elements distributed at an angle on the same circumference centered on the center of the first magnetic steel ring, wherein m is an integer multiple of 2 or 3;
  • the magnetic sensing element converts the sensed magnetic signal into a voltage signal when the rotor is relatively rotationally moved relative to the stator, and outputs the voltage signal to the signal processing device.
  • the angle between adjacent two magnetic sensing elements on the stator corresponding to the second magnetic steel ring is 360° /N.
  • an angle between each adjacent two magnetic induction elements is 90° /N
  • the angle between each adjacent two magnetic induction elements is 120° / N; when m is 6, the angle between each adjacent two magnetic induction elements is 60 ° /N.
  • the magnetic sensing element is directly attached to the inner surface of the stator.
  • the position detecting device further comprises two magnetic conductive rings, each of the magnetic conductive rings is composed of a plurality of arcs of the same center and the same radius, and the adjacent two arc segments have a gap corresponding to the two magnetic steels.
  • the magnetic sensing elements of the ring are respectively disposed within the gap.
  • the arcuate end of the magnetically permeable ring may be provided with a chamfer, which is a chamfer formed by cutting axially or radially or simultaneously in the axial direction and in the radial direction.
  • the magnetic sensing element is a Hall sensing element.
  • the sensor signal processing subunit or the position detecting device includes a signal processing circuit of the position detecting device, and is configured to obtain a rotation angle of the motor shaft according to the voltage signal of the position detecting device, and specifically includes:
  • the A/D conversion circuit performs A/D conversion on the voltage signal sent from the position detecting device to convert the analog signal into a digital signal;
  • a relative offset angle calculating circuit configured to calculate a relative offset of the first voltage signal sent by the magnetic sensing element corresponding to the first magnetic steel ring in the position detecting device during the signal period;
  • An absolute offset calculation circuit determines, by calculation, an absolute offset of a first position of a signal period at which the first voltage signal is located, according to a second voltage signal transmitted from a magnetic induction element corresponding to the second magnetic steel ring in the position detecting device ;
  • An angle synthesis and output module configured to add the relative offset and the absolute offset to synthesize a rotation angle ⁇ represented by the first voltage signal at the moment;
  • a storage module for storing data.
  • the position detecting device further includes a signal amplifying circuit for amplifying the voltage signal from the magnetoelectric sensor before the A/D converting circuit performs A/D conversion.
  • the relative offset angle calculation circuit includes a first synthesis circuit and a first angle acquisition circuit, and the first synthesis circuit processes the A/D-converted voltage signals sent by the position detection device to obtain a reference signal. D.
  • the first angle acquiring circuit selects an angle opposite to the first standard angle table as an offset angle according to the reference signal D.
  • the relative offset angle calculation circuit or before the synthesis circuit further includes a temperature compensation circuit for eliminating the influence of temperature on the voltage signal transmitted from the magneto-electric sensor.
  • the output of the synthesis circuit or the first synthesis circuit further includes a signal R;
  • the temperature compensation unit includes a coefficient aligner and a multiplier, and the signal of the coefficient aligner to the output of the synthesis module
  • the multiplier is a plurality, and each of the multipliers outputs a voltage signal that is A/D converted from the position detecting device and an output signal K of the coefficient correction module. Multiply, and the multiplied result is output to the first synthesizing circuit.
  • the absolute offset calculation circuit includes a second synthesis circuit and a second angle acquisition circuit, and the second synthesis circuit is configured to synthesize a second voltage signal sent by the position detecting device corresponding to the second magnetic steel ring. Obtaining a signal E; the second angle obtaining circuit selects an angle opposite to the signal in the second standard angle table as the absolute offset of the first position of the signal period in which the first voltage signal is located.
  • the invention also provides a control method of a servo electric valve, the method comprising the following steps:
  • Step 1 Set the valve opening value of the electric valve, and pre-store the value in the MCU of the servo controller;
  • Step 2 Calculate the displacement of the valve stem according to the opening value of the valve of the electric valve, and the servo controller calculates the driving angle of the rotating shaft according to the transmission ratio of the reducer;
  • Step 3 Detect the actual angle of the motor shaft, control the driving angle of the servo motor to achieve the pre-stored value, and realize the valve opening control of the electric valve.
  • the specific steps detected in the step 3 are: the servo controller reads the voltage signal of the position detecting device every other fixed period, and converts the voltage signal into an angle of the motor shaft through an angle solving algorithm. position.
  • the present invention also provides another method of controlling a servo electric valve, the method comprising the following steps:
  • Step 1 Detect the angular position of the valve stem, transmit the induced voltage signal to the MCU of the servo controller, and the servo controller calculates the angular position information of the valve stem;
  • Step 2 Detect the angular position of the servo motor shaft, and transmit the induced voltage signal to the MCU of the servo controller.
  • the servo controller calculates the angular position information of the rotating shaft.
  • Step 3 The MCU receives the voltage signal of the position detecting device and the motor three-phase current signal induced by the current sensor, and runs the angle solving algorithm and performs corresponding control calculation, calculates the PWM signal to the motor control module, and controls the motor control module to output the three-phase voltage.
  • the duty cycle the motor control module accepts the control of the MCU, outputs the three-phase voltage to the servo motor, drives the servo motor to move, and realizes the valve opening control of the electric valve.
  • the specific method of step 1 includes disposing a position detecting device on the valve stem, and directly detecting, calculating, and obtaining angular position information of the valve stem by the position detecting device.
  • the specific method of step 1 includes: providing a transmission mechanism on the valve stem, the active component of the transmission mechanism is disposed on the valve stem, and the position detecting device is disposed on the rotating shaft of the driven component, and the transmission ratio is The setting makes the displacement of the transmission mechanism one-to-one corresponding to the opening degree of the valve, and the displacement of the transmission mechanism is detected by the position detecting device, and the opening degree of the valve is directly obtained.
  • the size of the transmission ratio is set such that the valve rotates from fully open to fully closed or from fully closed to fully open, and the rotation angle of the driven member in the transmission mechanism is less than 360°.
  • the valve opening can be arbitrarily controlled as needed, and the control accuracy is very high.
  • the AC servo system has high control precision, and the position detecting device senses the angular position to form a closed loop control, so the control precision of the entire electric valve is high.
  • the position detector is replaced by a position detector that is very low cost and much lower than conventional encoders.
  • the position detection device is a non-contact sensor that is dust-proof and vibration-resistant, and works well even in harsh environments. At present, the permanent magnet material technology has been greatly developed, and the magnetic steel in the position detecting device does not demagnetize under normal use environment. Position detection devices are installed on the valve stem and the motor shaft, which improves control accuracy and enhances reliability.
  • the AC servo system has a current sensor and a position sensor.
  • the torque and speed can be controlled as needed to avoid valve or equipment damage caused by excessive torque or speed when the valve is opened and closed.
  • FIG. 1 is a schematic view showing the overall structure of a first embodiment of a servo electric valve according to the present invention
  • FIG. 2 is a schematic cross-sectional view of a servo electric valve of the present invention
  • FIG. 3 is a schematic diagram of a control structure of a servo electric valve according to the present invention.
  • FIG. 4 is a schematic view showing a first embodiment of a control structure of a servo electric valve according to the present invention
  • Figure 5 is a mechanical ring diagram of the control system of the servo electric valve
  • FIG. 6 is a schematic diagram of a second embodiment of a control structure of a servo electric valve according to the present invention.
  • FIG. 7 is a schematic view showing the overall structure of a second embodiment of a servo electric valve according to the present invention.
  • Figure 8 is a schematic view showing the control structure of the second embodiment of the servo electric valve of the present invention.
  • FIG. 9 is a schematic overall structural view of a third embodiment of a servo electric valve according to the present invention.
  • Figure 10 is a schematic view showing the structure of the unipolar position detecting device mounted on the shaft;
  • Figure 11 is an exploded perspective view of the unipolar position detecting device
  • Figure 14 to Figure 17 are chamfered design drawings of the magnetically permeable ring
  • Embodiment 18 is a schematic structural view of Embodiment 1 of a unipolar position detecting device
  • Figure 19 is a block diagram of a signal processing apparatus of the first embodiment of the unipolar position detecting device
  • 20 is a schematic structural view of a second embodiment of a unipolar position detecting device
  • Figure 21 is a block diagram of a signal processing apparatus of the second embodiment of the unipolar position detecting device
  • Figure 22 is a schematic structural view of a third embodiment of the unipolar position detecting device.
  • Figure 23 is a block diagram of a signal processing apparatus of a third embodiment of the unipolar position detecting device.
  • Figure 24 is a schematic structural view of a fourth embodiment of the unipolar position detecting device.
  • Figure 25 is a block diagram of a signal processing apparatus of a fourth embodiment of the unipolar position detecting device.
  • Figure 26 is an exploded perspective view of the multi-pole position detecting device
  • Figure 27 is a schematic view showing the structure of combining the components of the position detecting device provided with two magnetically conductive rings;
  • 28 is a flow chart showing a signal processing method of the multi-pole position detecting device arranged in sequence
  • 29 is a second flowchart of a signal processing method of the position detecting device sequentially disposed
  • Figure 30 is a third flowchart of the signal processing method of the position detecting device arranged in sequence
  • Figure 31 is a fourth flowchart of the signal processing method of the position detecting device arranged in sequence
  • Figure 32 is a structural view of a first magnetic steel ring, a magnetic flux ring, and a magnetic induction element of the first embodiment of the position detecting device provided in sequence;
  • Figure 33 is a first magnetic steel ring charge of the first embodiment of the position detecting device provided in sequence. Magnetic magnetic sequence and positional relationship with magnetic sensing elements;
  • Figure 34 is a flow chart of the algorithm of the magnetic steel ring 303.
  • Figure 35 is a block diagram of a signal processing device of the first embodiment of the position detecting device sequentially disposed;
  • Figure 36 is a schematic view showing the structure of a first magnetic steel ring Hall element, a magnetic conductive ring, and a magnetic induction element of the second embodiment of the position detecting device of the sequential arrangement;
  • Figure 37 is a view showing the positional relationship between the magnetic flux of the first magnetic steel ring and the position of the magnetic induction element in the second embodiment of the position detecting device of the sequential setting mode;
  • Figure 38 is a block diagram of a signal processing device of a second embodiment of the position detecting device of the sequential setting mode
  • Figure 39 is a schematic view showing the structure of a first magnetic steel ring Hall element, a magnetic conductive ring, and a magnetic induction element of the third embodiment of the position detecting device of the sequential arrangement;
  • Figure 40 is a view showing the positional relationship between the magnetic flux of the first magnetic steel ring and the position of the magnetic induction element in the third embodiment of the position detecting device of the sequential setting mode;
  • Figure 41 is a block diagram of a signal processing device of a third embodiment of the position detecting device of the sequential setting mode
  • Figure 42 is a schematic view showing the structure of a first magnetic steel ring Hall element, a magnetic conductive ring, and a magnetic induction element of the fourth embodiment of the position detecting device;
  • Figure 43 is a view showing the positional relationship between the magnetic flux of the first magnetic steel ring and the position of the magnetic induction element of the fourth embodiment of the position detecting device;
  • Figure 44 is a block diagram of a signal processing device of a fourth embodiment of the position detecting device sequentially disposed;
  • Figure 45 is an exploded perspective view showing the structure of a position detecting device in which a magnetic sensing element is directly attached to a position detecting device; 46 to 49 are schematic structural views of the magnetic induction element corresponding to the first magnetic steel ring directly attached to the position detecting device;
  • Figure 50 is a first embodiment of the position detecting device uniformly disposed corresponding to the code obtained when the second magnetic steel ring is provided with three magnetic sensing elements;
  • Figure 51 is a first embodiment of the position detecting device uniformly disposed corresponding to the magnetizing sequence of the second magnetic steel ring when the second magnetic steel ring is provided with three magnetic sensing elements;
  • Figure 52 is a structural view of a second magnetic steel ring, a magnetic flux ring, and a magnetic induction element of the first embodiment of the position detecting device which is uniformly disposed.
  • Figure 53 is a first magnetic ring uniform magnetization of the first embodiment of the position detecting device which is uniformly disposed.
  • Figure 54 is a structural view of a first magnetic steel ring, a magnetic flux ring and a magnetic induction element of the first embodiment of the position detecting device which is uniformly disposed;
  • Figure 55 is a first magnetic steel ring of the second embodiment of the position detecting device which is uniformly disposed,
  • FIG. 56 is a structural view of a first magnetic steel ring, a magnetic flux ring, and a magnetic induction element of a third embodiment of the position detecting device that is uniformly disposed;
  • FIG. 57 is a configuration of a position detecting device that is uniformly disposed.
  • 4 is a structural view of a first magnetic steel ring, a magnetic flux ring, and a magnetic induction element;
  • FIG. 58 is an exploded perspective view showing another structure of the first to fourth embodiments of the position detecting device that is uniformly disposed;
  • FIG. 59 is another Schematic diagram of a type of speed reduction device;
  • Figure 60 is a schematic structural view of another speed reducing device
  • Figure 61 is an exploded view of the all-in-one. Detailed ways
  • FIG. 1 is a schematic view showing the overall structure of a first embodiment of a servo electric valve according to the present invention.
  • the present invention provides a servo electric valve including a valve body 1, and two ends of the valve body 1 are an outlet chamber 41 and an inlet chamber 40, respectively.
  • the valve body 1 is provided with a valve stem 2, and the output of the servo motor 10 is connected to the reducer input end worm 24 via a coupling 3, the output end of the reducer turbine 25 is connected to the valve stem 2, and the valve stem 2 is connected to the valve hole 5. And controlling the opening degree of the valve hole 5.
  • the motor shaft of the servo motor 10 is provided with a position detecting device 7, and the position detecting device 7 inputs a signal to the servo controller. 9 controls the servo motor. 10 drives the speed reducer and controls the opening degree of the valve hole 5 through the valve stem 2.
  • the servo electric valve of the present invention can control the opening degree of the valve hole 5 by both manual and electric methods, because in some special cases, such as the failure of the electric control valve hole 5, a manual control valve is required.
  • Hole 5 When the hand wheel 30 is rotated, the worm 24 is rotated by the coupling 6, and the worm 24 drives the worm wheel 25 to rotate, and the worm wheel 25 is restricted from moving axially and can only rotate.
  • the upper end of the valve stem 24 is threaded, and the worm wheel 25 is threadedly connected to the valve stem 2, and the valve stem 2 is restricted from rotating and can only move up and down in the axial direction.
  • valve stem 2 When the worm wheel 25 rotates, the valve stem 2 is raised or lowered by the action of the thread, thereby opening or closing the valve hole 5.
  • Another type of electric control is to control the operation of the servo motor 10 through the servo controller 9.
  • the servo motor 10 rotates the worm 24 through the coupling 3, and the worm 24 drives the worm wheel 25 to rotate.
  • the valve stem 2 As with the manual control, when the worm wheel 25 rotates, the valve stem 2 is raised or lowered by the action of the thread, thereby opening or closing the valve hole 5.
  • a position detecting device 7 is mounted on the motor shaft for detecting the angular position of the motor shaft, and is transmitted to the servo controller 9 through the signal line 8, and the servo controller 9 performs closed-loop control on the servo motor 10 through the control line 31, thereby precisely controlling the valve.
  • Fig. 3 is a schematic view showing the control structure of the servo electric valve of the present invention.
  • the control system of the electric valve includes a servo controller 9, a servo motor 10, and a position detecting device 7.
  • the servo controller 9 includes a data processing unit, a motor driving unit and a current sensor.
  • the data processing unit receives the input command signal, the motor input current signal collected by the current sensor, and the information representing the motor angle output by the position detecting device 7 After the data processing, the control signal is output to the motor driving unit, and the motor driving unit outputs an appropriate voltage to the servo motor 10 according to the control signal, thereby achieving precise control of the servo motor 10.
  • the data processing unit includes a mechanical loop control subunit, a current loop control subunit, a PWM control signal generating subunit, and a sensor signal processing subunit;
  • the sensor signal processing subunit receives information representative of the motor angle output by the position detecting device, and transmits the angle of the motor to the mechanical ring control subunit; the sensor signal processing subunit further receives the detected current of the current sensor The signal is output to the current loop control subunit after being sampled by A/D;
  • the mechanical ring control subunit obtains a current command through operation according to the received command signal and the rotation angle of the motor shaft, and outputs the current command to the current loop control subunit;
  • the current loop control sub-unit obtains a duty control signal of the three-phase voltage according to the current signal output by the current sensor of the received current command, and outputs the duty control signal to the PWM control signal generating sub-unit;
  • the PWM control signal generating sub-unit generates six PWM signals having a certain order according to the received duty control signal of the three-phase voltage, and respectively acts on the motor driving unit.
  • the motor drive unit comprises six power switch tubes, the switch tubes are connected in series in two groups, three groups are connected in parallel between the DC power supply lines, and the control end of each switch tube is subjected to a PWM control signal to generate a PWM signal output by the subunit. Control, the two switching tubes in each group are time-divisionally turned on.
  • the motor drive unit generates a three-phase voltage to the servo motor 10 according to the PWM signal, and controls the servo motor 10 to operate.
  • the servo motor 10 drives the worm 24 to rotate by the coupling 3, so that the valve rod 2 is driven up and down by the turbine 25 to control the opening of the valve hole 5.
  • FIG. 4 is a schematic view showing a first embodiment of a control structure of a servo electric valve according to the present invention.
  • the data processing unit is an MCU
  • the motor drive unit is an IPM module.
  • the voltage signal is output from the position detecting means 7, so that an angle calculating unit is provided in the data processing unit of the servo controller 9, and the voltage signal outputted from the position detecting means 7 is converted into angle information.
  • the MCU calculates the displacement of the valve stem ascending or descending according to the set opening degree of the valve, and then calculates the angular position of the worm wheel shaft by the pitch, and then calculates the angular position of the motor shaft through the gear ratio of the reducer. , that is, the angle command, controls the opening of the valve by controlling the rotation of the motor to a specified angle.
  • the mechanical loop obtains the angular feedback from the angle command and the angle solving algorithm. After the control calculation, the current command is calculated and transmitted to the current loop.
  • the mechanical ring includes the worm gear position ring, the motor position ring and the speed ring, the worm wheel position ring output motor angle command, the motor position ring output speed command, and the speed loop output current command.
  • the worm wheel angle command is calculated according to the set valve opening degree.
  • the position detecting device 7 senses the angular position of the motor shaft, and transmits the induced voltage signal to the MCU, and obtains a digital signal containing the angle information through A/D sampling, and transmits the digital signal to the CPU in the MCU, and the CPU runs the angle solving algorithm to obtain the motor angle. Feedback.
  • the motor angle command subtracts the motor angle feedback to obtain the motor angle error.
  • PID control is performed on the motor angle by the PID controller to obtain the speed command.
  • the PID control of the motor angle is called the motor position loop, and the motor position loop outputs the speed command, which is transmitted to Speed loop.
  • the motor angle feedback is obtained by the differentiator, the speed command is subtracted from the speed feedback, and the speed error is obtained.
  • the PID controller controls the speed to obtain the current command K.
  • the PID control of speed is called the speed loop.
  • the current command is the output of the speed loop, also the output of the mechanical loop, and the mechanical loop outputs the current command to the current loop.
  • Fig. 6 is a schematic view showing a second embodiment of the control structure of the servo electric valve of the present invention.
  • the control structure shown in FIG. 4 is different in that, in this embodiment, the position detecting device 7 is integrated with an angle calculating unit, so that the voltage signal is converted into an angle in the position detecting device 7. signal.
  • the direct output angle signal is input into the mechanical ring subunit through the synchronization port communication.
  • the control method of the servo electric valve of the present invention will be described in conjunction with the control structure diagram of the servo electric valve described above.
  • Set electric valve The door opening value is pre-stored in the MCU of the servo controller; the displacement of the valve stem is calculated according to the opening value of the valve of the electric valve, and the servo controller calculates the motor shaft according to the transmission ratio of the reducer.
  • Driving angle the servo controller reads the voltage signal of the position detecting device every other fixed period, and converts the voltage signal into an angular position of the motor shaft through an angle solving algorithm. The actual angle of the motor shaft is detected, and the driving angle of the servo motor is controlled to reach the pre-stored value to realize the valve opening degree control of the electric valve.
  • Fig. 7 is a schematic view showing the overall structure of a second embodiment of the servo electric valve of the present invention. As shown in Fig. 7, a position detecting device 7 is also provided on the turbine shaft 32. The position detecting device 7 detects the angle information of the valve stem 2, inputs an input signal to the servo controller 9, and the servo controller 9 controls the servo motor 10 to drive the speed reducer. The opening of the valve hole 5 is controlled by the valve stem 2.
  • Fig. 8 is a schematic view showing the control structure of the second embodiment of the servo electric valve of the present invention.
  • a position detecting device 7 is respectively mounted on the worm 2 and the motor shaft for detecting the angular position of the worm 2 and the angular position of the motor shaft, respectively, and transmitting the same to the servo.
  • the controller 9, the servo controller 9 performs closed-loop control of the worm and the servo motor 10, thereby controlling the opening degree of the valve.
  • the control method of the second embodiment of the servo electric valve of the present invention is as follows: a position detecting device is arranged on the valve stem, and the position detecting device directly detects, calculates and obtains the angular position information of the valve stem, and transmits the induced voltage signal to the servo controller.
  • the MCU, the servo controller is calculated to obtain the angular position information of the valve stem; the angular position of the servo motor shaft is detected, and the induced voltage signal is transmitted to the MCU of the servo controller, and the servo controller is calculated to obtain the angular position information of the motor shaft.
  • the MCU receives the voltage signal of the position detecting device and the motor three-phase current signal induced by the current sensor, and runs the angle solving algorithm and performs corresponding control calculation, calculates the PWM signal to the motor control module, and controls the output of the three-phase voltage of the motor control module.
  • Air ratio the motor control module accepts the control of the MCU, outputs the three-phase voltage to the servo motor, drives the servo motor to move, and realizes the valve opening control of the electric valve.
  • Fig. 9 is a schematic view showing the overall structure of a third embodiment of the servo electric valve of the present invention.
  • the difference from the second embodiment is that a transmission mechanism is further disposed on the valve stem 2, and the active member of the transmission mechanism is disposed on the valve stem 2, and the position detecting device is disposed on the rotating shaft of the driven member.
  • the active member of the transmission mechanism is a gear 43 and the driven member is a gear 44, that is, a gear transmission mechanism.
  • the gear 44 is disposed on the gear shaft 42.
  • the position detecting device 7 inputs a signal to the servo controller 9, and the servo controller 9 controls the servo motor 10 to drive the speed reducer and control the opening degree of the valve hole 5 through the valve stem 2.
  • valve stem 2 when the valve stem 2 is at the bottom, the valve hole 5 is blocked, and the liquid inlet chamber 40 and the liquid outlet chamber 41 are not connected, so that the valve is closed.
  • the valve stem 2 moves upward from the bottom, the valve hole 5 is gradually opened, and the inlet chamber and the outlet chamber are connected to realize the opening of the valve.
  • the function of the sealing packing 36 is to prevent the liquid in the valve body 1 from flowing out of the valve cover 33.
  • the control method of the third embodiment of the servo electric valve of the present invention is as follows: a transmission mechanism is arranged on the valve stem, and the active member of the transmission mechanism is disposed on the valve stem, and the position detecting device is arranged on the rotating shaft of the driven member, and the transmission ratio is adopted.
  • the setting makes the displacement of the transmission mechanism one-to-one corresponding to the opening degree of the valve, and the position detecting device detects the displacement of the transmission mechanism, and directly obtains the opening degree of the valve.
  • the setting of the transmission ratio makes the valve from full open to fully closed or from fully closed to fully open, and the rotation angle of the driven shaft of the transmission mechanism is less than 360°; detecting the angular position of the servo motor shaft will induce The voltage signal is transmitted to the MCU of the servo controller, and the servo controller is calculated to obtain the angular position information of the motor shaft; the MCU receives the voltage signal of the position detecting device and the motor three-phase current signal induced by the current sensor, and runs the angle solving algorithm and performs Corresponding control calculation, calculate PWM signal to motor control module, control motor control module output three-phase voltage duty cycle, motor control module accept MCU control, output three-phase voltage to servo motor, drive servo motor movement, realize electric valve Valve opening control.
  • the position detecting device of the present invention is provided with a magnetic steel ring and a magnetic conductive ring, and is called a unipolar position detecting device.
  • a plurality of magnetic steel rings and a corresponding plurality of magnetic conductive rings may be provided, which are referred to as multi-pole position detecting devices.
  • one or more magnetic steel rings are arranged on the rotating shaft, the magnetic steel ring is externally sheathed with a magnetic conductive ring, and the magnetic sensing element is inserted in the magnetic conductive ring.
  • a skeleton is further provided to integrally form the magnetic flux guiding ring and the skeleton.
  • Figure 10 is a schematic view showing the structure of the single-pole position detecting device mounted on the shaft;
  • Figure 11 is an exploded perspective view of the single-pole position detecting device;
  • Figure 12 and Figure 13 are perspective views of the single-pole position detecting device mounted on the shaft;
  • the position detecting device of the present invention is composed of a magnetic induction element board 102, a magnetic steel ring 103, a magnetic conductive ring 104, and a bobbin 105;
  • the magnetic induction element board 102 is composed of a PCB board and a magnetic induction element 106, which is on the magnetic induction element board 102.
  • a connector 108 is also provided.
  • the magnetic sensing element 106 typically employs a Hall sensing element.
  • the magnetic steel ring 103 is mounted on a shaft 107.
  • the shaft 107 is a plurality of rotating shafts including a valve stem, a motor shaft, and a follower shaft of the transmission in various embodiments of the electric valve, and the magnetic flux ring 104 is fixed to the skeleton.
  • the skeleton 105 is fixed at a suitable position on the motor.
  • the magnetic induction element 106 fixed on the PCB converts the magnetic field passing through the magnetic flux ring 104 into a voltage signal and outputs it, and the voltage signal directly enters the main control board chip.
  • the voltage signal is processed by the chip on the main control board, and finally the angular displacement is obtained.
  • the magnetic flux ring 104 is disposed on the skeleton forming mold, and is fixed to the skeleton 105 when the skeleton is integrally formed.
  • FIG. 14 to 17 illustrate the chamfering design of the magnetic flux guiding ring of the present invention by taking a magnetic conducting ring composed of a 1/4 arc segment and a 3/4 arc segment as an example.
  • the magnetic flux ring is composed of two or more segments of the same radius and the same center.
  • the magnetic ring shown in Fig. 14 has no chamfer design, and the arc segments shown in Fig. 15 to Fig. 17
  • the end portion is provided with a chamfer, which is a chamfer formed by cutting in the axial direction (Fig. 15) or the radial direction (Fig. 16) or simultaneously in the axial direction and the radial direction (Fig.
  • the axial section 151, 154, radial section 152, 153 is left between two adjacent arc segments, and a magnetic induction element is placed in the gap.
  • the magnetic induction element converts the sensed magnetic signal into a voltage signal, and This voltage signal is transmitted to the corresponding controller.
  • the enthalpy is relatively small, so that the heat generation due to the alternating magnetic field can be reduced.
  • the magnetic field strength of the end portion can be increased, so that the output signal of the magnetic induction element is enhanced.
  • the present invention also provides a signal processing apparatus based on the position detecting apparatus of the above structure, comprising: an A/D conversion circuit, a synthesizing module, an angle acquiring module, and a storage module, wherein the A/D converting circuit is magnetically sensed in the position detecting device
  • the voltage signal sent from the component is A/D converted, and the analog signal is converted into a digital signal corresponding to the number of magnetic sensing elements.
  • the module has a plurality of A/D converters for transmitting to each magnetic sensing element.
  • the voltage signal is subjected to A/D conversion; the synthesis module processes the A/D converted plurality of voltage signals to obtain a reference signal D; and the angle acquisition module selects in the angle storage table according to the reference signal 0 An angle opposite thereto is used as an offset angle; the storage module is configured to store data.
  • Each of the above modules may constitute an MCU.
  • the position detecting device of the present invention and its signal processing device will be described in detail below by way of embodiments.
  • the sensor referred to hereinafter is a magnetic induction element.
  • Two magnetic induction elements are provided in the unipolar position detecting device.
  • Figure 18 is a schematic view showing the structure of the first embodiment of the unipolar position detecting device.
  • the magnetic flux ring is composed of two arc segments of the same radius, which are respectively a quarter arc segment 111 and a 3/4 arc segment 112, and the positions A and B are at an angle of 90 ° and slit.
  • Two magnetic sensing elements 109 and 110 are placed in the slits at A and B, respectively.
  • the magnetic flux ring is mounted concentrically with the magnetic steel ring 113.
  • FIG. 19 is a block diagram of a signal processing apparatus of the first embodiment of the unipolar position detecting device.
  • the output signals of the magnetic sensing elements H la and H 2a are connected to the analog input port of the built-in A/D converter of the MCU, and the output signals are obtained after analog-to-digital conversion.
  • the multipliers 20a, 21a, the output signal K of the coefficient aligner 5a are connected to the input terminals of the multipliers 20a, 21a, the output signals of the multipliers 20a, 21a are coupled to the input of the amp 3a, and the synthesizer 3a outputs the signal D and R, the coefficient corrector 5a receives the signals D and R output from the synthesizer 3a, obtains the signal K by calculation, and multiplies the signals of the magnetic induction elements H la and H 2a by the signal K, thereby performing temperature compensation and eliminating The effect of temperature on the signal.
  • An angle storage table is stored in the memory 40a, and the MCU selects an angle opposite thereto in the angle storage table as the offset angle according to the signal D.
  • the processing of the signal that is, the processing principle of the synthesizer 3a on the signal is: comparing the magnitude of the values of the two signals, the signal D having a small value for output, and the structure of the signal D is ⁇ the coincidence of the first signal, The coincidence bit of the second signal, the numerical value of the signal of the smaller value ⁇ .
  • _0 indicates the value bit of the data X (the absolute value of the data), that is, the remaining data bits are removed from the sign bit.
  • R 2 + B 2 .
  • a standard angle table is stored in the storage module in which a series of codes are stored, each code corresponding to an angle.
  • the table is obtained by calibration, and the calibration method is: using the detecting device of the embodiment and a high-precision position sensor, the signals output by the magnetic sensing element in the embodiment and the angle of the high-precision position sensor output are in one-to-one correspondence. In order to establish a relationship between the signal and the angle of the output of a magnetic induction element.
  • some data correction tables are also stored in the storage module, and the tables include a correspondence table of the signal D and the signal R Q , wherein the signal R.
  • the tables include a correspondence table of the signal D and the signal R Q , wherein the signal R.
  • FIG. 20 is a schematic structural view of a second embodiment of a unipolar position detecting device.
  • the position detecting device is different from the position detecting device provided with two magnetic sensing elements in that the magnetic conducting ring is composed of four quarter-arc segments 118, 119, 120 and 121 of the same radius, A, B, C. , D four positions are sequentially separated by 90 °.
  • Four magnetic sensing elements 114, 115, 116 and 117 are respectively placed in the slit A, B, C and D.
  • Figure 21 is a block diagram of a signal processing apparatus of a second embodiment of the unipolar position detecting device.
  • the signal processing apparatus and the processing method are similar to those of the first embodiment, except that since there are four magnetic sensing elements that are 90 degrees apart from each other in the second embodiment, a subtractor is added to the signal processing apparatus.
  • 20b, 21b that is, the digital difference module, the temperature and zero drift are suppressed by the modules of the subtractors 20b, 21b, thereby improving the data precision, and finally the signals output to the synthesizer are still two, the processing procedure and the method and the first embodiment the same. Therefore, it will not be described here.
  • Figure 22 is a schematic view showing the structure of the third embodiment of the unipolar position detecting device.
  • the position detecting device is different from the position detecting device provided with four magnetic sensing elements in that the magnetic conducting ring is composed of three segments of the same radius of 1/3 arc segments 126, 127 and 128, A, B, C. The positions are 120° apart.
  • Three sensors 123, 124, and 125 are placed at slits A, B, and C, respectively.
  • Figure 23 is a block diagram of a signal processing apparatus of a third embodiment of the unipolar position detecting device. Different from the first embodiment, there are three magnetic induction elements and three signals output to the synthesizer. The synthesizer is different from the first embodiment in processing signals, and the rest is the same as the first embodiment. Here, only how the synthesizer processes the signal is explained.
  • the processing of the signal that is, the processing principle of the synthesizer 3c for the signal is: first, the coincidence bits of the three signals are judged, and the magnitudes of the values of the signals conforming to the same bit are compared, and the value is small for output.
  • Signal D the structure of signal D is ⁇ the coincidence of the first signal, the coincidence of the second signal, the coincidence of the third signal, the value of the signal of the smaller value ⁇ .
  • _0 indicates the value bit of the data X (the absolute value of the data), that is, the remaining data bits are removed from the sign bit.
  • Figure 24 is a schematic view showing the structure of the fourth embodiment of the unipolar position detecting device.
  • the magnetic flux ring is composed of six segments of the same radius 1/6 arc segments 136, 137, 138, 139, 140 and 141, and the six positions A, B, C, D, E, F are sequentially spaced apart.
  • six sensors 130, 131, 132, 133, 134 and 135 are placed at slits A, B, C, D, E, F, respectively.
  • Figure 25 is a block diagram showing a signal processing apparatus of a fourth embodiment of the unipolar position detecting device.
  • the difference from the position detecting device provided with three magnetic sensing elements is that there are six magnetic sensing elements, and therefore, subtractors 20d, 21d, 22d are added to the signal processing device, and the temperature is suppressed by the subtractors 20d, 21d, 22d.
  • Zero drift, in order to improve the accuracy of the data, the final output signal to the synthesizer is still three, the processing and method are the same as the position detecting device with three magnetic sensing elements.
  • Multi-pole position detecting device
  • Figure 26 is an exploded perspective view of the multi-pole position detecting device.
  • the position detecting device includes a rotor and a stator that surrounds the rotor.
  • the rotor includes a first magnetic steel ring 302 and a second magnetic steel ring 303, a first magnetic steel ring 302, and a second magnetic
  • the diameter of the steel ring 303 is smaller than the diameter of the magnetic conductive rings 304, 305, so that the magnetic conductive rings 304, 305 are respectively sleeved on the outer side of the first magnetic steel ring 302 and the second magnetic steel ring 303, the first magnetic steel ring 302, the second The magnetic steel ring 303 is fixed on the rotating shaft 301, and the magnetic conductive rings 304, 305 and the first magnetic steel ring 302 and the second magnetic steel ring 303 are relatively rotatable, so that the plurality of sensor elements 307 disposed on the inner surface of the bracket 306 are provided. In the gap of the magnetic steel ring.
  • Fig. 27 is a structural schematic view showing the components of the position detecting device provided with two magnetic flux guiding rings.
  • the magnetic steel ring 302 and the magnetic steel ring 303 are arranged in parallel on the shaft 301, and two magnetic sensing elements 308 and 309 are respectively provided corresponding to the magnetic steel ring 302 and the magnetic steel ring 303.
  • the first magnetic sensing elements that is, the plurality of magnetic sensing elements corresponding to the magnetic steel ring 302 and the magnetic conductive ring 304 are all represented by the magnetic sensing element 308, and the second magnetic sensing element is the corresponding magnetic steel ring 303 and the guiding A plurality of magnetic sensing elements of the magnetic ring 305 are all represented by magnetic sensing elements 309.
  • the magnetic steel ring 302 is defined as a first magnetic steel ring
  • the magnetic steel ring 303 is defined as a second magnetic steel ring
  • the magnetic conductive ring 304 is defined to correspond to the first magnetic steel ring 302, which will be magnetically guided.
  • the ring 305 is defined to correspond to the second magnet ring 303, and the invention is not limited to the above definitions.
  • the magnetic flux rings 304 and 305 may also be chamfered, and the structure thereof is the same as that of the single pole position detecting device, and the specific reference is made to Figs. 14 to 17 .
  • the arrangement of the magnetic sensing elements and the magnetization of the magnetic steel ring may be different. Sequential setting method
  • the present invention also provides a signal processing apparatus for the above position detecting apparatus, comprising an A/D conversion circuit, a relative offset angle calculation circuit, an absolute offset calculation circuit, an angle synthesis and output module, and a storage module, wherein
  • the A/D conversion circuit performs A/D conversion on the voltage signal sent from the position detecting device, and converts the analog signal into a digital signal;
  • the relative offset angle calculating circuit is configured to calculate a position corresponding to the first magnetic field in the position detecting device a relative offset of the first voltage signal transmitted by the magnetic induction element of the steel ring in the signal period;
  • the absolute offset calculation circuit is sent according to the magnetic induction element corresponding to the second magnetic steel ring in the position detecting device a second voltage signal is determined by calculation to determine an absolute offset of a first position of a signal period at which the first voltage signal is located;
  • the angle synthesis and output module is configured to combine the relative offset and the absolute offset Synthesizing a rotation angle represented by the first voltage signal at the moment;
  • Fig. 28 is a flowchart showing a signal processing method of the multi-pole position detecting device which is sequentially provided.
  • the voltage signal sent from the first magnetic steel ring and the second magnetic steel ring in the position detecting device is A/D converted, and the analog signal is converted into a digital signal;
  • the first voltage signal corresponding to the first magnetic steel ring sent by the detecting device is angularly solved, and the relative offset of the signal corresponding to the first magnetic steel ring in the signal period is calculated;
  • the absolute offset calculating circuit Performing an angle solution on the first voltage signal corresponding to the second magnetic steel ring sent by the position detecting device to determine an absolute offset of the first position of the signal period where the first voltage signal is located; through the angle synthesis and output module, such as
  • the adder is configured to add the relative offset and the absolute offset to synthesize a rotation angle ⁇ at the moment represented by the first voltage signal.
  • Fig. 29 is a second flowchart of the signal processing method of the position detecting means arranged in series.
  • a signal amplifying module such as an amplifier, is added to amplify the voltage signal from the position detecting device before the A/D conversion circuit performs A/D conversion.
  • Figure 30 is a third flowchart of the signal processing method of the position detecting means arranged in series. As shown in Figure 30, the temperature compensation process is also included before the angle is solved.
  • Figure 31 is a fourth flowchart of the signal processing method of the position detecting means arranged in series.
  • the coefficient correction is performed first, and then the signal output from the A/D converter and the coefficient-corrected output are passed through a multiplier. Multiply the specific way to compensate for the temperature.
  • there are many specific methods for temperature compensation which are not introduced one by one.
  • Embodiment 1 of the sequentially disposed position detecting device provides that the first column of magnetic sensing elements is provided with two magnetic sensing elements 308, and the second column of sensing elements is provided with three magnetic sensing elements 309 for position detecting means.
  • Figure 32 is a structural view of a first magnetic steel ring, a magnetic flux ring, and a magnetic induction element of the first embodiment of the position detecting device provided in sequence;
  • Figure 33 is a first magnetic steel ring charge of the first embodiment of the position detecting device sequentially disposed; Magnetic magnetic sequence and positional relationship with magnetic sensing elements.
  • the angle between adjacent two magnetic sensing elements 308 corresponding to the first magnetic steel ring 302 is 90° /8.
  • the current encoding is entered into the encoding set, ie, the encoding set has "0...0"; then it is checked whether the set elements of the encoding set are reached. 8. If yes, the program ends. Otherwise, the current code is shifted to the left by one bit, followed by 0; then it is checked whether the current code has entered the code set. If the code set is not entered, the current code is added to the code set to continue the above steps. Into the code set, the current code last bit is decremented by 0; then it is checked whether the current code has entered the code set. If the code set is not entered, the current code is entered into the code set to continue the above steps, and if the code set has been entered, the current code is checked.
  • Fig. 35 is a block diagram showing a signal processing device of the first embodiment of the position detecting device which is sequentially provided.
  • the output signals of the magnetic sensing elements H le and H 2e are connected to the amplifier, and the output signals of the amplifiers are input to the analog input port of the A/D converter, and the output signals are multiplied by the analog-to-digital converters 4_1, 5_1, coefficients.
  • the output signal of the aligner 10_1 is connected to the input terminals of the multipliers 4_1, 5_1, the output signals A, B of the multipliers 4_1, 5_1 are coupled to the input terminal of the coder 6_1, and the output signal D of the first synthesizer 6_1 is used as the memory 8_1 and the memory 9_1.
  • the input signal, the output signal of the memory 9_1 is connected to the coefficient corrector 10_1, and the output signal of the memory 8_1 is used as the input terminal of the adder 12_1.
  • the output signals of the sensors 1_3, 1_4, ... l_n are respectively amplified by three amplifiers 2_3, 2_4, ... 2_n, and then connected to the AD converters 3_3, 3_4, ... 3_n for analog-to-digital conversion and then synthesized by the second synthesis.
  • the unit 7_1 performs synthesis and then obtains it from the memory 11_1. And the measured absolute angular displacement output is obtained by the adder 12_1.
  • the output of the first synthesizer 6_1 is performed as follows:
  • _0 indicates the value bit of the data X (the absolute value of the data), that is, the remaining data bits are removed from the sign bit.
  • the structure of the signal D is ⁇ the coincidence of the first signal, the coincidence of the second signal, the numerical value of the signal of the smaller value ⁇ . details as follows:
  • R 2 + B 2 .
  • the output of the second synthesizer 7 is performed as follows:
  • the signal K is generally obtained by dividing the signals R Q and R.
  • each table corresponding to a series of codes, each code corresponding to an angle.
  • the table is obtained by calibration, and the calibration method is: using the detecting device of the embodiment and a high-precision position sensor, the signals output by the magnetic sensing element in the embodiment and the angle of the high-precision position sensor output are in one-to-one correspondence.
  • each signal D represents a relative offset.
  • a second standard angle table is stored, each signal E representing an absolute offset.
  • the second embodiment of the position detecting device which is sequentially provided provides a schematic view in which four magnetic induction elements are provided corresponding to the first magnetic steel ring 302.
  • FIG. 36 is a schematic structural view of a first magnetic steel ring Hall element, a magnetic conductive ring, and a magnetic induction element according to a second embodiment of the position detecting device of the sequential arrangement mode; and FIG. 37 is a second embodiment of the position detecting device of the sequential arrangement mode.
  • the angle between adjacent two magnetic sensing elements 308 corresponding to the first magnetic steel ring 302 is 90 ° /8.
  • the magnetization sequence of the magnetic steel ring 302 and the magnetic poles of ⁇ 2 , 3 ⁇ 4 and 11 4 are arranged.
  • the magnetization structure and algorithm flow of the first magnetic steel ring 302 are the same as those of the first embodiment, and the description thereof will be omitted herein.
  • Figure 38 is a block diagram of a signal processing device of a second embodiment of the position detecting device of the sequential setting mode.
  • the signal processing device and the processing method are similar to those of the first embodiment, except that since there are four magnetic sensing elements in the second embodiment, the magnetic sensing element and the output signal of the magnetic signal amplifying circuit 2_1 are differentially amplified, and the magnetic sensing elements 3 ⁇ 4 and ⁇ 4 The output signal is amplified by the amplifying circuit 2-2, and the signal outputted to the first synthesizer 6_1 is still two.
  • the processing and method are the same as those in the first embodiment. Therefore, it will not be described here.
  • the third embodiment of the position detecting device for the sequential arrangement provides a structural view in which three magnetic induction elements are provided corresponding to the first magnetic steel ring.
  • FIG. 39 is a schematic structural view of a first magnetic steel ring Hall element, a magnetic conductive ring, and a magnetic induction element according to a third embodiment of the position detecting device of the sequential arrangement mode; and FIG. 40 is a third embodiment of the position detecting device of the sequential arrangement mode.
  • the angle between adjacent two magnetic sensing elements 308 corresponding to the first magnetic steel ring 302 is 120 ° /8.
  • the magnetization sequence of the magnetic steel ring 302 and the magnetic poles of 3 ⁇ 4 and 3 ⁇ 4 are arranged.
  • the magnetization structure and algorithm flow of the first magnet ring 302 are the same as those of the first embodiment, and the description thereof will be omitted herein.
  • Figure 41 is a block diagram of a signal processing device of a third embodiment of the position detecting device of the sequential setting mode. Different from the first embodiment, there are three magnetic induction elements, and three signals are output to the first synthesizer 7_1. The synthesizer is different from the first embodiment in processing signals, and the rest is the same as the first embodiment. Here, only how the synthesizer processes it yields 0 and .
  • the processing of the signal that is, the output principle of the first synthesizer 7_1 is: first determining the coincidence bits of the three signals, and comparing the magnitudes of the values of the signals conforming to the same bit, and the values are small for output.
  • Signal D the structure of signal D is ⁇ the coincidence of the first signal, the coincidence of the second signal, the coincidence of the third signal, the value of the signal of the smaller value ⁇ .
  • _0 indicates the value bit of the data X (the absolute value of the data), that is, the remaining data bits are removed from the sign bit.
  • R a 2 + 2 .
  • Embodiment 4 of the sequentially disposed position detecting device provides a structural view in which six magnetic induction elements are provided corresponding to the first magnetic steel ring.
  • Figure 42 is a schematic view showing the structure of a first magnetic steel ring Hall element, a magnetic conductive ring, and a magnetic induction element of the fourth embodiment of the position detecting device; and Figure 43 is a first magnetic field of the fourth embodiment of the position detecting device which is sequentially disposed.
  • Steel ring magnetizing magnetic sequence and magnetic induction element The positional relationship diagram of the piece.
  • the magnetic sensing elements ⁇ 2 , ⁇ 3 , ⁇ 4 , ⁇ 5 and ⁇ 6 are respectively placed in the six nips corresponding to the first magnetically conductive ring 304.
  • the magnetization sequence of the magnetic steel ring 302 and the arrangement of ⁇ 2 , ⁇ 3 , ⁇ 4 , ⁇ 5 and ⁇ 6 are shown.
  • the magnetization structure and algorithm flow of the first magnetic steel ring 302 are the same as those of the first embodiment, and the description thereof will be omitted herein.
  • Figure 44 is a block diagram of a signal processing device of a fourth embodiment of the position detecting device which is sequentially provided.
  • the magnetic sensing element has six sensors. Therefore, the output signals of the sensors 1_1 and 1_2 are differentially amplified by the amplifying circuit 2_1, and the output signals of the sensors 1_3 and 1_4 are differentially amplified by the amplifying circuit 2_2.
  • the output signals of the sensors 1_5 and 1_6 are differentially amplified by the amplifying circuit 2_3, and the signals outputted to the first synthesizer 7_1 are still three.
  • the processing and method are the same as those in the third embodiment.
  • Figure 45 is an exploded perspective view showing the structure of the position detecting device in which the magnetic sensing element is directly attached to the position detecting device.
  • 46 to 49 are schematic views showing the structure of the magnetic induction element corresponding to the first magnetic steel ring directly attached to the position detecting device.
  • the arrangement order of the magnetic induction elements is the same as that of the above-described magnetically conductive ring, and the signal processing apparatus and method are also the same, and detailed description thereof will be omitted.
  • the magnetic pole magnetization sequence of the second magnetic steel ring causes the n magnetic induction original outputs to be in the form of a Gray code.
  • the polarity of the magnetic pole is that the first position of the Gray code is "0" corresponding to the "N/S” pole, and the first position is "1" corresponding to the "S/N” pole.
  • the first magnetic steel ring is sequentially magnetized to g (the value of g is equal to the total number of magnetic poles in the second magnetic steel ring) to the opposite pole (the N pole and the S pole are alternately arranged), when the total number of magnetic poles in the second magnetic steel ring is 6
  • the first magnetic steel ring has a pole pair number of six pairs.
  • m magnetic sensing elements such as two, are disposed, and the angle between the two magnetic sensing elements H 2 is 90° 16.
  • the mechanical angle corresponding to any "NS" is 360° / g (g is the number of "NS"), assuming that the rotor rotates at the moment.
  • the angle is within the " ⁇ 3 ⁇ 4 signal period, then the angular displacement can be considered to consist of two parts: 1.
  • the relative offset in the signal period of the w i3 ⁇ 4 signal, the magnetic sensing element and the magnetic field of the first magnetic steel ring 11 2 Determine the offset ⁇ in this "NS" signal period (value greater than 0 is less than 360° / g); 2.
  • the signal processing means of the position detecting means uniformly arranged is the same as that of the sequence setting, and will not be described in detail herein.
  • Figure 50 is a first embodiment of the position detecting device uniformly disposed corresponding to when the second magnetic steel ring is provided with three magnetic sensing elements. Coding.
  • Figure 51 is a first embodiment of the position detecting device which is uniformly disposed corresponding to the magnetization sequence of the second magnetic steel ring when the second magnetic steel ring is provided with three magnetic induction elements;
  • Figure 52 is a first embodiment of the position detecting device uniformly disposed. A structural view of the second magnetic steel ring, the magnetic flux ring, and the magnetic sensing element.
  • the magnetic induction sequence of the second magnetic steel ring causes the output of the n magnetic induction elements to be in the form of a Gray code.
  • the polarity of the magnetic pole is that the first position of the Gray code is "0" corresponding to the "N/S” pole, and the first position is “1” corresponding to the "S/N” pole. Therefore, in the present embodiment, since n is 3, the code shown in FIG. 50 is obtained, and 6 codes are obtained, that is, 6 poles are obtained, and the magnetization sequence is as shown in FIG. 51, and the magnetic induction elements are read around the uniform cloth. .
  • Figure 53 is a layout view of two magnetic induction elements when the first magnetic steel ring is uniformly magnetized to 6 poles in the first embodiment of the position detecting device;
  • Fig. 54 is a first embodiment of the position detecting device uniformly disposed.
  • Fig. 55 is a structural view showing a first magnetic steel ring, a magnetic flux ring, and a magnetic induction element of the second embodiment of the position detecting device which is uniformly disposed.
  • a magnetic induction element of the second embodiment of the position detecting device which is uniformly disposed.
  • four magnetic induction elements, four magnetic induction elements, and clamps between H 2 , H 3 , and H 4 are disposed corresponding to the first magnetic steel ring.
  • the angle is 90° / 6.
  • Figure 56 is a structural view showing a first magnetic steel ring, a magnetic flux ring, and a magnetic induction element of the third embodiment of the position detecting device which is uniformly disposed. As shown in FIG. 56, this embodiment differs from the first embodiment and the second embodiment in that three magnetic induction elements are disposed corresponding to the first magnetic steel ring, and the angle between the three magnetic induction elements ⁇ 2 and 3 ⁇ 4 is 120° /6. .
  • Figure 57 is a structural view showing a first magnetic steel ring, a magnetic flux ring, and a magnetic induction element of the fourth embodiment of the position detecting device which is uniformly disposed. As shown in Fig. 57, this embodiment differs from the third embodiment in that six magnetic induction elements are provided corresponding to the first magnetic steel ring, and the angle between the six magnetic induction elements is 60° / 6.
  • Fig. 58 is an exploded perspective view showing another configuration of the first to fourth embodiments of the position detecting device which is uniformly disposed.
  • the position detecting device includes a rotor and a stator that surrounds the rotor.
  • the rotor includes a first magnetic steel ring 201a and a second magnetic steel ring 201b.
  • the first magnetic steel ring 201a and the second magnetic steel ring 201b are respectively fixed to the motor shaft 200.
  • the stator is a bracket 203.
  • the magnetic sensing element 204 is directly attached to the inner surface of the bracket 203.
  • the first magnetic steel ring in the position detecting device of Fig. 57 can be provided with 2, 4, 3, and 6 magnetic induction elements.
  • the signal processing apparatus and the signal processing method based on the position detecting means of the different numbers of magnetic induction elements are the same as the methods of the first to fourth embodiments, respectively.
  • the servo motor 10 is preferably an AC servo motor.
  • the reducer is a worm gear reducer.
  • the speed reducer and servo controller 9, servo motor 10, position detecting device 7, etc. constitute a speed reducer.
  • the servo motor 10 drives the worm 24 to rotate by the coupling, and the worm 24 drives the worm wheel 25 to rotate.
  • the turbine 25 is disposed on the valve stem 2, and a position detecting device 7 is mounted on the valve stem 2 and the motor shaft, respectively, for sensing the angular position of the valve stem 2 and the motor shaft.
  • the position detecting device 7 outputs a voltage signal induced by the Hall element inside thereof, and the position detecting device 7 transmits the induced voltage signal to the servo controller 9 through the signal line 8, and the servo controller 9 performs A/D sampling and operates at an angle.
  • the solution algorithm obtains the angular position of the valve stem 2 and the motor shaft, and then runs a control program to perform full closed-loop control of the reduction gear.
  • Figure 59 is a schematic view showing the structure of another type of reduction gear and valve.
  • the reducer can be a cylindrical gear reducer.
  • the structure of the valve can be changed.
  • the center line of the baffle 35 is the valve stem 2, and the rotation of the valve stem 2 directly drives the baffle 35 to rotate, thereby realizing the opening and closing control of the valve hole.
  • the position detecting means is disposed on the motor shaft, and therefore, the control of this embodiment is similar to that of Fig. 1, and will not be described again.
  • Figure 60 is a schematic view showing the structure of another type of reduction gear. As shown in Fig. 60, unlike the embodiment of Fig. 59, the position detecting means 7 is provided on the valve stem 2, and the control method thereof is similar to that of the embodiment of Fig. 5 and will not be described again.
  • the servo motor 10 is preferably an AC servo motor 10.
  • Figure 61 is an exploded view of the all-in-one machine. As shown in Figure 61, the position detecting device 7, the servo controller 9, and the servo motor 10 are disposed. In this embodiment, the position detecting device 7 is of a single magnetic pole structure and is located behind the servo controller 9, and the servo controller 9 is fixed to the servo motor 10 through a connecting member. However, it should be understood that the position detecting device 7 may also be a multi-pole structure. Further, the position detecting device 7 can be located between the servo motor 10 and the servo controller 9.
  • the servo electric valve of the present invention can arbitrarily control the opening degree of the valve as needed, and the control precision is very high, and the torque and the rotational speed can be controlled and the automatic control of the valve can be realized. Further, the servo electric valve of the present invention can be realized. High reliability, fast response, and low cost.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Electrically Driven Valve-Operating Means (AREA)
  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
  • Indication Of The Valve Opening Or Closing Status (AREA)

Abstract

A servo motor operated valve and a control method thereof are disclosed. The servo motor operated valve includes a valve body (1) and a valve rod (2) mounted in the valve body (1), the output end of a servo motor (10) is connected with the input end (24) of a reducer (24, 25) through a coupling (3), and the output end (25) of the reducer (24, 25) is connected with the valve rod (2), the valve rod (2) is connected with a valve opening (5) to control the opening of the valve opening (5). A position detection means (7) is provided on the shaft of the servo motor (10) and inputs a control signal to a servo controller (9) to control the servo motor (10) to drive the reducer (24, 25) and control the opening of the valve opening (5) through the valve rod (2). The control method includes the steps of setting the opening of the valve, calculating the angle of the shaft of the motor, detecting the angle of the shaft of the motor, et al. The invention has high control precision and high reliability, and can control torque and rotation speed.

Description

伺服电动阀及其控制方法 技术领域  Servo electric valve and control method thereof
本发明涉及一种电动阀及其控制方法,尤其是一种用伺服电机控制阀门开度的伺服电动阀及 其控制方法。 背景技术  The invention relates to an electric valve and a control method thereof, in particular to a servo electric valve for controlling a valve opening degree by a servo motor and a control method thereof. Background technique
电动阀在化工、 钢铁、 石油等领域有广泛的应用。 目前用于电动阀的电动机有异步电机、 步 进电机和变频器驱动电机等, 电机通过减速器与阀杆相连, 控制阀的开启与闭合。  Electric valves have a wide range of applications in the chemical, steel, petroleum and other fields. The current motors for electric valves include asynchronous motors, stepping motors, and inverter drive motors. The motor is connected to the valve stem through a reducer to open and close the control valve.
异步电机一般和限位器同时使用,通过限位器的限位信号,来开启或切断电动机的控制电路, 这种方式只能控制阀门的全开或全闭, 并且限位器容易损坏, 另外不能对异步电机的扭矩进行控 制, 扭矩超限可能会造成阀门或设备的损坏。 申请号为 200820031710.0的文献, 针对异步电机转 矩不受控问题设计了阀门转矩控制电动装置。  The asynchronous motor is generally used together with the limiter to open or cut off the control circuit of the motor through the limit signal of the limiter. This method can only control the valve to be fully open or fully closed, and the limiter is easily damaged. The torque of the asynchronous motor cannot be controlled, and the torque overrun may cause damage to the valve or equipment. The application number is 200820031710.0, and the valve torque control electric device is designed for the problem of uncontrolled rotor torque.
步进电机驱动阀门时不需要限位器, 控制器通过给步进电机脉冲信号来控制阀的开度, 可以 对阀的开度进行任意调节。 但是步进电机为开环控制, 控制精度低, 而且容易失步, 造成控制失 效。 申请号为 200720125094.0的文献, 提出了一种改进的步进电机驱动的电动阀, 虽然作了一些 改进, 但是仍采用的是步进电机, 控制方式仍为开环, 精度低。  The stepping motor does not need a limiter when driving the valve. The controller can control the opening degree of the valve by giving the stepping motor pulse signal, and can adjust the opening degree of the valve. However, the stepping motor is open-loop control, the control precision is low, and it is easy to lose the step, resulting in control failure. The application number is 200720125094.0, and an improved stepper motor driven electric valve is proposed. Although some improvements have been made, the stepping motor is still used, and the control mode is still open loop with low precision.
变频式电动阀采用变频器驱动异步电机, 并且在阀上装有位置传感器, 返回阀的开度信号, 构成闭环控制, 控制精度较高, 申请号为 200710072541的文献, 提出了一种变频式电动阀。 变频 式电动阀需要用到编码器, 编码器的成本高, 特别是对于使用环境恶劣的情况(如粉尘、 风沙大, 振动大), 所需要的编码器价格更高, 而且与交流伺服系统相比, 变频器控制的响应慢, 精度较低。  The variable frequency electric valve adopts the inverter to drive the asynchronous motor, and the position sensor is installed on the valve, and the opening degree signal of the return valve is formed to form a closed loop control, and the control precision is high. The application number is 200710072541, and a variable frequency electric valve is proposed. . Inverter type electric valves require an encoder, and the cost of the encoder is high, especially in the case of harsh environments (such as dust, large wind and large vibration), the encoder required is more expensive, and it is compatible with the AC servo system. Compared, the inverter control has slow response and low precision.
目前还有永磁无刷直流电机驱动的电动阀, 和变频式电动阀一样, 要进行闭环控制, 需要用 到编码器。 申请号为 200710036766的文献, 针对电动阀, 提出了一种改进的编码器, 但是结构复 杂, 成本高, 且光电编码器对使用环境的要求高。 发明内容  There are also electric valves driven by permanent magnet brushless DC motors. Like variable-frequency electric valves, encoders are required for closed-loop control. The application No. 200710036766 proposes an improved encoder for the electric valve, but the structure is complicated, the cost is high, and the photoelectric encoder has high requirements on the use environment. Summary of the invention
本发明所要解决的技术问题在于针对现有技术的不足, 提供一种伺服电动阀及其控制方法, 其控制精度高、 可靠性高、 响应快且成本低。  The technical problem to be solved by the present invention is to provide a servo electric valve and a control method thereof according to the deficiencies of the prior art, which have high control precision, high reliability, fast response and low cost.
本发明所要解决的技术问题是通过如下技术方案实现的:  The technical problem to be solved by the present invention is achieved by the following technical solutions:
一种伺服电动阀, 包括阀体, 阀体中设有阀杆, 伺服电机的输出通过联轴器与减速器输入相 连, 减速器的输出与阀杆相连, 阀杆与阀孔相连并控制阀孔的开度, 其特征在于, 所述的伺服电 机的电机轴上设有位置检测装置, 位置检测装置输入信号给伺服控制器控制伺服电机驱动减速器 并通过阀杆控制阀孔的开度。  A servo electric valve comprises a valve body, wherein a valve stem is arranged in the valve body, and an output of the servo motor is connected to the input of the reducer through a coupling, the output of the reducer is connected with the valve stem, the valve stem is connected with the valve hole and the valve is controlled The opening degree of the hole is characterized in that the motor shaft of the servo motor is provided with a position detecting device, and the position detecting device inputs a signal to the servo controller to control the servo motor to drive the speed reducer and control the opening degree of the valve hole through the valve stem.
在另一实施例中, 所述的阀杆上也可以设有位置检测装置, 位置检测装置输入信号给伺服控 制器, 伺服控制器控制伺服电机驱动减速器并通过阀杆控制阀孔的开度。  In another embodiment, the valve stem may also be provided with a position detecting device, and the position detecting device inputs a signal to the servo controller, and the servo controller controls the servo motor to drive the speed reducer and controls the opening of the valve hole through the valve stem. .
在又一实施例中, 所述的阀杆上还设有传动机构, 该传动机构的主动件设置在阀杆上, 从动 件的转轴上设有位置检测装置, 位置检测装置输入信号给伺服控制器, 伺服控制器控制伺服电机 驱动减速器并通过阀杆控制阀孔的开度。 所述的减速器为蜗轮蜗杆减速器或圆柱齿轮减速器或圆锥齿轮减速器或行星齿轮减速器或 其组合。 In still another embodiment, the valve stem is further provided with a transmission mechanism, the active component of the transmission mechanism is disposed on the valve stem, and the position detecting device is disposed on the rotating shaft of the driven member, and the position detecting device inputs a signal to the servo The controller, the servo controller controls the servo motor to drive the speed reducer and controls the opening of the valve hole through the valve stem. The speed reducer is a worm gear reducer or a spur gear reducer or a bevel gear reducer or a planetary gear reducer or a combination thereof.
所述的伺服电机优选为交流伺服电机。  The servo motor is preferably an AC servo motor.
所述的位置检测装置、 伺服控制器和伺服电机可以一体设置。  The position detecting device, the servo controller and the servo motor can be integrally provided.
所述伺服控制器包括数据处理单元、 电机驱动单元和电流传感器, 所述数据处理单元接收输 入的指令信号、电流传感器采集的电机输入电流信号和位置检测装置输出的代表电机角度的信息, 经过数据处理, 输出控制信号给所述的电机驱动单元, 所述电机驱动单元根据所述的控制信号输 出合适的电压给伺服电机, 从而实现对伺服电机的精确控制。  The servo controller includes a data processing unit, a motor driving unit and a current sensor, and the data processing unit receives the input command signal, the motor input current signal collected by the current sensor, and the information representing the motor angle output by the position detecting device, and the data Processing, outputting a control signal to the motor driving unit, the motor driving unit outputting a suitable voltage to the servo motor according to the control signal, thereby achieving precise control of the servo motor.
所述数据处理单元包括机械环控制子单元、 电流环控制子单元、 PWM控制信号产生子单元 和传感器信号处理子单元;  The data processing unit includes a mechanical loop control subunit, a current loop control subunit, a PWM control signal generating subunit, and a sensor signal processing subunit;
所述传感器信号处理子单元接收所述位置检测装置输出的代表电机角度的信息,将电机的角 度传输给所述的机械环控制子单元; 所述传感器信号处理子单元还接收所述电流传感器的检测到 的电流信号, 经过 A/D采样后输出给所述的电流环控制子单元;  The sensor signal processing subunit receives information representing a motor angle output by the position detecting device, and transmits an angle of the motor to the mechanical ring control subunit; the sensor signal processing subunit further receives the current sensor The detected current signal is sampled by A/D and output to the current loop control subunit;
所述机械环控制子单元根据接收到的指令信号和电机轴的转动角度, 经过运算得到电流指 令, 并输出给所述的电流环控制子单元;  The mechanical ring control subunit obtains a current command through operation according to the received command signal and the rotation angle of the motor shaft, and outputs the current command to the current loop control subunit;
所述电流环控制子单元根据接收到的电流指令的电流传感器输出的电流信号,经过运算得到 三相电压的占空比控制信号, 并输出给所述的 PWM控制信号产生子单元;  The current loop control subunit obtains a duty control signal of the three-phase voltage according to the current signal output by the current sensor of the received current command, and outputs the duty control signal to the PWM control signal generating subunit;
所述 PWM控制信号产生子单元根据接收到的三相电压的占空比控制信号, 生成具有一定顺 序的六路 PWM信号, 分别作用于电机驱动单元。  The PWM control signal generating sub-unit generates six PWM signals having a certain order according to the received duty control signal of the three-phase voltage, and respectively acts on the motor driving unit.
所述电机驱动单元包括六个功率开关管, 所述开关管每两个串联成一组, 三组并联连接在直 流供电线路之间, 每一开关管的控制端受 PWM控制信号产生子单元输出的 PWM信号的控制, 每一组中的两个开关管分时导通。  The motor drive unit comprises six power switch tubes, the switch tubes are connected in series in two groups, three groups are connected in parallel between the DC power supply lines, and the control end of each switch tube is output by the PWM control signal generating sub-unit. The control of the PWM signal, the two switching tubes in each group are time-divisionally turned on.
优选地, 所述数据处理单元为 MCU, 所述电机驱动单元为 IPM模块。  Preferably, the data processing unit is an MCU, and the motor driving unit is an IPM module.
所述的位置检测装置,包括磁钢环、导磁环和磁感应元件,所述导磁环由两段或多段同半径、 同圆心的弧段构成, 相邻两弧段留有缝隙, 所述磁感应元件置于该缝隙内, 当磁钢环与导磁环发 生相对旋转运动时, 所述磁感应元件将感测到的磁信号转换为电压信号, 并将该电压信号传输给 相应的信号处理装置。  The position detecting device comprises a magnetic steel ring, a magnetic conductive ring and a magnetic induction element, wherein the magnetic conductive ring is composed of two or more segments of the same radius and the same center, and the adjacent two arc segments have a slit. The magnetic induction element is disposed in the gap, and when the magnetic steel ring and the magnetic flux ring rotate relative to each other, the magnetic induction element converts the sensed magnetic signal into a voltage signal, and transmits the voltage signal to the corresponding signal processing device. .
所述的导磁环由两段同半径、 同圆心的弧段构成, 分别为 1/4弧段和 3/4弧段, 对应的磁感 应元件为 2个; 或者, 所述的导磁环由三段同半径的弧段构成, 分别为 1/3弧段, 对应的磁感应 元件为 3个; 或者, 所述的导磁环由四段同半径的弧段构成, 分别为 1/4弧段, 对应的磁感应元 件为 4个; 或者, 所述的导磁环由六段同半径的弧段构成, 分别为 1/6弧段, 对应的磁感应元件 为 6个。  The magnetic conductive ring is composed of two arc segments of the same radius and the same center, which are respectively a quarter arc segment and a 3/4 arc segment, and the corresponding magnetic induction elements are two; or, the magnetic conductive ring is The three segments are formed by arcs of the same radius, respectively, which are 1/3 arc segments, and the corresponding magnetic induction elements are three; or, the magnetic conductive ring is composed of four segments of the same radius, which are respectively 1/4 arc segments. The corresponding magnetic induction elements are four; or, the magnetic conductive ring is composed of six segments of the same radius, which are respectively 1/6 arc segments, and the corresponding magnetic induction elements are six.
所述的导磁环的弧段端部可以设有倒角, 为沿轴向或径向或同时沿轴向、径向切削而形成的 倒角。  The end of the arc of the magnetically permeable ring may be chamfered to form a chamfer formed by cutting axially or radially or simultaneously in the axial direction and in the radial direction.
进一步地, 所述的位置检测装置还包括骨架, 用于固定所述导磁环; 所述导磁环设置在骨架 成型模具上, 在所述骨架一体成型时与骨架固定在一起。  Further, the position detecting device further includes a skeleton for fixing the magnetic conductive ring; the magnetic conductive ring is disposed on the skeleton forming mold, and is fixed to the skeleton when the skeleton is integrally formed.
所述传感器信号处理子单元或位置检测装置中包括位置检测装置的信号处理电路,用于根据 所述位置检测装置的电压信号得到电机轴的转动角度, 具体包括:  The sensor signal processing subunit or the position detecting device includes a signal processing circuit of the position detecting device, and is configured to obtain a rotation angle of the motor shaft according to the voltage signal of the position detecting device, and specifically includes:
A/D转换电路,对位置检测装置中磁感应元件发送来的电压信号进行 A/D转换,将模拟信号 转换为数字信号; The A/D conversion circuit performs A/D conversion on the voltage signal transmitted from the magnetic induction element in the position detecting device, and the analog signal is Convert to a digital signal;
合成电路, 对位置检测装置发送来的经过 A/D 转换的多个电压信号进行处理得到基准信号 a synthesizing circuit that processes a plurality of A/D-converted voltage signals sent from the position detecting device to obtain a reference signal
D ; D ;
角度获取电路, 根据该基准信号 D, 在标准角度表中选择与其相对的角度作为偏移角度 ; 以及  An angle obtaining circuit, according to the reference signal D, selecting an angle opposite to the standard angle table as an offset angle;
存储电路, 用于存储标准角度表。  A storage circuit for storing a standard angle table.
此外, 所述的位置检测装置包括转子和将转子套在内部的定子, 所述转子包括第一磁钢环、 第二磁钢环;  Further, the position detecting device includes a rotor and a stator that surrounds the rotor, the rotor including a first magnetic steel ring and a second magnetic steel ring;
其中, 所述第一磁钢环和第二磁钢环分别固定在电机轴上;  Wherein the first magnetic steel ring and the second magnetic steel ring are respectively fixed on the motor shaft;
在定子上, 对应于第二磁钢环, 以第二磁钢环的中心为圆心的同一圆周上设有 n个均匀分布 的磁感应元件, 其中, n=l, 2…! 1, 所述第二磁钢环的磁极磁化顺序使得 n个磁感应元件输出呈格 雷码格式, 相邻两个输出只有一位变化;  On the stator, corresponding to the second magnetic steel ring, n uniformly distributed magnetic sensing elements are disposed on the same circumference centered on the center of the second magnetic steel ring, wherein n=l, 2...! 1. The magnetic pole magnetization sequence of the second magnetic steel ring causes the output of the n magnetic induction elements to be in a Gray code format, and only one bit of the adjacent two outputs changes;
在定子上, 对应于第一磁钢环, 以第一磁钢环的中心为圆心的同一圆周上设有有 m个呈一 定角度分布的磁感应元件, 其中, m为 2或 3的整数倍, 所述第一磁钢环的磁极总对数与第二磁 钢环的磁极总数相等, 并且相邻两极的极性相反;  On the stator, corresponding to the first magnetic steel ring, there are m magnetic induction elements distributed at an angle on the same circumference centered on the center of the first magnetic steel ring, wherein m is an integer multiple of 2 or 3, The total magnetic pole of the first magnetic steel ring is equal to the total number of magnetic poles of the second magnetic steel ring, and the polarities of the adjacent two poles are opposite;
当转子相对于定子发生相对旋转运动时, 所述磁感应元件将感测到的磁信号转变为电压信 号, 并将该电压信号输出给信号处理装置。  The magnetic sensing element converts the sensed magnetic signal into a voltage signal when the rotor is relatively rotationally moved relative to the stator, and outputs the voltage signal to the signal processing device.
具体地, 在定子上对应于第一磁钢环的相邻两个磁感应元件之间的夹角, 当 m为 2或 4时, 该夹角为 90° /g; 当 m为 3时, 该夹角为 120° /g; 当 m为 6时, 该夹角为 60° /g, 其中, g为 第二磁钢环的磁极总数。 Specifically, the angle between the adjacent two magnetic induction elements on the stator corresponding to the first magnetic steel ring, when m is 2 or 4, the included angle is 90° / g ; when m is 3, the The angle is 120° / g ; when m is 6, the angle is 60 ° / g, where g is the total number of magnetic poles of the second magnetic steel ring.
此外, 所述的位置检测装置包括转子和将转子套在内部的定子, 所述转子包括第一磁钢环、 第二磁钢环;  Further, the position detecting device includes a rotor and a stator that surrounds the rotor, the rotor including a first magnetic steel ring and a second magnetic steel ring;
其中, 所述第一磁钢环和第二磁钢环分别固定在转轴上, 所述第一磁钢环被均匀地磁化为 N 对磁极, 其中, ?<=2°且11=0, 1, 2…! 1, 并且相邻两极的极性相反; 所述第二磁钢环的磁极总数 为 N, 其磁序按照特定磁序算法确定;  Wherein, the first magnetic steel ring and the second magnetic steel ring are respectively fixed on a rotating shaft, and the first magnetic steel ring is uniformly magnetized into N pairs of magnetic poles, wherein? <=2° and 11=0, 1, 2...! 1, and the polarities of the adjacent two poles are opposite; the total number of magnetic poles of the second magnetic steel ring is N, and the magnetic sequence is determined according to a specific magnetic sequence algorithm;
在定子上, 对应于第一磁钢环, 以第一磁钢环的中心为圆心的同一圆周上设有 m个呈一定 角度分布的磁感应元件, 其中, m为 2或 3的整数倍; 对应于第二磁钢环, 以第二磁钢环的中心 为圆心的同一圆周上设有 n个呈一定角度分布的磁感应元件, 其中, n=0, 1,  On the stator, corresponding to the first magnetic steel ring, there are m magnetic induction elements distributed at an angle on the same circumference centered on the center of the first magnetic steel ring, wherein m is an integer multiple of 2 or 3; The second magnetic steel ring is provided with n magnetic induction elements distributed at an angle on the same circumference centered on the center of the second magnetic steel ring, wherein n=0, 1,
当转子相对于定子发生相对旋转运动时, 所述磁感应元件将感测到的磁信号转变为电压信 号, 并将该电压信号输出给信号处理装置。  The magnetic sensing element converts the sensed magnetic signal into a voltage signal when the rotor is relatively rotationally moved relative to the stator, and outputs the voltage signal to the signal processing device.
在定子上对应于第二磁钢环的相邻两个磁感应元件之间的夹角为 360° /N。  The angle between adjacent two magnetic sensing elements on the stator corresponding to the second magnetic steel ring is 360° /N.
具体地, 在定子上对应于第一磁钢环相邻两个磁感应元件之间的夹角, 当 m为 2或 4时, 每相邻两个磁感应元件之间的夹角为 90° /N, 当 m为 3时, 每相邻两个磁感应元件之间的夹角为 120° /N; 当 m为 6时, 每相邻两个磁感应元件之间的夹角为 60° /N。  Specifically, on the stator, corresponding to an angle between two adjacent magnetic induction elements of the first magnetic steel ring, when m is 2 or 4, an angle between each adjacent two magnetic induction elements is 90° /N When m is 3, the angle between each adjacent two magnetic induction elements is 120° / N; when m is 6, the angle between each adjacent two magnetic induction elements is 60 ° /N.
所述磁感应元件直接表贴在定子的内表面。  The magnetic sensing element is directly attached to the inner surface of the stator.
所述的位置检测装置还包括两个导磁环, 每一所述导磁环是由多个同圆心、 同半径的弧段构 成, 相邻两弧段留有空隙, 对应于两个磁钢环的磁感应元件分别设在该空隙内。  The position detecting device further comprises two magnetic conductive rings, each of the magnetic conductive rings is composed of a plurality of arcs of the same center and the same radius, and the adjacent two arc segments have a gap corresponding to the two magnetic steels. The magnetic sensing elements of the ring are respectively disposed within the gap.
所述的导磁环的弧段端部可以设有倒角, 为沿轴向或径向或同时沿轴向、径向切削而形成的 倒角。 所述的磁感应元件为霍尔感应元件。 The arcuate end of the magnetically permeable ring may be provided with a chamfer, which is a chamfer formed by cutting axially or radially or simultaneously in the axial direction and in the radial direction. The magnetic sensing element is a Hall sensing element.
所述传感器信号处理子单元或位置检测装置中包括位置检测装置的信号处理电路,用于根据 所述位置检测装置的电压信号得到电机轴的转动角度, 具体包括:  The sensor signal processing subunit or the position detecting device includes a signal processing circuit of the position detecting device, and is configured to obtain a rotation angle of the motor shaft according to the voltage signal of the position detecting device, and specifically includes:
A/D转换电路,对位置检测装置发送来的电压信号进行 A/D转换,将模拟信号转换为数字信 号;  The A/D conversion circuit performs A/D conversion on the voltage signal sent from the position detecting device to convert the analog signal into a digital signal;
相对偏移角度 计算电路,用于计算位置检测装置中对应于第一磁钢环的磁感应元件发送来 的第一电压信号在所处信号周期内的相对偏移量 ;  a relative offset angle calculating circuit, configured to calculate a relative offset of the first voltage signal sent by the magnetic sensing element corresponding to the first magnetic steel ring in the position detecting device during the signal period;
绝对偏移量 计算电路, 根据位置检测装置中对应于第二磁钢环的磁感应元件发送来的第 二电压信号, 通过计算来确定第一电压信号所处的信号周期首位置的绝对偏移量 ;  An absolute offset calculation circuit determines, by calculation, an absolute offset of a first position of a signal period at which the first voltage signal is located, according to a second voltage signal transmitted from a magnetic induction element corresponding to the second magnetic steel ring in the position detecting device ;
角度合成及输出模块, 用于将上述相对偏移量 和绝对偏移量 相加, 合成所述第一电压 信号所代表的在该时刻的旋转角度 θAn angle synthesis and output module, configured to add the relative offset and the absolute offset to synthesize a rotation angle θ represented by the first voltage signal at the moment;
存储模块, 用于存储数据。  A storage module for storing data.
所述的位置检测装置还包括信号放大电路, 用于在 A/D转换电路进行 A/D转换之前, 对来 自于磁电式传感器的电压信号进行放大。  The position detecting device further includes a signal amplifying circuit for amplifying the voltage signal from the magnetoelectric sensor before the A/D converting circuit performs A/D conversion.
所述相对偏移角度 计算电路包括第一合成电路和第一角度获取电路,所述第一合成电路对 位置检测装置发送来的经过 A/D转换的多个电压信号进行处理, 得到一基准信号 D ; 所述第一角 度获取电路根据该基准信号 D, 在第一标准角度表中选择一与其相对的角度作为偏移角度 。  The relative offset angle calculation circuit includes a first synthesis circuit and a first angle acquisition circuit, and the first synthesis circuit processes the A/D-converted voltage signals sent by the position detection device to obtain a reference signal. D. The first angle acquiring circuit selects an angle opposite to the first standard angle table as an offset angle according to the reference signal D.
所述相对偏移角度 计算电路内或在合成电路之前还包括温度补偿电路,用于消除温度对磁 电式传感器发送来的电压信号的影响。  The relative offset angle calculation circuit or before the synthesis circuit further includes a temperature compensation circuit for eliminating the influence of temperature on the voltage signal transmitted from the magneto-electric sensor.
所述合成电路或所述第一合成电路的输出还包括信号 R;  The output of the synthesis circuit or the first synthesis circuit further includes a signal R;
所述温度补偿单元包括系数矫正器和乘法器,所述系数矫正器对所述合成模块的输出的信号 The temperature compensation unit includes a coefficient aligner and a multiplier, and the signal of the coefficient aligner to the output of the synthesis module
R和对应该信号的标准状态下的信号 R。进行比较得到输出信号 K; 所述乘法器为多个, 每一所述 乘法器将从位置检测装置发送来的、 经过 A/D转换的一个电压信号与所述系数矫正模块的输出信 号 K相乘, 将相乘后的结果输出给第一合成电路。 R and the signal R in the standard state corresponding to the signal. Comparing to obtain an output signal K; the multiplier is a plurality, and each of the multipliers outputs a voltage signal that is A/D converted from the position detecting device and an output signal K of the coefficient correction module. Multiply, and the multiplied result is output to the first synthesizing circuit.
所述绝对偏移量 计算电路包括第二合成电路和第二角度获取电路, 所述第二合成电路用 于对对应于第二磁钢环的位置检测装置发送来的第二电压信号进行合成, 得到一信号 E; 所述第 二角度获取电路根据该信号 E在第二标准角度表中选择一与其相对的角度作为第一电压信号所处 的信号周期首位置的绝对偏移量 。  The absolute offset calculation circuit includes a second synthesis circuit and a second angle acquisition circuit, and the second synthesis circuit is configured to synthesize a second voltage signal sent by the position detecting device corresponding to the second magnetic steel ring. Obtaining a signal E; the second angle obtaining circuit selects an angle opposite to the signal in the second standard angle table as the absolute offset of the first position of the signal period in which the first voltage signal is located.
本发明还提供一种伺服电动阀的控制方法, 该方法包括如下步骤:  The invention also provides a control method of a servo electric valve, the method comprising the following steps:
步骤 1 : 设定电动阀阀门开度值, 并将该数值预存在伺服控制器的 MCU中;  Step 1: Set the valve opening value of the electric valve, and pre-store the value in the MCU of the servo controller;
步骤 2: 根据电动阀阀门开度值的大小, 计算出阀杆的位移量, 伺服控制器根据减速器的传 动比, 计算转轴的驱动角度;  Step 2: Calculate the displacement of the valve stem according to the opening value of the valve of the electric valve, and the servo controller calculates the driving angle of the rotating shaft according to the transmission ratio of the reducer;
步骤 3 : 检测电机轴的实际角度, 对伺服电机的驱动角度进行控制, 使其达到预存数值, 实 现电动阀的阀门开度控制。  Step 3: Detect the actual angle of the motor shaft, control the driving angle of the servo motor to achieve the pre-stored value, and realize the valve opening control of the electric valve.
所述的步骤 3中检测的具体步骤为: 所述的伺服控制器每隔一个固定周期, 读取位置检测装 置的电压信号, 并将所述的电压信号通过角度求解算法转换成电机轴的角度位置。  The specific steps detected in the step 3 are: the servo controller reads the voltage signal of the position detecting device every other fixed period, and converts the voltage signal into an angle of the motor shaft through an angle solving algorithm. position.
本发明还提供另一种伺服电动阀的控制方法, 该方法包括如下步骤:  The present invention also provides another method of controlling a servo electric valve, the method comprising the following steps:
步骤 1 : 检测阀杆的角度位置, 将感应电压信号传递给伺服控制器的 MCU, 伺服控制器经 过计算, 获得阀杆的角度位置信息; 步骤 2: 检测伺服电机轴的角度位置, 将感应电压信号传递给伺服控制器的 MCU, 伺服控 制器经过计算, 获得转轴的角度位置信息; Step 1: Detect the angular position of the valve stem, transmit the induced voltage signal to the MCU of the servo controller, and the servo controller calculates the angular position information of the valve stem; Step 2: Detect the angular position of the servo motor shaft, and transmit the induced voltage signal to the MCU of the servo controller. The servo controller calculates the angular position information of the rotating shaft.
步骤 3 : MCU 接收位置检测装置的电压信号和电流传感器感应的电机三相电流信号, 并运 行角度求解算法和进行相应控制计算, 计算出 PWM信号给电机控制模块, 控制电机控制模块输 出三相电压的占空比, 电机控制模块接受 MCU 的控制, 输出三相电压给伺服电机, 驱动伺服电 机运动, 实现电动阀的阀门开度控制。  Step 3: The MCU receives the voltage signal of the position detecting device and the motor three-phase current signal induced by the current sensor, and runs the angle solving algorithm and performs corresponding control calculation, calculates the PWM signal to the motor control module, and controls the motor control module to output the three-phase voltage. The duty cycle, the motor control module accepts the control of the MCU, outputs the three-phase voltage to the servo motor, drives the servo motor to move, and realizes the valve opening control of the electric valve.
选择地, 所述的步骤 1的具体方法包括在阀杆上设置位置检测装置, 通过该位置检测装置直 接检测、 计算并获得阀杆的角度位置信息。  Optionally, the specific method of step 1 includes disposing a position detecting device on the valve stem, and directly detecting, calculating, and obtaining angular position information of the valve stem by the position detecting device.
选择地, 所述的步骤 1的具体方法包括, 在阀杆上设置传动机构, 该传动机构的主动件设置 在阀杆上, 从动件的转轴上设有位置检测装置, 通过传动比大小的设定, 使传动机构位移的大小 与阀门的开度一一对应, 通过位置检测装置检测传动机构位移的大小, 直接获得阀门的开度。  Optionally, the specific method of step 1 includes: providing a transmission mechanism on the valve stem, the active component of the transmission mechanism is disposed on the valve stem, and the position detecting device is disposed on the rotating shaft of the driven component, and the transmission ratio is The setting makes the displacement of the transmission mechanism one-to-one corresponding to the opening degree of the valve, and the displacement of the transmission mechanism is detected by the position detecting device, and the opening degree of the valve is directly obtained.
所述的传动比大小的设定, 使阀门从全开到全闭或从全闭到全开, 传动机构中从动件的转轴 转动角度不到 360° 。  The size of the transmission ratio is set such that the valve rotates from fully open to fully closed or from fully closed to fully open, and the rotation angle of the driven member in the transmission mechanism is less than 360°.
与现有技术相比, 本发明的有益效果在于:  Compared with the prior art, the beneficial effects of the invention are:
1. 可以根据需要任意控制阀的开度, 而且控制精度非常高。 交流伺服系统的控制精度高, 并且有位置检测装置感应角度位置, 构成闭环控制, 所以整个电动阀的控制精度高。  1. The valve opening can be arbitrarily controlled as needed, and the control accuracy is very high. The AC servo system has high control precision, and the position detecting device senses the angular position to form a closed loop control, so the control precision of the entire electric valve is high.
2. 成本低。 用位置检测装置取代了传统的编码器, 位置检测装置的成本非常低, 远远低于 传统的编码器。  2. Low cost. The position detector is replaced by a position detector that is very low cost and much lower than conventional encoders.
3. 可靠性高。 位置检测装置为非接触式传感器, 防尘、 抗振, 即使在恶劣的使用环境下也 能正常工作。 目前永磁材料技术得到了很大的发展, 位置检测装置中的磁钢在一般使用环境下不 会退磁。 阀杆和电机轴上都装有位置检测装置, 即提高了控制精度, 又增强了可靠性。  3. High reliability. The position detection device is a non-contact sensor that is dust-proof and vibration-resistant, and works well even in harsh environments. At present, the permanent magnet material technology has been greatly developed, and the magnetic steel in the position detecting device does not demagnetize under normal use environment. Position detection devices are installed on the valve stem and the motor shaft, which improves control accuracy and enhances reliability.
4. 可以控制转矩、 转速。 交流伺服系统有电流传感器和位置传感器, 可以根据需要对转矩 和转速进行任意的控制, 避免阀在开启和关闭时因转矩或转速过大造成的阀门或设备损坏问题。  4. Can control torque and speed. The AC servo system has a current sensor and a position sensor. The torque and speed can be controlled as needed to avoid valve or equipment damage caused by excessive torque or speed when the valve is opened and closed.
5. 响应快。 这主要是由交流伺服系统的快速响应决定的, 满足需要快速响应的电动阀的需 要。  5. Fast response. This is primarily determined by the fast response of the AC servo system to meet the needs of motorized valves that require fast response.
6. 可以实现阀门的自动控制。 伺服控制器内有 MCU, 可以方便地与其他设备进行通讯, 接 收或发出控制指令, 实现阀门的自动控制。  6. Automatic control of the valve is possible. There is an MCU in the servo controller, which can easily communicate with other devices, receive or issue control commands, and realize automatic control of the valve.
下面结合附图和具体实施例对本发明的技术方案进行详细地说明。 附图说明  The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. DRAWINGS
图 1为本发明伺服电动阀的实施例一的整体结构示意图;  1 is a schematic view showing the overall structure of a first embodiment of a servo electric valve according to the present invention;
图 2为本发明伺服电动阀的剖面示意图;  2 is a schematic cross-sectional view of a servo electric valve of the present invention;
图 3为本发明伺服电动阀的控制结构简图;  3 is a schematic diagram of a control structure of a servo electric valve according to the present invention;
图 4为本发明伺服电动阀的控制结构实施例一的简图;  4 is a schematic view showing a first embodiment of a control structure of a servo electric valve according to the present invention;
图 5为伺服电动阀的控制系统的机械环框图;  Figure 5 is a mechanical ring diagram of the control system of the servo electric valve;
图 6为本发明伺服电动阀的控制结构实施例二的简图;  6 is a schematic diagram of a second embodiment of a control structure of a servo electric valve according to the present invention;
图 7为本发明伺服电动阀的实施例二的整体结构示意图;  7 is a schematic view showing the overall structure of a second embodiment of a servo electric valve according to the present invention;
图 8为本发明伺服电动阀的实施例二的控制结构简图;  Figure 8 is a schematic view showing the control structure of the second embodiment of the servo electric valve of the present invention;
图 9为本发明伺服电动阀的实施例三的整体结构示意图; 图 10为单极位置检测装置安装于轴上的结构示意图; 9 is a schematic overall structural view of a third embodiment of a servo electric valve according to the present invention; Figure 10 is a schematic view showing the structure of the unipolar position detecting device mounted on the shaft;
图 11为单极位置检测装置的立体分解图;  Figure 11 is an exploded perspective view of the unipolar position detecting device;
图 12〜图 13为单极位置检测装置安装于轴上的立体图;  12 to 13 are perspective views of the single pole position detecting device mounted on the shaft;
图 14~图 17为导磁环的倒角设计图;  Figure 14 to Figure 17 are chamfered design drawings of the magnetically permeable ring;
图 18为单极位置检测装置实施例一的结构示意图;  18 is a schematic structural view of Embodiment 1 of a unipolar position detecting device;
图 19为单极位置检测装置实施例一的信号处理装置的框图;  Figure 19 is a block diagram of a signal processing apparatus of the first embodiment of the unipolar position detecting device;
图 20为单极位置检测装置实施例二的结构示意图;  20 is a schematic structural view of a second embodiment of a unipolar position detecting device;
图 21为单极位置检测装置实施例二的信号处理装置的框图;  Figure 21 is a block diagram of a signal processing apparatus of the second embodiment of the unipolar position detecting device;
图 22为单极位置检测装置实施例三的结构示意图;  Figure 22 is a schematic structural view of a third embodiment of the unipolar position detecting device;
图 23为单极位置检测装置实施例三的信号处理装置的框图;  Figure 23 is a block diagram of a signal processing apparatus of a third embodiment of the unipolar position detecting device;
图 24为单极位置检测装置实施例四的结构示意图;  Figure 24 is a schematic structural view of a fourth embodiment of the unipolar position detecting device;
图 25为单极位置检测装置实施例四的信号处理装置的框图;  Figure 25 is a block diagram of a signal processing apparatus of a fourth embodiment of the unipolar position detecting device;
图 26为多极位置检测装置的立体分解图;  Figure 26 is an exploded perspective view of the multi-pole position detecting device;
图 27为将设有两个导磁环的位置检测装置的各元件组合到一起的结构示意图;  Figure 27 is a schematic view showing the structure of combining the components of the position detecting device provided with two magnetically conductive rings;
图 28为顺序设置的多极位置检测装置的信号处理方法的流程图之一;  28 is a flow chart showing a signal processing method of the multi-pole position detecting device arranged in sequence;
图 29为顺序设置的位置检测装置的信号处理方法的流程图之二;  29 is a second flowchart of a signal processing method of the position detecting device sequentially disposed;
图 30为顺序设置的位置检测装置的信号处理方法的流程图之三;  Figure 30 is a third flowchart of the signal processing method of the position detecting device arranged in sequence;
图 31为顺序设置的位置检测装置的信号处理方法的流程图之四;  Figure 31 is a fourth flowchart of the signal processing method of the position detecting device arranged in sequence;
图 32为顺序设置的位置检测装置的实施例一的第一磁钢环、导磁环和磁感应元件的结构图; 图 33为顺序设置的位置检测装置的实施例一的第一磁钢环充磁磁序及与磁感应元件的位置 关系图;  Figure 32 is a structural view of a first magnetic steel ring, a magnetic flux ring, and a magnetic induction element of the first embodiment of the position detecting device provided in sequence; Figure 33 is a first magnetic steel ring charge of the first embodiment of the position detecting device provided in sequence. Magnetic magnetic sequence and positional relationship with magnetic sensing elements;
图 34为磁钢环 303的算法流程图;  Figure 34 is a flow chart of the algorithm of the magnetic steel ring 303;
图 35为顺序设置的位置检测装置的实施例一的信号处理装置的框图;  Figure 35 is a block diagram of a signal processing device of the first embodiment of the position detecting device sequentially disposed;
图 36为顺序设置方式的位置检测装置的实施例二的第一磁钢环霍尔元件和导磁环、 磁感应 元件的结构示意图;  Figure 36 is a schematic view showing the structure of a first magnetic steel ring Hall element, a magnetic conductive ring, and a magnetic induction element of the second embodiment of the position detecting device of the sequential arrangement;
图 37为顺序设置方式的位置检测装置的实施例二的第一磁钢环充磁磁序及与磁感应元件的 位置关系图;  Figure 37 is a view showing the positional relationship between the magnetic flux of the first magnetic steel ring and the position of the magnetic induction element in the second embodiment of the position detecting device of the sequential setting mode;
图 38为顺序设置方式的位置检测装置的实施例二的信号处理装置的框图;  Figure 38 is a block diagram of a signal processing device of a second embodiment of the position detecting device of the sequential setting mode;
图 39为顺序设置方式的位置检测装置的实施例三的第一磁钢环霍尔元件和导磁环、 磁感应 元件的结构示意图;  Figure 39 is a schematic view showing the structure of a first magnetic steel ring Hall element, a magnetic conductive ring, and a magnetic induction element of the third embodiment of the position detecting device of the sequential arrangement;
图 40为顺序设置方式的位置检测装置的实施例三的第一磁钢环充磁磁序及与磁感应元件的 位置关系图;  Figure 40 is a view showing the positional relationship between the magnetic flux of the first magnetic steel ring and the position of the magnetic induction element in the third embodiment of the position detecting device of the sequential setting mode;
图 41为顺序设置方式的位置检测装置的实施例三的信号处理装置的框图;  Figure 41 is a block diagram of a signal processing device of a third embodiment of the position detecting device of the sequential setting mode;
图 42为顺序设置的位置检测装置的实施例四的第一磁钢环霍尔元件和导磁环、 磁感应元件 的结构示意图;  Figure 42 is a schematic view showing the structure of a first magnetic steel ring Hall element, a magnetic conductive ring, and a magnetic induction element of the fourth embodiment of the position detecting device;
图 43为顺序设置的位置检测装置的实施例四的第一磁钢环充磁磁序及与磁感应元件的位置 关系图;  Figure 43 is a view showing the positional relationship between the magnetic flux of the first magnetic steel ring and the position of the magnetic induction element of the fourth embodiment of the position detecting device;
图 44为顺序设置的位置检测装置的实施例四的信号处理装置的框图;  Figure 44 is a block diagram of a signal processing device of a fourth embodiment of the position detecting device sequentially disposed;
图 45为磁感应元件直接表贴于位置检测装置上的位置检测装置结构的立体分解图; 图 46~图 49分别是对应于第一磁钢环的磁感应元件直接表贴于位置检测装置上的结构示意 图; Figure 45 is an exploded perspective view showing the structure of a position detecting device in which a magnetic sensing element is directly attached to a position detecting device; 46 to 49 are schematic structural views of the magnetic induction element corresponding to the first magnetic steel ring directly attached to the position detecting device;
图 50为均匀设置的位置检测装置的实施例一对应于第二磁钢环设有 3个磁感应元件时得到 的编码;  Figure 50 is a first embodiment of the position detecting device uniformly disposed corresponding to the code obtained when the second magnetic steel ring is provided with three magnetic sensing elements;
图 51为均匀设置的位置检测装置的实施例一对应于第二磁钢环设有 3个磁感应元件时第二 磁钢环的充磁顺序;  Figure 51 is a first embodiment of the position detecting device uniformly disposed corresponding to the magnetizing sequence of the second magnetic steel ring when the second magnetic steel ring is provided with three magnetic sensing elements;
图 52为均匀设置的位置检测装置的实施例一的第二磁钢环、 导磁环和磁感应元件的结构图 图 53为均匀设置的位置检测装置的实施例一的第一磁钢环均匀磁化为 6对极时对应 2个磁 感应元件的布置图;  Figure 52 is a structural view of a second magnetic steel ring, a magnetic flux ring, and a magnetic induction element of the first embodiment of the position detecting device which is uniformly disposed. Figure 53 is a first magnetic ring uniform magnetization of the first embodiment of the position detecting device which is uniformly disposed. A layout diagram corresponding to two magnetic induction elements for 6 pairs of poles;
图 54为均匀设置的位置检测装置的实施例一的第一磁钢环、导磁环和磁感应元件的结构图; 图 55为均匀设置的位置检测装置的实施例二的第一磁钢环、 导磁环和磁感应元件的结构图 图 56为均匀设置的位置检测装置的实施例三的第一磁钢环、导磁环和磁感应元件的结构图; 图 57为均匀设置的位置检测装置的实施例四的第一磁钢环、导磁环和磁感应元件的结构图; 图 58是均匀设置的位置检测装置的实施例一至实施例四的另一种结构的立体分解图; 图 59为另一种减速装置的结构示意图;  Figure 54 is a structural view of a first magnetic steel ring, a magnetic flux ring and a magnetic induction element of the first embodiment of the position detecting device which is uniformly disposed; Figure 55 is a first magnetic steel ring of the second embodiment of the position detecting device which is uniformly disposed, FIG. 56 is a structural view of a first magnetic steel ring, a magnetic flux ring, and a magnetic induction element of a third embodiment of the position detecting device that is uniformly disposed; FIG. 57 is a configuration of a position detecting device that is uniformly disposed. 4 is a structural view of a first magnetic steel ring, a magnetic flux ring, and a magnetic induction element; and FIG. 58 is an exploded perspective view showing another structure of the first to fourth embodiments of the position detecting device that is uniformly disposed; FIG. 59 is another Schematic diagram of a type of speed reduction device;
图 60为另一种减速装置的结构示意图; 以及  Figure 60 is a schematic structural view of another speed reducing device;
图 61为一体机的分解图。 具体实施方式  Figure 61 is an exploded view of the all-in-one. Detailed ways
实施例一  Embodiment 1
图 1为本发明伺服电动阀的实施例一的整体结构示意图。 如图 1所示, 本发明提供一种伺服 电动阀, 包括阀体 1, 阀体 1的两端分别为出液腔 41和进液腔 40。 阀体 1中设有阀杆 2, 伺服电 机 10的输出通过联轴器 3与减速器输入端蜗杆 24相连, 减速器的输出端涡轮 25与阀杆 2相连, 阀杆 2与阀孔 5相连并控制阀孔 5的开度。 伺服电机 10的电机轴上设有位置检测装置 7, 位置检 测装置 7输入信号给伺服控制器 9控制伺服电机 10驱动减速器并通过阀杆 2控制阀孔 5的开度。  1 is a schematic view showing the overall structure of a first embodiment of a servo electric valve according to the present invention. As shown in Fig. 1, the present invention provides a servo electric valve including a valve body 1, and two ends of the valve body 1 are an outlet chamber 41 and an inlet chamber 40, respectively. The valve body 1 is provided with a valve stem 2, and the output of the servo motor 10 is connected to the reducer input end worm 24 via a coupling 3, the output end of the reducer turbine 25 is connected to the valve stem 2, and the valve stem 2 is connected to the valve hole 5. And controlling the opening degree of the valve hole 5. The motor shaft of the servo motor 10 is provided with a position detecting device 7, and the position detecting device 7 inputs a signal to the servo controller. 9 controls the servo motor. 10 drives the speed reducer and controls the opening degree of the valve hole 5 through the valve stem 2.
如图 1结合图 2所示,本发明的伺服电动阀可以通过手动和电动两种方式控制阀孔 5的开度, 因为在一些特殊的情况, 如电动控制阀孔 5失效时需要手动控制阀孔 5。 当转动手轮 30时, 通过 联轴器 6带动蜗杆 24旋转, 蜗杆 24带动蜗轮 25旋转, 蜗轮 25被限制了轴向移动, 只能转动。 阀杆 24上端有螺纹, 蜗轮 25通过螺纹与阀杆 2连接, 阀杆 2被限制了旋转, 只能沿轴向上下运 动。 蜗轮 25在旋转时, 在螺纹的作用下使阀杆 2上升或下降, 从而实现阀孔 5的开启或闭合。 另 一种电动控制方式是通过伺服控制器 9控制伺服电机 10运行。 伺服电机 10通过联轴器 3带动蜗 杆 24旋转, 蜗杆 24带动蜗轮 25旋转。 与手动控制相同, 蜗轮 25在旋转时, 在螺纹的作用下使 阀杆 2上升或下降, 从而实现阀孔 5的开启或闭合。 在电机轴上装有位置检测装置 7, 用于检测 电机轴的角度位置, 通过信号线 8传递给伺服控制器 9, 伺服控制器 9通过控制线 31对伺服电机 10进行闭环控制, 从而精确控制阀孔 5的开度。  As shown in FIG. 1 in conjunction with FIG. 2, the servo electric valve of the present invention can control the opening degree of the valve hole 5 by both manual and electric methods, because in some special cases, such as the failure of the electric control valve hole 5, a manual control valve is required. Hole 5. When the hand wheel 30 is rotated, the worm 24 is rotated by the coupling 6, and the worm 24 drives the worm wheel 25 to rotate, and the worm wheel 25 is restricted from moving axially and can only rotate. The upper end of the valve stem 24 is threaded, and the worm wheel 25 is threadedly connected to the valve stem 2, and the valve stem 2 is restricted from rotating and can only move up and down in the axial direction. When the worm wheel 25 rotates, the valve stem 2 is raised or lowered by the action of the thread, thereby opening or closing the valve hole 5. Another type of electric control is to control the operation of the servo motor 10 through the servo controller 9. The servo motor 10 rotates the worm 24 through the coupling 3, and the worm 24 drives the worm wheel 25 to rotate. As with the manual control, when the worm wheel 25 rotates, the valve stem 2 is raised or lowered by the action of the thread, thereby opening or closing the valve hole 5. A position detecting device 7 is mounted on the motor shaft for detecting the angular position of the motor shaft, and is transmitted to the servo controller 9 through the signal line 8, and the servo controller 9 performs closed-loop control on the servo motor 10 through the control line 31, thereby precisely controlling the valve. The opening of the hole 5.
图 3为本发明伺服电动阀的控制结构简图。 如图 3所示, 电动阀的控制系统包括伺服控制器 9、 伺服电机 10和位置检测装置 7。  Fig. 3 is a schematic view showing the control structure of the servo electric valve of the present invention. As shown in Fig. 3, the control system of the electric valve includes a servo controller 9, a servo motor 10, and a position detecting device 7.
伺服控制器 9包括数据处理单元、 电机驱动单元和电流传感器, 数据处理单元接收输入的指 令信号、 电流传感器采集的电机输入电流信号和位置检测装置 7输出的代表电机角度的信息, 经 过数据处理, 输出控制信号给电机驱动单元, 所述电机驱动单元根据控制信号输出合适的电压给 伺服电机 10, 从而实现对伺服电机 10的精确控制。 The servo controller 9 includes a data processing unit, a motor driving unit and a current sensor. The data processing unit receives the input command signal, the motor input current signal collected by the current sensor, and the information representing the motor angle output by the position detecting device 7 After the data processing, the control signal is output to the motor driving unit, and the motor driving unit outputs an appropriate voltage to the servo motor 10 according to the control signal, thereby achieving precise control of the servo motor 10.
数据处理单元包括机械环控制子单元、 电流环控制子单元、 PWM控制信号产生子单元和传 感器信号处理子单元;  The data processing unit includes a mechanical loop control subunit, a current loop control subunit, a PWM control signal generating subunit, and a sensor signal processing subunit;
传感器信号处理子单元接收位置检测装置输出的代表电机角度的信息,将电机的角度传输给 所述的机械环控制子单元; 所述传感器信号处理子单元还接收所述电流传感器的检测到的电流信 号, 经过 A/D采样后输出给所述的电流环控制子单元;  The sensor signal processing subunit receives information representative of the motor angle output by the position detecting device, and transmits the angle of the motor to the mechanical ring control subunit; the sensor signal processing subunit further receives the detected current of the current sensor The signal is output to the current loop control subunit after being sampled by A/D;
所述机械环控制子单元根据接收到的指令信号和电机轴的转动角度, 经过运算得到电流指 令, 并输出给所述的电流环控制子单元;  The mechanical ring control subunit obtains a current command through operation according to the received command signal and the rotation angle of the motor shaft, and outputs the current command to the current loop control subunit;
电流环控制子单元根据接收到的电流指令的电流传感器输出的电流信号,经过运算得到三相 电压的占空比控制信号, 并输出给 PWM控制信号产生子单元;  The current loop control sub-unit obtains a duty control signal of the three-phase voltage according to the current signal output by the current sensor of the received current command, and outputs the duty control signal to the PWM control signal generating sub-unit;
PWM控制信号产生子单元根据接收到的三相电压的占空比控制信号, 生成具有一定顺序的 六路 PWM信号, 分别作用于电机驱动单元。  The PWM control signal generating sub-unit generates six PWM signals having a certain order according to the received duty control signal of the three-phase voltage, and respectively acts on the motor driving unit.
电机驱动单元包括六个功率开关管, 所述开关管每两个串联成一组, 三组并联连接在直流供 电线路之间, 每一开关管的控制端受 PWM控制信号产生子单元输出的 PWM信号的控制, 每一 组中的两个开关管分时导通。 电机驱动单元根据 PWM信号, 产生三相电压给伺服电机 10, 控制 伺服电机 10运行。 伺服电机 10通过联轴器 3驱动蜗杆 24转动, 从而使阀杆 2载涡轮 25的带动 下作上下运动, 控制阀孔 5的开度。  The motor drive unit comprises six power switch tubes, the switch tubes are connected in series in two groups, three groups are connected in parallel between the DC power supply lines, and the control end of each switch tube is subjected to a PWM control signal to generate a PWM signal output by the subunit. Control, the two switching tubes in each group are time-divisionally turned on. The motor drive unit generates a three-phase voltage to the servo motor 10 according to the PWM signal, and controls the servo motor 10 to operate. The servo motor 10 drives the worm 24 to rotate by the coupling 3, so that the valve rod 2 is driven up and down by the turbine 25 to control the opening of the valve hole 5.
图 4为本发明伺服电动阀的控制结构实施例一的简图。 如图 4所示, 数据处理单元为 MCU, 电机驱动单元为 IPM模块。 在该实施例中, 从位置检测装置 7中输出电压信号, 因此在伺服控制 器 9的数据处理单元中设有角度计算单元,将位置检测装置 7中输出的电压信号转换成角度信息。  4 is a schematic view showing a first embodiment of a control structure of a servo electric valve according to the present invention. As shown in Figure 4, the data processing unit is an MCU, and the motor drive unit is an IPM module. In this embodiment, the voltage signal is output from the position detecting means 7, so that an angle calculating unit is provided in the data processing unit of the servo controller 9, and the voltage signal outputted from the position detecting means 7 is converted into angle information.
具体而言, MCU根据设定的阀的开度, 计算出阀杆上升或下降的位移, 再通过螺距计算出 蜗轮轴的角度位置, 然后通过减速器的传动比, 计算出电机轴的角度位置, 即角度指令, 通过控 制电机转动到指定的角度来控制阀的开度。  Specifically, the MCU calculates the displacement of the valve stem ascending or descending according to the set opening degree of the valve, and then calculates the angular position of the worm wheel shaft by the pitch, and then calculates the angular position of the motor shaft through the gear ratio of the reducer. , that is, the angle command, controls the opening of the valve by controlling the rotation of the motor to a specified angle.
结合图 5所示, 机械环根据角度指令和角度求解算法得到的角度反馈, 经过控制计算, 计算 出电流指令, 传递给电流环。 机械环包括蜗轮位置环、 电机位置环和速度环, 蜗轮位置环输出电 机角度指令, 电机位置环输出速度指令, 速度环输出电流指令。  Combined with Figure 5, the mechanical loop obtains the angular feedback from the angle command and the angle solving algorithm. After the control calculation, the current command is calculated and transmitted to the current loop. The mechanical ring includes the worm gear position ring, the motor position ring and the speed ring, the worm wheel position ring output motor angle command, the motor position ring output speed command, and the speed loop output current command.
根据设定阀门开度计算出蜗轮角度指令。位置检测装置 7感应电机轴的角度位置, 并将感应 的电压信号传递给 MCU, 经过 A/D采样得到包含角度信息的数字信号, 传递给 MCU内的 CPU, CPU运行角度求解算法, 得到电机角度反馈。 电机角度指令减去电机角度反馈, 得到电机角度误 差, 通过 PID控制器对电机角度进行 PID控制, 得到速度指令, 电机角度的 PID控制叫做电机位 置环, 电机位置环输出的是速度指令, 传递给速度环。  The worm wheel angle command is calculated according to the set valve opening degree. The position detecting device 7 senses the angular position of the motor shaft, and transmits the induced voltage signal to the MCU, and obtains a digital signal containing the angle information through A/D sampling, and transmits the digital signal to the CPU in the MCU, and the CPU runs the angle solving algorithm to obtain the motor angle. Feedback. The motor angle command subtracts the motor angle feedback to obtain the motor angle error. PID control is performed on the motor angle by the PID controller to obtain the speed command. The PID control of the motor angle is called the motor position loop, and the motor position loop outputs the speed command, which is transmitted to Speed loop.
电机角度反馈通过微分器得到速度反馈, 速度指令减去速度反馈, 得到速度误差, 通过 PID 控制器对速度进行 PID控制, 得到电流指令 K。 速度的 PID控制叫做速度环。 电流指令为速 度环的输出, 也为机械环的输出, 机械环输出电流指令 给电流环。  The motor angle feedback is obtained by the differentiator, the speed command is subtracted from the speed feedback, and the speed error is obtained. The PID controller controls the speed to obtain the current command K. The PID control of speed is called the speed loop. The current command is the output of the speed loop, also the output of the mechanical loop, and the mechanical loop outputs the current command to the current loop.
图 6为本发明伺服电动阀的控制结构实施例二的简图。 如图 6所示, 与图 4所示的控制结构 不同之处在于, 在该实施例中, 位置检测装置 7集成有角度计算单元, 因此在位置检测装置 7内 完成了将电压信号转换成角度信号。 直接输出的角度信号通过同步口通讯输入机械环子单元中。  Fig. 6 is a schematic view showing a second embodiment of the control structure of the servo electric valve of the present invention. As shown in FIG. 6, the control structure shown in FIG. 4 is different in that, in this embodiment, the position detecting device 7 is integrated with an angle calculating unit, so that the voltage signal is converted into an angle in the position detecting device 7. signal. The direct output angle signal is input into the mechanical ring subunit through the synchronization port communication.
结合上述伺服电动阀的控制结构简图, 来说明本发明伺服电动阀的控制方法。 设定电动阀阀 门开度值, 并将该数值预存在伺服控制器的 MCU 中; 根据电动阀阀门开度值的大小, 计算出阀 杆的位移量, 伺服控制器根据减速器的传动比, 计算电机轴的驱动角度; 伺服控制器每隔一个固 定周期, 读取位置检测装置的电压信号, 并将所述的电压信号通过角度求解算法转换成电机轴的 角度位置。 检测电机轴的实际角度, 对伺服电机的驱动角度进行控制, 使其达到预存数值, 实现 电动阀的阀门开度控制。 The control method of the servo electric valve of the present invention will be described in conjunction with the control structure diagram of the servo electric valve described above. Set electric valve The door opening value is pre-stored in the MCU of the servo controller; the displacement of the valve stem is calculated according to the opening value of the valve of the electric valve, and the servo controller calculates the motor shaft according to the transmission ratio of the reducer. Driving angle; the servo controller reads the voltage signal of the position detecting device every other fixed period, and converts the voltage signal into an angular position of the motor shaft through an angle solving algorithm. The actual angle of the motor shaft is detected, and the driving angle of the servo motor is controlled to reach the pre-stored value to realize the valve opening degree control of the electric valve.
实施例二  Embodiment 2
图 7为本发明伺服电动阀的实施例二的整体结构示意图。 如图 7所示, 涡轮轴 32上也设有 位置检测装置 7, 位置检测装置 7检测阀杆 2的角度信息, 输入信号给伺服控制器 9, 伺服控制器 9控制伺服电机 10驱动减速器并通过阀杆 2控制阀孔 5的开度。  Fig. 7 is a schematic view showing the overall structure of a second embodiment of the servo electric valve of the present invention. As shown in Fig. 7, a position detecting device 7 is also provided on the turbine shaft 32. The position detecting device 7 detects the angle information of the valve stem 2, inputs an input signal to the servo controller 9, and the servo controller 9 controls the servo motor 10 to drive the speed reducer. The opening of the valve hole 5 is controlled by the valve stem 2.
图 8为本发明伺服电动阀的实施例二的控制结构简图。 如图 8所示, 与实施例一不同之处在 于, 在蜗杆 2和电机轴上分别装有位置检测装置 7, 分别用于检测蜗杆 2的角度位置和电机轴的 角度位置, 并传递给伺服控制器 9, 伺服控制器 9对蜗杆和伺服电机 10进行闭环控制, 从而控制 阀的开度。  Fig. 8 is a schematic view showing the control structure of the second embodiment of the servo electric valve of the present invention. As shown in FIG. 8, the difference from the first embodiment is that a position detecting device 7 is respectively mounted on the worm 2 and the motor shaft for detecting the angular position of the worm 2 and the angular position of the motor shaft, respectively, and transmitting the same to the servo. The controller 9, the servo controller 9 performs closed-loop control of the worm and the servo motor 10, thereby controlling the opening degree of the valve.
本发明伺服电动阀的实施例二的控制方法如下: 在阀杆上设置位置检测装置, 通过该位置检 测装置直接检测、 计算并获得阀杆的角度位置信息, 将感应电压信号传递给伺服控制器的 MCU, 伺服控制器经过计算, 获得阀杆的角度位置信息; 检测伺服电机轴的角度位置, 将感应电压信号 传递给伺服控制器的 MCU, 伺服控制器经过计算, 获得电机轴的角度位置信息; MCU接收位置 检测装置的电压信号和电流传感器感应的电机三相电流信号, 并运行角度求解算法和进行相应控 制计算, 计算出 PWM信号给电机控制模块, 控制电机控制模块输出三相电压的占空比, 电机控 制模块接受 MCU 的控制, 输出三相电压给伺服电机, 驱动伺服电机运动, 实现电动阀的阀门开 度控制。  The control method of the second embodiment of the servo electric valve of the present invention is as follows: a position detecting device is arranged on the valve stem, and the position detecting device directly detects, calculates and obtains the angular position information of the valve stem, and transmits the induced voltage signal to the servo controller. The MCU, the servo controller is calculated to obtain the angular position information of the valve stem; the angular position of the servo motor shaft is detected, and the induced voltage signal is transmitted to the MCU of the servo controller, and the servo controller is calculated to obtain the angular position information of the motor shaft. The MCU receives the voltage signal of the position detecting device and the motor three-phase current signal induced by the current sensor, and runs the angle solving algorithm and performs corresponding control calculation, calculates the PWM signal to the motor control module, and controls the output of the three-phase voltage of the motor control module. Air ratio, the motor control module accepts the control of the MCU, outputs the three-phase voltage to the servo motor, drives the servo motor to move, and realizes the valve opening control of the electric valve.
实施例三  Embodiment 3
图 9为本发明伺服电动阀的实施例三的整体结构示意图。 如图 9所示, 与实施例二不同之处 在于, 在阀杆 2上另设有传动机构, 该传动机构的主动件设置在阀杆 2上, 从动件的转轴上设有 位置检测装置 7, 在该实施例中, 传动机构的主动件为齿轮 43, 从动件为齿轮 44, 即齿轮传动机 构。 齿轮 44设置在齿轮轴 42上。 位置检测装置 7输入信号给伺服控制器 9, 伺服控制器 9控制 伺服电机 10驱动减速器并通过阀杆 2控制阀孔 5的开度。  Fig. 9 is a schematic view showing the overall structure of a third embodiment of the servo electric valve of the present invention. As shown in FIG. 9, the difference from the second embodiment is that a transmission mechanism is further disposed on the valve stem 2, and the active member of the transmission mechanism is disposed on the valve stem 2, and the position detecting device is disposed on the rotating shaft of the driven member. 7. In this embodiment, the active member of the transmission mechanism is a gear 43 and the driven member is a gear 44, that is, a gear transmission mechanism. The gear 44 is disposed on the gear shaft 42. The position detecting device 7 inputs a signal to the servo controller 9, and the servo controller 9 controls the servo motor 10 to drive the speed reducer and control the opening degree of the valve hole 5 through the valve stem 2.
图 2结合图 9所示, 当阀杆 2在最底部时, 将阀孔 5堵住, 进液腔 40和出液腔 41不连通, 实现了阀的闭合。 阀杆 2从最底部向上运动时, 阀孔 5逐渐打开, 进液腔和出液腔连通, 实现了 阀的开启。 密封填料 36的作用是防止阀体 1中的液体从阀盖 33流出。  As shown in Fig. 2, when the valve stem 2 is at the bottom, the valve hole 5 is blocked, and the liquid inlet chamber 40 and the liquid outlet chamber 41 are not connected, so that the valve is closed. When the valve stem 2 moves upward from the bottom, the valve hole 5 is gradually opened, and the inlet chamber and the outlet chamber are connected to realize the opening of the valve. The function of the sealing packing 36 is to prevent the liquid in the valve body 1 from flowing out of the valve cover 33.
本发明伺服电动阀的实施例三的控制方法如下: 在阀杆上设置传动机构, 该传动机构的主动 件设置在阀杆上, 从动件的转轴上设有位置检测装置, 通过传动比大小的设定, 使传动机构位移 的大小与阀门的开度一一对应, 通过位置检测装置检测传动机构位移的大小, 直接获得阀门的开 度。 其中, 传动比大小的设定, 使阀门从全开到全闭或从全闭到全开, 传动机构中从动件的转轴 转动角度不到 360° ; 检测伺服电机轴的角度位置, 将感应电压信号传递给伺服控制器的 MCU, 伺服控制器经过计算, 获得电机轴的角度位置信息; MCU接收位置检测装置的电压信号和电流传 感器感应的电机三相电流信号, 并运行角度求解算法和进行相应控制计算, 计算出 PWM信号给 电机控制模块, 控制电机控制模块输出三相电压的占空比, 电机控制模块接受 MCU 的控制, 输 出三相电压给伺服电机, 驱动伺服电机运动, 实现电动阀的阀门开度控制。 本发明的位置检测装置设有 1个磁钢环和 1个导磁环, 被称为单极位置检测装置。 然而, 在 本发明的位置检测装置中可以设有多个磁钢环和相应的多个导磁环, 被称为多极位置检测装置。 无论采用单级或者多级的位置检测装置, 都是将 1个或多个磁钢环设置在转轴上, 磁钢环的外部 套设导磁环, 并将磁感应元件插设在导磁环的间隙中, 为了便于固定导磁环, 还设置有骨架, 使 导磁环和骨架一体成型。 当转轴发生转动时, 磁感应元件感测到转轴的转动输入信号给伺服控制 器, 伺服控制器控制伺服电机驱动阀杆进而控制阀孔的开度。 The control method of the third embodiment of the servo electric valve of the present invention is as follows: a transmission mechanism is arranged on the valve stem, and the active member of the transmission mechanism is disposed on the valve stem, and the position detecting device is arranged on the rotating shaft of the driven member, and the transmission ratio is adopted. The setting makes the displacement of the transmission mechanism one-to-one corresponding to the opening degree of the valve, and the position detecting device detects the displacement of the transmission mechanism, and directly obtains the opening degree of the valve. Among them, the setting of the transmission ratio makes the valve from full open to fully closed or from fully closed to fully open, and the rotation angle of the driven shaft of the transmission mechanism is less than 360°; detecting the angular position of the servo motor shaft will induce The voltage signal is transmitted to the MCU of the servo controller, and the servo controller is calculated to obtain the angular position information of the motor shaft; the MCU receives the voltage signal of the position detecting device and the motor three-phase current signal induced by the current sensor, and runs the angle solving algorithm and performs Corresponding control calculation, calculate PWM signal to motor control module, control motor control module output three-phase voltage duty cycle, motor control module accept MCU control, output three-phase voltage to servo motor, drive servo motor movement, realize electric valve Valve opening control. The position detecting device of the present invention is provided with a magnetic steel ring and a magnetic conductive ring, and is called a unipolar position detecting device. However, in the position detecting device of the present invention, a plurality of magnetic steel rings and a corresponding plurality of magnetic conductive rings may be provided, which are referred to as multi-pole position detecting devices. Regardless of the single-stage or multi-stage position detecting device, one or more magnetic steel rings are arranged on the rotating shaft, the magnetic steel ring is externally sheathed with a magnetic conductive ring, and the magnetic sensing element is inserted in the magnetic conductive ring. In the gap, in order to facilitate the fixing of the magnetic flux ring, a skeleton is further provided to integrally form the magnetic flux guiding ring and the skeleton. When the rotating shaft rotates, the magnetic induction element senses the rotation input signal of the rotating shaft to the servo controller, and the servo controller controls the servo motor to drive the valve stem to control the opening degree of the valve hole.
单极位置检测装置  Monopole position detecting device
图 10为单极位置检测装置安装于轴上的结构示意图; 图 11为单极位置检测装置的立体分解 图; 图 12和图 13是单极位置检测装置安装于轴上的立体图; 如图 10〜图 13所示, 本发明的位置 检测装置由磁感应元件板 102、磁钢环 103、导磁环 104、骨架 105组成;磁感应元件板 102由 PCB 板和磁感应元件 106组成, 磁感应元件板 102上还装有接插件 108。 磁感应元件 106通常采用霍 尔感应元件。  Figure 10 is a schematic view showing the structure of the single-pole position detecting device mounted on the shaft; Figure 11 is an exploded perspective view of the single-pole position detecting device; Figure 12 and Figure 13 are perspective views of the single-pole position detecting device mounted on the shaft; As shown in FIG. 13, the position detecting device of the present invention is composed of a magnetic induction element board 102, a magnetic steel ring 103, a magnetic conductive ring 104, and a bobbin 105; the magnetic induction element board 102 is composed of a PCB board and a magnetic induction element 106, which is on the magnetic induction element board 102. A connector 108 is also provided. The magnetic sensing element 106 typically employs a Hall sensing element.
磁钢环 103装在轴 107上, 轴 107就是上述电动阀的各个实施例中的包括阀杆、 电机轴、 传 动装置的从动件轴在内的各种转轴, 导磁环 104固定在骨架 105上, 骨架 105固定在电机的合适 位置。 当轴 107转动时, 磁钢环 103转动, 产生正弦磁场, 而导磁环 104起聚磁作用, 磁钢环 103 产生的磁通通过导磁环 104。 PCB板上固定的磁感应元件 106把通过导磁环 104的磁场转换成电 压信号并输出, 该电压信号直接进入主控板芯片。 由主控板上芯片对电压信号进行处理, 最后得 到位角位移。  The magnetic steel ring 103 is mounted on a shaft 107. The shaft 107 is a plurality of rotating shafts including a valve stem, a motor shaft, and a follower shaft of the transmission in various embodiments of the electric valve, and the magnetic flux ring 104 is fixed to the skeleton. At 105, the skeleton 105 is fixed at a suitable position on the motor. When the shaft 107 rotates, the magnetic steel ring 103 rotates to generate a sinusoidal magnetic field, and the magnetic conductive ring 104 acts as a collecting magnet, and the magnetic flux generated by the magnetic steel ring 103 passes through the magnetic conductive ring 104. The magnetic induction element 106 fixed on the PCB converts the magnetic field passing through the magnetic flux ring 104 into a voltage signal and outputs it, and the voltage signal directly enters the main control board chip. The voltage signal is processed by the chip on the main control board, and finally the angular displacement is obtained.
其中, 在制作所述的位置检测装置时, 导磁环 104设置在骨架成型模具上, 在所述骨架一体 成型时与骨架 105固定在一起。  Wherein, in the production of the position detecting device, the magnetic flux ring 104 is disposed on the skeleton forming mold, and is fixed to the skeleton 105 when the skeleton is integrally formed.
图 14~图 17以由 1/4弧段和 3/4弧段构成的导磁环为例,图示了本发明的导磁环的倒角设计。 如图 14~图 17所示, 导磁环由两段或多段同半径、 同圆心的弧段构成, 图 14所示的导磁环没有 设计倒角, 图 15~图 17所示的弧段端部设有倒角, 所述倒角为沿轴向 (图 15 ) 或径向 (图 16 ) 或同时沿轴向、 径向 (图 17 ) 切削而形成的倒角, 轴向切面 151、 154, 径向切面 152、 153。 相 邻两弧段间留有缝隙, 磁感应元件置于该缝隙内, 当磁钢环与导磁环发生相对旋转运动时, 所述 磁感应元件将感测到的磁信号转换为电压信号, 并将该电压信号传输给相应的控制器。  14 to 17 illustrate the chamfering design of the magnetic flux guiding ring of the present invention by taking a magnetic conducting ring composed of a 1/4 arc segment and a 3/4 arc segment as an example. As shown in Fig. 14 to Fig. 17, the magnetic flux ring is composed of two or more segments of the same radius and the same center. The magnetic ring shown in Fig. 14 has no chamfer design, and the arc segments shown in Fig. 15 to Fig. 17 The end portion is provided with a chamfer, which is a chamfer formed by cutting in the axial direction (Fig. 15) or the radial direction (Fig. 16) or simultaneously in the axial direction and the radial direction (Fig. 17), the axial section 151, 154, radial section 152, 153. a gap is left between two adjacent arc segments, and a magnetic induction element is placed in the gap. When the magnetic steel ring and the magnetic flux ring rotate relative to each other, the magnetic induction element converts the sensed magnetic signal into a voltage signal, and This voltage signal is transmitted to the corresponding controller.
Β = Φ Β = Φ
根据磁密公式 S可以知道, 当 ^一定时候, 可以通过减少 , 增加 β。  According to the magnetic density formula S, it can be known that when ^ is certain, β can be increased by decreasing.
因为永磁体产生的磁通是一定的, 在导磁环中 较大, 所以 Β比较小, 因此可以减少因为磁 场交变而导致的发热。 而通过减少导磁环端部面积能够增大端部的磁场强度, 使得磁感应元件的 输出信号增强。  Since the magnetic flux generated by the permanent magnet is constant and large in the magnetically permeable ring, the enthalpy is relatively small, so that the heat generation due to the alternating magnetic field can be reduced. By reducing the end area of the magnetic flux ring, the magnetic field strength of the end portion can be increased, so that the output signal of the magnetic induction element is enhanced.
本发明还提供了一种基于上述结构的位置检测装置的信号处理装置, 包括: A/D转换电路、 合成模块、 角度获取模块和存储模块, 其中, A/D转换电路对位置检测装置中磁感应元件发送来 的电压信号进行 A/D转换, 将模拟信号转换为数字信号, 对应于磁感应元件的个数, 该模块中具 有多个 A/D转换器, 分别用于对每个磁感应元件发送来的电压信号进行 A/D转换; 所述合成模块 对经过 A/D转换的多个电压信号进行处理, 得到基准信号 D ; 所述角度获取模块, 根据该基准信 号0, 在角度存储表中选择与其相对的角度作为偏移角度 ; 所述存储模块用于存储数据。  The present invention also provides a signal processing apparatus based on the position detecting apparatus of the above structure, comprising: an A/D conversion circuit, a synthesizing module, an angle acquiring module, and a storage module, wherein the A/D converting circuit is magnetically sensed in the position detecting device The voltage signal sent from the component is A/D converted, and the analog signal is converted into a digital signal corresponding to the number of magnetic sensing elements. The module has a plurality of A/D converters for transmitting to each magnetic sensing element. The voltage signal is subjected to A/D conversion; the synthesis module processes the A/D converted plurality of voltage signals to obtain a reference signal D; and the angle acquisition module selects in the angle storage table according to the reference signal 0 An angle opposite thereto is used as an offset angle; the storage module is configured to store data.
上述各个模块可以构成一 MCU。 以下通过实施例详细描述本发明的位置检测装置及其信号 处理装置。 下文中所涉及到的传感器即是磁感应元件。 Each of the above modules may constitute an MCU. The position detecting device of the present invention and its signal processing device will be described in detail below by way of embodiments. The sensor referred to hereinafter is a magnetic induction element.
实施例一  Embodiment 1
在单极位置检测装置中设有两个磁感应元件。  Two magnetic induction elements are provided in the unipolar position detecting device.
图 18为单极位置检测装置实施例一的结构示意图。 如图 18所示, 导磁环由两段同半径的弧 段构成, 分别为 1/4弧段 111和 3/4弧段 112, 位置 A和 B相距角度为 90 ° , 并开有狭缝, 两个 磁感应元件 109和 110分别放置于 A和 B处的狭缝中。 在电机轴上, 导磁环与磁钢环 113同心安 装。  Figure 18 is a schematic view showing the structure of the first embodiment of the unipolar position detecting device. As shown in Fig. 18, the magnetic flux ring is composed of two arc segments of the same radius, which are respectively a quarter arc segment 111 and a 3/4 arc segment 112, and the positions A and B are at an angle of 90 ° and slit. Two magnetic sensing elements 109 and 110 are placed in the slits at A and B, respectively. On the motor shaft, the magnetic flux ring is mounted concentrically with the magnetic steel ring 113.
图 19为单极位置检测装置实施例一的信号处理装置的框图,磁感应元件 Hla和 H2a的输出信 号接 MCU的内置 A/D转换器模拟输入口, 经模数转换后得到输出信号接乘法器 20a、 21 a , 系 数矫正器 5a的输出信号 K接乘法器 20a、 21 a 的输入端, 乘法器 20a、 21 a 的输出信号接合成器 3a的输入端, 合成器 3a输出信号 D和 R, 系数矫正器 5a接收合成器 3a输出的信号 D和 R, 通 过运算得到信号 K, 通过使磁感应元件 Hla和 H2a的信号与该信号 K进行相乘, 以此来进行温度 补偿, 消除温度对信号的影响。 存储器 40a中存储有一角度存储表, MCU根据信号 D在角度存 储表中选择与其相对的角度作为偏移角度 。 19 is a block diagram of a signal processing apparatus of the first embodiment of the unipolar position detecting device. The output signals of the magnetic sensing elements H la and H 2a are connected to the analog input port of the built-in A/D converter of the MCU, and the output signals are obtained after analog-to-digital conversion. The multipliers 20a, 21a, the output signal K of the coefficient aligner 5a are connected to the input terminals of the multipliers 20a, 21a, the output signals of the multipliers 20a, 21a are coupled to the input of the amp 3a, and the synthesizer 3a outputs the signal D and R, the coefficient corrector 5a receives the signals D and R output from the synthesizer 3a, obtains the signal K by calculation, and multiplies the signals of the magnetic induction elements H la and H 2a by the signal K, thereby performing temperature compensation and eliminating The effect of temperature on the signal. An angle storage table is stored in the memory 40a, and the MCU selects an angle opposite thereto in the angle storage table as the offset angle according to the signal D.
其中对信号的处理, 即合成器 3a对信号的处理原则是: 比较两个信号的数值的大小, 数值 小的用于输出的信号 D, 信号 D的结构为 {第一个信号的符合位, 第二个信号的符合位, 较小数 值的信号的数值位 }。 以本实施例为例, 说明如下:  The processing of the signal, that is, the processing principle of the synthesizer 3a on the signal is: comparing the magnitude of the values of the two signals, the signal D having a small value for output, and the structure of the signal D is {the coincidence of the first signal, The coincidence bit of the second signal, the numerical value of the signal of the smaller value}. Taking this embodiment as an example, the description is as follows:
约定:  Convention:
当数据 X为有符号数时, 数据 X的第 0位 (二进制左起第 1位) 为符号位, X_0= 1表示数 据 X为负, X_0=0表示数据 X为正。 When the data X is a signed number, the 0th bit of the data X (the first bit from the left of the binary) is the sign bit, X_0=1 indicates that the data X is negative, and X_0=0 indicates that the data X is positive.
_0表示数据 X的数值位 (数据的绝对值), 即去除符号位剩下数据位。  _0 indicates the value bit of the data X (the absolute value of the data), that is, the remaining data bits are removed from the sign bit.
如果 A_D>=B_D
Figure imgf000013_0001
If A_D>=B_D
Figure imgf000013_0001
否则:  Otherwise:
D={ A_0 ; B_0 A_D }  D={ A_0 ; B_0 A_D }
R= 2 + B2R = 2 + B 2 .
在存储模块中存储有一标准角度表, 其中存储了对应于一系列的码, 每一个码对应于一个角 度。 该表是通过标定得到的, 标定方法是, 利用本施例的检测装置和一高精度位置传感器, 将本 施例中的磁感应元件输出的信号和该高精度位置传感器输出的角度进行一一对应, 以此建立出一 磁感应元件输出的信号与角度之间的关系表。  A standard angle table is stored in the storage module in which a series of codes are stored, each code corresponding to an angle. The table is obtained by calibration, and the calibration method is: using the detecting device of the embodiment and a high-precision position sensor, the signals output by the magnetic sensing element in the embodiment and the angle of the high-precision position sensor output are in one-to-one correspondence. In order to establish a relationship between the signal and the angle of the output of a magnetic induction element.
另外, 在存储模块中还存储了一些数据修正表, 这些表中包括一个信号 D与信号 RQ的对应 表, 其中信号 R。为信号 R在标准状态下的信号, 通过合成模块, 即合成器 3a得到的信号 D, 通 过査表可以得到一信号 RQ, 通过将信号 RQ和信号 R进行比较, 如除法运算, 得到信号1^。 In addition, some data correction tables are also stored in the storage module, and the tables include a correspondence table of the signal D and the signal R Q , wherein the signal R. For the signal of the signal R in the standard state, through the synthesis module, that is, the signal D obtained by the synthesizer 3a, a signal R Q can be obtained by looking up the table, and by comparing the signal R Q with the signal R, such as division, the signal 1 is obtained. ^.
实施例二  Embodiment 2
在单极位置检测装置的实施例二中设有四个磁感应元件。  In the second embodiment of the unipolar position detecting device, four magnetic sensing elements are provided.
图 20为单极位置检测装置实施例二的结构示意图。 如图 20所示, 与设有两个磁感应元件的 位置检测装置不同之处在于, 导磁环由四段同半径的 1/4弧段 118、 119、 120和 121构成, A, B, C, D四个位置角度依次相隔为 90 ° 。 4个磁感应元件 114、 115、 116和 117分别放置于狭缝 A、 B、 C和 D处。 20 is a schematic structural view of a second embodiment of a unipolar position detecting device. As shown in Fig. 20, the position detecting device is different from the position detecting device provided with two magnetic sensing elements in that the magnetic conducting ring is composed of four quarter-arc segments 118, 119, 120 and 121 of the same radius, A, B, C. , D four positions are sequentially separated by 90 °. Four magnetic sensing elements 114, 115, 116 and 117 are respectively placed in the slit A, B, C and D.
图 21为单极位置检测装置实施例二的信号处理装置的框图。 如图 21所示, 信号处理装置与 处理方法与实施例一相类似,不同在于, 由于本实施例二中有 4个互成 90度的磁感应元件,因此, 在信号处理装置上增加了减法器 20b、 21b, 即数字差分模块, 通过该减法器 20b、 21b模块抑制 温度和零点漂移, 以此来提高数据精度, 最终输出给合成器的信号仍为 2个, 处理过程及方法与 实施例一相同。 因此, 在此不再赘述。  Figure 21 is a block diagram of a signal processing apparatus of a second embodiment of the unipolar position detecting device. As shown in FIG. 21, the signal processing apparatus and the processing method are similar to those of the first embodiment, except that since there are four magnetic sensing elements that are 90 degrees apart from each other in the second embodiment, a subtractor is added to the signal processing apparatus. 20b, 21b, that is, the digital difference module, the temperature and zero drift are suppressed by the modules of the subtractors 20b, 21b, thereby improving the data precision, and finally the signals output to the synthesizer are still two, the processing procedure and the method and the first embodiment the same. Therefore, it will not be described here.
实施例三  Embodiment 3
图 22为单极位置检测装置实施例三的结构示意图。 如图 22所示, 与设有四个磁感应元件的 位置检测装置不同之处在于, 导磁环由三段同半径的 1/3弧段 126、 127和 128构成, A, B, C 三个位置依次相距 120° 。 3个传感器 123、 124和 125分别放置狭缝 A, B, C处。  Figure 22 is a schematic view showing the structure of the third embodiment of the unipolar position detecting device. As shown in FIG. 22, the position detecting device is different from the position detecting device provided with four magnetic sensing elements in that the magnetic conducting ring is composed of three segments of the same radius of 1/3 arc segments 126, 127 and 128, A, B, C. The positions are 120° apart. Three sensors 123, 124, and 125 are placed at slits A, B, and C, respectively.
图 23为单极位置检测装置实施例三的信号处理装置的框图。 与实施例一不同的是, 磁感应 元件有三个, 输出给合成器的信号为三个, 合成器在处理信号时与实施例一不同, 其余与实施例 一相同。 在这里, 仅说明合成器如何处理信号。  Figure 23 is a block diagram of a signal processing apparatus of a third embodiment of the unipolar position detecting device. Different from the first embodiment, there are three magnetic induction elements and three signals output to the synthesizer. The synthesizer is different from the first embodiment in processing signals, and the rest is the same as the first embodiment. Here, only how the synthesizer processes the signal is explained.
在本实施例中, 对信号的处理, 即合成器 3c对信号的处理原则是: 先判断三个信号的符合 位, 并比较符合位相同的信号的数值的大小, 数值小的用于输出的信号 D, 信号 D的结构为 {第 一个信号的符合位, 第二个信号的符合位, 第三个信号的符合位, 较小数值的信号的数值位 }。 以 本实施例为例:  In the present embodiment, the processing of the signal, that is, the processing principle of the synthesizer 3c for the signal is: first, the coincidence bits of the three signals are judged, and the magnitudes of the values of the signals conforming to the same bit are compared, and the value is small for output. Signal D, the structure of signal D is {the coincidence of the first signal, the coincidence of the second signal, the coincidence of the third signal, the value of the signal of the smaller value}. Take this example as an example:
约定:  Convention:
当数据 X为有符号数时, 数据 X的第 0位 (二进制左起第 1位) 为符号位, X_0=1表示数 据 X为负, X_0=0表示数据 X为正。 When the data X is a signed number, the 0th bit of the data X (the 1st bit from the left of the binary) is the sign bit, X_0=1 means the data X is negative, and X_0=0 means the data X is positive.
_0表示数据 X的数值位 (数据的绝对值), 即去除符号位剩下数据位。  _0 indicates the value bit of the data X (the absolute value of the data), that is, the remaining data bits are removed from the sign bit.
如果 { A_0; B_0; C_0}=010 并且 A_D>= C_D  If { A_0; B_0; C_0}=010 and A_D>= C_D
D={ A_0; B_0; C_0 ; C_D }  D={ A_0; B_0; C_0 ; C_D }
如果 { A_0 ; B—0; C_0}=010 并且 A_D< C_D  If { A_0 ; B — 0; C_0} = 010 and A_D < C_D
D={ A—0; B_0; C_0 ; A_D }  D={ A—0; B_0; C_0 ; A_D }
如果 { A_0 ; B_0; C_0}=101 并且 A_D>= C_D  If { A_0 ; B_0; C_0}=101 and A_D>= C_D
D= :{ A_0; B_0; C_0 ; C_D }  D= :{ A_0; B_0; C_0 ; C_D }
如果 { A_0; B_0; C_0}=101 并且 A_D< C_D  If { A_0; B_0; C_0}=101 and A_D< C_D
D= :{ A_0; B_0; C_0 ; A_D }  D= :{ A_0; B_0; C_0 ; A_D }
如果 { A_0; B_0; C_0}=011 并且 B_D>=C_D  If { A_0; B_0; C_0}=011 and B_D>=C_D
D= :{ A_0; B_0; C_0 ; C_D }  D= :{ A_0; B_0; C_0 ; C_D }
如果 { A_0; B_0; C_0}=011 并且 B_D<C_D  If { A_0; B_0; C_0}=011 and B_D<C_D
D= :{ A_0; B_0; C_0 ; B_D }  D= :{ A_0; B_0; C_0 ; B_D }
如果 { A_0; B_0; C_0}=100 并且 B_D>=C_D  If { A_0; B_0; C_0}=100 and B_D>=C_D
D= :{ A_0; B_0; C_0 ; C_D }  D= :{ A_0; B_0; C_0 ; C_D }
如果 { A_0; B_0; C_0}=100 并且 B_D<C_D  If { A_0; B_0; C_0}=100 and B_D<C_D
D= :{ A_0; B_0; C_0 ; B_D }  D= :{ A_0; B_0; C_0 ; B_D }
如果 { A_0; B_0; C_0}=001 并且 B_D>=A_D  If { A_0; B_0; C_0}=001 and B_D>=A_D
D= :{ A_0; B_0; C_0 ; A_D } 如果 { A_0; B_0; C_0}=001 并且 B_D<A_D D= :{ A_0; B_0; C_0 ; A_D } If { A_0; B_0; C_0}=001 and B_D<A_D
D={ A_0; B_0; C_0 ; B_D }  D={ A_0; B_0; C_0 ; B_D }
如果 { A_0; B_0; C_0}=110 并且 B_D>=A_D  If { A_0; B_0; C_0}=110 and B_D>=A_D
D={ A_0; B_0; C_0 ; A_D }  D={ A_0; B_0; C_0 ; A_D }
如果 { A_0; B_0; C_0}=110 并且 B_D<A_D  If { A_0; B_0; C_0}=110 and B_D<A_D
D={ A_0; B_0; C_0 ; B_D }  D={ A_0; B_0; C_0 ; B_D }
a = A- Bx cos( ) - Cx cos ( )  a = A- Bx cos( ) - Cx cos ( )
^ = 5xsin( ) - Cxsin( ) ^ = 5xsin( ) - Cxsin( )
Figure imgf000015_0001
Figure imgf000015_0001
实施例四  Embodiment 4
图 24为单极位置检测装置实施例四的结构示意图。 如图 24所示, 导磁环由六段同半径的 1/6弧段 136、 137、 138、 139、 140禾 Β 141构成, A, B, C, D, E, F六个位置依次相距 60° , 6 个传感器 130、 131、 132、 133、 134和 135分别放置在狭缝 A, B, C, D, E, F处。  Figure 24 is a schematic view showing the structure of the fourth embodiment of the unipolar position detecting device. As shown in Fig. 24, the magnetic flux ring is composed of six segments of the same radius 1/6 arc segments 136, 137, 138, 139, 140 and 141, and the six positions A, B, C, D, E, F are sequentially spaced apart. At 60°, six sensors 130, 131, 132, 133, 134 and 135 are placed at slits A, B, C, D, E, F, respectively.
图 25为单极位置检测装置实施例四的信号处理装置的框图。 与设有三个磁感应元件的位置 检测装置不同之处在于, 磁感应元件有六个, 因此, 在信号处理装置上增加了减法器 20d、 21d、 22d, 通过该减法器 20d、 21d、 22d抑制温度和零点漂移, 以此来提高数据精度, 最终输出给合成 器的信号仍为 3个, 处理过程及方法与设有三个磁感应元件的位置检测装置相同。  Figure 25 is a block diagram showing a signal processing apparatus of a fourth embodiment of the unipolar position detecting device. The difference from the position detecting device provided with three magnetic sensing elements is that there are six magnetic sensing elements, and therefore, subtractors 20d, 21d, 22d are added to the signal processing device, and the temperature is suppressed by the subtractors 20d, 21d, 22d. Zero drift, in order to improve the accuracy of the data, the final output signal to the synthesizer is still three, the processing and method are the same as the position detecting device with three magnetic sensing elements.
多极位置检测装置  Multi-pole position detecting device
图 26为多极位置检测装置的立体分解图。 如图 26所示, 该位置检测装置包括转子和将转子 套在内部的定子, 具体地, 转子包括第一磁钢环 302和第二磁钢环 303, 第一磁钢环 302、 第二磁 钢环 303的直径小于导磁环 304、 305的直径, 因而导磁环 304、 305分别套设在第一磁钢环 302、 第二磁钢环 303外侧, 第一磁钢环 302、 第二磁钢环 303固定在转轴 301上, 且导磁环 304、 305 与第一磁钢环 302、 第二磁钢环 303可以相对转动, 从而使设置在支架 306内表面上的多个传感 器元件 307处于磁钢环的空隙内。  Figure 26 is an exploded perspective view of the multi-pole position detecting device. As shown in FIG. 26, the position detecting device includes a rotor and a stator that surrounds the rotor. Specifically, the rotor includes a first magnetic steel ring 302 and a second magnetic steel ring 303, a first magnetic steel ring 302, and a second magnetic The diameter of the steel ring 303 is smaller than the diameter of the magnetic conductive rings 304, 305, so that the magnetic conductive rings 304, 305 are respectively sleeved on the outer side of the first magnetic steel ring 302 and the second magnetic steel ring 303, the first magnetic steel ring 302, the second The magnetic steel ring 303 is fixed on the rotating shaft 301, and the magnetic conductive rings 304, 305 and the first magnetic steel ring 302 and the second magnetic steel ring 303 are relatively rotatable, so that the plurality of sensor elements 307 disposed on the inner surface of the bracket 306 are provided. In the gap of the magnetic steel ring.
图 27为将设有两个导磁环的位置检测装置的各元件组合到一起的结构示意图。从图 27可以 看出, 磁钢环 302、 磁钢环 303平行布置在轴 301上, 对应于磁钢环 302、 磁钢环 303分别设有两 列磁感应元件 308和 309。 这里为下文说明方便, 将第一列磁感应元件即对应磁钢环 302和导磁 环 304的多个磁感应元件都用磁感应元件 308表示, 而将第二列磁感应元件即对应磁钢环 303和 导磁环 305的多个磁感应元件都用磁感应元件 309表示。 为了说明方便, 这里将磁钢环 302定义 为第一磁钢环, 将磁钢环 303定义为第二磁钢环, 将导磁环 304限定为对应于第一磁钢环 302, 将导磁环 305限定为对应于第二磁钢环 303, 然后本发明不限于上述的限定。  Fig. 27 is a structural schematic view showing the components of the position detecting device provided with two magnetic flux guiding rings. As can be seen from Fig. 27, the magnetic steel ring 302 and the magnetic steel ring 303 are arranged in parallel on the shaft 301, and two magnetic sensing elements 308 and 309 are respectively provided corresponding to the magnetic steel ring 302 and the magnetic steel ring 303. For the convenience of the following description, the first magnetic sensing elements, that is, the plurality of magnetic sensing elements corresponding to the magnetic steel ring 302 and the magnetic conductive ring 304 are all represented by the magnetic sensing element 308, and the second magnetic sensing element is the corresponding magnetic steel ring 303 and the guiding A plurality of magnetic sensing elements of the magnetic ring 305 are all represented by magnetic sensing elements 309. For convenience of explanation, the magnetic steel ring 302 is defined as a first magnetic steel ring, the magnetic steel ring 303 is defined as a second magnetic steel ring, and the magnetic conductive ring 304 is defined to correspond to the first magnetic steel ring 302, which will be magnetically guided. The ring 305 is defined to correspond to the second magnet ring 303, and the invention is not limited to the above definitions.
其中, 导磁环 304、 305上也可以设有倒角, 其结构与单极位置检测装置的导磁环相同, 具 体参照图 14〜图 17。  The magnetic flux rings 304 and 305 may also be chamfered, and the structure thereof is the same as that of the single pole position detecting device, and the specific reference is made to Figs. 14 to 17 .
对于多极位置检测装置而言, 其磁感应元件的布置方式, 磁钢环的磁化方式可以不同。 顺序设置方式  For the multi-pole position detecting device, the arrangement of the magnetic sensing elements and the magnetization of the magnetic steel ring may be different. Sequential setting method
第一磁钢环 302被顺序地磁化为 N对磁极, 其中, ?<=2°且 11=0, 1, 2…! 1, 当 N = 2n时为 本发明的最佳实施例, 当 N 2n的时候, 也可以实现本发明的发明目的。 并且相邻两极的极性相 反, 第二磁钢环的磁极总数为 N, 其磁序按照磁序算法确定; 在支架 306上, 对应于第一磁钢环 302, 以第一磁钢环 302的中心为圆心的同一圆周上设有 m个呈一定角度分布的磁感应元件 308, 其中, m为 2或 3的整数倍; 对应于第二磁钢环 303, 以第二磁钢环 303的中心为圆心的同一圆 周上设有 n个呈 360° /N角度分布的磁感应元件 309, 其中, n=0, 1, 2…! ι。 The first magnetic steel ring 302 is sequentially magnetized to N pairs of magnetic poles, where ? <=2° and 11=0, 1, 2...! 1, when N = 2 n is the preferred embodiment of the invention, and when N 2 n , the object of the invention can also be achieved. And the polarities of the adjacent two poles are opposite, the total number of magnetic poles of the second magnetic steel ring is N, and the magnetic order is determined by a magnetic order algorithm; on the bracket 306, corresponding to the first magnetic steel ring 302. The magnetic sensing element 308 is disposed at a certain angle on the same circumference centered on the center of the first magnetic steel ring 302, wherein m is an integer multiple of 2 or 3; corresponding to the second magnetic steel ring 303, On the same circumference centered on the center of the second magnetic steel ring 303, there are n magnetic induction elements 309 having an angular distribution of 360° / N, where n = 0, 1, 2...! ι.
本发明还提供了一种上述位置检测装置的信号处理装置, 其包括 A/D 转换电路、 相对偏移 角度 计算电路、 绝对偏移量 计算电路、 角度合成及输出模块和存储模块, 其中, 所述 A/D转 换电路对位置检测装置发送来的电压信号进行 A/D转换, 并将模拟信号转换为数字信号; 所述相 对偏移角度 计算电路用于计算位置检测装置中对应于第一磁钢环的磁感应元件发送来的第一电 压信号在所处信号周期内的相对偏移量 ;所述绝对偏移量 计算电路根据位置检测装置中对应 于第二磁钢环的磁感应元件发送来的第二电压信号, 通过计算来确定第一电压信号所处的信号周 期首位置的绝对偏移量 ;所述角度合成及输出模块用于将上述相对偏移量 和绝对偏移量 相 力口, 合成所述第一电压信号所代表的在该时刻的旋转角度 ; 所述存储模块用于存储标定过程中 得到的角度和系数 κ矫正用数据。  The present invention also provides a signal processing apparatus for the above position detecting apparatus, comprising an A/D conversion circuit, a relative offset angle calculation circuit, an absolute offset calculation circuit, an angle synthesis and output module, and a storage module, wherein The A/D conversion circuit performs A/D conversion on the voltage signal sent from the position detecting device, and converts the analog signal into a digital signal; the relative offset angle calculating circuit is configured to calculate a position corresponding to the first magnetic field in the position detecting device a relative offset of the first voltage signal transmitted by the magnetic induction element of the steel ring in the signal period; the absolute offset calculation circuit is sent according to the magnetic induction element corresponding to the second magnetic steel ring in the position detecting device a second voltage signal is determined by calculation to determine an absolute offset of a first position of a signal period at which the first voltage signal is located; the angle synthesis and output module is configured to combine the relative offset and the absolute offset Synthesizing a rotation angle represented by the first voltage signal at the moment; the storage module is configured to store a calibration process And angle data correcting coefficient κ.
图 28为顺序设置的多极位置检测装置的信号处理方法的流程图之一。 如图 28所示, 对位置 检测装置中第一磁钢环和第二磁钢环发送来的电压信号进行 A/D转换, 将模拟信号转换为数字信 号; 由相对偏移量 计算电路对位置检测装置发送来的对应于第一磁钢环的第一电压信号进行角 度 求解, 计算对应于第一磁钢环的信号在所处信号周期内的相对偏移量 ; 由绝对偏移量 计 算电路对位置检测装置发送来的对应于第二磁钢环的第一电压信号进行角度 求解, 来确定第一 电压信号所处的信号周期首位置的绝对偏移量 ; 通过角度合成及输出模块, 如加法器用于将上 述相对偏移量 和绝对偏移量 相加, 合成所述第一电压信号所代表的在该时刻的旋转角度 Θ。  Fig. 28 is a flowchart showing a signal processing method of the multi-pole position detecting device which is sequentially provided. As shown in FIG. 28, the voltage signal sent from the first magnetic steel ring and the second magnetic steel ring in the position detecting device is A/D converted, and the analog signal is converted into a digital signal; The first voltage signal corresponding to the first magnetic steel ring sent by the detecting device is angularly solved, and the relative offset of the signal corresponding to the first magnetic steel ring in the signal period is calculated; the absolute offset calculating circuit Performing an angle solution on the first voltage signal corresponding to the second magnetic steel ring sent by the position detecting device to determine an absolute offset of the first position of the signal period where the first voltage signal is located; through the angle synthesis and output module, such as The adder is configured to add the relative offset and the absolute offset to synthesize a rotation angle Θ at the moment represented by the first voltage signal.
图 29为顺序设置的位置检测装置的信号处理方法的流程图之二。在图 29的基础上增加了信 号放大模块, 如放大器, 用于在 A/D转换电路进行 A/D转换之前, 对来自于位置检测装置的电压 信号进行放大。  Fig. 29 is a second flowchart of the signal processing method of the position detecting means arranged in series. On the basis of Fig. 29, a signal amplifying module, such as an amplifier, is added to amplify the voltage signal from the position detecting device before the A/D conversion circuit performs A/D conversion.
图 30为顺序设置的位置检测装置的信号处理方法的流程图之三。 如图 30所示, 在进行角度 求解之前, 还包括温度补偿的过程。  Figure 30 is a third flowchart of the signal processing method of the position detecting means arranged in series. As shown in Figure 30, the temperature compensation process is also included before the angle is solved.
图 31为顺序设置的位置检测装置的信号处理方法的流程图之四。 如图 31所示, 为基于图 5 的温度补偿的具体过程, 即进行温度补偿时, 要先进行系数矫正, 而后再将 A/D转换器输出的信 号与系数矫正的输出通过乘法器进行相乘的具体方式来进行温度补偿。 当然, 温度补偿的具体方 式还有很多种, 在些就不一一介绍。  Figure 31 is a fourth flowchart of the signal processing method of the position detecting means arranged in series. As shown in Fig. 31, in the specific process based on the temperature compensation of Fig. 5, when performing temperature compensation, the coefficient correction is performed first, and then the signal output from the A/D converter and the coefficient-corrected output are passed through a multiplier. Multiply the specific way to compensate for the temperature. Of course, there are many specific methods for temperature compensation, which are not introduced one by one.
以下通过实施例详细说明顺序设置方式的位置检测装置及其信号处理装置与方法。  Hereinafter, a position detecting device of a sequential setting method and a signal processing device and method thereof will be described in detail by way of embodiments.
实施例一  Embodiment 1
顺序设置的位置检测装置的实施例一提供了第一列磁感应元件设有两个磁感应元件 308, 第 二列感应元件设有三个磁感应元件 309的位置检测装置。  Embodiment 1 of the sequentially disposed position detecting device provides that the first column of magnetic sensing elements is provided with two magnetic sensing elements 308, and the second column of sensing elements is provided with three magnetic sensing elements 309 for position detecting means.
图 32为顺序设置的位置检测装置的实施例一的第一磁钢环、导磁环和磁感应元件的结构图; 图 33 为顺序设置的位置检测装置的实施例一的第一磁钢环充磁磁序及与磁感应元件的位置关系 图。 对应于第一磁钢环 302的第一列磁感应元件 308为 2个, 即 m=2, 用 和 ¾表示, 这两个 磁感应元件 和 112分别放置于对应导磁环 304的两个夹缝中。 对应于第二磁钢环 303的第二列 磁感应元件 309为 3个, 即 n=3,用 H3、 H4和 H5表示。 取磁极数 N=8, 这样, 对应于第二磁钢环 303的相邻两个磁感应元件 309之间的夹角为 360 ° /8。对应于第一磁钢环 302的相邻两个磁感应 元件 308之间的夹角为 90° /8。 从图 33可以看出, 磁钢环 302的充磁顺序以及 和 H2的磁极排布; 图 34为磁钢环 303的 算法流程图。 如图 34所示, 首先进行初始化 a[0]= " 0…… 0 "; 然后将当前编码入编码集, 即编码 集中有 " 0…… 0 "; 接着检验入编码集的集合元素是否达到 8, 如果是则程序结束, 反之将当前编 码左移一位, 后面补 0 ; 然后检验当前编码是否已入编码集, 如果未入编码集则将当前编码入编 码集继续进行上述步骤, 如果已入编码集则将当前码末位去 0补 1 ; 接着检验当前编码是否已入 编码集, 如果未入编码集则将当前编码入编码集继续进行上述步骤, 如果已入编码集则检验当前 码是否为 " 0…… 0 ", 是则结束, 否则将当前编码的直接前去码末位去 0补 1 ; 接着检验当前编码 是否已入编码集, 如果未入编码集则将当前编码入编码集继续进行上述步骤, 如果已入编码集则 检验当前码是否为 " 0…… 0 ", 然后继续进行下面的程序。 其中 0磁化为 " N/S ", 1磁化为 " S/N "。 这样得到了图 10所示的磁钢环 303充磁结构图以及 H3、 和 的排布顺序。 Figure 32 is a structural view of a first magnetic steel ring, a magnetic flux ring, and a magnetic induction element of the first embodiment of the position detecting device provided in sequence; Figure 33 is a first magnetic steel ring charge of the first embodiment of the position detecting device sequentially disposed; Magnetic magnetic sequence and positional relationship with magnetic sensing elements. The first column of magnetic sensing elements 308 corresponding to the first magnetic steel ring 302 is two, i.e., m=2, represented by the sum, and the two magnetic sensing elements and 11 2 are respectively placed in the two nips of the corresponding magnetically conductive ring 304. . The second column of magnetic sensing elements 309 corresponding to the second magnet ring 303 is three, i.e., n = 3, and is represented by H 3 , H 4 , and H 5 . The number of magnetic poles is taken as N=8, so that the angle between the adjacent two magnetic induction elements 309 corresponding to the second magnetic steel ring 303 is 360 ° /8. The angle between adjacent two magnetic sensing elements 308 corresponding to the first magnetic steel ring 302 is 90° /8. As can be seen from Fig. 33, the magnetization sequence of the magnetic steel ring 302 and the magnetic pole arrangement of H 2 ; Fig. 34 is an algorithm flow chart of the magnetic steel ring 303. As shown in Figure 34, the initialization a[0] = "0... 0" is first performed; then the current encoding is entered into the encoding set, ie, the encoding set has "0...0"; then it is checked whether the set elements of the encoding set are reached. 8. If yes, the program ends. Otherwise, the current code is shifted to the left by one bit, followed by 0; then it is checked whether the current code has entered the code set. If the code set is not entered, the current code is added to the code set to continue the above steps. Into the code set, the current code last bit is decremented by 0; then it is checked whether the current code has entered the code set. If the code set is not entered, the current code is entered into the code set to continue the above steps, and if the code set has been entered, the current code is checked. Whether it is "0... 0", yes, then, otherwise, the current coded direct forward code end bit is 0 to 1; then it is checked whether the current code has entered the code set, if the code set is not entered, the current code is encoded. The set continues with the above steps. If the code set has been entered, it is checked whether the current code is "0...0", and then the following procedure is continued. Among them, 0 magnetization is "N/S", and 1 magnetization is "S/N". Thus, the magnetization structure diagram of the magnetic steel ring 303 shown in Fig. 10 and the arrangement order of H 3 and , are obtained.
图 35为顺序设置的位置检测装置的实施例一的信号处理装置的框图。 如图 35所示, 磁感应 元件 Hle和 H2e的输出信号接放大器, 放大器的输出信号输入给 A/D转换器模拟输入口, 经模数 转换后得到输出信号接乘法器 4_1、 5_1, 系数矫正器 10_1的输出信号接乘法器 4_1、 5_1的输入 端, 乘法器 4_1、 5_1的输出信号 A, B接合成器 6_1的输入端, 第一合成器 6_1的输出信号 D作 为存储器 8_1和存储器 9_1的输入信号, 存储器 9_1的输出信号接系数矫正器 10_1, 存储器 8_1 的输出信号 作为加法器 12_1的输入端。 Fig. 35 is a block diagram showing a signal processing device of the first embodiment of the position detecting device which is sequentially provided. As shown in FIG. 35, the output signals of the magnetic sensing elements H le and H 2e are connected to the amplifier, and the output signals of the amplifiers are input to the analog input port of the A/D converter, and the output signals are multiplied by the analog-to-digital converters 4_1, 5_1, coefficients. The output signal of the aligner 10_1 is connected to the input terminals of the multipliers 4_1, 5_1, the output signals A, B of the multipliers 4_1, 5_1 are coupled to the input terminal of the coder 6_1, and the output signal D of the first synthesizer 6_1 is used as the memory 8_1 and the memory 9_1. The input signal, the output signal of the memory 9_1 is connected to the coefficient corrector 10_1, and the output signal of the memory 8_1 is used as the input terminal of the adder 12_1.
传感器 1_3、 1_4、 ... l_n 的输出信号分别接三个放大器 2_3、 2_4、 ...2_n进行放大, 然后 接 AD转换器 3_3、 3_4、 ...3_n进行模数转换后通过第二合成器 7_1进行合成,然后接存储器 11_1 得到 。 和 通过加法器 12_1得到测量的绝对角位移 输出。  The output signals of the sensors 1_3, 1_4, ... l_n are respectively amplified by three amplifiers 2_3, 2_4, ... 2_n, and then connected to the AD converters 3_3, 3_4, ... 3_n for analog-to-digital conversion and then synthesized by the second synthesis. The unit 7_1 performs synthesis and then obtains it from the memory 11_1. And the measured absolute angular displacement output is obtained by the adder 12_1.
其中, 在信号的处理过程中, 第一合成器 6_1的输出按以下方式进行:  Wherein, during the processing of the signal, the output of the first synthesizer 6_1 is performed as follows:
约定:  Convention:
当数据 X为有符号数时, 数据 X的第 0位 (二进制左起第 1位) 为符号位, X_0= 1表示数 据 X为负, X_0=0表示数据 X为正。 When the data X is a signed number, the 0th bit of the data X (the first bit from the left of the binary) is the sign bit, X_0=1 indicates that the data X is negative, and X_0=0 indicates that the data X is positive.
_0表示数据 X的数值位 (数据的绝对值), 即去除符号位剩下数据位。  _0 indicates the value bit of the data X (the absolute value of the data), that is, the remaining data bits are removed from the sign bit.
比较两个信号的数值的大小, 数值小的用于输出的信号 D, 信号 D的结构为 {第一个信号的 符合位, 第二个信号的符合位, 较小数值的信号的数值位 }。 具体如下:  Comparing the magnitudes of the two signals, the value of the signal D for the output is small, the structure of the signal D is {the coincidence of the first signal, the coincidence of the second signal, the numerical value of the signal of the smaller value} . details as follows:
如果 A_D>=B_D
Figure imgf000017_0001
If A_D>=B_D
Figure imgf000017_0001
否则:  Otherwise:
D={ A_0; B_0; A_D }  D={ A_0; B_0; A_D }
R= 2 + B2R = 2 + B 2 .
第二合成器 7的输出按以下方式进行:  The output of the second synthesizer 7 is performed as follows:
E={ C3_0; C4_0; ... Cn_0 }  E={ C3_0; C4_0; ... Cn_0 }
信号 K一般是通过将信号 RQ和 R进行除法运算得到。 The signal K is generally obtained by dividing the signals R Q and R.
对于第一、 二标准角度表, 在存储器中存储了两个表, 每个表对应于一系列的码, 每一个码 对应于一个角度。 该表是通过标定得到的, 标定方法是, 利用本施例的检测装置和一高精度位置 传感器, 将本施例中的磁感应元件输出的信号和该高精度位置传感器输出的角度进行一一对应, 以此建立出一磁感应元件输出的信号与角度之间的关系表。 也就是, 对应于信号 D存储了一个第 一标准角度表, 每一个信号 D代表一个相对偏移量 。 对应于信号 E, 存储了一个第二标准角度 表, 每一个信号 E代表一个绝对偏移量 。 For the first and second standard angle tables, two tables are stored in the memory, each table corresponding to a series of codes, each code corresponding to an angle. The table is obtained by calibration, and the calibration method is: using the detecting device of the embodiment and a high-precision position sensor, the signals output by the magnetic sensing element in the embodiment and the angle of the high-precision position sensor output are in one-to-one correspondence. In order to establish a relationship between the signal and the angle of the output of a magnetic induction element. That is, corresponding to the signal D stored a number A standard angle table, each signal D represents a relative offset. Corresponding to the signal E, a second standard angle table is stored, each signal E representing an absolute offset.
实施例二  Embodiment 2
顺序设置的位置检测装置的实施例二提供了对应于第一磁钢环 302 设有四个磁感应元件的 示意图。  The second embodiment of the position detecting device which is sequentially provided provides a schematic view in which four magnetic induction elements are provided corresponding to the first magnetic steel ring 302.
图 36为顺序设置方式的位置检测装置的实施例二的第一磁钢环霍尔元件和导磁环、 磁感应 元件的结构示意图;图 37为顺序设置方式的位置检测装置的实施例二的第一磁钢环充磁磁序及与 磁感应元件的位置关系图。  36 is a schematic structural view of a first magnetic steel ring Hall element, a magnetic conductive ring, and a magnetic induction element according to a second embodiment of the position detecting device of the sequential arrangement mode; and FIG. 37 is a second embodiment of the position detecting device of the sequential arrangement mode. A magnetic steel ring magnetization magnetic sequence and a positional relationship diagram with a magnetic induction element.
如图 36所示, 对应于第一磁钢环 302的第一列磁感应元件 308为 4个, 即 m=4, 用 H2、 ¾和 H4表示, 这四个磁感应元件 Η2、 ¾和 Η4分别放置于对应第一导磁环 304的四个夹缝 中。 对应于第二磁钢环 303的第二列磁感应元件 309为 3个, 即 η=3, 用 Η5、 Η6和 Η7表示。 取 Ν=8, 这样, 对应于第二磁钢环 303的相邻两个磁感应元件 309之间的夹角为 360 ° /8。 对应于第 一磁钢环 302的相邻两个磁感应元件 308之间的夹角为 90 ° /8。 As shown in FIG. 36, the first column of magnetic sensing elements 308 corresponding to the first magnetic steel ring 302 is four, that is, m=4, represented by H 2 , 3⁄4 and H 4 , and the four magnetic sensing elements Η 2 , 3⁄4 and The Η 4 is placed in each of the four nips corresponding to the first magnetically conductive ring 304. The second column of magnetic sensing elements 309 corresponding to the second magnet ring 303 is three, i.e., η = 3, and is represented by Η 5 , Η 6 , and Η 7 . Ν = 8, so that the angle between the adjacent two magnetic sensing elements 309 corresponding to the second magnetic steel ring 303 is 360 ° /8. The angle between adjacent two magnetic sensing elements 308 corresponding to the first magnetic steel ring 302 is 90 ° /8.
从图 37可以看出, 磁钢环 302的充磁顺序以及 Η2、 ¾和 114的磁极排布。 第一磁钢环 302的充磁结构及算法流程与实施例一的相同, 在此省略对它们的说明。 As can be seen from Fig. 37, the magnetization sequence of the magnetic steel ring 302 and the magnetic poles of Η 2 , 3⁄4 and 11 4 are arranged. The magnetization structure and algorithm flow of the first magnetic steel ring 302 are the same as those of the first embodiment, and the description thereof will be omitted herein.
图 38为顺序设置方式的位置检测装置的实施例二的信号处理装置的框图。 信号处理装置与 处理方法与实施例一相类似, 不同在于, 由于本实施例二中有 4 个磁感应元件, 磁感应元件 和 ¾的输出信号接放大电路 2_1进行差动放大, 磁感应元件 ¾和 Η4的输出信号接放大电路 2—2 进行差动放大, 最终输出给第一合成器 6_1的信号仍为 2个, 处理过程及方法与实施例一相同。 因此, 在此不再赘述。 Figure 38 is a block diagram of a signal processing device of a second embodiment of the position detecting device of the sequential setting mode. The signal processing device and the processing method are similar to those of the first embodiment, except that since there are four magnetic sensing elements in the second embodiment, the magnetic sensing element and the output signal of the magnetic signal amplifying circuit 2_1 are differentially amplified, and the magnetic sensing elements 3⁄4 and Η 4 The output signal is amplified by the amplifying circuit 2-2, and the signal outputted to the first synthesizer 6_1 is still two. The processing and method are the same as those in the first embodiment. Therefore, it will not be described here.
实施例三  Embodiment 3
为顺序设置方式的位置检测装置的实施例三提供了对应于第一磁钢环设有三个磁感应元件 的结构图。  The third embodiment of the position detecting device for the sequential arrangement provides a structural view in which three magnetic induction elements are provided corresponding to the first magnetic steel ring.
图 39为顺序设置方式的位置检测装置的实施例三的第一磁钢环霍尔元件和导磁环、 磁感应 元件的结构示意图;图 40为顺序设置方式的位置检测装置的实施例三的第一磁钢环充磁磁序及与 磁感应元件的位置关系图;  39 is a schematic structural view of a first magnetic steel ring Hall element, a magnetic conductive ring, and a magnetic induction element according to a third embodiment of the position detecting device of the sequential arrangement mode; and FIG. 40 is a third embodiment of the position detecting device of the sequential arrangement mode. A magnetic steel ring magnetization magnetic sequence and a positional relationship diagram with a magnetic induction element;
如图 39所示, 对应于第一磁钢环 302的第一列磁感应元件 308为 3个, 即 m=3, 用!^、 H2 和 ¾表示, 这三个磁感应元件 Η2和 ¾分别放置于对应第一导磁环 304的三个夹缝中。 对应 于第二磁钢环 303的第二列磁感应元件 309为 3个, 即 η=3, 用 Η4、 Η5和 ¾表示。 取 Ν=8, 这 样, 对应于第二磁钢环 303的相邻两个磁感应元件 309之间的夹角为 360 ° /8。对应于第一磁钢环 302的相邻两个磁感应元件 308之间的夹角为 120 ° /8。 As shown in FIG. 39, the first column of magnetic sensing elements 308 corresponding to the first magnetic steel ring 302 is three, that is, m=3, used! ^, H 2 and 3⁄4 indicate that the three magnetic induction elements Η 2 and 3⁄4 are respectively placed in the three nips corresponding to the first magnetically conductive ring 304. The second column of magnetic sensing elements 309 corresponding to the second magnet ring 303 is three, i.e., η = 3, and is represented by Η 4 , Η 5 , and 3⁄4 . Ν = 8, so that the angle between the adjacent two magnetic sensing elements 309 corresponding to the second magnetic steel ring 303 is 360 ° /8. The angle between adjacent two magnetic sensing elements 308 corresponding to the first magnetic steel ring 302 is 120 ° /8.
从图 40可以看出, 磁钢环 302的充磁顺序以及 ¾和 ¾的磁极排布。 第一磁钢环 302 的充磁结构及算法流程与实施例一的相同, 在此省略对它们的说明。  As can be seen from Fig. 40, the magnetization sequence of the magnetic steel ring 302 and the magnetic poles of 3⁄4 and 3⁄4 are arranged. The magnetization structure and algorithm flow of the first magnet ring 302 are the same as those of the first embodiment, and the description thereof will be omitted herein.
图 41为顺序设置方式的位置检测装置的实施例三的信号处理装置的框图。 与实施例一不同 的是, 磁感应元件有三个, 输出给第一合成器 7_1 的信号为三个, 合成器在处理信号时与实施例 一不同, 其余与实施例一相同。 在这里, 仅说明合成器如何进行处理得到 0和 。  Figure 41 is a block diagram of a signal processing device of a third embodiment of the position detecting device of the sequential setting mode. Different from the first embodiment, there are three magnetic induction elements, and three signals are output to the first synthesizer 7_1. The synthesizer is different from the first embodiment in processing signals, and the rest is the same as the first embodiment. Here, only how the synthesizer processes it yields 0 and .
在本实施例中,对信号的处理, 即第一合成器 7_1的输出原则是:先判断三个信号的符合位, 并比较符合位相同的信号的数值的大小, 数值小的用于输出的信号 D, 信号 D的结构为 {第一个 信号的符合位, 第二个信号的符合位, 第三个信号的符合位, 较小数值的信号的数值位 }。 以本实 施例为例: In this embodiment, the processing of the signal, that is, the output principle of the first synthesizer 7_1 is: first determining the coincidence bits of the three signals, and comparing the magnitudes of the values of the signals conforming to the same bit, and the values are small for output. Signal D, the structure of signal D is {the coincidence of the first signal, the coincidence of the second signal, the coincidence of the third signal, the value of the signal of the smaller value}. Take this reality Example for example:
约定:  Convention:
当数据 X为有符号数时, 数据 X的第 0位 (二进制左起第 1位) 为符号位, X_0=1表示数 据 X为负, X_0=0表示数据 X为正。 When the data X is a signed number, the 0th bit of the data X (the 1st bit from the left of the binary) is the sign bit, X_0=1 means the data X is negative, and X_0=0 means the data X is positive.
_0表示数据 X的数值位 (数据的绝对值), 即去除符号位剩下数据位。  _0 indicates the value bit of the data X (the absolute value of the data), that is, the remaining data bits are removed from the sign bit.
如果 { A_0; B_0; C_0}=010 并且 A— — D>= C_D  If { A_0; B_0; C_0}=010 and A— D>= C_D
D={ A_0; B_0; C_0; C— — D }  D={ A_0; B_0; C_0; C— — D }
如果 { A_0; B_0; C_0}=010 并且 A— — D< C_D  If { A_0; B_0; C_0}=010 and A— D< C_D
D={ A_0; B_0; C_0; A— — D };  D={ A_0; B_0; C_0; A— D };
如果 { A_0; B_0; C_0}=101 并且 A— — D>= C_D  If { A_0; B_0; C_0}=101 and A— D>= C_D
D={ A_0; B_0; C_0; C— — D };  D={ A_0; B_0; C_0; C— D };
如果 { A_0; B_0; C_0}=101 并且 A— — D< C_D  If { A_0; B_0; C_0}=101 and A— D< C_D
D={ A_0; B_0; C_0; A— — D };  D={ A_0; B_0; C_0; A— D };
如果 { A_0; B_0; C_0}=011 并且 B_ — D>=C_D  If { A_0; B_0; C_0}=011 and B_ — D>=C_D
D={ A_0; B_0; C_0; C— — D };  D={ A_0; B_0; C_0; C— D };
如果 { A_0; B_0; C_0}=011 并且 B_ — D<C_D  If { A_0; B_0; C_0}=011 and B_ — D<C_D
D={ A_0; B_0; C_0; B— — D };  D={ A_0; B_0; C_0; B— D };
如果 { A_0; B_0; C_0}=100 并且 B_ — D>=C_D  If { A_0; B_0; C_0}=100 and B_ — D>=C_D
D={ A_0; B_0; C_0; C— — D };  D={ A_0; B_0; C_0; C— D };
如果 { A_0; B_0; C_0}=100 并且 B_ — D<C_D  If { A_0; B_0; C_0}=100 and B_ — D<C_D
D={ A_0; B_0; C_0; B— — D };  D={ A_0; B_0; C_0; B— D };
如果 { A_0; B_0; C_0}=001 并且 B_ — D>=A_D  If { A_0; B_0; C_0}=001 and B_ — D>=A_D
D={ A_0; B_0; C_0; A— — D };  D={ A_0; B_0; C_0; A— D };
如果 { A_0; B_0; C_0}=001 并且 B_ _D<A_D  If { A_0; B_0; C_0}=001 and B_ _D<A_D
D={ A_0; B_0; C_0; B— — D };  D={ A_0; B_0; C_0; B— D };
如果 { A_0; B_0; C_0}=110 并且 B_ — D>=A_D  If { A_0; B_0; C_0}=110 and B_ — D>=A_D
D={ A_0; B_0; C_0; A— — D };  D={ A_0; B_0; C_0; A— D };
如果 { A_0; B_0; C_0}=110 并且 B_ — D<A_D  If { A_0; B_0; C_0}=110 and B_ — D<A_D
D={ A_0; B_0; C_0; B— — D };  D={ A_0; B_0; C_0; B— D };
a = A -Bx cos (―) -Cx cos (―)  a = A -Bx cos (―) -Cx cos (―)
ί ί  ί ί
β = Βχ sin (―) -Cx sin (―)  β = Βχ sin (―) -Cx sin (―)
R = a2 + 2R = a 2 + 2 .
实施例四  Embodiment 4
顺序设置的位置检测装置的实施例四提供了对应于第一磁钢环设有六个磁感应元件的结构 图。  Embodiment 4 of the sequentially disposed position detecting device provides a structural view in which six magnetic induction elements are provided corresponding to the first magnetic steel ring.
图 42为顺序设置的位置检测装置的实施例四的第一磁钢环霍尔元件和导磁环、 磁感应元件 的结构示意图;图 43为顺序设置的位置检测装置的实施例四的第一磁钢环充磁磁序及与磁感应元 件的位置关系图。 Figure 42 is a schematic view showing the structure of a first magnetic steel ring Hall element, a magnetic conductive ring, and a magnetic induction element of the fourth embodiment of the position detecting device; and Figure 43 is a first magnetic field of the fourth embodiment of the position detecting device which is sequentially disposed. Steel ring magnetizing magnetic sequence and magnetic induction element The positional relationship diagram of the piece.
如图 42所示, 对应于第一磁钢环 302的第一列磁感应元件 308为 6个, 即 m=6, 用 、 H2、 H3、 H4、 H5和 H6表示, 这六个磁感应元件 Η2、 Η3、 Η4、 Η5和 Η6分别放置于对应第一导磁 环 304的六个夹缝中。 对应于第二磁钢环 303的第二列磁感应元件 309为 3个, 即 η=3, 用 Η7、 ¾和 表示。 取 Ν=8, 这样, 对应于第二磁钢环 303的相邻两个磁感应元件 309之间的夹角为 360° /8。 对应于第一磁钢环 302的相邻两个磁感应元件 308之间的夹角为 60° /8。 As shown in FIG. 42, the first column of magnetic sensing elements 308 corresponding to the first magnetic steel ring 302 is six, that is, m=6, represented by H 2 , H 3 , H 4 , H 5 , and H 6 . The magnetic sensing elements Η 2 , Η 3 , Η 4 , Η 5 and Η 6 are respectively placed in the six nips corresponding to the first magnetically conductive ring 304. The second column of magnetic sensing elements 309 corresponding to the second magnet ring 303 is three, i.e., η = 3, represented by Η 7 , 3⁄4 and . Taking Ν = 8, such that the angle between the adjacent two magnetic sensing elements 309 corresponding to the second magnet ring 303 is 360° / 8. The angle between the adjacent two magnetic sensing elements 308 corresponding to the first magnetic steel ring 302 is 60° / 8.
从图 43可以看出, 磁钢环 302的充磁顺序以及 Η2、 Η3、 Η4、 Η5和 Η6的排布。 第一磁 钢环 302的充磁结构及算法流程与实施例一的相同, 在此省略对它们的说明。 As can be seen from Fig. 43, the magnetization sequence of the magnetic steel ring 302 and the arrangement of Η 2 , Η 3 , Η 4 , Η 5 and Η 6 are shown. The magnetization structure and algorithm flow of the first magnetic steel ring 302 are the same as those of the first embodiment, and the description thereof will be omitted herein.
图 44为顺序设置的位置检测装置的实施例四的信号处理装置的框图。与实施例三不同的是, 磁感应元件即传感器有六个, 因此, 传感器 1_1、 1_2的输出信号接放大电路 2_1进行差动放大, 传感器 1_3、 1_4的输出信号接放大电路 2_2进行差动放大, 传感器 1_5、 1_6的输出信号接放大 电路 2_3进行差动放大, 最终输出给第一合成器 7_1的信号仍为 3个, 处理过程及方法与实施例 三相同。  Figure 44 is a block diagram of a signal processing device of a fourth embodiment of the position detecting device which is sequentially provided. Different from the third embodiment, the magnetic sensing element has six sensors. Therefore, the output signals of the sensors 1_1 and 1_2 are differentially amplified by the amplifying circuit 2_1, and the output signals of the sensors 1_3 and 1_4 are differentially amplified by the amplifying circuit 2_2. The output signals of the sensors 1_5 and 1_6 are differentially amplified by the amplifying circuit 2_3, and the signals outputted to the first synthesizer 7_1 are still three. The processing and method are the same as those in the third embodiment.
上述四个实施例是在 η=3的情况下, m值变化的各种实施例, 本发明不限于此, 第二磁钢环 上的磁感应元件 n可以是任意整数 (n=0, 1, 2…! ι), 如图 40所示, 分别为当 n=3、 4、 5时的第二 磁钢环、 导磁环和磁感应元件的分布分。  The above four embodiments are various embodiments in which the value of m changes in the case of η = 3, and the present invention is not limited thereto, and the magnetic sensing element n on the second magnetic steel ring may be an arbitrary integer (n = 0, 1, 2...! ι), as shown in Fig. 40, is a distribution of the second magnetic steel ring, the magnetic flux ring, and the magnetic induction element when n = 3, 4, and 5, respectively.
图 45为磁感应元件直接表贴于位置检测装置上的位置检测装置结构的立体分解图。 图 46~ 图 49分别是对应于第一磁钢环的磁感应元件直接表贴于位置检测装置上的结构示意图。在磁感应 元件直接表贴于位置检测装置上的情况下,磁感应元件的排布顺序与上述带有导磁环的顺序相同, 且信号处理装置及方法也相同, 在此省略详细说明。  Figure 45 is an exploded perspective view showing the structure of the position detecting device in which the magnetic sensing element is directly attached to the position detecting device. 46 to 49 are schematic views showing the structure of the magnetic induction element corresponding to the first magnetic steel ring directly attached to the position detecting device. In the case where the magnetic induction element is directly attached to the position detecting device, the arrangement order of the magnetic induction elements is the same as that of the above-described magnetically conductive ring, and the signal processing apparatus and method are also the same, and detailed description thereof will be omitted.
均匀设置的位置检测装置  Uniformly positioned position detecting device
与顺序设置的多极位置检测装置不同的是, 对应于第二磁钢环, 以第二磁钢环的中心为圆心 的同一圆周上设有 n 个顺序分布的磁感应元件, n=l, 2…! 1, 第二磁钢环的磁极磁化顺序使得 n 个磁感应原件输出呈格雷码形式。 磁极的极性为格雷码的首位为 " 0 "对应于 " N/S "极, 首位为 " 1 "对应于 " S/N"极。  Different from the sequentially arranged multi-pole position detecting device, corresponding to the second magnetic steel ring, n sequentially distributed magnetic sensing elements are disposed on the same circumference centered on the center of the second magnetic steel ring, n=l, 2 ...! 1. The magnetic pole magnetization sequence of the second magnetic steel ring causes the n magnetic induction original outputs to be in the form of a Gray code. The polarity of the magnetic pole is that the first position of the Gray code is "0" corresponding to the "N/S" pole, and the first position is "1" corresponding to the "S/N" pole.
第一磁钢环顺序磁化为 g ( g的取值等于第二磁钢环中的磁极总数) 对极 (N极和 S极交替 排列), 当第二磁钢环中的磁极总数为 6时, 第一磁钢环的极对数为 6对。 以第一磁钢环的中心为 圆心的同一圆周上, 设置有 m个磁感应元件, 如 2个, 二个磁感应元件 H2之间的夹角为 90° 16。 The first magnetic steel ring is sequentially magnetized to g (the value of g is equal to the total number of magnetic poles in the second magnetic steel ring) to the opposite pole (the N pole and the S pole are alternately arranged), when the total number of magnetic poles in the second magnetic steel ring is 6 The first magnetic steel ring has a pole pair number of six pairs. On the same circumference centered on the center of the first magnetic steel ring, m magnetic sensing elements, such as two, are disposed, and the angle between the two magnetic sensing elements H 2 is 90° 16.
定义第一磁钢环中相邻一对 " N-S " 为一个信号周期, 因此, 任一 " N-S "对应的机械角度 为 360° /g ( g为 " N-S "个数), 假定转子在 时刻旋转角度 位于第" ί¾信号周期内, 则此时刻角 位移 可认为由两部分构成: 1. 在第 w信号周期内的相对偏移量,磁感应元件 和 112感应第一 磁钢环的磁场来确定在此 " N-S "信号周期内的偏移量 ι (值大于 0小于 360° /g) ; 2. 第" 信号 周期首位置的绝对偏移量 , 用传感器 H3, H4, ...¾>感应磁环 2的磁场来确定此时转子究竟是 处于哪一个 " N-S "来得到 。 Define the adjacent pair of "NS" in the first magnetic steel ring as one signal period. Therefore, the mechanical angle corresponding to any "NS" is 360° / g (g is the number of "NS"), assuming that the rotor rotates at the moment. The angle is within the " ί3⁄4 signal period, then the angular displacement can be considered to consist of two parts: 1. The relative offset in the signal period of the w i3⁄4 signal, the magnetic sensing element and the magnetic field of the first magnetic steel ring 11 2 Determine the offset ι in this "NS" signal period (value greater than 0 is less than 360° / g); 2. The absolute offset of the first position of the signal period, using sensors H 3 , H 4 , ... 3⁄4> Inductive magnetic ring 2's magnetic field to determine which "NS" the rotor is in at this time.
均匀设置的位置检测装置的信号处理装置与顺序设置的相同, 在此不再做详细说明。  The signal processing means of the position detecting means uniformly arranged is the same as that of the sequence setting, and will not be described in detail herein.
实施例一  Embodiment 1
在实施例一中,对应于第二磁钢环设有 3磁感应元件,对应于第一磁钢环设有 2磁感应元件。 图 50为均匀设置的位置检测装置的实施例一对应于第二磁钢环设有 3个磁感应元件时得到 的编码。图 51为均匀设置的位置检测装置的实施例一对应于第二磁钢环设有 3个磁感应元件时第 二磁钢环的充磁顺序; 图 52为均匀设置的位置检测装置的实施例一的第二磁钢环、 导磁环和磁感 应元件的结构图。 如图所示, 由于第二磁钢环的磁极磁化顺序使得 n个磁感应原件输出呈格雷码 形式。 磁极的极性为格雷码的首位为 " 0"对应于 " N/S " 极, 首位为 " 1 "对应于 " S/N"极。 因 此, 在本实施例中, 由于 n为 3时, 得到如图 50所示的编码, 得到 6个码, 即得到 6个极, 充磁 顺序如图 51所示, 磁感应元件均布周围进行读数。 In the first embodiment, three magnetic induction elements are provided corresponding to the second magnetic steel ring, and two magnetic induction elements are provided corresponding to the first magnetic steel ring. Figure 50 is a first embodiment of the position detecting device uniformly disposed corresponding to when the second magnetic steel ring is provided with three magnetic sensing elements. Coding. Figure 51 is a first embodiment of the position detecting device which is uniformly disposed corresponding to the magnetization sequence of the second magnetic steel ring when the second magnetic steel ring is provided with three magnetic induction elements; Figure 52 is a first embodiment of the position detecting device uniformly disposed. A structural view of the second magnetic steel ring, the magnetic flux ring, and the magnetic sensing element. As shown, the magnetic induction sequence of the second magnetic steel ring causes the output of the n magnetic induction elements to be in the form of a Gray code. The polarity of the magnetic pole is that the first position of the Gray code is "0" corresponding to the "N/S" pole, and the first position is "1" corresponding to the "S/N" pole. Therefore, in the present embodiment, since n is 3, the code shown in FIG. 50 is obtained, and 6 codes are obtained, that is, 6 poles are obtained, and the magnetization sequence is as shown in FIG. 51, and the magnetic induction elements are read around the uniform cloth. .
图 53为均匀设置的位置检测装置的实施例一的第一磁钢环均匀磁化为 6对极时对应 2个磁 感应元件的布置图; 图 54为均匀设置的位置检测装置的实施例一的第一磁钢环、导磁环和磁感应 元件的结构图。 如图所示, 由于第二磁钢环的磁极总数为 6, 因此, 第一磁钢环被顺序的磁化为 6 对极, 其与 2个磁感应元件的布置图及磁序如图 53所示, 第一磁钢环、 导磁环和磁感应元件的位 置关系如图 50所示。  Figure 53 is a layout view of two magnetic induction elements when the first magnetic steel ring is uniformly magnetized to 6 poles in the first embodiment of the position detecting device; Fig. 54 is a first embodiment of the position detecting device uniformly disposed. A structural diagram of a magnetic steel ring, a magnetically conductive ring and a magnetic induction element. As shown in the figure, since the total number of magnetic poles of the second magnetic steel ring is 6, the first magnetic steel ring is sequentially magnetized to 6 poles, and the arrangement and magnetic sequence of the two magnetic induction elements are as shown in FIG. The positional relationship between the first magnetic steel ring, the magnetic flux ring and the magnetic induction element is as shown in FIG.
实施例二  Embodiment 2
图 55为均匀设置的位置检测装置的实施例二的第一磁钢环、导磁环和磁感应元件的结构图。 如图 55所示, 与实施例一不同的, 在本实施例中, 对应于第一磁钢环设置有 4个磁感应元件, 四 个磁感应元件 、 H2、 H3、 H4之间的夹角为 90° /6。 Fig. 55 is a structural view showing a first magnetic steel ring, a magnetic flux ring, and a magnetic induction element of the second embodiment of the position detecting device which is uniformly disposed. As shown in FIG. 55, different from the first embodiment, in the embodiment, four magnetic induction elements, four magnetic induction elements, and clamps between H 2 , H 3 , and H 4 are disposed corresponding to the first magnetic steel ring. The angle is 90° / 6.
实施例三  Embodiment 3
图 56为均匀设置的位置检测装置的实施例三的第一磁钢环、导磁环和磁感应元件的结构图。 如图 56所示, 本实施例与实施例一和二不同的是对应于第一磁钢环设置有 3个磁感应元件, 三个 磁感应元件 Η2、 ¾之间的夹角为 120° /6。 Figure 56 is a structural view showing a first magnetic steel ring, a magnetic flux ring, and a magnetic induction element of the third embodiment of the position detecting device which is uniformly disposed. As shown in FIG. 56, this embodiment differs from the first embodiment and the second embodiment in that three magnetic induction elements are disposed corresponding to the first magnetic steel ring, and the angle between the three magnetic induction elements Η 2 and 3⁄4 is 120° /6. .
实施例四  Embodiment 4
图 57为均匀设置的位置检测装置的实施例四的第一磁钢环、导磁环和磁感应元件的结构图。 如图 57所示, 本实施例与实施例三的不同在于, 对应于第一磁钢环设置有 6个磁感应元件, 六个 磁感应元件之间的夹角为 60° /6。  Figure 57 is a structural view showing a first magnetic steel ring, a magnetic flux ring, and a magnetic induction element of the fourth embodiment of the position detecting device which is uniformly disposed. As shown in Fig. 57, this embodiment differs from the third embodiment in that six magnetic induction elements are provided corresponding to the first magnetic steel ring, and the angle between the six magnetic induction elements is 60° / 6.
图 58是均匀设置的位置检测装置的实施例一至实施例四的另一种结构的立体分解图。 该位 置检测装置包括转子和将转子套在内部的定子, 转子包括第一磁钢环 201a和第二磁钢环 201b, 第一磁钢环 201a和第二磁钢环 201b分别固定在电机轴 200上, 其中定子为支架 203。 磁感应元 件 204直接表贴在支架 203的内表面。  Fig. 58 is an exploded perspective view showing another configuration of the first to fourth embodiments of the position detecting device which is uniformly disposed. The position detecting device includes a rotor and a stator that surrounds the rotor. The rotor includes a first magnetic steel ring 201a and a second magnetic steel ring 201b. The first magnetic steel ring 201a and the second magnetic steel ring 201b are respectively fixed to the motor shaft 200. Above, wherein the stator is a bracket 203. The magnetic sensing element 204 is directly attached to the inner surface of the bracket 203.
与实施例一至四类似, 图 57中的位置检测装置中的第一磁钢环可以设置有 2、 4、 3、 6个磁 感应元件。 基于不同数目的磁感应元件的位置检测装置的信号处理装置和信号处理方法分别与实 施例一至四的方法相同。  Similar to the first to fourth embodiments, the first magnetic steel ring in the position detecting device of Fig. 57 can be provided with 2, 4, 3, and 6 magnetic induction elements. The signal processing apparatus and the signal processing method based on the position detecting means of the different numbers of magnetic induction elements are the same as the methods of the first to fourth embodiments, respectively.
在本发明的伺服电动阀中, 伺服电机 10优选为交流伺服电机。  In the servo electric valve of the present invention, the servo motor 10 is preferably an AC servo motor.
再参照图 1, 减速器为蜗轮蜗杆减速器。 减速器与伺服控制器 9、 伺服电机 10、 位置检测装 置 7等构成减速装置。 伺服电机 10在伺服控制器 9的控制下, 通过联轴器带动蜗杆 24转动, 蜗 杆 24再带动蜗轮 25转动。涡轮 25设置在阀杆 2上, 在阀杆 2和电机轴上分别装有位置检测装置 7, 用于感应阀杆 2和电机轴的角度位置。位置检测装置 7输出的是其内部的霍尔元件感应的电压 信号, 位置检测装置 7通过信号线 8将感应的电压信号传递给伺服控制器 9, 伺服控制器 9经过 A/D采样并运行角度求解算法获得阀杆 2和电机轴的角度位置, 然后运行控制程序对减速装置进 行全闭环控制。  Referring again to Figure 1, the reducer is a worm gear reducer. The speed reducer and servo controller 9, servo motor 10, position detecting device 7, etc. constitute a speed reducer. Under the control of the servo controller 9, the servo motor 10 drives the worm 24 to rotate by the coupling, and the worm 24 drives the worm wheel 25 to rotate. The turbine 25 is disposed on the valve stem 2, and a position detecting device 7 is mounted on the valve stem 2 and the motor shaft, respectively, for sensing the angular position of the valve stem 2 and the motor shaft. The position detecting device 7 outputs a voltage signal induced by the Hall element inside thereof, and the position detecting device 7 transmits the induced voltage signal to the servo controller 9 through the signal line 8, and the servo controller 9 performs A/D sampling and operates at an angle. The solution algorithm obtains the angular position of the valve stem 2 and the motor shaft, and then runs a control program to perform full closed-loop control of the reduction gear.
图 59为另一种减速装置及阀的结构示意图。 如图 59所示, 减速器可以是圆柱齿轮减速器, 值得注意的是, 阀的结构可以变化, 在该实施例中, 挡板 35的中心线为阀杆 2, 阀杆 2的转动直 接带动挡板 35转动, 实现对阀孔的开闭控制。 从图 59中可以看出, 位置检测装置设置在电机轴 上, 因此, 该实施例的控制与图 1相似, 不再赘述。 Figure 59 is a schematic view showing the structure of another type of reduction gear and valve. As shown in Figure 59, the reducer can be a cylindrical gear reducer. It should be noted that the structure of the valve can be changed. In this embodiment, the center line of the baffle 35 is the valve stem 2, and the rotation of the valve stem 2 directly drives the baffle 35 to rotate, thereby realizing the opening and closing control of the valve hole. As can be seen from Fig. 59, the position detecting means is disposed on the motor shaft, and therefore, the control of this embodiment is similar to that of Fig. 1, and will not be described again.
图 60为另一种减速装置的结构示意图。 如图 60所示, 与图 59的实施例不同的是, 在阀杆 2上设有位置检测装置 7, 其控制方法与图 5的实施例相似, 不再赘述。  Figure 60 is a schematic view showing the structure of another type of reduction gear. As shown in Fig. 60, unlike the embodiment of Fig. 59, the position detecting means 7 is provided on the valve stem 2, and the control method thereof is similar to that of the embodiment of Fig. 5 and will not be described again.
此外, 在实际的应用中, 还可以根据需要采用本领域已知的其它类型减速器, 如圆锥齿轮减 速器、 行星齿轮减速器, 或者是上述类型减速器的组合。  Further, in practical applications, other types of speed reducers known in the art, such as a bevel gear reducer, a planetary gear reducer, or a combination of the above-described types of reducers, may be employed as needed.
伺服电机 10优选为交流伺服电机 10。  The servo motor 10 is preferably an AC servo motor 10.
图 61为一体机的分解图, 如图 61所示, 位置检测装置 7、 伺服控制器 9和伺服电机 10— 体设置。 在该实施例中, 位置检测装置 7是单磁极结构, 并位于伺服控制器 9之后, 而伺服控制 器 9通过连接件与伺服电机 10固定在一起。 然而, 应理解的是, 位置检测装置 7也可以是多磁极 结构。 此外, 位置检测装置 7可以位于伺服电机 10和伺服控制器 9之间。  Figure 61 is an exploded view of the all-in-one machine. As shown in Figure 61, the position detecting device 7, the servo controller 9, and the servo motor 10 are disposed. In this embodiment, the position detecting device 7 is of a single magnetic pole structure and is located behind the servo controller 9, and the servo controller 9 is fixed to the servo motor 10 through a connecting member. However, it should be understood that the position detecting device 7 may also be a multi-pole structure. Further, the position detecting device 7 can be located between the servo motor 10 and the servo controller 9.
综上所述, 本发明的伺服电动阀可以根据需要任意控制阀的开度, 而且控制精度非常高, 还 可以控制转矩、 转速且可以实现阀门的自动控制, 此外, 本发明的伺服电动阀可靠性高、 响应快、 成本低。  In summary, the servo electric valve of the present invention can arbitrarily control the opening degree of the valve as needed, and the control precision is very high, and the torque and the rotational speed can be controlled and the automatic control of the valve can be realized. Further, the servo electric valve of the present invention can be realized. High reliability, fast response, and low cost.
最后应说明的是: 以上实施方案仅用以说明本发明的技术方案而非限制。尽管参照上述实施 方案对本发明进行了详细说明, 本领域的普通技术人员应当理解, 依然可以对本发明的技术方案 进行修改和等同替换, 而不脱离本技术方案的精神和范围, 其均应涵盖在本发明的权利要求范围 当中。  Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and not limiting. While the present invention has been described in detail with reference to the embodiments of the embodiments of the present invention, it is understood that the invention may be modified and equivalents without departing from the spirit and scope of the present invention. Within the scope of the claims of the present invention.

Claims

权利要求书 Claim
1、 一种伺服电动阀, 包括阀体, 阀体中设有阀杆, 伺服电机的输出通过联轴器与减速器输 入相连, 减速器的输出与阀杆相连, 阀杆与阀孔相连并控制阀孔的开度, 其特征在于, 所述的伺 服电机的电机轴上设有位置检测装置, 位置检测装置输入信号给伺服控制器控制伺服电机驱动减 速器并通过阀杆控制阀孔的开度。  1. A servo electric valve, comprising a valve body, wherein a valve stem is arranged in the valve body, and an output of the servo motor is connected to the input of the reducer through a coupling, the output of the reducer is connected with the valve stem, and the valve stem is connected with the valve hole and Controlling the opening degree of the valve hole, wherein the servo motor has a position detecting device on the motor shaft, and the position detecting device inputs a signal to the servo controller to control the servo motor to drive the speed reducer and control the opening of the valve hole through the valve stem degree.
2、 根据权利要求 1 所述的伺服电动阀, 其特征在于, 所述的阀杆上也设有位置检测装置, 位置检测装置输入信号给伺服控制器, 伺服控制器控制伺服电机驱动减速器并通过阀杆控制阀孔 的开度。  2. The servo electric valve according to claim 1, wherein the valve stem is also provided with a position detecting device, the position detecting device inputs a signal to the servo controller, and the servo controller controls the servo motor to drive the speed reducer and The opening of the valve hole is controlled by the valve stem.
3、 根据权利要求 1 所述的伺服电动阀, 其特征在于, 所述的阀杆上设有传动机构, 该传动 机构的主动件设置在阀杆上, 从动件的转轴上设有位置检测装置, 位置检测装置输入信号给伺服 控制器, 伺服控制器控制伺服电机驱动减速器并通过阀杆控制阀孔的开度。  3. The servo electric valve according to claim 1, wherein the valve stem is provided with a transmission mechanism, and the active member of the transmission mechanism is disposed on the valve stem, and the position detection is provided on the rotating shaft of the driven member. The device, the position detecting device inputs a signal to the servo controller, and the servo controller controls the servo motor to drive the speed reducer and controls the opening of the valve hole through the valve stem.
4、 根据权利要求 1 所述的伺服电动阀, 其特征在于, 所述的减速器为蜗轮蜗杆减速器或圆 柱齿轮减速器或圆锥齿轮减速器或行星齿轮减速器或其组合。  4. The servo electric valve according to claim 1, wherein the speed reducer is a worm gear reducer or a cylindrical gear reducer or a bevel gear reducer or a planetary gear reducer or a combination thereof.
5、 根据权利要求 1所述的伺服电动阀, 其特征在于, 所述的伺服电机优选为交流伺服电机。  The servo electric valve according to claim 1, wherein the servo motor is preferably an AC servo motor.
6、 根据权利要求 1 所述的伺服电动阀, 其特征在于, 所述的位置检测装置、 伺服控制器和 伺服电机一体设置。 The servo electric valve according to claim 1, wherein the position detecting device, the servo controller, and the servo motor are integrally provided.
7、 根据权利要求 1-6任一项所述的伺服电动阀, 其特征在于, 所述伺服控制器包括数据处理 单元、 电机驱动单元和电流传感器, 所述数据处理单元接收输入的指令信号、 电流传感器采集的 电机输入电流信号和位置检测装置输出的代表电机角度的信息, 经过数据处理, 输出控制信号给 所述的电机驱动单元, 所述电机驱动单元根据所述的控制信号输出合适的电压给伺服电机, 从而 实现对伺服电机的精确控制。  The servo electric valve according to any one of claims 1 to 6, wherein the servo controller comprises a data processing unit, a motor driving unit and a current sensor, and the data processing unit receives the input command signal, The motor input current signal collected by the current sensor and the information representing the motor angle output by the position detecting device are subjected to data processing, and output a control signal to the motor driving unit, and the motor driving unit outputs an appropriate voltage according to the control signal. The servo motor is given to achieve precise control of the servo motor.
8、 根据权利要求 7所述的伺服电动阀, 其特征在于, 所述数据处理单元包括机械环控制子 单元、 电流环控制子单元、 PWM控制信号产生子单元和传感器信号处理子单元;  8. The servo electric valve according to claim 7, wherein the data processing unit comprises a mechanical loop control subunit, a current loop control subunit, a PWM control signal generating subunit, and a sensor signal processing subunit;
所述传感器信号处理子单元接收所述位置检测装置输出的代表电机角度的信息, 将电机的角 度传输给所述的机械环控制子单元; 所述传感器信号处理子单元还接收所述电流传感器的检测到 的电流信号, 经过 A/D采样后输出给所述的电流环控制子单元;  The sensor signal processing subunit receives information representing a motor angle output by the position detecting device, and transmits an angle of the motor to the mechanical ring control subunit; the sensor signal processing subunit further receives the current sensor The detected current signal is sampled by A/D and output to the current loop control subunit;
所述机械环控制子单元根据接收到的指令信号和电机轴的转动角度, 经过运算得到电流指 令, 并输出给所述的电流环控制子单元;  The mechanical ring control subunit obtains a current command through operation according to the received command signal and the rotation angle of the motor shaft, and outputs the current command to the current loop control subunit;
所述电流环控制子单元根据接收到的电流指令的电流传感器输出的电流信号, 经过运算得到 三相电压的占空比控制信号, 并输出给所述的 PWM控制信号产生子单元;  The current loop control subunit obtains a duty control signal of the three-phase voltage according to the current signal output by the current sensor of the received current command, and outputs the duty control signal to the PWM control signal generating subunit;
所述 PWM控制信号产生子单元根据接收到的三相电压的占空比控制信号, 生成具有一定顺 序的六路 PWM信号, 分别作用于电机驱动单元。  The PWM control signal generating sub-unit generates six PWM signals having a certain order according to the received duty control signal of the three-phase voltage, and respectively acts on the motor driving unit.
9、 根据权利要求 7所述的伺服电动阀, 其特征在于, 所述电机驱动单元包括六个功率开关 管, 所述开关管每两个串联成一组, 三组并联连接在直流供电线路之间, 每一开关管的控制端受 PWM控制信号产生子单元输出的 PWM信号的控制, 每一组中的两个开关管分时导通。  9. The servo electric valve according to claim 7, wherein the motor drive unit comprises six power switch tubes, the switch tubes are connected in series of two, and the three groups are connected in parallel between the DC power supply lines. The control end of each switch is controlled by the PWM signal output by the PWM control signal generating sub-unit, and the two switch tubes in each group are time-divisionally turned on.
10、 如权利要求 7所述的伺服电动阀, 其特征在于, 所述数据处理单元为 MCU, 所述电机 驱动单元为 IPM模块。  The servo electric valve according to claim 7, wherein the data processing unit is an MCU, and the motor driving unit is an IPM module.
11、 根据权利要求 8所述的伺服电动阀, 其特征在于, 所述的位置检测装置, 包括磁钢环、 导磁环和磁感应元件, 所述导磁环由两段或多段同半径、 同圆心的弧段构成, 相邻两弧段留有缝 隙, 所述磁感应元件置于该缝隙内, 当磁钢环与导磁环发生相对旋转运动时, 所述磁感应元件将 感测到的磁信号转换为电压信号, 并将该电压信号传输给相应的信号处理装置。 The servo electric valve according to claim 8, wherein the position detecting device comprises a magnetic steel ring, a magnetic flux ring and a magnetic induction element, wherein the magnetic conductive ring has two or more segments of the same radius and the same The arc of the center of the circle is formed, and the adjacent two arcs are left with seams. a magnetic induction element is disposed in the gap, and when the magnetic steel ring and the magnetic conductive ring rotate relative to each other, the magnetic induction element converts the sensed magnetic signal into a voltage signal, and transmits the voltage signal to the corresponding Signal processing device.
12、 如权利要求 11 所述的伺服电动阀, 其特征在于, 所述的导磁环由两段同半径、 同圆心 的弧段构成, 分别为 1/4弧段和 3/4弧段, 对应的磁感应元件为 2个; 或者, 所述的导磁环由三段 同半径的弧段构成, 分别为 1/3弧段, 对应的磁感应元件为 3个; 或者, 所述的导磁环由四段同 半径的弧段构成, 分别为 1/4弧段, 对应的磁感应元件为 4个; 或者, 所述的导磁环由六段同半 径的弧段构成, 分别为 1/6弧段, 对应的磁感应元件为 6个。  The servo electric valve according to claim 11, wherein the magnetic conductive ring is composed of two arc segments of the same radius and the same center, which are respectively a quarter arc segment and a 3/4 arc segment. Corresponding magnetic sensing elements are two; or, the magnetic conductive ring is composed of three arc segments of the same radius, respectively, 1/3 arc segments, and corresponding magnetic sensing elements are three; or, the magnetic conductive ring It is composed of four arc segments of the same radius, which are respectively 1/4 arc segments, and the corresponding magnetic induction elements are four; or, the magnetic conductive ring is composed of six arc segments of the same radius, respectively, 1/6 arc In the segment, there are six corresponding magnetic sensing elements.
13、 如权利要求 12所述的伺服电动阀, 其特征在于, 所述的导磁环的弧段端部设有倒角, 为沿轴向或径向或同时沿轴向、 径向切削而形成的倒角。  13. The servo electric valve according to claim 12, wherein the end portion of the arc of the magnetic flux ring is chamfered to be axially or radially or simultaneously axially and radially cut. The chamfer formed.
14、 如权利要求 11 所述的伺服电动阀, 其特征在于, 还包括骨架, 用于固定所述导磁环; 所述导磁环设置在骨架成型模具上, 在所述骨架一体成型时与骨架固定在一起。  The servo electric valve according to claim 11, further comprising a skeleton for fixing the magnetic conductive ring; the magnetic conductive ring is disposed on the skeleton forming mold, and when the skeleton is integrally formed The skeletons are fixed together.
15、 如权利要求 11 所述的伺服电动阀, 其特征在于, 所述传感器信号处理子单元或位置检 测装置中包括位置检测装置的信号处理电路, 用于根据所述位置检测装置的电压信号得到电机轴 的转动角度, 具体包括:  The servo electric valve according to claim 11, wherein the sensor signal processing subunit or the position detecting device includes a signal processing circuit of the position detecting device for obtaining a voltage signal according to the position detecting device. The angle of rotation of the motor shaft specifically includes:
A/D转换电路, 对位置检测装置中磁感应元件发送来的电压信号进行 A/D转换, 将模拟信号 转换为数字信号;  The A/D conversion circuit performs A/D conversion on the voltage signal sent from the magnetic induction element in the position detecting device, and converts the analog signal into a digital signal;
合成电路,对位置检测装置发送来的经过 A/D转换的多个电压信号进行处理得到基准信号 D ; 角度获取电路, 根据该基准信号 D, 在标准角度表中选择与其相对的角度作为偏移角度 ; 以及  a synthesizing circuit that processes the A/D converted plurality of voltage signals sent from the position detecting device to obtain a reference signal D; and an angle obtaining circuit that selects an angle opposite to the standard angle table as an offset according to the reference signal D Angle;
存储电路, 用于存储标准角度表。  A storage circuit for storing a standard angle table.
16、 如权利要求 8所述的伺服电动阀, 其特征在于, 所述的位置检测装置, 包括转子和将转 子套在内部的定子, 所述转子包括第一磁钢环、 第二磁钢环;  The servo electric valve according to claim 8, wherein the position detecting device comprises a rotor and a stator that surrounds the rotor, the rotor including a first magnetic steel ring and a second magnetic steel ring ;
其中, 所述第一磁钢环和第二磁钢环分别固定在电机轴上;  Wherein the first magnetic steel ring and the second magnetic steel ring are respectively fixed on the motor shaft;
在定子上, 对应于第二磁钢环, 以第二磁钢环的中心为圆心的同一圆周上设有 n个均匀分布 的磁感应元件, 其中, n=l, 2…! 1, 所述第二磁钢环的磁极磁化顺序使得 n个磁感应元件输出呈格 雷码格式, 相邻两个输出只有一位变化;  On the stator, corresponding to the second magnetic steel ring, n uniformly distributed magnetic sensing elements are disposed on the same circumference centered on the center of the second magnetic steel ring, wherein n=l, 2...! 1. The magnetic pole magnetization sequence of the second magnetic steel ring causes the output of the n magnetic induction elements to be in a Gray code format, and only one bit of the adjacent two outputs changes;
在定子上, 对应于第一磁钢环, 以第一磁钢环的中心为圆心的同一圆周上设有 m个呈一定角 度分布的磁感应元件, 其中, m为 2或 3的整数倍, 所述第一磁钢环的磁极总对数与第二磁钢环 的磁极总数相等, 并且相邻两极的极性相反;  On the stator, corresponding to the first magnetic steel ring, there are m magnetic induction elements distributed at an angle on the same circumference centered on the center of the first magnetic steel ring, wherein m is an integer multiple of 2 or 3 The total magnetic pole number of the first magnetic steel ring is equal to the total number of magnetic poles of the second magnetic steel ring, and the polarities of the adjacent two poles are opposite;
当转子相对于定子发生相对旋转运动时, 所述磁感应元件将感测到的磁信号转变为电压信 号, 并将该电压信号输出给信号处理装置。  The magnetic sensing element converts the sensed magnetic signal into a voltage signal when the rotor is relatively rotationally moved relative to the stator, and outputs the voltage signal to the signal processing device.
17、 如权利要求 16所述的伺服电动阀, 其特征在于, 在定子上对应于第一磁钢环的相邻两 个磁感应元件之间的夹角, 当 m为 2或 4时, 该夹角为 90° /g; 当 m为 3时, 该夹角为 120° /g; 当 m为 6时, 该夹角为 60° /g, 其中, g为第二磁钢环的磁极总数。  17. The servo electric valve according to claim 16, wherein an angle between adjacent two magnetic induction elements of the first magnetic steel ring on the stator is obtained when m is 2 or 4. The angle is 90° / g; when m is 3, the angle is 120 ° / g; when m is 6, the angle is 60 ° / g, where g is the total number of magnetic poles of the second magnetic steel ring.
18、 如权利要求 8所述的伺服电动阀, 其特征在于, 所述的位置检测装置, 包括转子和将转 子套在内部的定子, 所述转子包括第一磁钢环、 第二磁钢环;  The servo electric valve according to claim 8, wherein the position detecting device comprises a rotor and a stator that surrounds the rotor, and the rotor includes a first magnetic steel ring and a second magnetic steel ring. ;
其中, 所述第一磁钢环和第二磁钢环分别固定在转轴上, 所述第一磁钢环被均匀地磁化为 N 对磁极, ?<=2° 且11=0, 1, 2…! 1, 并且相邻两极的极性相反; 所述第二磁钢环的磁极总数为 N, 其磁序按照特定磁序算法确定; 在定子上, 对应于第一磁钢环, 以第一磁钢环的中心为圆心的同一圆周上设有 m个呈一定角 度分布的磁感应元件, 其中, m为 2或 3的整数倍; 对应于第二磁钢环, 以第二磁钢环的中心为 圆心的同一圆周上设有 n个呈一定角度分布的磁感应元件, 其中, n=0, 1, Wherein, the first magnetic steel ring and the second magnetic steel ring are respectively fixed on the rotating shaft, and the first magnetic steel ring is uniformly magnetized into N pairs of magnetic poles. <=2° and 11=0, 1, 2...! 1, and the polarities of the adjacent two poles are opposite; the total number of magnetic poles of the second magnetic steel ring is N, and the magnetic order is determined according to a specific magnetic sequence algorithm; On the stator, corresponding to the first magnetic steel ring, there are m magnetic induction elements distributed at an angle on the same circumference centered on the center of the first magnetic steel ring, wherein m is an integer multiple of 2 or 3; The second magnetic steel ring is provided with n magnetic induction elements distributed at an angle on the same circumference centered on the center of the second magnetic steel ring, wherein n=0, 1,
当转子相对于定子发生相对旋转运动时, 所述磁感应元件将感测到的磁信号转变为电压信 号, 并将该电压信号输出给信号处理装置。  The magnetic sensing element converts the sensed magnetic signal into a voltage signal when the rotor is relatively rotationally moved relative to the stator, and outputs the voltage signal to the signal processing device.
19、 如权利要求 18 所述的伺服电动阀, 其特征在于, 在定子上对应于第二磁钢环的相邻两 个磁感应元件之间的夹角为 360° /N。  The servo electric valve according to claim 18, wherein an angle between adjacent two magnetic induction elements on the stator corresponding to the second magnetic steel ring is 360 ° /N.
20、 如权利要求 19所述的伺服电动阀, 其特征在于, 在定子上对应于第一磁钢环相邻两个 磁感应元件之间的夹角, 当 m为 2或 4时, 每相邻两个磁感应元件之间的夹角为 90° /N, 当 m 为 3时, 每相邻两个磁感应元件之间的夹角为 120 ° /N; 当 m为 6时, 每相邻两个磁感应元件之 间的夹角为 60° /N。  20. The servo electric valve according to claim 19, wherein an angle between adjacent two magnetic induction elements on the stator corresponding to the first magnetic steel ring, when m is 2 or 4, each adjacent The angle between the two magnetic sensing elements is 90° /N. When m is 3, the angle between each adjacent two magnetic sensing elements is 120 ° /N; when m is 6, each adjacent two The angle between the magnetic sensing elements is 60 ° /N.
21、 如权利要求 16或 18任一项所述的位置检测装置, 其特征在于, 所述磁感应元件直接表 贴在定子的内表面。  The position detecting device according to any one of claims 16 or 18, wherein the magnetic induction element is directly attached to an inner surface of the stator.
22、 如权利要求 16或 18任一项所述的伺服电动阀, 其特征在于, 还包括两个导磁环, 每一 所述导磁环是由多个同圆心、 同半径的弧段构成, 相邻两弧段留有空隙, 对应于两个磁钢环的磁 感应元件分别设在该空隙内。  The servo electric valve according to any one of claims 16 or 18, further comprising two magnetic conductive rings, each of said magnetic conductive rings being composed of a plurality of arcs of the same center and the same radius A gap is left in the adjacent two arc segments, and magnetic sensing elements corresponding to the two magnetic steel rings are respectively disposed in the gap.
23、 如权利要求 22所述的伺服电动阀, 其特征在于, 所述的导磁环的弧段端部设有倒角, 为沿轴向或径向或同时沿轴向、 径向切削而形成的倒角。  The servo electric valve according to claim 22, wherein the end portion of the arc of the magnetic flux ring is chamfered to be axially or radially or simultaneously axially and radially cut. The chamfer formed.
24、 如权利要求 11、 16或 18任一项所述的伺服电动阀, 其特征在于, 所述的磁感应元件为 霍尔感应元件。  The servo electric valve according to any one of claims 11, 16 or 18, wherein the magnetic induction element is a Hall sensing element.
25、 如权利要求 16或 18任一项所述的伺服电动阀, 其特征在于, 所述传感器信号处理子单 元或位置检测装置中包括位置检测装置的信号处理电路, 用于根据所述位置检测装置的电压信号 得到电机轴的转动角度, 具体包括:  The servo electric valve according to any one of claims 16 or 18, wherein the sensor signal processing subunit or the position detecting device includes a signal processing circuit of the position detecting device for detecting the position according to the position The voltage signal of the device obtains the rotation angle of the motor shaft, and specifically includes:
A/D转换电路, 对位置检测装置发送来的电压信号进行 A/D转换, 将模拟信号转换为数字信 号;  An A/D conversion circuit that performs A/D conversion on the voltage signal sent from the position detecting device to convert the analog signal into a digital signal;
相对偏移角度 计算电路, 用于计算位置检测装置中对应于第一磁钢环的磁感应元件发送来 的第一电压信号在所处信号周期内的相对偏移量 ;  a relative offset angle calculating circuit, configured to calculate a relative offset of the first voltage signal sent by the magnetic sensing element corresponding to the first magnetic steel ring in the position detecting device during the signal period;
绝对偏移量 计算电路,根据位置检测装置中对应于第二磁钢环的磁感应元件发送来的第二 电压信号, 通过计算来确定第一电压信号所处的信号周期首位置的绝对偏移量 ;  An absolute offset calculation circuit determines, by calculation, an absolute offset of a first position of a signal period at which the first voltage signal is located, according to a second voltage signal transmitted from a magnetic induction element corresponding to the second magnetic steel ring in the position detecting device ;
角度合成及输出模块, 用于将上述相对偏移量 和绝对偏移量 相加,合成所述第一电压信 号所代表的在该时刻的旋转角度 ;  An angle synthesis and output module, configured to add the relative offset and the absolute offset to synthesize a rotation angle represented by the first voltage signal at the moment;
存储模块, 用于存储数据。  A storage module for storing data.
26、 如权利要求 25所述的伺服电动阀, 其特征在于, 还包括:  The servo electric valve according to claim 25, further comprising:
信号放大电路, 用于在 A/D转换电路进行 A/D转换之前, 对来自于磁电式传感器的电压信 号进行放大。  A signal amplifying circuit for amplifying a voltage signal from the magnetoelectric sensor before the A/D conversion circuit performs A/D conversion.
27、 如权利要求 25所述的伺服电动阀, 其特征在于, 所述相对偏移角度 计算电路包括第 一合成电路和第一角度获取电路, 所述第一合成电路对位置检测装置发送来的经过 A/D转换的多 个电压信号进行处理, 得到一基准信号 D ; 所述第一角度获取电路根据该基准信号 D, 在第一标 准标准角度表中选择一与其相对的角度作为偏移角度 。 The servo electric valve according to claim 25, wherein the relative offset angle calculating circuit comprises a first synthesizing circuit and a first angle acquiring circuit, wherein the first synthesizing circuit transmits the position detecting device The A/D converted plurality of voltage signals are processed to obtain a reference signal D. The first angle obtaining circuit selects an angle opposite to the angle in the first standard standard angle table as the offset angle according to the reference signal D. .
28、 如权利要求 27所述的伺服电动阀, 其特征在于, 所述相对偏移角度 计算电路内或在 合成电路之前还包括温度补偿电路, 用于消除温度对磁电式传感器发送来的电压信号的影响。 The servo electric valve according to claim 27, wherein the relative offset angle calculating circuit further comprises a temperature compensating circuit for canceling the voltage sent from the magnetoelectric sensor or before the synthesizing circuit The effect of the signal.
29、 如权利要求 27所述的伺服电动阀, 其特征在于, 所述合成电路或所述第一合成电路的 输出还包括信号 R;  The servo electric valve according to claim 27, wherein the output of the synthesizing circuit or the first synthesizing circuit further comprises a signal R;
所述温度补偿单元包括系数矫正器和乘法器, 所述系数矫正器对所述合成模块的输出的信号 R和对应该信号的标准状态下的信号 R。进行比较得到输出信号 K; 所述乘法器为多个, 每一所述 乘法器将从位置检测装置发送来的、 经过 A/D转换的一个电压信号与所述系数矫正模块的输出信 号 K相乘, 将相乘后的结果输出给第一合成电路。  The temperature compensating unit includes a coefficient corrector and a multiplier, the signal R of the output of the synthesizing module by the coefficient corrector and the signal R in a standard state corresponding to the signal. Comparing to obtain an output signal K; the multiplier is a plurality, and each of the multipliers outputs a voltage signal that is A/D converted from the position detecting device and an output signal K of the coefficient correction module. Multiply, and the multiplied result is output to the first synthesizing circuit.
30、 根据权利要求 25所述的伺服电动阀, 其特征在于, 所述绝对偏移量 计算电路包括第 二合成电路和第二角度获取电路, 所述第二合成电路用于对对应于第二磁钢环的位置检测装置发 送来的第二电压信号进行合成, 得到一信号 E ; 所述第二角度获取电路根据该信号 E在第二标准 角度表中选择一与其相对的角度作为第一电压信号所处的信号周期首位置的绝对偏移量 。  30. The servo electric valve according to claim 25, wherein the absolute offset calculation circuit comprises a second synthesis circuit and a second angle acquisition circuit, and the second synthesis circuit is configured to correspond to the second The second voltage signal sent by the position detecting device of the magnetic steel ring is combined to obtain a signal E. The second angle acquiring circuit selects an angle opposite to the first standard angle table as the first voltage according to the signal E. The absolute offset of the first position of the signal period at which the signal is located.
31、 一种伺服电动阀的控制方法, 其特征在于, 该方法包括如下步骤:  31. A method of controlling a servo electric valve, the method comprising the steps of:
步骤 1 : 设定电动阀阀门开度值, 并将该数值预存在伺服控制器的 MCU中;  Step 1: Set the valve opening value of the electric valve, and pre-store the value in the MCU of the servo controller;
步骤 2: 根据电动阀阀门开度值的大小, 计算出阀杆的位移量, 伺服控制器根据减速器的传 动比, 计算转轴的驱动角度;  Step 2: Calculate the displacement of the valve stem according to the opening value of the valve of the electric valve, and the servo controller calculates the driving angle of the rotating shaft according to the transmission ratio of the reducer;
步骤 3 : 检测电机轴的实际角度, 对伺服电机的驱动角度进行控制, 使其达到预存数值, 实 现电动阀的阀门开度控制。  Step 3: Detect the actual angle of the motor shaft, control the driving angle of the servo motor to achieve the pre-stored value, and realize the valve opening control of the electric valve.
32、 根据权利要求 31所述的控制方法, 其特征在于, 所述的步骤 3 中检测的具体步骤为: 所述的伺服控制器每隔一个固定周期, 读取位置检测装置的电压信号, 并将所述的电压信号通过 角度求解算法转换成电机轴的角度位置。  The control method according to claim 31, wherein the specific step of detecting in the step 3 is: the servo controller reads the voltage signal of the position detecting device every other fixed period, and The voltage signal is converted to an angular position of the motor shaft by an angle solving algorithm.
33、 一种伺服电动阀的控制方法, 其特征在于, 该方法包括如下步骤:  33. A method of controlling a servo electric valve, the method comprising the steps of:
步骤 1 : 检测阀杆的角度位置, 将感应电压信号传递给伺服控制器的 MCU, 伺服控制器经过 计算, 获得阀杆的角度位置信息;  Step 1: Detect the angular position of the valve stem, transmit the induced voltage signal to the MCU of the servo controller, and the servo controller calculates the angular position information of the valve stem;
步骤 2: 检测伺服电机轴的角度位置, 将感应电压信号传递给伺服控制器的 MCU, 伺服控制 器经过计算, 获得转轴的角度位置信息;  Step 2: Detecting the angular position of the servo motor shaft, transmitting the induced voltage signal to the MCU of the servo controller, and the servo controller is calculated to obtain the angular position information of the rotating shaft;
步骤 3 : MCU接收位置检测装置的电压信号和电流传感器感应的电机三相电流信号, 并运行 角度求解算法和进行相应控制计算, 计算出 PWM信号给电机控制模块, 控制电机控制模块输出 三相电压的占空比, 电机控制模块接受 MCU 的控制, 输出三相电压给伺服电机, 驱动伺服电机 运动, 实现电动阀的阀门开度控制。  Step 3: The MCU receives the voltage signal of the position detecting device and the motor three-phase current signal induced by the current sensor, and runs the angle solving algorithm and performs corresponding control calculation, calculates the PWM signal to the motor control module, and controls the motor control module to output the three-phase voltage. The duty cycle, the motor control module accepts the control of the MCU, outputs the three-phase voltage to the servo motor, drives the servo motor to move, and realizes the valve opening control of the electric valve.
34、 根据权利要求 33所述的伺服电动阀的控制方法, 其特征在于, 所述的步骤 1 的具体方 法包括, 在阀杆上设置位置检测装置, 通过该位置检测装置直接检测、 计算并获得阀杆的角度位 置信息。  The control method of the servo electric valve according to claim 33, wherein the specific method of step 1 comprises: providing a position detecting device on the valve stem, directly detecting, calculating and obtaining by the position detecting device Angle position information of the valve stem.
35、 根据权利要求 33所述的伺服电动阀的控制方法, 其特征在于, 所述的步骤 1 的具体方 法包括, 在阀杆上设置传动机构, 该传动机构的主动件设置在阀杆上, 从动件的转轴上设有位置 检测装置, 通过传动比大小的设定, 使传动机构位移的大小与阀门的开度一一对应, 通过位置检 测装置检测传动机构位移的大小, 直接获得阀门的开度。  The control method of the servo electric valve according to claim 33, wherein the specific method of step 1 comprises: providing a transmission mechanism on the valve stem, wherein the active component of the transmission mechanism is disposed on the valve stem, The position detecting device is arranged on the rotating shaft of the driven member, and the displacement of the transmission mechanism is in one-to-one correspondence with the opening degree of the valve through the setting of the transmission ratio, and the displacement of the transmission mechanism is detected by the position detecting device, and the valve is directly obtained. Opening degree.
36、 根据权利要求 35 所述的伺服电动阀的控制方法, 其特征在于, 所述的传动比大小的设 定, 使阀门从全开到全闭或从全闭到全开, 传动机构中从动件的转轴转动角度不到 360° 。  36. The method of controlling a servo electric valve according to claim 35, wherein the setting of the transmission ratio is such that the valve is fully open to fully closed or fully closed to fully open, in the transmission mechanism. The rotating shaft of the moving member is rotated by less than 360°.
PCT/CN2010/072179 2009-04-30 2010-04-26 Servo motor operated valve and control method thereof WO2010124600A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910137771.4 2009-04-30
CN 200910137771 CN101876381B (en) 2009-04-30 2009-04-30 Electrically-operated servo valve and method for controlling same

Publications (1)

Publication Number Publication Date
WO2010124600A1 true WO2010124600A1 (en) 2010-11-04

Family

ID=43019008

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/072179 WO2010124600A1 (en) 2009-04-30 2010-04-26 Servo motor operated valve and control method thereof

Country Status (2)

Country Link
CN (1) CN101876381B (en)
WO (1) WO2010124600A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102287549A (en) * 2011-07-20 2011-12-21 安徽理工大学 Combined switching valve
WO2018201136A1 (en) * 2017-04-28 2018-11-01 Expro Americas, Llc Proportional control valve system and method
CN111258339A (en) * 2019-11-25 2020-06-09 天津津航技术物理研究所 Follow-up control device based on stepping motor and photoelectric switch

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5577285B2 (en) * 2011-03-30 2014-08-20 アズビル株式会社 Positioner
CN102359641B (en) * 2011-10-29 2012-12-19 重庆川仪自动化股份有限公司 Position sensing system for electric actuating mechanism
CN103047467B (en) * 2012-12-13 2014-11-26 宁波恒富汽车部件发展有限公司 Intelligent water valve
CN104132180A (en) * 2014-07-07 2014-11-05 中原工学院 Transmission mechanism for measurement of position of main shaft of valve actuator
CN106090387B (en) * 2016-08-16 2018-07-13 东莞市科威纳自动化工业有限公司 A kind of intelligentized electric valve
CN107764179B (en) * 2017-11-20 2024-02-13 汉威科技集团股份有限公司 Low-power consumption valve rotation angle online monitoring device and online monitoring method thereof
CN110487914A (en) * 2018-05-15 2019-11-22 谢丽芳 A kind of signal generation apparatus
CN108468852A (en) * 2018-06-16 2018-08-31 无锡隆盛科技股份有限公司 A kind of intelligent butterfly valve of brushless motor driving
CN115875507B (en) * 2023-02-08 2023-05-09 泉州艾奇科技有限公司 Opening detection device for valve and pipeline conveying control device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2037092U (en) * 1988-09-19 1989-05-03 吴友农 High precision numerical control step performer
CN2082347U (en) * 1990-12-15 1991-08-07 王鸿君 Electric operating unit with general power device
US5062611A (en) * 1990-07-31 1991-11-05 Eaton Corporation Servo operated valve assembly
CN2806915Y (en) * 2005-06-09 2006-08-16 上海西派埃仪表成套有限公司 Precise electric V-type ball valve
CN200989448Y (en) * 2006-09-08 2007-12-12 高国民 Servo motor driving plunger valve type automatic controlling water quantity water valve
CN100361034C (en) * 2005-04-27 2008-01-09 杭州电子科技大学 Electric valve intelligent positioner and mounting and automatic regulation method
CN201225439Y (en) * 2008-06-10 2009-04-22 郑州轻工业学院 Program control electric high pressure regulation valve
CN201410664Y (en) * 2009-04-30 2010-02-24 浙江关西电机有限公司 Speed-reducing device
CN201410933Y (en) * 2009-04-30 2010-02-24 浙江关西电机有限公司 Automobile electric windshield wiper

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2301810Y (en) * 1997-06-24 1998-12-23 中国船舶工业总公司第七研究院第七一二研究所 Permanent-magnet brushless DC motor
CN2687725Y (en) * 2003-05-20 2005-03-23 上海工业自动化仪表研究所 Corner type intelligent electric actuating mechanism
CN201539623U (en) * 2009-04-30 2010-08-04 浙江关西电机有限公司 Servo electrically operated valve

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2037092U (en) * 1988-09-19 1989-05-03 吴友农 High precision numerical control step performer
US5062611A (en) * 1990-07-31 1991-11-05 Eaton Corporation Servo operated valve assembly
CN2082347U (en) * 1990-12-15 1991-08-07 王鸿君 Electric operating unit with general power device
CN100361034C (en) * 2005-04-27 2008-01-09 杭州电子科技大学 Electric valve intelligent positioner and mounting and automatic regulation method
CN2806915Y (en) * 2005-06-09 2006-08-16 上海西派埃仪表成套有限公司 Precise electric V-type ball valve
CN200989448Y (en) * 2006-09-08 2007-12-12 高国民 Servo motor driving plunger valve type automatic controlling water quantity water valve
CN201225439Y (en) * 2008-06-10 2009-04-22 郑州轻工业学院 Program control electric high pressure regulation valve
CN201410664Y (en) * 2009-04-30 2010-02-24 浙江关西电机有限公司 Speed-reducing device
CN201410933Y (en) * 2009-04-30 2010-02-24 浙江关西电机有限公司 Automobile electric windshield wiper

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102287549A (en) * 2011-07-20 2011-12-21 安徽理工大学 Combined switching valve
WO2018201136A1 (en) * 2017-04-28 2018-11-01 Expro Americas, Llc Proportional control valve system and method
US10753499B2 (en) 2017-04-28 2020-08-25 Expro Americas, Llc Proportional control valve system and method
EP3862604A1 (en) * 2017-04-28 2021-08-11 ADS Services, LLC Proportional control valve system and method
AU2018256911B2 (en) * 2017-04-28 2023-10-19 ADS Services, LLC Proportional control valve system and method
CN111258339A (en) * 2019-11-25 2020-06-09 天津津航技术物理研究所 Follow-up control device based on stepping motor and photoelectric switch

Also Published As

Publication number Publication date
CN101876381B (en) 2013-01-30
CN101876381A (en) 2010-11-03

Similar Documents

Publication Publication Date Title
WO2010124600A1 (en) Servo motor operated valve and control method thereof
WO2010124620A1 (en) Electric wiper for automobile and control method thereof
WO2010124615A1 (en) Speed reduction device and its control method
WO2010124611A1 (en) Control system for oil pumping system
WO2010124627A1 (en) Position detection device and signal processing device thereof
WO2010124598A1 (en) Servo power steering system and control method thereof
CN201539623U (en) Servo electrically operated valve
WO2010124595A1 (en) Multi-stage servo oil submersible motor
US8278914B2 (en) Rotation angle detector
CN111740672B (en) Permanent magnet synchronous motor angle detection method and system based on linear Hall sensor
CN103609005B (en) Motor assembly comprising a brushless DC motor with electronic control elements
WO2010124629A1 (en) Oil field control system
WO2010124626A1 (en) Electric sewing machine
CN109617464A (en) A kind of rotary transformer coding/decoding method and system based on pwm signal excitation
CN101877564B (en) Submersible servodrive system
EP4097832A1 (en) Motor having integrated actuator with absolute encoder and methods of use
WO2010124590A1 (en) Motor
CN107276481B (en) Vector control method, system and electric system based on rotary transformer
CN201478959U (en) Multisection servo submersible motor
CN112097804A (en) Eddy current induction type absolute value rotary encoder
JP2018148682A (en) Servo actuator
JP2007114090A (en) Resolver
WO2010124604A1 (en) Position detection device and signal processing device and method thereof
JP5538758B2 (en) Liquid-tight servomotor device incorporating a leakage flux detection type rotational position detector
WO2010124592A1 (en) Motor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10769289

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10769289

Country of ref document: EP

Kind code of ref document: A1