A kind of flow two-port valve control method, device, storage medium and terminal device

文档序号:1769128 发布日期:2019-12-03 浏览:20次 中文

阅读说明:本技术 一种流量二通阀控制方法、装置、存储介质及终端设备 (A kind of flow two-port valve control method, device, storage medium and terminal device ) 是由 刘远辉 李垒 雷朋飞 于 2019-08-05 设计创作,主要内容包括:本发明公开了一种流量二通阀控制方法,包括:确定电磁二通阀到达的预设最大开度位置,当电磁二通阀到达所述预设最大开度位置时,检测当前的实际流量值并与电磁二通阀达到的理论最大流量值进行对比;若所述实际流量值小于所述理论流量值的预设百分比值,则确定为堵塞故障;实时检测电磁二通阀上滑片的调节开度位置,判断当前所述滑片调节至预设的最大开度位置或预设的最小开度位置时,控制所述滑片停止调节,关闭开度动作;本发明通过判断当前最大开度的流量值与理论流量值进行对比确定故障,并结合开度位置控制滑片开度动作,从而使得电磁二通阀的开度位置在合理不受损坏的范围内执行动作,进而实现保护电磁二通阀的阀体不受损坏。(The invention discloses a kind of flow two-port valve control methods, comprise determining that the default maximum opening position that electromagnetism two-port valve reaches, when electromagnetism two-port valve reaches the default maximum opening position, detects current actual flow value and the theoretical maximum flow value reached with electromagnetism two-port valve compares;If the actual flow value is less than the preset percentage value of the theoretical flow value, it is determined that be plugging fault;The adjusting open position of slide plate on real-time detection electromagnetism two-port valve when judging that presently described slide plate is adjusted to preset maximum opening position or preset minimum open position, controls the slide plate and stops adjusting, close aperture movement;The present invention compares determining failure by the flow value and theoretical flow value for judging current maximum opening; and combine open position control slide plate aperture movement; so that the open position of electromagnetism two-port valve executes movement in rationally not damaged range, and then realize that the valve body of protection electromagnetism two-port valve is not damaged.)

1. a kind of flow two-port valve control method characterized by comprising

The default maximum opening position that electromagnetism two-port valve reaches is determined, when electromagnetism two-port valve reaches the default maximum opening position When, it detects current actual flow value and the theoretical maximum flow value reached with electromagnetism two-port valve compares;If the reality Flow value is less than the preset percentage value of the theoretical flow value, it is determined that is plugging fault;

The adjusting open position of slide plate on real-time detection electromagnetism two-port valve judges that presently described slide plate is adjusted to preset maximum and opens When spending position or preset minimum open position, controls the slide plate and stop adjusting, close aperture movement.

2. flow two-port valve control method as described in claim 1, which is characterized in that the determining electromagnetism two-port valve reached Default maximum opening position, specifically includes:

When normally detection water flow, electromagnetism two-port valve is enabled to detect that open position when flow reaches theoretical maximum flow is most Big open position;

When that normally cannot detect water flow, setting electromagnetism two-way valve actuator maximal end point position is maximum opening position.

3. flow two-port valve control method as described in claim 1, which is characterized in that the preset percentage value is 70%.

4. flow two-port valve control method as described in claim 1, which is characterized in that on the real-time detection electromagnetism two-port valve The adjusting open position of slide plate judges that presently described slide plate is adjusted to preset maximum opening position or preset minimum aperture position When setting, controls the slide plate and stops adjusting, close aperture movement, specifically include:

The open position of slide plate control water flow on real-time detection electromagnetism two-port valve;

When the slide plate is adjusted to preset maximum opening, the aperture for controlling the slide plate no longer increases, and water valve stops Adjust aperture;

When the slide plate is adjusted to preset minimum aperture, the aperture for controlling the slide plate is no longer reduced, and water valve stops Closing motion.

5. a kind of flow two-way control valve device characterized by comprising

Judgment module is detected, the default maximum opening position reached for determining electromagnetism two-port valve, when electromagnetism two-port valve reaches institute When stating default maximum opening position, detect current actual flow value and the theoretical maximum flow value that reaches with electromagnetism two-port valve into Row comparison;If the actual flow value is less than the preset percentage value of the theoretical flow value, it is determined that be plugging fault;

Control module is detected, the adjusting open position of slide plate, judges presently described slide plate on real-time detection electromagnetism two-port valve When being adjusted to preset maximum opening position or preset minimum open position, controls the slide plate and stop adjusting, close aperture Movement.

6. flow two-way control valve device as claimed in claim 5, which is characterized in that the determining electromagnetism two-port valve reached Default maximum opening position, specifically includes:

When normally detection water flow, electromagnetism two-port valve is enabled to detect that open position when flow reaches theoretical maximum flow is most Big open position;

When that normally cannot detect water flow, setting electromagnetism two-way valve actuator maximal end point position is maximum opening position.

7. flow two-way control valve device as claimed in claim 5, which is characterized in that the preset percentage value is 70%.

8. flow two-way control valve device as claimed in claim 5, which is characterized in that the detection control module includes: inspection Survey unit, first control unit and the second control unit;

Open position of the detection unit for slide plate control water flow on real-time detection electromagnetism two-port valve;

The first control unit is used for when the slide plate is adjusted to preset maximum opening, controls opening for the slide plate Degree no longer increases, and water valve stops adjusting aperture;

Second control unit is used to control opening for the slide plate when slide plate is adjusted to preset minimum aperture Degree is no longer reduced, the movement of water valve phase down.

9. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes the calculating of storage Machine program;Wherein, the equipment where the computer program controls the computer readable storage medium at runtime executes such as The described in any item flow two-port valve control methods of Claims 1 to 4.

10. a kind of terminal device, which is characterized in that including processor, memory and store in the memory and matched It is set to the computer program executed by the processor, the processor is realized when executing the computer program as right is wanted Seek 1~4 described in any item flow two-port valve control methods.

Technical field

The present invention relates to two-port valve control technology field more particularly to a kind of flow two-port valve control methods, device, storage Medium and terminal device.

Background technique

The heat pump unit of conventional belt water tank, by electromagnetism two-port valve come regulating water flow size, when water route is due to scale etc. The case where blocking, when water route occurs dirty stifled, the heat transfer effect that will lead to system is deteriorated, and compressor, which is easy to offer a high price, presses event Barrier.And when water flow is reduced, to reach water tank target water level, electromagnetism two-port valve needs increased aperture to meet flow, when not When kick-off valve and adjusting, valve body is easily damaged.But at present there is no opening size of any one to flow two-port valve to supervise The method of observing and controlling.

Summary of the invention

The present invention provides a kind of flow two-port valve control method, device, storage medium and terminal devices, are worked as by judgement The flow value and theoretical flow value of preceding maximum opening compare determining failure, and combine open position control slide plate aperture dynamic Make, with solve in the prior art can not the opening size to two-port valve carry out control protection the technical issues of so that electromagnetism The open position of two-port valve executes movement in rationally not damaged range, and then realization protects the valve body of electromagnetism two-port valve not It is damaged.

In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of flow two-port valve control methods, comprising:

The default maximum opening position that electromagnetism two-port valve reaches is determined, when electromagnetism two-port valve reaches the default maximum opening When position, detects current actual flow value and the theoretical maximum flow value reached with electromagnetism two-port valve compares;If described Actual flow value is less than the preset percentage value of the theoretical flow value, it is determined that is plugging fault;

The adjusting open position of slide plate on real-time detection electromagnetism two-port valve, judge presently described slide plate be adjusted to it is preset most When big open position or preset minimum open position, controls the slide plate and stop adjusting, close aperture movement.

Preferably, the default maximum opening position that the determining electromagnetism two-port valve reaches, specifically includes:

When normally detection water flow, electromagnetism two-port valve is enabled to detect open position when flow reaches theoretical maximum flow For maximum opening position;

When that normally cannot detect water flow, setting electromagnetism two-way valve actuator maximal end point position is maximum opening position.

Preferably, the preset percentage value is 70%.

Preferably, on the real-time detection electromagnetism two-port valve slide plate adjusting open position, judge presently described When slide plate is adjusted to preset maximum opening position or preset minimum open position, controls the slide plate and stop adjusting, close Aperture movement, specifically includes:

The open position of slide plate control water flow on real-time detection electromagnetism two-port valve;

When the slide plate is adjusted to preset maximum opening, the aperture for controlling the slide plate no longer increases, water valve Stop adjusting aperture;

When the slide plate is adjusted to preset minimum aperture, the aperture for controlling the slide plate is no longer reduced, water valve Phase down movement.

The embodiment of the invention also provides a kind of flow two-way control valve devices, comprising:

Judgment module is detected, the default maximum opening position reached for determining electromagnetism two-port valve, when electromagnetism two-port valve arrives When up to the default maximum opening position, the theoretical maximum flow that detects current actual flow value and reach with electromagnetism two-port valve Value compares;If the actual flow value is less than the preset percentage value of the theoretical flow value, it is determined that be plugging fault;

Control module is detected, the adjusting open position of slide plate, judges presently described on real-time detection electromagnetism two-port valve When slide plate is adjusted to preset maximum opening position or preset minimum open position, controls the slide plate and stop adjusting, close Aperture movement.

Preferably, the default maximum opening position that the determining electromagnetism two-port valve reaches, specifically includes:

When normally detection water flow, electromagnetism two-port valve is enabled to detect open position when flow reaches theoretical maximum flow For maximum opening position;

When that normally cannot detect water flow, setting electromagnetism two-way valve actuator maximal end point position is maximum opening position.

Preferably, the preset percentage value is 70%.

Preferably, the detection control module includes: that detection unit, first control unit and the second control are single Member;

Open position of the detection unit for slide plate control water flow on real-time detection electromagnetism two-port valve;

The first control unit is used for when the slide plate is adjusted to preset maximum opening, controls the slide plate Aperture no longer increase, water valve stop adjust aperture;

Second control unit is used to control the slide plate when slide plate is adjusted to preset minimum aperture Aperture no longer reduce, water valve phase down movement.

The embodiment of the invention also provides a kind of computer readable storage medium, the computer readable storage medium includes The computer program of storage;Wherein, where the computer program controls the computer readable storage medium at runtime Equipment executes flow two-port valve control method as described in any one of the above embodiments.

The embodiment of the invention also provides a kind of terminal device, including processor, memory and it is stored in the storage In device and it is configured as the computer program executed by the processor, the processor is real when executing the computer program Existing flow two-port valve control method as described in any one of the above embodiments.

Compared with the prior art, the embodiment of the present invention has the following beneficial effects:

The present invention compares determining failure by the flow value and theoretical flow value for judging current maximum opening, and combines Open position controls the movement of slide plate aperture, with solve in the prior art can not opening size to two-port valve carry out control protection Technical problem so that the open position of electromagnetism two-port valve executes movement in rationally not damaged range, and then is realized Protect the valve body of electromagnetism two-port valve not damaged.

Detailed description of the invention

Fig. 1: for the specific steps schematic diagram of the flow two-port valve control method in the embodiment of the present invention;

Fig. 2: for the flow diagram of the flow two-port valve control method step S2 in the embodiment of the present invention;

Fig. 3: for the flow two-port valve controling device structure diagram in the embodiment of the present invention;

Fig. 4: for the structural schematic diagram of the detection control module in the embodiment of the present invention.

Specific embodiment

Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.

Referring to Fig.1 and 2, the preferred embodiment of the present invention provides a kind of flow two-port valve control method, comprising:

S1 determines the default maximum opening position that electromagnetism two-port valve reaches, when electromagnetism two-port valve reaches the default maximum When open position, detects current actual flow value and the theoretical maximum flow value reached with electromagnetism two-port valve compares;If The actual flow value is less than the preset percentage value of the theoretical flow value, it is determined that is plugging fault;In the present embodiment, The preset percentage value is 70%;In the present embodiment, the default maximum opening position that the determining electromagnetism two-port valve reaches, It specifically includes: when normally detection water flow, electromagnetism two-port valve being enabled to detect aperture position when flow reaches theoretical maximum flow It is set to maximum opening position;When that normally cannot detect water flow, setting electromagnetism two-way valve actuator maximal end point position is maximum Open position.

S2, the adjusting open position of slide plate, it is default to judge that presently described slide plate is adjusted on real-time detection electromagnetism two-port valve Maximum opening position or when preset minimum open position, control the slide plate and stop adjusting, close aperture movement.In this reality It applies in example, the step S2 is specifically included: S21, the open position of slide plate control water flow on real-time detection electromagnetism two-port valve; S22, when the slide plate is adjusted to preset maximum opening, the aperture for controlling the slide plate no longer increases, and water valve stops Adjust aperture;S23, when the slide plate is adjusted to preset minimum aperture, the aperture for controlling the slide plate is no longer reduced, The movement of water valve phase down.

Referring to figure 3. and Fig. 4, correspondingly, the embodiment of the invention also provides a kind of flow two-way control valve device, packets It includes: detection judgment module and detection control module;

Judgment module is detected, the default maximum opening position reached for determining electromagnetism two-port valve, when electromagnetism two-port valve arrives When up to the default maximum opening position, the theoretical maximum flow that detects current actual flow value and reach with electromagnetism two-port valve Value compares;If the actual flow value is less than the preset percentage value of the theoretical flow value, it is determined that be plugging fault; In the present embodiment, the preset percentage value is 70%.In the present embodiment, what the determining electromagnetism two-port valve reached is default Maximum opening position, specifically includes: when normally detection water flow, electromagnetism two-port valve being enabled to detect that flow reaches theoretical maximum stream Open position when amount is maximum opening position;When that normally cannot detect water flow, setting electromagnetism two-way valve actuator is final Point is set to maximum opening position.

Control module is detected, the adjusting open position of slide plate, judges presently described on real-time detection electromagnetism two-port valve When slide plate is adjusted to preset maximum opening position or preset minimum open position, controls the slide plate and stop adjusting, close Aperture movement.In the present embodiment, the detection control module includes: that detection unit, first control unit and the second control are single Member;Open position of the detection unit for slide plate control water flow on real-time detection electromagnetism two-port valve;First control Unit is used for when the slide plate is adjusted to preset maximum opening, and the aperture for controlling the slide plate no longer increases, water valve Stop adjusting aperture;Second control unit is used to control institute when the slide plate is adjusted to preset minimum aperture The aperture for stating slide plate is no longer reduced, the movement of water valve phase down.

The present invention compares determining failure by the flow value and theoretical flow value for judging current maximum opening, and combines Open position controls the movement of slide plate aperture, with solve in the prior art can not opening size to two-port valve carry out control protection Technical problem so that the open position of electromagnetism two-port valve executes movement in rationally not damaged range, and then is realized Protect the valve body of electromagnetism two-port valve not damaged.

Combined with specific embodiments below, the present invention is described in detail.

1, fault verification:

1.1, when being switched on, electromagnetism two-port valve, which powers on rear stepper motor and first resets, allows water valve to return to minimum aperture F0, and minimum is opened Degree is the water valve aperture F1 or actuator most initial position F2 when flowmeter detects numerical value 0.

(note: F2 is fixed value)

(1) when flowmeter normal operation, F0=F1

(2) when flowmeter failure, when cannot detect current water flow, F0=F2

(3)F1≤F2

1.2, when running, the maximum opening of electromagnetism two-port valve is Fmax, and maximum opening is that electromagnetism two-port valve detects flow Reach maximum stream flow F3 or actuator maximal end point position F4, stops valve opening after reaching maximum opening Fmax.(note: F4 is to fix Value)

(1) when flowmeter normal operation, Fmax=F3

(2) when flowmeter failure, when cannot detect current water flow, Fmax=F4

(3) F3 < F4

1.3, when electromagnetism two-port valve opens to the maximum aperture Fmax, if flow detector detects that flow F5 is less than maximum at this time Flow F3 70% when, i.e., report the dirty stifled failure of water route fouling.

2, valve opening controls:

2.1, water valve is according to target temperature opening and closing, from target temperature further away from, water valve aperture regulation frequency is faster, By opening gap that is big or turning down water valve shortening and target temperature;On the contrary closer from target temperature, water valve aperture regulation frequency is got over It is small, pass through water valve holding and target temperature.

2.2, an electric two-way valve is set after water valve, has a slide plate to control water flow on electric two-way valve, has simultaneously Two detection switch.

2.3, it is electronic when slide plate is adjusted to maximum opening when slide plate is up adjusted with the aperture increasing of water valve The detection switch 1 of two-port valve disconnects, and is denoted as ON, and electric two-way valve slide plate is no longer opened greatly at this time, and water valve stops adjusting aperture (at this time For safe maximum opening).

2.4, it is electronic when slide plate is adjusted to minimum aperture when slide plate is adjusted down with the aperture reduction of water valve The detection switch 2 of two-port valve disconnects, and is denoted as OFF, and electric two-way valve slide plate is no longer turned down at this time, and water valve phase down acts (this When for the minimum aperture of safety).

2.5, in general hot water machine, tap water enters heat pump heat exchanger by water valve, by the heating of heat pump system Afterwards, it is stored into water storage box.When the temperature difference between the target temperature that the temperature of tap water and system are arranged is larger, system adjusts water The frequency of valve regulation increases the adjusting frequency to water valve aperture, so that the leaving water temperature of heat pump system is rapidly achieved target temperature. System judgement is when needing out big water valve, and when the aperture of water valve is not turned off greatly to the maximum opening of electromagnetism two-port valve slide plate, detection is opened It closes 1 to disconnect, water flow is intake with flow at this time toward heat pump system.Conversely, water valve is opened when system judgement needs to turn down water valve Constantly when being decreased to the minimum aperture of electromagnetism two-port valve slide plate, detection switch 2 disconnects degree, and water flow is with flow at this time toward heat pump system System water inlet.

Technical solution of the present invention lowers the impaired probability of valve body, extends the service life of valve body by duplicate protection.Increase Water route fouling dirty stifled fault mechanism can detect the fouling condition in water route, handle in time, avoid the damage of component.

The embodiment of the invention also provides a kind of computer readable storage medium, the computer readable storage medium includes The computer program of storage;Wherein, where the computer program controls the computer readable storage medium at runtime Equipment executes flow two-port valve control method described in any of the above-described embodiment.

The embodiment of the invention also provides a kind of terminal device, the terminal device includes processor, memory and deposits The computer program executed by the processor is stored up in the memory and is configured as, the processor is executing the meter Flow two-port valve control method described in any of the above-described embodiment is realized when calculation machine program.

Preferably, the computer program can be divided into one or more module/units (such as computer program, meter Calculation machine program), one or more of module/units are stored in the memory, and are executed by the processor, with Complete the present invention.One or more of module/units can be and can complete the series of computation machine program of specific function and refer to Section is enabled, the instruction segment is for describing implementation procedure of the computer program in the terminal device.

The processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc., general processor can be microprocessor or the processor is also possible to any conventional processing Device, the processor are the control centres of the terminal device, utilize each of terminal device described in various interfaces and connection A part.

The memory mainly includes program storage area and data storage area, wherein program storage area can store operation system Application program needed for system, at least one function etc., data storage area can store related data etc..In addition, the memory can To be high-speed random access memory, nonvolatile memory, such as plug-in type hard disk, intelligent memory card (Smart can also be Media Card, SMC), secure digital (Secure Digital, SD) card and flash card (Flash Card) etc. or described deposit Reservoir is also possible to other volatile solid-state parts.

It should be noted that above-mentioned terminal device may include, but it is not limited only to, processor, memory, those skilled in the art Member is appreciated that above-mentioned terminal device is only example, does not constitute the restriction to terminal device, may include more or less Component, perhaps combine certain components or different components.

Particular embodiments described above has carried out further the purpose of the present invention, technical scheme and beneficial effects It is described in detail, it should be understood that the above is only a specific embodiment of the present invention, the protection being not intended to limit the present invention Range.It particularly points out, to those skilled in the art, all within the spirits and principles of the present invention, that is done any repairs Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种阀门执行器监控系统

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!