Изобретение относитс к автоматическому регулированию в нефтедобьшающей промьшшенности, в частности при обезвоживании и обессоливаюш нефти на установках комплексной подготовки нефти (УКПН). Известен способ управлени процессом обезвоживани нефти на стадии отсто путем регулировани соотношени расходов нефт ной эмульсии и деэмульгатора на входе установки и зависимости от соотношени перепадов гидростатических давлений нефт ной эмульсии, иэмереннык в двух зонах отстойного аппарата m. Недостатком способа вл етс то, что он обладает ограниченными возможност ми уменьшени затрат на подготовку нефти, поскольку низка точность измерени непосредственно расхода деэмульгатора. Наиболее близким к изобретению по технической сущности и достигае мому результату вл етс способ ав томатического регулировани процес са дозировани деэмульгатора путем изменени расхода деэмульгатора в зависиж сти от расхода нефт ной эмульсии на входе установки 2|. Недостаток известного способа состоит в том, что он обладает огр ниченными возможност ми уменьшени затрат на подготовку нефти,посколь ;,низка то чность измерени непосредственно расхода деэмульгатора. Целью изобретени вл етс умен шение затрат на подготовку нефти за счет повьшени точности дозиров ни . Поставленна цель достигаетс тем, что согласно способу автомати ческого регулировани процесса доз ровани деэмульгатора путем измене расхода деэмульгат ч а в зависимост от расхода нефт ной эмульсии на вх де установки, дополнительно измер скорость изменени уровн деэмульгатора в мернике, определ ют соотн шение расходов нефт ной эмульсии и скорости изменени 5фовн деэмульг тора и в зависимости от указанной величины измен ют расход деэмульга ра. На чертеже представлена схема реализации способа. Схема состоит из мерника 1, трубопроводов 2 и 3 деэмульгатора 3 до мерника и после мерника соответственно , насоса 4, трубопровода подачи деэмульгатора на вход УКПН 5, трубопровода 6 нефт ной эмульсии, байпаса 7, датчика 8 уровн и вторичного прибора 9, дифференциатора 10, блока 11 управлени регул тора 12 соотношени , выключающего реле 13, исполнительного механизма 14, датчика 15 расхода, вторичного прибора 16, исполнительного механизма 17. Способ осуществл етс следующим образом. Мерник 1 по трубопроводу 2 периодически заполн етс деэмульгатором. С выхода мерника деэмульгатор по трубопроводу 3 поступает в насос 4 с посто нной производительностью. На выходе насоса деэмульгатор раз-дел ют на два потока. Первьй поток деэмульгатора по трубопроводу 5 поступает в трубопровод 6 дл смешени с нефт ной эмульсией, а второй по байпасу 7 возвращаетс на выход мерника 1 дл смешени с деэмульгатором , поступающим в насос 4. Уровень деэмульгатора в мернике измер етс датчиком 8 и вторичным прибором 9. Выходной сигнал одновременно поступает в дифференциатор 10 и блок 11 управлени заполнением мерника. Выходной сигнал дифференциатора 10, .-. циональный скорости уменьшени уровн деэмульгатора в мерйике, в регул тор 12 соотношени . В регул тор соотношени также постзгаает сигнал, пропорциональный расходу нефт ной эмульсии, измеренньй датчиком 15 и вторичным прибором 16. Сигнал рассогласовани поступает через выключающее реле 13 на исполнительньй механизм 14, установленный на трубопроводе подачи деэмульгатора с выхода насоса на выход мерника. . Мерник, представл ет собой цилиндр с максимальным объемом 60 л. Устройство периодического заполнени мерника представл ет собой один элемент сумматора и два элемента сравнени текущего значени уровн деэмульгатора в мернике с его предельными значени ми. Дл ликвидации движени исполнительного механизма во врем заполнени мер-ника использовано выключающее реле 13. Положение исполнительного механизма фиксируетс с помощью сигнала , открьшающего обратньй клапан на трубопроводе подачи деэмульгатора в мерник во врем его заполнени . При изменении, например увеличении расхода нефт ной эмульсии, измер емой датчиком и. вторичным прибором 16, регул тор 12 соотношени вьщает команду на прикрытие исполнительного механизма Г4. При этом расход циркулирующего деэмул г тора уменьшаетс , следовательно насос 4 больше забирает деэмульгатора из мерника 1 и скорость падени уровн деэмульгатора в Мернике увеличиваетс . Значит, увеличиваетс расход деэмульгатора на УКПН. Если расход деэмульгатора в трубопроводах 3, 5 и байпаса 7, соответственно , обозначить Q,, Qc и Q,, то за врем dt по трубопроводу 5 должен проходить деэмульгатор в количестве ()dt. За это же врем уровень деэмульгатора в мернике 1 уменьшаетс на величину dh, тогда объем деэмульгатора, израсходованный за врем dt, сЬставл ет Sdh. Составив материальньй баланс, получаем Sdh (Q,-Q,)dt, - Q получаем где Q - Q Sdh/dt Qj Если учесть, что dh/dt V, то полу чаем где V - скорость изменени уровн деэмульгатора; S - площадь поперечного сечени вертикально-цилиндрического мерника. Как видно из формулы (1) скорость изменени уровн деэмульгатора пр мо пропорциональна расходу деэмульгатора подаваемого в трубопрова дл смешени с нефт ной эмульсией . Следовательно, вместо расхода Q можно использовагь скорость изменени уровн деэмульгато $а в мерни- . ке 1. Если V О, то расход деэмульгатора на входе насоса равен расходу деэмульгатора в байпасе 7. Значит деэмульгатор в насосе циркутфуе и Qj 0. Следует отметить, что чем меньше площадь поперечного сечени laeprMкально-цилиндрического мерншса 1, тем больше скорость уменьоени деэмульгатора в мернике. Следовательно , возникает возможность озаровакн незначительных количеств жидкости. Использование предлагаемого спо- . соба позвол ет снизить затраты на подготовку нефти за счет повышени точности дозировани , упростить и удешевить на 10% с сгему доз1фОвани деэмульгатора.. .This invention relates to automatic regulation in the oil industry, in particular during the dehydration and desalting of oil in complex oil treatment plants. There is a known method for controlling the process of oil dehydration at the stage of sludge by adjusting the ratio of the flow rates of the oil emulsion to the demulsifier at the inlet of the installation and the dependence of the ratio of hydrostatic pressure drops of the oil emulsion measured in two zones of the settling apparatus m. The disadvantage of this method is that it has limited possibilities for reducing the cost of oil preparation, since the measurement accuracy of the demulsifier flow rate is low. The closest to the invention according to the technical essence and achievable result is the method of automatic control of the demulsifier dosing process by changing the demulsifier consumption depending on the oil emulsion consumption at the inlet of the unit 2 |. The disadvantage of this method is that it has the potential to reduce the cost of oil preparation, since the measurement accuracy of the flow rate of the demulsifier is low. The aim of the invention is to reduce the cost of oil preparation by increasing the accuracy of the dosage. The goal is achieved by the fact that according to the method of automatic regulation of the demulsifier dosage process by changing the demulsifier consumption, depending on the oil emulsion consumption at the installation inlet, additionally measuring the rate of change of the demulsifier level in the measuring device, determine the ratio of oil emulsion consumption and the rate of change of 5% of the demulsifier and, depending on the indicated value, change the consumption of the emulsion. The drawing shows a diagram of the implementation of the method. The scheme consists of a measuring device 1, pipelines 2 and 3 of the demulsifier 3 before the measuring device and after the measuring device, respectively, pump 4, pipe of supplying the demulsifier to the input of UKPN 5, pipeline 6 of oil emulsion, bypass 7, sensor 8 level and secondary device 9, differentiator 10, the control unit 11 of the regulator 12 of the ratio, switching off the relay 13, the actuator 14, the flow sensor 15, the secondary device 16, the actuator 17. The method is carried out as follows. The measuring device 1 through line 2 is periodically filled with a demulsifier. From the outlet of the measuring device, the demulsifier through line 3 enters the pump 4 with a constant capacity. At the pump outlet, the demulsifier is divided into two streams. The first flow of the demulsifier through conduit 5 enters the pipeline 6 for mixing with the oil emulsion, and the second bypass 7 returns to the output of the measuring device 1 for mixing with the demulsifying agent entering the pump 4. The level of the demulsifier in the measuring device is measured by the sensor 8 and the secondary device 9. The output signal simultaneously enters the differentiator 10 and the unit 11 for controlling the filling of the measuring device. Differentiator output 10, .-. The national rate of decrease in the level of the demulsifier in the meriyik is in the regulator 12 ratios. The ratio controller also posts a signal proportional to the flow rate of the oil emulsion measured by the sensor 15 and the secondary device 16. The error signal goes through the switching off relay 13 to the actuator 14 installed on the demulsifier supply pipe from the pump output to the dipstick output. . The measuring device is a cylinder with a maximum volume of 60 liters. The device of periodic filling of the measuring device represents one element of the adder and two elements comparing the current value of the demulsifier level in the measuring device with its limiting values. To eliminate the movement of the actuator during filling of the meter, the switching relay 13 is used. The position of the actuator is fixed by means of a signal that opens the check valve on the supply line of the demulsifier into the measuring device during its filling. When changing, for example, an increase in the consumption of oil emulsion measured by the sensor and. the secondary device 16, the ratio controller 12, provides the command to cover the G4 actuator. At the same time, the flow rate of the circulating demulsifier decreases, therefore the pump 4 takes more of the demulsifier from the measuring device 1 and the rate of decrease in the level of the demulsifier in the Mernik increases. This means that the consumption of the demulsifier per CPSN increases. If the flow rate of the demulsifier in the piping 3, 5 and bypass 7, respectively, denote Q ,, Qc and Q ,, then during the time dt through the pipeline 5 there should be a demulsifier in the amount of () dt. At the same time, the level of the demulsifier in the measuring device 1 is reduced by the value of dh, then the volume of the demulsifier consumed during the time dt is Sdh. Making a material balance, we get Sdh (Q, -Q,) dt, - Q where we get Q - Q Sdh / dt Qj If we consider that dh / dt V, then we get where V is the rate of change of the demulsifier level; S is the cross-sectional area of a vertical cylindrical measuring device. As can be seen from formula (1), the rate of change of the demulsifier level is directly proportional to the flow rate of the demulsifier supplied to the pipeline for mixing with the oil emulsion. Consequently, instead of a Q flow rate, you can use the rate of change of the level of demulsifying in a mercury. ke 1. If V O, then the flow rate of the demulsifier at the pump inlet is equal to the flow rate of the demulsifier in the bypass 7. This means that the demulsifier in the circulating pump and Qj 0. It should be noted that the smaller the cross-sectional area mernik. Consequently, the possibility of insignificant amounts of liquid arises. The use of the proposed method. soba allows you to reduce the cost of oil preparation by improving the accuracy of dosing, simplify and reduce the price by 10% with the cost of dispensing the demulsifier ...