[go: up one dir, main page]

CN100388144C - An intelligent two-wire electric valve positioner and its control method - Google Patents

An intelligent two-wire electric valve positioner and its control method Download PDF

Info

Publication number
CN100388144C
CN100388144C CNB2005100162651A CN200510016265A CN100388144C CN 100388144 C CN100388144 C CN 100388144C CN B2005100162651 A CNB2005100162651 A CN B2005100162651A CN 200510016265 A CN200510016265 A CN 200510016265A CN 100388144 C CN100388144 C CN 100388144C
Authority
CN
China
Prior art keywords
control
unit
power supply
sampling
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005100162651A
Other languages
Chinese (zh)
Other versions
CN1655083A (en
Inventor
王化祥
王群增
林慧
肖素枝
逯大军
郝魁红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin University
Original Assignee
Tianjin University
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 Tianjin University filed Critical Tianjin University
Priority to CNB2005100162651A priority Critical patent/CN100388144C/en
Publication of CN1655083A publication Critical patent/CN1655083A/en
Application granted granted Critical
Publication of CN100388144C publication Critical patent/CN100388144C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Feedback Control In General (AREA)
  • Dc-Dc Converters (AREA)

Abstract

一种智能型二线制电气阀门定位器,包括控制电路单元、I/P电气转换单元和阀位检测反馈单元,控制电路单元包括电源转换电路和微处理器控制单元,I/P电气转换单元包括气路控制及放大部分,阀位检测反馈单元包括反馈电位器和阀位反馈杠杆;输入信号与阀位反馈信号一同进入微处理器控制单元进行比较运算,将两者的偏差输出一控制信号到I/P电气转换单元,控制输出气压及阀杆运动,阀杆行程同时反馈到控制电路单元,形成闭环控制,其中,电源转换电路将4~20mA输入电流信号转换成6V、3V和24V三组电压。本发明以微处理器为控制核心,将电控指令转换成气动定位增量对阀位的精确控制,加强并扩展了定位器的功能,整机采用单片机控制,实现全数字化和智能化。

Figure 200510016265

An intelligent two-wire electric valve positioner, including a control circuit unit, an I/P electrical conversion unit and a valve position detection feedback unit, the control circuit unit includes a power conversion circuit and a microprocessor control unit, and the I/P electrical conversion unit includes In the gas circuit control and amplification part, the valve position detection feedback unit includes a feedback potentiometer and a valve position feedback lever; the input signal and the valve position feedback signal enter the microprocessor control unit for comparison and operation, and output a control signal to the deviation between the two The I/P electrical conversion unit controls the output air pressure and the movement of the valve stem, and the stroke of the valve stem is fed back to the control circuit unit at the same time to form a closed-loop control. Among them, the power conversion circuit converts the 4~20mA input current signal into three groups of 6V, 3V and 24V Voltage. The invention takes the microprocessor as the control core, converts the electric control command into the precise control of the valve position by the pneumatic positioning increment, strengthens and expands the function of the positioner, and the whole machine is controlled by a single-chip microcomputer to realize full digitization and intelligence.

Figure 200510016265

Description

一种智能型二线制电气阀门定位器及其控制方法 An intelligent two-wire electric valve positioner and its control method

技术领域 technical field

本发明涉及电气调节阀定位器,特别是涉及一种智能型电气调节阀门定位器系统及其控制方法。The invention relates to an electric regulating valve positioner, in particular to an intelligent electric regulating valve positioner system and a control method thereof.

背景技术 Background technique

随着工业的进步,电气调节阀门的定位器从最初的以纯气动、机械力平衡为工作原理的定位器,发展到后来的以电磁转换为工作原理的电/气阀门定位器,直到今天的智能型和使用现场总线技术的定位器。其总的趋势是电气化、智能化操作和控制,并且必将与全数字化工业控制相适应。With the progress of industry, the positioner of electric control valve has developed from the original positioner based on pure pneumatic and mechanical force balance to the later electric/pneumatic valve positioner based on electromagnetic conversion, until today's intelligent valve positioner. type and positioners using fieldbus technology. Its general trend is electrification, intelligent operation and control, and it will be compatible with all-digital industrial control.

目前,我国使用的定位器主要是基于力平衡原理的机械式定位器,其采用喷嘴-挡板技术,这种定位器在使用过程中易磨损,安装调校时通常需反复调节一系列弹簧螺钉以达到力平衡,操作过程繁琐复杂,控制不够灵活,也不能方便地配合不同行程形式的阀门,且精度不能保证。At present, the positioners used in my country are mainly mechanical positioners based on the principle of force balance, which use nozzle-baffle technology. This kind of positioner is easy to wear during use, and it is usually necessary to repeatedly adjust a series of spring screws during installation and adjustment. In order to achieve force balance, the operation process is cumbersome and complicated, the control is not flexible enough, and it cannot be easily matched with valves of different stroke forms, and the accuracy cannot be guaranteed.

继气动阀门定位器之后,本领域也出现了电气阀门定位器,其输入采用0~10mA或4~20mA的直流电设定信号。这类定位器结构与上述的气动阀门定位器类似,不同之处仅在于波纹管换成了电磁铁,其输出为气压信号,能实现气动阀门定位器和电气转换器的双重作用。由于电气阀门定位器的输入只是一个电流信号,而实际电路中需要的是一组不同的电压,如MCU电源需要3.3V的电压,而控制压电陶瓷阀需要24V或更高的电压,因此必须经过一定的转换和处理。电气阀门定位器中的电源转换电路,其任务就是把输入的电流变换成3.3V和24V两组电源,供微控制器和其他器件使用。本领域现有技术中,电源转换电路的实现是先将输入电流转化为一个较低的电压,再通过振荡器产生振荡,最后通过整流、滤波及线性稳压得到所需电压値,但是,该方案的缺点是电路的关键部分(变压器)需自己绕制。而正是由于受到绕制变压器的工艺过程限制,使得其此类产品的精度难以保证,操作结果的一致性差、工作不稳定,且功耗较大,体积也很庞大。Following the pneumatic valve positioner, an electric valve positioner has also appeared in this field, and its input adopts a direct current setting signal of 0-10mA or 4-20mA. The structure of this type of positioner is similar to the above-mentioned pneumatic valve positioner, the only difference is that the bellows is replaced by an electromagnet, and its output is an air pressure signal, which can realize the dual functions of a pneumatic valve positioner and an electrical converter. Since the input of the electric valve positioner is only a current signal, what is required in the actual circuit is a set of different voltages. For example, the MCU power supply requires a voltage of 3.3V, while the control of the piezoelectric ceramic valve requires a voltage of 24V or higher, so it must be After a certain conversion and processing. The task of the power conversion circuit in the electric valve positioner is to convert the input current into two sets of 3.3V and 24V power supplies for use by microcontrollers and other devices. In the prior art in this field, the implementation of the power conversion circuit is to first convert the input current into a lower voltage, then generate oscillation through the oscillator, and finally obtain the required voltage value through rectification, filtering and linear voltage stabilization. However, this The disadvantage of the solution is that the key part of the circuit (transformer) needs to be wound by itself. It is precisely because of the limitation of the process of winding transformers that it is difficult to guarantee the accuracy of such products, the consistency of operation results is poor, the work is unstable, and the power consumption is large, and the volume is also very large.

发明内容 Contents of the invention

本发明正是为了解决上述现有技术存在的缺陷,而提出一种智能型二线制电气阀门定位器及其控制方法,将压电技术应用于定位器,采用高集成度电源设计方案,并且能够利用高集成微处理器实现智能型二线制电气阀门定位器气动直行程或角行程执行机构的控制。The present invention proposes an intelligent two-wire electric valve positioner and its control method just to solve the above-mentioned defects in the prior art, applies piezoelectric technology to the positioner, adopts a highly integrated power supply design scheme, and can Using a highly integrated microprocessor to realize the control of the intelligent two-wire electric valve positioner pneumatic linear stroke or quarter stroke actuator.

本发明提供一种智能型二线制电气阀门定位器,包括控制电路单元、I/P电气转换单元和阀位检测反馈单元,所述控制电路单元包括电源转换电路和微处理器控制单元,所述I/P电气转换单元包括由两个压电阀组构成的气路控制及放大部分,所述阀位检测反馈单元包括反馈电位器和阀位反馈杠杆;输入信号与阀位反馈信号一同进入所述智能电气阀门定位器控制电路的微处理器控制单元进行比较运算,根据两者的偏差输出一控制信号到I/P电气转换单元,控制I/P电气转换单元的输出气压及气动调节阀的阀杆运动,阀杆的行程同时反馈到控制电路单元,形成闭环控制,其特征在于,所述的电源转换电路是将4~20mA的输入电流信号转换成6V、3V和24V三组电压的电源转换电路。The invention provides an intelligent two-wire electric valve positioner, which includes a control circuit unit, an I/P electrical conversion unit and a valve position detection feedback unit, the control circuit unit includes a power conversion circuit and a microprocessor control unit, the The I/P electrical conversion unit includes a pneumatic circuit control and amplification part composed of two piezoelectric valve groups. The valve position detection feedback unit includes a feedback potentiometer and a valve position feedback lever; the input signal and the valve position feedback signal enter the The microprocessor control unit of the intelligent electric valve positioner control circuit is compared and calculated, and a control signal is output to the I/P electrical conversion unit according to the difference between the two, and the output air pressure of the I/P electrical conversion unit and the pneumatic control valve are controlled. The valve stem moves, and the stroke of the valve stem is fed back to the control circuit unit at the same time to form a closed-loop control. It is characterized in that the power conversion circuit is a power supply that converts the input current signal of 4-20mA into three sets of voltages of 6V, 3V and 24V conversion circuit.

本发明还提供了一种智能型二线制电气阀门定位器控制方法,在控制电路单元利用微处理器通过数据采集、按键中断及液晶显示操作,实现通过按键进行各模式之间的切换,执行相应的动作和控制策略,参数显示,其特征在于,该方法包括以下步骤:The present invention also provides a control method for an intelligent two-wire electric valve positioner. In the control circuit unit, the microprocessor is used for data collection, button interruption and liquid crystal display operation, so as to realize the switching between various modes through the button, and execute the corresponding The action and control strategy, parameter display, is characterized in that, the method comprises the following steps:

1)关闭系统看门狗时钟发生器,停止定时,并开启全局中断;1) Turn off the system watchdog clock generator, stop timing, and turn on the global interrupt;

2)端口初始化;2) port initialization;

3)调用液晶显示子程序,显示操作结果;3) Call the liquid crystal display subroutine to display the operation result;

4)进行A/D通道选择,时钟、定时时间设置,并开启A/D中断;4) Select the A/D channel, set the clock and timing time, and enable the A/D interrupt;

5)设置按键时钟、设置定时时间,开启按键中断;5) Set the button clock, set the timing time, and enable the button interrupt;

6)进入本发明的低功耗模式;6) Enter the low power consumption mode of the present invention;

7)判断当前是否到A/D中断定时时间;7) Judging whether it is the A/D interrupt timing time;

如A/D中断定时已到,则进入A/D中断子程序;If the A/D interrupt timing has arrived, enter the A/D interrupt subroutine;

执行A/D中断子程序;Execute the A/D interrupt subroutine;

中断返回,等待满足下一次定时时间;Return from the interrupt, waiting for the next timing to be met;

否则,判断当前时间是否已到按键中断定时;Otherwise, judge whether the current time has reached the button interrupt timing;

如此时按键中断定时已到,则进入按键中断子程序;If the button interrupt timing has arrived at this time, then enter the button interrupt subroutine;

执行按键中断子程序,中断返回,等待下一次定时时间到。Execute the key interrupt subroutine, return from the interrupt, and wait for the next timing to arrive.

与现有技术相比,本发明提出的基于运动电动势控制的异步电动机的调速方法,智能型电气阀门定位器以微处理器为核心,采用电平衡(数字平衡)原理代替传统的力平衡原理,通过将电控指令转换成气动定位增量来实现对阀位的精确控制,加强并扩展了定位器的功能。整机采用单片机控制,实现了全数字化、智能化,如流量特性修正,自动调零与调量程、报警、故障自诊断、现场显示等都可以由软件功能实现,这些特点是现有同类项目所不具备的,彻底改变了传统的依靠结构各异的零件加工和现场调整来适应现场要求的状况。Compared with the prior art, the speed regulation method of the asynchronous motor based on the motion electromotive force control proposed by the present invention, the intelligent electric valve positioner takes the microprocessor as the core, and adopts the principle of electric balance (digital balance) to replace the traditional force balance principle , by converting the electronic control command into pneumatic positioning increment to realize the precise control of the valve position, which strengthens and expands the function of the positioner. The whole machine is controlled by a single-chip microcomputer, which realizes full digitalization and intelligence, such as flow characteristic correction, automatic zero adjustment and range adjustment, alarm, fault self-diagnosis, on-site display, etc., can be realized by software functions. These features are unique to existing similar projects. What is not available has completely changed the traditional situation of relying on the processing of parts with different structures and on-site adjustments to adapt to on-site requirements.

下面将结合实施例及参照附图对该发明的技术方案进行详细说明。The technical solution of the invention will be described in detail below in conjunction with the embodiments and with reference to the accompanying drawings.

附图说明 Description of drawings

图1为本发明智能型二线制电气定位器的功能模块结构图;Fig. 1 is the functional module structural diagram of the intelligent two-wire electrical positioner of the present invention;

图2为本发明智能型二线制电气定位器控制方法的主流程图;Fig. 2 is the main flowchart of the control method of the intelligent two-wire electric positioner of the present invention;

图3为本发明智能型二线制电气定位器控制方法的A/D转换中断程序流程图;Fig. 3 is the flow chart of the A/D conversion interrupt program of the intelligent two-wire electric positioner control method of the present invention;

图4为本发明智能型二线制电气定位器控制方法的键盘中断处理程序流程图。Fig. 4 is a flow chart of the keyboard interrupt processing program of the intelligent two-wire electrical positioner control method of the present invention.

图5为本发明智能型二线制电气定位器控制方法的液晶显示处理程序流程图;Fig. 5 is the flow chart of the liquid crystal display processing program of the intelligent two-wire electric positioner control method of the present invention;

图6为本发明的智能电-气阀门定位器控制电路中的电源变换电路图;Fig. 6 is the power conversion circuit diagram in the intelligent electric-pneumatic valve positioner control circuit of the present invention;

图7为本发明的智能型二线制电气定位器中的电源变换电路的高端电流检测电路图;Fig. 7 is the high-end current detection circuit diagram of the power conversion circuit in the intelligent two-wire electric positioner of the present invention;

图8为本发明的智能型二线制电气定位器中的电源变换电路的开关电容式电压倒相器电路;Fig. 8 is the switched capacitor voltage inverter circuit of the power conversion circuit in the intelligent two-wire electrical positioner of the present invention;

图9为本发明的智能型二线制电气定位器中的电源变换电路的电感型开关模式DC-DC变换器电路图;Fig. 9 is the circuit diagram of the inductive switching mode DC-DC converter of the power conversion circuit in the intelligent two-wire electrical positioner of the present invention;

图10为本发明的智能型二线制电气定位器中的电源变换电路的过电压保护电路图;Fig. 10 is an overvoltage protection circuit diagram of the power conversion circuit in the intelligent two-wire electrical positioner of the present invention;

图11为本发明的单片机控制单元硬件方框图;Fig. 11 is a hardware block diagram of the single-chip microcomputer control unit of the present invention;

图12为本发明的液晶模块所采用的基于I2C总线的接口应用方框图;12 is a block diagram of an interface application based on the I 2 C bus used by the liquid crystal module of the present invention;

图13为本发明的智能型二线制电气定位器的I/P电器转换单元的控制电路图。Fig. 13 is a control circuit diagram of the I/P electric appliance conversion unit of the intelligent two-wire electric positioner of the present invention.

具体实施方式 Detailed ways

通常情况下,对于二线制定位器,其输入电流信号范围为4~20mA,该信号作为定位信号,同时为定位器提供所需要的能源。系统的总电流消耗必须小于回路的最小电流要求(即保证在最小电流4mA的条件下电路仍然能够正常工作)。为了留有一定的裕量,同时为了兼容基于HART协议的智能变送器,则设计整个电路的最大消耗电流的上限为3.5mA。正是由于两线制系统对功耗的苛刻要求,因此控制电路的设计与优化是本发明技术方案实现的关键,本发明的总体设计即围绕如何实现低功耗展开。Normally, for a two-wire positioner, the input current signal range is 4-20mA, and this signal is used as a positioning signal, and at the same time provides the required energy for the positioner. The total current consumption of the system must be less than the minimum current requirement of the loop (that is, to ensure that the circuit can still work normally under the condition of a minimum current of 4mA). In order to leave a certain margin and to be compatible with the smart transmitter based on the HART protocol, the upper limit of the maximum consumption current of the entire circuit is designed to be 3.5mA. It is precisely because the two-wire system has strict requirements on power consumption, so the design and optimization of the control circuit is the key to the realization of the technical solution of the present invention, and the overall design of the present invention revolves around how to achieve low power consumption.

本发明所提出的智能型二线制电气阀门定位器,由智能电-气阀门定位器控制电路单元101、I/P电气(电流/气压)转换单元和阀位检测反馈单元组成,其系统结构如图1所示。来自调节器的输入信号与阀位反馈信号一同进入微处理器,进行比较运算,根据两者的偏差输出一控制信号到I/P转换单元,控制I/P单元的输出气压及气动调节阀的阀杆运动,阀杆的行程同时反馈到控制单元,形成闭环控制。The intelligent two-wire electric valve positioner proposed by the present invention is composed of an intelligent electric-pneumatic valve positioner control circuit unit 101, an I/P electric (current/air pressure) conversion unit and a valve position detection feedback unit, and its system structure is as follows Figure 1 shows. The input signal from the regulator and the valve position feedback signal enter the microprocessor together for comparison and calculation, and output a control signal to the I/P conversion unit according to the deviation between the two to control the output air pressure of the I/P unit and the pneumatic control valve. The valve stem moves, and the stroke of the valve stem is fed back to the control unit at the same time, forming a closed-loop control.

其中,控制电路单元为PCB印刷电路板组件,主要包括:Among them, the control circuit unit is a PCB printed circuit board assembly, mainly including:

1、DC/DC电源转换电路,用来将4~20mA的输入电流信号转换成6V、3V和24V三组电压。具体来说,三组电压分别是:a.用线性电源产生6V电源;b.用电荷泵产生3V电源;c.用电感型开关模式DC-DC变换器产生24V电源;该电源转换电路中还包括取样电路。1. The DC/DC power conversion circuit is used to convert the 4~20mA input current signal into three sets of voltages: 6V, 3V and 24V. Specifically, the three groups of voltages are: a. 6V power is generated by a linear power supply; b. 3V power is generated by a charge pump; c. 24V power is generated by an inductive switching mode DC-DC converter; A sampling circuit is also included.

2、控制单元2. Control unit

采用超低功耗单片机应用系统,例如TI公司的MSP430单片机,主要包括:Adopt ultra-low power consumption single-chip application system, such as TI's MSP430 single-chip microcomputer, mainly including:

a.A/D转换模块;b.人机接口模块;c.脉冲驱动模块;d.系统软件设计。a. A/D conversion module; b. man-machine interface module; c. pulse drive module; d. system software design.

上述控制电路单元为PCB印刷电路板组件,其在安装架留有4个连接端子,与印刷板下面的电气转换I/P单元相连接,同时留有螺钉接线端子盒与阀位反馈系统连接;阀位检测反馈单位通过刚性连接的连杆,与调节阀阀杆进行无间隙配合。The above-mentioned control circuit unit is a PCB printed circuit board assembly, which has 4 connection terminals on the mounting frame to connect with the electrical conversion I/P unit under the printed board, and a screw terminal box to connect with the valve position feedback system; The valve position detection feedback unit cooperates with the valve stem of the regulating valve through a rigidly connected connecting rod without clearance.

I/P电气转换单元由两个压电阀组构成的气路控制及放大部分,气动阀组安装在壳体内部,进气和输出压力的气动接口位于定位器的一侧,与PCB印刷电路板相连接。The I/P electrical conversion unit is composed of two piezoelectric valve groups for air circuit control and amplification. The pneumatic valve group is installed inside the shell, and the pneumatic interface for the intake and output pressure is located on one side of the positioner, and is connected to the PCB printed circuit. boards are connected.

阀位检测反馈单元包括反馈电位器和阀位反馈杠杆,其通过刚性连接的连杆,与调节阀阀杆进行无间隙配合,从而把调节阀的行程(位移或转角)转换为反馈电位器的转角,进而可以转化为电信号。参数设定采用电位器,用于反馈的电位器不是常规的电位器,而是一种装有球轴承和耐用的电阻薄片的特殊的电位器。电阻薄片用特殊的耐磨损导电塑料材质制成。因此电位器可用于各种场合,连续件也不会损坏。The valve position detection feedback unit includes a feedback potentiometer and a valve position feedback lever, which cooperates with the valve stem of the regulating valve through a rigidly connected connecting rod without clearance, thereby converting the stroke (displacement or rotation angle) of the regulating valve into the feedback potentiometer. Corner, which in turn can be converted into an electrical signal. The parameter setting adopts a potentiometer, and the potentiometer used for feedback is not a conventional potentiometer, but a special potentiometer equipped with ball bearings and durable resistor sheets. The resistor sheets are made of special wear-resistant conductive plastic material. Therefore, the potentiometer can be used in various occasions, and the continuous parts will not be damaged.

控制阀A和B用来控制压缩空气进出气动调节阀,阀A是进气阀,阀B是排气阀,这两个阀门都只有“开”和“关”两种状态。这种控制思想实际上是用小阀来控制压缩空气流量,再用压缩空气推动大的阀门,控制被控介质的流量,是一种分级控制的设计方案。Control valves A and B are used to control compressed air in and out of the pneumatic regulating valve. Valve A is the intake valve, and valve B is the exhaust valve. Both valves have only two states: "open" and "closed". This control idea is actually to use a small valve to control the flow of compressed air, and then use compressed air to drive a large valve to control the flow of the controlled medium. It is a design scheme of hierarchical control.

具体来讲,在任一时刻,阀A、B之中只能有一个开通,另一个关闭。若当A开通时,由于压缩空气压力大于膜头内压力,因此压缩空气进入调节阀,阀杆向下移动;反之若当B开通时,调节阀气室内的压缩空气经B排人大气,阀杆在弹簧的作用下向上移动,在智能阀门定位器中,为了能与控制电路接口,阀A和B的开通与关断必须能够用电量来控制。实际中使用的阀A、B有电磁阀、压电陶瓷阀等多种类型。这里使用的是一种压电陶瓷控制阀,其基本原理是依据压电材料的压电效应。用一小片特殊制作的压电陶瓷片,在它两侧加上24~30V电压·压电陶瓷片就会发生弯曲,总的形变量可达几十微米。从而可以堵住/放开进气口或排气口,达到控制气流的目的。由于压电陶瓷的阻抗很高,所以这种控制阀的优点是功耗极低,易于实现二线制仪表和防爆。此外,它动作速度快、质量轻,因而在震动较大的环境中仍能可靠工作。Specifically, at any moment, only one of the valves A and B can be opened, and the other can be closed. If A is opened, because the compressed air pressure is greater than the internal pressure of the membrane head, the compressed air enters the regulating valve, and the valve stem moves downward; otherwise, when B is opened, the compressed air in the air chamber of the regulating valve is discharged into the atmosphere through B, and the valve The rod moves upward under the action of the spring. In the smart valve positioner, in order to interface with the control circuit, the opening and closing of valves A and B must be controlled by electricity. There are various types of valves A and B used in practice, such as solenoid valves and piezoelectric ceramic valves. What is used here is a piezoelectric ceramic control valve, the basic principle of which is based on the piezoelectric effect of piezoelectric materials. Use a small piece of specially made piezoelectric ceramic sheet, and apply 24-30V voltage on both sides of it. The piezoelectric ceramic sheet will bend, and the total deformation can reach tens of microns. Thereby, the air inlet or exhaust port can be blocked/released to achieve the purpose of controlling the air flow. Due to the high impedance of piezoelectric ceramics, the advantages of this control valve are extremely low power consumption, easy to implement two-wire instrumentation and explosion-proof. In addition, it is fast and lightweight, so it can still work reliably in environments with high vibrations.

如图2所示,为本发明所提出的智能型二线制电气阀门定位器控制方法的主程序流程,主要由数据采集子程序、按键中断子程序、液晶显示子程序等构成。实现对本发明提出的定位器系统的控制及结果显示。在主循环中,通过按键进行各模式之间的切换,执行相应的动作和控制策略,显示输入的参数、阀门开度等参数。该主程序包括以下步骤:首先,关闭系统看门狗时钟发生器,停止定时,并开启全局中断,步骤201;初始化端口,步骤202;调用液晶显示子程序,显示操作结果,步骤203;进行A/D通道选择,时钟、定时时间设置,并开启A/D中断,步骤204;设置按键时钟、设置定时时间,开启按键中断,步骤205;进入本发明的低功耗模式,步骤206;判断当前是否到A/D中断定时时间,步骤207;如A/D中断定时已到,则进入A/D中断子程序,步骤208;执行完A/D中断子程序后,中断返回,等待满足下一次定时时间;否则,当前A/D中断定时未到,则继续判断当前时间是否已到按键中断定时,步骤209;如此时按键中断定时已到,则进入按键中断子程序,步骤210;执行完按键中断子程序后,中断返回,等待满足下一次定时时间。As shown in Figure 2, it is the main program flow of the intelligent two-wire electric valve positioner control method proposed by the present invention, mainly composed of data acquisition subroutine, key interruption subroutine, liquid crystal display subroutine and so on. Realize the control and result display of the locator system proposed by the present invention. In the main loop, switch between modes by pressing buttons, execute corresponding actions and control strategies, and display input parameters, valve opening and other parameters. This main program comprises the following steps: at first, close system watchdog clock generator, stop timing, and open global interruption, step 201; Initialize port, step 202; Call liquid crystal display subroutine, display operation result, step 203; Carry out A /D channel selection, clock, timing time setting, and open A/D interruption, step 204; Set key clock, set timing time, open key interruption, step 205; Enter low power consumption mode of the present invention, step 206; Judge current Whether to the A/D interrupt timing time, step 207; as the A/D interrupt timing has arrived, then enter the A/D interrupt subroutine, step 208; after executing the A/D interrupt subroutine, the interrupt returns, waiting to meet the next time Timing time; otherwise, the current A/D interrupt timing has not arrived, then continue to judge whether the current time has reached the button interruption timing, step 209; if the button interruption timing has arrived at this time, then enter the button interruption subroutine, step 210; Execute the button After the subroutine is interrupted, the interrupt returns and waits for the next timing to be met.

在上述主程序中可以实现的是:定位器在初始化时,可以根据输入参数,自动确定执行器的零点、最大行程、作用方向和定位速度。工作时,可根据阀门或执行器的机械性能变化,自动修改控制参数、补偿阀门老化、磨损等误差。实现了全数字化、智能化,如流量特性修正,自动调零与调量程、报警、故障自诊断、现场显示等都可以由软件功能实现,这些特点是现有同类项目所不具备的,彻底改变了传统的依靠结构各异的零件加工和现场调整来适应现场要求的状况。What can be realized in the above main program is: when the positioner is initialized, it can automatically determine the zero point, maximum stroke, action direction and positioning speed of the actuator according to the input parameters. When working, it can automatically modify the control parameters and compensate for errors such as valve aging and wear according to the mechanical performance changes of the valve or actuator. It realizes full digitalization and intelligence, such as flow characteristic correction, automatic zero adjustment and range adjustment, alarm, fault self-diagnosis, on-site display, etc., can be realized by software functions. These features are not available in existing similar projects, completely changing The traditional situation of relying on the processing of parts with different structures and on-site adjustments to adapt to on-site requirements has been eliminated.

如图3所示,为本发明所提出的智能型二线制电气阀门定位器控制方法的A/D中断处理程序30的流程,它是在满足条件情况下被主程序调用的子程序,该子程序包括以下步骤:首先,进行输入信号采样,步骤301;判断当前是否为采用P6.4采样通道,步骤302;如是,则保存当前采样的A/D转换结果,步骤303;判断已完成5次采样,步骤304;如是,则进行数字滤波处理,步骤305;对数字滤波输出结果进行线性化处理,步骤306;输出信号结果设置位AD1,步骤307;如否,则进一步判断当前采用的是否P6.5采样通道,步骤308;若未满足5次采样,则返回步骤301,继续完成信号采样;As shown in Figure 3, it is the flow process of the A/D interrupt processing program 30 of the intelligent two-wire system electric valve positioner control method that the present invention proposes, and it is the subroutine that is called by the main program under conditional conditions, and this subroutine The program includes the following steps: first, sampling the input signal, step 301; judging whether the P6.4 sampling channel is currently used, step 302; if so, saving the A/D conversion result of the current sampling, step 303; judging that it has been completed 5 times Sampling, step 304; If so, then carry out digital filter processing, step 305; Carry out linearization process to digital filter output result, step 306; Output signal result setting bit AD1, step 307; If not, then further judge whether the current adopting is P6 .5 sampling channels, step 308; if 5 samplings are not satisfied, then return to step 301, and continue to complete signal sampling;

如果当前采样通道不是P6.4,则继续判断当前采样通道是否为P6.5,步骤308;如果是,则保存当前采样结果的A/D转换结果,步骤309;判断是否完成5次采样,步骤310;如是,则进行数字滤波,步骤311;及线性化处理,步骤312;并将此输出信号结果设置为AD2;同理,如果采样次数未满足5次,则返回步骤301,继续完成采样。If the current sampling channel is not P6.4, then continue to judge whether the current sampling channel is P6.5, step 308; if yes, then save the A/D conversion result of the current sampling result, step 309; judge whether to complete 5 samplings, step 308 310; if yes, perform digital filtering, step 311; and linearization processing, step 312; and set the output signal result as AD2; similarly, if the number of sampling times does not meet 5 times, return to step 301 and continue to complete sampling.

如图4所示,为本发明所提出的智能型二线制电气阀门定位器控制方法的按键中断处理程序,这也是一个在满足条件情况下被主程序流程中所调用的子程序,其包括以下步骤:进入按键中断处理程序40,判断当前是否接收到按键按下操作;步骤401;通过按键识别函数,获得当前按下的按键的键值,步骤402;判断是否为模式按键按下,步骤403;如否,则返回子程序开始,重新等待新的按键动作的接收;如是,则进一步判断当前按键按下的时间是否超过5秒,步骤404;如是,则设定为组态模式,步骤405;根据用户对按键的持续操作时间,分别选择不同的工作模式:即组态模式、手动模式和自动模式;步骤405至步骤409。按键的功能取决于可选择的工作模式:As shown in Figure 4, it is the button interrupt processing program of the intelligent two-wire system electric valve positioner control method proposed by the present invention, which is also a subroutine called by the main program flow when the conditions are met, and it includes the following Step: enter the button interrupt processing program 40, judge whether to receive the button press operation at present; Step 401; Obtain the key value of the button currently pressed by the button recognition function, step 402; Judge whether the mode button is pressed, step 403 If not, then return to the beginning of the subroutine, and wait for the reception of the new button action again; if so, then further judge whether the time that the current button is pressed exceeds 5 seconds, step 404; if so, then be set to configuration mode, step 405 ; According to the user's continuous operation time of the key, select different working modes: configuration mode, manual mode and automatic mode; step 405 to step 409. The function of the keys depends on the selectable operating mode:

1、自动模式,经初始化(以及组态)的定位器自动地按设定值改变并且不断地使系统的偏差尽可能趋于最小值。这时+1键和-1键不起作用;1. Automatic mode, the initialized (and configured) positioner automatically changes according to the set value and continuously makes the deviation of the system tend to the minimum value as much as possible. At this time, the +1 key and -1 key do not work;

2、手动模式按工作模式键,使定位器从自动模式切换到手动模式。通过按+1键或-1键达到分步调整。为了达到快速增升,先按+1键,然后再按-1键;同理,为达到快速下降,先按-1键,再按+1键。一旦释放+1/-1键,执行机构就停在其现时的位置。内设定值被调整至现时的操作变量。由于手动模式内控制是闭环的,因此即使处于定位器气源泄漏事故时,仍能保持当前阀位;2. Manual mode Press the working mode key to switch the positioner from automatic mode to manual mode. Step adjustment is achieved by pressing the +1 key or -1 key. In order to achieve a rapid increase, press the +1 key first, and then press the -1 key; similarly, to achieve a rapid decline, first press the -1 key, and then press the +1 key. Once the +1/-1 key is released, the actuator stops at its current position. The internal setpoint is adjusted to the current manipulated variable. Since the control in the manual mode is closed-loop, the current valve position can still be maintained even in the event of an air source leakage accident of the positioner;

3、组态模式用工作模式按键可从自动模式或手动模式转换为组态模式,为此,必须按住模式转换键至少5秒钟,直至完成转换。3. The working mode button for configuration mode can be converted from automatic mode or manual mode to configuration mode. For this purpose, the mode conversion button must be pressed for at least 5 seconds until the conversion is completed.

其中,组态参数主要包括:执行结构的类型(角行程或直行程)、反馈角度(30°和90°)、行程值、自动初始化、手动初始化、输入电流范围、正反作用、阀门禁闭功能。Among them, the configuration parameters mainly include: the type of execution structure (angular stroke or linear stroke), feedback angle (30° and 90°), stroke value, automatic initialization, manual initialization, input current range, positive and negative effects, valve confinement function .

在组态模式下能改变定位器的参数值,使用模式键可选择下一个参数,如果在按模式键(<5s)的同时按住-1键,则以相反次序选择参数。利用+1按键或-1按键可改变参数值。In the configuration mode, the parameter value of the positioner can be changed, and the next parameter can be selected by using the mode key. If the -1 key is pressed while pressing the mode key (<5s), the parameters can be selected in reverse order. Use the +1 button or -1 button to change the parameter value.

如图5所示,为本发明的液晶显示子程序流程,为主程序所调用,其包括以下步骤:写初始化命令定义模式,步骤501;定义内部RC振荡方式,步骤502;启动振荡器,步骤503;打开显示器,步骤504;连续写入数据时序,步骤505;显示阀位程序,步骤506;显示组态模式程序,步骤507。As shown in Figure 5, it is the liquid crystal display subroutine flow process of the present invention, which is called by the main program, and it includes the following steps: write the initialization command definition mode, step 501; define the internal RC oscillation mode, step 502; start the oscillator, step 503; turn on the display, step 504; continuously write data timing, step 505; display the valve position program, step 506; display the configuration mode program, step 507.

本发明采用了液晶模块LCM046,它具有较小的尺寸,且功耗很低,功能强大,所以,系统设计时,没有利用MSP430单片机内置的液晶驱动模块,而采用基于I2C总线的连接方式,The present invention adopts the liquid crystal module LCM046, which has a small size, low power consumption, and powerful functions. Therefore, when the system is designed, the built-in liquid crystal drive module of the MSP430 microcontroller is not used, but the connection method based on the I 2 C bus is adopted. ,

下面通过具体实施例,进一步具体说明本发明的智能型二线制电气阀门定位器的系统的实现方案。The implementation scheme of the intelligent two-wire electric valve positioner system of the present invention will be further specifically described below through specific embodiments.

(一)定位器控制电路单元(1) Positioner control circuit unit

目前常用的DC-DC变换器主要有线性稳压器、电感型开关模式DC-DC变换器和电容电荷泵DC-DC变换器。三种电源转换器中,线性稳压器简单、无纹波和电磁干扰发射(EMI),但效率低且输出电压只能低于输入电压;开关电源效率高、最为灵活,能够提供升压、降压以及极性相反的输出,是电压比Vout/Vin高的理想选择,保证低纹波、EMI和噪声的关键在于电路设计;电荷泵同样可提供升压、降压、极性相反的输出,效率较高,外接电路简单,低EMI和低纹波,但其输出电流有限。Currently commonly used DC-DC converters mainly include linear regulators, inductive switch mode DC-DC converters and capacitor charge pump DC-DC converters. Among the three power converters, the linear regulator is simple, has no ripple and electromagnetic interference (EMI), but has low efficiency and the output voltage can only be lower than the input voltage; the switching power supply has high efficiency and is the most flexible, and can provide boost, Buck and reverse polarity output are ideal for voltages higher than V out /V in . The key to ensuring low ripple, EMI and noise lies in circuit design; charge pumps can also provide boost, buck, reverse polarity The output has high efficiency, simple external circuit, low EMI and low ripple, but its output current is limited.

由于电源模块需将输入电流转换成多组电源,所以综合三者的特点,采用三者方式相结合的电源设计方案,用于产生不同幅度的电源电压。本发明提出了新型的二线制系统的电源,其电源转换电路图如图6所示。在该电源转换电路中,包括极性保护和电源前端抗干扰部分、用线性电源产生6V电源、高端电流检测电路、用开关电容电压倒相器产生3V电源、电感型开关模式DC-DC变换器实现24V电源、2.5V电压基准;过电压保护单元。Since the power supply module needs to convert the input current into multiple sets of power supplies, the characteristics of the three are integrated, and the power supply design scheme combining the three methods is adopted to generate power supply voltages of different amplitudes. The present invention proposes a novel two-wire system power supply, and its power conversion circuit diagram is shown in FIG. 6 . In this power conversion circuit, it includes polarity protection and front-end anti-interference part of the power supply, 6V power supply generated by linear power supply, high-side current detection circuit, 3V power supply generated by switched capacitor voltage inverter, inductive switch mode DC-DC converter Realize 24V power supply, 2.5V voltage reference; overvoltage protection unit.

1.极性保护和电源前端抗干扰部分;1. Polarity protection and power front-end anti-interference part;

方块1:JP1为输入端子,3为4~20mA的正端,1和2端先短接的输出接至电流环的输出端。3与U0(肖特基二极管)相连接,为极性保护作用。U0与电感L11,JP1的1端与电感L12相连,然后它们再分别与U1相连,U1为共模扼流圈,这种连接方式是为了消除共模干扰以及电源前端的高频串扰。R1,C1相串联与U1相接,防止在某一频段共振现象的出现。电路输入为4~20mA电流环,由于操作失误或者意外情况会将其极性接错,将损坏开关稳压电源。极性保护的目的,就是仅当以正确的极性连接,电源才能工作。利用单向导通的器件可以实现,这里采用低压差的肖特基二极管作为电路的极性保护。Box 1: JP1 is the input terminal, 3 is the positive terminal of 4 ~ 20mA, and the output of terminals 1 and 2 is short-circuited to the output terminal of the current loop. 3 is connected with U0 (Schottky diode) for polarity protection. U0 is connected to inductor L11, JP1 terminal 1 is connected to inductor L12, and then they are respectively connected to U1. U1 is a common mode choke coil. This connection method is to eliminate common mode interference and high frequency crosstalk at the front end of the power supply. R1 and C1 are connected in series with U1 to prevent resonance in a certain frequency band. The circuit input is a 4-20mA current loop, and its polarity will be wrongly connected due to operation errors or accidents, which will damage the switching regulated power supply. The purpose of polarity protection is that the power supply will only work when connected with the correct polarity. It can be realized by using a unidirectional conduction device, and a low-dropout Schottky diode is used here as the polarity protection of the circuit.

2、用线性电源产生6V电源2. Generate a 6V power supply with a linear power supply

取样电阻Rsense接在方块1的后段,另一端与U2相连,U2为6V的齐纳二极管,其一端与取样电阻Rsense相连,另一端接入地平面,C2、C3分别为钽电解电容和小陶瓷电容,C2、C3与U2并联,为了消除低频和高频干扰。The sampling resistor Rsense is connected to the rear section of block 1, and the other end is connected to U2. U2 is a 6V Zener diode, one end of which is connected to the sampling resistor Rsense, and the other end is connected to the ground plane. Ceramic capacitors, C2, C3 and U2 are connected in parallel, in order to eliminate low frequency and high frequency interference.

U2的正端即为电源电路的6V电源提供端,由方块2可看出,电路简单可靠。The positive terminal of U2 is the 6V power supply terminal of the power supply circuit. It can be seen from square 2 that the circuit is simple and reliable.

由于电源电路是串联在4~20mA电流环内,所以采用并联稳压电路较为理想。齐纳二极管、隐埋齐纳二极管和能隙电压基准三种均可以设计成两端并联式电路或者三端串联式电路。齐纳二极管为工作在反向偏置的二极管,需要一个串联的限流电阻。在要求高精度和低功耗的情况下,齐纳二极管通常是不适合的,但齐纳二极管常用于电压箝位电路,其箝位电压范围很宽,从2V至200V,功率可以从几毫瓦到几瓦,且其吸入电流的能力很强,价格便宜。所以,利用齐纳二极管能有效箝位电压、吸收电流的特性,产生6V电源并同时吸收多余的电流。同时采用低压差的肖特基二极管作为电路的极性保护(几十mA电流时,正向压降<0.3V)。Since the power supply circuit is connected in series in the 4-20mA current loop, it is ideal to use a parallel voltage regulator circuit. Zener diodes, buried Zener diodes, and bandgap voltage references can all be designed as two-terminal parallel circuits or three-terminal series circuits. Zener diodes are reverse biased diodes that require a series current limiting resistor. In the case where high precision and low power consumption are required, Zener diodes are usually not suitable, but Zener diodes are often used in voltage clamping circuits, and their clamping voltage range is very wide, from 2V to 200V, and the power can be from Watts to several watts, and its ability to sink current is very strong, and the price is cheap. Therefore, using the characteristics of Zener diodes that can effectively clamp voltage and absorb current, generate 6V power supply and absorb excess current at the same time. At the same time, a low-dropout Schottky diode is used as the polarity protection of the circuit (when the current is tens of mA, the forward voltage drop is <0.3V).

3、取样电路的设计3. Design of sampling circuit

阀门定位器要求单片机能够接收来自调节器的控制阀门开度的电流信号(4~20mA),为此,在电源电路的前端串联一取样电阻,取样电阻两端通过差动放大器放大,送入微处理器进行采样。为了减少温漂对系统测量精度的影响,电流检测电阻选用热稳定性好、漂移小的康铜丝制作。The valve positioner requires the single-chip microcomputer to receive the current signal (4-20mA) from the regulator to control the valve opening. For this reason, a sampling resistor is connected in series at the front end of the power circuit, and the two ends of the sampling resistor are amplified by a differential amplifier and sent to the micro-processing to sample. In order to reduce the impact of temperature drift on the measurement accuracy of the system, the current detection resistor is made of constantan wire with good thermal stability and small drift.

基于功耗的要求,需选用单电源运放,将减少信号范围。因此,取样电阻的位置选择尤为重要。作者根据取样电阻位置的不同,设计出两种不同的取样方式。取样方式一:高端电流检测Based on the requirements of power consumption, a single-supply operational amplifier needs to be selected, which will reduce the signal range. Therefore, the position selection of the sampling resistor is particularly important. According to the different positions of the sampling resistors, the author designs two different sampling methods. Sampling method 1: High-end current detection

高端电流检测放大器的输入共模范围独立于工作电压,这样可以保证即使在低工作电压的情况下,电流检测回路仍然有效。其电路连接情况如图7所示。该电路也就是取自图6中方块3的局部放大图。其中,U3为高端电流检测放大器,1端为电源端,直接与方块2的6V端子相接,C4为旁路电容,分别与1端、3端相连。8端、6端分别接取样电阻Rsense的两端。4端为输出电压端,R2、C5组成滤波电路与4端相连,然后将滤波电压值送入微处理器的AD1。The input common-mode range of the high-side current-sense amplifier is independent of the operating voltage, which ensures that the current-sense loop remains active even at low operating voltages. Its circuit connection is shown in Figure 7. This circuit is taken from the partial enlarged view of block 3 in FIG. 6 . Among them, U3 is a high-end current detection amplifier, terminal 1 is a power supply terminal, which is directly connected to the 6V terminal of block 2, and C4 is a bypass capacitor, which is connected to terminal 1 and terminal 3 respectively. Terminals 8 and 6 are respectively connected to both ends of the sampling resistor Rsense. Terminal 4 is the output voltage terminal, and R2 and C5 form a filter circuit connected to terminal 4, and then the filtered voltage value is sent to AD1 of the microprocessor.

本发明选用Maxim公司的max4372,其为一种带缓冲输出的高边电流检测放大器。max4372具有以下特点:宽电源电压范围:2.7V~28V;电路结构允许0V至28V输入;独立的电源电压;当输入的共模电压接近地电压时,接地检测输入端保持良好的线性度和阻止输出相位倒转。此外,放大器工作时消耗电流仅为30μA,达到0.18%满标度精确率,1.5Ω的输出阻抗。省去了增益設置的电压输出。The present invention selects max4372 of Maxim Company, which is a high-side current detection amplifier with a buffer output. max4372 has the following features: wide power supply voltage range: 2.7V ~ 28V; circuit structure allows 0V to 28V input; independent power supply voltage; when the input common-mode voltage is close to the ground voltage, the ground detection input maintains good linearity and prevents The output phase is reversed. In addition, the current consumption of the amplifier is only 30μA, and the accuracy of the full scale is 0.18%, and the output impedance is 1.5Ω. Voltage output for gain setting is omitted.

Maxim的高端电流检测放大器采用一个连接于电源正端和待测电路电源入口的电阻来检测电流,高端电流检测避免了给地平面引入外来电阻,改善了电路的整体性能并简化了布线。Maxim's high-side current-sense amplifiers use a resistor connected between the positive terminal of the power supply and the power inlet of the circuit under test to sense current. The high-side current sense avoids the introduction of external resistance to the ground plane, improves the overall performance of the circuit and simplifies the layout.

4、用开关电容电压倒相器产生3V电源4. Use switched capacitor voltage inverter to generate 3V power supply

电荷泵,也称为开关电容电压变换器,电荷泵的损耗主要来自电容器的ESR和内部开关晶体管的导通电阻(RDSON),而这两者都可以做得很低。采用电荷泵最大的好处是消除由电感或变压器引起的磁场干扰,泵输入噪声可以通过滤波电容消除,而且电路设计简单有效,只需外接陶瓷电容。Charge pump, also known as switched capacitor voltage converter, the loss of the charge pump mainly comes from the ESR of the capacitor and the on-resistance (RDSON) of the internal switching transistor, both of which can be made very low. The biggest advantage of using a charge pump is to eliminate the magnetic field interference caused by the inductor or transformer. The input noise of the pump can be eliminated by the filter capacitor, and the circuit design is simple and effective, only external ceramic capacitors are needed.

设计时我们利用“电压为相对量”这一思想及开关电容的倒相性特点,巧妙的设计出稳定的3V电源,其电路连接关系如图8所示。即对应图6中的方块4的局部放大电路。将输出端1端接地,地端4端为输出端,输入端2端为6V电压端,这样,地端输出实际是输入端的0.5倍,即3V电源。When designing, we use the idea of "voltage is a relative quantity" and the phase inversion characteristics of switched capacitors to cleverly design a stable 3V power supply. The circuit connection relationship is shown in Figure 8. That is, it corresponds to the local amplification circuit of block 4 in FIG. 6 . Ground the output terminal 1, the ground terminal 4 is the output terminal, and the input terminal 2 is the 6V voltage terminal. In this way, the output of the ground terminal is actually 0.5 times that of the input terminal, that is, the 3V power supply.

因为max1720具有高效率、高输出电流的特点,所以此部分电路功耗极其低且由于开关电源降压变换可提升输出电流,电源带负载能力大大增强。Because max1720 has the characteristics of high efficiency and high output current, the power consumption of this part of the circuit is extremely low, and because the switching power supply step-down conversion can increase the output current, the load capacity of the power supply is greatly enhanced.

我们选用的是Maxim公司的开关电容式电压倒相器max1720,,其采用SOT23-6封装,可对1.5V~5.5V范围内的输入电压进行倒相或倍压,电压转换效率为99.9%,50μA的静态电流(使用关断引脚时更低),输出电流可达25mA。We chose Maxim's switched capacitor voltage inverter max1720, which is packaged in SOT23-6, which can invert or double the input voltage within the range of 1.5V to 5.5V, and the voltage conversion efficiency is 99.9%. Quiescent current of 50μA (lower when using the shutdown pin), the output current can reach 25mA.

5、电感型开关模式DC-DC变换器实现24V电源5. Inductive switch mode DC-DC converter realizes 24V power supply

由于本设计中需要提供24V的电源,而开关电源是电压比Vout/Vio高的理想选择,所以选用电感型开关模式DC-DC变换器实现24V电源。Because 24V power supply needs to be provided in this design, and the switching power supply is an ideal choice for a voltage higher than V out /V io , so the inductive switching mode DC-DC converter is selected to realize the 24V power supply.

电感型DC-DC变换器的工作原理是先储存能量,然后以受控方式释放能量,从而得到所需要的输出电压。通常最少需要一个外部电感、电容和肖特基二极管,这里选用的是max1605,该芯片工作电压为+2.4V至+5.5V,能够将低达0.8V的电池电压升至28V,其工作电流仅为18μA,转换效率为88%,在小电流应用中有利于减小输出电压的纹波和外部元件尺寸,其电路连接情况见图9所示。即图6中的方块5的局部放大电路。U5的1、2端短接,与3V电源相连接。C7为旁路电容,一端接电源,另一端接地。5端和3端短接,接入地平面。电感L3一端与经过保护电路的6V相连,另一端与4端和D1相连接。6端为反馈输入,其阈値为1.25V。The working principle of the inductive DC-DC converter is to store energy first, and then release the energy in a controlled manner to obtain the required output voltage. Usually at least one external inductor, capacitor and Schottky diode are needed. Here, max1605 is selected. The working voltage of this chip is +2.4V to +5.5V, which can raise the battery voltage as low as 0.8V to 28V, and its working current is only It is 18μA, and the conversion efficiency is 88%. It is beneficial to reduce the ripple of the output voltage and the size of external components in small current applications. The circuit connection is shown in Figure 9. That is, the local amplification circuit of block 5 in FIG. 6 . Terminals 1 and 2 of U5 are shorted and connected to a 3V power supply. C7 is a bypass capacitor, one end is connected to the power supply, and the other end is grounded. Terminal 5 and terminal 3 are shorted and connected to the ground plane. One end of the inductance L3 is connected to 6V passing through the protection circuit, and the other end is connected to the 4-terminal and D1. Terminal 6 is the feedback input, and its threshold is 1.25V.

电感型升压转换器是低压降线性稳压器(LDO)无法取代的,尽管稳压电荷泵可以实现升压,但效率较低,输出电流较小。升压转换器的缺点是输出纹波和开关噪音较大。需要选择好的控制方案以消除振荡,减少开关场效应管引起的效率损失,为此采取以下解决办法:An inductive boost converter cannot be replaced by a low-dropout linear regulator (LDO). Although a regulated charge pump can boost the voltage, the efficiency is low and the output current is small. The disadvantage of a boost converter is higher output ripple and switching noise. It is necessary to choose a good control scheme to eliminate oscillation and reduce the efficiency loss caused by switching FETs. To this end, the following solutions are adopted:

(1)储能电感的选择:电感是影响DC-DC转换器性能的关键器件,主要考虑的参数有电感量、饱和电流和直流电阻。我们选用直流电阻较低、饱和电流较大的功率电感,这种电感一般为缠绕在铁氧体磁芯上的线圈。当流经电感的电流较大时,加上磁芯的饱和,将使实际电感値下降,所以应选用饱和电流较大(大于实际流过电感的峰値电流)的电感,一般来讲,20%的轻度饱和(电感量下降20%)是可以接受的。(1) Selection of energy storage inductance: Inductance is a key device that affects the performance of DC-DC converters. The main parameters considered are inductance, saturation current and DC resistance. We choose a power inductor with low DC resistance and high saturation current, which is generally a coil wound on a ferrite core. When the current flowing through the inductor is large, coupled with the saturation of the magnetic core, the actual inductance value will decrease, so an inductor with a large saturation current (greater than the actual peak current flowing through the inductor) should be selected. Generally speaking, 20 % mild saturation (20% drop in inductance) is acceptable.

电感値一般可在10μH至300μH之间选择。过小的电感量将会使电感电流不连续,造成电流输出能力降低,输出纹波增大,并有可能在限流比较器关断功率开关之前,使电感电流增加到很大値而造成DC-DC转换器的损坏;电感値过大则会造成瞬间响应变差,并增加DC-DC转换器体积。电感値的选取应当以实际输入输出条件及对输出纹波、瞬态响应等的要求为依据。The inductance value can generally be selected between 10μH and 300μH. Too small inductance will make the inductor current discontinuous, resulting in reduced current output capability and increased output ripple, and may increase the inductor current to a large value before the current-limiting comparator turns off the power switch, resulting in DC - Damage to the DC converter; excessive inductance will cause poor transient response and increase the volume of the DC-DC converter. The selection of inductance should be based on the actual input and output conditions and the requirements for output ripple and transient response.

本设计中的输入/输出条件为:The input/output conditions in this design are:

输入电压Vfn=3V;Input voltage Vfn = 3V;

输出电压Vout=26V;Output voltage V out = 26V;

输出电流Iout=20mA;Output current I out = 20mA;

最大工作频率Fmax=500kHz;Maximum operating frequency F max = 500kHz;

额定输出电流时电感电流脉动的峰値ΔI=0.5A。The peak value of the inductor current ripple at the rated output current ΔI = 0.5A.

电感峰値电流的计算步骤如下:The calculation steps of inductor peak current are as follows:

①计算占空比:D=(Vout-Vin)/Vout=88.5%;① Calculate the duty cycle: D = (V out -V in )/V out = 88.5%;

②计算平均电感电流:ILavb=Iout/(1-D)=0.173A;② Calculate the average inductor current: I Lavb = I out / (1-D) = 0.173A;

③计算电感峰値电流:ILP=ILavb+ΔI/2=0.423A;③ Calculate the inductor peak current: I LP = I Lavb + ΔI/2 = 0.423A;

④计算电感値:L≈Vin*D/(ΔI*Fmax)=10.6μH。④ Calculate the inductance value: L≈V in *D/(ΔI*F max )=10.6μH.

则可以选取饱和电流不低于0.173A,电感値11μH左右的电感。Then you can choose an inductor with a saturation current not lower than 0.173A and an inductance value of about 11μH.

(2)续流二极管D的选择(2) Selection of freewheeling diode D

为提高转换效率,该器件应选用正向导通压降较低的肖特基二极管。其主要参数为最大反向电压VR及最大正向电流ID,这里我们选用Motorola的MBRS0530。In order to improve the conversion efficiency, the device should choose a Schottky diode with a lower forward voltage drop. Its main parameters are the maximum reverse voltage VR and the maximum forward current I D , here we choose Motorola's MBRS0530.

(3)波电容的选择(3) Selection of wave capacitor

滤波电容的等效串联电阻ESR是造成输出纹波的主要因素,而且也会影响到转换效率。陶瓷电容和钽电解电容具有较低的ESR,也可选用低ESR的铝电解电容,但应尽量避免标准铝电解电容,容量一般取10μF~100μF,对于较重的负载,应选取大一点的电容。较大容量的滤波电容有利于改善输出纹波和瞬态响应。这里,选用小陶瓷电容,陶瓷电容可以得到低输入输出噪声,在高温情况下工作可靠,同时又占用较小的面积。The equivalent series resistance ESR of the filter capacitor is the main factor causing the output ripple, and it will also affect the conversion efficiency. Ceramic capacitors and tantalum electrolytic capacitors have low ESR, and aluminum electrolytic capacitors with low ESR can also be used, but standard aluminum electrolytic capacitors should be avoided as much as possible. The capacity is generally 10μF to 100μF. For heavier loads, a larger capacitor should be selected . Larger capacitance filter capacitor is beneficial to improve output ripple and transient response. Here, a small ceramic capacitor is selected. The ceramic capacitor can obtain low input and output noise, work reliably under high temperature conditions, and occupy a small area at the same time.

(4)消除DC-DC噪声(4) Eliminate DC-DC noise

消除DC-DC噪声的通用方法是抑制技术,特别是滤波和屏蔽。另外一种节约成本的解决方案是将DC-DC变换器的工作频率(噪声源)锁定到时钟频率,这个频率的纹波和辐射不影响系统性能,同时可以将噪声频谱移开,改善系统性能和节约成本(无需屏蔽)。A common approach to eliminating DC-DC noise is suppression techniques, specifically filtering and shielding. Another cost-effective solution is to lock the operating frequency (noise source) of the DC-DC converter to the clock frequency. The ripple and radiation of this frequency will not affect the system performance, and at the same time, the noise spectrum can be moved to improve the system performance. and cost savings (no shielding required).

6·2.5V电压基准6 2.5V voltage reference

U6的1端为电源端,与6V电源及5端相连,2、4端为地端,直接连接。1、2端之间接入电容C10,3端和2端之间接入C11,C10、C11为钽电容,容値在1~10uf,3端为输出端,输出基准电压2.5V。Terminal 1 of U6 is the power terminal, which is connected to the 6V power supply and terminal 5, and terminals 2 and 4 are ground terminals, which are directly connected. 1. Connect capacitor C10 between terminals 2 and C11 between terminals 3 and 2. C10 and C11 are tantalum capacitors with a capacitance of 1 to 10uf. Terminal 3 is an output terminal with an output reference voltage of 2.5V.

7、过电压保护7. Overvoltage protection

当齐纳二极管击穿或不能正常稳压时,将使开关稳压器不能正常工作,甚至损坏内部器件,因此,有必要使用输入过电压保护电路,自动关断开关电源的升降压电路,其电路连接情况见图10所示,即对应于图6中的方块7的局部放大电路图。When the Zener diode breaks down or fails to stabilize the voltage normally, the switching regulator will not work normally, and even damage the internal components. Therefore, it is necessary to use the input overvoltage protection circuit to automatically turn off the buck-boost circuit of the switching power supply. The circuit connection is shown in FIG. 10 , which is a partial enlarged circuit diagram corresponding to block 7 in FIG. 6 .

U7为充电泵运放,当比较器用。U7的2端(运算放大器负端)接2.5基准,3(运算放大器正端)端接6V电源的分压値,正常工作状态下,3端电压低于2端基准,U7的输出端6端输出低电平,场效应管U8不导通,则各电源电路保持工作状态。当齐纳二极管不能正常稳压时,3端电压高于2端,6端输出高电平,场效应管U8导通,则R8的另一端电压钳位在零电位,自动关断开关电源的升、降压电路。U7 is a charge pump op amp, used as a comparator. Terminal 2 of U7 (the negative terminal of the operational amplifier) is connected to the 2.5 reference, and terminal 3 (the positive terminal of the operational amplifier) is connected to the divided voltage value of the 6V power supply. output low level, and the field effect transistor U8 is not turned on, then each power supply circuit remains in working state. When the Zener diode cannot stabilize the voltage normally, the voltage at terminal 3 is higher than that at terminal 2, and terminal 6 outputs a high level, and the field effect transistor U8 is turned on, then the voltage at the other terminal of R8 is clamped at zero potential, and the switching power supply is automatically turned off. Step-up and step-down circuits.

8、开关电源的PCB设计8. PCB design of switching power supply

印制板走线方式和元器件的布局常常会影响电路的性能,所以在设计印刷线路板时,需仔细思考走线方式和元器件的放置问题。否则,印刷线路板的效率、最大输出电流、输出纹波及其它特性都将会受到影响。产生这些影响的两个主要原因则是地线(GND、VSS)和电源线(VCC、VDD)的连接。如果地线及电源线设计合理,电路将能正常地工作,获得较好的性能指标,否则会产生干扰、性能指标恶化等问题。The wiring method of the printed circuit board and the layout of the components often affect the performance of the circuit, so when designing the printed circuit board, it is necessary to carefully consider the wiring method and the placement of the components. Otherwise, the efficiency, maximum output current, output ripple and other characteristics of the printed circuit board will be affected. The two main causes of these effects are the connections of the ground (GND, VSS) and power lines (VCC, VDD). If the design of the ground wire and the power line is reasonable, the circuit will work normally and obtain better performance indicators, otherwise problems such as interference and performance indicators will occur.

以下提出设计中需注意的几个问题:Here are a few issues to keep in mind when designing:

a.用平面布线方式(planar pattern)接地和接电源线,确保地线低噪声和避免许多长跳线分割接地面;a. Use the planar pattern to ground and connect the power line to ensure low noise on the ground line and avoid splitting the ground plane by many long jumpers;

b.按电路图中的信号电流走向依序逐个放置元器件,保证它们之间的连线最短,以减少噪声,同时将元器件放置在同一方向,便于回流焊接;b. Place the components one by one according to the signal current direction in the circuit diagram to ensure the shortest connection between them to reduce noise. At the same time, place the components in the same direction to facilitate reflow soldering;

c.由于布线之间会产生杂散电容,过长连线会产生阻抗,故在设计中注意线间杂散电容和缩短布线长度有利于消除噪声,减少辐射的产生;c. Since stray capacitance will be generated between the wiring, too long wiring will generate impedance, so paying attention to the stray capacitance between the lines and shortening the wiring length in the design will help eliminate noise and reduce the generation of radiation;

d.根据电路原理图进行元件的布局,输入电流线和输出电流线应进行区别;d. According to the layout of the circuit schematic diagram, the input current line and the output current line should be distinguished;

e.如果电路中采用了线圈和变压器,必须小心进行连接;e. If coils and transformers are used in the circuit, they must be connected with care;

f.元器件间或元器件焊盘和焊盘间必须保证0.5毫米以上的间隙,避免出现桥接。f. There must be a gap of more than 0.5mm between components or between component pads and pads to avoid bridging.

在升压转换器中,还需注意以下几点:In a boost converter, there are a few more things to keep in mind:

a.将输出电容尽可能与IC靠近,尽量减小电流回路;a. Place the output capacitor as close as possible to the IC to minimize the current loop;

b.在PCB板的背面用平面布线方法进行地线连接,板背面的接地线通过一个过孔与板正面的接地线相连;b. Use the plane wiring method to connect the ground wire on the back of the PCB board, and the ground wire on the back of the board is connected to the ground wire on the front of the board through a via hole;

c.保证反馈电阻与反馈引脚尽可能的短并在反馈引脚处布线面积尽可能小;c. Ensure that the feedback resistor and the feedback pin are as short as possible and the wiring area at the feedback pin is as small as possible;

d.电容并联使用以减少滤波电容的并联等效串联电阻(ESR),同时也使每一个电容能分流一部分波纹电流。d. Capacitors are used in parallel to reduce the parallel equivalent series resistance (ESR) of the filter capacitor, and also enable each capacitor to shunt a part of the ripple current.

为了进一步降低系统的功耗,首先要尽量缩短工作时间,延长掉电时间;其次是配合外部电路降低系统的功耗,即进入掉电方式前要进行一些设置:In order to further reduce the power consumption of the system, first of all, it is necessary to shorten the working time as much as possible and extend the power-down time; secondly, cooperate with the external circuit to reduce the power consumption of the system, that is, some settings must be made before entering the power-down mode:

a关闭未使用外围器件的电源等;a Turn off the power supply of unused peripheral devices, etc.;

b.对口进行处理:对作为准双向口使用的I/O口,若口线具有外部上拉电阻,则在进入掉电方式前应置高,关闭内部下拉晶体管;若口线未接外部上拉电阻(采用内部上拉),则进入掉电方式前应置低,以关闭内部上拉晶体管;对开漏输出配置的口线进入掉电方式前应置高,当然这些操作应首先保证口的外部功能;b. Handle the port: For the I/O port used as a quasi-bidirectional port, if the port line has an external pull-up resistor, it should be set high before entering the power-down mode, and the internal pull-down transistor should be turned off; if the port line is not connected to the external pull-up resistor pull-up resistor (using internal pull-up), it should be set low before entering the power-down mode to close the internal pull-up transistor; the port line configured with open-drain output should be set high before entering the power-down mode, of course, these operations should first ensure that the port external functions;

c.关掉某些不使用的功能,如掉电检测模拟比较器等,看门狗功能较特殊,只能编程时配置,程序中一旦使用就不能将其关掉。不需看门狗功能在编程时不使能其功能即可。c. Turn off some unused functions, such as power-down detection analog comparator, etc. The watchdog function is special and can only be configured during programming. Once used in the program, it cannot be turned off. It is not necessary to enable the watchdog function when programming.

其中,定位部分和执行部分构成一个反馈回路,输入单元接受来自控制器的4~20mA电流信号。调节阀位置反馈信号作为被控变量与给定信号値在微处理器中比较,其偏差通过主控板的输出口发出不同长度的脉冲,生成施加于控制I/P转换单元的输出压力,从而完成驱动调节阀动作。Among them, the positioning part and the execution part form a feedback loop, and the input unit receives the 4-20mA current signal from the controller. The control valve position feedback signal is compared with the given signal value in the microprocessor as the controlled variable, and the deviation sends pulses of different lengths through the output port of the main control board to generate the output pressure applied to the control I/P conversion unit, thereby Complete the action of driving the regulating valve.

(二)单片机控制系统(2) Single-chip microcomputer control system

控制单元选用带有FLASH的MSP430F149超低功耗单片机,其FLASH存储器多达60KB,RAM多达2KB;12位A/D转换器带有内部参考源、采样保持和自动扫描特性;灵活的时钟源可以使器件达到最低的功率消耗;数字控制的振荡器(DCO)可使器件从低功耗模式迅速唤醒,在少于6μs的时间内激活。其硬件原理框图如图11所示。本系统MSP430单片机系统低功耗的实现是以间断性工作甚至大部分情况使系统处于空闲或掉电模式下。在间断工作的单片机系统中,外围器件的静态功耗是首选指标。MSP430系列单片机将大量的CPU外围模块集成在片内且系统各个模块完全是独立运行的,定时器(Timer)、输入/输出口(I/O Port)、A/D转换、看门狗(Watchdog)、液晶显示器(LCD)等都可以在主CPU休眠的状态下独立运行。当需要主CPU工作时任何一个模块都可以通过中断唤醒CPU,从而使系统以最低功耗运行。这一功能可以使得单片机外围系统的功耗大大降低。MSP430F149带有60KB的Flash存储器,可以将系统配置参数写入,从而减少外接EEPROM所带来的电流消耗。The control unit selects MSP430F149 ultra-low power MCU with FLASH, its FLASH memory up to 60KB, RAM up to 2KB; 12-bit A/D converter with internal reference source, sample hold and automatic scanning features; flexible clock source Allows the device to achieve the lowest power consumption; a digitally controlled oscillator (DCO) enables the device to wake up quickly from low-power modes, active in less than 6μs. Its hardware block diagram is shown in Figure 11. The realization of the low power consumption of the MSP430 single-chip microcomputer system of this system is to work intermittently or even make the system in idle or power-down mode in most cases. In a single-chip microcomputer system that works intermittently, the static power consumption of peripheral devices is the preferred indicator. MSP430 series single-chip microcomputer integrates a large number of CPU peripheral modules in the chip and each module of the system is completely independent operation, timer (Timer), input/output port (I/O Port), A/D conversion, watchdog (Watchdog) ), liquid crystal display (LCD), etc. can all run independently under the state of main CPU sleep. When the main CPU is required to work, any module can wake up the CPU through an interrupt, so that the system can run with the lowest power consumption. This function can greatly reduce the power consumption of the peripheral system of the microcontroller. MSP430F149 has a 60KB Flash memory, which can write system configuration parameters, thereby reducing the current consumption caused by the external EEPROM.

1、LCD显示模块1. LCD display module

由于LCD功耗较低且可达到较佳的人机对话效果,所以选用它作为显示器件。LCD和按键一起提供人机交互接口,显示器用于显示阀门定位器的各种状态信息,按键用于输入组态数据和手动操作。Because LCD has low power consumption and can achieve better man-machine dialogue effect, it is selected as the display device. The LCD and the buttons provide a human-computer interaction interface. The display is used to display various status information of the valve positioner, and the buttons are used to input configuration data and manual operation.

液晶显示模块选用4位8段液晶显示模块LCM046,其内含看门狗(WDT)时钟发生器,2种频率的蜂鸣驱动电路,内置显示RAM,可显示任意字段笔划,3-4线串行接口,可与任何单片机、IC接口,低功耗特性,显示状态40μA(典型値),省电模式<1μA,工作电压2.4~5.2V,视角对比度可调,显示清晰,稳定可靠,使用编程简单,是仪器仪表、手持便携仪器等的最佳通用型显示模块。The liquid crystal display module adopts the 4-digit 8-segment liquid crystal display module LCM046, which contains a watchdog (WDT) clock generator, a buzzer driving circuit with 2 frequencies, and a built-in display RAM, which can display strokes in any field, 3-4 line strings Line interface, can interface with any single-chip microcomputer, IC, low power consumption, display status 40μA (typical value), power saving mode <1μA, working voltage 2.4 ~ 5.2V, adjustable viewing angle contrast, clear display, stable and reliable, using programming Simple, it is the best general-purpose display module for instrumentation, handheld portable instruments, etc.

液晶模块LCM046具有较小的尺寸,且功耗很低,功能强大,所以系统硬件设计时,没有利用MSP430单片机内置的液晶驱动模块,而采用基于I2C总线的连接方式,其接口应用方框图如图12所示,从而可以大大节省I/O端口,便于以后微处理器的扩展。由于LCM046内部有上拉电阻,为保证低功耗,每次送数之后,/CS、/RD、/WR、DATA必须接高电平或悬浮。这里MCU和LCM046的工作电压相同,可以直接相接。/RD、/IRQ、BZ可不用,用三线接口即可:/CS、/WR和DATA。The liquid crystal module LCM046 has a small size, low power consumption, and powerful functions. Therefore, when designing the system hardware, the built-in LCD driver module of the MSP430 microcontroller is not used, but the connection method based on the I 2 C bus is used. The interface application block diagram is as follows As shown in Figure 12, I/O ports can be greatly saved, which is convenient for the expansion of the microprocessor in the future. Because there is a pull-up resistor inside LCM046, in order to ensure low power consumption, /CS, /RD, /WR, and DATA must be connected to high level or suspended after each data transmission. Here the MCU and LCM046 have the same operating voltage and can be connected directly. /RD, /IRQ, BZ can not be used, just use the three-wire interface: /CS, /WR and DATA.

2、I/P控制电路2. I/P control circuit

由于压电陶瓷需要24V以上的电压驱动,而微处理器输出的脉冲幅度只能达到它的电源幅度,不足以驱动压电陶瓷阀。所以需要额外的I/P控制电路,把小幅度脉冲(3V)转变成大幅度(24V以上)脉冲。Because the piezoelectric ceramic needs to be driven by a voltage above 24V, and the pulse amplitude output by the microprocessor can only reach its power supply amplitude, which is not enough to drive the piezoelectric ceramic valve. Therefore, an additional I/P control circuit is required to convert a small-amplitude pulse (3V) into a large-amplitude (above 24V) pulse.

由于绝缘栅场效应管是利用半导体表面的电场效应,由感应电荷的多少改变导电沟道控制电流,其栅极处于不导电(绝缘)状态,所以它不仅兼有一般半导体三极管体积小、重量低、耗电省、寿命长等特点,而且还有输入阻抗非常高(高达1015Ω)、噪声低、热稳定性好、抗辐射能力强和制造工艺简单等优点,因而大大地扩展了它的应用范围。Since the insulated gate field effect transistor uses the electric field effect on the surface of the semiconductor to change the conductive channel to control the current by the amount of induced charge, its gate is in a non-conductive (insulated) state, so it not only has the small size and low weight of the general semiconductor triode , low power consumption, long life, etc., and also has the advantages of very high input impedance (up to 10 15 Ω), low noise, good thermal stability, strong radiation resistance and simple manufacturing process, thus greatly expanding its application application range.

I/P转换单元的电路是利用N沟道的增强型绝缘栅场效应管(MOSFET)的开关作用来控制的。所谓增强型是指UGS=0时,漏源之间没有导电通道,即使在漏源之间加上电压(在一定范围内),也没有漏极电流,其控制电路如图13所示。在该控制电路中,利用MSP430单片机的定时器A0、A1、B0、B1产生不同幅度的输出方式来控制压电陶瓷四个端子。举其中的一个单元为例,当P1.0输出高电平,则Q1管导通,Q2栅极电压为0V,则Q2管截止,此时压电陶瓷1端输出0V;当P1.0输出低电平,Q1管截止,Q2管导通,压电陶瓷1端输出24V。通过控制定时器A0的输出波形,进而控制压电阀持续开通、断续开通或阀位不变的不同状态。其它三个单元的原理相同,不再赘述。The circuit of the I/P conversion unit is controlled by the switching action of an N-channel enhanced insulated gate field effect transistor (MOSFET). The so-called enhanced type means that when U GS =0, there is no conductive channel between the drain and source, even if a voltage is applied between the drain and source (in a certain range), there is no drain current, and its control circuit is shown in Figure 13. In this control circuit, the timers A0, A1, B0, and B1 of the MSP430 single-chip microcomputer are used to generate output modes with different amplitudes to control the four terminals of piezoelectric ceramics. Take one of the units as an example, when P1.0 outputs a high level, the Q1 tube is turned on, and the gate voltage of Q2 is 0V, then the Q2 tube is turned off, and the piezoelectric ceramic 1 terminal outputs 0V at this time; when P1.0 outputs Low level, the Q1 tube is cut off, the Q2 tube is turned on, and the piezoelectric ceramic terminal 1 outputs 24V. By controlling the output waveform of the timer A0, the different states of the piezoelectric valve, such as continuous opening, intermittent opening or constant valve position, can be controlled. The principles of the other three units are the same and will not be repeated here.

3、系统软件设计3. System software design

低功耗系统的软件设计任务之一就是配合硬件电路,进一步降低系统的功耗。系统软件采用模块化设计,不仅程序结构清晰,而且便于进一步扩展。系统软件由主程序、定时器中断服务程序、键盘中断服务程序、数据采集处理子程序、液晶显示子程序、掉电保护子程序等模块构成。One of the software design tasks of the low-power system is to cooperate with the hardware circuit to further reduce the power consumption of the system. The system software adopts a modular design, which not only has a clear program structure, but also facilitates further expansion. The system software consists of main program, timer interrupt service program, keyboard interrupt service program, data acquisition and processing subroutine, liquid crystal display subroutine, power-down protection subroutine and other modules.

主程序初始化之后进人休眠状态,关闭各外围电源。各功能程序由定时器定时调度,唤醒CPU,进行模拟量的转换以及其他的处理。处理完毕再进入休眠状态。中断服务程序是此系统软件设计的核心,为了降低功耗,主要子程序模块均在中断服务程序中完成。After the main program is initialized, enter the dormant state, and turn off the peripheral power supply. Each function program is regularly scheduled by the timer, wakes up the CPU, performs analog conversion and other processing. After the processing is completed, it enters the dormant state. The interrupt service routine is the core of the system software design. In order to reduce power consumption, the main subroutine modules are completed in the interrupt service routine.

(1)主程序(1) Main program

MSP430单片机具有十分方便的开发环境,可以使用C或C++语言,大大提高开发调试工作的效率;同时,所产生的文档资料也容易理解,便于移植。而对于FLASH型的单片机,则有十分方便的开发调试环境,因为器件片内有JTAG调试接口,还有可电擦写的FLASH存储器,所以可采用下载程序到FLASH内,然后在器件内通过软件控制程序的运行,由JTAG接口读取片内信息供设计者调试开发使用。这种方式只需要一台PC机和一个JTAG调试器,而不需要仿真器和编程器。MSP430 single-chip microcomputer has a very convenient development environment, and can use C or C++ language, which greatly improves the efficiency of development and debugging work; at the same time, the generated documents are also easy to understand and easy to transplant. For the FLASH type single-chip microcomputer, there is a very convenient development and debugging environment, because the device has a JTAG debugging interface on the chip, and there is also an electrically erasable FLASH memory, so you can download the program to the FLASH, and then use the software in the device. The operation of the control program is read by the JTAG interface for the designer to debug and develop. This way only needs a PC and a JTAG debugger instead of emulator and programmer.

MSP430单片机有1种活动模式和5种低功耗模式,其工作模式通过控制位设置。在各种工作模式下,时钟系统产生的3种时钟的活动状态以及系统的功耗是各不相同的。The MSP430 microcontroller has 1 active mode and 5 low power consumption modes, and its working mode is set by the control bit. In various working modes, the active states of the three clocks generated by the clock system and the power consumption of the system are different.

利用MSP430单片机的低功耗工作模式,微控制器上电复位后,系统首先进行初始化操作,如中断的设置、端口的分配等,然后进入休眠状态。关闭各外围电源。各功能程序由定时器定时调度,唤醒CPU,进行模拟量的转换以及其他的处理。处理完毕再进入休眠状态,Using the low power consumption mode of the MSP430 single-chip microcomputer, after the microcontroller is powered on and reset, the system first performs initialization operations, such as interrupt settings, port allocation, etc., and then enters a sleep state. Turn off all peripheral power. Each function program is regularly scheduled by the timer, wakes up the CPU, performs analog conversion and other processing. After the processing is completed, it enters the sleep state.

参见图2,主程序主要由数据采集子程序、按键中断子程序、液晶显示子程序等构成。在主循环中,通过按键进行各模式之间的切换,执行相应的动作和控制策略,显示输入的参数、阀门开度等参数。See Figure 2, the main program is mainly composed of data acquisition subroutine, key interrupt subroutine, liquid crystal display subroutine and so on. In the main loop, switch between modes by pressing buttons, execute corresponding actions and control strategies, and display input parameters, valve opening and other parameters.

为了进一步降低系统的功耗,首先要尽量缩短工作时间,延长掉电时间;其次是配合外部电路降低系统的功耗,即进入掉电方式前要进行一些设置:In order to further reduce the power consumption of the system, first of all, it is necessary to shorten the working time as much as possible and extend the power-down time; secondly, cooperate with the external circuit to reduce the power consumption of the system, that is, some settings must be made before entering the power-down mode:

a关闭未使用外围器件的电源等;a Turn off the power supply of unused peripheral devices, etc.;

b.对口进行处理:对作为准双向口使用的I/O口,若口线具有外部上拉电阻,则在进入掉电方式前应置高,关闭内部下拉晶体管;若口线未接外部上拉电阻(采用内部上拉),则进入掉电方式前应置低,以关闭内部上拉晶体管;对开漏输出配置的口线进入掉电方式前应置高,当然这些操作应首先保证口的外部功能;b. Handle the port: For the I/O port used as a quasi-bidirectional port, if the port line has an external pull-up resistor, it should be set high before entering the power-down mode, and the internal pull-down transistor should be turned off; if the port line is not connected to the external pull-up resistor pull-up resistor (using internal pull-up), it should be set low before entering the power-down mode to close the internal pull-up transistor; the port line configured with open-drain output should be set high before entering the power-down mode, of course, these operations should first ensure that the port external functions;

c.关掉某些不使用的功能,如掉电检测模拟比较器等,看门狗功能较特殊,只能编程时配置,程序中一旦使用就不能将其关掉。不需看门狗功能在编程时不使能其功能即可。c. Turn off some unused functions, such as power-down detection analog comparator, etc. The watchdog function is special and can only be configured during programming. Once used in the program, it cannot be turned off. It is not necessary to enable the watchdog function when programming.

(2)数据采集中断服务程序(2) Data acquisition interrupt service program

该模块主要完成对ADC采样数据进行处理和闭环控制,将阀位的设定信号和反馈信号转换为数字量,计算误差。在掉电瞬间,自动保护有用信息和系统运行状态,来电时能自动恢复掉电前工作状态,保证处理的连续性,其流程图如图3所示。This module mainly completes the processing and closed-loop control of ADC sampling data, converts the setting signal and feedback signal of the valve position into digital quantities, and calculates the error. At the moment of power failure, it automatically protects useful information and system running status, and automatically restores the working status before power failure when the power comes in, ensuring the continuity of processing. The flow chart is shown in Figure 3.

主要操作均在定时器中完成,可以使单片机间断方式工作,以充分降低功耗;当不工作时,使其处于低功耗模式3。模数转换部分在定时器A1中完成;压电驱动模块,则利用定时器A0和B0工作在比较模式产生所需要的信号,以满足系统对低功耗的要求。The main operations are completed in the timer, which can make the microcontroller work intermittently to fully reduce power consumption; when not working, make it in low power consumption mode 3. The analog-to-digital conversion part is completed in timer A1; the piezoelectric drive module uses timers A0 and B0 to work in comparison mode to generate the required signals to meet the system's requirements for low power consumption.

阀位的控制中,本系统采用五接点开关控制算法。所谓五接点开关,是指把误差范围分正大、正中、死区、负中、负大五个区域,在不同区域中执行不同的动作来减少误差:当误差在正大或负大区域时,控制器输出连续信号给压电控制阀,持续进气或排气,使行程快速改变;在正中或负中区域,输出一定宽度的脉冲信号,断续进气或排气,行程缓慢改变;在死区内,不输出信号,行程不改变。In the control of the valve position, the system adopts a five-contact switch control algorithm. The so-called five-contact switch refers to dividing the error range into five areas: positive large, positive middle, dead zone, negative middle, and negative large, and performs different actions in different areas to reduce the error: when the error is in the positive large or negative large area, control The device outputs a continuous signal to the piezoelectric control valve, continuously intakes or exhausts, so that the stroke changes rapidly; in the positive center or negative center area, outputs a pulse signal of a certain width, intermittently intakes or exhausts, and the stroke changes slowly; In the zone, no signal is output, and the stroke does not change.

为了减少对采样値的干扰,提高系统的可靠性,常常采用数字滤波的方法。中値滤波是把几个采样値按一定顺序排列,如从小到大排列,然后取其中间値为本次采样値。这种方法适用于变量变化比较缓慢的过程,消除偶然因素造成的干扰;而算术平均値滤波是把几次连续采样値相加求和,除以采样次数n,所得结果作为该次采样値。这种方法适用于周期性脉冲变化的采样信号。本系统采用算术平均値滤波和中値滤波相结合的复合数字滤波,既可消除周期性脉冲干扰又可消除随机脉冲干扰。In order to reduce the interference to the sampling value and improve the reliability of the system, the method of digital filtering is often adopted. Median value filtering is to arrange several sampling values in a certain order, such as from small to large, and then take the middle value as the current sampling value. This method is suitable for the process of variable changes relatively slowly, eliminating the interference caused by accidental factors; and the arithmetic mean value filter is to add and sum several consecutive sampling values, divide by the number of sampling times n, and the result is used as the sampling value of this time. This method is suitable for sampling signals with periodic pulse changes. This system adopts the composite digital filter which combines the arithmetic mean value filter and the median value filter, which can eliminate both periodic pulse interference and random pulse interference.

(3)按键中断服务程序(3) Button interrupt service program

该程序流程参见图4,按键设置单元共用三个按键(+1键、-1键以及工作模式按键)配合使用,完成工作模式的设置,手动控制阀位,控制参数的设定等。同样,为了降低功耗,本设计采用中断的方式处理按键响应,进行各模式之间的切换,达到任意组态按键的功能取决于可选择的工作模式:The program flow is shown in Fig. 4. The key setting unit shares three keys (+1 key, -1 key and working mode key) to be used together to complete the setting of the working mode, manual control of the valve position, setting of control parameters, etc. Similarly, in order to reduce power consumption, this design uses an interrupt method to process the key response and switch between modes. The function of any configured key depends on the selectable working mode:

①自动模式①Auto mode

自动模式为常用的模式,经初始化(以及组态)的定位器自动地按设定値改变并且不断地使系统的偏差尽可能趋于最小値。这时+1键和-1键不起作用。Automatic mode is the commonly used mode, the initialized (and configured) positioner automatically changes according to the set value and continuously makes the deviation of the system tend to the minimum value as much as possible. At this time, the +1 key and -1 key do not work.

②手动模式②Manual mode

按工作模式键,使定位器从自动模式切换到手动模式。通过按+1键或-1键达到分步调整。为了达到快速增升,先按+1键,然后再按-1键;同理,为达到快速下降,先按-1键,再按+1键。一旦释放+1/-1键,执行机构就停在其现时的位置。内设定値被调整至现时的操作变量。由于手动模式内控制是闭环的,因此即使处于定位器气源泄漏事故时,仍能保持当前阀位。Press the working mode key to switch the positioner from automatic mode to manual mode. Step adjustment is achieved by pressing the +1 key or -1 key. In order to achieve a rapid increase, press the +1 key first, and then press the -1 key; similarly, to achieve a rapid decline, first press the -1 key, and then press the +1 key. Once the +1/-1 key is released, the actuator stops at its current position. The internal set value is adjusted to the current manipulated variable. Since the control in the manual mode is closed-loop, the current valve position can still be maintained even in the event of an air source leakage accident of the positioner.

③组态模式③Configuration mode

用工作模式按键可从自动模式或手动模式转换为组态模式,为此,必须按住模式转换键至少5秒钟,直至完成转换。The working mode key can be used to switch from automatic mode or manual mode to configuration mode. To do this, the mode switching key must be pressed for at least 5 seconds until the conversion is completed.

组态参数主要包括:The configuration parameters mainly include:

a.执行结构的类型(角行程或直行程)a. The type of execution structure (rotary stroke or linear stroke)

b.反馈角度(30°和90°)b. Feedback angle (30° and 90°)

c.行程値c. Travel value

d.自动初始化d. Automatic initialization

e.手动初始化e. Manual initialization

f.输入电流范围f. Input current range

g.正反作用g. Positive and negative effects

h.阀门禁闭功能h. Valve confinement function

在组态模式下能改变定位器的参数値,使用模式键可选择下一个参数,如果在按模式键(<5s)的同时按住-1键,则以相反次序选择参数。利用+1按键或-1按键可改变参数値。In the configuration mode, the parameter value of the positioner can be changed, and the next parameter can be selected by using the mode key. If the -1 key is pressed while pressing the mode key (<5s), the parameters can be selected in reverse order. Use the +1 button or -1 button to change the parameter value.

(4)液晶显示程序(4) LCD display program

液晶模块LCM046具有较小的尺寸,且功耗很低,功能强大,所以,系统设计时,没有利用MSP430单片机内置的液晶驱动模块,而采用基于I2C总线的连接方式,其流程图如图5所示。The liquid crystal module LCM046 has a small size, low power consumption, and powerful functions. Therefore, the system design does not use the built-in LCD driver module of the MSP430 microcontroller, but uses the connection method based on the I 2 C bus. The flow chart is shown in the figure 5.

Claims (9)

1.一种智能型二线制电气阀门定位器,包括控制电路单元、I/P电气转换单元和阀位检测反馈单元,所述控制电路单元包括电源转换电路和微处理器控制单元,所述I/P电气转换单元包括由两个压电阀组构成的气路控制及放大部分,所述阀位检测反馈单元包括反馈电位器和阀位反馈杠杆;输入信号与阀位反馈信号一同进入所述智能电气阀门定位器控制电路的微处理器控制单元进行比较运算,根据两者的偏差输出一控制信号到I/P电气转换单元,控制I/P电气转换单元的输出气压及气动调节阀的阀杆运动,阀杆的行程同时反馈到控制电路单元,形成闭环控制,其特征在于,所述的电源转换电路是将4~20mA的输入电流信号转换成6V、3V和24V三组电压的电源转换电路。1. An intelligent two-wire electric valve positioner includes a control circuit unit, an I/P electrical conversion unit and a valve position detection feedback unit, and the control circuit unit includes a power conversion circuit and a microprocessor control unit, and the I The /P electrical conversion unit includes an air circuit control and amplification part composed of two piezoelectric valve groups. The valve position detection feedback unit includes a feedback potentiometer and a valve position feedback lever; the input signal and the valve position feedback signal enter the The microprocessor control unit of the control circuit of the intelligent electric valve positioner performs a comparison operation, outputs a control signal to the I/P electrical conversion unit according to the difference between the two, and controls the output air pressure of the I/P electrical conversion unit and the valve of the pneumatic control valve. The stem moves, and the stroke of the valve stem is fed back to the control circuit unit at the same time to form a closed-loop control. It is characterized in that the power conversion circuit is a power conversion that converts the input current signal of 4~20mA into three sets of voltages of 6V, 3V and 24V circuit. 2.如权利要求1所述的智能型二线制电气阀门定位器,其特征在于,所述控制电路单元的电源转换电路,包括极性保护和电源前端抗干扰单元、线性电源产生6V电源电路单元、取样电路单元、高端电流检测电路单元、开关电容电压倒相器产生3V电源单元、电感型开关模式DC-DC变换器实现24V电源单元、2.5V电压基准以及过电压保护单元。2. The intelligent two-wire electric valve positioner as claimed in claim 1, wherein the power conversion circuit of the control circuit unit includes a polarity protection and power front-end anti-interference unit, and a linear power supply to generate a 6V power supply circuit unit , Sampling circuit unit, high-side current detection circuit unit, switched capacitor voltage inverter to generate 3V power supply unit, inductive switch mode DC-DC converter to realize 24V power supply unit, 2.5V voltage reference and overvoltage protection unit. 3.如权利要求2所述的智能型二线制电气阀门定位器,其特征在于,所述线性电源产生6V电源电路单元中,取样电阻的一端与所述极性保护和电源前端抗干扰单元的输出端相连,另一端与提供6V电源的齐纳二极管正端相连,该齐纳二极管另一端接地,并且于该电路单元中分别设置两个与该齐纳二极管并联的电容。3. The intelligent two-wire electric valve positioner as claimed in claim 2, characterized in that, in the 6V power supply circuit unit produced by the linear power supply, one end of the sampling resistor is connected to the polarity protection and the front-end anti-interference unit of the power supply. The output end is connected, and the other end is connected to the positive end of a Zener diode that provides a 6V power supply. The other end of the Zener diode is grounded, and two capacitors connected in parallel with the Zener diode are respectively arranged in the circuit unit. 4.如权利要求2所述的智能型二线制电气阀门定位器,其特征在于,所述取样电路单元中,在电源电路的前端串联一取样电阻,取样电阻两端通过差动放大器放大,送入微处理器进行采样,该取样电阻为康铜丝制作的电阻。4. The intelligent two-wire electric valve positioner as claimed in claim 2, characterized in that, in the sampling circuit unit, a sampling resistor is connected in series at the front end of the power supply circuit, and the two ends of the sampling resistor are amplified by a differential amplifier to send The sampling resistor is a resistor made of constantan wire. 5.如权利要求2所述的智能型二线制电气阀门定位器,其特征在于,所述高端电流检测电路单元采用带缓冲输出的高端电流检测放大器。5. The intelligent two-wire electric valve positioner as claimed in claim 2, wherein the high-side current detection circuit unit adopts a high-side current detection amplifier with a buffer output. 6.如权利要求2所述的智能型二线制电气阀门定位器,其特征在于,所述开关电容电压倒相器采用max1720的开关电容电压倒相器,能够产生3V电源。6 . The intelligent two-wire electric valve positioner as claimed in claim 2 , wherein the switched capacitor voltage inverter is a max1720 switched capacitor voltage inverter capable of generating 3V power. 7.如权利要求2所述的智能型二线制电气阀门定位器,其特征在于,所述过电压保护单元以充电泵运算放大器作为比较器,其负端接2.5V基准、正端接6V电源的分压值,运算放大器的输出端输出低电平,场效应管不导通,则各电源电路保持工作状态;当齐纳二极管不能正常稳压时,运算放大器正端电压高于负端,输出端输出高电平,场效应管导通,则并联电阻的另一端电压钳位在零电位,自动关断开关电源的升、降压电路。7. The intelligent two-wire electric valve positioner as claimed in claim 2, wherein the overvoltage protection unit uses a charge pump operational amplifier as a comparator, and its negative terminal is connected to a 2.5V reference, and its positive terminal is connected to a 6V power supply The voltage division value, the output terminal of the operational amplifier outputs a low level, and the field effect tube is not turned on, then each power supply circuit remains in the working state; when the Zener diode cannot stabilize the voltage normally, the positive terminal voltage of the operational amplifier is higher than the negative terminal, The output end outputs a high level, and the field effect transistor is turned on, then the voltage at the other end of the parallel resistor is clamped at zero potential, and the step-up and step-down circuits of the switching power supply are automatically turned off. 8.一种如权利要求1所述的智能型二线制电气阀门定位器控制方法,在控制电路单元利用微处理器通过数据采集、按键中断及液晶显示操作,实现通过按键进行各模式之间的切换,执行相应的动作和控制策略,参数显示,其特征在于,该方法包括以下步骤:8. An intelligent two-wire system electric valve positioner control method as claimed in claim 1, utilizes the microprocessor in the control circuit unit to operate through data collection, button interruption and liquid crystal display, and realizes the operation between each mode by the button. Switching, performing corresponding actions and control strategies, and displaying parameters, is characterized in that the method includes the following steps: 关闭系统看门狗时钟发生器,停止定时,并开启全局中断;Turn off the system watchdog clock generator, stop timing, and turn on the global interrupt; 端口初始化;port initialization; 调用液晶显示子程序,显示操作结果;Call the liquid crystal display subroutine to display the operation result; 进行A/D通道选择,时钟、定时时间设置,并开启A/D中断;Select the A/D channel, set the clock and timing time, and enable the A/D interrupt; 设置按键时钟、设置定时时间,开启按键中断;Set the button clock, set the timing time, and enable the button interrupt; 进入本发明的低功耗模式,即初始化之后进人休眠状态,关闭各外围电源,各功能程序由定时器定时调度,唤醒CPU,进行模拟量的转换以及其他的处理,处理完毕再进入休眠状态,以实现降低功耗;Enter the low power consumption mode of the present invention, that is, enter the dormant state after initialization, turn off each peripheral power supply, and each function program is regularly scheduled by the timer, wake up the CPU, perform analog conversion and other processing, and then enter the dormant state after processing , to reduce power consumption; 判断当前的是否到A/D中断定时时间;Determine whether the current A/D interrupt timing time is reached; 如A/D中断定时已到,则进入A/D中断子程序;If the A/D interrupt timing has arrived, enter the A/D interrupt subroutine; 执行A/D中断子程序;Execute the A/D interrupt subroutine; 中断返回,等待满足下一次定时时间;Return from the interrupt, waiting for the next timing to be met; 否则,判断当前时间是否已到按键中断定时;Otherwise, judge whether the current time has reached the button interrupt timing; 如此时按键中断定时已到,则进入按键中断子程序;If the button interrupt timing has arrived at this time, then enter the button interrupt subroutine; 执行按键中断子程序,中断返回,等待下一次定时时间到。Execute the key interrupt subroutine, return from the interrupt, and wait for the next timing to arrive. 9.如权利要求8所述的智能型二线制电气阀门定位器控制方法,其中所述A/D中断处理子程序,更包括以下步骤:9. The intelligent two-wire system electric valve positioner control method as claimed in claim 8, wherein said A/D interrupt processing subroutine further comprises the following steps: 进行输入信号采样;Sampling the input signal; 判断当前是否为采用P6.4采样通道;Determine whether the current sampling channel is P6.4; 如是,则保存当前采样的A/D转换结果;If so, save the A/D conversion result of the current sampling; 判断是否已完成5次采样;Determine whether 5 samples have been completed; 如是,则进行数字滤波处理;If so, perform digital filter processing; 对数字滤波输出结果进行线性化处理;Linearize the output result of digital filtering; 输出信号结果设置为AD1;The output signal result is set to AD1; 如否,则进一步判断当前采用的是否P6.5采样通道;If not, further judge whether the currently used P6.5 sampling channel is used; 若未满足5次采样,继续完成信号采样;If the 5 sampling times are not met, continue to complete the signal sampling; 如果当前采样通道不是P6.4,则继续判断当前采样通道是否P6.5;If the current sampling channel is not P6.4, continue to judge whether the current sampling channel is P6.5; 如果是,则保存当前采样结果的A/D转换结果;If yes, then save the A/D conversion result of the current sampling result; 判断是否完成5次采样;Determine whether to complete 5 samples; 如是,则进行数字滤波;If so, perform digital filtering; 及线性化处理;and linearization; 并设置此输出信号结果为AD2;And set the result of this output signal as AD2; 如果采样次数未满足5次,则继续完成采样。If the number of sampling times does not meet 5 times, continue to complete the sampling.
CNB2005100162651A 2005-03-04 2005-03-04 An intelligent two-wire electric valve positioner and its control method Expired - Fee Related CN100388144C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100162651A CN100388144C (en) 2005-03-04 2005-03-04 An intelligent two-wire electric valve positioner and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100162651A CN100388144C (en) 2005-03-04 2005-03-04 An intelligent two-wire electric valve positioner and its control method

Publications (2)

Publication Number Publication Date
CN1655083A CN1655083A (en) 2005-08-17
CN100388144C true CN100388144C (en) 2008-05-14

Family

ID=34894207

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100162651A Expired - Fee Related CN100388144C (en) 2005-03-04 2005-03-04 An intelligent two-wire electric valve positioner and its control method

Country Status (1)

Country Link
CN (1) CN100388144C (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102052514B (en) * 2010-12-17 2012-05-30 中环天仪股份有限公司 Simple and easy control method of intelligent valve locator
CN102563191A (en) * 2012-02-03 2012-07-11 深圳乐满油气技术有限公司 Control valve group for pneumatic positioner
CN204270109U (en) * 2013-03-14 2015-04-15 费希尔控制国际公司 Comprise the control system of valve and the control system for control procedure
CN103256419B (en) * 2013-04-16 2015-02-25 云南大学 Non-oscillation high-sensitivity controller for ordinary electrically operated valve, and control method thereof
CN103256425B (en) * 2013-05-31 2015-12-23 中冶长天国际工程有限责任公司 A kind of sintering controlling method, device and system
CN103346755B (en) * 2013-07-02 2015-08-26 天津精通控制仪表技术有限公司 A kind of filtration module
CN104806809B (en) * 2014-01-27 2017-06-13 上海华林工业气体有限公司 A kind of rapid exhaust in regulating valve
CN104049542B (en) * 2014-06-12 2016-09-07 曹学良 Based on STC12C5A60S single-chip microcomputer ballast water artificial circuit plate
CN105156733B (en) * 2015-07-21 2018-03-13 长飞光纤光缆股份有限公司 A kind of automatic positioning control method
CN106293618B (en) * 2016-08-24 2019-04-19 珠海格力电器股份有限公司 Random number generation method, device and system
JP7073620B2 (en) * 2016-10-31 2022-05-24 ヤマハ株式会社 Actuator drive control device
CN107191658A (en) * 2017-06-09 2017-09-22 北京万世明科技发展有限公司 Two-wire system realizes the method and device of solenoid valve control and state-detection
CN109443744A (en) * 2017-08-30 2019-03-08 广东核电合营有限公司 A kind of valve body characteristic check device and system applied to nuclear power plant
CN107957691B (en) * 2017-12-26 2023-04-28 郑州春泉节能股份有限公司 Electric valve proportion control device and control method
CN109343492B (en) * 2018-11-08 2021-02-12 郭浩 Two-wire system process control system protection device
CN111103823A (en) * 2019-10-21 2020-05-05 阳江核电有限公司 Nuclear power station pneumatic diaphragm valve diaphragm experimental device
CN112164953B (en) * 2020-09-14 2022-04-12 四川航天燎原科技有限公司 A crimping positioner

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010032518A1 (en) * 1997-07-23 2001-10-25 Henry Boger Valve positioner system
CN2637852Y (en) * 2003-09-09 2004-09-01 上海自动化仪表股份有限公司 Intelligent valve locator

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010032518A1 (en) * 1997-07-23 2001-10-25 Henry Boger Valve positioner system
US20010037159A1 (en) * 1997-07-23 2001-11-01 Henry Boger Valve positioner system
CN2637852Y (en) * 2003-09-09 2004-09-01 上海自动化仪表股份有限公司 Intelligent valve locator

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
智能式电气阀门定位器. 王化祥林慧.电子质量,第9卷. 2003
智能式电气阀门定位器. 王化祥林慧.电子质量,第9卷. 2003 *

Also Published As

Publication number Publication date
CN1655083A (en) 2005-08-17

Similar Documents

Publication Publication Date Title
CN100388144C (en) An intelligent two-wire electric valve positioner and its control method
CN103248230B (en) Switching regulator
US9337735B2 (en) DC/DC converter within a portable computer
CN101576745B (en) Full digital driving controller of permanent magnetic linear voice coil motor used for direct driving valve
CN103079323A (en) Non-isolated LED (Light Emitting Diode) drive circuit not powered by auxiliary winding
CN103605035A (en) No-load detection circuit structure of self-adaptive switching power supply
CN109768703B (en) Variable-frequency average current control device and method based on output voltage feedback
CN101183784A (en) Intelligent electric actuator with overload protection function
CN103343831A (en) Intelligent electrical valve locator main board hardware circuit
CN101707438A (en) Boosted circuit of charge pump
CN205608580U (en) Adjustable voltage stabilizing circuit of intelligence
CN102123553B (en) COT mode LED lighting driving circuit
CN113157035A (en) Voltage stabilization source device with adaptive static power consumption and driving capability
CN109899583A (en) A kind of control system of PWM regulating valve
CN202550969U (en) Two-way digital proportional valve amplifier
CN204559392U (en) The booster driving circuit of comprehensive wiring system current feedback
CN206628984U (en) A kind of primary-side-control formula switch power controller
CN105888866B (en) A kind of snowplough electric spray control system
CN201839204U (en) Switch power supply
CN2313330Y (en) Switch type and regulation type dc. voltage-stabilized source
CN204559380U (en) For the load driving circuits that the input of managing system of car parking is boosted
CN2805217Y (en) Synchronous motor microprocessor field regulator based-on CPLD and 80 C196 monolithic processor
Cheng et al. Digitally controlled power supply design with continuously adjustable input voltage based on UCD3138
CN203387432U (en) Ultrasonic motor driver
CN206164935U (en) LED driving circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Assignee: Dalian Maxonic Electric Apparatus Co., Ltd.

Assignor: Tianjin University

Contract record no.: 2010120000104

Denomination of invention: Intelligent two-wire system electropneumatic valve positioner and control method therefor

Granted publication date: 20080514

License type: Exclusive License

Open date: 20050817

Record date: 20100819

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080514

Termination date: 20210304

CF01 Termination of patent right due to non-payment of annual fee